From 3dc79b293a1475eeca420c59257756f540ec230d Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Fri, 15 Nov 2024 19:53:48 +0000 Subject: [PATCH] chore: Updates version to 1.0.42 --- Package.swift | 1 + Package.version | 2 +- Package.version.next | 2 +- .../Documentation.docc/AWSSDKForSwift.md | 2 + .../AWSACM/Sources/AWSACM/ACMClient.swift | 2 +- .../Sources/AWSACMPCA/ACMPCAClient.swift | 2 +- .../AWSAPIGateway/APIGatewayClient.swift | 2 +- .../ARCZonalShiftClient.swift | 2 +- .../AccessAnalyzerClient.swift | 2 +- .../Sources/AWSAccount/AccountClient.swift | 2 +- .../AWSAmp/Sources/AWSAmp/AmpClient.swift | 2 +- .../Sources/AWSAmplify/AmplifyClient.swift | 2 +- .../AmplifyBackendClient.swift | 2 +- .../AmplifyUIBuilderClient.swift | 2 +- .../ApiGatewayManagementApiClient.swift | 2 +- .../AWSApiGatewayV2/ApiGatewayV2Client.swift | 2 +- .../AWSAppConfig/AppConfigClient.swift | 2 +- .../AppConfigDataClient.swift | 2 +- .../AWSAppFabric/AppFabricClient.swift | 2 +- .../AppIntegrationsClient.swift | 2 +- .../Sources/AWSAppMesh/AppMeshClient.swift | 2 +- .../AWSAppRunner/AppRunnerClient.swift | 2 +- .../AWSAppStream/AppStreamClient.swift | 2 +- .../Sources/AWSAppSync/AppSyncClient.swift | 2 +- .../Sources/AWSAppTest/AppTestClient.swift | 2 +- .../Sources/AWSAppflow/AppflowClient.swift | 2 +- .../ApplicationAutoScalingClient.swift | 2 +- .../ApplicationCostProfilerClient.swift | 2 +- .../ApplicationDiscoveryClient.swift | 2 +- .../ApplicationInsightsClient.swift | 2 +- .../ApplicationSignalsClient.swift | 2 +- .../Sources/AWSArtifact/ArtifactClient.swift | 2 +- .../Sources/AWSAthena/AthenaClient.swift | 2 +- .../AWSAuditManager/AuditManagerClient.swift | 2 +- .../AWSAutoScaling/AutoScalingClient.swift | 2 +- .../AutoScalingPlansClient.swift | 2 +- .../AWSB2bi/Sources/AWSB2bi/B2biClient.swift | 2 +- .../BCMDataExportsClient.swift | 2 +- .../Sources/AWSBackup/BackupClient.swift | 2 +- .../BackupGatewayClient.swift | 2 +- .../Sources/AWSBatch/BatchClient.swift | 2 +- .../Sources/AWSBedrock/BedrockClient.swift | 2 +- .../AWSBedrockAgent/BedrockAgentClient.swift | 2 +- .../BedrockAgentRuntimeClient.swift | 2 +- .../BedrockRuntimeClient.swift | 2 +- .../Sources/AWSBilling/BillingClient.swift | 2 +- .../BillingconductorClient.swift | 2 +- .../Sources/AWSBraket/BraketClient.swift | 2 +- .../Sources/AWSBudgets/BudgetsClient.swift | 2 +- .../Sources/AWSChatbot/ChatbotClient.swift | 2 +- .../Sources/AWSChime/ChimeClient.swift | 2 +- .../ChimeSDKIdentityClient.swift | 2 +- .../ChimeSDKMediaPipelinesClient.swift | 2 +- .../ChimeSDKMeetingsClient.swift | 2 +- .../ChimeSDKMessagingClient.swift | 2 +- .../ChimeSDKVoiceClient.swift | 2 +- .../AWSCleanRooms/CleanRoomsClient.swift | 2 +- .../AWSCleanRoomsML/CleanRoomsMLClient.swift | 2 +- .../Sources/AWSCloud9/Cloud9Client.swift | 2 +- .../AWSCloudControl/CloudControlClient.swift | 2 +- .../CloudDirectoryClient.swift | 2 +- .../CloudFormationClient.swift | 2 +- .../AWSCloudFront/CloudFrontClient.swift | 2 +- .../CloudFrontKeyValueStoreClient.swift | 2 +- .../Sources/AWSCloudHSM/CloudHSMClient.swift | 2 +- .../AWSCloudHSMV2/CloudHSMV2Client.swift | 2 +- .../AWSCloudSearch/CloudSearchClient.swift | 2 +- .../CloudSearchDomainClient.swift | 2 +- .../AWSCloudTrail/CloudTrailClient.swift | 2 +- .../CloudTrailDataClient.swift | 2 +- .../AWSCloudWatch/CloudWatchClient.swift | 4 +- .../Sources/AWSCloudWatch/Models.swift | 261 +- .../CloudWatchEventsClient.swift | 2 +- .../CloudWatchLogsClient.swift | 2 +- .../AWSCodeBuild/CodeBuildClient.swift | 2 +- .../AWSCodeCatalyst/CodeCatalystClient.swift | 2 +- .../AWSCodeCommit/CodeCommitClient.swift | 2 +- .../CodeConnectionsClient.swift | 2 +- .../AWSCodeDeploy/CodeDeployClient.swift | 2 +- .../CodeGuruProfilerClient.swift | 2 +- .../CodeGuruReviewerClient.swift | 2 +- .../CodeGuruSecurityClient.swift | 2 +- .../AWSCodePipeline/CodePipelineClient.swift | 2 +- .../CodeStarconnectionsClient.swift | 2 +- .../AWSCodeartifact/CodeartifactClient.swift | 2 +- .../CodestarnotificationsClient.swift | 2 +- .../CognitoIdentityClient.swift | 2 +- .../CognitoIdentityProviderClient.swift | 2 +- .../AWSCognitoSync/CognitoSyncClient.swift | 2 +- .../AWSComprehend/ComprehendClient.swift | 2 +- .../ComprehendMedicalClient.swift | 2 +- .../ComputeOptimizerClient.swift | 2 +- .../AWSConfigService/ConfigClient.swift | 2 +- .../Sources/AWSConnect/ConnectClient.swift | 2 +- .../ConnectCampaignsClient.swift | 2 +- .../AWSConnectCampaignsV2/Package.swift.txt | 96 + .../AuthSchemeResolver.swift | 56 + .../ConnectCampaignsV2Client.swift | 2503 ++++++++ .../AWSConnectCampaignsV2/Endpoints.swift | 73 + .../AWSConnectCampaignsV2/Models.swift | 5146 +++++++++++++++++ .../AWSConnectCampaignsV2/Paginators.swift | 74 + .../AWSConnectCampaignsV2/Plugins.swift | 82 + .../EndpointResolverTest.swift | 516 ++ .../AWSConnectCases/ConnectCasesClient.swift | 2 +- .../ConnectContactLensClient.swift | 2 +- .../ConnectParticipantClient.swift | 2 +- .../ControlCatalogClient.swift | 2 +- .../AWSControlTower/ControlTowerClient.swift | 2 +- .../AWSCostExplorer/CostExplorerClient.swift | 2 +- .../CostOptimizationHubClient.swift | 2 +- .../CostandUsageReportClient.swift | 2 +- .../CustomerProfilesClient.swift | 2 +- .../AWSDAX/Sources/AWSDAX/DAXClient.swift | 2 +- .../AWSDLM/Sources/AWSDLM/DLMClient.swift | 2 +- .../Sources/AWSDataBrew/DataBrewClient.swift | 2 +- .../AWSDataExchange/DataExchangeClient.swift | 2 +- .../AWSDataPipeline/DataPipelineClient.swift | 2 +- .../Sources/AWSDataSync/DataSyncClient.swift | 4 +- .../Sources/AWSDataSync/Models.swift | 18 +- .../Sources/AWSDataZone/DataZoneClient.swift | 2 +- .../DatabaseMigrationClient.swift | 2 +- .../Sources/AWSDeadline/DeadlineClient.swift | 2 +- .../AWSDetective/DetectiveClient.swift | 2 +- .../AWSDevOpsGuru/DevOpsGuruClient.swift | 2 +- .../AWSDeviceFarm/DeviceFarmClient.swift | 2 +- .../DirectConnectClient.swift | 2 +- .../AWSDirectoryService/DirectoryClient.swift | 2 +- .../DirectoryServiceDataClient.swift | 2 +- .../Sources/AWSDocDB/DocDBClient.swift | 2 +- .../AWSDocDBElastic/DocDBElasticClient.swift | 2 +- .../AWSDrs/Sources/AWSDrs/DrsClient.swift | 2 +- .../Sources/AWSDynamoDB/DynamoDBClient.swift | 2 +- .../DynamoDBStreamsClient.swift | 2 +- .../AWSEBS/Sources/AWSEBS/EBSClient.swift | 2 +- .../AWSEC2/Sources/AWSEC2/EC2Client.swift | 2 +- .../AWSEC2/Sources/AWSEC2/Models.swift | 8 +- .../EC2InstanceConnectClient.swift | 2 +- .../AWSECR/Sources/AWSECR/ECRClient.swift | 2 +- .../AWSECRPUBLIC/ECRPUBLICClient.swift | 2 +- .../AWSECS/Sources/AWSECS/ECSClient.swift | 2 +- .../AWSEFS/Sources/AWSEFS/EFSClient.swift | 2 +- .../AWSEKS/Sources/AWSEKS/EKSClient.swift | 2 +- .../Sources/AWSEKSAuth/EKSAuthClient.swift | 2 +- .../AWSEMR/Sources/AWSEMR/EMRClient.swift | 2 +- .../EMRServerlessClient.swift | 2 +- .../EMRcontainersClient.swift | 2 +- .../AWSElastiCache/ElastiCacheClient.swift | 2 +- .../ElasticBeanstalkClient.swift | 2 +- .../ElasticInferenceClient.swift | 2 +- .../ElasticLoadBalancingClient.swift | 2 +- .../ElasticLoadBalancingv2Client.swift | 2 +- .../ElasticTranscoderClient.swift | 2 +- .../ElasticsearchClient.swift | 2 +- .../EntityResolutionClient.swift | 2 +- .../AWSEventBridge/EventBridgeClient.swift | 2 +- .../AWSEvidently/EvidentlyClient.swift | 2 +- .../AWSFMS/Sources/AWSFMS/FMSClient.swift | 2 +- .../AWSFSx/Sources/AWSFSx/FSxClient.swift | 2 +- .../Sources/AWSFinspace/FinspaceClient.swift | 2 +- .../AWSFinspacedata/FinspacedataClient.swift | 2 +- .../Sources/AWSFirehose/FirehoseClient.swift | 2 +- .../AWSFis/Sources/AWSFis/FisClient.swift | 2 +- .../Sources/AWSForecast/ForecastClient.swift | 2 +- .../ForecastqueryClient.swift | 2 +- .../FraudDetectorClient.swift | 2 +- .../Sources/AWSFreeTier/FreeTierClient.swift | 2 +- .../Sources/AWSGameLift/GameLiftClient.swift | 2 +- .../Sources/AWSGeoMaps/GeoMapsClient.swift | 2 +- .../AWSGeoPlaces/GeoPlacesClient.swift | 2 +- .../AWSGeoRoutes/GeoRoutesClient.swift | 2 +- .../Sources/AWSGlacier/GlacierClient.swift | 2 +- .../GlobalAcceleratorClient.swift | 2 +- .../AWSGlue/Sources/AWSGlue/GlueClient.swift | 2 +- .../Sources/AWSGrafana/GrafanaClient.swift | 2 +- .../AWSGreengrass/GreengrassClient.swift | 2 +- .../AWSGreengrassV2/GreengrassV2Client.swift | 2 +- .../GroundStationClient.swift | 2 +- .../AWSGuardDuty/GuardDutyClient.swift | 2 +- .../Sources/AWSHealth/HealthClient.swift | 2 +- .../AWSHealthLake/HealthLakeClient.swift | 2 +- .../AWSIAM/Sources/AWSIAM/IAMClient.swift | 2 +- .../AWSIVSRealTime/IVSRealTimeClient.swift | 2 +- .../IdentitystoreClient.swift | 2 +- .../AWSImagebuilder/ImagebuilderClient.swift | 2 +- .../AWSInspector/InspectorClient.swift | 2 +- .../AWSInspector2/Inspector2Client.swift | 2 +- .../InspectorScanClient.swift | 2 +- .../InternetMonitorClient.swift | 2 +- .../AWSIoT/Sources/AWSIoT/IoTClient.swift | 222 +- .../AWSIoT/Sources/AWSIoT/Models.swift | 524 +- .../AWSIoT/Sources/AWSIoT/Paginators.swift | 64 + .../IoT1ClickDevicesClient.swift | 2 +- .../IoT1ClickProjectsClient.swift | 2 +- .../AWSIoTAnalytics/IoTAnalyticsClient.swift | 2 +- .../AWSIoTDataPlane/IoTDataPlaneClient.swift | 2 +- .../AWSIoTEvents/IoTEventsClient.swift | 2 +- .../IoTEventsDataClient.swift | 2 +- .../AWSIoTFleetHub/IoTFleetHubClient.swift | 2 +- .../AWSIoTFleetWise/IoTFleetWiseClient.swift | 2 +- .../IoTJobsDataPlaneClient.swift | 2 +- .../IoTSecureTunnelingClient.swift | 2 +- .../AWSIoTSiteWise/IoTSiteWiseClient.swift | 2 +- .../IoTThingsGraphClient.swift | 2 +- .../AWSIoTTwinMaker/IoTTwinMakerClient.swift | 2 +- .../AWSIoTWireless/IoTWirelessClient.swift | 2 +- .../IotDeviceAdvisorClient.swift | 2 +- .../AWSIvs/Sources/AWSIvs/IvsClient.swift | 2 +- .../Sources/AWSIvschat/IvschatClient.swift | 2 +- .../AWSKMS/Sources/AWSKMS/KMSClient.swift | 2 +- .../Sources/AWSKafka/KafkaClient.swift | 2 +- .../AWSKafkaConnect/KafkaConnectClient.swift | 2 +- .../Sources/AWSKendra/KendraClient.swift | 2 +- .../KendraRankingClient.swift | 2 +- .../AWSKeyspaces/KeyspacesClient.swift | 2 +- .../Sources/AWSKinesis/KinesisClient.swift | 2 +- .../KinesisAnalyticsClient.swift | 2 +- .../KinesisAnalyticsV2Client.swift | 2 +- .../AWSKinesisVideo/KinesisVideoClient.swift | 2 +- .../KinesisVideoArchivedMediaClient.swift | 2 +- .../KinesisVideoMediaClient.swift | 2 +- .../KinesisVideoSignalingClient.swift | 2 +- .../KinesisVideoWebRTCStorageClient.swift | 2 +- .../LakeFormationClient.swift | 2 +- .../Sources/AWSLambda/LambdaClient.swift | 2 +- .../AWSLaunchWizard/LaunchWizardClient.swift | 2 +- .../LexModelBuildingClient.swift | 2 +- .../AWSLexModelsV2/LexModelsV2Client.swift | 2 +- .../LexRuntimeClient.swift | 2 +- .../AWSLexRuntimeV2/LexRuntimeV2Client.swift | 2 +- .../LicenseManagerClient.swift | 2 +- ...censeManagerLinuxSubscriptionsClient.swift | 2 +- ...icenseManagerUserSubscriptionsClient.swift | 2 +- .../AWSLightsail/LightsailClient.swift | 2 +- .../Sources/AWSLocation/LocationClient.swift | 2 +- .../LookoutEquipmentClient.swift | 2 +- .../LookoutMetricsClient.swift | 2 +- .../LookoutVisionClient.swift | 2 +- .../AWSM2/Sources/AWSM2/M2Client.swift | 2 +- .../Sources/AWSMTurk/MTurkClient.swift | 2 +- .../AWSMWAA/Sources/AWSMWAA/MWAAClient.swift | 2 +- .../MachineLearningClient.swift | 2 +- .../Sources/AWSMacie2/Macie2Client.swift | 2 +- .../AWSMailManager/MailManagerClient.swift | 2 +- .../ManagedBlockchainClient.swift | 2 +- .../ManagedBlockchainQueryClient.swift | 2 +- .../MarketplaceAgreementClient.swift | 2 +- .../MarketplaceCatalogClient.swift | 2 +- .../MarketplaceCommerceAnalyticsClient.swift | 2 +- .../MarketplaceDeploymentClient.swift | 2 +- .../MarketplaceEntitlementClient.swift | 2 +- .../MarketplaceMeteringClient.swift | 2 +- .../MarketplaceReportingClient.swift | 2 +- .../AWSMediaConnect/MediaConnectClient.swift | 2 +- .../AWSMediaConvert/MediaConvertClient.swift | 2 +- .../AWSMediaLive/MediaLiveClient.swift | 2 +- .../AWSMediaPackage/MediaPackageClient.swift | 2 +- .../MediaPackageV2Client.swift | 2 +- .../MediaPackageVodClient.swift | 2 +- .../AWSMediaStore/MediaStoreClient.swift | 2 +- .../MediaStoreDataClient.swift | 2 +- .../AWSMediaTailor/MediaTailorClient.swift | 2 +- .../MedicalImagingClient.swift | 2 +- .../Sources/AWSMemoryDB/MemoryDBClient.swift | 2 +- .../AWSMgn/Sources/AWSMgn/MgnClient.swift | 2 +- .../AWSMigrationHub/MigrationHubClient.swift | 2 +- .../MigrationHubConfigClient.swift | 2 +- .../MigrationHubOrchestratorClient.swift | 2 +- .../MigrationHubRefactorSpacesClient.swift | 2 +- .../MigrationHubStrategyClient.swift | 2 +- .../AWSMq/Sources/AWSMq/MqClient.swift | 2 +- .../Sources/AWSNeptune/NeptuneClient.swift | 2 +- .../AWSNeptuneGraph/NeptuneGraphClient.swift | 2 +- .../AWSNeptunedata/NeptunedataClient.swift | 2 +- .../NetworkFirewallClient.swift | 2 +- .../NetworkManagerClient.swift | 2 +- .../NetworkMonitorClient.swift | 2 +- .../AWSOAM/Sources/AWSOAM/OAMClient.swift | 2 +- .../AWSOSIS/Sources/AWSOSIS/OSISClient.swift | 2 +- .../Sources/AWSOmics/OmicsClient.swift | 2 +- .../AWSOpenSearch/OpenSearchClient.swift | 2 +- .../OpenSearchServerlessClient.swift | 2 +- .../Sources/AWSOpsWorks/OpsWorksClient.swift | 2 +- .../AWSOpsWorksCM/OpsWorksCMClient.swift | 2 +- .../OrganizationsClient.swift | 2 +- .../Sources/AWSOutposts/Models.swift | 3 + .../Sources/AWSOutposts/OutpostsClient.swift | 2 +- .../AWSPCS/Sources/AWSPCS/PCSClient.swift | 2 +- .../AWSPI/Sources/AWSPI/PIClient.swift | 2 +- .../Sources/AWSPanorama/PanoramaClient.swift | 2 +- .../PartnerCentralSellingClient.swift | 2 +- .../PaymentCryptographyClient.swift | 2 +- .../PaymentCryptographyDataClient.swift | 2 +- .../PcaConnectorAdClient.swift | 2 +- .../PcaConnectorScepClient.swift | 2 +- .../AWSPersonalize/PersonalizeClient.swift | 2 +- .../PersonalizeEventsClient.swift | 2 +- .../PersonalizeRuntimeClient.swift | 2 +- .../Sources/AWSPinpoint/PinpointClient.swift | 2 +- .../PinpointEmailClient.swift | 2 +- .../PinpointSMSVoiceClient.swift | 2 +- .../AWSPinpointSMSVoiceV2/Models.swift | 743 ++- .../AWSPinpointSMSVoiceV2/Paginators.swift | 32 + .../PinpointSMSVoiceV2Client.swift | 378 +- .../Sources/AWSPipes/PipesClient.swift | 2 +- .../Sources/AWSPolly/PollyClient.swift | 2 +- .../Sources/AWSPricing/PricingClient.swift | 2 +- .../PrivateNetworksClient.swift | 2 +- .../Sources/AWSProton/ProtonClient.swift | 2 +- .../Sources/AWSQApps/QAppsClient.swift | 2 +- .../AWSQBusiness/QBusinessClient.swift | 2 +- .../Sources/AWSQConnect/QConnectClient.swift | 2 +- .../AWSQLDB/Sources/AWSQLDB/QLDBClient.swift | 2 +- .../AWSQLDBSession/QLDBSessionClient.swift | 2 +- .../AWSQuickSight/QuickSightClient.swift | 2 +- .../AWSRAM/Sources/AWSRAM/RAMClient.swift | 2 +- .../AWSRDS/Sources/AWSRDS/RDSClient.swift | 2 +- .../Sources/AWSRDSData/RDSDataClient.swift | 2 +- .../AWSRUM/Sources/AWSRUM/RUMClient.swift | 2 +- .../AWSRbin/Sources/AWSRbin/RbinClient.swift | 2 +- .../Sources/AWSRedshift/RedshiftClient.swift | 2 +- .../AWSRedshiftData/RedshiftDataClient.swift | 2 +- .../RedshiftServerlessClient.swift | 2 +- .../AWSRekognition/RekognitionClient.swift | 2 +- .../AWSRepostspace/RepostspaceClient.swift | 2 +- .../ResiliencehubClient.swift | 2 +- .../ResourceExplorer2Client.swift | 2 +- .../ResourceGroupsClient.swift | 2 +- .../ResourceGroupsTaggingAPIClient.swift | 2 +- .../AWSRoboMaker/RoboMakerClient.swift | 2 +- .../RolesAnywhereClient.swift | 2 +- .../Sources/AWSRoute53/Route53Client.swift | 2 +- .../Route53DomainsClient.swift | 2 +- .../Route53ProfilesClient.swift | 2 +- .../Route53RecoveryClusterClient.swift | 2 +- .../Route53RecoveryControlConfigClient.swift | 2 +- .../Route53RecoveryReadinessClient.swift | 2 +- .../Sources/AWSRoute53Resolver/Models.swift | 189 +- .../Route53ResolverClient.swift | 3 +- .../AWSS3/Sources/AWSS3/S3Client.swift | 2 +- .../AWSS3Control/S3ControlClient.swift | 2 +- .../AWSS3Outposts/S3OutpostsClient.swift | 2 +- .../AWSSES/Sources/AWSSES/SESClient.swift | 2 +- .../Sources/AWSSESv2/SESv2Client.swift | 2 +- .../AWSSFN/Sources/AWSSFN/SFNClient.swift | 2 +- .../AWSSMS/Sources/AWSSMS/SMSClient.swift | 2 +- .../AWSSNS/Sources/AWSSNS/SNSClient.swift | 2 +- .../AWSSQS/Sources/AWSSQS/SQSClient.swift | 2 +- .../AWSSSM/Sources/AWSSSM/SSMClient.swift | 2 +- .../AWSSSMContacts/SSMContactsClient.swift | 2 +- .../AWSSSMIncidents/SSMIncidentsClient.swift | 2 +- .../SSMQuickSetupClient.swift | 2 +- .../AWSSSO/Sources/AWSSSO/SSOClient.swift | 2 +- .../Sources/AWSSSOAdmin/SSOAdminClient.swift | 2 +- .../Sources/AWSSSOOIDC/SSOOIDCClient.swift | 2 +- .../AWSSTS/Sources/AWSSTS/STSClient.swift | 2 +- .../AWSSWF/Sources/AWSSWF/SWFClient.swift | 2 +- .../AWSSageMaker/SageMakerClient.swift | 2 +- .../SageMakerA2IRuntimeClient.swift | 2 +- .../SageMakerFeatureStoreRuntimeClient.swift | 2 +- .../SageMakerGeospatialClient.swift | 2 +- .../SageMakerMetricsClient.swift | 2 +- .../SageMakerRuntimeClient.swift | 2 +- .../SagemakerEdgeClient.swift | 2 +- .../AWSSavingsplans/SavingsplansClient.swift | 2 +- .../AWSScheduler/SchedulerClient.swift | 2 +- .../Sources/AWSSchemas/SchemasClient.swift | 2 +- .../SecretsManagerClient.swift | 2 +- .../AWSSecurityHub/SecurityHubClient.swift | 2 +- .../AWSSecurityLake/SecurityLakeClient.swift | 2 +- ...erverlessApplicationRepositoryClient.swift | 2 +- .../ServiceCatalogClient.swift | 2 +- .../ServiceCatalogAppRegistryClient.swift | 2 +- .../ServiceDiscoveryClient.swift | 2 +- .../ServiceQuotasClient.swift | 2 +- .../Sources/AWSShield/ShieldClient.swift | 2 +- .../Sources/AWSSigner/SignerClient.swift | 2 +- .../SimSpaceWeaverClient.swift | 2 +- .../SnowDeviceManagementClient.swift | 2 +- .../Sources/AWSSnowball/SnowballClient.swift | 2 +- .../SocialMessagingClient.swift | 2 +- .../Sources/AWSSsmSap/SsmSapClient.swift | 2 +- .../StorageGatewayClient.swift | 2 +- .../AWSSupplyChain/SupplyChainClient.swift | 2 +- .../Sources/AWSSupport/SupportClient.swift | 2 +- .../AWSSupportApp/SupportAppClient.swift | 2 +- .../AWSSynthetics/SyntheticsClient.swift | 2 +- .../AWSTaxSettings/TaxSettingsClient.swift | 2 +- .../Sources/AWSTextract/TextractClient.swift | 2 +- .../TimestreamInfluxDBClient.swift | 2 +- .../TimestreamQueryClient.swift | 2 +- .../TimestreamWriteClient.swift | 2 +- .../AWSTnb/Sources/AWSTnb/TnbClient.swift | 2 +- .../AWSTranscribe/TranscribeClient.swift | 2 +- .../TranscribeStreamingClient.swift | 2 +- .../Sources/AWSTransfer/TransferClient.swift | 2 +- .../AWSTranslate/TranslateClient.swift | 2 +- .../TrustedAdvisorClient.swift | 2 +- .../AWSVPCLattice/VPCLatticeClient.swift | 2 +- .../VerifiedPermissionsClient.swift | 2 +- .../Sources/AWSVoiceID/VoiceIDClient.swift | 2 +- .../AWSWAF/Sources/AWSWAF/WAFClient.swift | 2 +- .../AWSWAFRegional/WAFRegionalClient.swift | 2 +- .../Sources/AWSWAFV2/WAFV2Client.swift | 2 +- .../WellArchitectedClient.swift | 2 +- .../Sources/AWSWisdom/WisdomClient.swift | 2 +- .../Sources/AWSWorkDocs/WorkDocsClient.swift | 2 +- .../Sources/AWSWorkMail/WorkMailClient.swift | 2 +- .../WorkMailMessageFlowClient.swift | 2 +- .../AWSWorkSpaces/WorkSpacesClient.swift | 2 +- .../WorkSpacesThinClientClient.swift | 2 +- .../WorkSpacesWebClient.swift | 2 +- .../AWSXRay/Sources/AWSXRay/XRayClient.swift | 2 +- 412 files changed, 11227 insertions(+), 551 deletions(-) create mode 100644 Sources/Services/AWSConnectCampaignsV2/Package.swift.txt create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift create mode 100644 Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift diff --git a/Package.swift b/Package.swift index 9ee50f65725..645b2a7b558 100644 --- a/Package.swift +++ b/Package.swift @@ -111,6 +111,7 @@ let serviceTargets: [String] = [ "AWSConfigService", "AWSConnect", "AWSConnectCampaigns", + "AWSConnectCampaignsV2", "AWSConnectCases", "AWSConnectContactLens", "AWSConnectParticipant", diff --git a/Package.version b/Package.version index 8ef09587927..61dbbb3ac31 100644 --- a/Package.version +++ b/Package.version @@ -1 +1 @@ -1.0.41 \ No newline at end of file +1.0.42 \ No newline at end of file diff --git a/Package.version.next b/Package.version.next index 61dbbb3ac31..693195bbe5c 100644 --- a/Package.version.next +++ b/Package.version.next @@ -1 +1 @@ -1.0.42 \ No newline at end of file +1.0.43 \ No newline at end of file diff --git a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md index 8148eb8d133..265b414d4e9 100644 --- a/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md +++ b/Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md @@ -253,6 +253,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/ [AWSConnectCampaigns](../../../../../swift/api/awsconnectcampaigns/latest) +[AWSConnectCampaignsV2](../../../../../swift/api/awsconnectcampaignsv2/latest) + [AWSConnectCases](../../../../../swift/api/awsconnectcases/latest) [AWSConnectContactLens](../../../../../swift/api/awsconnectcontactlens/latest) diff --git a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift index b3ad565fbc5..840dedecde9 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMClient: ClientRuntime.Client { public static let clientName = "ACMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ACMClient.ACMClientConfiguration let serviceName = "ACM" diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift index 8e3381249c4..84bbddee157 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMPCAClient: ClientRuntime.Client { public static let clientName = "ACMPCAClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ACMPCAClient.ACMPCAClientConfiguration let serviceName = "ACM PCA" diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift index a8a49093a1b..f805e5e9f08 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class APIGatewayClient: ClientRuntime.Client { public static let clientName = "APIGatewayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: APIGatewayClient.APIGatewayClientConfiguration let serviceName = "API Gateway" diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift index de5d6cb471c..2025c3d1510 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ARCZonalShiftClient: ClientRuntime.Client { public static let clientName = "ARCZonalShiftClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration let serviceName = "ARC Zonal Shift" diff --git a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift index 18c3f9b500e..db7ee382271 100644 --- a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift +++ b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccessAnalyzerClient: ClientRuntime.Client { public static let clientName = "AccessAnalyzerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration let serviceName = "AccessAnalyzer" diff --git a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift index 82bb5283e0f..e0e78a2bcbc 100644 --- a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift +++ b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccountClient: ClientRuntime.Client { public static let clientName = "AccountClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AccountClient.AccountClientConfiguration let serviceName = "Account" diff --git a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift index 7f445a87f17..2a9c0f70e84 100644 --- a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift +++ b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmpClient: ClientRuntime.Client { public static let clientName = "AmpClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmpClient.AmpClientConfiguration let serviceName = "amp" diff --git a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift index c210d89f816..003324c9c1b 100644 --- a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift +++ b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyClient: ClientRuntime.Client { public static let clientName = "AmplifyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmplifyClient.AmplifyClientConfiguration let serviceName = "Amplify" diff --git a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift index f9814a1517c..eb46679073c 100644 --- a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift +++ b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyBackendClient: ClientRuntime.Client { public static let clientName = "AmplifyBackendClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmplifyBackendClient.AmplifyBackendClientConfiguration let serviceName = "AmplifyBackend" diff --git a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift index 270f721356b..5bdbc42bb4e 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift +++ b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyUIBuilderClient: ClientRuntime.Client { public static let clientName = "AmplifyUIBuilderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AmplifyUIBuilderClient.AmplifyUIBuilderClientConfiguration let serviceName = "AmplifyUIBuilder" diff --git a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift index 6c860427b03..cdaeac40713 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift +++ b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayManagementApiClient: ClientRuntime.Client { public static let clientName = "ApiGatewayManagementApiClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayManagementApiClient.ApiGatewayManagementApiClientConfiguration let serviceName = "ApiGatewayManagementApi" diff --git a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift index 3833ca59ef6..33cb5eb5711 100644 --- a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift +++ b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayV2Client: ClientRuntime.Client { public static let clientName = "ApiGatewayV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayV2Client.ApiGatewayV2ClientConfiguration let serviceName = "ApiGatewayV2" diff --git a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift index 19f68f6cfed..ad054a38988 100644 --- a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift +++ b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigClient: ClientRuntime.Client { public static let clientName = "AppConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppConfigClient.AppConfigClientConfiguration let serviceName = "AppConfig" diff --git a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift index 676d9f5df0c..099806092d8 100644 --- a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift +++ b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigDataClient: ClientRuntime.Client { public static let clientName = "AppConfigDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppConfigDataClient.AppConfigDataClientConfiguration let serviceName = "AppConfigData" diff --git a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift index 75cef1479b8..7c2b2d86920 100644 --- a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift +++ b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppFabricClient: ClientRuntime.Client { public static let clientName = "AppFabricClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppFabricClient.AppFabricClientConfiguration let serviceName = "AppFabric" diff --git a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift index 3a1375b3242..c9bb0d7baf1 100644 --- a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift +++ b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppIntegrationsClient: ClientRuntime.Client { public static let clientName = "AppIntegrationsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppIntegrationsClient.AppIntegrationsClientConfiguration let serviceName = "AppIntegrations" diff --git a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift index 56367a89054..fd9839204e8 100644 --- a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift +++ b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppMeshClient: ClientRuntime.Client { public static let clientName = "AppMeshClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppMeshClient.AppMeshClientConfiguration let serviceName = "App Mesh" diff --git a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift index d4b0b5c5e67..5606743d58d 100644 --- a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift +++ b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppRunnerClient: ClientRuntime.Client { public static let clientName = "AppRunnerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppRunnerClient.AppRunnerClientConfiguration let serviceName = "AppRunner" diff --git a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift index 3b41a08cd91..3e93d2109b6 100644 --- a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift +++ b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppStreamClient: ClientRuntime.Client { public static let clientName = "AppStreamClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppStreamClient.AppStreamClientConfiguration let serviceName = "AppStream" diff --git a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift index 7de1c3bda55..51c26d2ecfd 100644 --- a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift +++ b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppSyncClient: ClientRuntime.Client { public static let clientName = "AppSyncClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppSyncClient.AppSyncClientConfiguration let serviceName = "AppSync" diff --git a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift index c15a3065af9..beb3553a96c 100644 --- a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift +++ b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppTestClient: ClientRuntime.Client { public static let clientName = "AppTestClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppTestClient.AppTestClientConfiguration let serviceName = "AppTest" diff --git a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift index 3e6088ca8b5..8c35cf6d0cb 100644 --- a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift +++ b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppflowClient: ClientRuntime.Client { public static let clientName = "AppflowClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AppflowClient.AppflowClientConfiguration let serviceName = "Appflow" diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift index 95a8194f44d..ac4f909566e 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationAutoScalingClient: ClientRuntime.Client { public static let clientName = "ApplicationAutoScalingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationAutoScalingClient.ApplicationAutoScalingClientConfiguration let serviceName = "Application Auto Scaling" diff --git a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift index 85c0ba85394..39fc85ca5a7 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift +++ b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationCostProfilerClient: ClientRuntime.Client { public static let clientName = "ApplicationCostProfilerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationCostProfilerClient.ApplicationCostProfilerClientConfiguration let serviceName = "ApplicationCostProfiler" diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift index ace12136806..3aec51fb702 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationDiscoveryClient: ClientRuntime.Client { public static let clientName = "ApplicationDiscoveryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationDiscoveryClient.ApplicationDiscoveryClientConfiguration let serviceName = "Application Discovery" diff --git a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift index 99aa78007a1..4a56c25cb64 100644 --- a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift +++ b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationInsightsClient: ClientRuntime.Client { public static let clientName = "ApplicationInsightsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationInsightsClient.ApplicationInsightsClientConfiguration let serviceName = "Application Insights" diff --git a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift index a972b84fc79..16ee126d711 100644 --- a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift +++ b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationSignalsClient: ClientRuntime.Client { public static let clientName = "ApplicationSignalsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ApplicationSignalsClient.ApplicationSignalsClientConfiguration let serviceName = "Application Signals" diff --git a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift index 7b3e324afbd..78f789eee1c 100644 --- a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift +++ b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ArtifactClient: ClientRuntime.Client { public static let clientName = "ArtifactClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ArtifactClient.ArtifactClientConfiguration let serviceName = "Artifact" diff --git a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift index 897d6095b31..23ecb8c89c9 100644 --- a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift +++ b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AthenaClient: ClientRuntime.Client { public static let clientName = "AthenaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AthenaClient.AthenaClientConfiguration let serviceName = "Athena" diff --git a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift index 7a5b5692839..fab1de51be8 100644 --- a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift +++ b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AuditManagerClient: ClientRuntime.Client { public static let clientName = "AuditManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AuditManagerClient.AuditManagerClientConfiguration let serviceName = "AuditManager" diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift index 101c2fbdda9..4ae2b5cb11f 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingClient: ClientRuntime.Client { public static let clientName = "AutoScalingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AutoScalingClient.AutoScalingClientConfiguration let serviceName = "Auto Scaling" diff --git a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift index b186b1323f5..37a82dd7d27 100644 --- a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift +++ b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingPlansClient: ClientRuntime.Client { public static let clientName = "AutoScalingPlansClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: AutoScalingPlansClient.AutoScalingPlansClientConfiguration let serviceName = "Auto Scaling Plans" diff --git a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift index fa999c8ea06..59f59b2db1e 100644 --- a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift +++ b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class B2biClient: ClientRuntime.Client { public static let clientName = "B2biClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: B2biClient.B2biClientConfiguration let serviceName = "b2bi" diff --git a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift index df3723fd12e..7c62fdbc6e6 100644 --- a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift +++ b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BCMDataExportsClient: ClientRuntime.Client { public static let clientName = "BCMDataExportsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BCMDataExportsClient.BCMDataExportsClientConfiguration let serviceName = "BCM Data Exports" diff --git a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift index 3e21dcb91d7..e3447ea6978 100644 --- a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift +++ b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupClient: ClientRuntime.Client { public static let clientName = "BackupClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BackupClient.BackupClientConfiguration let serviceName = "Backup" diff --git a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift index 1a829c1db88..1988d8b632a 100644 --- a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift +++ b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupGatewayClient: ClientRuntime.Client { public static let clientName = "BackupGatewayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BackupGatewayClient.BackupGatewayClientConfiguration let serviceName = "Backup Gateway" diff --git a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift index c879908fc4a..cca348e660c 100644 --- a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift +++ b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BatchClient: ClientRuntime.Client { public static let clientName = "BatchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BatchClient.BatchClientConfiguration let serviceName = "Batch" diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift index 26d56813b1e..86550791f4a 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockClient: ClientRuntime.Client { public static let clientName = "BedrockClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockClient.BedrockClientConfiguration let serviceName = "Bedrock" diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift index df3ecd7c5fc..66b7649a503 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentClient: ClientRuntime.Client { public static let clientName = "BedrockAgentClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentClient.BedrockAgentClientConfiguration let serviceName = "Bedrock Agent" diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift index ccabe78ad6d..c917e2ff288 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockAgentRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentRuntimeClient.BedrockAgentRuntimeClientConfiguration let serviceName = "Bedrock Agent Runtime" diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift index 5f8e37fa2a7..b4596774bdd 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BedrockRuntimeClient.BedrockRuntimeClientConfiguration let serviceName = "Bedrock Runtime" diff --git a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift index c72ee1c4964..44a21aa78d9 100644 --- a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift +++ b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingClient: ClientRuntime.Client { public static let clientName = "BillingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BillingClient.BillingClientConfiguration let serviceName = "Billing" diff --git a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift index 7c39d3aa7e1..71f921133bd 100644 --- a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift +++ b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingconductorClient: ClientRuntime.Client { public static let clientName = "BillingconductorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BillingconductorClient.BillingconductorClientConfiguration let serviceName = "billingconductor" diff --git a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift index 0b9b2c06ad5..b810a1dd6d9 100644 --- a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift +++ b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BraketClient: ClientRuntime.Client { public static let clientName = "BraketClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BraketClient.BraketClientConfiguration let serviceName = "Braket" diff --git a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift index 7e2a92dc9f5..1f585a06ff8 100644 --- a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift +++ b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BudgetsClient: ClientRuntime.Client { public static let clientName = "BudgetsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: BudgetsClient.BudgetsClientConfiguration let serviceName = "Budgets" diff --git a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift index 39f30b66ba5..f31c905f864 100644 --- a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift +++ b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChatbotClient: ClientRuntime.Client { public static let clientName = "ChatbotClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChatbotClient.ChatbotClientConfiguration let serviceName = "chatbot" diff --git a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift index a62e8f9eaf1..793ce0aa2a9 100644 --- a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift +++ b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeClient: ClientRuntime.Client { public static let clientName = "ChimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeClient.ChimeClientConfiguration let serviceName = "Chime" diff --git a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift index a7c3b5ff35b..8bef9144f01 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift +++ b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKIdentityClient: ClientRuntime.Client { public static let clientName = "ChimeSDKIdentityClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKIdentityClient.ChimeSDKIdentityClientConfiguration let serviceName = "Chime SDK Identity" diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift index 790e277dc08..3fe2b7d69fb 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMediaPipelinesClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMediaPipelinesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMediaPipelinesClient.ChimeSDKMediaPipelinesClientConfiguration let serviceName = "Chime SDK Media Pipelines" diff --git a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift index 4e179df1635..a3d128b903b 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift +++ b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMeetingsClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMeetingsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMeetingsClient.ChimeSDKMeetingsClientConfiguration let serviceName = "Chime SDK Meetings" diff --git a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift index 527f001fa7a..05499ecd36d 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift +++ b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMessagingClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMessagingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMessagingClient.ChimeSDKMessagingClientConfiguration let serviceName = "Chime SDK Messaging" diff --git a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift index 0dbc05df6fa..11df9878f2f 100644 --- a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift +++ b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKVoiceClient: ClientRuntime.Client { public static let clientName = "ChimeSDKVoiceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKVoiceClient.ChimeSDKVoiceClientConfiguration let serviceName = "Chime SDK Voice" diff --git a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift index b27e6c9c26f..058f162f356 100644 --- a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift +++ b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsClient: ClientRuntime.Client { public static let clientName = "CleanRoomsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsClient.CleanRoomsClientConfiguration let serviceName = "CleanRooms" diff --git a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift index 7acea8b59e5..6d51fe30584 100644 --- a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift +++ b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsMLClient: ClientRuntime.Client { public static let clientName = "CleanRoomsMLClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsMLClient.CleanRoomsMLClientConfiguration let serviceName = "CleanRoomsML" diff --git a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift index 48a6252fb4e..7c0d489f0a9 100644 --- a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift +++ b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Cloud9Client: ClientRuntime.Client { public static let clientName = "Cloud9Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Cloud9Client.Cloud9ClientConfiguration let serviceName = "Cloud9" diff --git a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift index ca647546884..462c38e72ed 100644 --- a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift +++ b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudControlClient: ClientRuntime.Client { public static let clientName = "CloudControlClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudControlClient.CloudControlClientConfiguration let serviceName = "CloudControl" diff --git a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift index ff1a98a1650..c1ae2358c63 100644 --- a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift +++ b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudDirectoryClient: ClientRuntime.Client { public static let clientName = "CloudDirectoryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudDirectoryClient.CloudDirectoryClientConfiguration let serviceName = "CloudDirectory" diff --git a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift index 1bed3744905..4c619ec6cee 100644 --- a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift +++ b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFormationClient: ClientRuntime.Client { public static let clientName = "CloudFormationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudFormationClient.CloudFormationClientConfiguration let serviceName = "CloudFormation" diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift index 047111f4a77..a177a1e430c 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontClient: ClientRuntime.Client { public static let clientName = "CloudFrontClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudFrontClient.CloudFrontClientConfiguration let serviceName = "CloudFront" diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift index aded3a71012..b3025470eba 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontKeyValueStoreClient: ClientRuntime.Client { public static let clientName = "CloudFrontKeyValueStoreClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudFrontKeyValueStoreClient.CloudFrontKeyValueStoreClientConfiguration let serviceName = "CloudFront KeyValueStore" diff --git a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift index ac46bc8ef5b..4b1b0b704ef 100644 --- a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift +++ b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMClient: ClientRuntime.Client { public static let clientName = "CloudHSMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudHSMClient.CloudHSMClientConfiguration let serviceName = "CloudHSM" diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift index 4b4bddba2f2..c9583f3a6ed 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMV2Client: ClientRuntime.Client { public static let clientName = "CloudHSMV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudHSMV2Client.CloudHSMV2ClientConfiguration let serviceName = "CloudHSM V2" diff --git a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift index ffeb3af7410..451729e61b7 100644 --- a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift +++ b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchClient: ClientRuntime.Client { public static let clientName = "CloudSearchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudSearchClient.CloudSearchClientConfiguration let serviceName = "CloudSearch" diff --git a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift index 70e7cdf26f9..4359001cc75 100644 --- a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift +++ b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchDomainClient: ClientRuntime.Client { public static let clientName = "CloudSearchDomainClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudSearchDomainClient.CloudSearchDomainClientConfiguration let serviceName = "CloudSearch Domain" diff --git a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift index 0b9a816bb78..5af650fde54 100644 --- a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift +++ b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailClient: ClientRuntime.Client { public static let clientName = "CloudTrailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudTrailClient.CloudTrailClientConfiguration let serviceName = "CloudTrail" diff --git a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift index 49b7550e93b..5a71a8e4842 100644 --- a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift +++ b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailDataClient: ClientRuntime.Client { public static let clientName = "CloudTrailDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudTrailDataClient.CloudTrailDataClientConfiguration let serviceName = "CloudTrail Data" diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift index c50305faebf..e1b8fa125c6 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchClient: ClientRuntime.Client { public static let clientName = "CloudWatchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudWatchClient.CloudWatchClientConfiguration let serviceName = "CloudWatch" @@ -2427,7 +2427,7 @@ extension CloudWatchClient { /// Performs the `PutMetricData` operation on the `GraniteServiceVersion20100801` service. /// - /// Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). You can publish either individual data points in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricData structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data. Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics. Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see [Publishing Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the Amazon CloudWatch User Guide. You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time. Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html) from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html). CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: + /// Publishes metric data to Amazon CloudWatch. CloudWatch associates the data with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). You can publish metrics with associated entity data (so that related telemetry can be found and viewed together), or publish metric data by itself. To send entity data with your metrics, use the EntityMetricData parameter. To send metrics without entity data, use the MetricData parameter. The EntityMetricData structure includes MetricData structures for the metric data. You can publish either individual values in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricData structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data. Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics (across both the MetricData and EntityMetricData properties). Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see [Publishing Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the Amazon CloudWatch User Guide. You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time. Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html) from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for [GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) or [GetMetricStatistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html). CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true: /// /// * The SampleCount value of the statistic set is 1 and Min, Max, and Sum are all equal. /// diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift index 9613cfc8d6c..a4cc426afb0 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift @@ -1948,6 +1948,127 @@ public struct EnableInsightRulesOutput: Swift.Sendable { } } +extension CloudWatchClientTypes { + + /// An entity associated with metrics, to allow for finding related telemetry. An entity is typically a resource or service within your system. For example, metrics from an Amazon EC2 instance could be associated with that instance as the entity. Similarly, metrics from a service that you own could be associated with that service as the entity. + public struct Entity: Swift.Sendable { + /// Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs. For details about how to use the attributes, see [How to add related information to telemetry](https://docs.aws.amazon.com/adding-your-own-related-telemetry.html) in the CloudWatch User Guide. + public var attributes: [Swift.String: Swift.String]? + /// The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the same KeyAttributes are considered to be the same entity. For an entity to be valid, the KeyAttributes must exist and be formatted correctly. There are five allowed attributes (key names): Type, ResourceType, Identifier, Name, and Environment. For details about how to use the key attributes to specify an entity, see [How to add related information to telemetry](https://docs.aws.amazon.com/adding-your-own-related-telemetry.html) in the CloudWatch User Guide. + public var keyAttributes: [Swift.String: Swift.String]? + + public init( + attributes: [Swift.String: Swift.String]? = nil, + keyAttributes: [Swift.String: Swift.String]? = nil + ) + { + self.attributes = attributes + self.keyAttributes = keyAttributes + } + } +} + +extension CloudWatchClientTypes { + + /// Represents a set of statistics that describes a specific metric. + public struct StatisticSet: Swift.Sendable { + /// The maximum value of the sample set. + /// This member is required. + public var maximum: Swift.Double? + /// The minimum value of the sample set. + /// This member is required. + public var minimum: Swift.Double? + /// The number of samples used for the statistic set. + /// This member is required. + public var sampleCount: Swift.Double? + /// The sum of values for the sample set. + /// This member is required. + public var sum: Swift.Double? + + public init( + maximum: Swift.Double? = nil, + minimum: Swift.Double? = nil, + sampleCount: Swift.Double? = nil, + sum: Swift.Double? = nil + ) + { + self.maximum = maximum + self.minimum = minimum + self.sampleCount = sampleCount + self.sum = sum + } + } +} + +extension CloudWatchClientTypes { + + /// Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric. + public struct MetricDatum: Swift.Sendable { + /// Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period. If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array. + public var counts: [Swift.Double]? + /// The dimensions associated with the metric. + public var dimensions: [CloudWatchClientTypes.Dimension]? + /// The name of the metric. + /// This member is required. + public var metricName: Swift.String? + /// The statistical values for the metric. + public var statisticValues: CloudWatchClientTypes.StatisticSet? + /// Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see [High-Resolution Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics) in the Amazon CloudWatch User Guide. This field is optional, if you do not specify it the default of 60 is used. + public var storageResolution: Swift.Int? + /// The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. + public var timestamp: Foundation.Date? + /// When you are using a Put operation, this defines what unit you want to use when storing the metric. In a Get operation, this displays the unit that is used for the metric. + public var unit: CloudWatchClientTypes.StandardUnit? + /// The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. + public var value: Swift.Double? + /// Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array. Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. + public var values: [Swift.Double]? + + public init( + counts: [Swift.Double]? = nil, + dimensions: [CloudWatchClientTypes.Dimension]? = nil, + metricName: Swift.String? = nil, + statisticValues: CloudWatchClientTypes.StatisticSet? = nil, + storageResolution: Swift.Int? = nil, + timestamp: Foundation.Date? = nil, + unit: CloudWatchClientTypes.StandardUnit? = nil, + value: Swift.Double? = nil, + values: [Swift.Double]? = nil + ) + { + self.counts = counts + self.dimensions = dimensions + self.metricName = metricName + self.statisticValues = statisticValues + self.storageResolution = storageResolution + self.timestamp = timestamp + self.unit = unit + self.value = value + self.values = values + } + } +} + +extension CloudWatchClientTypes { + + /// A set of metrics that are associated with an entity, such as a specific service or resource. Contains the entity and the list of metric data associated with it. + public struct EntityMetricData: Swift.Sendable { + /// The entity associated with the metrics. + public var entity: CloudWatchClientTypes.Entity? + /// The metric data. + public var metricData: [CloudWatchClientTypes.MetricDatum]? + + public init( + entity: CloudWatchClientTypes.Entity? = nil, + metricData: [CloudWatchClientTypes.MetricDatum]? = nil + ) + { + self.entity = entity + self.metricData = metricData + } + } +} + public struct GetDashboardInput: Swift.Sendable { /// The name of the dashboard to be described. /// This member is required. @@ -2788,7 +2909,7 @@ public struct ListMetricsInput: Swift.Sendable { public var nextToken: Swift.String? /// When you use this operation in a monitoring account, use this field to return metrics only from one source account. To do so, specify that source account ID in this field, and also specify true for IncludeLinkedAccounts. public var owningAccount: Swift.String? - /// To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter. The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 40 minutes more than the specified time interval. + /// To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter. The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval. public var recentlyActive: CloudWatchClientTypes.RecentlyActive? public init( @@ -3448,7 +3569,7 @@ public struct PutMetricAlarmInput: Swift.Sendable { public var period: Swift.Int? /// The statistic for the metric specified in MetricName, other than percentile. For percentile statistics, use ExtendedStatistic. When you call PutMetricAlarm and specify a MetricName, you must specify either Statistic or ExtendedStatistic, but not both. public var statistic: CloudWatchClientTypes.Statistic? - /// A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the cloudwatch:TagResource permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use [TagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) or [UntagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html). + /// A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the cloudwatch:TagResource permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use [TagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) or [UntagResource](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html). To use this field to set tags for an alarm when you create it, you must be signed on with both the cloudwatch:PutMetricAlarm and cloudwatch:TagResource permissions. public var tags: [CloudWatchClientTypes.Tag]? /// The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models. public var threshold: Swift.Double? @@ -3509,102 +3630,50 @@ public struct PutMetricAlarmInput: Swift.Sendable { } } -extension CloudWatchClientTypes { - - /// Represents a set of statistics that describes a specific metric. - public struct StatisticSet: Swift.Sendable { - /// The maximum value of the sample set. - /// This member is required. - public var maximum: Swift.Double? - /// The minimum value of the sample set. - /// This member is required. - public var minimum: Swift.Double? - /// The number of samples used for the statistic set. - /// This member is required. - public var sampleCount: Swift.Double? - /// The sum of values for the sample set. - /// This member is required. - public var sum: Swift.Double? - - public init( - maximum: Swift.Double? = nil, - minimum: Swift.Double? = nil, - sampleCount: Swift.Double? = nil, - sum: Swift.Double? = nil - ) - { - self.maximum = maximum - self.minimum = minimum - self.sampleCount = sampleCount - self.sum = sum - } - } -} - -extension CloudWatchClientTypes { - - /// Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric. - public struct MetricDatum: Swift.Sendable { - /// Array of numbers that is used along with the Values array. Each number in the Count array is the number of times the corresponding value in the Values array occurred during the period. If you omit the Counts array, the default of 1 is used as the value for each count. If you include a Counts array, it must include the same amount of values as the Values array. - public var counts: [Swift.Double]? - /// The dimensions associated with the metric. - public var dimensions: [CloudWatchClientTypes.Dimension]? - /// The name of the metric. - /// This member is required. - public var metricName: Swift.String? - /// The statistical values for the metric. - public var statisticValues: CloudWatchClientTypes.StatisticSet? - /// Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see [High-Resolution Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics) in the Amazon CloudWatch User Guide. This field is optional, if you do not specify it the default of 60 is used. - public var storageResolution: Swift.Int? - /// The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. - public var timestamp: Foundation.Date? - /// When you are using a Put operation, this defines what unit you want to use when storing the metric. In a Get operation, this displays the unit that is used for the metric. - public var unit: CloudWatchClientTypes.StandardUnit? - /// The value for the metric. Although the parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. - public var value: Swift.Double? - /// Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the Counts array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each PutMetricData action that specifies a Values array. Although the Values array accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported. - public var values: [Swift.Double]? - - public init( - counts: [Swift.Double]? = nil, - dimensions: [CloudWatchClientTypes.Dimension]? = nil, - metricName: Swift.String? = nil, - statisticValues: CloudWatchClientTypes.StatisticSet? = nil, - storageResolution: Swift.Int? = nil, - timestamp: Foundation.Date? = nil, - unit: CloudWatchClientTypes.StandardUnit? = nil, - value: Swift.Double? = nil, - values: [Swift.Double]? = nil - ) - { - self.counts = counts - self.dimensions = dimensions - self.metricName = metricName - self.statisticValues = statisticValues - self.storageResolution = storageResolution - self.timestamp = timestamp - self.unit = unit - self.value = value - self.values = values - } - } -} - public struct PutMetricDataInput: Swift.Sendable { - /// The data for the metric. The array can include no more than 1000 metrics per call. - /// This member is required. + /// Data for metrics that contain associated entity information. You can include up to two EntityMetricData objects, each of which can contain a single Entity and associated metrics. The limit of metrics allowed, 1000, is the sum of both EntityMetricData and MetricData metrics. + public var entityMetricData: [CloudWatchClientTypes.EntityMetricData]? + /// The data for the metrics. Use this parameter if your metrics do not contain associated entities. The array can include no more than 1000 metrics per call. The limit of metrics allowed, 1000, is the sum of both EntityMetricData and MetricData metrics. public var metricData: [CloudWatchClientTypes.MetricDatum]? /// The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported. To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/ /// This member is required. public var namespace: Swift.String? + /// Whether to accept valid metric data when an invalid entity is sent. + /// + /// * When set to true: Any validation error (for entity or metric data) will fail the entire request, and no data will be ingested. The failed operation will return a 400 result with the error. + /// + /// * When set to false: Validation errors in the entity will not associate the metric with the entity, but the metric data will still be accepted and ingested. Validation errors in the metric data will fail the entire request, and no data will be ingested. In the case of an invalid entity, the operation will return a 200 status, but an additional response header will contain information about the validation errors. The new header, X-Amzn-Failure-Message is an enumeration of the following values: + /// + /// * InvalidEntity - The provided entity is invalid. + /// + /// * InvalidKeyAttributes - The provided KeyAttributes of an entity is invalid. + /// + /// * InvalidAttributes - The provided Attributes of an entity is invalid. + /// + /// * InvalidTypeValue - The provided Type in the KeyAttributes of an entity is invalid. + /// + /// * EntitySizeTooLarge - The number of EntityMetricData objects allowed is 2. + /// + /// * MissingRequiredFields - There are missing required fields in the KeyAttributes for the provided Type. + /// + /// + /// For details of the requirements for specifying an entity, see [How to add related information to telemetry](https://docs.aws.amazon.com/adding-your-own-related-telemetry.html) in the CloudWatch User Guide. + /// + /// + /// This parameter is required when EntityMetricData is included. + public var strictEntityValidation: Swift.Bool? public init( + entityMetricData: [CloudWatchClientTypes.EntityMetricData]? = nil, metricData: [CloudWatchClientTypes.MetricDatum]? = nil, - namespace: Swift.String? = nil + namespace: Swift.String? = nil, + strictEntityValidation: Swift.Bool? = nil ) { + self.entityMetricData = entityMetricData self.metricData = metricData self.namespace = namespace + self.strictEntityValidation = strictEntityValidation } } @@ -4491,8 +4560,10 @@ extension PutMetricDataInput { static func write(value: PutMetricDataInput?, to writer: SmithyFormURL.Writer) throws { guard let value else { return } + try writer["EntityMetricData"].writeList(value.entityMetricData, memberWritingClosure: CloudWatchClientTypes.EntityMetricData.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["MetricData"].writeList(value.metricData, memberWritingClosure: CloudWatchClientTypes.MetricDatum.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["Namespace"].write(value.namespace) + try writer["StrictEntityValidation"].write(value.strictEntityValidation) try writer["Action"].write("PutMetricData") try writer["Version"].write("2010-08-01") } @@ -6304,4 +6375,22 @@ extension CloudWatchClientTypes.StatisticSet { } } +extension CloudWatchClientTypes.EntityMetricData { + + static func write(value: CloudWatchClientTypes.EntityMetricData?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Entity"].write(value.entity, with: CloudWatchClientTypes.Entity.write(value:to:)) + try writer["MetricData"].writeList(value.metricData, memberWritingClosure: CloudWatchClientTypes.MetricDatum.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension CloudWatchClientTypes.Entity { + + static func write(value: CloudWatchClientTypes.Entity?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Attributes"].writeMap(value.attributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["KeyAttributes"].writeMap(value.keyAttributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + public enum CloudWatchClientTypes {} diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift index 61c2e882b2e..15bcfaf255a 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchEventsClient: ClientRuntime.Client { public static let clientName = "CloudWatchEventsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudWatchEventsClient.CloudWatchEventsClientConfiguration let serviceName = "CloudWatch Events" diff --git a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift index 94949f1e303..e540a802fe8 100644 --- a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift +++ b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchLogsClient: ClientRuntime.Client { public static let clientName = "CloudWatchLogsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CloudWatchLogsClient.CloudWatchLogsClientConfiguration let serviceName = "CloudWatch Logs" diff --git a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift index 0c5ceb40b83..d3d3aea6d1a 100644 --- a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift +++ b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeBuildClient: ClientRuntime.Client { public static let clientName = "CodeBuildClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeBuildClient.CodeBuildClientConfiguration let serviceName = "CodeBuild" diff --git a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift index 586bcc61f0b..a621efd6624 100644 --- a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift +++ b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCatalystClient: ClientRuntime.Client { public static let clientName = "CodeCatalystClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeCatalystClient.CodeCatalystClientConfiguration let serviceName = "CodeCatalyst" diff --git a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift index 917ae0e8bb2..0c2089258c7 100644 --- a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift +++ b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCommitClient: ClientRuntime.Client { public static let clientName = "CodeCommitClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeCommitClient.CodeCommitClientConfiguration let serviceName = "CodeCommit" diff --git a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift index f1e2a71fce3..640f8871024 100644 --- a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift +++ b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeConnectionsClient: ClientRuntime.Client { public static let clientName = "CodeConnectionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeConnectionsClient.CodeConnectionsClientConfiguration let serviceName = "CodeConnections" diff --git a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift index c703ca34d41..4ac5033f4cc 100644 --- a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift +++ b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeDeployClient: ClientRuntime.Client { public static let clientName = "CodeDeployClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeDeployClient.CodeDeployClientConfiguration let serviceName = "CodeDeploy" diff --git a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift index e3bd96fee50..45579931967 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift +++ b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruProfilerClient: ClientRuntime.Client { public static let clientName = "CodeGuruProfilerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeGuruProfilerClient.CodeGuruProfilerClientConfiguration let serviceName = "CodeGuruProfiler" diff --git a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift index ddd3bb0354e..b989e3de744 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift +++ b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruReviewerClient: ClientRuntime.Client { public static let clientName = "CodeGuruReviewerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeGuruReviewerClient.CodeGuruReviewerClientConfiguration let serviceName = "CodeGuru Reviewer" diff --git a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift index 76b871526c1..82332159a5e 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift +++ b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruSecurityClient: ClientRuntime.Client { public static let clientName = "CodeGuruSecurityClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeGuruSecurityClient.CodeGuruSecurityClientConfiguration let serviceName = "CodeGuru Security" diff --git a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift index 5e5240e0835..70c35b8f6ee 100644 --- a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift +++ b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodePipelineClient: ClientRuntime.Client { public static let clientName = "CodePipelineClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodePipelineClient.CodePipelineClientConfiguration let serviceName = "CodePipeline" diff --git a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift index 11394a4d387..ca6a3bfa4b1 100644 --- a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift +++ b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeStarconnectionsClient: ClientRuntime.Client { public static let clientName = "CodeStarconnectionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeStarconnectionsClient.CodeStarconnectionsClientConfiguration let serviceName = "CodeStar connections" diff --git a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift index 17748ab324c..1af08683bd7 100644 --- a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift +++ b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeartifactClient: ClientRuntime.Client { public static let clientName = "CodeartifactClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodeartifactClient.CodeartifactClientConfiguration let serviceName = "codeartifact" diff --git a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift index 5066d0de20f..978d335f946 100644 --- a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift +++ b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodestarnotificationsClient: ClientRuntime.Client { public static let clientName = "CodestarnotificationsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CodestarnotificationsClient.CodestarnotificationsClientConfiguration let serviceName = "codestar notifications" diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift index c0ee9c5a383..e1676c5c6e1 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityClient.CognitoIdentityClientConfiguration let serviceName = "Cognito Identity" diff --git a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift index b8297b8e12b..c0e85e780eb 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift +++ b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityProviderClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityProviderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityProviderClient.CognitoIdentityProviderClientConfiguration let serviceName = "Cognito Identity Provider" diff --git a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift index 86dfe21fbc2..a903d895f0f 100644 --- a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift +++ b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoSyncClient: ClientRuntime.Client { public static let clientName = "CognitoSyncClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CognitoSyncClient.CognitoSyncClientConfiguration let serviceName = "Cognito Sync" diff --git a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift index b8e05cece53..382805f3d42 100644 --- a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift +++ b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendClient: ClientRuntime.Client { public static let clientName = "ComprehendClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ComprehendClient.ComprehendClientConfiguration let serviceName = "Comprehend" diff --git a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift index 3984f929acc..794fba7822f 100644 --- a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift +++ b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendMedicalClient: ClientRuntime.Client { public static let clientName = "ComprehendMedicalClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ComprehendMedicalClient.ComprehendMedicalClientConfiguration let serviceName = "ComprehendMedical" diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift index a627a40f247..165bdde5901 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComputeOptimizerClient: ClientRuntime.Client { public static let clientName = "ComputeOptimizerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ComputeOptimizerClient.ComputeOptimizerClientConfiguration let serviceName = "Compute Optimizer" diff --git a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift index 63e97720c5e..216d9d59ec7 100644 --- a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift +++ b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConfigClient: ClientRuntime.Client { public static let clientName = "ConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConfigClient.ConfigClientConfiguration let serviceName = "Config" diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift index 9a1668a7154..f187fa34425 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectClient: ClientRuntime.Client { public static let clientName = "ConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectClient.ConnectClientConfiguration let serviceName = "Connect" diff --git a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift index 264f8c0c765..e533746db82 100644 --- a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift +++ b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCampaignsClient: ClientRuntime.Client { public static let clientName = "ConnectCampaignsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectCampaignsClient.ConnectCampaignsClientConfiguration let serviceName = "ConnectCampaigns" diff --git a/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt b/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt new file mode 100644 index 00000000000..36f60142930 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt @@ -0,0 +1,96 @@ +// swift-tools-version: 5.9.0 + +import PackageDescription + +let package = Package( + name: "AWSConnectCampaignsV2", + platforms: [ + .macOS(.v10_15), .iOS(.v13) + ], + products: [ + .library(name: "AWSConnectCampaignsV2", targets: ["AWSConnectCampaignsV2"]) + ], + dependencies: [ + .package( + id: "aws-sdk-swift.AWSClientRuntime", + exact: "0.0.1" + ), + .package( + id: "aws-sdk-swift.AWSSDKHTTPAuth", + exact: "0.0.1" + ), + .package( + url: "https://github.com/smithy-lang/smithy-swift", + exact: "0.0.1" + ), + ], + targets: [ + .target( + name: "AWSConnectCampaignsV2", + dependencies: [ + .product( + name: "AWSClientRuntime", + package: "aws-sdk-swift.AWSClientRuntime" + ), + .product( + name: "AWSSDKHTTPAuth", + package: "aws-sdk-swift.AWSSDKHTTPAuth" + ), + .product( + name: "SmithyHTTPAuthAPI", + package: "smithy-swift" + ), + .product( + name: "Smithy", + package: "smithy-swift" + ), + .product( + name: "ClientRuntime", + package: "smithy-swift" + ), + .product( + name: "SmithyIdentity", + package: "smithy-swift" + ), + .product( + name: "SmithyRetriesAPI", + package: "smithy-swift" + ), + .product( + name: "SmithyHTTPAPI", + package: "smithy-swift" + ), + .product( + name: "SmithyJSON", + package: "smithy-swift" + ), + .product( + name: "SmithyReadWrite", + package: "smithy-swift" + ), + .product( + name: "SmithyRetries", + package: "smithy-swift" + ), + .product( + name: "SmithyTimestamps", + package: "smithy-swift" + ), + .product( + name: "SmithyTestUtil", + package: "smithy-swift" + ), + ] + ), + .testTarget( + name: "AWSConnectCampaignsV2Tests", + dependencies: [ + "AWSConnectCampaignsV2", + .product( + name: "SmithyTestUtil", + package: "smithy-swift" + ), + ] + ) + ] +) diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift new file mode 100644 index 00000000000..ec04267a88e --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/AuthSchemeResolver.swift @@ -0,0 +1,56 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class Smithy.Context +import enum Smithy.ClientError +import enum SmithyHTTPAuthAPI.SigningPropertyKeys +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyHTTPAuthAPI.AuthSchemeResolverParameters +import struct SmithyHTTPAuthAPI.AuthOption + +public struct ConnectCampaignsV2AuthSchemeResolverParameters: SmithyHTTPAuthAPI.AuthSchemeResolverParameters { + public let operation: Swift.String + // Region is used for SigV4 auth scheme + public let region: Swift.String? +} + +public protocol ConnectCampaignsV2AuthSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver { + // Intentionally empty. + // This is the parent protocol that all auth scheme resolver implementations of + // the service ConnectCampaignsV2 must conform to. +} + +public struct DefaultConnectCampaignsV2AuthSchemeResolver: ConnectCampaignsV2AuthSchemeResolver { + + public func resolveAuthScheme(params: SmithyHTTPAuthAPI.AuthSchemeResolverParameters) throws -> [SmithyHTTPAuthAPI.AuthOption] { + var validAuthOptions = [SmithyHTTPAuthAPI.AuthOption]() + guard let serviceParams = params as? ConnectCampaignsV2AuthSchemeResolverParameters else { + throw Smithy.ClientError.authError("Service specific auth scheme parameters type must be passed to auth scheme resolver.") + } + switch serviceParams.operation { + default: + var sigV4Option = SmithyHTTPAuthAPI.AuthOption(schemeID: "aws.auth#sigv4") + sigV4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingName, value: "connect-campaigns") + guard let region = serviceParams.region else { + throw Smithy.ClientError.authError("Missing region in auth scheme parameters for SigV4 auth scheme.") + } + sigV4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingRegion, value: region) + validAuthOptions.append(sigV4Option) + } + return validAuthOptions + } + + public func constructParameters(context: Smithy.Context) throws -> SmithyHTTPAuthAPI.AuthSchemeResolverParameters { + guard let opName = context.getOperation() else { + throw Smithy.ClientError.dataNotFound("Operation name not configured in middleware context for auth scheme resolver params construction.") + } + let opRegion = context.getRegion() + return ConnectCampaignsV2AuthSchemeResolverParameters(operation: opName, region: opRegion) + } +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift new file mode 100644 index 00000000000..399748feafa --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift @@ -0,0 +1,2503 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class AWSClientRuntime.AWSClientConfigDefaultsProvider +import class AWSClientRuntime.AmzSdkRequestMiddleware +import class AWSClientRuntime.DefaultAWSClientPlugin +import class ClientRuntime.ClientBuilder +import class ClientRuntime.DefaultClientPlugin +import class ClientRuntime.HttpClientConfiguration +import class ClientRuntime.OrchestratorBuilder +import class ClientRuntime.OrchestratorTelemetry +import class ClientRuntime.SdkHttpClient +import class Smithy.ContextBuilder +import class SmithyHTTPAPI.HTTPRequest +import class SmithyHTTPAPI.HTTPResponse +@_spi(SmithyReadWrite) import class SmithyJSON.Writer +import enum AWSClientRuntime.AWSRetryErrorInfoProvider +import enum AWSClientRuntime.AWSRetryMode +import enum ClientRuntime.ClientLogMode +import enum ClientRuntime.DefaultTelemetry +import enum ClientRuntime.OrchestratorMetricsAttributesKeys +import protocol AWSClientRuntime.AWSDefaultClientConfiguration +import protocol AWSClientRuntime.AWSRegionClientConfiguration +import protocol ClientRuntime.Client +import protocol ClientRuntime.DefaultClientConfiguration +import protocol ClientRuntime.DefaultHttpClientConfiguration +import protocol ClientRuntime.HttpInterceptorProvider +import protocol ClientRuntime.IdempotencyTokenGenerator +import protocol ClientRuntime.InterceptorProvider +import protocol ClientRuntime.TelemetryProvider +import protocol Smithy.LogAgent +import protocol SmithyHTTPAPI.HTTPClient +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyIdentity.AWSCredentialIdentityResolver +import protocol SmithyIdentity.BearerTokenIdentityResolver +@_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyWriter +import struct AWSClientRuntime.AmzSdkInvocationIdMiddleware +import struct AWSClientRuntime.EndpointResolverMiddleware +import struct AWSClientRuntime.UserAgentMiddleware +import struct AWSSDKHTTPAuth.SigV4AuthScheme +import struct ClientRuntime.AuthSchemeMiddleware +@_spi(SmithyReadWrite) import struct ClientRuntime.BodyMiddleware +import struct ClientRuntime.ContentLengthMiddleware +import struct ClientRuntime.ContentTypeMiddleware +@_spi(SmithyReadWrite) import struct ClientRuntime.DeserializeMiddleware +import struct ClientRuntime.LoggerMiddleware +import struct ClientRuntime.QueryItemMiddleware +import struct ClientRuntime.SignerMiddleware +import struct ClientRuntime.URLHostMiddleware +import struct ClientRuntime.URLPathMiddleware +import struct Smithy.Attributes +import struct SmithyIdentity.BearerTokenIdentity +import struct SmithyIdentity.StaticBearerTokenIdentityResolver +import struct SmithyRetries.DefaultRetryStrategy +import struct SmithyRetriesAPI.RetryStrategyOptions +import typealias SmithyHTTPAuthAPI.AuthSchemes + +public class ConnectCampaignsV2Client: ClientRuntime.Client { + public static let clientName = "ConnectCampaignsV2Client" + public static let version = "1.0.42" + let client: ClientRuntime.SdkHttpClient + let config: ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration + let serviceName = "ConnectCampaignsV2" + + public required init(config: ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration) { + client = ClientRuntime.SdkHttpClient(engine: config.httpClientEngine, config: config.httpClientConfiguration) + self.config = config + } + + public convenience init(region: Swift.String) throws { + let config = try ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration(region: region) + self.init(config: config) + } + + public convenience required init() async throws { + let config = try await ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration() + self.init(config: config) + } +} + +extension ConnectCampaignsV2Client { + public class ConnectCampaignsV2ClientConfiguration: AWSClientRuntime.AWSDefaultClientConfiguration & AWSClientRuntime.AWSRegionClientConfiguration & ClientRuntime.DefaultClientConfiguration & ClientRuntime.DefaultHttpClientConfiguration { + public var useFIPS: Swift.Bool? + + public var useDualStack: Swift.Bool? + + public var appID: Swift.String? + + public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver + + public var awsRetryMode: AWSClientRuntime.AWSRetryMode + + public var maxAttempts: Swift.Int? + + public var region: Swift.String? + + public var signingRegion: Swift.String? + + public var endpointResolver: EndpointResolver + + public var telemetryProvider: ClientRuntime.TelemetryProvider + + public var retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions + + public var clientLogMode: ClientRuntime.ClientLogMode + + public var endpoint: Swift.String? + + public var idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator + + public var httpClientEngine: SmithyHTTPAPI.HTTPClient + + public var httpClientConfiguration: ClientRuntime.HttpClientConfiguration + + public var authSchemes: SmithyHTTPAuthAPI.AuthSchemes? + + public var authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver + + public var bearerTokenIdentityResolver: any SmithyIdentity.BearerTokenIdentityResolver + + public private(set) var interceptorProviders: [ClientRuntime.InterceptorProvider] + + public private(set) var httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider] + + internal let logger: Smithy.LogAgent + + private init(_ useFIPS: Swift.Bool?, _ useDualStack: Swift.Bool?, _ appID: Swift.String?, _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, _ region: Swift.String?, _ signingRegion: Swift.String?, _ endpointResolver: EndpointResolver, _ telemetryProvider: ClientRuntime.TelemetryProvider, _ retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions, _ clientLogMode: ClientRuntime.ClientLogMode, _ endpoint: Swift.String?, _ idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator, _ httpClientEngine: SmithyHTTPAPI.HTTPClient, _ httpClientConfiguration: ClientRuntime.HttpClientConfiguration, _ authSchemes: SmithyHTTPAuthAPI.AuthSchemes?, _ authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver, _ bearerTokenIdentityResolver: any SmithyIdentity.BearerTokenIdentityResolver, _ interceptorProviders: [ClientRuntime.InterceptorProvider], _ httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]) { + self.useFIPS = useFIPS + self.useDualStack = useDualStack + self.appID = appID + self.awsCredentialIdentityResolver = awsCredentialIdentityResolver + self.awsRetryMode = awsRetryMode + self.maxAttempts = maxAttempts + self.region = region + self.signingRegion = signingRegion + self.endpointResolver = endpointResolver + self.telemetryProvider = telemetryProvider + self.retryStrategyOptions = retryStrategyOptions + self.clientLogMode = clientLogMode + self.endpoint = endpoint + self.idempotencyTokenGenerator = idempotencyTokenGenerator + self.httpClientEngine = httpClientEngine + self.httpClientConfiguration = httpClientConfiguration + self.authSchemes = authSchemes + self.authSchemeResolver = authSchemeResolver + self.bearerTokenIdentityResolver = bearerTokenIdentityResolver + self.interceptorProviders = interceptorProviders + self.httpInterceptorProviders = httpInterceptorProviders + self.logger = telemetryProvider.loggerProvider.getLogger(name: ConnectCampaignsV2Client.clientName) + } + + public convenience init(useFIPS: Swift.Bool? = nil, useDualStack: Swift.Bool? = nil, appID: Swift.String? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, endpointResolver: EndpointResolver? = nil, telemetryProvider: ClientRuntime.TelemetryProvider? = nil, retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions? = nil, clientLogMode: ClientRuntime.ClientLogMode? = nil, endpoint: Swift.String? = nil, idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator? = nil, httpClientEngine: SmithyHTTPAPI.HTTPClient? = nil, httpClientConfiguration: ClientRuntime.HttpClientConfiguration? = nil, authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? = nil, bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? = nil, interceptorProviders: [ClientRuntime.InterceptorProvider]? = nil, httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]? = nil) throws { + self.init(useFIPS, useDualStack, try appID ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, region, signingRegion, try endpointResolver ?? DefaultEndpointResolver(), telemetryProvider ?? ClientRuntime.DefaultTelemetry.provider, try retryStrategyOptions ?? AWSClientConfigDefaultsProvider.retryStrategyOptions(awsRetryMode, maxAttempts), clientLogMode ?? AWSClientConfigDefaultsProvider.clientLogMode(), endpoint, idempotencyTokenGenerator ?? AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), httpClientEngine ?? AWSClientConfigDefaultsProvider.httpClientEngine(), httpClientConfiguration ?? AWSClientConfigDefaultsProvider.httpClientConfiguration(), authSchemes ?? [AWSSDKHTTPAuth.SigV4AuthScheme()], authSchemeResolver ?? DefaultConnectCampaignsV2AuthSchemeResolver(), bearerTokenIdentityResolver ?? SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")), interceptorProviders ?? [], httpInterceptorProviders ?? []) + } + + public convenience init(useFIPS: Swift.Bool? = nil, useDualStack: Swift.Bool? = nil, appID: Swift.String? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, endpointResolver: EndpointResolver? = nil, telemetryProvider: ClientRuntime.TelemetryProvider? = nil, retryStrategyOptions: SmithyRetriesAPI.RetryStrategyOptions? = nil, clientLogMode: ClientRuntime.ClientLogMode? = nil, endpoint: Swift.String? = nil, idempotencyTokenGenerator: ClientRuntime.IdempotencyTokenGenerator? = nil, httpClientEngine: SmithyHTTPAPI.HTTPClient? = nil, httpClientConfiguration: ClientRuntime.HttpClientConfiguration? = nil, authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? = nil, bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? = nil, interceptorProviders: [ClientRuntime.InterceptorProvider]? = nil, httpInterceptorProviders: [ClientRuntime.HttpInterceptorProvider]? = nil) async throws { + self.init(useFIPS, useDualStack, try appID ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try endpointResolver ?? DefaultEndpointResolver(), telemetryProvider ?? ClientRuntime.DefaultTelemetry.provider, try retryStrategyOptions ?? AWSClientConfigDefaultsProvider.retryStrategyOptions(awsRetryMode, maxAttempts), clientLogMode ?? AWSClientConfigDefaultsProvider.clientLogMode(), endpoint, idempotencyTokenGenerator ?? AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), httpClientEngine ?? AWSClientConfigDefaultsProvider.httpClientEngine(), httpClientConfiguration ?? AWSClientConfigDefaultsProvider.httpClientConfiguration(), authSchemes ?? [AWSSDKHTTPAuth.SigV4AuthScheme()], authSchemeResolver ?? DefaultConnectCampaignsV2AuthSchemeResolver(), bearerTokenIdentityResolver ?? SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")), interceptorProviders ?? [], httpInterceptorProviders ?? []) + } + + public convenience required init() async throws { + try await self.init(useFIPS: nil, useDualStack: nil, appID: nil, awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, region: nil, signingRegion: nil, endpointResolver: nil, telemetryProvider: nil, retryStrategyOptions: nil, clientLogMode: nil, endpoint: nil, idempotencyTokenGenerator: nil, httpClientEngine: nil, httpClientConfiguration: nil, authSchemes: nil, authSchemeResolver: nil, bearerTokenIdentityResolver: nil, interceptorProviders: nil, httpInterceptorProviders: nil) + } + + public convenience init(region: String) throws { + self.init(nil, nil, try AWSClientRuntime.AWSClientConfigDefaultsProvider.appID(), try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, region, region, try DefaultEndpointResolver(), ClientRuntime.DefaultTelemetry.provider, try AWSClientConfigDefaultsProvider.retryStrategyOptions(), AWSClientConfigDefaultsProvider.clientLogMode(), nil, AWSClientConfigDefaultsProvider.idempotencyTokenGenerator(), AWSClientConfigDefaultsProvider.httpClientEngine(), AWSClientConfigDefaultsProvider.httpClientConfiguration(), [AWSSDKHTTPAuth.SigV4AuthScheme()], DefaultConnectCampaignsV2AuthSchemeResolver(), SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")), [], []) + } + + public var partitionID: String? { + return "\(ConnectCampaignsV2Client.clientName) - \(region ?? "")" + } + public func addInterceptorProvider(_ provider: ClientRuntime.InterceptorProvider) { + self.interceptorProviders.append(provider) + } + + public func addInterceptorProvider(_ provider: ClientRuntime.HttpInterceptorProvider) { + self.httpInterceptorProviders.append(provider) + } + + } + + public static func builder() -> ClientRuntime.ClientBuilder { + return ClientRuntime.ClientBuilder(defaultPlugins: [ + ClientRuntime.DefaultClientPlugin(), + AWSClientRuntime.DefaultAWSClientPlugin(clientName: self.clientName), + DefaultAWSAuthSchemePlugin() + ]) + } +} + +extension ConnectCampaignsV2Client { + /// Performs the `CreateCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Creates a campaign for the specified Amazon Connect account. This API is idempotent. + /// + /// - Parameter CreateCampaignInput : The request for CreateCampaign API. + /// + /// - Returns: `CreateCampaignOutput` : The response for Create Campaign API + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ServiceQuotaExceededException` : Request would cause a service quota to be exceeded. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func createCampaign(input: CreateCampaignInput) async throws -> CreateCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "createCampaign") + .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: "connect-campaigns") + .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(CreateCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateCampaignInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateCampaignOutput.httpOutput(from:), CreateCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateCampaign") + 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 `DeleteCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes a campaign from the specified Amazon Connect account. + /// + /// - Parameter DeleteCampaignInput : The request for DeleteCampaign API. + /// + /// - Returns: `DeleteCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaign(input: DeleteCampaignInput) async throws -> DeleteCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaign") + .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: "connect-campaigns") + .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(DeleteCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignOutput.httpOutput(from:), DeleteCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaign") + 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 `DeleteCampaignChannelSubtypeConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes the channel subtype config of a campaign. This API is idempotent. + /// + /// - Parameter DeleteCampaignChannelSubtypeConfigInput : The request for DeleteCampaignChannelSubtypeConfig API. + /// + /// - Returns: `DeleteCampaignChannelSubtypeConfigOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaignChannelSubtypeConfig(input: DeleteCampaignChannelSubtypeConfigInput) async throws -> DeleteCampaignChannelSubtypeConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaignChannelSubtypeConfig") + .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: "connect-campaigns") + .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(DeleteCampaignChannelSubtypeConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteCampaignChannelSubtypeConfigInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignChannelSubtypeConfigOutput.httpOutput(from:), DeleteCampaignChannelSubtypeConfigOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaignChannelSubtypeConfig") + 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 `DeleteCampaignCommunicationLimits` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes the communication limits config for a campaign. This API is idempotent. + /// + /// - Parameter DeleteCampaignCommunicationLimitsInput : The request for DeleteCampaignCommunicationLimits API. + /// + /// - Returns: `DeleteCampaignCommunicationLimitsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaignCommunicationLimits(input: DeleteCampaignCommunicationLimitsInput) async throws -> DeleteCampaignCommunicationLimitsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaignCommunicationLimits") + .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: "connect-campaigns") + .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(DeleteCampaignCommunicationLimitsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteCampaignCommunicationLimitsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignCommunicationLimitsOutput.httpOutput(from:), DeleteCampaignCommunicationLimitsOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaignCommunicationLimits") + 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 `DeleteCampaignCommunicationTime` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes the communication time config for a campaign. This API is idempotent. + /// + /// - Parameter DeleteCampaignCommunicationTimeInput : The request for DeleteCampaignCommunicationTime API. + /// + /// - Returns: `DeleteCampaignCommunicationTimeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteCampaignCommunicationTime(input: DeleteCampaignCommunicationTimeInput) async throws -> DeleteCampaignCommunicationTimeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteCampaignCommunicationTime") + .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: "connect-campaigns") + .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(DeleteCampaignCommunicationTimeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteCampaignCommunicationTimeInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteCampaignCommunicationTimeOutput.httpOutput(from:), DeleteCampaignCommunicationTimeOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteCampaignCommunicationTime") + 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 `DeleteConnectInstanceConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Deletes a connect instance config from the specified AWS account. + /// + /// - Parameter DeleteConnectInstanceConfigInput : The request for DeleteConnectInstanceConfig API. + /// + /// - Returns: `DeleteConnectInstanceConfigOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidStateException` : The request could not be processed because of conflict in the current state. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteConnectInstanceConfig(input: DeleteConnectInstanceConfigInput) async throws -> DeleteConnectInstanceConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteConnectInstanceConfig") + .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: "connect-campaigns") + .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(DeleteConnectInstanceConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(DeleteConnectInstanceConfigInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteConnectInstanceConfigOutput.httpOutput(from:), DeleteConnectInstanceConfigOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteConnectInstanceConfig") + 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 `DeleteConnectInstanceIntegration` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Delete the integration for the specified Amazon Connect instance. + /// + /// - Parameter DeleteConnectInstanceIntegrationInput : The request for DeleteConnectInstanceIntegration API. + /// + /// - Returns: `DeleteConnectInstanceIntegrationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteConnectInstanceIntegration(input: DeleteConnectInstanceIntegrationInput) async throws -> DeleteConnectInstanceIntegrationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteConnectInstanceIntegration") + .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: "connect-campaigns") + .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(DeleteConnectInstanceIntegrationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteConnectInstanceIntegrationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteConnectInstanceIntegrationOutput.httpOutput(from:), DeleteConnectInstanceIntegrationOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteConnectInstanceIntegration") + 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 `DeleteInstanceOnboardingJob` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance. + /// + /// - Parameter DeleteInstanceOnboardingJobInput : The request for DeleteInstanceOnboardingJob API. + /// + /// - Returns: `DeleteInstanceOnboardingJobOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidStateException` : The request could not be processed because of conflict in the current state. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteInstanceOnboardingJob(input: DeleteInstanceOnboardingJobInput) async throws -> DeleteInstanceOnboardingJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteInstanceOnboardingJob") + .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: "connect-campaigns") + .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(DeleteInstanceOnboardingJobInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteInstanceOnboardingJobOutput.httpOutput(from:), DeleteInstanceOnboardingJobOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteInstanceOnboardingJob") + 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 `DescribeCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Describes the specific campaign. + /// + /// - Parameter DescribeCampaignInput : The request for DescribeCampaign API. + /// + /// - Returns: `DescribeCampaignOutput` : The response for DescribeCampaign API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func describeCampaign(input: DescribeCampaignInput) async throws -> DescribeCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "describeCampaign") + .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: "connect-campaigns") + .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(DescribeCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeCampaignOutput.httpOutput(from:), DescribeCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeCampaign") + 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 `GetCampaignState` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get state of a campaign for the specified Amazon Connect account. + /// + /// - Parameter GetCampaignStateInput : The request for GetCampaignState API. + /// + /// - Returns: `GetCampaignStateOutput` : The response for GetCampaignState API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getCampaignState(input: GetCampaignStateInput) async throws -> GetCampaignStateOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getCampaignState") + .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: "connect-campaigns") + .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(GetCampaignStateInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetCampaignStateOutput.httpOutput(from:), GetCampaignStateOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetCampaignState") + 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 `GetCampaignStateBatch` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get state of campaigns for the specified Amazon Connect account. + /// + /// - Parameter GetCampaignStateBatchInput : The request for GetCampaignStateBatch API. + /// + /// - Returns: `GetCampaignStateBatchOutput` : The response for GetCampaignStateBatch API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getCampaignStateBatch(input: GetCampaignStateBatchInput) async throws -> GetCampaignStateBatchOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "getCampaignStateBatch") + .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: "connect-campaigns") + .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(GetCampaignStateBatchInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: GetCampaignStateBatchInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetCampaignStateBatchOutput.httpOutput(from:), GetCampaignStateBatchOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetCampaignStateBatch") + 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 `GetConnectInstanceConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get the specific Connect instance config. + /// + /// - Parameter GetConnectInstanceConfigInput : The request for GetConnectInstanceConfig API. + /// + /// - Returns: `GetConnectInstanceConfigOutput` : The response for GetConnectInstanceConfig API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getConnectInstanceConfig(input: GetConnectInstanceConfigInput) async throws -> GetConnectInstanceConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getConnectInstanceConfig") + .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: "connect-campaigns") + .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(GetConnectInstanceConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetConnectInstanceConfigOutput.httpOutput(from:), GetConnectInstanceConfigOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetConnectInstanceConfig") + 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 `GetInstanceOnboardingJobStatus` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Get the specific instance onboarding job status. + /// + /// - Parameter GetInstanceOnboardingJobStatusInput : The request for GetInstanceOnboardingJobStatus API. + /// + /// - Returns: `GetInstanceOnboardingJobStatusOutput` : The response for GetInstanceOnboardingJobStatus API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getInstanceOnboardingJobStatus(input: GetInstanceOnboardingJobStatusInput) async throws -> GetInstanceOnboardingJobStatusOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getInstanceOnboardingJobStatus") + .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: "connect-campaigns") + .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(GetInstanceOnboardingJobStatusInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetInstanceOnboardingJobStatusOutput.httpOutput(from:), GetInstanceOnboardingJobStatusOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetInstanceOnboardingJobStatus") + 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 `ListCampaigns` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Provides summary information about the campaigns under the specified Amazon Connect account. + /// + /// - Parameter ListCampaignsInput : The request for ListCampaigns API. + /// + /// - Returns: `ListCampaignsOutput` : The response for ListCampaigns API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listCampaigns(input: ListCampaignsInput) async throws -> ListCampaignsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listCampaigns") + .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: "connect-campaigns") + .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(ListCampaignsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListCampaignsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListCampaignsOutput.httpOutput(from:), ListCampaignsOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListCampaigns") + 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 `ListConnectInstanceIntegrations` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Provides summary information about the integration under the specified Connect instance. + /// + /// - Parameter ListConnectInstanceIntegrationsInput : The request for ListConnectInstanceIntegrations API. + /// + /// - Returns: `ListConnectInstanceIntegrationsOutput` : The response for ListConnectInstanceIntegrations API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listConnectInstanceIntegrations(input: ListConnectInstanceIntegrationsInput) async throws -> ListConnectInstanceIntegrationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listConnectInstanceIntegrations") + .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: "connect-campaigns") + .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(ListConnectInstanceIntegrationsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListConnectInstanceIntegrationsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListConnectInstanceIntegrationsOutput.httpOutput(from:), ListConnectInstanceIntegrationsOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListConnectInstanceIntegrations") + 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 `ListTagsForResource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// List tags for a resource. + /// + /// - Parameter ListTagsForResourceInput : The request for ListTagsForResource API. + /// + /// - Returns: `ListTagsForResourceOutput` : The request for ListTagsForResource API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listTagsForResource") + .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: "connect-campaigns") + .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(ListTagsForResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListTagsForResourceOutput.httpOutput(from:), ListTagsForResourceOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListTagsForResource") + 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 `PauseCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Pauses a campaign for the specified Amazon Connect account. + /// + /// - Parameter PauseCampaignInput : The request for PauseCampaign API. + /// + /// - Returns: `PauseCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func pauseCampaign(input: PauseCampaignInput) async throws -> PauseCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "pauseCampaign") + .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: "connect-campaigns") + .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(PauseCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PauseCampaignOutput.httpOutput(from:), PauseCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PauseCampaign") + 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 `PutConnectInstanceIntegration` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Put or update the integration for the specified Amazon Connect instance. + /// + /// - Parameter PutConnectInstanceIntegrationInput : The request for PutConnectInstanceIntegration API. + /// + /// - Returns: `PutConnectInstanceIntegrationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func putConnectInstanceIntegration(input: PutConnectInstanceIntegrationInput) async throws -> PutConnectInstanceIntegrationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "putConnectInstanceIntegration") + .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: "connect-campaigns") + .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(PutConnectInstanceIntegrationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutConnectInstanceIntegrationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutConnectInstanceIntegrationOutput.httpOutput(from:), PutConnectInstanceIntegrationOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutConnectInstanceIntegration") + 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 `PutOutboundRequestBatch` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent. + /// + /// - Parameter PutOutboundRequestBatchInput : The request for PutOutboundRequestBatch API. + /// + /// - Returns: `PutOutboundRequestBatchOutput` : The response for PutOutboundRequestBatch API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func putOutboundRequestBatch(input: PutOutboundRequestBatchInput) async throws -> PutOutboundRequestBatchOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "putOutboundRequestBatch") + .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: "connect-campaigns") + .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(PutOutboundRequestBatchInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutOutboundRequestBatchInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutOutboundRequestBatchOutput.httpOutput(from:), PutOutboundRequestBatchOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutOutboundRequestBatch") + 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 `ResumeCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Stops a campaign for the specified Amazon Connect account. + /// + /// - Parameter ResumeCampaignInput : The request for ResumeCampaign API. + /// + /// - Returns: `ResumeCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func resumeCampaign(input: ResumeCampaignInput) async throws -> ResumeCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "resumeCampaign") + .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: "connect-campaigns") + .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(ResumeCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ResumeCampaignOutput.httpOutput(from:), ResumeCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ResumeCampaign") + 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 `StartCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Starts a campaign for the specified Amazon Connect account. + /// + /// - Parameter StartCampaignInput : The request for StartCampaign API. + /// + /// - Returns: `StartCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func startCampaign(input: StartCampaignInput) async throws -> StartCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "startCampaign") + .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: "connect-campaigns") + .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(StartCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(StartCampaignOutput.httpOutput(from:), StartCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StartCampaign") + 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 `StartInstanceOnboardingJob` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Onboard the specific Amazon Connect instance to Connect Campaigns. + /// + /// - Parameter StartInstanceOnboardingJobInput : The request for StartInstanceOnboardingJob API. + /// + /// - Returns: `StartInstanceOnboardingJobOutput` : The response for StartInstanceOnboardingJob API. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func startInstanceOnboardingJob(input: StartInstanceOnboardingJobInput) async throws -> StartInstanceOnboardingJobOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "startInstanceOnboardingJob") + .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: "connect-campaigns") + .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(StartInstanceOnboardingJobInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: StartInstanceOnboardingJobInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(StartInstanceOnboardingJobOutput.httpOutput(from:), StartInstanceOnboardingJobOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StartInstanceOnboardingJob") + 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 `StopCampaign` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Stops a campaign for the specified Amazon Connect account. + /// + /// - Parameter StopCampaignInput : The request for StopCampaign API. + /// + /// - Returns: `StopCampaignOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func stopCampaign(input: StopCampaignInput) async throws -> StopCampaignOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "stopCampaign") + .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: "connect-campaigns") + .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(StopCampaignInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(StopCampaignOutput.httpOutput(from:), StopCampaignOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StopCampaign") + 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 `TagResource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Tag a resource. + /// + /// - Parameter TagResourceInput : The request for TagResource API. + /// + /// - Returns: `TagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func tagResource(input: TagResourceInput) async throws -> TagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "tagResource") + .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: "connect-campaigns") + .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(TagResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TagResourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(TagResourceOutput.httpOutput(from:), TagResourceOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "TagResource") + 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 `UntagResource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Untag a resource. + /// + /// - Parameter UntagResourceInput : The request for UntagResource API. + /// + /// - Returns: `UntagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func untagResource(input: UntagResourceInput) async throws -> UntagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "untagResource") + .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: "connect-campaigns") + .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(UntagResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(UntagResourceInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UntagResourceOutput.httpOutput(from:), UntagResourceOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UntagResource") + 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 `UpdateCampaignChannelSubtypeConfig` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the channel subtype config of a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignChannelSubtypeConfigInput : The request for UpdateCampaignChannelSubtypeConfig API. + /// + /// - Returns: `UpdateCampaignChannelSubtypeConfigOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignChannelSubtypeConfig(input: UpdateCampaignChannelSubtypeConfigInput) async throws -> UpdateCampaignChannelSubtypeConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignChannelSubtypeConfig") + .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: "connect-campaigns") + .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(UpdateCampaignChannelSubtypeConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignChannelSubtypeConfigInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignChannelSubtypeConfigOutput.httpOutput(from:), UpdateCampaignChannelSubtypeConfigOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignChannelSubtypeConfig") + 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 `UpdateCampaignCommunicationLimits` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the communication limits config for a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignCommunicationLimitsInput : The request for UpdateCampaignCommunicationLimits API. + /// + /// - Returns: `UpdateCampaignCommunicationLimitsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignCommunicationLimits(input: UpdateCampaignCommunicationLimitsInput) async throws -> UpdateCampaignCommunicationLimitsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignCommunicationLimits") + .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: "connect-campaigns") + .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(UpdateCampaignCommunicationLimitsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignCommunicationLimitsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignCommunicationLimitsOutput.httpOutput(from:), UpdateCampaignCommunicationLimitsOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignCommunicationLimits") + 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 `UpdateCampaignCommunicationTime` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the communication time config for a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignCommunicationTimeInput : The request for UpdateCampaignCommunicationTime API. + /// + /// - Returns: `UpdateCampaignCommunicationTimeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignCommunicationTime(input: UpdateCampaignCommunicationTimeInput) async throws -> UpdateCampaignCommunicationTimeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignCommunicationTime") + .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: "connect-campaigns") + .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(UpdateCampaignCommunicationTimeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignCommunicationTimeInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignCommunicationTimeOutput.httpOutput(from:), UpdateCampaignCommunicationTimeOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignCommunicationTime") + 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 `UpdateCampaignFlowAssociation` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the campaign flow associated with a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignFlowAssociationInput : The request for UpdateCampaignFlowAssociation API. + /// + /// - Returns: `UpdateCampaignFlowAssociationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignFlowAssociation(input: UpdateCampaignFlowAssociationInput) async throws -> UpdateCampaignFlowAssociationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignFlowAssociation") + .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: "connect-campaigns") + .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(UpdateCampaignFlowAssociationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignFlowAssociationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignFlowAssociationOutput.httpOutput(from:), UpdateCampaignFlowAssociationOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignFlowAssociation") + 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 `UpdateCampaignName` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the name of a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignNameInput : The request for UpdateCampaignName API. + /// + /// - Returns: `UpdateCampaignNameOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignName(input: UpdateCampaignNameInput) async throws -> UpdateCampaignNameOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignName") + .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: "connect-campaigns") + .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(UpdateCampaignNameInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignNameInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignNameOutput.httpOutput(from:), UpdateCampaignNameOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignName") + 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 `UpdateCampaignSchedule` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the schedule for a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignScheduleInput : The request for UpdateCampaignSchedule API. + /// + /// - Returns: `UpdateCampaignScheduleOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignSchedule(input: UpdateCampaignScheduleInput) async throws -> UpdateCampaignScheduleOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignSchedule") + .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: "connect-campaigns") + .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(UpdateCampaignScheduleInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignScheduleInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignScheduleOutput.httpOutput(from:), UpdateCampaignScheduleOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignSchedule") + 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 `UpdateCampaignSource` operation on the `AmazonConnectCampaignServiceV2` service. + /// + /// Updates the campaign source with a campaign. This API is idempotent. + /// + /// - Parameter UpdateCampaignSourceInput : The request for UpdateCampaignSource API. + /// + /// - Returns: `UpdateCampaignSourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request could not be processed because of conflict in the current state of the resource. + /// - `InternalServerException` : Request processing failed because of an error or failure with the service. + /// - `InvalidCampaignStateException` : The request could not be processed because of conflict in the current state of the campaign. + /// - `ResourceNotFoundException` : The specified resource was not found. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateCampaignSource(input: UpdateCampaignSourceInput) async throws -> UpdateCampaignSourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateCampaignSource") + .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: "connect-campaigns") + .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(UpdateCampaignSourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateCampaignSourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateCampaignSourceOutput.httpOutput(from:), UpdateCampaignSourceOutputError.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: ConnectCampaignsV2Client.version, 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: "ConnectCampaignsV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateCampaignSource") + 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) + } + +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift new file mode 100644 index 00000000000..886eff1dcf3 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Endpoints.swift @@ -0,0 +1,73 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class ClientRuntime.EndpointsRequestContext +import let AWSClientRuntime.awsPartitionJSON +import protocol ClientRuntime.EndpointsRequestContextProviding +import struct ClientRuntime.DefaultEndpointResolver +import struct ClientRuntime.StaticEndpointResolver +import struct SmithyHTTPAPI.Endpoint + +public struct EndpointParams { + /// Override the endpoint used to send this request + public let endpoint: Swift.String? + /// The AWS region used to dispatch the request. + public let region: Swift.String? + /// When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. + public let useDualStack: Swift.Bool + /// When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. + public let useFIPS: Swift.Bool + + public init( + endpoint: Swift.String? = nil, + region: Swift.String? = nil, + useDualStack: Swift.Bool = false, + useFIPS: Swift.Bool = false + ) + { + self.endpoint = endpoint + self.region = region + self.useDualStack = useDualStack + self.useFIPS = useFIPS + } +} + +extension EndpointParams: ClientRuntime.EndpointsRequestContextProviding { + + public var context: ClientRuntime.EndpointsRequestContext { + get throws { + let context = try ClientRuntime.EndpointsRequestContext() + try context.add(name: "Endpoint", value: self.endpoint) + try context.add(name: "Region", value: self.region) + try context.add(name: "UseDualStack", value: self.useDualStack) + try context.add(name: "UseFIPS", value: self.useFIPS) + return context + } + } +} + +public protocol EndpointResolver { + func resolve(params: EndpointParams) throws -> SmithyHTTPAPI.Endpoint +} + +typealias DefaultEndpointResolver = ClientRuntime.DefaultEndpointResolver + +extension DefaultEndpointResolver { + private static let ruleSet = "{\"version\":\"1.0\",\"parameters\":{\"Region\":{\"builtIn\":\"AWS::Region\",\"required\":false,\"documentation\":\"The AWS region used to dispatch the request.\",\"type\":\"String\"},\"UseDualStack\":{\"builtIn\":\"AWS::UseDualStack\",\"required\":true,\"default\":false,\"documentation\":\"When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.\",\"type\":\"Boolean\"},\"UseFIPS\":{\"builtIn\":\"AWS::UseFIPS\",\"required\":true,\"default\":false,\"documentation\":\"When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.\",\"type\":\"Boolean\"},\"Endpoint\":{\"builtIn\":\"SDK::Endpoint\",\"required\":false,\"documentation\":\"Override the endpoint used to send this request\",\"type\":\"String\"}},\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Endpoint\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"error\":\"Invalid Configuration: FIPS and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"error\":\"Invalid Configuration: Dualstack and custom endpoint are not supported\",\"type\":\"error\"},{\"conditions\":[],\"endpoint\":{\"url\":{\"ref\":\"Endpoint\"},\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"rules\":[{\"conditions\":[{\"fn\":\"isSet\",\"argv\":[{\"ref\":\"Region\"}]}],\"rules\":[{\"conditions\":[{\"fn\":\"aws.partition\",\"argv\":[{\"ref\":\"Region\"}],\"assign\":\"PartitionResult\"}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]},{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsFIPS\"]}]},{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsDualStack\"]}]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"FIPS and DualStack are enabled, but this partition does not support one or both\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseFIPS\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsFIPS\"]},true]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"FIPS is enabled but this partition does not support FIPS\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[{\"ref\":\"UseDualStack\"},true]}],\"rules\":[{\"conditions\":[{\"fn\":\"booleanEquals\",\"argv\":[true,{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"supportsDualStack\"]}]}],\"rules\":[{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"DualStack is enabled but this partition does not support DualStack\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"rules\":[{\"conditions\":[],\"endpoint\":{\"url\":\"https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid Configuration: Missing Region\",\"type\":\"error\"}],\"type\":\"tree\"}]}" + + init() throws { + try self.init(partitions: AWSClientRuntime.awsPartitionJSON, ruleSet: Self.ruleSet) + } +} + +extension DefaultEndpointResolver: EndpointResolver {} + +typealias StaticEndpointResolver = ClientRuntime.StaticEndpointResolver + +extension StaticEndpointResolver: EndpointResolver {} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift new file mode 100644 index 00000000000..e5174d197d4 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Models.swift @@ -0,0 +1,5146 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +@_spi(SmithyReadWrite) import ClientRuntime +import Foundation +import class SmithyHTTPAPI.HTTPResponse +@_spi(SmithyReadWrite) import class SmithyJSON.Reader +@_spi(SmithyReadWrite) import class SmithyJSON.Writer +import enum ClientRuntime.ErrorFault +import enum Smithy.ClientError +import enum SmithyReadWrite.ReaderError +@_spi(SmithyReadWrite) import enum SmithyReadWrite.ReadingClosures +@_spi(SmithyReadWrite) import enum SmithyReadWrite.WritingClosures +@_spi(SmithyTimestamps) import enum SmithyTimestamps.TimestampFormat +@_spi(SmithyReadWrite) import func SmithyReadWrite.listReadingClosure +@_spi(SmithyReadWrite) import func SmithyReadWrite.listWritingClosure +import protocol AWSClientRuntime.AWSServiceError +import protocol ClientRuntime.HTTPError +import protocol ClientRuntime.ModeledError +@_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyReader +@_spi(SmithyReadWrite) import protocol SmithyReadWrite.SmithyWriter +@_spi(SmithyReadWrite) import struct AWSClientRuntime.RestJSONError +@_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError +import struct Smithy.URIQueryItem +@_spi(SmithyReadWrite) import struct SmithyReadWrite.ReadingClosureBox +@_spi(SmithyReadWrite) import struct SmithyReadWrite.WritingClosureBox +@_spi(SmithyTimestamps) import struct SmithyTimestamps.TimestampFormatter + + +public struct DeleteCampaignChannelSubtypeConfigOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteCampaignCommunicationLimitsOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteCampaignCommunicationTimeOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteConnectInstanceConfigOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteConnectInstanceIntegrationOutput: Swift.Sendable { + + public init() { } +} + +public struct DeleteInstanceOnboardingJobOutput: Swift.Sendable { + + public init() { } +} + +public struct PauseCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct PutConnectInstanceIntegrationOutput: Swift.Sendable { + + public init() { } +} + +public struct ResumeCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct StartCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct StopCampaignOutput: Swift.Sendable { + + public init() { } +} + +public struct TagResourceOutput: Swift.Sendable { + + public init() { } +} + +public struct UntagResourceOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignChannelSubtypeConfigOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignCommunicationLimitsOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignCommunicationTimeOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignFlowAssociationOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignNameOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignScheduleOutput: Swift.Sendable { + + public init() { } +} + +public struct UpdateCampaignSourceOutput: Swift.Sendable { + + public init() { } +} + +/// You do not have sufficient access to perform this action. +public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "AccessDeniedException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Agentless config + public struct AgentlessConfig: Swift.Sendable { + + public init() { } + } +} + +/// The request could not be processed because of conflict in the current state of the resource. +public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ConflictException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// Request processing failed because of an error or failure with the service. +public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InternalServerException" } + public static var fault: ClientRuntime.ErrorFault { .server } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// The specified resource was not found. +public struct ResourceNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ResourceNotFoundException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// Request would cause a service quota to be exceeded. +public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ServiceQuotaExceededException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// The request was denied due to request throttling. +public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ThrottlingException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { true } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +/// The input fails to satisfy the constraints specified by an AWS service. +public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "ValidationException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Default Email Outbound config + public struct EmailOutboundConfig: Swift.Sendable { + /// Source/Destination Email address used for Email messages + /// This member is required. + public var connectSourceEmailAddress: Swift.String? + /// Display name for Email Address + public var sourceEmailAddressDisplayName: Swift.String? + /// Amazon Resource Names(ARN) + /// This member is required. + public var wisdomTemplateArn: Swift.String? + + public init( + connectSourceEmailAddress: Swift.String? = nil, + sourceEmailAddressDisplayName: Swift.String? = nil, + wisdomTemplateArn: Swift.String? = nil + ) + { + self.connectSourceEmailAddress = connectSourceEmailAddress + self.sourceEmailAddressDisplayName = sourceEmailAddressDisplayName + self.wisdomTemplateArn = wisdomTemplateArn + } + } +} + +extension ConnectCampaignsV2ClientTypes.EmailOutboundConfig: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "EmailOutboundConfig(wisdomTemplateArn: \(Swift.String(describing: wisdomTemplateArn)), connectSourceEmailAddress: \"CONTENT_REDACTED\", sourceEmailAddressDisplayName: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// Email Outbound Mode + public enum EmailOutboundMode: Swift.Sendable { + /// Agentless config + case agentless(ConnectCampaignsV2ClientTypes.AgentlessConfig) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Email Channel Subtype config + public struct EmailChannelSubtypeConfig: Swift.Sendable { + /// Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns + public var capacity: Swift.Double? + /// Default Email Outbound config + /// This member is required. + public var defaultOutboundConfig: ConnectCampaignsV2ClientTypes.EmailOutboundConfig? + /// Email Outbound Mode + /// This member is required. + public var outboundMode: ConnectCampaignsV2ClientTypes.EmailOutboundMode? + + public init( + capacity: Swift.Double? = nil, + defaultOutboundConfig: ConnectCampaignsV2ClientTypes.EmailOutboundConfig? = nil, + outboundMode: ConnectCampaignsV2ClientTypes.EmailOutboundMode? = nil + ) + { + self.capacity = capacity + self.defaultOutboundConfig = defaultOutboundConfig + self.outboundMode = outboundMode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Default SMS Outbound config + public struct SmsOutboundConfig: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var connectSourcePhoneNumberArn: Swift.String? + /// Amazon Resource Names(ARN) + /// This member is required. + public var wisdomTemplateArn: Swift.String? + + public init( + connectSourcePhoneNumberArn: Swift.String? = nil, + wisdomTemplateArn: Swift.String? = nil + ) + { + self.connectSourcePhoneNumberArn = connectSourcePhoneNumberArn + self.wisdomTemplateArn = wisdomTemplateArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// SMS Outbound Mode + public enum SmsOutboundMode: Swift.Sendable { + /// Agentless config + case agentless(ConnectCampaignsV2ClientTypes.AgentlessConfig) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// SMS Channel Subtype config + public struct SmsChannelSubtypeConfig: Swift.Sendable { + /// Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns + public var capacity: Swift.Double? + /// Default SMS Outbound config + /// This member is required. + public var defaultOutboundConfig: ConnectCampaignsV2ClientTypes.SmsOutboundConfig? + /// SMS Outbound Mode + /// This member is required. + public var outboundMode: ConnectCampaignsV2ClientTypes.SmsOutboundMode? + + public init( + capacity: Swift.Double? = nil, + defaultOutboundConfig: ConnectCampaignsV2ClientTypes.SmsOutboundConfig? = nil, + outboundMode: ConnectCampaignsV2ClientTypes.SmsOutboundMode? = nil + ) + { + self.capacity = capacity + self.defaultOutboundConfig = defaultOutboundConfig + self.outboundMode = outboundMode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Answering Machine Detection config + public struct AnswerMachineDetectionConfig: Swift.Sendable { + /// Enable or disable await answer machine prompt + public var awaitAnswerMachinePrompt: Swift.Bool? + /// Enable or disable answering machine detection + /// This member is required. + public var enableAnswerMachineDetection: Swift.Bool? + + public init( + awaitAnswerMachinePrompt: Swift.Bool? = nil, + enableAnswerMachineDetection: Swift.Bool? = nil + ) + { + self.awaitAnswerMachinePrompt = awaitAnswerMachinePrompt + self.enableAnswerMachineDetection = enableAnswerMachineDetection + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Default Telephony Outbound config + public struct TelephonyOutboundConfig: Swift.Sendable { + /// Answering Machine Detection config + public var answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? + /// The identifier of the contact flow for the outbound call. + /// This member is required. + public var connectContactFlowId: Swift.String? + /// The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue. + public var connectSourcePhoneNumber: Swift.String? + + public init( + answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? = nil, + connectContactFlowId: Swift.String? = nil, + connectSourcePhoneNumber: Swift.String? = nil + ) + { + self.answerMachineDetectionConfig = answerMachineDetectionConfig + self.connectContactFlowId = connectContactFlowId + self.connectSourcePhoneNumber = connectSourcePhoneNumber + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Predictive config + public struct PredictiveConfig: Swift.Sendable { + /// The bandwidth allocation of a queue resource. + /// This member is required. + public var bandwidthAllocation: Swift.Double? + + public init( + bandwidthAllocation: Swift.Double? = nil + ) + { + self.bandwidthAllocation = bandwidthAllocation + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Progressive config + public struct ProgressiveConfig: Swift.Sendable { + /// The bandwidth allocation of a queue resource. + /// This member is required. + public var bandwidthAllocation: Swift.Double? + + public init( + bandwidthAllocation: Swift.Double? = nil + ) + { + self.bandwidthAllocation = bandwidthAllocation + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Telephony Outbound Mode + public enum TelephonyOutboundMode: Swift.Sendable { + /// Progressive config + case progressive(ConnectCampaignsV2ClientTypes.ProgressiveConfig) + /// Predictive config + case predictive(ConnectCampaignsV2ClientTypes.PredictiveConfig) + /// Agentless config + case agentless(ConnectCampaignsV2ClientTypes.AgentlessConfig) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Telephony Channel Subtype config + public struct TelephonyChannelSubtypeConfig: Swift.Sendable { + /// Allocates outbound capacity for the specific channel subtype of this campaign between multiple active campaigns + public var capacity: Swift.Double? + /// The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number. + public var connectQueueId: Swift.String? + /// Default Telephony Outbound config + /// This member is required. + public var defaultOutboundConfig: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig? + /// Telephony Outbound Mode + /// This member is required. + public var outboundMode: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode? + + public init( + capacity: Swift.Double? = nil, + connectQueueId: Swift.String? = nil, + defaultOutboundConfig: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig? = nil, + outboundMode: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode? = nil + ) + { + self.capacity = capacity + self.connectQueueId = connectQueueId + self.defaultOutboundConfig = defaultOutboundConfig + self.outboundMode = outboundMode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Campaign Channel Subtype config + public struct ChannelSubtypeConfig: Swift.Sendable { + /// Email Channel Subtype config + public var email: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig? + /// SMS Channel Subtype config + public var sms: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig? + /// Telephony Channel Subtype config + public var telephony: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig? + + public init( + email: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig? = nil, + sms: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig? = nil, + telephony: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig? = nil + ) + { + self.email = email + self.sms = sms + self.telephony = telephony + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The communication limit time unit. + public enum CommunicationLimitTimeUnit: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case day + case sdkUnknown(Swift.String) + + public static var allCases: [CommunicationLimitTimeUnit] { + return [ + .day + ] + } + + 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 .day: return "DAY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Communication Limit + public struct CommunicationLimit: Swift.Sendable { + /// The number of days to consider with regards to this limit. + /// This member is required. + public var frequency: Swift.Int? + /// Maximum number of contacts allowed for a given target within the given frequency. + /// This member is required. + public var maxCountPerRecipient: Swift.Int? + /// The communication limit time unit. + /// This member is required. + public var unit: ConnectCampaignsV2ClientTypes.CommunicationLimitTimeUnit? + + public init( + frequency: Swift.Int? = nil, + maxCountPerRecipient: Swift.Int? = nil, + unit: ConnectCampaignsV2ClientTypes.CommunicationLimitTimeUnit? = nil + ) + { + self.frequency = frequency + self.maxCountPerRecipient = maxCountPerRecipient + self.unit = unit + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Communication limits + public enum CommunicationLimits: Swift.Sendable { + /// List of communication limit + case communicationlimitslist([ConnectCampaignsV2ClientTypes.CommunicationLimit]) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Communication limits config + public struct CommunicationLimitsConfig: Swift.Sendable { + /// Communication limits + public var allChannelSubtypes: ConnectCampaignsV2ClientTypes.CommunicationLimits? + + public init( + allChannelSubtypes: ConnectCampaignsV2ClientTypes.CommunicationLimits? = nil + ) + { + self.allChannelSubtypes = allChannelSubtypes + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Day of week enum + public enum DayOfWeek: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case friday + case monday + case saturday + case sunday + case thursday + case tuesday + case wednesday + case sdkUnknown(Swift.String) + + public static var allCases: [DayOfWeek] { + return [ + .friday, + .monday, + .saturday, + .sunday, + .thursday, + .tuesday, + .wednesday + ] + } + + 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 .friday: return "FRIDAY" + case .monday: return "MONDAY" + case .saturday: return "SATURDAY" + case .sunday: return "SUNDAY" + case .thursday: return "THURSDAY" + case .tuesday: return "TUESDAY" + case .wednesday: return "WEDNESDAY" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Time range in 24 hour format + public struct TimeRange: Swift.Sendable { + /// Time in ISO 8601 format, e.g. T23:11 + /// This member is required. + public var endTime: Swift.String? + /// Time in ISO 8601 format, e.g. T23:11 + /// This member is required. + public var startTime: Swift.String? + + public init( + endTime: Swift.String? = nil, + startTime: Swift.String? = nil + ) + { + self.endTime = endTime + self.startTime = startTime + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Open Hours config + public enum OpenHours: Swift.Sendable { + /// Daily Hours map + case dailyhours([Swift.String: [ConnectCampaignsV2ClientTypes.TimeRange]]) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Restricted period + public struct RestrictedPeriod: Swift.Sendable { + /// Date in ISO 8601 format, e.g. 2024-01-01 + /// This member is required. + public var endDate: Swift.String? + /// The name of a restricted period. + public var name: Swift.String? + /// Date in ISO 8601 format, e.g. 2024-01-01 + /// This member is required. + public var startDate: Swift.String? + + public init( + endDate: Swift.String? = nil, + name: Swift.String? = nil, + startDate: Swift.String? = nil + ) + { + self.endDate = endDate + self.name = name + self.startDate = startDate + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Restricted period config + public enum RestrictedPeriods: Swift.Sendable { + /// List of restricted period + case restrictedperiodlist([ConnectCampaignsV2ClientTypes.RestrictedPeriod]) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Time window config + public struct TimeWindow: Swift.Sendable { + /// Open Hours config + /// This member is required. + public var openHours: ConnectCampaignsV2ClientTypes.OpenHours? + /// Restricted period config + public var restrictedPeriods: ConnectCampaignsV2ClientTypes.RestrictedPeriods? + + public init( + openHours: ConnectCampaignsV2ClientTypes.OpenHours? = nil, + restrictedPeriods: ConnectCampaignsV2ClientTypes.RestrictedPeriods? = nil + ) + { + self.openHours = openHours + self.restrictedPeriods = restrictedPeriods + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Local TimeZone Detection method. + public enum LocalTimeZoneDetectionType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case areaCode + case zipCode + case sdkUnknown(Swift.String) + + public static var allCases: [LocalTimeZoneDetectionType] { + return [ + .areaCode, + .zipCode + ] + } + + 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 .areaCode: return "AREA_CODE" + case .zipCode: return "ZIP_CODE" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Local time zone config + public struct LocalTimeZoneConfig: Swift.Sendable { + /// Time Zone Id in the IANA format + public var defaultTimeZone: Swift.String? + /// Local TimeZone Detection method list + public var localTimeZoneDetection: [ConnectCampaignsV2ClientTypes.LocalTimeZoneDetectionType]? + + public init( + defaultTimeZone: Swift.String? = nil, + localTimeZoneDetection: [ConnectCampaignsV2ClientTypes.LocalTimeZoneDetectionType]? = nil + ) + { + self.defaultTimeZone = defaultTimeZone + self.localTimeZoneDetection = localTimeZoneDetection + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Campaign communication time config + public struct CommunicationTimeConfig: Swift.Sendable { + /// Time window config + public var email: ConnectCampaignsV2ClientTypes.TimeWindow? + /// Local time zone config + /// This member is required. + public var localTimeZoneConfig: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig? + /// Time window config + public var sms: ConnectCampaignsV2ClientTypes.TimeWindow? + /// Time window config + public var telephony: ConnectCampaignsV2ClientTypes.TimeWindow? + + public init( + email: ConnectCampaignsV2ClientTypes.TimeWindow? = nil, + localTimeZoneConfig: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig? = nil, + sms: ConnectCampaignsV2ClientTypes.TimeWindow? = nil, + telephony: ConnectCampaignsV2ClientTypes.TimeWindow? = nil + ) + { + self.email = email + self.localTimeZoneConfig = localTimeZoneConfig + self.sms = sms + self.telephony = telephony + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Campaign schedule + public struct Schedule: Swift.Sendable { + /// Timestamp with no UTC offset or timezone + /// This member is required. + public var endTime: Foundation.Date? + /// Time duration in ISO 8601 format + public var refreshFrequency: Swift.String? + /// Timestamp with no UTC offset or timezone + /// This member is required. + public var startTime: Foundation.Date? + + public init( + endTime: Foundation.Date? = nil, + refreshFrequency: Swift.String? = nil, + startTime: Foundation.Date? = nil + ) + { + self.endTime = endTime + self.refreshFrequency = refreshFrequency + self.startTime = startTime + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Source of the campaign + public enum Source: Swift.Sendable { + /// Amazon Resource Names(ARN) + case customerprofilessegmentarn(Swift.String) + case sdkUnknown(Swift.String) + } +} + +/// The request for CreateCampaign API. +public struct CreateCampaignInput: Swift.Sendable { + /// Campaign Channel Subtype config + /// This member is required. + public var channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? + /// Communication limits config + public var communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? + /// Campaign communication time config + public var communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? + /// Amazon Resource Names(ARN) + public var connectCampaignFlowArn: Swift.String? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + /// Campaign schedule + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + /// Source of the campaign + public var source: ConnectCampaignsV2ClientTypes.Source? + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? = nil, + communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? = nil, + communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? = nil, + connectCampaignFlowArn: Swift.String? = nil, + connectInstanceId: Swift.String? = nil, + name: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil, + source: ConnectCampaignsV2ClientTypes.Source? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.channelSubtypeConfig = channelSubtypeConfig + self.communicationLimitsOverride = communicationLimitsOverride + self.communicationTimeConfig = communicationTimeConfig + self.connectCampaignFlowArn = connectCampaignFlowArn + self.connectInstanceId = connectInstanceId + self.name = name + self.schedule = schedule + self.source = source + self.tags = tags + } +} + +/// The response for Create Campaign API +public struct CreateCampaignOutput: Swift.Sendable { + /// The resource name of an Amazon Connect campaign. + public var arn: Swift.String? + /// Identifier representing a Campaign + public var id: Swift.String? + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + id: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.id = id + self.tags = tags + } +} + +/// The request for DeleteCampaign API. +public struct DeleteCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The type of campaign channel subtype. + public enum ChannelSubtype: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case email + case sms + case telephony + case sdkUnknown(Swift.String) + + public static var allCases: [ChannelSubtype] { + return [ + .email, + .sms, + .telephony + ] + } + + 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 .email: return "EMAIL" + case .sms: return "SMS" + case .telephony: return "TELEPHONY" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteCampaignChannelSubtypeConfig API. +public struct DeleteCampaignChannelSubtypeConfigInput: Swift.Sendable { + /// The type of campaign channel subtype. + /// This member is required. + public var channelSubtype: ConnectCampaignsV2ClientTypes.ChannelSubtype? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + channelSubtype: ConnectCampaignsV2ClientTypes.ChannelSubtype? = nil, + id: Swift.String? = nil + ) + { + self.channelSubtype = channelSubtype + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// State of a campaign + public enum CampaignState: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// Campaign is in completed state + case completed + /// Campaign is in failed state + case failed + /// Campaign is in initialized state + case initialized + /// Campaign is in paused state + case paused + /// Campaign is in running state + case running + /// Campaign is in stopped state + case stopped + case sdkUnknown(Swift.String) + + public static var allCases: [CampaignState] { + return [ + .completed, + .failed, + .initialized, + .paused, + .running, + .stopped + ] + } + + 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 .completed: return "Completed" + case .failed: return "Failed" + case .initialized: return "Initialized" + case .paused: return "Paused" + case .running: return "Running" + case .stopped: return "Stopped" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request could not be processed because of conflict in the current state of the campaign. +public struct InvalidCampaignStateException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// State of a campaign + /// This member is required. + public internal(set) var state: ConnectCampaignsV2ClientTypes.CampaignState? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InvalidCampaignStateException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + state: ConnectCampaignsV2ClientTypes.CampaignState? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.state = state + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The type of campaign communication limits config. + public enum CommunicationLimitsConfigType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case allChannelSubtypes + case sdkUnknown(Swift.String) + + public static var allCases: [CommunicationLimitsConfigType] { + return [ + .allChannelSubtypes + ] + } + + 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 .allChannelSubtypes: return "ALL_CHANNEL_SUBTYPES" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteCampaignCommunicationLimits API. +public struct DeleteCampaignCommunicationLimitsInput: Swift.Sendable { + /// The type of campaign communication limits config. + /// This member is required. + public var config: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfigType? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + config: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfigType? = nil, + id: Swift.String? = nil + ) + { + self.config = config + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// The type of campaign communication time config + public enum CommunicationTimeConfigType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case email + case sms + case telephony + case sdkUnknown(Swift.String) + + public static var allCases: [CommunicationTimeConfigType] { + return [ + .email, + .sms, + .telephony + ] + } + + 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 .email: return "EMAIL" + case .sms: return "SMS" + case .telephony: return "TELEPHONY" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteCampaignCommunicationTime API. +public struct DeleteCampaignCommunicationTimeInput: Swift.Sendable { + /// The type of campaign communication time config + /// This member is required. + public var config: ConnectCampaignsV2ClientTypes.CommunicationTimeConfigType? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + config: ConnectCampaignsV2ClientTypes.CommunicationTimeConfigType? = nil, + id: Swift.String? = nil + ) + { + self.config = config + self.id = id + } +} + +/// The request could not be processed because of conflict in the current state. +public struct InvalidStateException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + /// This member is required. + public internal(set) var message: Swift.String? = nil + /// A header that defines the error encountered while processing the request. + public internal(set) var xAmzErrorType: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InvalidStateException" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil, + xAmzErrorType: Swift.String? = nil + ) + { + self.properties.message = message + self.properties.xAmzErrorType = xAmzErrorType + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of the policies to enact on existing campaigns during instance config deletion + public enum CampaignDeletionPolicy: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case deleteAll + case retainAll + case sdkUnknown(Swift.String) + + public static var allCases: [CampaignDeletionPolicy] { + return [ + .deleteAll, + .retainAll + ] + } + + 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 .deleteAll: return "DELETE_ALL" + case .retainAll: return "RETAIN_ALL" + case let .sdkUnknown(s): return s + } + } + } +} + +/// The request for DeleteConnectInstanceConfig API. +public struct DeleteConnectInstanceConfigInput: Swift.Sendable { + /// Enumeration of the policies to enact on existing campaigns during instance config deletion + public var campaignDeletionPolicy: ConnectCampaignsV2ClientTypes.CampaignDeletionPolicy? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + campaignDeletionPolicy: ConnectCampaignsV2ClientTypes.CampaignDeletionPolicy? = nil, + connectInstanceId: Swift.String? = nil + ) + { + self.campaignDeletionPolicy = campaignDeletionPolicy + self.connectInstanceId = connectInstanceId + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Customer Profiles integration identifier + public struct CustomerProfilesIntegrationIdentifier: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var domainArn: Swift.String? + + public init( + domainArn: Swift.String? = nil + ) + { + self.domainArn = domainArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Q Connect integration identifier + public struct QConnectIntegrationIdentifier: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var knowledgeBaseArn: Swift.String? + + public init( + knowledgeBaseArn: Swift.String? = nil + ) + { + self.knowledgeBaseArn = knowledgeBaseArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Integration identifier for Connect instance + public enum IntegrationIdentifier: Swift.Sendable { + /// Customer Profiles integration identifier + case customerprofiles(ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier) + /// Q Connect integration identifier + case qconnect(ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier) + case sdkUnknown(Swift.String) + } +} + +/// The request for DeleteConnectInstanceIntegration API. +public struct DeleteConnectInstanceIntegrationInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Integration identifier for Connect instance + /// This member is required. + public var integrationIdentifier: ConnectCampaignsV2ClientTypes.IntegrationIdentifier? + + public init( + connectInstanceId: Swift.String? = nil, + integrationIdentifier: ConnectCampaignsV2ClientTypes.IntegrationIdentifier? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.integrationIdentifier = integrationIdentifier + } +} + +/// The request for DeleteInstanceOnboardingJob API. +public struct DeleteInstanceOnboardingJobInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + } +} + +/// The request for DescribeCampaign API. +public struct DescribeCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// An Amazon Connect campaign. + public struct Campaign: Swift.Sendable { + /// The resource name of an Amazon Connect campaign. + /// This member is required. + public var arn: Swift.String? + /// Campaign Channel Subtype config + /// This member is required. + public var channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? + /// Communication limits config + public var communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? + /// Campaign communication time config + public var communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? + /// Amazon Resource Names(ARN) + public var connectCampaignFlowArn: Swift.String? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + /// Campaign schedule + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + /// Source of the campaign + public var source: ConnectCampaignsV2ClientTypes.Source? + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? = nil, + communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? = nil, + communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? = nil, + connectCampaignFlowArn: Swift.String? = nil, + connectInstanceId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil, + source: ConnectCampaignsV2ClientTypes.Source? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.channelSubtypeConfig = channelSubtypeConfig + self.communicationLimitsOverride = communicationLimitsOverride + self.communicationTimeConfig = communicationTimeConfig + self.connectCampaignFlowArn = connectCampaignFlowArn + self.connectInstanceId = connectInstanceId + self.id = id + self.name = name + self.schedule = schedule + self.source = source + self.tags = tags + } + } +} + +/// The response for DescribeCampaign API. +public struct DescribeCampaignOutput: Swift.Sendable { + /// An Amazon Connect campaign. + public var campaign: ConnectCampaignsV2ClientTypes.Campaign? + + public init( + campaign: ConnectCampaignsV2ClientTypes.Campaign? = nil + ) + { + self.campaign = campaign + } +} + +/// The request for GetCampaignState API. +public struct GetCampaignStateInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The response for GetCampaignState API. +public struct GetCampaignStateOutput: Swift.Sendable { + /// State of a campaign + public var state: ConnectCampaignsV2ClientTypes.CampaignState? + + public init( + state: ConnectCampaignsV2ClientTypes.CampaignState? = nil + ) + { + self.state = state + } +} + +/// The request for GetCampaignStateBatch API. +public struct GetCampaignStateBatchInput: Swift.Sendable { + /// List of CampaignId + /// This member is required. + public var campaignIds: [Swift.String]? + + public init( + campaignIds: [Swift.String]? = nil + ) + { + self.campaignIds = campaignIds + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A predefined code indicating the error that caused the failure in getting state of campaigns + public enum GetCampaignStateBatchFailureCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// The specified resource was not found + case resourceNotFound + /// Unexpected error during processing of request + case unknownError + case sdkUnknown(Swift.String) + + public static var allCases: [GetCampaignStateBatchFailureCode] { + return [ + .resourceNotFound, + .unknownError + ] + } + + 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 .resourceNotFound: return "ResourceNotFound" + case .unknownError: return "UnknownError" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Failed response of campaign state + public struct FailedCampaignStateResponse: Swift.Sendable { + /// Identifier representing a Campaign + public var campaignId: Swift.String? + /// A predefined code indicating the error that caused the failure in getting state of campaigns + public var failureCode: ConnectCampaignsV2ClientTypes.GetCampaignStateBatchFailureCode? + + public init( + campaignId: Swift.String? = nil, + failureCode: ConnectCampaignsV2ClientTypes.GetCampaignStateBatchFailureCode? = nil + ) + { + self.campaignId = campaignId + self.failureCode = failureCode + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Successful response of campaign state + public struct SuccessfulCampaignStateResponse: Swift.Sendable { + /// Identifier representing a Campaign + public var campaignId: Swift.String? + /// State of a campaign + public var state: ConnectCampaignsV2ClientTypes.CampaignState? + + public init( + campaignId: Swift.String? = nil, + state: ConnectCampaignsV2ClientTypes.CampaignState? = nil + ) + { + self.campaignId = campaignId + self.state = state + } + } +} + +/// The response for GetCampaignStateBatch API. +public struct GetCampaignStateBatchOutput: Swift.Sendable { + /// List of failed requests of campaign state + public var failedRequests: [ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse]? + /// List of successful response of campaign state + public var successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse]? + + public init( + failedRequests: [ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse]? = nil, + successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse]? = nil + ) + { + self.failedRequests = failedRequests + self.successfulRequests = successfulRequests + } +} + +/// The request for GetConnectInstanceConfig API. +public struct GetConnectInstanceConfigInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Server-side encryption type. + public enum EncryptionType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case kms + case sdkUnknown(Swift.String) + + public static var allCases: [EncryptionType] { + return [ + .kms + ] + } + + 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 .kms: return "KMS" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported + public struct EncryptionConfig: Swift.Sendable { + /// Boolean to indicate if custom encryption has been enabled. + /// This member is required. + public var enabled: Swift.Bool + /// Server-side encryption type. + public var encryptionType: ConnectCampaignsV2ClientTypes.EncryptionType? + /// KMS key id/arn for encryption config. + public var keyArn: Swift.String? + + public init( + enabled: Swift.Bool = false, + encryptionType: ConnectCampaignsV2ClientTypes.EncryptionType? = nil, + keyArn: Swift.String? = nil + ) + { + self.enabled = enabled + self.encryptionType = encryptionType + self.keyArn = keyArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Instance config object + public struct InstanceConfig: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported + /// This member is required. + public var encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? + /// Service linked role arn + /// This member is required. + public var serviceLinkedRoleArn: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil, + encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? = nil, + serviceLinkedRoleArn: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.encryptionConfig = encryptionConfig + self.serviceLinkedRoleArn = serviceLinkedRoleArn + } + } +} + +/// The response for GetConnectInstanceConfig API. +public struct GetConnectInstanceConfigOutput: Swift.Sendable { + /// Instance config object + public var connectInstanceConfig: ConnectCampaignsV2ClientTypes.InstanceConfig? + + public init( + connectInstanceConfig: ConnectCampaignsV2ClientTypes.InstanceConfig? = nil + ) + { + self.connectInstanceConfig = connectInstanceConfig + } +} + +/// The request for GetInstanceOnboardingJobStatus API. +public struct GetInstanceOnboardingJobStatusInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of the possible failure codes for instance onboarding job + public enum InstanceOnboardingJobFailureCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case eventBridgeAccessDenied + case eventBridgeManagedRuleLimitExceeded + case iamAccessDenied + case internalFailure + case kmsAccessDenied + case kmsKeyNotFound + case sdkUnknown(Swift.String) + + public static var allCases: [InstanceOnboardingJobFailureCode] { + return [ + .eventBridgeAccessDenied, + .eventBridgeManagedRuleLimitExceeded, + .iamAccessDenied, + .internalFailure, + .kmsAccessDenied, + .kmsKeyNotFound + ] + } + + 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 .eventBridgeAccessDenied: return "EVENT_BRIDGE_ACCESS_DENIED" + case .eventBridgeManagedRuleLimitExceeded: return "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED" + case .iamAccessDenied: return "IAM_ACCESS_DENIED" + case .internalFailure: return "INTERNAL_FAILURE" + case .kmsAccessDenied: return "KMS_ACCESS_DENIED" + case .kmsKeyNotFound: return "KMS_KEY_NOT_FOUND" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of the possible states for instance onboarding job + public enum InstanceOnboardingJobStatusCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case inProgress + case succeeded + case sdkUnknown(Swift.String) + + public static var allCases: [InstanceOnboardingJobStatusCode] { + return [ + .failed, + .inProgress, + .succeeded + ] + } + + 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 .failed: return "FAILED" + case .inProgress: return "IN_PROGRESS" + case .succeeded: return "SUCCEEDED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Instance onboarding job status object + public struct InstanceOnboardingJobStatus: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Enumeration of the possible failure codes for instance onboarding job + public var failureCode: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobFailureCode? + /// Enumeration of the possible states for instance onboarding job + /// This member is required. + public var status: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatusCode? + + public init( + connectInstanceId: Swift.String? = nil, + failureCode: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobFailureCode? = nil, + status: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatusCode? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.failureCode = failureCode + self.status = status + } + } +} + +/// The response for GetInstanceOnboardingJobStatus API. +public struct GetInstanceOnboardingJobStatusOutput: Swift.Sendable { + /// Instance onboarding job status object + public var connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? + + public init( + connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? = nil + ) + { + self.connectInstanceOnboardingJobStatus = connectInstanceOnboardingJobStatus + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Operators for Connect instance identifier filter + public enum InstanceIdFilterOperator: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// Equals operator + case eq + case sdkUnknown(Swift.String) + + public static var allCases: [InstanceIdFilterOperator] { + return [ + .eq + ] + } + + 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 .eq: return "Eq" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Connect instance identifier filter + public struct InstanceIdFilter: Swift.Sendable { + /// Operators for Connect instance identifier filter + /// This member is required. + public var `operator`: ConnectCampaignsV2ClientTypes.InstanceIdFilterOperator? + /// Amazon Connect Instance Id + /// This member is required. + public var value: Swift.String? + + public init( + `operator`: ConnectCampaignsV2ClientTypes.InstanceIdFilterOperator? = nil, + value: Swift.String? = nil + ) + { + self.`operator` = `operator` + self.value = value + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Filter model by type + public struct CampaignFilters: Swift.Sendable { + /// Connect instance identifier filter + public var instanceIdFilter: ConnectCampaignsV2ClientTypes.InstanceIdFilter? + + public init( + instanceIdFilter: ConnectCampaignsV2ClientTypes.InstanceIdFilter? = nil + ) + { + self.instanceIdFilter = instanceIdFilter + } + } +} + +/// The request for ListCampaigns API. +public struct ListCampaignsInput: Swift.Sendable { + /// Filter model by type + public var filters: ConnectCampaignsV2ClientTypes.CampaignFilters? + /// The maximum number of results to return per page. + public var maxResults: Swift.Int? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + filters: ConnectCampaignsV2ClientTypes.CampaignFilters? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.filters = filters + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// An Amazon Connect campaign summary. + public struct CampaignSummary: Swift.Sendable { + /// The resource name of an Amazon Connect campaign. + /// This member is required. + public var arn: Swift.String? + /// Channel subtype list + /// This member is required. + public var channelSubtypes: [ConnectCampaignsV2ClientTypes.ChannelSubtype]? + /// Amazon Resource Names(ARN) + public var connectCampaignFlowArn: Swift.String? + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + /// Campaign schedule + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + + public init( + arn: Swift.String? = nil, + channelSubtypes: [ConnectCampaignsV2ClientTypes.ChannelSubtype]? = nil, + connectCampaignFlowArn: Swift.String? = nil, + connectInstanceId: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil + ) + { + self.arn = arn + self.channelSubtypes = channelSubtypes + self.connectCampaignFlowArn = connectCampaignFlowArn + self.connectInstanceId = connectInstanceId + self.id = id + self.name = name + self.schedule = schedule + } + } +} + +/// The response for ListCampaigns API. +public struct ListCampaignsOutput: Swift.Sendable { + /// A list of Amazon Connect campaigns. + public var campaignSummaryList: [ConnectCampaignsV2ClientTypes.CampaignSummary]? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + campaignSummaryList: [ConnectCampaignsV2ClientTypes.CampaignSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.campaignSummaryList = campaignSummaryList + self.nextToken = nextToken + } +} + +/// The request for ListConnectInstanceIntegrations API. +public struct ListConnectInstanceIntegrationsInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// The maximum number of results to return per page. + public var maxResults: Swift.Int? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + connectInstanceId: Swift.String? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Enumeration of Customer Profiles event type + public enum EventType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case campaignEmail + case campaignOrchestration + case campaignSms + case campaignTelephony + case sdkUnknown(Swift.String) + + public static var allCases: [EventType] { + return [ + .campaignEmail, + .campaignOrchestration, + .campaignSms, + .campaignTelephony + ] + } + + 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 .campaignEmail: return "Campaign-Email" + case .campaignOrchestration: return "Campaign-Orchestration" + case .campaignSms: return "Campaign-SMS" + case .campaignTelephony: return "Campaign-Telephony" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Customer Profiles integration summary + public struct CustomerProfilesIntegrationSummary: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var domainArn: Swift.String? + /// Object type names map. + /// This member is required. + public var objectTypeNames: [Swift.String: Swift.String]? + + public init( + domainArn: Swift.String? = nil, + objectTypeNames: [Swift.String: Swift.String]? = nil + ) + { + self.domainArn = domainArn + self.objectTypeNames = objectTypeNames + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Q Connect integration summary + public struct QConnectIntegrationSummary: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var knowledgeBaseArn: Swift.String? + + public init( + knowledgeBaseArn: Swift.String? = nil + ) + { + self.knowledgeBaseArn = knowledgeBaseArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Integration summary for Connect instance. + public enum IntegrationSummary: Swift.Sendable { + /// Customer Profiles integration summary + case customerprofiles(ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary) + /// Q Connect integration summary + case qconnect(ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary) + case sdkUnknown(Swift.String) + } +} + +/// The response for ListConnectInstanceIntegrations API. +public struct ListConnectInstanceIntegrationsOutput: Swift.Sendable { + /// A list of Amazon Connect Instance Integrations. + public var integrationSummaryList: [ConnectCampaignsV2ClientTypes.IntegrationSummary]? + /// The token for the next set of results. + public var nextToken: Swift.String? + + public init( + integrationSummaryList: [ConnectCampaignsV2ClientTypes.IntegrationSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.integrationSummaryList = integrationSummaryList + self.nextToken = nextToken + } +} + +/// The request for ListTagsForResource API. +public struct ListTagsForResourceInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var arn: Swift.String? + + public init( + arn: Swift.String? = nil + ) + { + self.arn = arn + } +} + +/// The request for ListTagsForResource API. +public struct ListTagsForResourceOutput: Swift.Sendable { + /// Tag map with key and value. + public var tags: [Swift.String: Swift.String]? + + public init( + tags: [Swift.String: Swift.String]? = nil + ) + { + self.tags = tags + } +} + +/// The request for PauseCampaign API. +public struct PauseCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Customer Profiles integration config + public struct CustomerProfilesIntegrationConfig: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var domainArn: Swift.String? + /// Object type names map. + /// This member is required. + public var objectTypeNames: [Swift.String: Swift.String]? + + public init( + domainArn: Swift.String? = nil, + objectTypeNames: [Swift.String: Swift.String]? = nil + ) + { + self.domainArn = domainArn + self.objectTypeNames = objectTypeNames + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Q Connect integration config + public struct QConnectIntegrationConfig: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var knowledgeBaseArn: Swift.String? + + public init( + knowledgeBaseArn: Swift.String? = nil + ) + { + self.knowledgeBaseArn = knowledgeBaseArn + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Integration config for Connect Instance + public enum IntegrationConfig: Swift.Sendable { + /// Customer Profiles integration config + case customerprofiles(ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig) + /// Q Connect integration config + case qconnect(ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig) + case sdkUnknown(Swift.String) + } +} + +/// The request for PutConnectInstanceIntegration API. +public struct PutConnectInstanceIntegrationInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Integration config for Connect Instance + /// This member is required. + public var integrationConfig: ConnectCampaignsV2ClientTypes.IntegrationConfig? + + public init( + connectInstanceId: Swift.String? = nil, + integrationConfig: ConnectCampaignsV2ClientTypes.IntegrationConfig? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.integrationConfig = integrationConfig + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// Parameters for the Email Channel Subtype + public struct EmailChannelSubtypeParameters: Swift.Sendable { + /// Source/Destination Email address used for Email messages + public var connectSourceEmailAddress: Swift.String? + /// Source/Destination Email address used for Email messages + /// This member is required. + public var destinationEmailAddress: Swift.String? + /// Amazon Resource Names(ARN) + public var templateArn: Swift.String? + /// A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. + /// This member is required. + public var templateParameters: [Swift.String: Swift.String]? + + public init( + connectSourceEmailAddress: Swift.String? = nil, + destinationEmailAddress: Swift.String? = nil, + templateArn: Swift.String? = nil, + templateParameters: [Swift.String: Swift.String]? = nil + ) + { + self.connectSourceEmailAddress = connectSourceEmailAddress + self.destinationEmailAddress = destinationEmailAddress + self.templateArn = templateArn + self.templateParameters = templateParameters + } + } +} + +extension ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "EmailChannelSubtypeParameters(templateArn: \(Swift.String(describing: templateArn)), connectSourceEmailAddress: \"CONTENT_REDACTED\", destinationEmailAddress: \"CONTENT_REDACTED\", templateParameters: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// Parameters for the SMS Channel Subtype + public struct SmsChannelSubtypeParameters: Swift.Sendable { + /// Amazon Resource Names(ARN) + public var connectSourcePhoneNumberArn: Swift.String? + /// The phone number of the customer, in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// Amazon Resource Names(ARN) + public var templateArn: Swift.String? + /// A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. + /// This member is required. + public var templateParameters: [Swift.String: Swift.String]? + + public init( + connectSourcePhoneNumberArn: Swift.String? = nil, + destinationPhoneNumber: Swift.String? = nil, + templateArn: Swift.String? = nil, + templateParameters: [Swift.String: Swift.String]? = nil + ) + { + self.connectSourcePhoneNumberArn = connectSourcePhoneNumberArn + self.destinationPhoneNumber = destinationPhoneNumber + self.templateArn = templateArn + self.templateParameters = templateParameters + } + } +} + +extension ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "SmsChannelSubtypeParameters(connectSourcePhoneNumberArn: \(Swift.String(describing: connectSourcePhoneNumberArn)), templateArn: \(Swift.String(describing: templateArn)), destinationPhoneNumber: \"CONTENT_REDACTED\", templateParameters: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// Parameters for the Telephony Channel Subtype + public struct TelephonyChannelSubtypeParameters: Swift.Sendable { + /// Answering Machine Detection config + public var answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? + /// A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes. + /// This member is required. + public var attributes: [Swift.String: Swift.String]? + /// The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue. + public var connectSourcePhoneNumber: Swift.String? + /// The phone number of the customer, in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + + public init( + answerMachineDetectionConfig: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig? = nil, + attributes: [Swift.String: Swift.String]? = nil, + connectSourcePhoneNumber: Swift.String? = nil, + destinationPhoneNumber: Swift.String? = nil + ) + { + self.answerMachineDetectionConfig = answerMachineDetectionConfig + self.attributes = attributes + self.connectSourcePhoneNumber = connectSourcePhoneNumber + self.destinationPhoneNumber = destinationPhoneNumber + } + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "TelephonyChannelSubtypeParameters(answerMachineDetectionConfig: \(Swift.String(describing: answerMachineDetectionConfig)), connectSourcePhoneNumber: \(Swift.String(describing: connectSourcePhoneNumber)), attributes: \"CONTENT_REDACTED\", destinationPhoneNumber: \"CONTENT_REDACTED\")"} +} + +extension ConnectCampaignsV2ClientTypes { + + /// ChannelSubtypeParameters for an outbound request + public enum ChannelSubtypeParameters: Swift.Sendable { + /// Parameters for the Telephony Channel Subtype + case telephony(ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters) + /// Parameters for the SMS Channel Subtype + case sms(ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters) + /// Parameters for the Email Channel Subtype + case email(ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters) + case sdkUnknown(Swift.String) + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// An outbound request for a campaign. + public struct OutboundRequest: Swift.Sendable { + /// ChannelSubtypeParameters for an outbound request + /// This member is required. + public var channelSubtypeParameters: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters? + /// Client provided parameter used for idempotency. Its value must be unique for each request. + /// This member is required. + public var clientToken: Swift.String? + /// Timestamp with no UTC offset or timezone + /// This member is required. + public var expirationTime: Foundation.Date? + + public init( + channelSubtypeParameters: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters? = nil, + clientToken: Swift.String? = nil, + expirationTime: Foundation.Date? = nil + ) + { + self.channelSubtypeParameters = channelSubtypeParameters + self.clientToken = clientToken + self.expirationTime = expirationTime + } + } +} + +/// The request for PutOutboundRequestBatch API. +public struct PutOutboundRequestBatchInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// A list of outbound requests. + /// This member is required. + public var outboundRequests: [ConnectCampaignsV2ClientTypes.OutboundRequest]? + + public init( + id: Swift.String? = nil, + outboundRequests: [ConnectCampaignsV2ClientTypes.OutboundRequest]? = nil + ) + { + self.id = id + self.outboundRequests = outboundRequests + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A predefined code indicating the error that caused the failure. + public enum FailureCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + /// Request throttled due to large number of pending dial requests + case bufferLimitExceeded + /// The request failed to satisfy the constraints specified by the service + case invalidInput + /// The request was throttled due to excessive usage + case requestThrottled + /// Unexpected error during processing of request + case unknownError + case sdkUnknown(Swift.String) + + public static var allCases: [FailureCode] { + return [ + .bufferLimitExceeded, + .invalidInput, + .requestThrottled, + .unknownError + ] + } + + 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 .bufferLimitExceeded: return "BufferLimitExceeded" + case .invalidInput: return "InvalidInput" + case .requestThrottled: return "RequestThrottled" + case .unknownError: return "UnknownError" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A failed request identified by the unique client token. + public struct FailedRequest: Swift.Sendable { + /// Client provided parameter used for idempotency. Its value must be unique for each request. + public var clientToken: Swift.String? + /// A predefined code indicating the error that caused the failure. + public var failureCode: ConnectCampaignsV2ClientTypes.FailureCode? + /// Identifier representing a Dial request + public var id: Swift.String? + + public init( + clientToken: Swift.String? = nil, + failureCode: ConnectCampaignsV2ClientTypes.FailureCode? = nil, + id: Swift.String? = nil + ) + { + self.clientToken = clientToken + self.failureCode = failureCode + self.id = id + } + } +} + +extension ConnectCampaignsV2ClientTypes { + + /// A successful request identified by the unique client token. + public struct SuccessfulRequest: Swift.Sendable { + /// Client provided parameter used for idempotency. Its value must be unique for each request. + public var clientToken: Swift.String? + /// Identifier representing a Dial request + public var id: Swift.String? + + public init( + clientToken: Swift.String? = nil, + id: Swift.String? = nil + ) + { + self.clientToken = clientToken + self.id = id + } + } +} + +/// The response for PutOutboundRequestBatch API. +public struct PutOutboundRequestBatchOutput: Swift.Sendable { + /// A list of failed requests. + public var failedRequests: [ConnectCampaignsV2ClientTypes.FailedRequest]? + /// A list of successful requests identified by the unique client token. + public var successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulRequest]? + + public init( + failedRequests: [ConnectCampaignsV2ClientTypes.FailedRequest]? = nil, + successfulRequests: [ConnectCampaignsV2ClientTypes.SuccessfulRequest]? = nil + ) + { + self.failedRequests = failedRequests + self.successfulRequests = successfulRequests + } +} + +/// The request for ResumeCampaign API. +public struct ResumeCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The request for StartCampaign API. +public struct StartCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The request for StartInstanceOnboardingJob API. +public struct StartInstanceOnboardingJobInput: Swift.Sendable { + /// Amazon Connect Instance Id + /// This member is required. + public var connectInstanceId: Swift.String? + /// Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported + /// This member is required. + public var encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? + + public init( + connectInstanceId: Swift.String? = nil, + encryptionConfig: ConnectCampaignsV2ClientTypes.EncryptionConfig? = nil + ) + { + self.connectInstanceId = connectInstanceId + self.encryptionConfig = encryptionConfig + } +} + +/// The response for StartInstanceOnboardingJob API. +public struct StartInstanceOnboardingJobOutput: Swift.Sendable { + /// Instance onboarding job status object + public var connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? + + public init( + connectInstanceOnboardingJobStatus: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus? = nil + ) + { + self.connectInstanceOnboardingJobStatus = connectInstanceOnboardingJobStatus + } +} + +/// The request for StopCampaign API. +public struct StopCampaignInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +/// The request for TagResource API. +public struct TagResourceInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var arn: Swift.String? + /// Tag map with key and value. + /// This member is required. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.tags = tags + } +} + +/// The request for UntagResource API. +public struct UntagResourceInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var arn: Swift.String? + /// List of tag keys. + /// This member is required. + public var tagKeys: [Swift.String]? + + public init( + arn: Swift.String? = nil, + tagKeys: [Swift.String]? = nil + ) + { + self.arn = arn + self.tagKeys = tagKeys + } +} + +/// The request for UpdateCampaignChannelSubtypeConfig API. +public struct UpdateCampaignChannelSubtypeConfigInput: Swift.Sendable { + /// Campaign Channel Subtype config + /// This member is required. + public var channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + channelSubtypeConfig: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig? = nil, + id: Swift.String? = nil + ) + { + self.channelSubtypeConfig = channelSubtypeConfig + self.id = id + } +} + +/// The request for UpdateCampaignCommunicationLimits API. +public struct UpdateCampaignCommunicationLimitsInput: Swift.Sendable { + /// Communication limits config + /// This member is required. + public var communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + communicationLimitsOverride: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig? = nil, + id: Swift.String? = nil + ) + { + self.communicationLimitsOverride = communicationLimitsOverride + self.id = id + } +} + +/// The request for UpdateCampaignCommunicationTime API. +public struct UpdateCampaignCommunicationTimeInput: Swift.Sendable { + /// Campaign communication time config + /// This member is required. + public var communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + communicationTimeConfig: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig? = nil, + id: Swift.String? = nil + ) + { + self.communicationTimeConfig = communicationTimeConfig + self.id = id + } +} + +/// The request for UpdateCampaignFlowAssociation API. +public struct UpdateCampaignFlowAssociationInput: Swift.Sendable { + /// Amazon Resource Names(ARN) + /// This member is required. + public var connectCampaignFlowArn: Swift.String? + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + + public init( + connectCampaignFlowArn: Swift.String? = nil, + id: Swift.String? = nil + ) + { + self.connectCampaignFlowArn = connectCampaignFlowArn + self.id = id + } +} + +/// The request for UpdateCampaignName API. +public struct UpdateCampaignNameInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// The name of an Amazon Connect Campaign name. + /// This member is required. + public var name: Swift.String? + + public init( + id: Swift.String? = nil, + name: Swift.String? = nil + ) + { + self.id = id + self.name = name + } +} + +/// The request for UpdateCampaignSchedule API. +public struct UpdateCampaignScheduleInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// Campaign schedule + /// This member is required. + public var schedule: ConnectCampaignsV2ClientTypes.Schedule? + + public init( + id: Swift.String? = nil, + schedule: ConnectCampaignsV2ClientTypes.Schedule? = nil + ) + { + self.id = id + self.schedule = schedule + } +} + +/// The request for UpdateCampaignSource API. +public struct UpdateCampaignSourceInput: Swift.Sendable { + /// Identifier representing a Campaign + /// This member is required. + public var id: Swift.String? + /// Source of the campaign + /// This member is required. + public var source: ConnectCampaignsV2ClientTypes.Source? + + public init( + id: Swift.String? = nil, + source: ConnectCampaignsV2ClientTypes.Source? = nil + ) + { + self.id = id + self.source = source + } +} + +extension CreateCampaignInput { + + static func urlPathProvider(_ value: CreateCampaignInput) -> Swift.String? { + return "/v2/campaigns" + } +} + +extension DeleteCampaignInput { + + static func urlPathProvider(_ value: DeleteCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())" + } +} + +extension DeleteCampaignChannelSubtypeConfigInput { + + static func urlPathProvider(_ value: DeleteCampaignChannelSubtypeConfigInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/channel-subtype-config" + } +} + +extension DeleteCampaignChannelSubtypeConfigInput { + + static func queryItemProvider(_ value: DeleteCampaignChannelSubtypeConfigInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let channelSubtype = value.channelSubtype else { + let message = "Creating a URL Query Item failed. channelSubtype is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let channelSubtypeQueryItem = Smithy.URIQueryItem(name: "channelSubtype".urlPercentEncoding(), value: Swift.String(channelSubtype.rawValue).urlPercentEncoding()) + items.append(channelSubtypeQueryItem) + return items + } +} + +extension DeleteCampaignCommunicationLimitsInput { + + static func urlPathProvider(_ value: DeleteCampaignCommunicationLimitsInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-limits" + } +} + +extension DeleteCampaignCommunicationLimitsInput { + + static func queryItemProvider(_ value: DeleteCampaignCommunicationLimitsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let config = value.config else { + let message = "Creating a URL Query Item failed. config is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let configQueryItem = Smithy.URIQueryItem(name: "config".urlPercentEncoding(), value: Swift.String(config.rawValue).urlPercentEncoding()) + items.append(configQueryItem) + return items + } +} + +extension DeleteCampaignCommunicationTimeInput { + + static func urlPathProvider(_ value: DeleteCampaignCommunicationTimeInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-time" + } +} + +extension DeleteCampaignCommunicationTimeInput { + + static func queryItemProvider(_ value: DeleteCampaignCommunicationTimeInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let config = value.config else { + let message = "Creating a URL Query Item failed. config is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let configQueryItem = Smithy.URIQueryItem(name: "config".urlPercentEncoding(), value: Swift.String(config.rawValue).urlPercentEncoding()) + items.append(configQueryItem) + return items + } +} + +extension DeleteConnectInstanceConfigInput { + + static func urlPathProvider(_ value: DeleteConnectInstanceConfigInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/config" + } +} + +extension DeleteConnectInstanceConfigInput { + + static func queryItemProvider(_ value: DeleteConnectInstanceConfigInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let campaignDeletionPolicy = value.campaignDeletionPolicy { + let campaignDeletionPolicyQueryItem = Smithy.URIQueryItem(name: "campaignDeletionPolicy".urlPercentEncoding(), value: Swift.String(campaignDeletionPolicy.rawValue).urlPercentEncoding()) + items.append(campaignDeletionPolicyQueryItem) + } + return items + } +} + +extension DeleteConnectInstanceIntegrationInput { + + static func urlPathProvider(_ value: DeleteConnectInstanceIntegrationInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/integrations/delete" + } +} + +extension DeleteInstanceOnboardingJobInput { + + static func urlPathProvider(_ value: DeleteInstanceOnboardingJobInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/onboarding" + } +} + +extension DescribeCampaignInput { + + static func urlPathProvider(_ value: DescribeCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())" + } +} + +extension GetCampaignStateInput { + + static func urlPathProvider(_ value: GetCampaignStateInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/state" + } +} + +extension GetCampaignStateBatchInput { + + static func urlPathProvider(_ value: GetCampaignStateBatchInput) -> Swift.String? { + return "/v2/campaigns-state" + } +} + +extension GetConnectInstanceConfigInput { + + static func urlPathProvider(_ value: GetConnectInstanceConfigInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/config" + } +} + +extension GetInstanceOnboardingJobStatusInput { + + static func urlPathProvider(_ value: GetInstanceOnboardingJobStatusInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/onboarding" + } +} + +extension ListCampaignsInput { + + static func urlPathProvider(_ value: ListCampaignsInput) -> Swift.String? { + return "/v2/campaigns-summary" + } +} + +extension ListConnectInstanceIntegrationsInput { + + static func urlPathProvider(_ value: ListConnectInstanceIntegrationsInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/integrations" + } +} + +extension ListConnectInstanceIntegrationsInput { + + static func queryItemProvider(_ value: ListConnectInstanceIntegrationsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + return items + } +} + +extension ListTagsForResourceInput { + + static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { + guard let arn = value.arn else { + return nil + } + return "/v2/tags/\(arn.urlPercentEncoding())" + } +} + +extension PauseCampaignInput { + + static func urlPathProvider(_ value: PauseCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/pause" + } +} + +extension PutConnectInstanceIntegrationInput { + + static func urlPathProvider(_ value: PutConnectInstanceIntegrationInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/integrations" + } +} + +extension PutOutboundRequestBatchInput { + + static func urlPathProvider(_ value: PutOutboundRequestBatchInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/outbound-requests" + } +} + +extension ResumeCampaignInput { + + static func urlPathProvider(_ value: ResumeCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/resume" + } +} + +extension StartCampaignInput { + + static func urlPathProvider(_ value: StartCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/start" + } +} + +extension StartInstanceOnboardingJobInput { + + static func urlPathProvider(_ value: StartInstanceOnboardingJobInput) -> Swift.String? { + guard let connectInstanceId = value.connectInstanceId else { + return nil + } + return "/v2/connect-instance/\(connectInstanceId.urlPercentEncoding())/onboarding" + } +} + +extension StopCampaignInput { + + static func urlPathProvider(_ value: StopCampaignInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/stop" + } +} + +extension TagResourceInput { + + static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { + guard let arn = value.arn else { + return nil + } + return "/v2/tags/\(arn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { + guard let arn = value.arn else { + return nil + } + return "/v2/tags/\(arn.urlPercentEncoding())" + } +} + +extension UntagResourceInput { + + static func queryItemProvider(_ value: UntagResourceInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let tagKeys = value.tagKeys else { + let message = "Creating a URL Query Item failed. tagKeys is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + tagKeys.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "tagKeys".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + return items + } +} + +extension UpdateCampaignChannelSubtypeConfigInput { + + static func urlPathProvider(_ value: UpdateCampaignChannelSubtypeConfigInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/channel-subtype-config" + } +} + +extension UpdateCampaignCommunicationLimitsInput { + + static func urlPathProvider(_ value: UpdateCampaignCommunicationLimitsInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-limits" + } +} + +extension UpdateCampaignCommunicationTimeInput { + + static func urlPathProvider(_ value: UpdateCampaignCommunicationTimeInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/communication-time" + } +} + +extension UpdateCampaignFlowAssociationInput { + + static func urlPathProvider(_ value: UpdateCampaignFlowAssociationInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/flow" + } +} + +extension UpdateCampaignNameInput { + + static func urlPathProvider(_ value: UpdateCampaignNameInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/name" + } +} + +extension UpdateCampaignScheduleInput { + + static func urlPathProvider(_ value: UpdateCampaignScheduleInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/schedule" + } +} + +extension UpdateCampaignSourceInput { + + static func urlPathProvider(_ value: UpdateCampaignSourceInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/v2/campaigns/\(id.urlPercentEncoding())/source" + } +} + +extension CreateCampaignInput { + + static func write(value: CreateCampaignInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelSubtypeConfig"].write(value.channelSubtypeConfig, with: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig.write(value:to:)) + try writer["communicationLimitsOverride"].write(value.communicationLimitsOverride, with: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig.write(value:to:)) + try writer["communicationTimeConfig"].write(value.communicationTimeConfig, with: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig.write(value:to:)) + try writer["connectCampaignFlowArn"].write(value.connectCampaignFlowArn) + try writer["connectInstanceId"].write(value.connectInstanceId) + try writer["name"].write(value.name) + try writer["schedule"].write(value.schedule, with: ConnectCampaignsV2ClientTypes.Schedule.write(value:to:)) + try writer["source"].write(value.source, with: ConnectCampaignsV2ClientTypes.Source.write(value:to:)) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension DeleteConnectInstanceIntegrationInput { + + static func write(value: DeleteConnectInstanceIntegrationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["integrationIdentifier"].write(value.integrationIdentifier, with: ConnectCampaignsV2ClientTypes.IntegrationIdentifier.write(value:to:)) + } +} + +extension GetCampaignStateBatchInput { + + static func write(value: GetCampaignStateBatchInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["campaignIds"].writeList(value.campaignIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension ListCampaignsInput { + + static func write(value: ListCampaignsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["filters"].write(value.filters, with: ConnectCampaignsV2ClientTypes.CampaignFilters.write(value:to:)) + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + } +} + +extension PutConnectInstanceIntegrationInput { + + static func write(value: PutConnectInstanceIntegrationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["integrationConfig"].write(value.integrationConfig, with: ConnectCampaignsV2ClientTypes.IntegrationConfig.write(value:to:)) + } +} + +extension PutOutboundRequestBatchInput { + + static func write(value: PutOutboundRequestBatchInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["outboundRequests"].writeList(value.outboundRequests, memberWritingClosure: ConnectCampaignsV2ClientTypes.OutboundRequest.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension StartInstanceOnboardingJobInput { + + static func write(value: StartInstanceOnboardingJobInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["encryptionConfig"].write(value.encryptionConfig, with: ConnectCampaignsV2ClientTypes.EncryptionConfig.write(value:to:)) + } +} + +extension TagResourceInput { + + static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension UpdateCampaignChannelSubtypeConfigInput { + + static func write(value: UpdateCampaignChannelSubtypeConfigInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelSubtypeConfig"].write(value.channelSubtypeConfig, with: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig.write(value:to:)) + } +} + +extension UpdateCampaignCommunicationLimitsInput { + + static func write(value: UpdateCampaignCommunicationLimitsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["communicationLimitsOverride"].write(value.communicationLimitsOverride, with: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig.write(value:to:)) + } +} + +extension UpdateCampaignCommunicationTimeInput { + + static func write(value: UpdateCampaignCommunicationTimeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["communicationTimeConfig"].write(value.communicationTimeConfig, with: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig.write(value:to:)) + } +} + +extension UpdateCampaignFlowAssociationInput { + + static func write(value: UpdateCampaignFlowAssociationInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectCampaignFlowArn"].write(value.connectCampaignFlowArn) + } +} + +extension UpdateCampaignNameInput { + + static func write(value: UpdateCampaignNameInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + } +} + +extension UpdateCampaignScheduleInput { + + static func write(value: UpdateCampaignScheduleInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["schedule"].write(value.schedule, with: ConnectCampaignsV2ClientTypes.Schedule.write(value:to:)) + } +} + +extension UpdateCampaignSourceInput { + + static func write(value: UpdateCampaignSourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["source"].write(value.source, with: ConnectCampaignsV2ClientTypes.Source.write(value:to:)) + } +} + +extension CreateCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCampaignOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateCampaignOutput() + value.arn = try reader["arn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension DeleteCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignOutput { + return DeleteCampaignOutput() + } +} + +extension DeleteCampaignChannelSubtypeConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignChannelSubtypeConfigOutput { + return DeleteCampaignChannelSubtypeConfigOutput() + } +} + +extension DeleteCampaignCommunicationLimitsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignCommunicationLimitsOutput { + return DeleteCampaignCommunicationLimitsOutput() + } +} + +extension DeleteCampaignCommunicationTimeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCampaignCommunicationTimeOutput { + return DeleteCampaignCommunicationTimeOutput() + } +} + +extension DeleteConnectInstanceConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectInstanceConfigOutput { + return DeleteConnectInstanceConfigOutput() + } +} + +extension DeleteConnectInstanceIntegrationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteConnectInstanceIntegrationOutput { + return DeleteConnectInstanceIntegrationOutput() + } +} + +extension DeleteInstanceOnboardingJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteInstanceOnboardingJobOutput { + return DeleteInstanceOnboardingJobOutput() + } +} + +extension DescribeCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCampaignOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DescribeCampaignOutput() + value.campaign = try reader["campaign"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Campaign.read(from:)) + return value + } +} + +extension GetCampaignStateOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignStateOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetCampaignStateOutput() + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension GetCampaignStateBatchOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCampaignStateBatchOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetCampaignStateBatchOutput() + value.failedRequests = try reader["failedRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse.read(from:), memberNodeInfo: "member", isFlattened: false) + value.successfulRequests = try reader["successfulRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension GetConnectInstanceConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetConnectInstanceConfigOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetConnectInstanceConfigOutput() + value.connectInstanceConfig = try reader["connectInstanceConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.InstanceConfig.read(from:)) + return value + } +} + +extension GetInstanceOnboardingJobStatusOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetInstanceOnboardingJobStatusOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetInstanceOnboardingJobStatusOutput() + value.connectInstanceOnboardingJobStatus = try reader["connectInstanceOnboardingJobStatus"].readIfPresent(with: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus.read(from:)) + return value + } +} + +extension ListCampaignsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListCampaignsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListCampaignsOutput() + value.campaignSummaryList = try reader["campaignSummaryList"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.CampaignSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListConnectInstanceIntegrationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListConnectInstanceIntegrationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListConnectInstanceIntegrationsOutput() + value.integrationSummaryList = try reader["integrationSummaryList"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.IntegrationSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + +extension ListTagsForResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListTagsForResourceOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListTagsForResourceOutput() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension PauseCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PauseCampaignOutput { + return PauseCampaignOutput() + } +} + +extension PutConnectInstanceIntegrationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutConnectInstanceIntegrationOutput { + return PutConnectInstanceIntegrationOutput() + } +} + +extension PutOutboundRequestBatchOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOutboundRequestBatchOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutOutboundRequestBatchOutput() + value.failedRequests = try reader["failedRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.FailedRequest.read(from:), memberNodeInfo: "member", isFlattened: false) + value.successfulRequests = try reader["successfulRequests"].readListIfPresent(memberReadingClosure: ConnectCampaignsV2ClientTypes.SuccessfulRequest.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension ResumeCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ResumeCampaignOutput { + return ResumeCampaignOutput() + } +} + +extension StartCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartCampaignOutput { + return StartCampaignOutput() + } +} + +extension StartInstanceOnboardingJobOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StartInstanceOnboardingJobOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = StartInstanceOnboardingJobOutput() + value.connectInstanceOnboardingJobStatus = try reader["connectInstanceOnboardingJobStatus"].readIfPresent(with: ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus.read(from:)) + return value + } +} + +extension StopCampaignOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> StopCampaignOutput { + return StopCampaignOutput() + } +} + +extension TagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> TagResourceOutput { + return TagResourceOutput() + } +} + +extension UntagResourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UntagResourceOutput { + return UntagResourceOutput() + } +} + +extension UpdateCampaignChannelSubtypeConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignChannelSubtypeConfigOutput { + return UpdateCampaignChannelSubtypeConfigOutput() + } +} + +extension UpdateCampaignCommunicationLimitsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignCommunicationLimitsOutput { + return UpdateCampaignCommunicationLimitsOutput() + } +} + +extension UpdateCampaignCommunicationTimeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignCommunicationTimeOutput { + return UpdateCampaignCommunicationTimeOutput() + } +} + +extension UpdateCampaignFlowAssociationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignFlowAssociationOutput { + return UpdateCampaignFlowAssociationOutput() + } +} + +extension UpdateCampaignNameOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignNameOutput { + return UpdateCampaignNameOutput() + } +} + +extension UpdateCampaignScheduleOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignScheduleOutput { + return UpdateCampaignScheduleOutput() + } +} + +extension UpdateCampaignSourceOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateCampaignSourceOutput { + return UpdateCampaignSourceOutput() + } +} + +enum CreateCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignChannelSubtypeConfigOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignCommunicationLimitsOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteCampaignCommunicationTimeOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteConnectInstanceConfigOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidStateException": return try InvalidStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteConnectInstanceIntegrationOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteInstanceOnboardingJobOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidStateException": return try InvalidStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DescribeCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetCampaignStateOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetCampaignStateBatchOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetConnectInstanceConfigOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum GetInstanceOnboardingJobStatusOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListCampaignsOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListConnectInstanceIntegrationsOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListTagsForResourceOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PauseCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PutConnectInstanceIntegrationOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum PutOutboundRequestBatchOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ResumeCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StartCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StartInstanceOnboardingJobOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum StopCampaignOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum TagResourceOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UntagResourceOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignChannelSubtypeConfigOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignCommunicationLimitsOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignCommunicationTimeOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignFlowAssociationOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignNameOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignScheduleOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateCampaignSourceOutputError { + + 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 "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidCampaignStateException": return try InvalidCampaignStateException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +extension AccessDeniedException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> AccessDeniedException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = AccessDeniedException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ValidationException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ValidationException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ValidationException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InternalServerException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InternalServerException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InternalServerException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ResourceNotFoundException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ResourceNotFoundException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ResourceNotFoundException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ThrottlingException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ThrottlingException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ThrottlingException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ConflictException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ConflictException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ConflictException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ServiceQuotaExceededException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> ServiceQuotaExceededException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = ServiceQuotaExceededException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InvalidCampaignStateException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InvalidCampaignStateException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InvalidCampaignStateException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.properties.state = try reader["state"].readIfPresent() ?? .sdkUnknown("") + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InvalidStateException { + + static func makeError(baseError: AWSClientRuntime.RestJSONError) throws -> InvalidStateException { + let reader = baseError.errorBodyReader + let httpResponse = baseError.httpResponse + var value = InvalidStateException() + if let xAmzErrorTypeHeaderValue = httpResponse.headers.value(for: "x-amzn-ErrorType") { + value.properties.xAmzErrorType = xAmzErrorTypeHeaderValue + } + value.properties.message = try reader["message"].readIfPresent() ?? "" + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension ConnectCampaignsV2ClientTypes.Campaign { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.Campaign { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.Campaign() + value.id = try reader["id"].readIfPresent() ?? "" + value.arn = try reader["arn"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.channelSubtypeConfig = try reader["channelSubtypeConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig.read(from:)) + value.source = try reader["source"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Source.read(from:)) + value.connectCampaignFlowArn = try reader["connectCampaignFlowArn"].readIfPresent() + value.schedule = try reader["schedule"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Schedule.read(from:)) + value.communicationTimeConfig = try reader["communicationTimeConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig.read(from:)) + value.communicationLimitsOverride = try reader["communicationLimitsOverride"].readIfPresent(with: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig.read(from:)) + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["allChannelSubtypes"].write(value.allChannelSubtypes, with: ConnectCampaignsV2ClientTypes.CommunicationLimits.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CommunicationLimitsConfig() + value.allChannelSubtypes = try reader["allChannelSubtypes"].readIfPresent(with: ConnectCampaignsV2ClientTypes.CommunicationLimits.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationLimits { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationLimits?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .communicationlimitslist(communicationlimitslist): + try writer["communicationLimitsList"].writeList(communicationlimitslist, memberWritingClosure: ConnectCampaignsV2ClientTypes.CommunicationLimit.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationLimits { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "communicationLimitsList": + return .communicationlimitslist(try reader["communicationLimitsList"].readList(memberReadingClosure: ConnectCampaignsV2ClientTypes.CommunicationLimit.read(from:), memberNodeInfo: "member", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationLimit { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationLimit?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["frequency"].write(value.frequency) + try writer["maxCountPerRecipient"].write(value.maxCountPerRecipient) + try writer["unit"].write(value.unit) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationLimit { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CommunicationLimit() + value.maxCountPerRecipient = try reader["maxCountPerRecipient"].readIfPresent() ?? 0 + value.frequency = try reader["frequency"].readIfPresent() ?? 0 + value.unit = try reader["unit"].readIfPresent() ?? .sdkUnknown("") + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CommunicationTimeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.CommunicationTimeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["email"].write(value.email, with: ConnectCampaignsV2ClientTypes.TimeWindow.write(value:to:)) + try writer["localTimeZoneConfig"].write(value.localTimeZoneConfig, with: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig.write(value:to:)) + try writer["sms"].write(value.sms, with: ConnectCampaignsV2ClientTypes.TimeWindow.write(value:to:)) + try writer["telephony"].write(value.telephony, with: ConnectCampaignsV2ClientTypes.TimeWindow.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CommunicationTimeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CommunicationTimeConfig() + value.localTimeZoneConfig = try reader["localTimeZoneConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig.read(from:)) + value.telephony = try reader["telephony"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TimeWindow.read(from:)) + value.sms = try reader["sms"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TimeWindow.read(from:)) + value.email = try reader["email"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TimeWindow.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.TimeWindow { + + static func write(value: ConnectCampaignsV2ClientTypes.TimeWindow?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["openHours"].write(value.openHours, with: ConnectCampaignsV2ClientTypes.OpenHours.write(value:to:)) + try writer["restrictedPeriods"].write(value.restrictedPeriods, with: ConnectCampaignsV2ClientTypes.RestrictedPeriods.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TimeWindow { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TimeWindow() + value.openHours = try reader["openHours"].readIfPresent(with: ConnectCampaignsV2ClientTypes.OpenHours.read(from:)) + value.restrictedPeriods = try reader["restrictedPeriods"].readIfPresent(with: ConnectCampaignsV2ClientTypes.RestrictedPeriods.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.RestrictedPeriods { + + static func write(value: ConnectCampaignsV2ClientTypes.RestrictedPeriods?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .restrictedperiodlist(restrictedperiodlist): + try writer["restrictedPeriodList"].writeList(restrictedperiodlist, memberWritingClosure: ConnectCampaignsV2ClientTypes.RestrictedPeriod.write(value:to:), memberNodeInfo: "member", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.RestrictedPeriods { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "restrictedPeriodList": + return .restrictedperiodlist(try reader["restrictedPeriodList"].readList(memberReadingClosure: ConnectCampaignsV2ClientTypes.RestrictedPeriod.read(from:), memberNodeInfo: "member", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.RestrictedPeriod { + + static func write(value: ConnectCampaignsV2ClientTypes.RestrictedPeriod?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["endDate"].write(value.endDate) + try writer["name"].write(value.name) + try writer["startDate"].write(value.startDate) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.RestrictedPeriod { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.RestrictedPeriod() + value.name = try reader["name"].readIfPresent() + value.startDate = try reader["startDate"].readIfPresent() ?? "" + value.endDate = try reader["endDate"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.OpenHours { + + static func write(value: ConnectCampaignsV2ClientTypes.OpenHours?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .dailyhours(dailyhours): + try writer["dailyHours"].writeMap(dailyhours, valueWritingClosure: SmithyReadWrite.listWritingClosure(memberWritingClosure: ConnectCampaignsV2ClientTypes.TimeRange.write(value:to:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.OpenHours { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "dailyHours": + return .dailyhours(try reader["dailyHours"].readMap(valueReadingClosure: SmithyReadWrite.listReadingClosure(memberReadingClosure: ConnectCampaignsV2ClientTypes.TimeRange.read(from:), memberNodeInfo: "member", isFlattened: false), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false)) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.TimeRange { + + static func write(value: ConnectCampaignsV2ClientTypes.TimeRange?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["endTime"].write(value.endTime) + try writer["startTime"].write(value.startTime) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TimeRange { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TimeRange() + value.startTime = try reader["startTime"].readIfPresent() ?? "" + value.endTime = try reader["endTime"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["defaultTimeZone"].write(value.defaultTimeZone) + try writer["localTimeZoneDetection"].writeList(value.localTimeZoneDetection, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.LocalTimeZoneConfig() + value.defaultTimeZone = try reader["defaultTimeZone"].readIfPresent() + value.localTimeZoneDetection = try reader["localTimeZoneDetection"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.Schedule { + + static func write(value: ConnectCampaignsV2ClientTypes.Schedule?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["endTime"].writeTimestamp(value.endTime, format: SmithyTimestamps.TimestampFormat.dateTime) + try writer["refreshFrequency"].write(value.refreshFrequency) + try writer["startTime"].writeTimestamp(value.startTime, format: SmithyTimestamps.TimestampFormat.dateTime) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.Schedule { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.Schedule() + value.startTime = try reader["startTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.endTime = try reader["endTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.refreshFrequency = try reader["refreshFrequency"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.Source { + + static func write(value: ConnectCampaignsV2ClientTypes.Source?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customerprofilessegmentarn(customerprofilessegmentarn): + try writer["customerProfilesSegmentArn"].write(customerprofilessegmentarn) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.Source { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "customerProfilesSegmentArn": + return .customerprofilessegmentarn(try reader["customerProfilesSegmentArn"].read()) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["email"].write(value.email, with: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig.write(value:to:)) + try writer["sms"].write(value.sms, with: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig.write(value:to:)) + try writer["telephony"].write(value.telephony, with: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.ChannelSubtypeConfig() + value.telephony = try reader["telephony"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig.read(from:)) + value.sms = try reader["sms"].readIfPresent(with: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig.read(from:)) + value.email = try reader["email"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["capacity"].write(value.capacity) + try writer["defaultOutboundConfig"].write(value.defaultOutboundConfig, with: ConnectCampaignsV2ClientTypes.EmailOutboundConfig.write(value:to:)) + try writer["outboundMode"].write(value.outboundMode, with: ConnectCampaignsV2ClientTypes.EmailOutboundMode.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.EmailChannelSubtypeConfig() + value.capacity = try reader["capacity"].readIfPresent() + value.outboundMode = try reader["outboundMode"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EmailOutboundMode.read(from:)) + value.defaultOutboundConfig = try reader["defaultOutboundConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EmailOutboundConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EmailOutboundConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailOutboundConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourceEmailAddress"].write(value.connectSourceEmailAddress) + try writer["sourceEmailAddressDisplayName"].write(value.sourceEmailAddressDisplayName) + try writer["wisdomTemplateArn"].write(value.wisdomTemplateArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EmailOutboundConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.EmailOutboundConfig() + value.connectSourceEmailAddress = try reader["connectSourceEmailAddress"].readIfPresent() ?? "" + value.sourceEmailAddressDisplayName = try reader["sourceEmailAddressDisplayName"].readIfPresent() + value.wisdomTemplateArn = try reader["wisdomTemplateArn"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EmailOutboundMode { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailOutboundMode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agentless(agentless): + try writer["agentless"].write(agentless, with: ConnectCampaignsV2ClientTypes.AgentlessConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EmailOutboundMode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "agentless": + return .agentless(try reader["agentless"].read(with: ConnectCampaignsV2ClientTypes.AgentlessConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.AgentlessConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.AgentlessConfig?, to writer: SmithyJSON.Writer) throws { + guard value != nil else { return } + _ = writer[""] // create an empty structure + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.AgentlessConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + return ConnectCampaignsV2ClientTypes.AgentlessConfig() + } +} + +extension ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["capacity"].write(value.capacity) + try writer["defaultOutboundConfig"].write(value.defaultOutboundConfig, with: ConnectCampaignsV2ClientTypes.SmsOutboundConfig.write(value:to:)) + try writer["outboundMode"].write(value.outboundMode, with: ConnectCampaignsV2ClientTypes.SmsOutboundMode.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SmsChannelSubtypeConfig() + value.capacity = try reader["capacity"].readIfPresent() + value.outboundMode = try reader["outboundMode"].readIfPresent(with: ConnectCampaignsV2ClientTypes.SmsOutboundMode.read(from:)) + value.defaultOutboundConfig = try reader["defaultOutboundConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.SmsOutboundConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SmsOutboundConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsOutboundConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourcePhoneNumberArn"].write(value.connectSourcePhoneNumberArn) + try writer["wisdomTemplateArn"].write(value.wisdomTemplateArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SmsOutboundConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SmsOutboundConfig() + value.connectSourcePhoneNumberArn = try reader["connectSourcePhoneNumberArn"].readIfPresent() ?? "" + value.wisdomTemplateArn = try reader["wisdomTemplateArn"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SmsOutboundMode { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsOutboundMode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agentless(agentless): + try writer["agentless"].write(agentless, with: ConnectCampaignsV2ClientTypes.AgentlessConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SmsOutboundMode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "agentless": + return .agentless(try reader["agentless"].read(with: ConnectCampaignsV2ClientTypes.AgentlessConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["capacity"].write(value.capacity) + try writer["connectQueueId"].write(value.connectQueueId) + try writer["defaultOutboundConfig"].write(value.defaultOutboundConfig, with: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig.write(value:to:)) + try writer["outboundMode"].write(value.outboundMode, with: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeConfig() + value.capacity = try reader["capacity"].readIfPresent() + value.connectQueueId = try reader["connectQueueId"].readIfPresent() + value.outboundMode = try reader["outboundMode"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode.read(from:)) + value.defaultOutboundConfig = try reader["defaultOutboundConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["answerMachineDetectionConfig"].write(value.answerMachineDetectionConfig, with: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig.write(value:to:)) + try writer["connectContactFlowId"].write(value.connectContactFlowId) + try writer["connectSourcePhoneNumber"].write(value.connectSourcePhoneNumber) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.TelephonyOutboundConfig() + value.connectContactFlowId = try reader["connectContactFlowId"].readIfPresent() ?? "" + value.connectSourcePhoneNumber = try reader["connectSourcePhoneNumber"].readIfPresent() + value.answerMachineDetectionConfig = try reader["answerMachineDetectionConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["awaitAnswerMachinePrompt"].write(value.awaitAnswerMachinePrompt) + try writer["enableAnswerMachineDetection"].write(value.enableAnswerMachineDetection) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig() + value.enableAnswerMachineDetection = try reader["enableAnswerMachineDetection"].readIfPresent() ?? false + value.awaitAnswerMachinePrompt = try reader["awaitAnswerMachinePrompt"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyOutboundMode { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyOutboundMode?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .agentless(agentless): + try writer["agentless"].write(agentless, with: ConnectCampaignsV2ClientTypes.AgentlessConfig.write(value:to:)) + case let .predictive(predictive): + try writer["predictive"].write(predictive, with: ConnectCampaignsV2ClientTypes.PredictiveConfig.write(value:to:)) + case let .progressive(progressive): + try writer["progressive"].write(progressive, with: ConnectCampaignsV2ClientTypes.ProgressiveConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.TelephonyOutboundMode { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "progressive": + return .progressive(try reader["progressive"].read(with: ConnectCampaignsV2ClientTypes.ProgressiveConfig.read(from:))) + case "predictive": + return .predictive(try reader["predictive"].read(with: ConnectCampaignsV2ClientTypes.PredictiveConfig.read(from:))) + case "agentless": + return .agentless(try reader["agentless"].read(with: ConnectCampaignsV2ClientTypes.AgentlessConfig.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.PredictiveConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.PredictiveConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bandwidthAllocation"].write(value.bandwidthAllocation) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.PredictiveConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.PredictiveConfig() + value.bandwidthAllocation = try reader["bandwidthAllocation"].readIfPresent() ?? 0.0 + return value + } +} + +extension ConnectCampaignsV2ClientTypes.ProgressiveConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.ProgressiveConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["bandwidthAllocation"].write(value.bandwidthAllocation) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.ProgressiveConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.ProgressiveConfig() + value.bandwidthAllocation = try reader["bandwidthAllocation"].readIfPresent() ?? 0.0 + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SuccessfulCampaignStateResponse() + value.campaignId = try reader["campaignId"].readIfPresent() + value.state = try reader["state"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.FailedCampaignStateResponse() + value.campaignId = try reader["campaignId"].readIfPresent() + value.failureCode = try reader["failureCode"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.InstanceConfig { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.InstanceConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.InstanceConfig() + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.serviceLinkedRoleArn = try reader["serviceLinkedRoleArn"].readIfPresent() ?? "" + value.encryptionConfig = try reader["encryptionConfig"].readIfPresent(with: ConnectCampaignsV2ClientTypes.EncryptionConfig.read(from:)) + return value + } +} + +extension ConnectCampaignsV2ClientTypes.EncryptionConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.EncryptionConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["enabled"].write(value.enabled) + try writer["encryptionType"].write(value.encryptionType) + try writer["keyArn"].write(value.keyArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.EncryptionConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.EncryptionConfig() + value.enabled = try reader["enabled"].readIfPresent() ?? false + value.encryptionType = try reader["encryptionType"].readIfPresent() + value.keyArn = try reader["keyArn"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.InstanceOnboardingJobStatus() + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") + value.failureCode = try reader["failureCode"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CampaignSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CampaignSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CampaignSummary() + value.id = try reader["id"].readIfPresent() ?? "" + value.arn = try reader["arn"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.connectInstanceId = try reader["connectInstanceId"].readIfPresent() ?? "" + value.channelSubtypes = try reader["channelSubtypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + value.schedule = try reader["schedule"].readIfPresent(with: ConnectCampaignsV2ClientTypes.Schedule.read(from:)) + value.connectCampaignFlowArn = try reader["connectCampaignFlowArn"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.IntegrationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.IntegrationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "customerProfiles": + return .customerprofiles(try reader["customerProfiles"].read(with: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary.read(from:))) + case "qConnect": + return .qconnect(try reader["qConnect"].read(with: ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.QConnectIntegrationSummary() + value.knowledgeBaseArn = try reader["knowledgeBaseArn"].readIfPresent() ?? "" + return value + } +} + +extension ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationSummary() + value.domainArn = try reader["domainArn"].readIfPresent() ?? "" + value.objectTypeNames = try reader["objectTypeNames"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) ?? [:] + return value + } +} + +extension ConnectCampaignsV2ClientTypes.SuccessfulRequest { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.SuccessfulRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.SuccessfulRequest() + value.clientToken = try reader["clientToken"].readIfPresent() + value.id = try reader["id"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.FailedRequest { + + static func read(from reader: SmithyJSON.Reader) throws -> ConnectCampaignsV2ClientTypes.FailedRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ConnectCampaignsV2ClientTypes.FailedRequest() + value.clientToken = try reader["clientToken"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.failureCode = try reader["failureCode"].readIfPresent() + return value + } +} + +extension ConnectCampaignsV2ClientTypes.IntegrationIdentifier { + + static func write(value: ConnectCampaignsV2ClientTypes.IntegrationIdentifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customerprofiles(customerprofiles): + try writer["customerProfiles"].write(customerprofiles, with: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier.write(value:to:)) + case let .qconnect(qconnect): + try writer["qConnect"].write(qconnect, with: ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier { + + static func write(value: ConnectCampaignsV2ClientTypes.QConnectIntegrationIdentifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["knowledgeBaseArn"].write(value.knowledgeBaseArn) + } +} + +extension ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier { + + static func write(value: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationIdentifier?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["domainArn"].write(value.domainArn) + } +} + +extension ConnectCampaignsV2ClientTypes.CampaignFilters { + + static func write(value: ConnectCampaignsV2ClientTypes.CampaignFilters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["instanceIdFilter"].write(value.instanceIdFilter, with: ConnectCampaignsV2ClientTypes.InstanceIdFilter.write(value:to:)) + } +} + +extension ConnectCampaignsV2ClientTypes.InstanceIdFilter { + + static func write(value: ConnectCampaignsV2ClientTypes.InstanceIdFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["operator"].write(value.`operator`) + try writer["value"].write(value.value) + } +} + +extension ConnectCampaignsV2ClientTypes.IntegrationConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.IntegrationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .customerprofiles(customerprofiles): + try writer["customerProfiles"].write(customerprofiles, with: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig.write(value:to:)) + case let .qconnect(qconnect): + try writer["qConnect"].write(qconnect, with: ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.QConnectIntegrationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["knowledgeBaseArn"].write(value.knowledgeBaseArn) + } +} + +extension ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig { + + static func write(value: ConnectCampaignsV2ClientTypes.CustomerProfilesIntegrationConfig?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["domainArn"].write(value.domainArn) + try writer["objectTypeNames"].writeMap(value.objectTypeNames, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ConnectCampaignsV2ClientTypes.OutboundRequest { + + static func write(value: ConnectCampaignsV2ClientTypes.OutboundRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["channelSubtypeParameters"].write(value.channelSubtypeParameters, with: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters.write(value:to:)) + try writer["clientToken"].write(value.clientToken) + try writer["expirationTime"].writeTimestamp(value.expirationTime, format: SmithyTimestamps.TimestampFormat.dateTime) + } +} + +extension ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.ChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .email(email): + try writer["email"].write(email, with: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters.write(value:to:)) + case let .sms(sms): + try writer["sms"].write(sms, with: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters.write(value:to:)) + case let .telephony(telephony): + try writer["telephony"].write(telephony, with: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + +extension ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.EmailChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourceEmailAddress"].write(value.connectSourceEmailAddress) + try writer["destinationEmailAddress"].write(value.destinationEmailAddress) + try writer["templateArn"].write(value.templateArn) + try writer["templateParameters"].writeMap(value.templateParameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.SmsChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectSourcePhoneNumberArn"].write(value.connectSourcePhoneNumberArn) + try writer["destinationPhoneNumber"].write(value.destinationPhoneNumber) + try writer["templateArn"].write(value.templateArn) + try writer["templateParameters"].writeMap(value.templateParameters, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + +extension ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters { + + static func write(value: ConnectCampaignsV2ClientTypes.TelephonyChannelSubtypeParameters?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["answerMachineDetectionConfig"].write(value.answerMachineDetectionConfig, with: ConnectCampaignsV2ClientTypes.AnswerMachineDetectionConfig.write(value:to:)) + try writer["attributes"].writeMap(value.attributes, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["connectSourcePhoneNumber"].write(value.connectSourcePhoneNumber) + try writer["destinationPhoneNumber"].write(value.destinationPhoneNumber) + } +} + +public enum ConnectCampaignsV2ClientTypes {} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift new file mode 100644 index 00000000000..8133c1f1153 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Paginators.swift @@ -0,0 +1,74 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import protocol ClientRuntime.PaginateToken +import struct ClientRuntime.PaginatorSequence + +extension ConnectCampaignsV2Client { + /// Paginate over `[ListCampaignsOutput]` 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 `[ListCampaignsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListCampaignsOutput` + public func listCampaignsPaginated(input: ListCampaignsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listCampaigns(input:)) + } +} + +extension ListCampaignsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListCampaignsInput { + return ListCampaignsInput( + filters: self.filters, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListCampaignsInput, OperationStackOutput == ListCampaignsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listCampaignsPaginated` + /// to access the nested member `[ConnectCampaignsV2ClientTypes.CampaignSummary]` + /// - Returns: `[ConnectCampaignsV2ClientTypes.CampaignSummary]` + public func campaignSummaryList() async throws -> [ConnectCampaignsV2ClientTypes.CampaignSummary] { + return try await self.asyncCompactMap { item in item.campaignSummaryList } + } +} +extension ConnectCampaignsV2Client { + /// Paginate over `[ListConnectInstanceIntegrationsOutput]` 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 `[ListConnectInstanceIntegrationsInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListConnectInstanceIntegrationsOutput` + public func listConnectInstanceIntegrationsPaginated(input: ListConnectInstanceIntegrationsInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listConnectInstanceIntegrations(input:)) + } +} + +extension ListConnectInstanceIntegrationsInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListConnectInstanceIntegrationsInput { + return ListConnectInstanceIntegrationsInput( + connectInstanceId: self.connectInstanceId, + maxResults: self.maxResults, + nextToken: token + )} +} + +extension PaginatorSequence where OperationStackInput == ListConnectInstanceIntegrationsInput, OperationStackOutput == ListConnectInstanceIntegrationsOutput { + /// This paginator transforms the `AsyncSequence` returned by `listConnectInstanceIntegrationsPaginated` + /// to access the nested member `[ConnectCampaignsV2ClientTypes.IntegrationSummary]` + /// - Returns: `[ConnectCampaignsV2ClientTypes.IntegrationSummary]` + public func integrationSummaryList() async throws -> [ConnectCampaignsV2ClientTypes.IntegrationSummary] { + return try await self.asyncCompactMap { item in item.integrationSummaryList } + } +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift new file mode 100644 index 00000000000..cf8271b8847 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/Plugins.swift @@ -0,0 +1,82 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +import class AWSClientRuntime.AWSClientConfigDefaultsProvider +import protocol ClientRuntime.ClientConfiguration +import protocol ClientRuntime.Plugin +import protocol SmithyHTTPAuthAPI.AuthSchemeResolver +import protocol SmithyIdentity.AWSCredentialIdentityResolver +import protocol SmithyIdentity.BearerTokenIdentityResolver +import struct AWSSDKHTTPAuth.SigV4AuthScheme +import struct SmithyIdentity.BearerTokenIdentity +import struct SmithyIdentity.StaticBearerTokenIdentityResolver +import typealias SmithyHTTPAuthAPI.AuthSchemes + +public class ConnectCampaignsV2ClientEndpointPlugin: Plugin { + private var endpointResolver: EndpointResolver + + public init(endpointResolver: EndpointResolver) { + self.endpointResolver = endpointResolver + } + + public convenience init() throws { + self.init(endpointResolver: try DefaultEndpointResolver()) + } + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration { + config.endpointResolver = self.endpointResolver + } + } +} + +public class DefaultAWSAuthSchemePlugin: ClientRuntime.Plugin { + + public init() {} + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration { + config.authSchemeResolver = DefaultConnectCampaignsV2AuthSchemeResolver() + config.authSchemes = [AWSSDKHTTPAuth.SigV4AuthScheme()] + config.awsCredentialIdentityResolver = try AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver() + config.bearerTokenIdentityResolver = SmithyIdentity.StaticBearerTokenIdentityResolver(token: SmithyIdentity.BearerTokenIdentity(token: "")) + } + } +} + +public class ConnectCampaignsV2ClientAuthSchemePlugin: ClientRuntime.Plugin { + private var authSchemes: SmithyHTTPAuthAPI.AuthSchemes? + private var authSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver? + private var awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? + private var bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? + + public init(authSchemes: SmithyHTTPAuthAPI.AuthSchemes? = nil, authSchemeResolver: ConnectCampaignsV2AuthSchemeResolver? = nil, awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, bearerTokenIdentityResolver: (any SmithyIdentity.BearerTokenIdentityResolver)? = nil) { + self.authSchemeResolver = authSchemeResolver + self.authSchemes = authSchemes + self.awsCredentialIdentityResolver = awsCredentialIdentityResolver + self.bearerTokenIdentityResolver = bearerTokenIdentityResolver + } + + public func configureClient(clientConfiguration: ClientRuntime.ClientConfiguration) throws { + if let config = clientConfiguration as? ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration { + if (self.authSchemes != nil) { + config.authSchemes = self.authSchemes + } + if (self.authSchemeResolver != nil) { + config.authSchemeResolver = self.authSchemeResolver! + } + if (self.awsCredentialIdentityResolver != nil) { + config.awsCredentialIdentityResolver = self.awsCredentialIdentityResolver! + } + if (self.bearerTokenIdentityResolver != nil) { + config.bearerTokenIdentityResolver = self.bearerTokenIdentityResolver! + } + } + } +} diff --git a/Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift b/Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift new file mode 100644 index 00000000000..5c86dafc560 --- /dev/null +++ b/Sources/Services/AWSConnectCampaignsV2/Tests/AWSConnectCampaignsV2Tests/EndpointResolverTest.swift @@ -0,0 +1,516 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +// Code generated by smithy-swift-codegen. DO NOT EDIT! + +@testable import AWSConnectCampaignsV2 +import XCTest +import enum ClientRuntime.EndpointError +import enum SmithyTestUtil.TestInitializer +import struct SmithyHTTPAPI.Endpoint +import struct SmithyHTTPAPI.Headers + +class EndpointResolverTest: XCTestCase { + + override class func setUp() { + SmithyTestUtil.TestInitializer.initialize() + } + + /// For region us-east-1 with FIPS enabled and DualStack enabled + func testResolve1() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS enabled and DualStack disabled + func testResolve2() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS disabled and DualStack enabled + func testResolve3() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-east-1 with FIPS disabled and DualStack disabled + func testResolve4() throws { + let endpointParams = EndpointParams( + region: "us-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS enabled and DualStack enabled + func testResolve5() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.cn-north-1.api.amazonwebservices.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS enabled and DualStack disabled + func testResolve6() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.cn-north-1.amazonaws.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS disabled and DualStack enabled + func testResolve7() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.cn-north-1.api.amazonwebservices.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region cn-north-1 with FIPS disabled and DualStack disabled + func testResolve8() throws { + let endpointParams = EndpointParams( + region: "cn-north-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.cn-north-1.amazonaws.com.cn", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS enabled and DualStack enabled + func testResolve9() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-gov-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS enabled and DualStack disabled + func testResolve10() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-gov-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS disabled and DualStack enabled + func testResolve11() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-gov-east-1.api.aws", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-gov-east-1 with FIPS disabled and DualStack disabled + func testResolve12() throws { + let endpointParams = EndpointParams( + region: "us-gov-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-gov-east-1.amazonaws.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-iso-east-1 with FIPS enabled and DualStack enabled + func testResolve13() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("FIPS and DualStack are enabled, but this partition does not support one or both", message) + default: + XCTFail() + } + } + } + + /// For region us-iso-east-1 with FIPS enabled and DualStack disabled + func testResolve14() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-iso-east-1.c2s.ic.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-iso-east-1 with FIPS disabled and DualStack enabled + func testResolve15() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("DualStack is enabled but this partition does not support DualStack", message) + default: + XCTFail() + } + } + } + + /// For region us-iso-east-1 with FIPS disabled and DualStack disabled + func testResolve16() throws { + let endpointParams = EndpointParams( + region: "us-iso-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-iso-east-1.c2s.ic.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-isob-east-1 with FIPS enabled and DualStack enabled + func testResolve17() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: true, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("FIPS and DualStack are enabled, but this partition does not support one or both", message) + default: + XCTFail() + } + } + } + + /// For region us-isob-east-1 with FIPS enabled and DualStack disabled + func testResolve18() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns-fips.us-isob-east-1.sc2s.sgov.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For region us-isob-east-1 with FIPS disabled and DualStack enabled + func testResolve19() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("DualStack is enabled but this partition does not support DualStack", message) + default: + XCTFail() + } + } + } + + /// For region us-isob-east-1 with FIPS disabled and DualStack disabled + func testResolve20() throws { + let endpointParams = EndpointParams( + region: "us-isob-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://connect-campaigns.us-isob-east-1.sc2s.sgov.gov", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with region set and fips disabled and dualstack disabled + func testResolve21() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://example.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with region not set and fips disabled and dualstack disabled + func testResolve22() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + useDualStack: false, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + let actual = try resolver.resolve(params: endpointParams) + + let properties: [String: AnyHashable] = + [:] + + let headers = SmithyHTTPAPI.Headers() + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://example.com", headers: headers, properties: properties) + + XCTAssertEqual(expected, actual) + } + + /// For custom endpoint with fips enabled and dualstack disabled + func testResolve23() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: false, + useFIPS: true + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: FIPS and custom endpoint are not supported", message) + default: + XCTFail() + } + } + } + + /// For custom endpoint with fips disabled and dualstack enabled + func testResolve24() throws { + let endpointParams = EndpointParams( + endpoint: "https://example.com", + region: "us-east-1", + useDualStack: true, + useFIPS: false + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: Dualstack and custom endpoint are not supported", message) + default: + XCTFail() + } + } + } + + /// Missing region + func testResolve25() throws { + let endpointParams = EndpointParams( + ) + let resolver = try DefaultEndpointResolver() + + XCTAssertThrowsError(try resolver.resolve(params: endpointParams)) { error in + switch error { + case ClientRuntime.EndpointError.unresolved(let message): + XCTAssertEqual("Invalid Configuration: Missing Region", message) + default: + XCTFail() + } + } + } + +} diff --git a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift index 9daa8459e36..661cc1fe66b 100644 --- a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift +++ b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCasesClient: ClientRuntime.Client { public static let clientName = "ConnectCasesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectCasesClient.ConnectCasesClientConfiguration let serviceName = "ConnectCases" diff --git a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift index 8bf9587c7d9..e6235c9b452 100644 --- a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift +++ b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectContactLensClient: ClientRuntime.Client { public static let clientName = "ConnectContactLensClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectContactLensClient.ConnectContactLensClientConfiguration let serviceName = "Connect Contact Lens" diff --git a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift index af71c76fc83..24d9ebcb3d9 100644 --- a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift +++ b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectParticipantClient: ClientRuntime.Client { public static let clientName = "ConnectParticipantClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ConnectParticipantClient.ConnectParticipantClientConfiguration let serviceName = "ConnectParticipant" diff --git a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift index 439b8fab8f1..af714fbc18c 100644 --- a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift +++ b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlCatalogClient: ClientRuntime.Client { public static let clientName = "ControlCatalogClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ControlCatalogClient.ControlCatalogClientConfiguration let serviceName = "ControlCatalog" diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift index d30efa58de8..971a663d801 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlTowerClient: ClientRuntime.Client { public static let clientName = "ControlTowerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ControlTowerClient.ControlTowerClientConfiguration let serviceName = "ControlTower" diff --git a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift index b0dbc7cca12..709ccb60bb7 100644 --- a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift +++ b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostExplorerClient: ClientRuntime.Client { public static let clientName = "CostExplorerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CostExplorerClient.CostExplorerClientConfiguration let serviceName = "Cost Explorer" diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift index 6d485bc6680..69792b3e449 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostOptimizationHubClient: ClientRuntime.Client { public static let clientName = "CostOptimizationHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CostOptimizationHubClient.CostOptimizationHubClientConfiguration let serviceName = "Cost Optimization Hub" diff --git a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift index c7d0a055bda..1410cd349ba 100644 --- a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift +++ b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostandUsageReportClient: ClientRuntime.Client { public static let clientName = "CostandUsageReportClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CostandUsageReportClient.CostandUsageReportClientConfiguration let serviceName = "Cost and Usage Report" diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift index 0a7a6de355a..fd2e02ce43e 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CustomerProfilesClient: ClientRuntime.Client { public static let clientName = "CustomerProfilesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: CustomerProfilesClient.CustomerProfilesClientConfiguration let serviceName = "Customer Profiles" diff --git a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift index a59452b6345..b7ecd826a6b 100644 --- a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift +++ b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DAXClient: ClientRuntime.Client { public static let clientName = "DAXClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DAXClient.DAXClientConfiguration let serviceName = "DAX" diff --git a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift index db5670848a7..52443bfa148 100644 --- a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift +++ b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DLMClient: ClientRuntime.Client { public static let clientName = "DLMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DLMClient.DLMClientConfiguration let serviceName = "DLM" diff --git a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift index 39bb5b2ad4d..ee8d5909174 100644 --- a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift +++ b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataBrewClient: ClientRuntime.Client { public static let clientName = "DataBrewClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataBrewClient.DataBrewClientConfiguration let serviceName = "DataBrew" diff --git a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift index fe65a803e29..d917b1b0fef 100644 --- a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift +++ b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataExchangeClient: ClientRuntime.Client { public static let clientName = "DataExchangeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataExchangeClient.DataExchangeClientConfiguration let serviceName = "DataExchange" diff --git a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift index a902a6ffc4d..da7f05882d9 100644 --- a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift +++ b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataPipelineClient: ClientRuntime.Client { public static let clientName = "DataPipelineClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataPipelineClient.DataPipelineClientConfiguration let serviceName = "Data Pipeline" diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift index 1e6f151e67b..25efad7fcbf 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataSyncClient: ClientRuntime.Client { public static let clientName = "DataSyncClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataSyncClient.DataSyncClientConfiguration let serviceName = "DataSync" @@ -2691,7 +2691,7 @@ extension DataSyncClient { /// Performs the `DescribeTaskExecution` operation on the `FmrsService` service. /// - /// Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing data transfer or check the results of the transfer. Some DescribeTaskExecution response elements are only relevant to a specific task mode. For information, see [Understanding task mode differences](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences) and [Understanding data transfer performance metrics](https://docs.aws.amazon.com/datasync/latest/userguide/transfer-performance-metrics.html). + /// Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing data transfer or check the results of the transfer. Some DescribeTaskExecution response elements are only relevant to a specific task mode. For information, see [Understanding task mode differences](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences) and [Understanding data transfer performance counters](https://docs.aws.amazon.com/datasync/latest/userguide/transfer-performance-counters.html). /// /// - Parameter DescribeTaskExecutionInput : DescribeTaskExecutionRequest /// diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift index 04bc8ce0c34..bac7bab9d56 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/Models.swift @@ -2712,9 +2712,9 @@ public struct CreateTaskInput: Swift.Sendable { public var tags: [DataSyncClientTypes.TagListEntry]? /// Specifies one of the following task modes for your data transfer: /// - /// * ENHANCED - Transfer virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. Currently available for transfers between Amazon S3 locations. To create an Enhanced mode task, the IAM role that you use to call the CreateTask operation must have the iam:CreateServiceLinkedRole permission. + /// * ENHANCED - Transfer virtually unlimited numbers of objects with higher performance than Basic mode. Enhanced mode tasks optimize the data transfer process by listing, preparing, transferring, and verifying data in parallel. Enhanced mode is currently available for transfers between Amazon S3 locations. To create an Enhanced mode task, the IAM role that you use to call the CreateTask operation must have the iam:CreateServiceLinkedRole permission. /// - /// * BASIC (default) - Transfer files or objects between Amazon Web Services storage and on-premises, edge, or other cloud storage. DataSync [quotas](https://docs.aws.amazon.com/datasync/latest/userguide/datasync-limits.html) apply. + /// * BASIC (default) - Transfer files or objects between Amazon Web Services storage and all other supported DataSync locations. Basic mode tasks are subject to [quotas](https://docs.aws.amazon.com/datasync/latest/userguide/datasync-limits.html) on the number of files, objects, and directories in a dataset. Basic mode sequentially prepares, transfers, and verifies data, making it slower than Enhanced mode for most workloads. /// /// /// For more information, see [Understanding task mode differences](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html#task-mode-differences). @@ -4542,7 +4542,7 @@ extension DataSyncClientTypes { /// The number of objects that DataSync finds at your locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). public struct TaskExecutionFilesListedDetail: Swift.Sendable { - /// The number of objects that DataSync finds at your destination location. This metric is only applicable if you [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-file-object-handling) to delete data in the destination that isn't in the source. + /// The number of objects that DataSync finds at your destination location. This counter is only applicable if you [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-file-object-handling) to delete data in the destination that isn't in the source. public var atDestinationForDelete: Swift.Int /// The number of objects that DataSync finds at your source location. /// @@ -4717,7 +4717,7 @@ extension DataSyncClientTypes { /// DescribeTaskExecutionResponse public struct DescribeTaskExecutionOutput: Swift.Sendable { - /// The number of physical bytes that DataSync transfers over the network after compression (if compression is possible). This number is typically less than [BytesTransferred](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-BytesTransferred) unless the data isn't compressible. Not currently supported with [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). + /// The number of physical bytes that DataSync transfers over the network after compression (if compression is possible). This number is typically less than [BytesTransferred](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-BytesTransferred) unless the data isn't compressible. public var bytesCompressed: Swift.Int /// The number of bytes that DataSync sends to the network before compression (if compression is possible). For the number of bytes transferred over the network, see [BytesCompressed](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html#DataSync-DescribeTaskExecution-response-BytesCompressed). public var bytesTransferred: Swift.Int @@ -4725,9 +4725,9 @@ public struct DescribeTaskExecutionOutput: Swift.Sendable { public var bytesWritten: Swift.Int /// The number of logical bytes that DataSync expects to write to the destination location. public var estimatedBytesToTransfer: Swift.Int - /// The number of files, objects, and directories that DataSync expects to delete in your destination location. If you don't [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) to delete data in the destination that isn't in the source, the value is always 0. + /// The number of files, objects, and directories that DataSync expects to delete in your destination location. If you don't configure your task to [delete data in the destination that isn't in the source](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html), the value is always 0. public var estimatedFilesToDelete: Swift.Int - /// The number of files, objects, and directories that DataSync expects to transfer over the network. This value is calculated during the task execution's PREPARING[step](https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses) before the TRANSFERRING step. How this gets calculated depends primarily on your task’s [transfer mode](https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-TransferMode) configuration: + /// The number of files, objects, and directories that DataSync expects to transfer over the network. This value is calculated while DataSync [prepares](https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses) the transfer. How this gets calculated depends primarily on your task’s [transfer mode](https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-TransferMode) configuration: /// /// * If TranserMode is set to CHANGED - The calculation is based on comparing the content of the source and destination locations and determining the difference that needs to be transferred. The difference can include: /// @@ -4744,17 +4744,17 @@ public struct DescribeTaskExecutionOutput: Swift.Sendable { public var estimatedFilesToTransfer: Swift.Int /// A list of filter rules that exclude specific data during your transfer. For more information and examples, see [Filtering data transferred by DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). public var excludes: [DataSyncClientTypes.FilterRule]? - /// The number of files, objects, and directories that DataSync actually deletes in your destination location. If you don't [configure your task](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) to delete data in the destination that isn't in the source, the value is always 0. + /// The number of files, objects, and directories that DataSync actually deletes in your destination location. If you don't configure your task to [delete data in the destination that isn't in the source](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html), the value is always 0. public var filesDeleted: Swift.Int /// The number of objects that DataSync fails to prepare, transfer, verify, and delete during your task execution. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). public var filesFailed: DataSyncClientTypes.TaskExecutionFilesFailedDetail? /// The number of objects that DataSync finds at your locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). public var filesListed: DataSyncClientTypes.TaskExecutionFilesListedDetail? - /// The number of objects that DataSync will attempt to transfer after comparing your source and destination locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). This metric isn't applicable if you configure your task to [transfer all data](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-transfer-mode). In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations. + /// The number of objects that DataSync will attempt to transfer after comparing your source and destination locations. Applies only to [Enhanced mode tasks](https://docs.aws.amazon.com/datasync/latest/userguide/choosing-task-mode.html). This counter isn't applicable if you configure your task to [transfer all data](https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html#task-option-transfer-mode). In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations. public var filesPrepared: Swift.Int /// The number of files, objects, and directories that DataSync skips during your transfer. public var filesSkipped: Swift.Int - /// The number of files, objects, and directories that DataSync actually transfers over the network. This value is updated periodically during the task execution's TRANSFERRING[step](https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#understand-task-execution-statuses) when something is read from the source and sent over the network. If DataSync fails to transfer something, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an exact indication of what's transferring or to monitor your task execution. + /// The number of files, objects, and directories that DataSync actually transfers over the network. This value is updated periodically during your task execution when something is read from the source and sent over the network. If DataSync fails to transfer something, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an exact indication of what's transferring or to monitor your task execution. public var filesTransferred: Swift.Int /// The number of files, objects, and directories that DataSync verifies during your transfer. When you configure your task to [verify only the data that's transferred](https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html), DataSync doesn't verify directories in some situations or files that fail to transfer. public var filesVerified: Swift.Int diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift index 14e7ee1002c..0408a0d9d35 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataZoneClient: ClientRuntime.Client { public static let clientName = "DataZoneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DataZoneClient.DataZoneClientConfiguration let serviceName = "DataZone" diff --git a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift index 616c27bd1ff..5d3b0bbf5ff 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift +++ b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DatabaseMigrationClient: ClientRuntime.Client { public static let clientName = "DatabaseMigrationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DatabaseMigrationClient.DatabaseMigrationClientConfiguration let serviceName = "Database Migration" diff --git a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift index 5239f5b7b3d..3543f6b0750 100644 --- a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift +++ b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeadlineClient: ClientRuntime.Client { public static let clientName = "DeadlineClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DeadlineClient.DeadlineClientConfiguration let serviceName = "deadline" diff --git a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift index a9287daaf3b..a752fed55bc 100644 --- a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift +++ b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DetectiveClient: ClientRuntime.Client { public static let clientName = "DetectiveClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DetectiveClient.DetectiveClientConfiguration let serviceName = "Detective" diff --git a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift index 0751b1a79bf..10efa16d716 100644 --- a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift +++ b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DevOpsGuruClient: ClientRuntime.Client { public static let clientName = "DevOpsGuruClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DevOpsGuruClient.DevOpsGuruClientConfiguration let serviceName = "DevOps Guru" diff --git a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift index df68f690a6e..5f5622a3641 100644 --- a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift +++ b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeviceFarmClient: ClientRuntime.Client { public static let clientName = "DeviceFarmClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DeviceFarmClient.DeviceFarmClientConfiguration let serviceName = "Device Farm" diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift index a5a61f2e59b..c7d8f10538f 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectConnectClient: ClientRuntime.Client { public static let clientName = "DirectConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DirectConnectClient.DirectConnectClientConfiguration let serviceName = "Direct Connect" diff --git a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift index 4150ca19e26..633385786c5 100644 --- a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift +++ b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryClient: ClientRuntime.Client { public static let clientName = "DirectoryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DirectoryClient.DirectoryClientConfiguration let serviceName = "Directory" diff --git a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift index bf7d335d38b..7a20b15ba82 100644 --- a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift +++ b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryServiceDataClient: ClientRuntime.Client { public static let clientName = "DirectoryServiceDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DirectoryServiceDataClient.DirectoryServiceDataClientConfiguration let serviceName = "Directory Service Data" diff --git a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift index d5dbb6a3207..3fbd3e27368 100644 --- a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift +++ b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBClient: ClientRuntime.Client { public static let clientName = "DocDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DocDBClient.DocDBClientConfiguration let serviceName = "DocDB" diff --git a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift index c041dfb94e5..e3af29a92c6 100644 --- a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift +++ b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBElasticClient: ClientRuntime.Client { public static let clientName = "DocDBElasticClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DocDBElasticClient.DocDBElasticClientConfiguration let serviceName = "DocDB Elastic" diff --git a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift index b110fcf074c..0363d52beed 100644 --- a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift +++ b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DrsClient: ClientRuntime.Client { public static let clientName = "DrsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DrsClient.DrsClientConfiguration let serviceName = "drs" diff --git a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift index df43842e8ff..5c4f080f0de 100644 --- a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift +++ b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBClient: ClientRuntime.Client { public static let clientName = "DynamoDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DynamoDBClient.DynamoDBClientConfiguration let serviceName = "DynamoDB" diff --git a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift index 7d318d0c0c4..d93dc7704ff 100644 --- a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift +++ b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBStreamsClient: ClientRuntime.Client { public static let clientName = "DynamoDBStreamsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: DynamoDBStreamsClient.DynamoDBStreamsClientConfiguration let serviceName = "DynamoDB Streams" diff --git a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift index 964654cb662..49f7deeb29a 100644 --- a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift +++ b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EBSClient: ClientRuntime.Client { public static let clientName = "EBSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EBSClient.EBSClientConfiguration let serviceName = "EBS" diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift index ae1f211eacb..dedfde28de6 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2Client: ClientRuntime.Client { public static let clientName = "EC2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EC2Client.EC2ClientConfiguration let serviceName = "EC2" diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift index ef34e6f98a8..c08591ab2ee 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift @@ -14491,16 +14491,12 @@ extension EC2ClientTypes { extension EC2ClientTypes { public enum FleetCapacityReservationUsageStrategy: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { - case `none` case useCapacityReservationsFirst - case useCapacityReservationsOnly case sdkUnknown(Swift.String) public static var allCases: [FleetCapacityReservationUsageStrategy] { return [ - .none, - .useCapacityReservationsFirst, - .useCapacityReservationsOnly + .useCapacityReservationsFirst ] } @@ -14511,9 +14507,7 @@ extension EC2ClientTypes { public var rawValue: Swift.String { switch self { - case .none: return "none" case .useCapacityReservationsFirst: return "use-capacity-reservations-first" - case .useCapacityReservationsOnly: return "use-capacity-reservations-only" case let .sdkUnknown(s): return s } } diff --git a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift index 9899075b2ea..069c2f7346e 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift +++ b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2InstanceConnectClient: ClientRuntime.Client { public static let clientName = "EC2InstanceConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EC2InstanceConnectClient.EC2InstanceConnectClientConfiguration let serviceName = "EC2 Instance Connect" diff --git a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift index de4995c1a77..1dc17e8fc41 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRClient: ClientRuntime.Client { public static let clientName = "ECRClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ECRClient.ECRClientConfiguration let serviceName = "ECR" diff --git a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift index ea26063ad42..a8e3d89c230 100644 --- a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift +++ b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRPUBLICClient: ClientRuntime.Client { public static let clientName = "ECRPUBLICClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ECRPUBLICClient.ECRPUBLICClientConfiguration let serviceName = "ECR PUBLIC" diff --git a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift index 5bb335ee67a..c150ceca078 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECSClient: ClientRuntime.Client { public static let clientName = "ECSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ECSClient.ECSClientConfiguration let serviceName = "ECS" diff --git a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift index 67608db086b..af23d69e2e1 100644 --- a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift +++ b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EFSClient: ClientRuntime.Client { public static let clientName = "EFSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EFSClient.EFSClientConfiguration let serviceName = "EFS" diff --git a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift index 7b4015a153b..2ab905e374f 100644 --- a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift +++ b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSClient: ClientRuntime.Client { public static let clientName = "EKSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EKSClient.EKSClientConfiguration let serviceName = "EKS" diff --git a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift index 506949004e2..e2754b127b2 100644 --- a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift +++ b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSAuthClient: ClientRuntime.Client { public static let clientName = "EKSAuthClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EKSAuthClient.EKSAuthClientConfiguration let serviceName = "EKS Auth" diff --git a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift index 495e6ee2d17..095f65f8031 100644 --- a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift +++ b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRClient: ClientRuntime.Client { public static let clientName = "EMRClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EMRClient.EMRClientConfiguration let serviceName = "EMR" diff --git a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift index 42bf87db6a7..2cfe28b9c14 100644 --- a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift +++ b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRServerlessClient: ClientRuntime.Client { public static let clientName = "EMRServerlessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EMRServerlessClient.EMRServerlessClientConfiguration let serviceName = "EMR Serverless" diff --git a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift index d2558c42bc4..d8faa71c54f 100644 --- a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift +++ b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRcontainersClient: ClientRuntime.Client { public static let clientName = "EMRcontainersClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EMRcontainersClient.EMRcontainersClientConfiguration let serviceName = "EMR containers" diff --git a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift index 70571313d29..5b35cdf2fb7 100644 --- a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift +++ b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElastiCacheClient: ClientRuntime.Client { public static let clientName = "ElastiCacheClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElastiCacheClient.ElastiCacheClientConfiguration let serviceName = "ElastiCache" diff --git a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift index 121866d2139..5d85bbd057a 100644 --- a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift +++ b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticBeanstalkClient: ClientRuntime.Client { public static let clientName = "ElasticBeanstalkClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticBeanstalkClient.ElasticBeanstalkClientConfiguration let serviceName = "Elastic Beanstalk" diff --git a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift index c9d7f5406cd..cff7868d8cb 100644 --- a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift +++ b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticInferenceClient: ClientRuntime.Client { public static let clientName = "ElasticInferenceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticInferenceClient.ElasticInferenceClientConfiguration let serviceName = "Elastic Inference" diff --git a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift index 76f3980e709..2789d130be1 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift +++ b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingClient: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingClient.ElasticLoadBalancingClientConfiguration let serviceName = "Elastic Load Balancing" diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift index b4258e1e886..5f7a7ee0f31 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingv2Client: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingv2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingv2Client.ElasticLoadBalancingv2ClientConfiguration let serviceName = "Elastic Load Balancing v2" diff --git a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift index a8388d77d71..28b718de979 100644 --- a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift +++ b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticTranscoderClient: ClientRuntime.Client { public static let clientName = "ElasticTranscoderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticTranscoderClient.ElasticTranscoderClientConfiguration let serviceName = "Elastic Transcoder" diff --git a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift index d745e5b2e59..9e2c3efb8df 100644 --- a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift +++ b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticsearchClient: ClientRuntime.Client { public static let clientName = "ElasticsearchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ElasticsearchClient.ElasticsearchClientConfiguration let serviceName = "Elasticsearch" diff --git a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift index 6376ceb5bc1..fa0c6bbc95d 100644 --- a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift +++ b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EntityResolutionClient: ClientRuntime.Client { public static let clientName = "EntityResolutionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EntityResolutionClient.EntityResolutionClientConfiguration let serviceName = "EntityResolution" diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift index 548991d6eb0..74312265afa 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EventBridgeClient: ClientRuntime.Client { public static let clientName = "EventBridgeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EventBridgeClient.EventBridgeClientConfiguration let serviceName = "EventBridge" diff --git a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift index 23743ebfb72..198473acce5 100644 --- a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift +++ b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EvidentlyClient: ClientRuntime.Client { public static let clientName = "EvidentlyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: EvidentlyClient.EvidentlyClientConfiguration let serviceName = "Evidently" diff --git a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift index 11afa8200de..9b9475f8ee3 100644 --- a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift +++ b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FMSClient: ClientRuntime.Client { public static let clientName = "FMSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FMSClient.FMSClientConfiguration let serviceName = "FMS" diff --git a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift index 8af26094d29..fbcc14699eb 100644 --- a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift +++ b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FSxClient: ClientRuntime.Client { public static let clientName = "FSxClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FSxClient.FSxClientConfiguration let serviceName = "FSx" diff --git a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift index e73c4c1c958..d9b7c070c8d 100644 --- a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift +++ b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspaceClient: ClientRuntime.Client { public static let clientName = "FinspaceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FinspaceClient.FinspaceClientConfiguration let serviceName = "finspace" diff --git a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift index 6c87de7ec2a..a1b1dc7083e 100644 --- a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift +++ b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspacedataClient: ClientRuntime.Client { public static let clientName = "FinspacedataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FinspacedataClient.FinspacedataClientConfiguration let serviceName = "finspace data" diff --git a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift index 1655da0775a..3418b3cfee3 100644 --- a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift +++ b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FirehoseClient: ClientRuntime.Client { public static let clientName = "FirehoseClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FirehoseClient.FirehoseClientConfiguration let serviceName = "Firehose" diff --git a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift index ab9614efcf4..3f537046eb1 100644 --- a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift +++ b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FisClient: ClientRuntime.Client { public static let clientName = "FisClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FisClient.FisClientConfiguration let serviceName = "fis" diff --git a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift index b058cf5bde5..992bef53f8e 100644 --- a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift +++ b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastClient: ClientRuntime.Client { public static let clientName = "ForecastClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ForecastClient.ForecastClientConfiguration let serviceName = "forecast" diff --git a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift index 9c52c8da27b..b16c2e6fd9f 100644 --- a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift +++ b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastqueryClient: ClientRuntime.Client { public static let clientName = "ForecastqueryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ForecastqueryClient.ForecastqueryClientConfiguration let serviceName = "forecastquery" diff --git a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift index 672edf3b42f..5d3030a8c05 100644 --- a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift +++ b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FraudDetectorClient: ClientRuntime.Client { public static let clientName = "FraudDetectorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FraudDetectorClient.FraudDetectorClientConfiguration let serviceName = "FraudDetector" diff --git a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift index 5c071bc0c8c..1fa9ab0112e 100644 --- a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift +++ b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FreeTierClient: ClientRuntime.Client { public static let clientName = "FreeTierClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: FreeTierClient.FreeTierClientConfiguration let serviceName = "FreeTier" diff --git a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift index 98b2ec6d164..30533114ee4 100644 --- a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift +++ b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GameLiftClient: ClientRuntime.Client { public static let clientName = "GameLiftClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GameLiftClient.GameLiftClientConfiguration let serviceName = "GameLift" diff --git a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift index 2a110d160fd..1317fc3a2cc 100644 --- a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift +++ b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift @@ -59,7 +59,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoMapsClient: ClientRuntime.Client { public static let clientName = "GeoMapsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GeoMapsClient.GeoMapsClientConfiguration let serviceName = "Geo Maps" diff --git a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift index 12740afa728..f1b06cd927c 100644 --- a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift +++ b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoPlacesClient: ClientRuntime.Client { public static let clientName = "GeoPlacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GeoPlacesClient.GeoPlacesClientConfiguration let serviceName = "Geo Places" diff --git a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift index c825453d052..ee6b53312b7 100644 --- a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift +++ b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoRoutesClient: ClientRuntime.Client { public static let clientName = "GeoRoutesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GeoRoutesClient.GeoRoutesClientConfiguration let serviceName = "Geo Routes" diff --git a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift index de567f16c7e..e218d076b68 100644 --- a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift +++ b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlacierClient: ClientRuntime.Client { public static let clientName = "GlacierClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GlacierClient.GlacierClientConfiguration let serviceName = "Glacier" diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift index de3761947f9..d89fa3ef0a7 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlobalAcceleratorClient: ClientRuntime.Client { public static let clientName = "GlobalAcceleratorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GlobalAcceleratorClient.GlobalAcceleratorClientConfiguration let serviceName = "Global Accelerator" diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift index 5988c8c269e..bf835a48b8a 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlueClient: ClientRuntime.Client { public static let clientName = "GlueClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GlueClient.GlueClientConfiguration let serviceName = "Glue" diff --git a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift index da46d3d83db..1aae8d35c1d 100644 --- a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift +++ b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GrafanaClient: ClientRuntime.Client { public static let clientName = "GrafanaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GrafanaClient.GrafanaClientConfiguration let serviceName = "grafana" diff --git a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift index a34aa17c900..938e21fb44b 100644 --- a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift +++ b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassClient: ClientRuntime.Client { public static let clientName = "GreengrassClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GreengrassClient.GreengrassClientConfiguration let serviceName = "Greengrass" diff --git a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift index ce77e5d892d..26a7202079e 100644 --- a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift +++ b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassV2Client: ClientRuntime.Client { public static let clientName = "GreengrassV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GreengrassV2Client.GreengrassV2ClientConfiguration let serviceName = "GreengrassV2" diff --git a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift index d7ce7c53830..766d662f804 100644 --- a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift +++ b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GroundStationClient: ClientRuntime.Client { public static let clientName = "GroundStationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GroundStationClient.GroundStationClientConfiguration let serviceName = "GroundStation" diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift index d70796d292f..97153c5731f 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GuardDutyClient: ClientRuntime.Client { public static let clientName = "GuardDutyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: GuardDutyClient.GuardDutyClientConfiguration let serviceName = "GuardDuty" diff --git a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift index 2c04611cb86..cd4154376c1 100644 --- a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift +++ b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthClient: ClientRuntime.Client { public static let clientName = "HealthClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: HealthClient.HealthClientConfiguration let serviceName = "Health" diff --git a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift index b5b8c5af0f1..5ae80c03793 100644 --- a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift +++ b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthLakeClient: ClientRuntime.Client { public static let clientName = "HealthLakeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: HealthLakeClient.HealthLakeClientConfiguration let serviceName = "HealthLake" diff --git a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift index a23a418000b..94a49b551e2 100644 --- a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift +++ b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IAMClient: ClientRuntime.Client { public static let clientName = "IAMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IAMClient.IAMClientConfiguration let serviceName = "IAM" diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift index c9075c37007..48dd66fa13e 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IVSRealTimeClient: ClientRuntime.Client { public static let clientName = "IVSRealTimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IVSRealTimeClient.IVSRealTimeClientConfiguration let serviceName = "IVS RealTime" diff --git a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift index 2108125fab7..32b96e42aba 100644 --- a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift +++ b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IdentitystoreClient: ClientRuntime.Client { public static let clientName = "IdentitystoreClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IdentitystoreClient.IdentitystoreClientConfiguration let serviceName = "identitystore" diff --git a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift index b5cf394eb59..f94d1587b9e 100644 --- a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift +++ b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ImagebuilderClient: ClientRuntime.Client { public static let clientName = "ImagebuilderClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ImagebuilderClient.ImagebuilderClientConfiguration let serviceName = "imagebuilder" diff --git a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift index 9e88872c78f..a1c70f97679 100644 --- a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift +++ b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorClient: ClientRuntime.Client { public static let clientName = "InspectorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: InspectorClient.InspectorClientConfiguration let serviceName = "Inspector" diff --git a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift index 99c4d55c9d5..6ef6333c41d 100644 --- a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift +++ b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Inspector2Client: ClientRuntime.Client { public static let clientName = "Inspector2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Inspector2Client.Inspector2ClientConfiguration let serviceName = "Inspector2" diff --git a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift index 6cce429d39f..9e094faba9b 100644 --- a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift +++ b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorScanClient: ClientRuntime.Client { public static let clientName = "InspectorScanClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: InspectorScanClient.InspectorScanClientConfiguration let serviceName = "Inspector Scan" diff --git a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift index 060ab0c0d2c..b37271333ae 100644 --- a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift +++ b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InternetMonitorClient: ClientRuntime.Client { public static let clientName = "InternetMonitorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: InternetMonitorClient.InternetMonitorClientConfiguration let serviceName = "InternetMonitor" diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift index 90ed5231d8b..2c7033b374a 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTClient: ClientRuntime.Client { public static let clientName = "IoTClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTClient.IoTClientConfiguration let serviceName = "IoT" @@ -841,6 +841,7 @@ extension IoTClient { builder.interceptors.add(ClientRuntime.URLPathMiddleware(AttachThingPrincipalInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(AttachThingPrincipalInput.headerProvider(_:))) + builder.serialize(ClientRuntime.QueryItemMiddleware(AttachThingPrincipalInput.queryItemProvider(_:))) builder.deserialize(ClientRuntime.DeserializeMiddleware(AttachThingPrincipalOutput.httpOutput(from:), AttachThingPrincipalOutputError.httpError(from:))) builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) @@ -12992,6 +12993,79 @@ extension IoTClient { return try await op.execute(input: input) } + /// Performs the `ListPrincipalThingsV2` operation on the `AWSIotService` service. + /// + /// Lists the things associated with the specified principal. A principal can be an X.509 certificate or an Amazon Cognito ID. Requires permission to access the [ListPrincipalThings](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. + /// + /// - Parameter ListPrincipalThingsV2Input : [no documentation found] + /// + /// - Returns: `ListPrincipalThingsV2Output` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalFailureException` : An unexpected error has occurred. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceUnavailableException` : The service is temporarily unavailable. + /// - `ThrottlingException` : The rate exceeds the limit. + /// - `UnauthorizedException` : You are not authorized to perform this operation. + public func listPrincipalThingsV2(input: ListPrincipalThingsV2Input) async throws -> ListPrincipalThingsV2Output { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listPrincipalThingsV2") + .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: "iot") + .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(ListPrincipalThingsV2Input.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.HeaderMiddleware(ListPrincipalThingsV2Input.headerProvider(_:))) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListPrincipalThingsV2Input.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListPrincipalThingsV2Output.httpOutput(from:), ListPrincipalThingsV2OutputError.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: IoTClient.version, 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: "IoT") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListPrincipalThingsV2") + 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 `ListProvisioningTemplateVersions` operation on the `AWSIotService` service. /// /// A list of provisioning template versions. Requires permission to access the [ListProvisioningTemplateVersions](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. @@ -14070,6 +14144,78 @@ extension IoTClient { return try await op.execute(input: input) } + /// Performs the `ListThingPrincipalsV2` operation on the `AWSIotService` service. + /// + /// Lists the principals associated with the specified thing. A principal can be an X.509 certificate or an Amazon Cognito ID. Requires permission to access the [ListThingPrincipals](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. + /// + /// - Parameter ListThingPrincipalsV2Input : [no documentation found] + /// + /// - Returns: `ListThingPrincipalsV2Output` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalFailureException` : An unexpected error has occurred. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceUnavailableException` : The service is temporarily unavailable. + /// - `ThrottlingException` : The rate exceeds the limit. + /// - `UnauthorizedException` : You are not authorized to perform this operation. + public func listThingPrincipalsV2(input: ListThingPrincipalsV2Input) async throws -> ListThingPrincipalsV2Output { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listThingPrincipalsV2") + .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: "iot") + .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(ListThingPrincipalsV2Input.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListThingPrincipalsV2Input.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListThingPrincipalsV2Output.httpOutput(from:), ListThingPrincipalsV2OutputError.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: IoTClient.version, 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: "IoT") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListThingPrincipalsV2") + 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 `ListThingRegistrationTaskReports` operation on the `AWSIotService` service. /// /// Information about the thing registration tasks. @@ -18599,6 +18745,80 @@ extension IoTClient { return try await op.execute(input: input) } + /// Performs the `UpdateThingType` operation on the `AWSIotService` service. + /// + /// Updates a thing type. + /// + /// - Parameter UpdateThingTypeInput : [no documentation found] + /// + /// - Returns: `UpdateThingTypeOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `InternalFailureException` : An unexpected error has occurred. + /// - `InvalidRequestException` : The request is not valid. + /// - `ResourceNotFoundException` : The specified resource does not exist. + /// - `ServiceUnavailableException` : The service is temporarily unavailable. + /// - `ThrottlingException` : The rate exceeds the limit. + /// - `UnauthorizedException` : You are not authorized to perform this operation. + public func updateThingType(input: UpdateThingTypeInput) async throws -> UpdateThingTypeOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .patch) + .withServiceName(value: serviceName) + .withOperation(value: "updateThingType") + .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: "iot") + .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(UpdateThingTypeInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateThingTypeInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateThingTypeOutput.httpOutput(from:), UpdateThingTypeOutputError.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: IoTClient.version, 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: "IoT") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateThingType") + 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 `UpdateTopicRuleDestination` operation on the `AWSIotService` service. /// /// Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination. Requires permission to access the [UpdateTopicRuleDestination](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action. diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift index 6c22e4bba19..cc7a87b6b9d 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/Models.swift @@ -2812,6 +2812,35 @@ public struct AttachSecurityProfileOutput: Swift.Sendable { public init() { } } +extension IoTClientTypes { + + public enum ThingPrincipalType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case exclusiveThing + case nonExclusiveThing + case sdkUnknown(Swift.String) + + public static var allCases: [ThingPrincipalType] { + return [ + .exclusiveThing, + .nonExclusiveThing + ] + } + + 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 .exclusiveThing: return "EXCLUSIVE_THING" + case .nonExclusiveThing: return "NON_EXCLUSIVE_THING" + case let .sdkUnknown(s): return s + } + } + } +} + /// The input for the AttachThingPrincipal operation. public struct AttachThingPrincipalInput: Swift.Sendable { /// The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID. @@ -2820,14 +2849,25 @@ public struct AttachThingPrincipalInput: Swift.Sendable { /// The name of the thing. /// This member is required. public var thingName: Swift.String? + /// The type of the relation you want to specify when you attach a principal to a thing. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? public init( principal: Swift.String? = nil, - thingName: Swift.String? = nil + thingName: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil ) { self.principal = principal self.thingName = thingName + self.thingPrincipalType = thingPrincipalType } } @@ -4743,14 +4783,22 @@ extension IoTClientTypes { /// The server certificate configuration. public struct ServerCertificateConfig: Swift.Sendable { - /// A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see [Configuring OCSP server-certificate stapling in domain configuration](https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html) from Amazon Web Services IoT Core Developer Guide. + /// A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see [ Server certificate configuration for OCSP stapling](https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html) from Amazon Web Services IoT Core Developer Guide. public var enableOCSPCheck: Swift.Bool? + /// The Amazon Resource Name (ARN) for an X.509 certificate stored in Amazon Web Services Certificate Manager (ACM). If provided, Amazon Web Services IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same Amazon Web Services region and account as the domain configuration. + public var ocspAuthorizedResponderArn: Swift.String? + /// The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a JSON string that's Base64-encoded. Therefore, you must convert your OCSP response, which is typically in the Distinguished Encoding Rules (DER) format, into a JSON string that's Base64-encoded. The Lambda function's response is also a Base64-encoded JSON string and the response payload must not exceed 8 kilobytes (KiB) in size. The Lambda function must be in the same Amazon Web Services region and account as the domain configuration. + public var ocspLambdaArn: Swift.String? public init( - enableOCSPCheck: Swift.Bool? = nil + enableOCSPCheck: Swift.Bool? = nil, + ocspAuthorizedResponderArn: Swift.String? = nil, + ocspLambdaArn: Swift.String? = nil ) { self.enableOCSPCheck = enableOCSPCheck + self.ocspAuthorizedResponderArn = ocspAuthorizedResponderArn + self.ocspLambdaArn = ocspLambdaArn } } } @@ -7589,20 +7637,64 @@ public struct CreateThingGroupOutput: Swift.Sendable { } } +extension IoTClientTypes { + + /// An object that represents the connection attribute, thing attribute, and the user property key. + public struct PropagatingAttribute: Swift.Sendable { + /// The attribute associated with the connection between a device and Amazon Web Services IoT Core. + public var connectionAttribute: Swift.String? + /// The user-defined thing attribute that is propagating for MQTT 5 message enrichment. + public var thingAttribute: Swift.String? + /// The key of the user property key-value pair. + public var userPropertyKey: Swift.String? + + public init( + connectionAttribute: Swift.String? = nil, + thingAttribute: Swift.String? = nil, + userPropertyKey: Swift.String? = nil + ) + { + self.connectionAttribute = connectionAttribute + self.thingAttribute = thingAttribute + self.userPropertyKey = userPropertyKey + } + } +} + +extension IoTClientTypes { + + /// The configuration to add user-defined properties to enrich MQTT 5 messages. + public struct Mqtt5Configuration: Swift.Sendable { + /// An object that represents the propagating thing attributes and the connection attributes. + public var propagatingAttributes: [IoTClientTypes.PropagatingAttribute]? + + public init( + propagatingAttributes: [IoTClientTypes.PropagatingAttribute]? = nil + ) + { + self.propagatingAttributes = propagatingAttributes + } + } +} + extension IoTClientTypes { /// The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names. public struct ThingTypeProperties: Swift.Sendable { + /// The configuration to add user-defined properties to enrich MQTT 5 messages. + public var mqtt5Configuration: IoTClientTypes.Mqtt5Configuration? /// A list of searchable thing attribute names. public var searchableAttributes: [Swift.String]? /// The description of the thing type. public var thingTypeDescription: Swift.String? public init( + mqtt5Configuration: IoTClientTypes.Mqtt5Configuration? = nil, searchableAttributes: [Swift.String]? = nil, thingTypeDescription: Swift.String? = nil ) { + self.mqtt5Configuration = mqtt5Configuration self.searchableAttributes = searchableAttributes self.thingTypeDescription = thingTypeDescription } @@ -11641,7 +11733,7 @@ public struct DescribeThingTypeOutput: Swift.Sendable { public var thingTypeMetadata: IoTClientTypes.ThingTypeMetadata? /// The name of the thing type. public var thingTypeName: Swift.String? - /// The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names. + /// The ThingTypeProperties contains information about the thing type including description, a list of searchable thing attribute names, and MQTT5 configuration. public var thingTypeProperties: IoTClientTypes.ThingTypeProperties? public init( @@ -15341,6 +15433,82 @@ public struct ListPrincipalThingsOutput: Swift.Sendable { } } +public struct ListPrincipalThingsV2Input: Swift.Sendable { + /// The maximum number of results to return in this operation. + public var maxResults: Swift.Int? + /// To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. + public var nextToken: Swift.String? + /// The principal. A principal can be an X.509 certificate or an Amazon Cognito ID. + /// This member is required. + public var principal: Swift.String? + /// The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both the EXCLUSIVE_THING and NON_EXCLUSIVE_THING attachment types. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + principal: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + self.principal = principal + self.thingPrincipalType = thingPrincipalType + } +} + +extension IoTClientTypes { + + /// An object that represents the thing and the type of relation it has with the principal. + public struct PrincipalThingObject: Swift.Sendable { + /// The name of the thing. + /// This member is required. + public var thingName: Swift.String? + /// The type of the relation you want to specify when you attach a principal to a thing. The value defaults to NON_EXCLUSIVE_THING. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + thingName: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.thingName = thingName + self.thingPrincipalType = thingPrincipalType + } + } +} + +public struct ListPrincipalThingsV2Output: Swift.Sendable { + /// The token to use to get the next set of results, or null if there are no additional results. + public var nextToken: Swift.String? + /// A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing. + public var principalThingObjects: [IoTClientTypes.PrincipalThingObject]? + + public init( + nextToken: Swift.String? = nil, + principalThingObjects: [IoTClientTypes.PrincipalThingObject]? = nil + ) + { + self.nextToken = nextToken + self.principalThingObjects = principalThingObjects + } +} + public struct ListProvisioningTemplatesInput: Swift.Sendable { /// The maximum number of results to return at one time. public var maxResults: Swift.Int? @@ -16174,6 +16342,82 @@ public struct ListThingPrincipalsOutput: Swift.Sendable { } } +public struct ListThingPrincipalsV2Input: Swift.Sendable { + /// The maximum number of results to return in this operation. + public var maxResults: Swift.Int? + /// To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. + public var nextToken: Swift.String? + /// The name of the thing. + /// This member is required. + public var thingName: Swift.String? + /// The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all principals, including both the EXCLUSIVE_THING and NON_EXCLUSIVE_THING attachment types. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + thingName: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + self.thingName = thingName + self.thingPrincipalType = thingPrincipalType + } +} + +extension IoTClientTypes { + + /// An object that represents the principal and the type of relation it has with the thing. + public struct ThingPrincipalObject: Swift.Sendable { + /// The principal of the thing principal object. + /// This member is required. + public var principal: Swift.String? + /// The type of the relation you want to specify when you attach a principal to a thing. The value defaults to NON_EXCLUSIVE_THING. + /// + /// * EXCLUSIVE_THING - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal. + /// + /// + /// + /// + /// * NON_EXCLUSIVE_THING - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal. + public var thingPrincipalType: IoTClientTypes.ThingPrincipalType? + + public init( + principal: Swift.String? = nil, + thingPrincipalType: IoTClientTypes.ThingPrincipalType? = nil + ) + { + self.principal = principal + self.thingPrincipalType = thingPrincipalType + } + } +} + +public struct ListThingPrincipalsV2Output: Swift.Sendable { + /// The token to use to get the next set of results, or null if there are no additional results. + public var nextToken: Swift.String? + /// A list of thingPrincipalObject that represents the principal and the type of relation it has with the thing. + public var thingPrincipalObjects: [IoTClientTypes.ThingPrincipalObject]? + + public init( + nextToken: Swift.String? = nil, + thingPrincipalObjects: [IoTClientTypes.ThingPrincipalObject]? = nil + ) + { + self.nextToken = nextToken + self.thingPrincipalObjects = thingPrincipalObjects + } +} + extension IoTClientTypes { public enum ReportType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -19214,6 +19458,28 @@ public struct UpdateThingGroupsForThingOutput: Swift.Sendable { public init() { } } +public struct UpdateThingTypeInput: Swift.Sendable { + /// The name of a thing type. + /// This member is required. + public var thingTypeName: Swift.String? + /// The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names. + public var thingTypeProperties: IoTClientTypes.ThingTypeProperties? + + public init( + thingTypeName: Swift.String? = nil, + thingTypeProperties: IoTClientTypes.ThingTypeProperties? = nil + ) + { + self.thingTypeName = thingTypeName + self.thingTypeProperties = thingTypeProperties + } +} + +public struct UpdateThingTypeOutput: Swift.Sendable { + + public init() { } +} + public struct UpdateTopicRuleDestinationInput: Swift.Sendable { /// The ARN of the topic rule destination. /// This member is required. @@ -19441,6 +19707,18 @@ extension AttachThingPrincipalInput { } } +extension AttachThingPrincipalInput { + + static func queryItemProvider(_ value: AttachThingPrincipalInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let thingPrincipalType = value.thingPrincipalType { + let thingPrincipalTypeQueryItem = Smithy.URIQueryItem(name: "thingPrincipalType".urlPercentEncoding(), value: Swift.String(thingPrincipalType.rawValue).urlPercentEncoding()) + items.append(thingPrincipalTypeQueryItem) + } + return items + } +} + extension CancelAuditMitigationActionsTaskInput { static func urlPathProvider(_ value: CancelAuditMitigationActionsTaskInput) -> Swift.String? { @@ -22253,6 +22531,44 @@ extension ListPrincipalThingsInput { } } +extension ListPrincipalThingsV2Input { + + static func urlPathProvider(_ value: ListPrincipalThingsV2Input) -> Swift.String? { + return "/principals/things-v2" + } +} + +extension ListPrincipalThingsV2Input { + + static func headerProvider(_ value: ListPrincipalThingsV2Input) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let principal = value.principal { + items.add(SmithyHTTPAPI.Header(name: "x-amzn-principal", value: Swift.String(principal))) + } + return items + } +} + +extension ListPrincipalThingsV2Input { + + static func queryItemProvider(_ value: ListPrincipalThingsV2Input) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let thingPrincipalType = value.thingPrincipalType { + let thingPrincipalTypeQueryItem = Smithy.URIQueryItem(name: "thingPrincipalType".urlPercentEncoding(), value: Swift.String(thingPrincipalType.rawValue).urlPercentEncoding()) + items.append(thingPrincipalTypeQueryItem) + } + 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 ListProvisioningTemplatesInput { static func urlPathProvider(_ value: ListProvisioningTemplatesInput) -> Swift.String? { @@ -22669,6 +22985,36 @@ extension ListThingPrincipalsInput { } } +extension ListThingPrincipalsV2Input { + + static func urlPathProvider(_ value: ListThingPrincipalsV2Input) -> Swift.String? { + guard let thingName = value.thingName else { + return nil + } + return "/things/\(thingName.urlPercentEncoding())/principals-v2" + } +} + +extension ListThingPrincipalsV2Input { + + static func queryItemProvider(_ value: ListThingPrincipalsV2Input) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let thingPrincipalType = value.thingPrincipalType { + let thingPrincipalTypeQueryItem = Smithy.URIQueryItem(name: "thingPrincipalType".urlPercentEncoding(), value: Swift.String(thingPrincipalType.rawValue).urlPercentEncoding()) + items.append(thingPrincipalTypeQueryItem) + } + 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 ListThingRegistrationTaskReportsInput { static func urlPathProvider(_ value: ListThingRegistrationTaskReportsInput) -> Swift.String? { @@ -23590,6 +23936,16 @@ extension UpdateThingGroupsForThingInput { } } +extension UpdateThingTypeInput { + + static func urlPathProvider(_ value: UpdateThingTypeInput) -> Swift.String? { + guard let thingTypeName = value.thingTypeName else { + return nil + } + return "/thing-types/\(thingTypeName.urlPercentEncoding())" + } +} + extension UpdateTopicRuleDestinationInput { static func urlPathProvider(_ value: UpdateTopicRuleDestinationInput) -> Swift.String? { @@ -24639,6 +24995,14 @@ extension UpdateThingGroupsForThingInput { } } +extension UpdateThingTypeInput { + + static func write(value: UpdateThingTypeInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["thingTypeProperties"].write(value.thingTypeProperties, with: IoTClientTypes.ThingTypeProperties.write(value:to:)) + } +} + extension UpdateTopicRuleDestinationInput { static func write(value: UpdateTopicRuleDestinationInput?, to writer: SmithyJSON.Writer) throws { @@ -26804,6 +27168,19 @@ extension ListPrincipalThingsOutput { } } +extension ListPrincipalThingsV2Output { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListPrincipalThingsV2Output { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListPrincipalThingsV2Output() + value.nextToken = try reader["nextToken"].readIfPresent() + value.principalThingObjects = try reader["principalThingObjects"].readListIfPresent(memberReadingClosure: IoTClientTypes.PrincipalThingObject.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListProvisioningTemplatesOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProvisioningTemplatesOutput { @@ -26999,6 +27376,19 @@ extension ListThingPrincipalsOutput { } } +extension ListThingPrincipalsV2Output { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingPrincipalsV2Output { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListThingPrincipalsV2Output() + value.nextToken = try reader["nextToken"].readIfPresent() + value.thingPrincipalObjects = try reader["thingPrincipalObjects"].readListIfPresent(memberReadingClosure: IoTClientTypes.ThingPrincipalObject.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListThingRegistrationTaskReportsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListThingRegistrationTaskReportsOutput { @@ -27663,6 +28053,13 @@ extension UpdateThingGroupsForThingOutput { } } +extension UpdateThingTypeOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateThingTypeOutput { + return UpdateThingTypeOutput() + } +} + extension UpdateTopicRuleDestinationOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateTopicRuleDestinationOutput { @@ -30929,6 +31326,25 @@ enum ListPrincipalThingsOutputError { } } +enum ListPrincipalThingsV2OutputError { + + 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 "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListProvisioningTemplatesOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -31191,6 +31607,25 @@ enum ListThingPrincipalsOutputError { } } +enum ListThingPrincipalsV2OutputError { + + 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 "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListThingRegistrationTaskReportsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -32323,6 +32758,25 @@ enum UpdateThingGroupsForThingOutputError { } } +enum UpdateThingTypeOutputError { + + 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 "InternalFailureException": return try InternalFailureException.makeError(baseError: baseError) + case "InvalidRequestException": return try InvalidRequestException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "UnauthorizedException": return try UnauthorizedException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateTopicRuleDestinationOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -33465,12 +33919,16 @@ extension IoTClientTypes.ServerCertificateConfig { static func write(value: IoTClientTypes.ServerCertificateConfig?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["enableOCSPCheck"].write(value.enableOCSPCheck) + try writer["ocspAuthorizedResponderArn"].write(value.ocspAuthorizedResponderArn) + try writer["ocspLambdaArn"].write(value.ocspLambdaArn) } static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ServerCertificateConfig { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = IoTClientTypes.ServerCertificateConfig() value.enableOCSPCheck = try reader["enableOCSPCheck"].readIfPresent() + value.ocspLambdaArn = try reader["ocspLambdaArn"].readIfPresent() + value.ocspAuthorizedResponderArn = try reader["ocspAuthorizedResponderArn"].readIfPresent() return value } } @@ -34124,6 +34582,7 @@ extension IoTClientTypes.ThingTypeProperties { static func write(value: IoTClientTypes.ThingTypeProperties?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["mqtt5Configuration"].write(value.mqtt5Configuration, with: IoTClientTypes.Mqtt5Configuration.write(value:to:)) try writer["searchableAttributes"].writeList(value.searchableAttributes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["thingTypeDescription"].write(value.thingTypeDescription) } @@ -34133,6 +34592,41 @@ extension IoTClientTypes.ThingTypeProperties { var value = IoTClientTypes.ThingTypeProperties() value.thingTypeDescription = try reader["thingTypeDescription"].readIfPresent() value.searchableAttributes = try reader["searchableAttributes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.mqtt5Configuration = try reader["mqtt5Configuration"].readIfPresent(with: IoTClientTypes.Mqtt5Configuration.read(from:)) + return value + } +} + +extension IoTClientTypes.Mqtt5Configuration { + + static func write(value: IoTClientTypes.Mqtt5Configuration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["propagatingAttributes"].writeList(value.propagatingAttributes, memberWritingClosure: IoTClientTypes.PropagatingAttribute.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.Mqtt5Configuration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.Mqtt5Configuration() + value.propagatingAttributes = try reader["propagatingAttributes"].readListIfPresent(memberReadingClosure: IoTClientTypes.PropagatingAttribute.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension IoTClientTypes.PropagatingAttribute { + + static func write(value: IoTClientTypes.PropagatingAttribute?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["connectionAttribute"].write(value.connectionAttribute) + try writer["thingAttribute"].write(value.thingAttribute) + try writer["userPropertyKey"].write(value.userPropertyKey) + } + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.PropagatingAttribute { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.PropagatingAttribute() + value.userPropertyKey = try reader["userPropertyKey"].readIfPresent() + value.thingAttribute = try reader["thingAttribute"].readIfPresent() + value.connectionAttribute = try reader["connectionAttribute"].readIfPresent() return value } } @@ -35838,6 +36332,17 @@ extension IoTClientTypes.PolicyVersion { } } +extension IoTClientTypes.PrincipalThingObject { + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.PrincipalThingObject { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.PrincipalThingObject() + value.thingName = try reader["thingName"].readIfPresent() ?? "" + value.thingPrincipalType = try reader["thingPrincipalType"].readIfPresent() + return value + } +} + extension IoTClientTypes.ProvisioningTemplateSummary { static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ProvisioningTemplateSummary { @@ -35955,6 +36460,17 @@ extension IoTClientTypes.Tag { } } +extension IoTClientTypes.ThingPrincipalObject { + + static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ThingPrincipalObject { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = IoTClientTypes.ThingPrincipalObject() + value.principal = try reader["principal"].readIfPresent() ?? "" + value.thingPrincipalType = try reader["thingPrincipalType"].readIfPresent() + return value + } +} + extension IoTClientTypes.ThingAttribute { static func read(from reader: SmithyJSON.Reader) throws -> IoTClientTypes.ThingAttribute { diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift index 0caf32446c2..6cb455dda01 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/Paginators.swift @@ -1135,6 +1135,38 @@ extension PaginatorSequence where OperationStackInput == ListPrincipalThingsInpu return try await self.asyncCompactMap { item in item.things } } } +extension IoTClient { + /// Paginate over `[ListPrincipalThingsV2Output]` 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 `[ListPrincipalThingsV2Input]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListPrincipalThingsV2Output` + public func listPrincipalThingsV2Paginated(input: ListPrincipalThingsV2Input) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listPrincipalThingsV2(input:)) + } +} + +extension ListPrincipalThingsV2Input: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListPrincipalThingsV2Input { + return ListPrincipalThingsV2Input( + maxResults: self.maxResults, + nextToken: token, + principal: self.principal, + thingPrincipalType: self.thingPrincipalType + )} +} + +extension PaginatorSequence where OperationStackInput == ListPrincipalThingsV2Input, OperationStackOutput == ListPrincipalThingsV2Output { + /// This paginator transforms the `AsyncSequence` returned by `listPrincipalThingsV2Paginated` + /// to access the nested member `[IoTClientTypes.PrincipalThingObject]` + /// - Returns: `[IoTClientTypes.PrincipalThingObject]` + public func principalThingObjects() async throws -> [IoTClientTypes.PrincipalThingObject] { + return try await self.asyncCompactMap { item in item.principalThingObjects } + } +} extension IoTClient { /// Paginate over `[ListProvisioningTemplatesOutput]` results. /// @@ -1603,6 +1635,38 @@ extension PaginatorSequence where OperationStackInput == ListThingPrincipalsInpu return try await self.asyncCompactMap { item in item.principals } } } +extension IoTClient { + /// Paginate over `[ListThingPrincipalsV2Output]` 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 `[ListThingPrincipalsV2Input]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListThingPrincipalsV2Output` + public func listThingPrincipalsV2Paginated(input: ListThingPrincipalsV2Input) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listThingPrincipalsV2(input:)) + } +} + +extension ListThingPrincipalsV2Input: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListThingPrincipalsV2Input { + return ListThingPrincipalsV2Input( + maxResults: self.maxResults, + nextToken: token, + thingName: self.thingName, + thingPrincipalType: self.thingPrincipalType + )} +} + +extension PaginatorSequence where OperationStackInput == ListThingPrincipalsV2Input, OperationStackOutput == ListThingPrincipalsV2Output { + /// This paginator transforms the `AsyncSequence` returned by `listThingPrincipalsV2Paginated` + /// to access the nested member `[IoTClientTypes.ThingPrincipalObject]` + /// - Returns: `[IoTClientTypes.ThingPrincipalObject]` + public func thingPrincipalObjects() async throws -> [IoTClientTypes.ThingPrincipalObject] { + return try await self.asyncCompactMap { item in item.thingPrincipalObjects } + } +} extension IoTClient { /// Paginate over `[ListThingRegistrationTaskReportsOutput]` results. /// diff --git a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift index f547364eb09..bae9fb5dfb2 100644 --- a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift +++ b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoT1ClickDevicesClient: ClientRuntime.Client { public static let clientName = "IoT1ClickDevicesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoT1ClickDevicesClient.IoT1ClickDevicesClientConfiguration let serviceName = "IoT 1Click Devices" diff --git a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift index cd73cfd511f..7887f235442 100644 --- a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift +++ b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoT1ClickProjectsClient: ClientRuntime.Client { public static let clientName = "IoT1ClickProjectsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoT1ClickProjectsClient.IoT1ClickProjectsClientConfiguration let serviceName = "IoT 1Click Projects" diff --git a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift index f49fb393352..1f2e6fc5eec 100644 --- a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift +++ b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTAnalyticsClient: ClientRuntime.Client { public static let clientName = "IoTAnalyticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTAnalyticsClient.IoTAnalyticsClientConfiguration let serviceName = "IoTAnalytics" diff --git a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift index c07ac7be155..8221a0538de 100644 --- a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift +++ b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTDataPlaneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTDataPlaneClient.IoTDataPlaneClientConfiguration let serviceName = "IoT Data Plane" diff --git a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift index 9abe5bdc17e..c4db11e0e97 100644 --- a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift +++ b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsClient: ClientRuntime.Client { public static let clientName = "IoTEventsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTEventsClient.IoTEventsClientConfiguration let serviceName = "IoT Events" diff --git a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift index 14daf2b76ce..62eef374108 100644 --- a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift +++ b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsDataClient: ClientRuntime.Client { public static let clientName = "IoTEventsDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTEventsDataClient.IoTEventsDataClientConfiguration let serviceName = "IoT Events Data" diff --git a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift index 62c6e210a43..ae186ea800f 100644 --- a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift +++ b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetHubClient: ClientRuntime.Client { public static let clientName = "IoTFleetHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTFleetHubClient.IoTFleetHubClientConfiguration let serviceName = "IoTFleetHub" diff --git a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift index 93c64b795e4..284808331a7 100644 --- a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift +++ b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetWiseClient: ClientRuntime.Client { public static let clientName = "IoTFleetWiseClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTFleetWiseClient.IoTFleetWiseClientConfiguration let serviceName = "IoTFleetWise" diff --git a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift index 929f17e34a3..279840e402e 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift +++ b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTJobsDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTJobsDataPlaneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTJobsDataPlaneClient.IoTJobsDataPlaneClientConfiguration let serviceName = "IoT Jobs Data Plane" diff --git a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift index ac42dddfe87..976e12dcdcf 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift +++ b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSecureTunnelingClient: ClientRuntime.Client { public static let clientName = "IoTSecureTunnelingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTSecureTunnelingClient.IoTSecureTunnelingClientConfiguration let serviceName = "IoTSecureTunneling" diff --git a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift index ff6bd9e5eca..cbbe827d824 100644 --- a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift +++ b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSiteWiseClient: ClientRuntime.Client { public static let clientName = "IoTSiteWiseClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTSiteWiseClient.IoTSiteWiseClientConfiguration let serviceName = "IoTSiteWise" diff --git a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift index ab8644146d1..4f5749091b9 100644 --- a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift +++ b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTThingsGraphClient: ClientRuntime.Client { public static let clientName = "IoTThingsGraphClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTThingsGraphClient.IoTThingsGraphClientConfiguration let serviceName = "IoTThingsGraph" diff --git a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift index 65d40216cb8..6706d37b202 100644 --- a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift +++ b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTTwinMakerClient: ClientRuntime.Client { public static let clientName = "IoTTwinMakerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTTwinMakerClient.IoTTwinMakerClientConfiguration let serviceName = "IoTTwinMaker" diff --git a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift index f00e8047079..d68cce9306f 100644 --- a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift +++ b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTWirelessClient: ClientRuntime.Client { public static let clientName = "IoTWirelessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IoTWirelessClient.IoTWirelessClientConfiguration let serviceName = "IoT Wireless" diff --git a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift index d58ce67fba3..c6da73e5d23 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift +++ b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IotDeviceAdvisorClient: ClientRuntime.Client { public static let clientName = "IotDeviceAdvisorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IotDeviceAdvisorClient.IotDeviceAdvisorClientConfiguration let serviceName = "IotDeviceAdvisor" diff --git a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift index abc6ba4b63f..a37f7d9b311 100644 --- a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift +++ b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvsClient: ClientRuntime.Client { public static let clientName = "IvsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IvsClient.IvsClientConfiguration let serviceName = "ivs" diff --git a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift index 4cc1a03f25e..e3ac8bfd517 100644 --- a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift +++ b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvschatClient: ClientRuntime.Client { public static let clientName = "IvschatClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: IvschatClient.IvschatClientConfiguration let serviceName = "ivschat" diff --git a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift index 7ab195c3703..755a3bdac92 100644 --- a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift +++ b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KMSClient: ClientRuntime.Client { public static let clientName = "KMSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KMSClient.KMSClientConfiguration let serviceName = "KMS" diff --git a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift index 8edd3ebdf47..3852d442a17 100644 --- a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift +++ b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaClient: ClientRuntime.Client { public static let clientName = "KafkaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KafkaClient.KafkaClientConfiguration let serviceName = "Kafka" diff --git a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift index 82ca103f088..40a9884450b 100644 --- a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift +++ b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaConnectClient: ClientRuntime.Client { public static let clientName = "KafkaConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KafkaConnectClient.KafkaConnectClientConfiguration let serviceName = "KafkaConnect" diff --git a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift index 761a3e06ef0..b0f628404af 100644 --- a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift +++ b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraClient: ClientRuntime.Client { public static let clientName = "KendraClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KendraClient.KendraClientConfiguration let serviceName = "kendra" diff --git a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift index ee679edbe22..ef745579cbd 100644 --- a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift +++ b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraRankingClient: ClientRuntime.Client { public static let clientName = "KendraRankingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KendraRankingClient.KendraRankingClientConfiguration let serviceName = "Kendra Ranking" diff --git a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift index d0bea3e5a6c..d1f23afd19e 100644 --- a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift +++ b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KeyspacesClient: ClientRuntime.Client { public static let clientName = "KeyspacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KeyspacesClient.KeyspacesClientConfiguration let serviceName = "Keyspaces" diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift index 3dd75c1d7c2..cd1a9312a8b 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisClient: ClientRuntime.Client { public static let clientName = "KinesisClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisClient.KinesisClientConfiguration let serviceName = "Kinesis" diff --git a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift index 7a1e1cc3cd8..93d85872742 100644 --- a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift +++ b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsClient: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsClient.KinesisAnalyticsClientConfiguration let serviceName = "Kinesis Analytics" diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift index 802e299c76c..eaacfa974e7 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsV2Client: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsV2Client.KinesisAnalyticsV2ClientConfiguration let serviceName = "Kinesis Analytics V2" diff --git a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift index eb1cda3d831..ba3ae317553 100644 --- a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift +++ b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoClient: ClientRuntime.Client { public static let clientName = "KinesisVideoClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoClient.KinesisVideoClientConfiguration let serviceName = "Kinesis Video" diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift index 4838c6e166d..4a8caff3f05 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoArchivedMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoArchivedMediaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoArchivedMediaClient.KinesisVideoArchivedMediaClientConfiguration let serviceName = "Kinesis Video Archived Media" diff --git a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift index d6749c09c56..2493e29dc57 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoMediaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoMediaClient.KinesisVideoMediaClientConfiguration let serviceName = "Kinesis Video Media" diff --git a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift index 2d6ac0e706c..85db5c1594f 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift +++ b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoSignalingClient: ClientRuntime.Client { public static let clientName = "KinesisVideoSignalingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoSignalingClient.KinesisVideoSignalingClientConfiguration let serviceName = "Kinesis Video Signaling" diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift index d10d0dbf611..9bb476b6cea 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoWebRTCStorageClient: ClientRuntime.Client { public static let clientName = "KinesisVideoWebRTCStorageClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoWebRTCStorageClient.KinesisVideoWebRTCStorageClientConfiguration let serviceName = "Kinesis Video WebRTC Storage" diff --git a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift index 032e5ab260c..0fec5cc5c5a 100644 --- a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift +++ b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LakeFormationClient: ClientRuntime.Client { public static let clientName = "LakeFormationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LakeFormationClient.LakeFormationClientConfiguration let serviceName = "LakeFormation" diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift index cdf70948fca..52d18679829 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LambdaClient: ClientRuntime.Client { public static let clientName = "LambdaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LambdaClient.LambdaClientConfiguration let serviceName = "Lambda" diff --git a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift index c61483a0d0b..97c3c705f8e 100644 --- a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift +++ b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LaunchWizardClient: ClientRuntime.Client { public static let clientName = "LaunchWizardClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LaunchWizardClient.LaunchWizardClientConfiguration let serviceName = "Launch Wizard" diff --git a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift index ee5e8fb6267..61da73498dc 100644 --- a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift +++ b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelBuildingClient: ClientRuntime.Client { public static let clientName = "LexModelBuildingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexModelBuildingClient.LexModelBuildingClientConfiguration let serviceName = "Lex Model Building" diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift index 33cd04b53a9..d47a22c06fa 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelsV2Client: ClientRuntime.Client { public static let clientName = "LexModelsV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexModelsV2Client.LexModelsV2ClientConfiguration let serviceName = "Lex Models V2" diff --git a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift index 383cba185d2..c0ff4de35ac 100644 --- a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift +++ b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeClient: ClientRuntime.Client { public static let clientName = "LexRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeClient.LexRuntimeClientConfiguration let serviceName = "Lex Runtime" diff --git a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift index 70f1b913f35..446c0d936a5 100644 --- a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift +++ b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeV2Client: ClientRuntime.Client { public static let clientName = "LexRuntimeV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeV2Client.LexRuntimeV2ClientConfiguration let serviceName = "Lex Runtime V2" diff --git a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift index bf7bc425108..6d0786182c0 100644 --- a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift +++ b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerClient: ClientRuntime.Client { public static let clientName = "LicenseManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerClient.LicenseManagerClientConfiguration let serviceName = "License Manager" diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift index ac2e766952d..d3f079a2ab6 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerLinuxSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerLinuxSubscriptionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerLinuxSubscriptionsClient.LicenseManagerLinuxSubscriptionsClientConfiguration let serviceName = "License Manager Linux Subscriptions" diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift index 8e710e9557d..1cfcf3b0a99 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerUserSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerUserSubscriptionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerUserSubscriptionsClient.LicenseManagerUserSubscriptionsClientConfiguration let serviceName = "License Manager User Subscriptions" diff --git a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift index d24a0cfc05d..33ad0961354 100644 --- a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift +++ b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LightsailClient: ClientRuntime.Client { public static let clientName = "LightsailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LightsailClient.LightsailClientConfiguration let serviceName = "Lightsail" diff --git a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift index ecc80b0f16e..91ce118feec 100644 --- a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift +++ b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LocationClient: ClientRuntime.Client { public static let clientName = "LocationClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LocationClient.LocationClientConfiguration let serviceName = "Location" diff --git a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift index 70d2900b526..ed90e9ee145 100644 --- a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift +++ b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutEquipmentClient: ClientRuntime.Client { public static let clientName = "LookoutEquipmentClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LookoutEquipmentClient.LookoutEquipmentClientConfiguration let serviceName = "LookoutEquipment" diff --git a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift index fa661b5ab36..f303d512848 100644 --- a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift +++ b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutMetricsClient: ClientRuntime.Client { public static let clientName = "LookoutMetricsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LookoutMetricsClient.LookoutMetricsClientConfiguration let serviceName = "LookoutMetrics" diff --git a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift index c51678f7e54..112fd6874de 100644 --- a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift +++ b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutVisionClient: ClientRuntime.Client { public static let clientName = "LookoutVisionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: LookoutVisionClient.LookoutVisionClientConfiguration let serviceName = "LookoutVision" diff --git a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift index 193ac4565b4..fbabbfe32b9 100644 --- a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift +++ b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class M2Client: ClientRuntime.Client { public static let clientName = "M2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: M2Client.M2ClientConfiguration let serviceName = "m2" diff --git a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift index deb1c1b2835..2888fa9eec1 100644 --- a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift +++ b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MTurkClient: ClientRuntime.Client { public static let clientName = "MTurkClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MTurkClient.MTurkClientConfiguration let serviceName = "MTurk" diff --git a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift index 74c17fa3f4b..8779c4567a3 100644 --- a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift +++ b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MWAAClient: ClientRuntime.Client { public static let clientName = "MWAAClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MWAAClient.MWAAClientConfiguration let serviceName = "MWAA" diff --git a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift index e360fe0c047..f8057c1adc4 100644 --- a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift +++ b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MachineLearningClient: ClientRuntime.Client { public static let clientName = "MachineLearningClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MachineLearningClient.MachineLearningClientConfiguration let serviceName = "Machine Learning" diff --git a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift index a1a85dbf6ba..42c9ac478d6 100644 --- a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift +++ b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Macie2Client: ClientRuntime.Client { public static let clientName = "Macie2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Macie2Client.Macie2ClientConfiguration let serviceName = "Macie2" diff --git a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift index c56aba5c5dc..2df9f861705 100644 --- a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift +++ b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MailManagerClient: ClientRuntime.Client { public static let clientName = "MailManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MailManagerClient.MailManagerClientConfiguration let serviceName = "MailManager" diff --git a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift index a803431f28a..09303dab847 100644 --- a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift +++ b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainClient.ManagedBlockchainClientConfiguration let serviceName = "ManagedBlockchain" diff --git a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift index 7031a9f3d55..75584496f01 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift +++ b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainQueryClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainQueryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainQueryClient.ManagedBlockchainQueryClientConfiguration let serviceName = "ManagedBlockchain Query" diff --git a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift index ef7e1e72850..6e726d6535d 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift +++ b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceAgreementClient: ClientRuntime.Client { public static let clientName = "MarketplaceAgreementClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceAgreementClient.MarketplaceAgreementClientConfiguration let serviceName = "Marketplace Agreement" diff --git a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift index 8799e0f97a0..bb779207f94 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift +++ b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCatalogClient: ClientRuntime.Client { public static let clientName = "MarketplaceCatalogClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCatalogClient.MarketplaceCatalogClientConfiguration let serviceName = "Marketplace Catalog" diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift index 5bb99c48c44..970ba86f39d 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCommerceAnalyticsClient: ClientRuntime.Client { public static let clientName = "MarketplaceCommerceAnalyticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCommerceAnalyticsClient.MarketplaceCommerceAnalyticsClientConfiguration let serviceName = "Marketplace Commerce Analytics" diff --git a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift index 0cd4f4da72b..113658ed71e 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift +++ b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceDeploymentClient: ClientRuntime.Client { public static let clientName = "MarketplaceDeploymentClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceDeploymentClient.MarketplaceDeploymentClientConfiguration let serviceName = "Marketplace Deployment" diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift index 42cb9655d36..0c94bc89e7e 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift +++ b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceEntitlementClient: ClientRuntime.Client { public static let clientName = "MarketplaceEntitlementClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceEntitlementClient.MarketplaceEntitlementClientConfiguration let serviceName = "Marketplace Entitlement" diff --git a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift index aca1960824a..e9a0d882dfc 100644 --- a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift +++ b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceMeteringClient: ClientRuntime.Client { public static let clientName = "MarketplaceMeteringClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceMeteringClient.MarketplaceMeteringClientConfiguration let serviceName = "Marketplace Metering" diff --git a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift index a396633f297..fb5d4653d7b 100644 --- a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift +++ b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceReportingClient: ClientRuntime.Client { public static let clientName = "MarketplaceReportingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MarketplaceReportingClient.MarketplaceReportingClientConfiguration let serviceName = "Marketplace Reporting" diff --git a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift index 4570766d062..1328855a4ad 100644 --- a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift +++ b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConnectClient: ClientRuntime.Client { public static let clientName = "MediaConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaConnectClient.MediaConnectClientConfiguration let serviceName = "MediaConnect" diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift index 662f36a8648..c77c61c7752 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConvertClient: ClientRuntime.Client { public static let clientName = "MediaConvertClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaConvertClient.MediaConvertClientConfiguration let serviceName = "MediaConvert" diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift index 3a5f85f3dc0..3e4e1ba609a 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaLiveClient: ClientRuntime.Client { public static let clientName = "MediaLiveClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaLiveClient.MediaLiveClientConfiguration let serviceName = "MediaLive" diff --git a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift index 9af98f56e9d..1f52b6bb234 100644 --- a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift +++ b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageClient: ClientRuntime.Client { public static let clientName = "MediaPackageClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaPackageClient.MediaPackageClientConfiguration let serviceName = "MediaPackage" diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift index 9507f41b3e3..90d05f12ce8 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageV2Client: ClientRuntime.Client { public static let clientName = "MediaPackageV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaPackageV2Client.MediaPackageV2ClientConfiguration let serviceName = "MediaPackageV2" diff --git a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift index 8ea66885e9c..78a030361dc 100644 --- a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift +++ b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageVodClient: ClientRuntime.Client { public static let clientName = "MediaPackageVodClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaPackageVodClient.MediaPackageVodClientConfiguration let serviceName = "MediaPackage Vod" diff --git a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift index f7d75db9d16..5dcc3ca3b6d 100644 --- a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift +++ b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreClient: ClientRuntime.Client { public static let clientName = "MediaStoreClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaStoreClient.MediaStoreClientConfiguration let serviceName = "MediaStore" diff --git a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift index fc17cf0bb40..de27e778b6a 100644 --- a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift +++ b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreDataClient: ClientRuntime.Client { public static let clientName = "MediaStoreDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaStoreDataClient.MediaStoreDataClientConfiguration let serviceName = "MediaStore Data" diff --git a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift index e17c3c0a2c6..f396f7ee29c 100644 --- a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift +++ b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaTailorClient: ClientRuntime.Client { public static let clientName = "MediaTailorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MediaTailorClient.MediaTailorClientConfiguration let serviceName = "MediaTailor" diff --git a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift index f0eb70c4fa5..51c3a76a25b 100644 --- a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift +++ b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MedicalImagingClient: ClientRuntime.Client { public static let clientName = "MedicalImagingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MedicalImagingClient.MedicalImagingClientConfiguration let serviceName = "Medical Imaging" diff --git a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift index 7a92d3046c4..365cbc3d907 100644 --- a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift +++ b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MemoryDBClient: ClientRuntime.Client { public static let clientName = "MemoryDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MemoryDBClient.MemoryDBClientConfiguration let serviceName = "MemoryDB" diff --git a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift index c5378e40227..fc647d6238f 100644 --- a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift +++ b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MgnClient: ClientRuntime.Client { public static let clientName = "MgnClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MgnClient.MgnClientConfiguration let serviceName = "mgn" diff --git a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift index 840402ff78d..168a78933c3 100644 --- a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift +++ b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubClient: ClientRuntime.Client { public static let clientName = "MigrationHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubClient.MigrationHubClientConfiguration let serviceName = "Migration Hub" diff --git a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift index 0719bb68844..9eaba3dfa48 100644 --- a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift +++ b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubConfigClient: ClientRuntime.Client { public static let clientName = "MigrationHubConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubConfigClient.MigrationHubConfigClientConfiguration let serviceName = "MigrationHub Config" diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift index 806808a69c2..5b721c86306 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift +++ b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubOrchestratorClient: ClientRuntime.Client { public static let clientName = "MigrationHubOrchestratorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubOrchestratorClient.MigrationHubOrchestratorClientConfiguration let serviceName = "MigrationHubOrchestrator" diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift index d6a9bf75261..98d954cf1f2 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubRefactorSpacesClient: ClientRuntime.Client { public static let clientName = "MigrationHubRefactorSpacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubRefactorSpacesClient.MigrationHubRefactorSpacesClientConfiguration let serviceName = "Migration Hub Refactor Spaces" diff --git a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift index 310c78a7dd8..824e486ea5a 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift +++ b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubStrategyClient: ClientRuntime.Client { public static let clientName = "MigrationHubStrategyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MigrationHubStrategyClient.MigrationHubStrategyClientConfiguration let serviceName = "MigrationHubStrategy" diff --git a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift index d620c7b1a01..fcccaa137a5 100644 --- a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift +++ b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MqClient: ClientRuntime.Client { public static let clientName = "MqClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: MqClient.MqClientConfiguration let serviceName = "mq" diff --git a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift index a33f2336cc9..b9a0ef15977 100644 --- a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift +++ b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneClient: ClientRuntime.Client { public static let clientName = "NeptuneClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NeptuneClient.NeptuneClientConfiguration let serviceName = "Neptune" diff --git a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift index 1e911e2d3b0..7b86f0503cb 100644 --- a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift +++ b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneGraphClient: ClientRuntime.Client { public static let clientName = "NeptuneGraphClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NeptuneGraphClient.NeptuneGraphClientConfiguration let serviceName = "Neptune Graph" diff --git a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift index 365a104469f..ddaa9eac745 100644 --- a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift +++ b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptunedataClient: ClientRuntime.Client { public static let clientName = "NeptunedataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NeptunedataClient.NeptunedataClientConfiguration let serviceName = "neptunedata" diff --git a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift index 47252a42759..5b8e570040e 100644 --- a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift +++ b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkFirewallClient: ClientRuntime.Client { public static let clientName = "NetworkFirewallClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NetworkFirewallClient.NetworkFirewallClientConfiguration let serviceName = "Network Firewall" diff --git a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift index eb012bd042e..0009ec97973 100644 --- a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift +++ b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkManagerClient: ClientRuntime.Client { public static let clientName = "NetworkManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NetworkManagerClient.NetworkManagerClientConfiguration let serviceName = "NetworkManager" diff --git a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift index 11e898dbb65..cd57bcba010 100644 --- a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift +++ b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkMonitorClient: ClientRuntime.Client { public static let clientName = "NetworkMonitorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: NetworkMonitorClient.NetworkMonitorClientConfiguration let serviceName = "NetworkMonitor" diff --git a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift index 458ebd8a995..0a5fdc53753 100644 --- a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift +++ b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OAMClient: ClientRuntime.Client { public static let clientName = "OAMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OAMClient.OAMClientConfiguration let serviceName = "OAM" diff --git a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift index 922d5bd1a3d..5a9a636e1df 100644 --- a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift +++ b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OSISClient: ClientRuntime.Client { public static let clientName = "OSISClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OSISClient.OSISClientConfiguration let serviceName = "OSIS" diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift index ed1d4e4c053..d87ca3710d8 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OmicsClient: ClientRuntime.Client { public static let clientName = "OmicsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OmicsClient.OmicsClientConfiguration let serviceName = "Omics" diff --git a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift index 0b4813c8fe9..586207d355f 100644 --- a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift +++ b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchClient: ClientRuntime.Client { public static let clientName = "OpenSearchClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpenSearchClient.OpenSearchClientConfiguration let serviceName = "OpenSearch" diff --git a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift index 9da1acb0296..4781e0946f4 100644 --- a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift +++ b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchServerlessClient: ClientRuntime.Client { public static let clientName = "OpenSearchServerlessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpenSearchServerlessClient.OpenSearchServerlessClientConfiguration let serviceName = "OpenSearchServerless" diff --git a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift index 26803ec0398..a4e449bbf31 100644 --- a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift +++ b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksClient: ClientRuntime.Client { public static let clientName = "OpsWorksClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpsWorksClient.OpsWorksClientConfiguration let serviceName = "OpsWorks" diff --git a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift index fb880061f6a..15ffebb15a7 100644 --- a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift +++ b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksCMClient: ClientRuntime.Client { public static let clientName = "OpsWorksCMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OpsWorksCMClient.OpsWorksCMClientConfiguration let serviceName = "OpsWorksCM" diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift index e3a00e3a5f1..bd61251e8a7 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OrganizationsClient: ClientRuntime.Client { public static let clientName = "OrganizationsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OrganizationsClient.OrganizationsClientConfiguration let serviceName = "Organizations" diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift index d5ab55ae535..66aeb5cd7a4 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/Models.swift @@ -1021,12 +1021,14 @@ extension OutpostsClientTypes { extension OutpostsClientTypes { public enum PaymentTerm: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case fiveYears case oneYear case threeYears case sdkUnknown(Swift.String) public static var allCases: [PaymentTerm] { return [ + .fiveYears, .oneYear, .threeYears ] @@ -1039,6 +1041,7 @@ extension OutpostsClientTypes { public var rawValue: Swift.String { switch self { + case .fiveYears: return "FIVE_YEARS" case .oneYear: return "ONE_YEAR" case .threeYears: return "THREE_YEARS" case let .sdkUnknown(s): return s diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift index 56c864dacc1..1cafa1336aa 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OutpostsClient: ClientRuntime.Client { public static let clientName = "OutpostsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: OutpostsClient.OutpostsClientConfiguration let serviceName = "Outposts" diff --git a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift index 4679d9a83cd..f0a5d576d17 100644 --- a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift +++ b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PCSClient: ClientRuntime.Client { public static let clientName = "PCSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PCSClient.PCSClientConfiguration let serviceName = "PCS" diff --git a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift index b88debe8adb..a865d621c18 100644 --- a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift +++ b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PIClient: ClientRuntime.Client { public static let clientName = "PIClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PIClient.PIClientConfiguration let serviceName = "PI" diff --git a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift index 5248ee6da8b..2f958ed2277 100644 --- a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift +++ b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PanoramaClient: ClientRuntime.Client { public static let clientName = "PanoramaClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PanoramaClient.PanoramaClientConfiguration let serviceName = "Panorama" diff --git a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift index b6e1bf9fef8..293ea5ab102 100644 --- a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift +++ b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PartnerCentralSellingClient: ClientRuntime.Client { public static let clientName = "PartnerCentralSellingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PartnerCentralSellingClient.PartnerCentralSellingClientConfiguration let serviceName = "PartnerCentral Selling" diff --git a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift index de8f6a95479..162bac800ac 100644 --- a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift +++ b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyClient.PaymentCryptographyClientConfiguration let serviceName = "Payment Cryptography" diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift index ccaad9ec117..f79bbefce55 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyDataClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyDataClient.PaymentCryptographyDataClientConfiguration let serviceName = "Payment Cryptography Data" diff --git a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift index 3c7b538915b..8c12eeeefa7 100644 --- a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift +++ b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorAdClient: ClientRuntime.Client { public static let clientName = "PcaConnectorAdClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorAdClient.PcaConnectorAdClientConfiguration let serviceName = "Pca Connector Ad" diff --git a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift index 258ee843428..3bb8d2a4640 100644 --- a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift +++ b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorScepClient: ClientRuntime.Client { public static let clientName = "PcaConnectorScepClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorScepClient.PcaConnectorScepClientConfiguration let serviceName = "Pca Connector Scep" diff --git a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift index 316cd52e9b0..f7ac1b03bc8 100644 --- a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift +++ b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeClient: ClientRuntime.Client { public static let clientName = "PersonalizeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PersonalizeClient.PersonalizeClientConfiguration let serviceName = "Personalize" diff --git a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift index 2af24486ff5..296c1a277d2 100644 --- a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift +++ b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeEventsClient: ClientRuntime.Client { public static let clientName = "PersonalizeEventsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PersonalizeEventsClient.PersonalizeEventsClientConfiguration let serviceName = "Personalize Events" diff --git a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift index c2c959663f8..1e8a4de0fd0 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift +++ b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeRuntimeClient: ClientRuntime.Client { public static let clientName = "PersonalizeRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PersonalizeRuntimeClient.PersonalizeRuntimeClientConfiguration let serviceName = "Personalize Runtime" diff --git a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift index d0352982c2f..21760265ac8 100644 --- a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift +++ b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointClient: ClientRuntime.Client { public static let clientName = "PinpointClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointClient.PinpointClientConfiguration let serviceName = "Pinpoint" diff --git a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift index 4804fb99cd5..1ddce5f333c 100644 --- a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift +++ b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointEmailClient: ClientRuntime.Client { public static let clientName = "PinpointEmailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointEmailClient.PinpointEmailClientConfiguration let serviceName = "Pinpoint Email" diff --git a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift index 6cbc4c714c4..d80fd5c6944 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift +++ b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceClient: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceClient.PinpointSMSVoiceClientConfiguration let serviceName = "Pinpoint SMS Voice" diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift index 0851cc786a0..f6f01b76858 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Models.swift @@ -216,6 +216,7 @@ extension PinpointSMSVoiceV2ClientTypes { case createRegistrationVersionNotAllowed case deletionProtectionEnabled case destinationCountryBlockedByProtectConfiguration + case destinationPhoneNumberBlockedByProtectNumberOverride case destinationPhoneNumberNotVerified case destinationPhoneNumberOptedOut case disassociateRegistrationNotAllowed @@ -255,6 +256,7 @@ extension PinpointSMSVoiceV2ClientTypes { .createRegistrationVersionNotAllowed, .deletionProtectionEnabled, .destinationCountryBlockedByProtectConfiguration, + .destinationPhoneNumberBlockedByProtectNumberOverride, .destinationPhoneNumberNotVerified, .destinationPhoneNumberOptedOut, .disassociateRegistrationNotAllowed, @@ -300,6 +302,7 @@ extension PinpointSMSVoiceV2ClientTypes { case .createRegistrationVersionNotAllowed: return "CREATE_REGISTRATION_VERSION_NOT_ALLOWED" case .deletionProtectionEnabled: return "DELETION_PROTECTION_ENABLED" case .destinationCountryBlockedByProtectConfiguration: return "DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION" + case .destinationPhoneNumberBlockedByProtectNumberOverride: return "DESTINATION_PHONE_NUMBER_BLOCKED_BY_PROTECT_NUMBER_OVERRIDE" case .destinationPhoneNumberNotVerified: return "DESTINATION_PHONE_NUMBER_NOT_VERIFIED" case .destinationPhoneNumberOptedOut: return "DESTINATION_PHONE_NUMBER_OPTED_OUT" case .disassociateRegistrationNotAllowed: return "DISASSOCIATE_REGISTRATION_NOT_ALLOWED" @@ -345,6 +348,7 @@ extension PinpointSMSVoiceV2ClientTypes { case configurationSet case eventDestination case keyword + case message case optedOutNumber case optOutList case phoneNumber @@ -363,6 +367,7 @@ extension PinpointSMSVoiceV2ClientTypes { .configurationSet, .eventDestination, .keyword, + .message, .optedOutNumber, .optOutList, .phoneNumber, @@ -387,6 +392,7 @@ extension PinpointSMSVoiceV2ClientTypes { case .configurationSet: return "configuration-set" case .eventDestination: return "event-destination" case .keyword: return "keyword" + case .message: return "message" case .optedOutNumber: return "opted-out-number" case .optOutList: return "opt-out-list" case .phoneNumber: return "phone-number" @@ -1027,6 +1033,7 @@ extension PinpointSMSVoiceV2ClientTypes { extension PinpointSMSVoiceV2ClientTypes { public enum ConfigurationSetFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case defaultMessageFeedbackEnabled case defaultMessageType case defaultSenderId case eventDestinationName @@ -1036,6 +1043,7 @@ extension PinpointSMSVoiceV2ClientTypes { public static var allCases: [ConfigurationSetFilterName] { return [ + .defaultMessageFeedbackEnabled, .defaultMessageType, .defaultSenderId, .eventDestinationName, @@ -1051,6 +1059,7 @@ extension PinpointSMSVoiceV2ClientTypes { public var rawValue: Swift.String { switch self { + case .defaultMessageFeedbackEnabled: return "default-message-feedback-enabled" case .defaultMessageType: return "default-message-type" case .defaultSenderId: return "default-sender-id" case .eventDestinationName: return "event-destination-name" @@ -1164,6 +1173,7 @@ extension PinpointSMSVoiceV2ClientTypes { case textInvalid case textInvalidMessage case textPending + case textProtectBlocked case textQueued case textSent case textSpam @@ -1210,6 +1220,7 @@ extension PinpointSMSVoiceV2ClientTypes { .textInvalid, .textInvalidMessage, .textPending, + .textProtectBlocked, .textQueued, .textSent, .textSpam, @@ -1262,6 +1273,7 @@ extension PinpointSMSVoiceV2ClientTypes { case .textInvalid: return "TEXT_INVALID" case .textInvalidMessage: return "TEXT_INVALID_MESSAGE" case .textPending: return "TEXT_PENDING" + case .textProtectBlocked: return "TEXT_PROTECT_BLOCKED" case .textQueued: return "TEXT_QUEUED" case .textSent: return "TEXT_SENT" case .textSpam: return "TEXT_SPAM" @@ -1353,6 +1365,8 @@ extension PinpointSMSVoiceV2ClientTypes { /// The time when the ConfigurationSet was created, in [UNIX epoch time](https://www.epochconverter.com/) format. /// This member is required. public var createdTimestamp: Foundation.Date? + /// True if message feedback is enabled. + public var defaultMessageFeedbackEnabled: Swift.Bool? /// The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive. public var defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? /// The default sender ID used by the ConfigurationSet. @@ -1367,6 +1381,7 @@ extension PinpointSMSVoiceV2ClientTypes { configurationSetArn: Swift.String? = nil, configurationSetName: Swift.String? = nil, createdTimestamp: Foundation.Date? = nil, + defaultMessageFeedbackEnabled: Swift.Bool? = nil, defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? = nil, defaultSenderId: Swift.String? = nil, eventDestinations: [PinpointSMSVoiceV2ClientTypes.EventDestination]? = nil, @@ -1376,6 +1391,7 @@ extension PinpointSMSVoiceV2ClientTypes { self.configurationSetArn = configurationSetArn self.configurationSetName = configurationSetName self.createdTimestamp = createdTimestamp + self.defaultMessageFeedbackEnabled = defaultMessageFeedbackEnabled self.defaultMessageType = defaultMessageType self.defaultSenderId = defaultSenderId self.eventDestinations = eventDestinations @@ -2305,6 +2321,8 @@ public struct DeleteConfigurationSetOutput: Swift.Sendable { public var configurationSetName: Swift.String? /// The time that the deleted configuration set was created in [UNIX epoch time](https://www.epochconverter.com/) format. public var createdTimestamp: Foundation.Date? + /// True if the configuration set has message feedback enabled. By default this is set to false. + public var defaultMessageFeedbackEnabled: Swift.Bool? /// The default message type of the configuration set that was deleted. public var defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? /// The default Sender ID of the configuration set that was deleted. @@ -2316,6 +2334,7 @@ public struct DeleteConfigurationSetOutput: Swift.Sendable { configurationSetArn: Swift.String? = nil, configurationSetName: Swift.String? = nil, createdTimestamp: Foundation.Date? = nil, + defaultMessageFeedbackEnabled: Swift.Bool? = nil, defaultMessageType: PinpointSMSVoiceV2ClientTypes.MessageType? = nil, defaultSenderId: Swift.String? = nil, eventDestinations: [PinpointSMSVoiceV2ClientTypes.EventDestination]? = nil @@ -2324,6 +2343,7 @@ public struct DeleteConfigurationSetOutput: Swift.Sendable { self.configurationSetArn = configurationSetArn self.configurationSetName = configurationSetName self.createdTimestamp = createdTimestamp + self.defaultMessageFeedbackEnabled = defaultMessageFeedbackEnabled self.defaultMessageType = defaultMessageType self.defaultSenderId = defaultSenderId self.eventDestinations = eventDestinations @@ -2725,6 +2745,94 @@ public struct DeleteProtectConfigurationOutput: Swift.Sendable { } } +public struct DeleteProtectConfigurationRuleSetNumberOverrideInput: Swift.Sendable { + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + destinationPhoneNumber: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.destinationPhoneNumber = destinationPhoneNumber + self.protectConfigurationId = protectConfigurationId + } +} + +extension PinpointSMSVoiceV2ClientTypes { + + public enum ProtectConfigurationRuleOverrideAction: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case allow + case block + case sdkUnknown(Swift.String) + + public static var allCases: [ProtectConfigurationRuleOverrideAction] { + return [ + .allow, + .block + ] + } + + 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 .allow: return "ALLOW" + case .block: return "BLOCK" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct DeleteProtectConfigurationRuleSetNumberOverrideOutput: Swift.Sendable { + /// The action associated with the rule. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// The time when the rule was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + /// This member is required. + public var createdTimestamp: Foundation.Date? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time when the resource-based policy was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + public var expirationTimestamp: Foundation.Date? + /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. + public var isoCountryCode: Swift.String? + /// The Amazon Resource Name (ARN) of the protect configuration. + /// This member is required. + public var protectConfigurationArn: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + createdTimestamp: Foundation.Date? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + isoCountryCode: Swift.String? = nil, + protectConfigurationArn: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.action = action + self.createdTimestamp = createdTimestamp + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.isoCountryCode = isoCountryCode + self.protectConfigurationArn = protectConfigurationArn + self.protectConfigurationId = protectConfigurationId + } +} + public struct DeleteRegistrationInput: Swift.Sendable { /// The unique identifier for the registration. /// This member is required. @@ -5674,7 +5782,7 @@ public struct DescribeVerifiedDestinationNumbersInput: Swift.Sendable { public var maxResults: Swift.Int? /// The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request. public var nextToken: Swift.String? - /// An array of VerifiedDestinationNumberid to retreive. + /// An array of VerifiedDestinationNumberid to retrieve. public var verifiedDestinationNumberIds: [Swift.String]? public init( @@ -6268,6 +6376,158 @@ public struct ListPoolOriginationIdentitiesOutput: Swift.Sendable { } } +extension PinpointSMSVoiceV2ClientTypes { + + public enum ProtectConfigurationRuleSetNumberOverrideFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case action + case createdAfter + case createdBefore + case destinationPhoneNumberBeginsWith + case expiresAfter + case expiresBefore + case isoCountryCode + case sdkUnknown(Swift.String) + + public static var allCases: [ProtectConfigurationRuleSetNumberOverrideFilterName] { + return [ + .action, + .createdAfter, + .createdBefore, + .destinationPhoneNumberBeginsWith, + .expiresAfter, + .expiresBefore, + .isoCountryCode + ] + } + + 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 .action: return "action" + case .createdAfter: return "created-after" + case .createdBefore: return "created-before" + case .destinationPhoneNumberBeginsWith: return "destination-phone-number-begins-with" + case .expiresAfter: return "expires-after" + case .expiresBefore: return "expires-before" + case .isoCountryCode: return "iso-country-code" + case let .sdkUnknown(s): return s + } + } + } +} + +extension PinpointSMSVoiceV2ClientTypes { + + /// The information for a protect configuration rule set number override that meets a specified criteria. + public struct ProtectConfigurationRuleSetNumberOverrideFilterItem: Swift.Sendable { + /// The name of the attribute to filter on. + /// This member is required. + public var name: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterName? + /// An array values to filter for. + /// This member is required. + public var values: [Swift.String]? + + public init( + name: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterName? = nil, + values: [Swift.String]? = nil + ) + { + self.name = name + self.values = values + } + } +} + +public struct ListProtectConfigurationRuleSetNumberOverridesInput: Swift.Sendable { + /// An array of ProtectConfigurationRuleSetNumberOverrideFilterItem objects to filter the results. + public var filters: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem]? + /// The maximum number of results to return per each request. + public var maxResults: Swift.Int? + /// The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request. + public var nextToken: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + filters: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem]? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.filters = filters + self.maxResults = maxResults + self.nextToken = nextToken + self.protectConfigurationId = protectConfigurationId + } +} + +extension PinpointSMSVoiceV2ClientTypes { + + /// Provides details on a RuleSetNumberOverride. + public struct ProtectConfigurationRuleSetNumberOverride: Swift.Sendable { + /// The action for the rule to perform of either blocking or allowing messages to the destination phone number. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// The time when the rule was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + /// This member is required. + public var createdTimestamp: Foundation.Date? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time the rule will expire at. If ExpirationTimestamp is not set then the rule will not expire. + public var expirationTimestamp: Foundation.Date? + /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. + public var isoCountryCode: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + createdTimestamp: Foundation.Date? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + isoCountryCode: Swift.String? = nil + ) + { + self.action = action + self.createdTimestamp = createdTimestamp + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.isoCountryCode = isoCountryCode + } + } +} + +public struct ListProtectConfigurationRuleSetNumberOverridesOutput: Swift.Sendable { + /// The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request. + public var nextToken: Swift.String? + /// The Amazon Resource Name (ARN) of the protect configuration. + /// This member is required. + public var protectConfigurationArn: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + /// An array of RuleSetNumberOverrides objects. + public var ruleSetNumberOverrides: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]? + + public init( + nextToken: Swift.String? = nil, + protectConfigurationArn: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil, + ruleSetNumberOverrides: [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]? = nil + ) + { + self.nextToken = nextToken + self.protectConfigurationArn = protectConfigurationArn + self.protectConfigurationId = protectConfigurationId + self.ruleSetNumberOverrides = ruleSetNumberOverrides + } +} + extension PinpointSMSVoiceV2ClientTypes { public enum RegistrationAssociationFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -6440,6 +6700,35 @@ public struct ListTagsForResourceOutput: Swift.Sendable { } } +extension PinpointSMSVoiceV2ClientTypes { + + public enum MessageFeedbackStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case received + case sdkUnknown(Swift.String) + + public static var allCases: [MessageFeedbackStatus] { + return [ + .failed, + .received + ] + } + + 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 .failed: return "FAILED" + case .received: return "RECEIVED" + case let .sdkUnknown(s): return s + } + } + } +} + public struct PutKeywordInput: Swift.Sendable { /// The new keyword to add. /// This member is required. @@ -6501,6 +6790,42 @@ public struct PutKeywordOutput: Swift.Sendable { } } +public struct PutMessageFeedbackInput: Swift.Sendable { + /// Set the message feedback to be either RECEIVED or FAILED. + /// This member is required. + public var messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? + /// The unique identifier for the message. + /// This member is required. + public var messageId: Swift.String? + + public init( + messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? = nil, + messageId: Swift.String? = nil + ) + { + self.messageFeedbackStatus = messageFeedbackStatus + self.messageId = messageId + } +} + +public struct PutMessageFeedbackOutput: Swift.Sendable { + /// The current status of the message. + /// This member is required. + public var messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? + /// The unique identifier for the message. + /// This member is required. + public var messageId: Swift.String? + + public init( + messageFeedbackStatus: PinpointSMSVoiceV2ClientTypes.MessageFeedbackStatus? = nil, + messageId: Swift.String? = nil + ) + { + self.messageFeedbackStatus = messageFeedbackStatus + self.messageId = messageId + } +} + public struct PutOptedOutNumberInput: Swift.Sendable { /// The OptOutListName or OptOutListArn to add the phone number to. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). /// This member is required. @@ -6539,11 +6864,83 @@ public struct PutOptedOutNumberOutput: Swift.Sendable { optedOutTimestamp: Foundation.Date? = nil ) { - self.endUserOptedOut = endUserOptedOut - self.optOutListArn = optOutListArn - self.optOutListName = optOutListName - self.optedOutNumber = optedOutNumber - self.optedOutTimestamp = optedOutTimestamp + self.endUserOptedOut = endUserOptedOut + self.optOutListArn = optOutListArn + self.optOutListName = optOutListName + self.optedOutNumber = optedOutNumber + self.optedOutTimestamp = optedOutTimestamp + } +} + +public struct PutProtectConfigurationRuleSetNumberOverrideInput: Swift.Sendable { + /// The action for the rule to either block or allow messages to the destination phone number. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency. + public var clientToken: Swift.String? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time the rule will expire at. If ExpirationTimestamp is not set then the rule does not expire. + public var expirationTimestamp: Foundation.Date? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + clientToken: Swift.String? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.action = action + self.clientToken = clientToken + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.protectConfigurationId = protectConfigurationId + } +} + +public struct PutProtectConfigurationRuleSetNumberOverrideOutput: Swift.Sendable { + /// The action for the rule to take. + /// This member is required. + public var action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? + /// The time when the rule was created, in [UNIX epoch time](https://www.epochconverter.com/) format. + /// This member is required. + public var createdTimestamp: Foundation.Date? + /// The destination phone number in E.164 format. + /// This member is required. + public var destinationPhoneNumber: Swift.String? + /// The time the rule will expire at. + public var expirationTimestamp: Foundation.Date? + /// The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. + public var isoCountryCode: Swift.String? + /// The Amazon Resource Name (ARN) of the protect configuration. + /// This member is required. + public var protectConfigurationArn: Swift.String? + /// The unique identifier for the protect configuration. + /// This member is required. + public var protectConfigurationId: Swift.String? + + public init( + action: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleOverrideAction? = nil, + createdTimestamp: Foundation.Date? = nil, + destinationPhoneNumber: Swift.String? = nil, + expirationTimestamp: Foundation.Date? = nil, + isoCountryCode: Swift.String? = nil, + protectConfigurationArn: Swift.String? = nil, + protectConfigurationId: Swift.String? = nil + ) + { + self.action = action + self.createdTimestamp = createdTimestamp + self.destinationPhoneNumber = destinationPhoneNumber + self.expirationTimestamp = expirationTimestamp + self.isoCountryCode = isoCountryCode + self.protectConfigurationArn = protectConfigurationArn + self.protectConfigurationId = protectConfigurationId } } @@ -7148,12 +7545,14 @@ public struct SendMediaMessageInput: Swift.Sendable { public var mediaUrls: [Swift.String]? /// The text body of the message. public var messageBody: Swift.String? + /// Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using [PutMessageFeedback]. + public var messageFeedbackEnabled: Swift.Bool? /// The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). /// This member is required. public var originationIdentity: Swift.String? /// The unique identifier of the protect configuration to use. public var protectConfigurationId: Swift.String? - /// How long the text message is valid for. By default this is 72 hours. + /// How long the media message is valid for. By default this is 72 hours. public var timeToLive: Swift.Int? public init( @@ -7164,6 +7563,7 @@ public struct SendMediaMessageInput: Swift.Sendable { maxPrice: Swift.String? = nil, mediaUrls: [Swift.String]? = nil, messageBody: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil, originationIdentity: Swift.String? = nil, protectConfigurationId: Swift.String? = nil, timeToLive: Swift.Int? = nil @@ -7176,6 +7576,7 @@ public struct SendMediaMessageInput: Swift.Sendable { self.maxPrice = maxPrice self.mediaUrls = mediaUrls self.messageBody = messageBody + self.messageFeedbackEnabled = messageFeedbackEnabled self.originationIdentity = originationIdentity self.protectConfigurationId = protectConfigurationId self.timeToLive = timeToLive @@ -7216,6 +7617,8 @@ public struct SendTextMessageInput: Swift.Sendable { public var maxPrice: Swift.String? /// The body of the text message. public var messageBody: Swift.String? + /// Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using [PutMessageFeedback]. + public var messageFeedbackEnabled: Swift.Bool? /// The type of message. Valid values are for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive. public var messageType: PinpointSMSVoiceV2ClientTypes.MessageType? /// The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). @@ -7234,6 +7637,7 @@ public struct SendTextMessageInput: Swift.Sendable { keyword: Swift.String? = nil, maxPrice: Swift.String? = nil, messageBody: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil, messageType: PinpointSMSVoiceV2ClientTypes.MessageType? = nil, originationIdentity: Swift.String? = nil, protectConfigurationId: Swift.String? = nil, @@ -7248,6 +7652,7 @@ public struct SendTextMessageInput: Swift.Sendable { self.keyword = keyword self.maxPrice = maxPrice self.messageBody = messageBody + self.messageFeedbackEnabled = messageFeedbackEnabled self.messageType = messageType self.originationIdentity = originationIdentity self.protectConfigurationId = protectConfigurationId @@ -7516,6 +7921,8 @@ public struct SendVoiceMessageInput: Swift.Sendable { /// /// * SSML: When used the maximum character limit is 6000 including SSML tagging. public var messageBodyTextType: PinpointSMSVoiceV2ClientTypes.VoiceMessageBodyTextType? + /// Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using [PutMessageFeedback]. + public var messageFeedbackEnabled: Swift.Bool? /// The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn. If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). /// This member is required. public var originationIdentity: Swift.String? @@ -7534,6 +7941,7 @@ public struct SendVoiceMessageInput: Swift.Sendable { maxPricePerMinute: Swift.String? = nil, messageBody: Swift.String? = nil, messageBodyTextType: PinpointSMSVoiceV2ClientTypes.VoiceMessageBodyTextType? = nil, + messageFeedbackEnabled: Swift.Bool? = nil, originationIdentity: Swift.String? = nil, protectConfigurationId: Swift.String? = nil, timeToLive: Swift.Int? = nil, @@ -7547,6 +7955,7 @@ public struct SendVoiceMessageInput: Swift.Sendable { self.maxPricePerMinute = maxPricePerMinute self.messageBody = messageBody self.messageBodyTextType = messageBodyTextType + self.messageFeedbackEnabled = messageFeedbackEnabled self.originationIdentity = originationIdentity self.protectConfigurationId = protectConfigurationId self.timeToLive = timeToLive @@ -7597,6 +8006,44 @@ public struct SetAccountDefaultProtectConfigurationOutput: Swift.Sendable { } } +public struct SetDefaultMessageFeedbackEnabledInput: Swift.Sendable { + /// The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn. + /// This member is required. + public var configurationSetName: Swift.String? + /// Set to true to enable message feedback. + /// This member is required. + public var messageFeedbackEnabled: Swift.Bool? + + public init( + configurationSetName: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil + ) + { + self.configurationSetName = configurationSetName + self.messageFeedbackEnabled = messageFeedbackEnabled + } +} + +public struct SetDefaultMessageFeedbackEnabledOutput: Swift.Sendable { + /// The arn of the configuration set. + public var configurationSetArn: Swift.String? + /// The name of the configuration. + public var configurationSetName: Swift.String? + /// True if message feedback is enabled. + public var messageFeedbackEnabled: Swift.Bool? + + public init( + configurationSetArn: Swift.String? = nil, + configurationSetName: Swift.String? = nil, + messageFeedbackEnabled: Swift.Bool? = nil + ) + { + self.configurationSetArn = configurationSetArn + self.configurationSetName = configurationSetName + self.messageFeedbackEnabled = messageFeedbackEnabled + } +} + public struct SetDefaultMessageTypeInput: Swift.Sendable { /// The configuration set to update with a new default message type. This field can be the ConsigurationSetName or ConfigurationSetArn. /// This member is required. @@ -8508,6 +8955,13 @@ extension DeleteProtectConfigurationInput { } } +extension DeleteProtectConfigurationRuleSetNumberOverrideInput { + + static func urlPathProvider(_ value: DeleteProtectConfigurationRuleSetNumberOverrideInput) -> Swift.String? { + return "/" + } +} + extension DeleteRegistrationInput { static func urlPathProvider(_ value: DeleteRegistrationInput) -> Swift.String? { @@ -8732,6 +9186,13 @@ extension ListPoolOriginationIdentitiesInput { } } +extension ListProtectConfigurationRuleSetNumberOverridesInput { + + static func urlPathProvider(_ value: ListProtectConfigurationRuleSetNumberOverridesInput) -> Swift.String? { + return "/" + } +} + extension ListRegistrationAssociationsInput { static func urlPathProvider(_ value: ListRegistrationAssociationsInput) -> Swift.String? { @@ -8753,6 +9214,13 @@ extension PutKeywordInput { } } +extension PutMessageFeedbackInput { + + static func urlPathProvider(_ value: PutMessageFeedbackInput) -> Swift.String? { + return "/" + } +} + extension PutOptedOutNumberInput { static func urlPathProvider(_ value: PutOptedOutNumberInput) -> Swift.String? { @@ -8760,6 +9228,13 @@ extension PutOptedOutNumberInput { } } +extension PutProtectConfigurationRuleSetNumberOverrideInput { + + static func urlPathProvider(_ value: PutProtectConfigurationRuleSetNumberOverrideInput) -> Swift.String? { + return "/" + } +} + extension PutRegistrationFieldValueInput { static func urlPathProvider(_ value: PutRegistrationFieldValueInput) -> Swift.String? { @@ -8837,6 +9312,13 @@ extension SetAccountDefaultProtectConfigurationInput { } } +extension SetDefaultMessageFeedbackEnabledInput { + + static func urlPathProvider(_ value: SetDefaultMessageFeedbackEnabledInput) -> Swift.String? { + return "/" + } +} + extension SetDefaultMessageTypeInput { static func urlPathProvider(_ value: SetDefaultMessageTypeInput) -> Swift.String? { @@ -9158,6 +9640,15 @@ extension DeleteProtectConfigurationInput { } } +extension DeleteProtectConfigurationRuleSetNumberOverrideInput { + + static func write(value: DeleteProtectConfigurationRuleSetNumberOverrideInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["DestinationPhoneNumber"].write(value.destinationPhoneNumber) + try writer["ProtectConfigurationId"].write(value.protectConfigurationId) + } +} + extension DeleteRegistrationInput { static func write(value: DeleteRegistrationInput?, to writer: SmithyJSON.Writer) throws { @@ -9484,6 +9975,17 @@ extension ListPoolOriginationIdentitiesInput { } } +extension ListProtectConfigurationRuleSetNumberOverridesInput { + + static func write(value: ListProtectConfigurationRuleSetNumberOverridesInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Filters"].writeList(value.filters, memberWritingClosure: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["MaxResults"].write(value.maxResults) + try writer["NextToken"].write(value.nextToken) + try writer["ProtectConfigurationId"].write(value.protectConfigurationId) + } +} + extension ListRegistrationAssociationsInput { static func write(value: ListRegistrationAssociationsInput?, to writer: SmithyJSON.Writer) throws { @@ -9514,6 +10016,15 @@ extension PutKeywordInput { } } +extension PutMessageFeedbackInput { + + static func write(value: PutMessageFeedbackInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["MessageFeedbackStatus"].write(value.messageFeedbackStatus) + try writer["MessageId"].write(value.messageId) + } +} + extension PutOptedOutNumberInput { static func write(value: PutOptedOutNumberInput?, to writer: SmithyJSON.Writer) throws { @@ -9523,6 +10034,18 @@ extension PutOptedOutNumberInput { } } +extension PutProtectConfigurationRuleSetNumberOverrideInput { + + static func write(value: PutProtectConfigurationRuleSetNumberOverrideInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Action"].write(value.action) + try writer["ClientToken"].write(value.clientToken) + try writer["DestinationPhoneNumber"].write(value.destinationPhoneNumber) + try writer["ExpirationTimestamp"].writeTimestamp(value.expirationTimestamp, format: SmithyTimestamps.TimestampFormat.epochSeconds) + try writer["ProtectConfigurationId"].write(value.protectConfigurationId) + } +} + extension PutRegistrationFieldValueInput { static func write(value: PutRegistrationFieldValueInput?, to writer: SmithyJSON.Writer) throws { @@ -9616,6 +10139,7 @@ extension SendMediaMessageInput { try writer["MaxPrice"].write(value.maxPrice) try writer["MediaUrls"].writeList(value.mediaUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["MessageBody"].write(value.messageBody) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) try writer["OriginationIdentity"].write(value.originationIdentity) try writer["ProtectConfigurationId"].write(value.protectConfigurationId) try writer["TimeToLive"].write(value.timeToLive) @@ -9634,6 +10158,7 @@ extension SendTextMessageInput { try writer["Keyword"].write(value.keyword) try writer["MaxPrice"].write(value.maxPrice) try writer["MessageBody"].write(value.messageBody) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) try writer["MessageType"].write(value.messageType) try writer["OriginationIdentity"].write(value.originationIdentity) try writer["ProtectConfigurationId"].write(value.protectConfigurationId) @@ -9652,6 +10177,7 @@ extension SendVoiceMessageInput { try writer["MaxPricePerMinute"].write(value.maxPricePerMinute) try writer["MessageBody"].write(value.messageBody) try writer["MessageBodyTextType"].write(value.messageBodyTextType) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) try writer["OriginationIdentity"].write(value.originationIdentity) try writer["ProtectConfigurationId"].write(value.protectConfigurationId) try writer["TimeToLive"].write(value.timeToLive) @@ -9667,6 +10193,15 @@ extension SetAccountDefaultProtectConfigurationInput { } } +extension SetDefaultMessageFeedbackEnabledInput { + + static func write(value: SetDefaultMessageFeedbackEnabledInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ConfigurationSetName"].write(value.configurationSetName) + try writer["MessageFeedbackEnabled"].write(value.messageFeedbackEnabled) + } +} + extension SetDefaultMessageTypeInput { static func write(value: SetDefaultMessageTypeInput?, to writer: SmithyJSON.Writer) throws { @@ -10042,6 +10577,7 @@ extension DeleteConfigurationSetOutput { value.configurationSetArn = try reader["ConfigurationSetArn"].readIfPresent() value.configurationSetName = try reader["ConfigurationSetName"].readIfPresent() value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.defaultMessageFeedbackEnabled = try reader["DefaultMessageFeedbackEnabled"].readIfPresent() value.defaultMessageType = try reader["DefaultMessageType"].readIfPresent() value.defaultSenderId = try reader["DefaultSenderId"].readIfPresent() value.eventDestinations = try reader["EventDestinations"].readListIfPresent(memberReadingClosure: PinpointSMSVoiceV2ClientTypes.EventDestination.read(from:), memberNodeInfo: "member", isFlattened: false) @@ -10187,6 +10723,24 @@ extension DeleteProtectConfigurationOutput { } } +extension DeleteProtectConfigurationRuleSetNumberOverrideOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteProtectConfigurationRuleSetNumberOverrideOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = DeleteProtectConfigurationRuleSetNumberOverrideOutput() + value.action = try reader["Action"].readIfPresent() ?? .sdkUnknown("") + value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.destinationPhoneNumber = try reader["DestinationPhoneNumber"].readIfPresent() ?? "" + value.expirationTimestamp = try reader["ExpirationTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.isoCountryCode = try reader["IsoCountryCode"].readIfPresent() + value.protectConfigurationArn = try reader["ProtectConfigurationArn"].readIfPresent() ?? "" + value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() ?? "" + return value + } +} + extension DeleteRegistrationOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRegistrationOutput { @@ -10643,6 +11197,21 @@ extension ListPoolOriginationIdentitiesOutput { } } +extension ListProtectConfigurationRuleSetNumberOverridesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListProtectConfigurationRuleSetNumberOverridesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListProtectConfigurationRuleSetNumberOverridesOutput() + value.nextToken = try reader["NextToken"].readIfPresent() + value.protectConfigurationArn = try reader["ProtectConfigurationArn"].readIfPresent() ?? "" + value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() ?? "" + value.ruleSetNumberOverrides = try reader["RuleSetNumberOverrides"].readListIfPresent(memberReadingClosure: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + extension ListRegistrationAssociationsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRegistrationAssociationsOutput { @@ -10688,6 +11257,19 @@ extension PutKeywordOutput { } } +extension PutMessageFeedbackOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutMessageFeedbackOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutMessageFeedbackOutput() + value.messageFeedbackStatus = try reader["MessageFeedbackStatus"].readIfPresent() ?? .sdkUnknown("") + value.messageId = try reader["MessageId"].readIfPresent() ?? "" + return value + } +} + extension PutOptedOutNumberOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutOptedOutNumberOutput { @@ -10704,6 +11286,24 @@ extension PutOptedOutNumberOutput { } } +extension PutProtectConfigurationRuleSetNumberOverrideOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutProtectConfigurationRuleSetNumberOverrideOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = PutProtectConfigurationRuleSetNumberOverrideOutput() + value.action = try reader["Action"].readIfPresent() ?? .sdkUnknown("") + value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.destinationPhoneNumber = try reader["DestinationPhoneNumber"].readIfPresent() ?? "" + value.expirationTimestamp = try reader["ExpirationTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.isoCountryCode = try reader["IsoCountryCode"].readIfPresent() + value.protectConfigurationArn = try reader["ProtectConfigurationArn"].readIfPresent() ?? "" + value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() ?? "" + return value + } +} + extension PutRegistrationFieldValueOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutRegistrationFieldValueOutput { @@ -10891,6 +11491,20 @@ extension SetAccountDefaultProtectConfigurationOutput { } } +extension SetDefaultMessageFeedbackEnabledOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultMessageFeedbackEnabledOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = SetDefaultMessageFeedbackEnabledOutput() + value.configurationSetArn = try reader["ConfigurationSetArn"].readIfPresent() + value.configurationSetName = try reader["ConfigurationSetName"].readIfPresent() + value.messageFeedbackEnabled = try reader["MessageFeedbackEnabled"].readIfPresent() + return value + } +} + extension SetDefaultMessageTypeOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> SetDefaultMessageTypeOutput { @@ -11550,6 +12164,24 @@ enum DeleteProtectConfigurationOutputError { } } +enum DeleteProtectConfigurationRuleSetNumberOverrideOutputError { + + 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.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteRegistrationOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12125,6 +12757,24 @@ enum ListPoolOriginationIdentitiesOutputError { } } +enum ListProtectConfigurationRuleSetNumberOverridesOutputError { + + 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.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListRegistrationAssociationsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12181,6 +12831,24 @@ enum PutKeywordOutputError { } } +enum PutMessageFeedbackOutputError { + + 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.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum PutOptedOutNumberOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12199,6 +12867,25 @@ enum PutOptedOutNumberOutputError { } } +enum PutProtectConfigurationRuleSetNumberOverrideOutputError { + + 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.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum PutRegistrationFieldValueOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12411,6 +13098,24 @@ enum SetAccountDefaultProtectConfigurationOutputError { } } +enum SetDefaultMessageFeedbackEnabledOutputError { + + 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.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum SetDefaultMessageTypeOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12917,6 +13622,7 @@ extension PinpointSMSVoiceV2ClientTypes.ConfigurationSetInformation { value.eventDestinations = try reader["EventDestinations"].readListIfPresent(memberReadingClosure: PinpointSMSVoiceV2ClientTypes.EventDestination.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] value.defaultMessageType = try reader["DefaultMessageType"].readIfPresent() value.defaultSenderId = try reader["DefaultSenderId"].readIfPresent() + value.defaultMessageFeedbackEnabled = try reader["DefaultMessageFeedbackEnabled"].readIfPresent() value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") value.protectConfigurationId = try reader["ProtectConfigurationId"].readIfPresent() return value @@ -13300,6 +14006,20 @@ extension PinpointSMSVoiceV2ClientTypes.OriginationIdentityMetadata { } } +extension PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride { + + static func read(from reader: SmithyJSON.Reader) throws -> PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride() + value.destinationPhoneNumber = try reader["DestinationPhoneNumber"].readIfPresent() ?? "" + value.createdTimestamp = try reader["CreatedTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.action = try reader["Action"].readIfPresent() ?? .sdkUnknown("") + value.isoCountryCode = try reader["IsoCountryCode"].readIfPresent() + value.expirationTimestamp = try reader["ExpirationTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + return value + } +} + extension PinpointSMSVoiceV2ClientTypes.RegistrationAssociationMetadata { static func read(from reader: SmithyJSON.Reader) throws -> PinpointSMSVoiceV2ClientTypes.RegistrationAssociationMetadata { @@ -13451,6 +14171,15 @@ extension PinpointSMSVoiceV2ClientTypes.PoolOriginationIdentitiesFilter { } } +extension PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem { + + static func write(value: PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverrideFilterItem?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Name"].write(value.name) + try writer["Values"].writeList(value.values, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension PinpointSMSVoiceV2ClientTypes.RegistrationAssociationFilter { static func write(value: PinpointSMSVoiceV2ClientTypes.RegistrationAssociationFilter?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift index c18d9ca096c..61d7c512950 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/Paginators.swift @@ -654,6 +654,38 @@ extension PaginatorSequence where OperationStackInput == ListPoolOriginationIden return try await self.asyncCompactMap { item in item.originationIdentities } } } +extension PinpointSMSVoiceV2Client { + /// Paginate over `[ListProtectConfigurationRuleSetNumberOverridesOutput]` 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 `[ListProtectConfigurationRuleSetNumberOverridesInput]` to start pagination + /// - Returns: An `AsyncSequence` that can iterate over `ListProtectConfigurationRuleSetNumberOverridesOutput` + public func listProtectConfigurationRuleSetNumberOverridesPaginated(input: ListProtectConfigurationRuleSetNumberOverridesInput) -> ClientRuntime.PaginatorSequence { + return ClientRuntime.PaginatorSequence(input: input, inputKey: \.nextToken, outputKey: \.nextToken, paginationFunction: self.listProtectConfigurationRuleSetNumberOverrides(input:)) + } +} + +extension ListProtectConfigurationRuleSetNumberOverridesInput: ClientRuntime.PaginateToken { + public func usingPaginationToken(_ token: Swift.String) -> ListProtectConfigurationRuleSetNumberOverridesInput { + return ListProtectConfigurationRuleSetNumberOverridesInput( + filters: self.filters, + maxResults: self.maxResults, + nextToken: token, + protectConfigurationId: self.protectConfigurationId + )} +} + +extension PaginatorSequence where OperationStackInput == ListProtectConfigurationRuleSetNumberOverridesInput, OperationStackOutput == ListProtectConfigurationRuleSetNumberOverridesOutput { + /// This paginator transforms the `AsyncSequence` returned by `listProtectConfigurationRuleSetNumberOverridesPaginated` + /// to access the nested member `[PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]` + /// - Returns: `[PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride]` + public func ruleSetNumberOverrides() async throws -> [PinpointSMSVoiceV2ClientTypes.ProtectConfigurationRuleSetNumberOverride] { + return try await self.asyncCompactMap { item in item.ruleSetNumberOverrides } + } +} extension PinpointSMSVoiceV2Client { /// Paginate over `[ListRegistrationAssociationsOutput]` results. /// diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift index 82b824edd5b..f4a9ac7b13a 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceV2Client: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceV2Client.PinpointSMSVoiceV2ClientConfiguration let serviceName = "Pinpoint SMS Voice V2" @@ -1927,6 +1927,80 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `DeleteProtectConfigurationRuleSetNumberOverride` operation on the `PinpointSMSVoiceV2` service. + /// + /// Permanently delete the protect configuration rule set number override. + /// + /// - Parameter DeleteProtectConfigurationRuleSetNumberOverrideInput : [no documentation found] + /// + /// - Returns: `DeleteProtectConfigurationRuleSetNumberOverrideOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func deleteProtectConfigurationRuleSetNumberOverride(input: DeleteProtectConfigurationRuleSetNumberOverrideInput) async throws -> DeleteProtectConfigurationRuleSetNumberOverrideOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "deleteProtectConfigurationRuleSetNumberOverride") + .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: "sms-voice") + .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(DeleteProtectConfigurationRuleSetNumberOverrideInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteProtectConfigurationRuleSetNumberOverrideOutput.httpOutput(from:), DeleteProtectConfigurationRuleSetNumberOverrideOutputError.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: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.DeleteProtectConfigurationRuleSetNumberOverride")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DeleteProtectConfigurationRuleSetNumberOverrideInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + 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: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteProtectConfigurationRuleSetNumberOverride") + 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 `DeleteRegistration` operation on the `PinpointSMSVoiceV2` service. /// /// Permanently delete an existing registration from your account. @@ -3775,7 +3849,7 @@ extension PinpointSMSVoiceV2Client { /// Performs the `DescribeVerifiedDestinationNumbers` operation on the `PinpointSMSVoiceV2` service. /// - /// Retrieves the specified verified destiona numbers. + /// Retrieves the specified verified destination numbers. /// /// - Parameter DescribeVerifiedDestinationNumbersInput : [no documentation found] /// @@ -4295,9 +4369,83 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `ListProtectConfigurationRuleSetNumberOverrides` operation on the `PinpointSMSVoiceV2` service. + /// + /// Retrieve all of the protect configuration rule set number overrides that match the filters. + /// + /// - Parameter ListProtectConfigurationRuleSetNumberOverridesInput : [no documentation found] + /// + /// - Returns: `ListProtectConfigurationRuleSetNumberOverridesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func listProtectConfigurationRuleSetNumberOverrides(input: ListProtectConfigurationRuleSetNumberOverridesInput) async throws -> ListProtectConfigurationRuleSetNumberOverridesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "listProtectConfigurationRuleSetNumberOverrides") + .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: "sms-voice") + .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(ListProtectConfigurationRuleSetNumberOverridesInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListProtectConfigurationRuleSetNumberOverridesOutput.httpOutput(from:), ListProtectConfigurationRuleSetNumberOverridesOutputError.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: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.ListProtectConfigurationRuleSetNumberOverrides")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListProtectConfigurationRuleSetNumberOverridesInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + 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: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListProtectConfigurationRuleSetNumberOverrides") + 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 `ListRegistrationAssociations` operation on the `PinpointSMSVoiceV2` service. /// - /// Retreive all of the origination identies that are associated with a registration. + /// Retrieve all of the origination identities that are associated with a registration. /// /// - Parameter ListRegistrationAssociationsInput : [no documentation found] /// @@ -4519,6 +4667,80 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `PutMessageFeedback` operation on the `PinpointSMSVoiceV2` service. + /// + /// Set the MessageFeedbackStatus as RECEIVED or FAILED for the passed in MessageId. If you use message feedback then you must update message feedback record. When you receive a signal that a user has received the message you must use PutMessageFeedback to set the message feedback record as RECEIVED; Otherwise, an hour after the message feedback record is set to FAILED. + /// + /// - Parameter PutMessageFeedbackInput : [no documentation found] + /// + /// - Returns: `PutMessageFeedbackOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func putMessageFeedback(input: PutMessageFeedbackInput) async throws -> PutMessageFeedbackOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "putMessageFeedback") + .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: "sms-voice") + .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(PutMessageFeedbackInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutMessageFeedbackOutput.httpOutput(from:), PutMessageFeedbackOutputError.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: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.PutMessageFeedback")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutMessageFeedbackInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + 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: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutMessageFeedback") + 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 `PutOptedOutNumber` operation on the `PinpointSMSVoiceV2` service. /// /// Creates an opted out destination phone number in the opt-out list. If the destination phone number isn't valid or if the specified opt-out list doesn't exist, an error is returned. @@ -4593,6 +4815,82 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `PutProtectConfigurationRuleSetNumberOverride` operation on the `PinpointSMSVoiceV2` service. + /// + /// Create or update a RuleSetNumberOverride and associate it with a protect configuration. + /// + /// - Parameter PutProtectConfigurationRuleSetNumberOverrideInput : [no documentation found] + /// + /// - Returns: `PutProtectConfigurationRuleSetNumberOverrideOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `ConflictException` : Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ServiceQuotaExceededException` : The request would cause a service quota to be exceeded. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func putProtectConfigurationRuleSetNumberOverride(input: PutProtectConfigurationRuleSetNumberOverrideInput) async throws -> PutProtectConfigurationRuleSetNumberOverrideOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "putProtectConfigurationRuleSetNumberOverride") + .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: "sms-voice") + .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: \.clientToken)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutProtectConfigurationRuleSetNumberOverrideInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(PutProtectConfigurationRuleSetNumberOverrideOutput.httpOutput(from:), PutProtectConfigurationRuleSetNumberOverrideOutputError.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: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.PutProtectConfigurationRuleSetNumberOverride")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: PutProtectConfigurationRuleSetNumberOverrideInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + 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: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "PutProtectConfigurationRuleSetNumberOverride") + 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 `PutRegistrationFieldValue` operation on the `PinpointSMSVoiceV2` service. /// /// Creates or updates a field value for a registration. @@ -5423,6 +5721,80 @@ extension PinpointSMSVoiceV2Client { return try await op.execute(input: input) } + /// Performs the `SetDefaultMessageFeedbackEnabled` operation on the `PinpointSMSVoiceV2` service. + /// + /// Sets a configuration set's default for message feedback. + /// + /// - Parameter SetDefaultMessageFeedbackEnabledInput : [no documentation found] + /// + /// - Returns: `SetDefaultMessageFeedbackEnabledOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request was denied because you don't have sufficient permissions to access the resource. + /// - `InternalServerException` : The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future. + /// - `ResourceNotFoundException` : A requested resource couldn't be found. + /// - `ThrottlingException` : An error that occurred because too many requests were sent during a certain amount of time. + /// - `ValidationException` : A validation exception for a field. + public func setDefaultMessageFeedbackEnabled(input: SetDefaultMessageFeedbackEnabledInput) async throws -> SetDefaultMessageFeedbackEnabledOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "setDefaultMessageFeedbackEnabled") + .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: "sms-voice") + .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(SetDefaultMessageFeedbackEnabledInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(SetDefaultMessageFeedbackEnabledOutput.httpOutput(from:), SetDefaultMessageFeedbackEnabledOutputError.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: PinpointSMSVoiceV2Client.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "PinpointSMSVoiceV2.SetDefaultMessageFeedbackEnabled")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: SetDefaultMessageFeedbackEnabledInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + 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: "PinpointSMSVoiceV2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "SetDefaultMessageFeedbackEnabled") + 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 `SetDefaultMessageType` operation on the `PinpointSMSVoiceV2` service. /// /// Sets the default message type on a configuration set. Choose the category of SMS messages that you plan to send from this account. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account. diff --git a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift index 38c48050144..8cf2c08bb5d 100644 --- a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift +++ b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PipesClient: ClientRuntime.Client { public static let clientName = "PipesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PipesClient.PipesClientConfiguration let serviceName = "Pipes" diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift index c823f5990f9..b3d49e618bf 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PollyClient: ClientRuntime.Client { public static let clientName = "PollyClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PollyClient.PollyClientConfiguration let serviceName = "Polly" diff --git a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift index bc963fc69cd..1dc10416826 100644 --- a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift +++ b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PricingClient: ClientRuntime.Client { public static let clientName = "PricingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PricingClient.PricingClientConfiguration let serviceName = "Pricing" diff --git a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift index 0742f559a0b..d886390564b 100644 --- a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift +++ b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PrivateNetworksClient: ClientRuntime.Client { public static let clientName = "PrivateNetworksClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: PrivateNetworksClient.PrivateNetworksClientConfiguration let serviceName = "PrivateNetworks" diff --git a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift index 0540e76a258..2e84d6c2084 100644 --- a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift +++ b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ProtonClient: ClientRuntime.Client { public static let clientName = "ProtonClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ProtonClient.ProtonClientConfiguration let serviceName = "Proton" diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift index 6e1d4847b5a..ac94ff0c0ec 100644 --- a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QAppsClient: ClientRuntime.Client { public static let clientName = "QAppsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QAppsClient.QAppsClientConfiguration let serviceName = "QApps" diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift index a0ca14d8eb7..6b2c33a4678 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QBusinessClient: ClientRuntime.Client { public static let clientName = "QBusinessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QBusinessClient.QBusinessClientConfiguration let serviceName = "QBusiness" diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift index 804d1f83e20..befacade9f4 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QConnectClient: ClientRuntime.Client { public static let clientName = "QConnectClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QConnectClient.QConnectClientConfiguration let serviceName = "QConnect" diff --git a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift index 69014a632da..af1989df590 100644 --- a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift +++ b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBClient: ClientRuntime.Client { public static let clientName = "QLDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QLDBClient.QLDBClientConfiguration let serviceName = "QLDB" diff --git a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift index 9ba9e64e2c4..0706a499520 100644 --- a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift +++ b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBSessionClient: ClientRuntime.Client { public static let clientName = "QLDBSessionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QLDBSessionClient.QLDBSessionClientConfiguration let serviceName = "QLDB Session" diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift index 053710a49e0..eb600579ed8 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QuickSightClient: ClientRuntime.Client { public static let clientName = "QuickSightClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: QuickSightClient.QuickSightClientConfiguration let serviceName = "QuickSight" diff --git a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift index d25f0d801ef..2006fd9add0 100644 --- a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift +++ b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RAMClient: ClientRuntime.Client { public static let clientName = "RAMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RAMClient.RAMClientConfiguration let serviceName = "RAM" diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift index 4de67a5b505..131b4850b48 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSClient: ClientRuntime.Client { public static let clientName = "RDSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RDSClient.RDSClientConfiguration let serviceName = "RDS" diff --git a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift index 691f006ab2f..176f560999e 100644 --- a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift +++ b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSDataClient: ClientRuntime.Client { public static let clientName = "RDSDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RDSDataClient.RDSDataClientConfiguration let serviceName = "RDS Data" diff --git a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift index 73ab0dd6376..d3e9364a843 100644 --- a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift +++ b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RUMClient: ClientRuntime.Client { public static let clientName = "RUMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RUMClient.RUMClientConfiguration let serviceName = "RUM" diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift index b5a245b16bf..d6d08a9f12b 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RbinClient: ClientRuntime.Client { public static let clientName = "RbinClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RbinClient.RbinClientConfiguration let serviceName = "rbin" diff --git a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift index 513dde9e6b3..8aae9688fde 100644 --- a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift +++ b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftClient: ClientRuntime.Client { public static let clientName = "RedshiftClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RedshiftClient.RedshiftClientConfiguration let serviceName = "Redshift" diff --git a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift index f1990724b6e..dd5ab769e49 100644 --- a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift +++ b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftDataClient: ClientRuntime.Client { public static let clientName = "RedshiftDataClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RedshiftDataClient.RedshiftDataClientConfiguration let serviceName = "Redshift Data" diff --git a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift index 450cd3f6237..11bf7e4c121 100644 --- a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift +++ b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftServerlessClient: ClientRuntime.Client { public static let clientName = "RedshiftServerlessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RedshiftServerlessClient.RedshiftServerlessClientConfiguration let serviceName = "Redshift Serverless" diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift index 35548ac28f0..49318dd39a3 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RekognitionClient: ClientRuntime.Client { public static let clientName = "RekognitionClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RekognitionClient.RekognitionClientConfiguration let serviceName = "Rekognition" diff --git a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift index 075832503ab..6ad9062850a 100644 --- a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift +++ b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RepostspaceClient: ClientRuntime.Client { public static let clientName = "RepostspaceClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RepostspaceClient.RepostspaceClientConfiguration let serviceName = "repostspace" diff --git a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift index 26d9fbdc26f..96d2fe72014 100644 --- a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift +++ b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResiliencehubClient: ClientRuntime.Client { public static let clientName = "ResiliencehubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResiliencehubClient.ResiliencehubClientConfiguration let serviceName = "resiliencehub" diff --git a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift index 6005d528d78..b57308f2bb8 100644 --- a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift +++ b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceExplorer2Client: ClientRuntime.Client { public static let clientName = "ResourceExplorer2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResourceExplorer2Client.ResourceExplorer2ClientConfiguration let serviceName = "Resource Explorer 2" diff --git a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift index a0f305eb919..6d09deeea02 100644 --- a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift +++ b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsClient.ResourceGroupsClientConfiguration let serviceName = "Resource Groups" diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift index 506bacfff6e..be6e667493b 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsTaggingAPIClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsTaggingAPIClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsTaggingAPIClient.ResourceGroupsTaggingAPIClientConfiguration let serviceName = "Resource Groups Tagging API" diff --git a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift index 7cd380cb1f6..050be4a58c0 100644 --- a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift +++ b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RoboMakerClient: ClientRuntime.Client { public static let clientName = "RoboMakerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RoboMakerClient.RoboMakerClientConfiguration let serviceName = "RoboMaker" diff --git a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift index a5cecbe495a..3ecc719867e 100644 --- a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift +++ b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RolesAnywhereClient: ClientRuntime.Client { public static let clientName = "RolesAnywhereClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: RolesAnywhereClient.RolesAnywhereClientConfiguration let serviceName = "RolesAnywhere" diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift index 2101b59d396..af3514419ce 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53Client: ClientRuntime.Client { public static let clientName = "Route53Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53Client.Route53ClientConfiguration let serviceName = "Route 53" diff --git a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift index 00200b0f723..0c87901ebc0 100644 --- a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift +++ b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53DomainsClient: ClientRuntime.Client { public static let clientName = "Route53DomainsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53DomainsClient.Route53DomainsClientConfiguration let serviceName = "Route 53 Domains" diff --git a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift index 8ed2758253b..fb225564c3c 100644 --- a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift +++ b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ProfilesClient: ClientRuntime.Client { public static let clientName = "Route53ProfilesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53ProfilesClient.Route53ProfilesClientConfiguration let serviceName = "Route53Profiles" diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift index bbf77b90acd..81e00b19114 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift +++ b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryClusterClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryClusterClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryClusterClient.Route53RecoveryClusterClientConfiguration let serviceName = "Route53 Recovery Cluster" diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift index 0fcc034155a..2572f3c2ce6 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryControlConfigClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryControlConfigClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryControlConfigClient.Route53RecoveryControlConfigClientConfiguration let serviceName = "Route53 Recovery Control Config" diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift index c2e5951595a..67688add069 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryReadinessClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryReadinessClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryReadinessClient.Route53RecoveryReadinessClientConfiguration let serviceName = "Route53 Recovery Readiness" diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift index 5834cbd27e7..439d2c7fc08 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Models.swift @@ -946,7 +946,7 @@ extension Route53ResolverClientTypes { /// /// * CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. /// - /// * CREATED: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. + /// * ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. /// /// * DELETING: Resolver is deleting this query logging association. /// @@ -1212,6 +1212,38 @@ extension Route53ResolverClientTypes { } } +extension Route53ResolverClientTypes { + + public enum ConfidenceThreshold: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case high + case low + case medium + case sdkUnknown(Swift.String) + + public static var allCases: [ConfidenceThreshold] { + return [ + .high, + .low, + .medium + ] + } + + 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 .high: return "HIGH" + case .low: return "LOW" + case .medium: return "MEDIUM" + case let .sdkUnknown(s): return s + } + } + } +} + public struct CreateFirewallDomainListInput: Swift.Sendable { /// A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp. /// This member is required. @@ -1336,6 +1368,35 @@ public struct CreateFirewallDomainListOutput: Swift.Sendable { } } +extension Route53ResolverClientTypes { + + public enum DnsThreatProtection: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case dga + case dnsTunneling + case sdkUnknown(Swift.String) + + public static var allCases: [DnsThreatProtection] { + return [ + .dga, + .dnsTunneling + ] + } + + 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 .dga: return "DGA" + case .dnsTunneling: return "DNS_TUNNELING" + case let .sdkUnknown(s): return s + } + } + } +} + extension Route53ResolverClientTypes { public enum FirewallDomainRedirectionAction: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1366,9 +1427,9 @@ extension Route53ResolverClientTypes { } public struct CreateFirewallRuleInput: Swift.Sendable { - /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request and send metrics and logs to Cloud Watch. /// @@ -1392,13 +1453,22 @@ public struct CreateFirewallRuleInput: Swift.Sendable { /// /// This setting is required if the rule action setting is BLOCK. public var blockResponse: Route53ResolverClientTypes.BlockResponse? + /// The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: + /// + /// * LOW: Provides the highest detection rate for threats, but also increases false positives. + /// + /// * MEDIUM: Provides a balance between detecting threats and false positives. + /// + /// * HIGH: Detects only the most well corroborated threats with a low rate of false positives. + public var confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? /// A unique string that identifies the request and that allows you to retry failed requests without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp. /// This member is required. public var creatorRequestId: Swift.String? - /// The ID of the domain list that you want to use in the rule. - /// This member is required. + /// Use to create a DNS Firewall Advanced rule. + public var dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? + /// The ID of the domain list that you want to use in the rule. Can't be used together with DnsThreatProtecton. public var firewallDomainListId: Swift.String? - /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. + /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. public var firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? /// The unique identifier of the firewall rule group where you want to create the rule. /// This member is required. @@ -1446,7 +1516,9 @@ public struct CreateFirewallRuleInput: Swift.Sendable { blockOverrideDomain: Swift.String? = nil, blockOverrideTtl: Swift.Int? = nil, blockResponse: Route53ResolverClientTypes.BlockResponse? = nil, + confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? = nil, creatorRequestId: Swift.String? = nil, + dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? = nil, firewallDomainListId: Swift.String? = nil, firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? = nil, firewallRuleGroupId: Swift.String? = nil, @@ -1460,7 +1532,9 @@ public struct CreateFirewallRuleInput: Swift.Sendable { self.blockOverrideDomain = blockOverrideDomain self.blockOverrideTtl = blockOverrideTtl self.blockResponse = blockResponse + self.confidenceThreshold = confidenceThreshold self.creatorRequestId = creatorRequestId + self.dnsThreatProtection = dnsThreatProtection self.firewallDomainListId = firewallDomainListId self.firewallDomainRedirectionAction = firewallDomainRedirectionAction self.firewallRuleGroupId = firewallRuleGroupId @@ -1474,9 +1548,9 @@ extension Route53ResolverClientTypes { /// A single firewall rule in a rule group. public struct FirewallRule: Swift.Sendable { - /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request to go through but send an alert to the logs. /// @@ -1496,16 +1570,32 @@ extension Route53ResolverClientTypes { /// /// * OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings. public var blockResponse: Route53ResolverClientTypes.BlockResponse? + /// The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: + /// + /// * LOW: Provides the highest detection rate for threats, but also increases false positives. + /// + /// * MEDIUM: Provides a balance between detecting threats and false positives. + /// + /// * HIGH: Detects only the most well corroborated threats with a low rate of false positives. + public var confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? /// The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC). public var creationTime: Swift.String? /// A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp. public var creatorRequestId: Swift.String? + /// The type of the DNS Firewall Advanced rule. Valid values are: + /// + /// * DGA: Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. + /// + /// * DNS_TUNNELING: DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client. + public var dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? /// The ID of the domain list that's used in the rule. public var firewallDomainListId: Swift.String? - /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. + /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. public var firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? - /// The unique identifier of the firewall rule group of the rule. + /// The unique identifier of the Firewall rule group of the rule. public var firewallRuleGroupId: Swift.String? + /// ID of the DNS Firewall Advanced rule. + public var firewallThreatProtectionId: Swift.String? /// The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC). public var modificationTime: Swift.String? /// The name of the rule. @@ -1549,11 +1639,14 @@ extension Route53ResolverClientTypes { blockOverrideDomain: Swift.String? = nil, blockOverrideTtl: Swift.Int? = nil, blockResponse: Route53ResolverClientTypes.BlockResponse? = nil, + confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? = nil, creationTime: Swift.String? = nil, creatorRequestId: Swift.String? = nil, + dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? = nil, firewallDomainListId: Swift.String? = nil, firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? = nil, firewallRuleGroupId: Swift.String? = nil, + firewallThreatProtectionId: Swift.String? = nil, modificationTime: Swift.String? = nil, name: Swift.String? = nil, priority: Swift.Int? = nil, @@ -1565,11 +1658,14 @@ extension Route53ResolverClientTypes { self.blockOverrideDomain = blockOverrideDomain self.blockOverrideTtl = blockOverrideTtl self.blockResponse = blockResponse + self.confidenceThreshold = confidenceThreshold self.creationTime = creationTime self.creatorRequestId = creatorRequestId + self.dnsThreatProtection = dnsThreatProtection self.firewallDomainListId = firewallDomainListId self.firewallDomainRedirectionAction = firewallDomainRedirectionAction self.firewallRuleGroupId = firewallRuleGroupId + self.firewallThreatProtectionId = firewallThreatProtectionId self.modificationTime = modificationTime self.name = name self.priority = priority @@ -2218,30 +2314,7 @@ extension Route53ResolverClientTypes { public var ipv6: Swift.String? /// The port at Ip that you want to forward DNS queries to. public var port: Swift.Int? - /// The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - /// - /// * Do53 and DoH in combination. - /// - /// * Do53 and DoH-FIPS in combination. - /// - /// * Do53 alone. - /// - /// * DoH alone. - /// - /// * DoH-FIPS alone. - /// - /// * None, which is treated as Do53. - /// - /// - /// For an outbound endpoint you can apply the protocols as follows: - /// - /// * Do53 and DoH in combination. - /// - /// * Do53 alone. - /// - /// * DoH alone. - /// - /// * None, which is treated as Do53. + /// The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule. public var `protocol`: Route53ResolverClientTypes.ModelProtocol? /// The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the TargetAddress is DoH. public var serverNameIndication: Swift.String? @@ -2443,11 +2516,12 @@ public struct DeleteFirewallDomainListOutput: Swift.Sendable { public struct DeleteFirewallRuleInput: Swift.Sendable { /// The ID of the domain list that's used in the rule. - /// This member is required. public var firewallDomainListId: Swift.String? /// The unique identifier of the firewall rule group that you want to delete the rule from. /// This member is required. public var firewallRuleGroupId: Swift.String? + /// The ID that is created for a DNS Firewall Advanced rule. + public var firewallThreatProtectionId: Swift.String? /// The DNS query type that the rule you are deleting evaluates. Allowed values are; /// /// * A: Returns an IPv4 address. @@ -2482,11 +2556,13 @@ public struct DeleteFirewallRuleInput: Swift.Sendable { public init( firewallDomainListId: Swift.String? = nil, firewallRuleGroupId: Swift.String? = nil, + firewallThreatProtectionId: Swift.String? = nil, qtype: Swift.String? = nil ) { self.firewallDomainListId = firewallDomainListId self.firewallRuleGroupId = firewallRuleGroupId + self.firewallThreatProtectionId = firewallThreatProtectionId self.qtype = qtype } } @@ -4030,9 +4106,9 @@ public struct ListFirewallRuleGroupsOutput: Swift.Sendable { } public struct ListFirewallRulesInput: Swift.Sendable { - /// Optional additional filter for the rules to retrieve. The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// Optional additional filter for the rules to retrieve. The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not availabe for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request to go through but send an alert to the logs. /// @@ -4883,9 +4959,9 @@ public struct UpdateFirewallDomainsOutput: Swift.Sendable { } public struct UpdateFirewallRuleInput: Swift.Sendable { - /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list: + /// The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule: /// - /// * ALLOW - Permit the request to go through. + /// * ALLOW - Permit the request to go through. Not available for DNS Firewall Advanced rules. /// /// * ALERT - Permit the request to go through but send an alert to the logs. /// @@ -4905,14 +4981,29 @@ public struct UpdateFirewallRuleInput: Swift.Sendable { /// /// * OVERRIDE - Provide a custom override in the response. This option requires custom handling details in the rule's BlockOverride* settings. public var blockResponse: Route53ResolverClientTypes.BlockResponse? + /// The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule. The confidence level values mean: + /// + /// * LOW: Provides the highest detection rate for threats, but also increases false positives. + /// + /// * MEDIUM: Provides a balance between detecting threats and false positives. + /// + /// * HIGH: Detects only the most well corroborated threats with a low rate of false positives. + public var confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? + /// The type of the DNS Firewall Advanced rule. Valid values are: + /// + /// * DGA: Domain generation algorithms detection. DGAs are used by attackers to generate a large number of domains to to launch malware attacks. + /// + /// * DNS_TUNNELING: DNS tunneling detection. DNS tunneling is used by attackers to exfiltrate data from the client by using the DNS tunnel without making a network connection to the client. + public var dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? /// The ID of the domain list to use in the rule. - /// This member is required. public var firewallDomainListId: Swift.String? - /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. Inspect_Redirection_Domain (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. Trust_Redirection_Domain inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. + /// How you want the the rule to evaluate DNS redirection in the DNS redirection chain, such as CNAME or DNAME. INSPECT_REDIRECTION_DOMAIN: (Default) inspects all domains in the redirection chain. The individual domains in the redirection chain must be added to the domain list. TRUST_REDIRECTION_DOMAIN: Inspects only the first domain in the redirection chain. You don't need to add the subsequent domains in the domain in the redirection list to the domain list. public var firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? /// The unique identifier of the firewall rule group for the rule. /// This member is required. public var firewallRuleGroupId: Swift.String? + /// The DNS Firewall Advanced rule ID. + public var firewallThreatProtectionId: Swift.String? /// The name of the rule. public var name: Swift.String? /// The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting. You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time. @@ -4954,9 +5045,12 @@ public struct UpdateFirewallRuleInput: Swift.Sendable { blockOverrideDomain: Swift.String? = nil, blockOverrideTtl: Swift.Int? = nil, blockResponse: Route53ResolverClientTypes.BlockResponse? = nil, + confidenceThreshold: Route53ResolverClientTypes.ConfidenceThreshold? = nil, + dnsThreatProtection: Route53ResolverClientTypes.DnsThreatProtection? = nil, firewallDomainListId: Swift.String? = nil, firewallDomainRedirectionAction: Route53ResolverClientTypes.FirewallDomainRedirectionAction? = nil, firewallRuleGroupId: Swift.String? = nil, + firewallThreatProtectionId: Swift.String? = nil, name: Swift.String? = nil, priority: Swift.Int? = nil, qtype: Swift.String? = nil @@ -4967,9 +5061,12 @@ public struct UpdateFirewallRuleInput: Swift.Sendable { self.blockOverrideDomain = blockOverrideDomain self.blockOverrideTtl = blockOverrideTtl self.blockResponse = blockResponse + self.confidenceThreshold = confidenceThreshold + self.dnsThreatProtection = dnsThreatProtection self.firewallDomainListId = firewallDomainListId self.firewallDomainRedirectionAction = firewallDomainRedirectionAction self.firewallRuleGroupId = firewallRuleGroupId + self.firewallThreatProtectionId = firewallThreatProtectionId self.name = name self.priority = priority self.qtype = qtype @@ -5810,7 +5907,9 @@ extension CreateFirewallRuleInput { try writer["BlockOverrideDomain"].write(value.blockOverrideDomain) try writer["BlockOverrideTtl"].write(value.blockOverrideTtl) try writer["BlockResponse"].write(value.blockResponse) + try writer["ConfidenceThreshold"].write(value.confidenceThreshold) try writer["CreatorRequestId"].write(value.creatorRequestId) + try writer["DnsThreatProtection"].write(value.dnsThreatProtection) try writer["FirewallDomainListId"].write(value.firewallDomainListId) try writer["FirewallDomainRedirectionAction"].write(value.firewallDomainRedirectionAction) try writer["FirewallRuleGroupId"].write(value.firewallRuleGroupId) @@ -5899,6 +5998,7 @@ extension DeleteFirewallRuleInput { guard let value else { return } try writer["FirewallDomainListId"].write(value.firewallDomainListId) try writer["FirewallRuleGroupId"].write(value.firewallRuleGroupId) + try writer["FirewallThreatProtectionId"].write(value.firewallThreatProtectionId) try writer["Qtype"].write(value.qtype) } } @@ -6346,9 +6446,12 @@ extension UpdateFirewallRuleInput { try writer["BlockOverrideDomain"].write(value.blockOverrideDomain) try writer["BlockOverrideTtl"].write(value.blockOverrideTtl) try writer["BlockResponse"].write(value.blockResponse) + try writer["ConfidenceThreshold"].write(value.confidenceThreshold) + try writer["DnsThreatProtection"].write(value.dnsThreatProtection) try writer["FirewallDomainListId"].write(value.firewallDomainListId) try writer["FirewallDomainRedirectionAction"].write(value.firewallDomainRedirectionAction) try writer["FirewallRuleGroupId"].write(value.firewallRuleGroupId) + try writer["FirewallThreatProtectionId"].write(value.firewallThreatProtectionId) try writer["Name"].write(value.name) try writer["Priority"].write(value.priority) try writer["Qtype"].write(value.qtype) @@ -7502,6 +7605,7 @@ enum DeleteFirewallRuleOutputError { case "InternalServiceErrorException": return try InternalServiceErrorException.makeError(baseError: baseError) case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -8852,6 +8956,7 @@ extension Route53ResolverClientTypes.FirewallRule { var value = Route53ResolverClientTypes.FirewallRule() value.firewallRuleGroupId = try reader["FirewallRuleGroupId"].readIfPresent() value.firewallDomainListId = try reader["FirewallDomainListId"].readIfPresent() + value.firewallThreatProtectionId = try reader["FirewallThreatProtectionId"].readIfPresent() value.name = try reader["Name"].readIfPresent() value.priority = try reader["Priority"].readIfPresent() value.action = try reader["Action"].readIfPresent() @@ -8864,6 +8969,8 @@ extension Route53ResolverClientTypes.FirewallRule { value.modificationTime = try reader["ModificationTime"].readIfPresent() value.firewallDomainRedirectionAction = try reader["FirewallDomainRedirectionAction"].readIfPresent() value.qtype = try reader["Qtype"].readIfPresent() + value.dnsThreatProtection = try reader["DnsThreatProtection"].readIfPresent() + value.confidenceThreshold = try reader["ConfidenceThreshold"].readIfPresent() return value } } diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift index 16128f1ad8f..4e8fd877f5d 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ResolverClient: ClientRuntime.Client { public static let clientName = "Route53ResolverClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: Route53ResolverClient.Route53ResolverClientConfiguration let serviceName = "Route53Resolver" @@ -1129,6 +1129,7 @@ extension Route53ResolverClient { /// - `InternalServiceErrorException` : We encountered an unknown error. Try again in a few minutes. /// - `ResourceNotFoundException` : The specified resource doesn't exist. /// - `ThrottlingException` : The request was throttled. Try again in a few minutes. + /// - `ValidationException` : You have provided an invalid command. If you ran the UpdateFirewallDomains request. supported values are ADD, REMOVE, or REPLACE a domain. public func deleteFirewallRule(input: DeleteFirewallRuleInput) async throws -> DeleteFirewallRuleOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) diff --git a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift index 7b47d233351..f1aa185f045 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift @@ -80,7 +80,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3Client: ClientRuntime.Client { public static let clientName = "S3Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: S3Client.S3ClientConfiguration let serviceName = "S3" diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift index bd83454b03a..e5a7210800e 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3ControlClient: ClientRuntime.Client { public static let clientName = "S3ControlClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: S3ControlClient.S3ControlClientConfiguration let serviceName = "S3 Control" diff --git a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift index e4eb3aa4463..c635bcb0060 100644 --- a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift +++ b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3OutpostsClient: ClientRuntime.Client { public static let clientName = "S3OutpostsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: S3OutpostsClient.S3OutpostsClientConfiguration let serviceName = "S3Outposts" diff --git a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift index 8592d191086..c0ca59493f8 100644 --- a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift +++ b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESClient: ClientRuntime.Client { public static let clientName = "SESClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SESClient.SESClientConfiguration let serviceName = "SES" diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift index 4dd01a446cc..56120d5c72d 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESv2Client: ClientRuntime.Client { public static let clientName = "SESv2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SESv2Client.SESv2ClientConfiguration let serviceName = "SESv2" diff --git a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift index a28e200ce5d..bf1277a2069 100644 --- a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift +++ b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SFNClient: ClientRuntime.Client { public static let clientName = "SFNClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SFNClient.SFNClientConfiguration let serviceName = "SFN" diff --git a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift index 59d147ff7a5..5aa4c2b87dd 100644 --- a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift +++ b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SMSClient: ClientRuntime.Client { public static let clientName = "SMSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SMSClient.SMSClientConfiguration let serviceName = "SMS" diff --git a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift index cc71f948807..4bfe32d4b99 100644 --- a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift +++ b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SNSClient: ClientRuntime.Client { public static let clientName = "SNSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SNSClient.SNSClientConfiguration let serviceName = "SNS" diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift index 7920fb15097..bee741c56ea 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SQSClient: ClientRuntime.Client { public static let clientName = "SQSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SQSClient.SQSClientConfiguration let serviceName = "SQS" diff --git a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift index 680c620e870..d737d1dbb8b 100644 --- a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift +++ b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMClient: ClientRuntime.Client { public static let clientName = "SSMClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMClient.SSMClientConfiguration let serviceName = "SSM" diff --git a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift index faf8b1cbb6b..910a8e83ea2 100644 --- a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift +++ b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMContactsClient: ClientRuntime.Client { public static let clientName = "SSMContactsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMContactsClient.SSMContactsClientConfiguration let serviceName = "SSM Contacts" diff --git a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift index 7eb8a2c8223..e659c532d4b 100644 --- a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift +++ b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMIncidentsClient: ClientRuntime.Client { public static let clientName = "SSMIncidentsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMIncidentsClient.SSMIncidentsClientConfiguration let serviceName = "SSM Incidents" diff --git a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift index 31621cbd47e..cb4767428a2 100644 --- a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift +++ b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMQuickSetupClient: ClientRuntime.Client { public static let clientName = "SSMQuickSetupClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSMQuickSetupClient.SSMQuickSetupClientConfiguration let serviceName = "SSM QuickSetup" diff --git a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift index 25ce66dcbfa..5cc4e7e51a8 100644 --- a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift +++ b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift @@ -59,7 +59,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOClient: ClientRuntime.Client { public static let clientName = "SSOClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSOClient.SSOClientConfiguration let serviceName = "SSO" diff --git a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift index 32645ad8382..b761608eb4f 100644 --- a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift +++ b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOAdminClient: ClientRuntime.Client { public static let clientName = "SSOAdminClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSOAdminClient.SSOAdminClientConfiguration let serviceName = "SSO Admin" diff --git a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift index d596869873b..ff940916369 100644 --- a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift +++ b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOOIDCClient: ClientRuntime.Client { public static let clientName = "SSOOIDCClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SSOOIDCClient.SSOOIDCClientConfiguration let serviceName = "SSO OIDC" diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift index 4920438cadc..74cfa622454 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class STSClient: ClientRuntime.Client { public static let clientName = "STSClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: STSClient.STSClientConfiguration let serviceName = "STS" diff --git a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift index 7be9751af8f..f392a4a6da5 100644 --- a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift +++ b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SWFClient: ClientRuntime.Client { public static let clientName = "SWFClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SWFClient.SWFClientConfiguration let serviceName = "SWF" diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift index bb4f0fe52a4..199488d1278 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerClient: ClientRuntime.Client { public static let clientName = "SageMakerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerClient.SageMakerClientConfiguration let serviceName = "SageMaker" diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift index f58be311ada..c2e061d8de4 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerA2IRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerA2IRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerA2IRuntimeClient.SageMakerA2IRuntimeClientConfiguration let serviceName = "SageMaker A2I Runtime" diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift index 6da5b83207d..525af615865 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerFeatureStoreRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerFeatureStoreRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerFeatureStoreRuntimeClient.SageMakerFeatureStoreRuntimeClientConfiguration let serviceName = "SageMaker FeatureStore Runtime" diff --git a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift index 709e2cf4504..e30015af6db 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift +++ b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerGeospatialClient: ClientRuntime.Client { public static let clientName = "SageMakerGeospatialClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerGeospatialClient.SageMakerGeospatialClientConfiguration let serviceName = "SageMaker Geospatial" diff --git a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift index 6b1a36a96d5..a5efcf2d537 100644 --- a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift +++ b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerMetricsClient: ClientRuntime.Client { public static let clientName = "SageMakerMetricsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerMetricsClient.SageMakerMetricsClientConfiguration let serviceName = "SageMaker Metrics" diff --git a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift index 8adcbf8219e..6c89388dfe2 100644 --- a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerRuntimeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SageMakerRuntimeClient.SageMakerRuntimeClientConfiguration let serviceName = "SageMaker Runtime" diff --git a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift index df2612f4b5d..60c554a7dac 100644 --- a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift +++ b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SagemakerEdgeClient: ClientRuntime.Client { public static let clientName = "SagemakerEdgeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SagemakerEdgeClient.SagemakerEdgeClientConfiguration let serviceName = "Sagemaker Edge" diff --git a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift index 617d24c1288..b3e0075afda 100644 --- a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift +++ b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SavingsplansClient: ClientRuntime.Client { public static let clientName = "SavingsplansClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SavingsplansClient.SavingsplansClientConfiguration let serviceName = "savingsplans" diff --git a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift index fe44a927153..9dd4b493dcb 100644 --- a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift +++ b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchedulerClient: ClientRuntime.Client { public static let clientName = "SchedulerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SchedulerClient.SchedulerClientConfiguration let serviceName = "Scheduler" diff --git a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift index e8b6c3373a0..13753eb5802 100644 --- a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift +++ b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchemasClient: ClientRuntime.Client { public static let clientName = "SchemasClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SchemasClient.SchemasClientConfiguration let serviceName = "schemas" diff --git a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift index cba82bc6085..d2b5a1ac7c8 100644 --- a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift +++ b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecretsManagerClient: ClientRuntime.Client { public static let clientName = "SecretsManagerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SecretsManagerClient.SecretsManagerClientConfiguration let serviceName = "Secrets Manager" diff --git a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift index ff2ac746a21..b06d940d540 100644 --- a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift +++ b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityHubClient: ClientRuntime.Client { public static let clientName = "SecurityHubClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SecurityHubClient.SecurityHubClientConfiguration let serviceName = "SecurityHub" diff --git a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift index 72b33e0c338..563907a4262 100644 --- a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift +++ b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityLakeClient: ClientRuntime.Client { public static let clientName = "SecurityLakeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SecurityLakeClient.SecurityLakeClientConfiguration let serviceName = "SecurityLake" diff --git a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift index 1831a4d24df..91b37835766 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift +++ b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServerlessApplicationRepositoryClient: ClientRuntime.Client { public static let clientName = "ServerlessApplicationRepositoryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServerlessApplicationRepositoryClient.ServerlessApplicationRepositoryClientConfiguration let serviceName = "ServerlessApplicationRepository" diff --git a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift index 910a47a627d..3c6873c845e 100644 --- a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift +++ b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogClient.ServiceCatalogClientConfiguration let serviceName = "Service Catalog" diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift index cf7d8a4a44e..2e070d25b5a 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogAppRegistryClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogAppRegistryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogAppRegistryClient.ServiceCatalogAppRegistryClientConfiguration let serviceName = "Service Catalog AppRegistry" diff --git a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift index 7485aa4af79..eaabf47a4a4 100644 --- a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift +++ b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceDiscoveryClient: ClientRuntime.Client { public static let clientName = "ServiceDiscoveryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceDiscoveryClient.ServiceDiscoveryClientConfiguration let serviceName = "ServiceDiscovery" diff --git a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift index 90f5b5cf02b..2207b41aba1 100644 --- a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift +++ b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceQuotasClient: ClientRuntime.Client { public static let clientName = "ServiceQuotasClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ServiceQuotasClient.ServiceQuotasClientConfiguration let serviceName = "Service Quotas" diff --git a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift index 020e052ea0c..06564b0e438 100644 --- a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift +++ b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ShieldClient: ClientRuntime.Client { public static let clientName = "ShieldClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: ShieldClient.ShieldClientConfiguration let serviceName = "Shield" diff --git a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift index 6f04cca6a2b..77f9a4e7ac2 100644 --- a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift +++ b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SignerClient: ClientRuntime.Client { public static let clientName = "SignerClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SignerClient.SignerClientConfiguration let serviceName = "signer" diff --git a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift index 8c737f69e72..497261620cb 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift +++ b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SimSpaceWeaverClient: ClientRuntime.Client { public static let clientName = "SimSpaceWeaverClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SimSpaceWeaverClient.SimSpaceWeaverClientConfiguration let serviceName = "SimSpaceWeaver" diff --git a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift index 0537591c848..d4e2baf3e64 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift +++ b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowDeviceManagementClient: ClientRuntime.Client { public static let clientName = "SnowDeviceManagementClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SnowDeviceManagementClient.SnowDeviceManagementClientConfiguration let serviceName = "Snow Device Management" diff --git a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift index 8610c98d4c3..15fedf7f440 100644 --- a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift +++ b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowballClient: ClientRuntime.Client { public static let clientName = "SnowballClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SnowballClient.SnowballClientConfiguration let serviceName = "Snowball" diff --git a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift index 708df290bbb..8977b75d282 100644 --- a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift +++ b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SocialMessagingClient: ClientRuntime.Client { public static let clientName = "SocialMessagingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SocialMessagingClient.SocialMessagingClientConfiguration let serviceName = "SocialMessaging" diff --git a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift index 10b71182c8b..a740d265876 100644 --- a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift +++ b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SsmSapClient: ClientRuntime.Client { public static let clientName = "SsmSapClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SsmSapClient.SsmSapClientConfiguration let serviceName = "Ssm Sap" diff --git a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift index 0e7bb0dd6af..c46fd035994 100644 --- a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift +++ b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class StorageGatewayClient: ClientRuntime.Client { public static let clientName = "StorageGatewayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: StorageGatewayClient.StorageGatewayClientConfiguration let serviceName = "Storage Gateway" diff --git a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift index c2ced0abf1a..af16c4d9083 100644 --- a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift +++ b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupplyChainClient: ClientRuntime.Client { public static let clientName = "SupplyChainClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SupplyChainClient.SupplyChainClientConfiguration let serviceName = "SupplyChain" diff --git a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift index c5df968621c..ee5b7c3e991 100644 --- a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift +++ b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportClient: ClientRuntime.Client { public static let clientName = "SupportClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SupportClient.SupportClientConfiguration let serviceName = "Support" diff --git a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift index ca7ea240f97..ae9ca664dc3 100644 --- a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift +++ b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportAppClient: ClientRuntime.Client { public static let clientName = "SupportAppClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SupportAppClient.SupportAppClientConfiguration let serviceName = "Support App" diff --git a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift index 12d887587c0..fe31682e447 100644 --- a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift +++ b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SyntheticsClient: ClientRuntime.Client { public static let clientName = "SyntheticsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: SyntheticsClient.SyntheticsClientConfiguration let serviceName = "synthetics" diff --git a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift index 5a615679da0..e5f0336b49b 100644 --- a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift +++ b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TaxSettingsClient: ClientRuntime.Client { public static let clientName = "TaxSettingsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TaxSettingsClient.TaxSettingsClientConfiguration let serviceName = "TaxSettings" diff --git a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift index 1ae4e6c02a9..edb770d47cb 100644 --- a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift +++ b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TextractClient: ClientRuntime.Client { public static let clientName = "TextractClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TextractClient.TextractClientConfiguration let serviceName = "Textract" diff --git a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift index 409e4b68c7d..93946eead9c 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift +++ b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamInfluxDBClient: ClientRuntime.Client { public static let clientName = "TimestreamInfluxDBClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TimestreamInfluxDBClient.TimestreamInfluxDBClientConfiguration let serviceName = "Timestream InfluxDB" diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift index cbe66cb87c9..20ec34fce6d 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamQueryClient: ClientRuntime.Client { public static let clientName = "TimestreamQueryClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TimestreamQueryClient.TimestreamQueryClientConfiguration let serviceName = "Timestream Query" diff --git a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift index ee211fe7618..271eb6af717 100644 --- a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift +++ b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamWriteClient: ClientRuntime.Client { public static let clientName = "TimestreamWriteClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TimestreamWriteClient.TimestreamWriteClientConfiguration let serviceName = "Timestream Write" diff --git a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift index 0ae1a8ab45a..d3eda551873 100644 --- a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift +++ b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TnbClient: ClientRuntime.Client { public static let clientName = "TnbClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TnbClient.TnbClientConfiguration let serviceName = "tnb" diff --git a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift index 3f9a050425e..58e252111d1 100644 --- a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift +++ b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeClient: ClientRuntime.Client { public static let clientName = "TranscribeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TranscribeClient.TranscribeClientConfiguration let serviceName = "Transcribe" diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift index b518e924641..ad8beb1ae45 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeStreamingClient: ClientRuntime.Client { public static let clientName = "TranscribeStreamingClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TranscribeStreamingClient.TranscribeStreamingClientConfiguration let serviceName = "Transcribe Streaming" diff --git a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift index 41796489dc7..79da9f21f46 100644 --- a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift +++ b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TransferClient: ClientRuntime.Client { public static let clientName = "TransferClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TransferClient.TransferClientConfiguration let serviceName = "Transfer" diff --git a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift index dc2c719dcf2..8392f42199f 100644 --- a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift +++ b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranslateClient: ClientRuntime.Client { public static let clientName = "TranslateClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TranslateClient.TranslateClientConfiguration let serviceName = "Translate" diff --git a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift index 8586c614c76..12d4f6586cb 100644 --- a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift +++ b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TrustedAdvisorClient: ClientRuntime.Client { public static let clientName = "TrustedAdvisorClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: TrustedAdvisorClient.TrustedAdvisorClientConfiguration let serviceName = "TrustedAdvisor" diff --git a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift index a62ccdf5da2..74301a9b245 100644 --- a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift +++ b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VPCLatticeClient: ClientRuntime.Client { public static let clientName = "VPCLatticeClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: VPCLatticeClient.VPCLatticeClientConfiguration let serviceName = "VPC Lattice" diff --git a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift index 9a7d5cf7d30..c5151d8f41a 100644 --- a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift +++ b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VerifiedPermissionsClient: ClientRuntime.Client { public static let clientName = "VerifiedPermissionsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: VerifiedPermissionsClient.VerifiedPermissionsClientConfiguration let serviceName = "VerifiedPermissions" diff --git a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift index 9252db9776e..9ad2c2e84e6 100644 --- a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift +++ b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VoiceIDClient: ClientRuntime.Client { public static let clientName = "VoiceIDClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: VoiceIDClient.VoiceIDClientConfiguration let serviceName = "Voice ID" diff --git a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift index e8bfb0f0a8c..bf5f8050235 100644 --- a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift +++ b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFClient: ClientRuntime.Client { public static let clientName = "WAFClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WAFClient.WAFClientConfiguration let serviceName = "WAF" diff --git a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift index 31d606ce951..dc5c18cdc00 100644 --- a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift +++ b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFRegionalClient: ClientRuntime.Client { public static let clientName = "WAFRegionalClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WAFRegionalClient.WAFRegionalClientConfiguration let serviceName = "WAF Regional" diff --git a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift index 786ff3bc561..1d660e43f15 100644 --- a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift +++ b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFV2Client: ClientRuntime.Client { public static let clientName = "WAFV2Client" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WAFV2Client.WAFV2ClientConfiguration let serviceName = "WAFV2" diff --git a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift index d8c8470495d..e739cb1eec7 100644 --- a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift +++ b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WellArchitectedClient: ClientRuntime.Client { public static let clientName = "WellArchitectedClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WellArchitectedClient.WellArchitectedClientConfiguration let serviceName = "WellArchitected" diff --git a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift index 05a4a837c7e..8d7348fa8c9 100644 --- a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift +++ b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WisdomClient: ClientRuntime.Client { public static let clientName = "WisdomClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WisdomClient.WisdomClientConfiguration let serviceName = "Wisdom" diff --git a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift index 42758485d72..0261de39f6c 100644 --- a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift +++ b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkDocsClient: ClientRuntime.Client { public static let clientName = "WorkDocsClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkDocsClient.WorkDocsClientConfiguration let serviceName = "WorkDocs" diff --git a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift index 31cb313b1ef..714bb040860 100644 --- a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift +++ b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailClient: ClientRuntime.Client { public static let clientName = "WorkMailClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkMailClient.WorkMailClientConfiguration let serviceName = "WorkMail" diff --git a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift index 4c0328506e0..283ce6a4c70 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift +++ b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailMessageFlowClient: ClientRuntime.Client { public static let clientName = "WorkMailMessageFlowClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkMailMessageFlowClient.WorkMailMessageFlowClientConfiguration let serviceName = "WorkMailMessageFlow" diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift index 7e2f5569a2c..63d6cdaf992 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesClient: ClientRuntime.Client { public static let clientName = "WorkSpacesClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesClient.WorkSpacesClientConfiguration let serviceName = "WorkSpaces" diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift index 96ad2ee9236..89aa0839112 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesThinClientClient: ClientRuntime.Client { public static let clientName = "WorkSpacesThinClientClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesThinClientClient.WorkSpacesThinClientClientConfiguration let serviceName = "WorkSpaces Thin Client" diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift index 0492ac0faed..6b7d3e2d81e 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesWebClient: ClientRuntime.Client { public static let clientName = "WorkSpacesWebClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesWebClient.WorkSpacesWebClientConfiguration let serviceName = "WorkSpaces Web" diff --git a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift index 7f77b2298c9..fedfbc8e97d 100644 --- a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift +++ b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class XRayClient: ClientRuntime.Client { public static let clientName = "XRayClient" - public static let version = "1.0.41" + public static let version = "1.0.42" let client: ClientRuntime.SdkHttpClient let config: XRayClient.XRayClientConfiguration let serviceName = "XRay"