# 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::Transfer module Endpoints class CreateAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 CreateAgreement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 CreateConnector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 CreateServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 CreateUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 CreateWorkflow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DeleteAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DeleteAgreement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DeleteCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DeleteConnector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DeleteHostKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 DeleteServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DeleteSshPublicKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 DescribeAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeAgreement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeConnector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeHostKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeSecurityPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 DescribeWorkflow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ImportCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ImportHostKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ImportSshPublicKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListAccesses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListAgreements def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListCertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListConnectors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListHostKeys def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListProfiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListSecurityPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 ListServers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 SendWorkflowStepState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 StartFileTransfer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 StartServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 StopServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 TestIdentityProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 UpdateAccess def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 UpdateAgreement def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 UpdateCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 UpdateConnector def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 UpdateHostKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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::Transfer::EndpointParameters.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 UpdateServer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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 UpdateUser def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Transfer::EndpointParameters.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