# 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::CognitoIdentityProvider # @api private module Endpoints class AddCustomAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminAddUserToGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminConfirmSignUp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminCreateUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminDeleteUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminDeleteUserAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminDisableProviderForUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminDisableUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminEnableUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminForgetDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminGetDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminGetUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminInitiateAuth def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminLinkProviderForUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminListDevices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminListGroupsForUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminListUserAuthEvents def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminRemoveUserFromGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminResetUserPassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminRespondToAuthChallenge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminSetUserMFAPreference def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminSetUserPassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminSetUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminUpdateAuthEventFeedback def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminUpdateDeviceStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminUpdateUserAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AdminUserGlobalSignOut def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 AssociateSoftwareToken def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ChangePassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ConfirmDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ConfirmForgotPassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ConfirmSignUp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateIdentityProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateResourceServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateUserImportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateUserPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateUserPoolClient def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 CreateUserPoolDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteIdentityProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteResourceServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteUserAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteUserPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteUserPoolClient def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DeleteUserPoolDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeIdentityProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeResourceServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeRiskConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeUserImportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeUserPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeUserPoolClient def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 DescribeUserPoolDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ForgetDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ForgotPassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetCSVHeader def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetDevice def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetIdentityProviderByIdentifier def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetSigningCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetUICustomization def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetUserAttributeVerificationCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GetUserPoolMfaConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 GlobalSignOut def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 InitiateAuth def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListDevices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListIdentityProviders def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListResourceServers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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::CognitoIdentityProvider::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 ListUserImportJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListUserPoolClients def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListUserPools def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListUsers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ListUsersInGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 ResendConfirmationCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 RespondToAuthChallenge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 RevokeToken def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 SetRiskConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 SetUICustomization def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 SetUserMFAPreference def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 SetUserPoolMfaConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 SetUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 SignUp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 StartUserImportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 StopUserImportJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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::CognitoIdentityProvider::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::CognitoIdentityProvider::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 UpdateAuthEventFeedback def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateDeviceStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateIdentityProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateResourceServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateUserAttributes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateUserPool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateUserPoolClient def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 UpdateUserPoolDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 VerifySoftwareToken def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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 VerifyUserAttribute def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CognitoIdentityProvider::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