# 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::CustomerProfiles module Endpoints class AddProfileKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 CreateDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 CreateIntegrationWorkflow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 CreateProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteIntegration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteProfileKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteProfileObject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteProfileObjectType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 DeleteWorkflow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetAutoMergingPreview def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetIdentityResolutionJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetIntegration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetMatches def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetProfileObjectType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetProfileObjectTypeTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetWorkflow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 GetWorkflowSteps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListAccountIntegrations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListDomains def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListIdentityResolutionJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListIntegrations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListProfileObjectTypeTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListProfileObjectTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 ListProfileObjects def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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::CustomerProfiles::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 ListWorkflows def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 MergeProfiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 PutIntegration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 PutProfileObject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 PutProfileObjectType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 SearchProfiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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::CustomerProfiles::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::CustomerProfiles::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 UpdateDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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 UpdateProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CustomerProfiles::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