# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::Pinpoint module Endpoints class CreateApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCampaign def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateEmailTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateExportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateImportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateInAppTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateJourney def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreatePushTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateRecommenderConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSegment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSmsTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVoiceTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteAdmChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteApnsChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteApnsSandboxChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteApnsVoipChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteApnsVoipSandboxChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteBaiduChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteCampaign def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteEmailChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteEmailTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteEventStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteGcmChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteInAppTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteJourney def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeletePushTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteRecommenderConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSegment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSmsChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSmsTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteUserEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVoiceChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVoiceTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetAdmChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApnsChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApnsSandboxChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApnsVoipChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApnsVoipSandboxChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApplicationDateRangeKpi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApplicationSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetApps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetBaiduChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCampaign def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCampaignActivities def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCampaignDateRangeKpi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCampaignVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCampaignVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetCampaigns def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetChannels def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEmailChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEmailTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetEventStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetExportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetExportJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetGcmChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetImportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetImportJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInAppMessages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetInAppTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetJourney def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetJourneyDateRangeKpi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetJourneyExecutionActivityMetrics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetJourneyExecutionMetrics def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetPushTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetRecommenderConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetRecommenderConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSegment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSegmentExportJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSegmentImportJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSegmentVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSegmentVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSegments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSmsChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetSmsTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetUserEndpoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVoiceChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetVoiceTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListJourneys def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTagsForResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTemplateVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PhoneNumberValidate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PutEventStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PutEvents def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RemoveAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SendMessages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SendOTPMessage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SendUsersMessages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UntagResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateAdmChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateApnsChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateApnsSandboxChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateApnsVoipChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateApnsVoipSandboxChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateApplicationSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateBaiduChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateCampaign def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateEmailChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateEmailTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateEndpoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateEndpointsBatch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateGcmChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateInAppTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateJourney def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateJourneyState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdatePushTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateRecommenderConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSegment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSmsChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSmsTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateTemplateActiveVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateVoiceChannel def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateVoiceTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class VerifyOTPMessage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Pinpoint::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end end end