@aws-sdk/client-pinpoint-email 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/PinpointEmail.js +1 -2
- package/{dist/cjs → dist-cjs}/PinpointEmailClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CreateConfigurationSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateConfigurationSetEventDestinationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDedicatedIpPoolCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDeliverabilityTestReportCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateEmailIdentityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationSetEventDestinationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDedicatedIpPoolCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteEmailIdentityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetAccountCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetBlacklistReportsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetConfigurationSetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetConfigurationSetEventDestinationsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDedicatedIpCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDedicatedIpsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDeliverabilityDashboardOptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDeliverabilityTestReportCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDomainDeliverabilityCampaignCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDomainStatisticsReportCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetEmailIdentityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListConfigurationSetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDedicatedIpPoolsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDeliverabilityTestReportsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDomainDeliverabilityCampaignsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListEmailIdentitiesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutAccountSendingAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetDeliveryOptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetReputationOptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetSendingOptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutConfigurationSetTrackingOptionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutDedicatedIpInPoolCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutDedicatedIpWarmupAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutDeliverabilityDashboardOptionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutEmailIdentityDkimAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutEmailIdentityFeedbackAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutEmailIdentityMailFromAttributesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/SendEmailCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateConfigurationSetEventDestinationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/GetDedicatedIpsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListConfigurationSetsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListDedicatedIpPoolsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListDeliverabilityTestReportsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListDomainDeliverabilityCampaignsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListEmailIdentitiesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +19 -20
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/PinpointEmail.js +2 -34
- package/dist-es/PinpointEmailClient.js +37 -0
- package/{dist/es → dist-es}/commands/CreateConfigurationSetCommand.js +4 -34
- package/{dist/es → dist-es}/commands/CreateConfigurationSetEventDestinationCommand.js +4 -36
- package/{dist/es → dist-es}/commands/CreateDedicatedIpPoolCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateDeliverabilityTestReportCommand.js +4 -36
- package/dist-es/commands/CreateEmailIdentityCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteConfigurationSetCommand.js +4 -35
- package/{dist/es → dist-es}/commands/DeleteConfigurationSetEventDestinationCommand.js +4 -35
- package/{dist/es → dist-es}/commands/DeleteDedicatedIpPoolCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteEmailIdentityCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetAccountCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetBlacklistReportsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetConfigurationSetCommand.js +4 -37
- package/{dist/es → dist-es}/commands/GetConfigurationSetEventDestinationsCommand.js +4 -36
- package/{dist/es → dist-es}/commands/GetDedicatedIpCommand.js +4 -32
- package/{dist/es → dist-es}/commands/GetDedicatedIpsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetDeliverabilityDashboardOptionsCommand.js +4 -36
- package/{dist/es → dist-es}/commands/GetDeliverabilityTestReportCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDomainDeliverabilityCampaignCommand.js +4 -33
- package/{dist/es → dist-es}/commands/GetDomainStatisticsReportCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetEmailIdentityCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListConfigurationSetsCommand.js +4 -36
- package/{dist/es → dist-es}/commands/ListDedicatedIpPoolsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListDeliverabilityTestReportsCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListDomainDeliverabilityCampaignsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListEmailIdentitiesCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -35
- package/{dist/es → dist-es}/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutAccountSendingAttributesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutConfigurationSetDeliveryOptionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/PutConfigurationSetReputationOptionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/PutConfigurationSetSendingOptionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/PutConfigurationSetTrackingOptionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/PutDedicatedIpInPoolCommand.js +4 -39
- package/{dist/es → dist-es}/commands/PutDedicatedIpWarmupAttributesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutDeliverabilityDashboardOptionCommand.js +4 -36
- package/{dist/es → dist-es}/commands/PutEmailIdentityDkimAttributesCommand.js +4 -30
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +39 -0
- package/{dist/es → dist-es}/commands/PutEmailIdentityMailFromAttributesCommand.js +4 -31
- package/dist-es/commands/SendEmailCommand.js +39 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -38
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateConfigurationSetEventDestinationCommand.js +4 -35
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -391
- package/{dist/es → dist-es}/pagination/GetDedicatedIpsPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListConfigurationSetsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListDedicatedIpPoolsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListDeliverabilityTestReportsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListDomainDeliverabilityCampaignsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListEmailIdentitiesPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +966 -972
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/PinpointEmail.d.ts +2 -2
- package/{dist/types → dist-types}/PinpointEmailClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateConfigurationSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateDedicatedIpPoolCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateDeliverabilityTestReportCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateEmailIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteConfigurationSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteDedicatedIpPoolCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteEmailIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetAccountCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetBlacklistReportsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetConfigurationSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDedicatedIpCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDedicatedIpsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDeliverabilityTestReportCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDomainDeliverabilityCampaignCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDomainStatisticsReportCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetEmailIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListConfigurationSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDedicatedIpPoolsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDeliverabilityTestReportsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListEmailIdentitiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutAccountSendingAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutConfigurationSetReputationOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutConfigurationSetSendingOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutDedicatedIpInPoolCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutDeliverabilityDashboardOptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutEmailIdentityDkimAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SendEmailCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/PinpointEmail.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/PinpointEmailClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CreateEmailIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetAccountCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetBlacklistReportsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDedicatedIpCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDedicatedIpsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetEmailIdentityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/SendEmailCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/PinpointEmail.ts +0 -1718
- package/PinpointEmailClient.ts +0 -494
- package/commands/CreateConfigurationSetCommand.ts +0 -98
- package/commands/CreateConfigurationSetEventDestinationCommand.ts +0 -112
- package/commands/CreateDedicatedIpPoolCommand.ts +0 -97
- package/commands/CreateDeliverabilityTestReportCommand.ts +0 -108
- package/commands/CreateEmailIdentityCommand.ts +0 -107
- package/commands/DeleteConfigurationSetCommand.ts +0 -99
- package/commands/DeleteConfigurationSetEventDestinationCommand.ts +0 -111
- package/commands/DeleteDedicatedIpPoolCommand.ts +0 -94
- package/commands/DeleteEmailIdentityCommand.ts +0 -95
- package/commands/GetAccountCommand.ts +0 -95
- package/commands/GetBlacklistReportsCommand.ts +0 -94
- package/commands/GetConfigurationSetCommand.ts +0 -101
- package/commands/GetConfigurationSetEventDestinationsCommand.ts +0 -111
- package/commands/GetDedicatedIpCommand.ts +0 -96
- package/commands/GetDedicatedIpsCommand.ts +0 -95
- package/commands/GetDeliverabilityDashboardOptionsCommand.ts +0 -111
- package/commands/GetDeliverabilityTestReportCommand.ts +0 -99
- package/commands/GetDomainDeliverabilityCampaignCommand.ts +0 -105
- package/commands/GetDomainStatisticsReportCommand.ts +0 -98
- package/commands/GetEmailIdentityCommand.ts +0 -96
- package/commands/ListConfigurationSetsCommand.ts +0 -100
- package/commands/ListDedicatedIpPoolsCommand.ts +0 -95
- package/commands/ListDeliverabilityTestReportsCommand.ts +0 -101
- package/commands/ListDomainDeliverabilityCampaignsCommand.ts +0 -108
- package/commands/ListEmailIdentitiesCommand.ts +0 -96
- package/commands/ListTagsForResourceCommand.ts +0 -99
- package/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts +0 -106
- package/commands/PutAccountSendingAttributesCommand.ts +0 -99
- package/commands/PutConfigurationSetDeliveryOptionsCommand.ts +0 -106
- package/commands/PutConfigurationSetReputationOptionsCommand.ts +0 -106
- package/commands/PutConfigurationSetSendingOptionsCommand.ts +0 -106
- package/commands/PutConfigurationSetTrackingOptionsCommand.ts +0 -106
- package/commands/PutDedicatedIpInPoolCommand.ts +0 -103
- package/commands/PutDedicatedIpWarmupAttributesCommand.ts +0 -102
- package/commands/PutDeliverabilityDashboardOptionCommand.ts +0 -108
- package/commands/PutEmailIdentityDkimAttributesCommand.ts +0 -102
- package/commands/PutEmailIdentityFeedbackAttributesCommand.ts +0 -115
- package/commands/PutEmailIdentityMailFromAttributesCommand.ts +0 -106
- package/commands/SendEmailCommand.ts +0 -111
- package/commands/TagResourceCommand.ts +0 -102
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateConfigurationSetEventDestinationCommand.ts +0 -111
- package/dist/cjs/PinpointEmail.js.map +0 -1
- package/dist/cjs/PinpointEmailClient.js.map +0 -1
- package/dist/cjs/commands/CreateConfigurationSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateConfigurationSetEventDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDedicatedIpPoolCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDeliverabilityTestReportCommand.js.map +0 -1
- package/dist/cjs/commands/CreateEmailIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConfigurationSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConfigurationSetEventDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDedicatedIpPoolCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEmailIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccountCommand.js.map +0 -1
- package/dist/cjs/commands/GetBlacklistReportsCommand.js.map +0 -1
- package/dist/cjs/commands/GetConfigurationSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetConfigurationSetEventDestinationsCommand.js.map +0 -1
- package/dist/cjs/commands/GetDedicatedIpCommand.js.map +0 -1
- package/dist/cjs/commands/GetDedicatedIpsCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeliverabilityDashboardOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeliverabilityTestReportCommand.js.map +0 -1
- package/dist/cjs/commands/GetDomainDeliverabilityCampaignCommand.js.map +0 -1
- package/dist/cjs/commands/GetDomainStatisticsReportCommand.js.map +0 -1
- package/dist/cjs/commands/GetEmailIdentityCommand.js.map +0 -1
- package/dist/cjs/commands/ListConfigurationSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDedicatedIpPoolsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeliverabilityTestReportsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDomainDeliverabilityCampaignsCommand.js.map +0 -1
- package/dist/cjs/commands/ListEmailIdentitiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/PutAccountSendingAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutConfigurationSetReputationOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutConfigurationSetSendingOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutConfigurationSetTrackingOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutDedicatedIpInPoolCommand.js.map +0 -1
- package/dist/cjs/commands/PutDedicatedIpWarmupAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/PutDeliverabilityDashboardOptionCommand.js.map +0 -1
- package/dist/cjs/commands/PutEmailIdentityDkimAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/PutEmailIdentityMailFromAttributesCommand.js.map +0 -1
- package/dist/cjs/commands/SendEmailCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConfigurationSetEventDestinationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetDedicatedIpsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListConfigurationSetsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDedicatedIpPoolsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeliverabilityTestReportsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListEmailIdentitiesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/PinpointEmail.js.map +0 -1
- package/dist/es/PinpointEmailClient.js +0 -74
- package/dist/es/PinpointEmailClient.js.map +0 -1
- package/dist/es/commands/CreateConfigurationSetCommand.js.map +0 -1
- package/dist/es/commands/CreateConfigurationSetEventDestinationCommand.js.map +0 -1
- package/dist/es/commands/CreateDedicatedIpPoolCommand.js.map +0 -1
- package/dist/es/commands/CreateDeliverabilityTestReportCommand.js.map +0 -1
- package/dist/es/commands/CreateEmailIdentityCommand.js +0 -78
- package/dist/es/commands/CreateEmailIdentityCommand.js.map +0 -1
- package/dist/es/commands/DeleteConfigurationSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteConfigurationSetEventDestinationCommand.js.map +0 -1
- package/dist/es/commands/DeleteDedicatedIpPoolCommand.js.map +0 -1
- package/dist/es/commands/DeleteEmailIdentityCommand.js.map +0 -1
- package/dist/es/commands/GetAccountCommand.js.map +0 -1
- package/dist/es/commands/GetBlacklistReportsCommand.js.map +0 -1
- package/dist/es/commands/GetConfigurationSetCommand.js.map +0 -1
- package/dist/es/commands/GetConfigurationSetEventDestinationsCommand.js.map +0 -1
- package/dist/es/commands/GetDedicatedIpCommand.js.map +0 -1
- package/dist/es/commands/GetDedicatedIpsCommand.js.map +0 -1
- package/dist/es/commands/GetDeliverabilityDashboardOptionsCommand.js.map +0 -1
- package/dist/es/commands/GetDeliverabilityTestReportCommand.js.map +0 -1
- package/dist/es/commands/GetDomainDeliverabilityCampaignCommand.js.map +0 -1
- package/dist/es/commands/GetDomainStatisticsReportCommand.js.map +0 -1
- package/dist/es/commands/GetEmailIdentityCommand.js.map +0 -1
- package/dist/es/commands/ListConfigurationSetsCommand.js.map +0 -1
- package/dist/es/commands/ListDedicatedIpPoolsCommand.js.map +0 -1
- package/dist/es/commands/ListDeliverabilityTestReportsCommand.js.map +0 -1
- package/dist/es/commands/ListDomainDeliverabilityCampaignsCommand.js.map +0 -1
- package/dist/es/commands/ListEmailIdentitiesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js.map +0 -1
- package/dist/es/commands/PutAccountSendingAttributesCommand.js.map +0 -1
- package/dist/es/commands/PutConfigurationSetDeliveryOptionsCommand.js.map +0 -1
- package/dist/es/commands/PutConfigurationSetReputationOptionsCommand.js.map +0 -1
- package/dist/es/commands/PutConfigurationSetSendingOptionsCommand.js.map +0 -1
- package/dist/es/commands/PutConfigurationSetTrackingOptionsCommand.js.map +0 -1
- package/dist/es/commands/PutDedicatedIpInPoolCommand.js.map +0 -1
- package/dist/es/commands/PutDedicatedIpWarmupAttributesCommand.js.map +0 -1
- package/dist/es/commands/PutDeliverabilityDashboardOptionCommand.js.map +0 -1
- package/dist/es/commands/PutEmailIdentityDkimAttributesCommand.js.map +0 -1
- package/dist/es/commands/PutEmailIdentityFeedbackAttributesCommand.js +0 -75
- package/dist/es/commands/PutEmailIdentityFeedbackAttributesCommand.js.map +0 -1
- package/dist/es/commands/PutEmailIdentityMailFromAttributesCommand.js.map +0 -1
- package/dist/es/commands/SendEmailCommand.js +0 -82
- package/dist/es/commands/SendEmailCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateConfigurationSetEventDestinationCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -53
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetDedicatedIpsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListConfigurationSetsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDedicatedIpPoolsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeliverabilityTestReportsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDomainDeliverabilityCampaignsPaginator.js.map +0 -1
- package/dist/es/pagination/ListEmailIdentitiesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -62
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3845
- package/pagination/GetDedicatedIpsPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListConfigurationSetsPaginator.ts +0 -58
- package/pagination/ListDedicatedIpPoolsPaginator.ts +0 -58
- package/pagination/ListDeliverabilityTestReportsPaginator.ts +0 -58
- package/pagination/ListDomainDeliverabilityCampaignsPaginator.ts +0 -58
- package/pagination/ListEmailIdentitiesPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -5816
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieve a list of the tags (keys and values) that are associated with a specified
|
|
25
|
-
* resource. A <i>tag</i> is a label that you optionally define and associate
|
|
26
|
-
* with a resource in Amazon Pinpoint. Each tag consists of a required <i>tag
|
|
27
|
-
* key</i> and an optional associated <i>tag value</i>. A tag key
|
|
28
|
-
* is a general label that acts as a category for more specific tag values. A tag value
|
|
29
|
-
* acts as a descriptor within a tag key.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { PinpointEmailClient, ListTagsForResourceCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
|
|
34
|
-
* // const { PinpointEmailClient, ListTagsForResourceCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
|
|
35
|
-
* const client = new PinpointEmailClient(config);
|
|
36
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link PinpointEmailClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
46
|
-
ListTagsForResourceCommandInput,
|
|
47
|
-
ListTagsForResourceCommandOutput,
|
|
48
|
-
PinpointEmailClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: PinpointEmailClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "PinpointEmailClient";
|
|
73
|
-
const commandName = "ListTagsForResourceCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
2
|
-
import {
|
|
3
|
-
PutAccountDedicatedIpWarmupAttributesRequest,
|
|
4
|
-
PutAccountDedicatedIpWarmupAttributesResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand,
|
|
8
|
-
serializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand,
|
|
9
|
-
} from "../protocols/Aws_restJson1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface PutAccountDedicatedIpWarmupAttributesCommandInput
|
|
24
|
-
extends PutAccountDedicatedIpWarmupAttributesRequest {}
|
|
25
|
-
export interface PutAccountDedicatedIpWarmupAttributesCommandOutput
|
|
26
|
-
extends PutAccountDedicatedIpWarmupAttributesResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Enable or disable the automatic warm-up feature for dedicated IP addresses.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { PinpointEmailClient, PutAccountDedicatedIpWarmupAttributesCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
|
|
35
|
-
* // const { PinpointEmailClient, PutAccountDedicatedIpWarmupAttributesCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
|
|
36
|
-
* const client = new PinpointEmailClient(config);
|
|
37
|
-
* const command = new PutAccountDedicatedIpWarmupAttributesCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link PutAccountDedicatedIpWarmupAttributesCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link PutAccountDedicatedIpWarmupAttributesCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link PinpointEmailClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command<
|
|
47
|
-
PutAccountDedicatedIpWarmupAttributesCommandInput,
|
|
48
|
-
PutAccountDedicatedIpWarmupAttributesCommandOutput,
|
|
49
|
-
PinpointEmailClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: PutAccountDedicatedIpWarmupAttributesCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: PinpointEmailClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<PutAccountDedicatedIpWarmupAttributesCommandInput, PutAccountDedicatedIpWarmupAttributesCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "PinpointEmailClient";
|
|
74
|
-
const commandName = "PutAccountDedicatedIpWarmupAttributesCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutAccountDedicatedIpWarmupAttributesRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PutAccountDedicatedIpWarmupAttributesResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: PutAccountDedicatedIpWarmupAttributesCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<PutAccountDedicatedIpWarmupAttributesCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
2
|
-
import { PutAccountSendingAttributesRequest, PutAccountSendingAttributesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1PutAccountSendingAttributesCommand,
|
|
5
|
-
serializeAws_restJson1PutAccountSendingAttributesCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface PutAccountSendingAttributesCommandInput extends PutAccountSendingAttributesRequest {}
|
|
21
|
-
export interface PutAccountSendingAttributesCommandOutput
|
|
22
|
-
extends PutAccountSendingAttributesResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Enable or disable the ability of your account to send email.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { PinpointEmailClient, PutAccountSendingAttributesCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
|
|
31
|
-
* // const { PinpointEmailClient, PutAccountSendingAttributesCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
|
|
32
|
-
* const client = new PinpointEmailClient(config);
|
|
33
|
-
* const command = new PutAccountSendingAttributesCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link PutAccountSendingAttributesCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link PutAccountSendingAttributesCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link PinpointEmailClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class PutAccountSendingAttributesCommand extends $Command<
|
|
43
|
-
PutAccountSendingAttributesCommandInput,
|
|
44
|
-
PutAccountSendingAttributesCommandOutput,
|
|
45
|
-
PinpointEmailClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: PutAccountSendingAttributesCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: PinpointEmailClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<PutAccountSendingAttributesCommandInput, PutAccountSendingAttributesCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "PinpointEmailClient";
|
|
70
|
-
const commandName = "PutAccountSendingAttributesCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: PutAccountSendingAttributesRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: PutAccountSendingAttributesResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: PutAccountSendingAttributesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1PutAccountSendingAttributesCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<PutAccountSendingAttributesCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1PutAccountSendingAttributesCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
2
|
-
import {
|
|
3
|
-
PutConfigurationSetDeliveryOptionsRequest,
|
|
4
|
-
PutConfigurationSetDeliveryOptionsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand,
|
|
8
|
-
serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand,
|
|
9
|
-
} from "../protocols/Aws_restJson1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface PutConfigurationSetDeliveryOptionsCommandInput extends PutConfigurationSetDeliveryOptionsRequest {}
|
|
24
|
-
export interface PutConfigurationSetDeliveryOptionsCommandOutput
|
|
25
|
-
extends PutConfigurationSetDeliveryOptionsResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools
|
|
30
|
-
* to create groups of dedicated IP addresses for sending specific types of email.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { PinpointEmailClient, PutConfigurationSetDeliveryOptionsCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
|
|
35
|
-
* // const { PinpointEmailClient, PutConfigurationSetDeliveryOptionsCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
|
|
36
|
-
* const client = new PinpointEmailClient(config);
|
|
37
|
-
* const command = new PutConfigurationSetDeliveryOptionsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link PutConfigurationSetDeliveryOptionsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link PutConfigurationSetDeliveryOptionsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link PinpointEmailClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class PutConfigurationSetDeliveryOptionsCommand extends $Command<
|
|
47
|
-
PutConfigurationSetDeliveryOptionsCommandInput,
|
|
48
|
-
PutConfigurationSetDeliveryOptionsCommandOutput,
|
|
49
|
-
PinpointEmailClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: PutConfigurationSetDeliveryOptionsCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: PinpointEmailClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<PutConfigurationSetDeliveryOptionsCommandInput, PutConfigurationSetDeliveryOptionsCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "PinpointEmailClient";
|
|
74
|
-
const commandName = "PutConfigurationSetDeliveryOptionsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutConfigurationSetDeliveryOptionsRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PutConfigurationSetDeliveryOptionsResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: PutConfigurationSetDeliveryOptionsCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<PutConfigurationSetDeliveryOptionsCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
2
|
-
import {
|
|
3
|
-
PutConfigurationSetReputationOptionsRequest,
|
|
4
|
-
PutConfigurationSetReputationOptionsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_restJson1PutConfigurationSetReputationOptionsCommand,
|
|
8
|
-
serializeAws_restJson1PutConfigurationSetReputationOptionsCommand,
|
|
9
|
-
} from "../protocols/Aws_restJson1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface PutConfigurationSetReputationOptionsCommandInput extends PutConfigurationSetReputationOptionsRequest {}
|
|
24
|
-
export interface PutConfigurationSetReputationOptionsCommandOutput
|
|
25
|
-
extends PutConfigurationSetReputationOptionsResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Enable or disable collection of reputation metrics for emails that you send using a
|
|
30
|
-
* particular configuration set in a specific AWS Region.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { PinpointEmailClient, PutConfigurationSetReputationOptionsCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
|
|
35
|
-
* // const { PinpointEmailClient, PutConfigurationSetReputationOptionsCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
|
|
36
|
-
* const client = new PinpointEmailClient(config);
|
|
37
|
-
* const command = new PutConfigurationSetReputationOptionsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link PutConfigurationSetReputationOptionsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link PutConfigurationSetReputationOptionsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link PinpointEmailClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class PutConfigurationSetReputationOptionsCommand extends $Command<
|
|
47
|
-
PutConfigurationSetReputationOptionsCommandInput,
|
|
48
|
-
PutConfigurationSetReputationOptionsCommandOutput,
|
|
49
|
-
PinpointEmailClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: PutConfigurationSetReputationOptionsCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: PinpointEmailClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<PutConfigurationSetReputationOptionsCommandInput, PutConfigurationSetReputationOptionsCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "PinpointEmailClient";
|
|
74
|
-
const commandName = "PutConfigurationSetReputationOptionsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutConfigurationSetReputationOptionsRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PutConfigurationSetReputationOptionsResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: PutConfigurationSetReputationOptionsCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1PutConfigurationSetReputationOptionsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<PutConfigurationSetReputationOptionsCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1PutConfigurationSetReputationOptionsCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
2
|
-
import {
|
|
3
|
-
PutConfigurationSetSendingOptionsRequest,
|
|
4
|
-
PutConfigurationSetSendingOptionsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_restJson1PutConfigurationSetSendingOptionsCommand,
|
|
8
|
-
serializeAws_restJson1PutConfigurationSetSendingOptionsCommand,
|
|
9
|
-
} from "../protocols/Aws_restJson1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface PutConfigurationSetSendingOptionsCommandInput extends PutConfigurationSetSendingOptionsRequest {}
|
|
24
|
-
export interface PutConfigurationSetSendingOptionsCommandOutput
|
|
25
|
-
extends PutConfigurationSetSendingOptionsResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Enable or disable email sending for messages that use a particular configuration set
|
|
30
|
-
* in a specific AWS Region.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { PinpointEmailClient, PutConfigurationSetSendingOptionsCommand } from "@aws-sdk/client-pinpoint-email"; // ES Modules import
|
|
35
|
-
* // const { PinpointEmailClient, PutConfigurationSetSendingOptionsCommand } = require("@aws-sdk/client-pinpoint-email"); // CommonJS import
|
|
36
|
-
* const client = new PinpointEmailClient(config);
|
|
37
|
-
* const command = new PutConfigurationSetSendingOptionsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link PutConfigurationSetSendingOptionsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link PutConfigurationSetSendingOptionsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link PinpointEmailClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class PutConfigurationSetSendingOptionsCommand extends $Command<
|
|
47
|
-
PutConfigurationSetSendingOptionsCommandInput,
|
|
48
|
-
PutConfigurationSetSendingOptionsCommandOutput,
|
|
49
|
-
PinpointEmailClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: PutConfigurationSetSendingOptionsCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: PinpointEmailClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<PutConfigurationSetSendingOptionsCommandInput, PutConfigurationSetSendingOptionsCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "PinpointEmailClient";
|
|
74
|
-
const commandName = "PutConfigurationSetSendingOptionsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutConfigurationSetSendingOptionsRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PutConfigurationSetSendingOptionsResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: PutConfigurationSetSendingOptionsCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1PutConfigurationSetSendingOptionsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<PutConfigurationSetSendingOptionsCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1PutConfigurationSetSendingOptionsCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|