# 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::FSx # @api private module Endpoints class AssociateFileSystemAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelDataRepositoryTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CopyBackup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateBackup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDataRepositoryAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateDataRepositoryTask def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFileCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFileSystem def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateFileSystemFromBackup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateStorageVirtualMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateVolumeFromBackup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteBackup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteDataRepositoryAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFileCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFileSystem def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteStorageVirtualMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeBackups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeDataRepositoryAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeDataRepositoryTasks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFileCaches def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFileSystemAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFileSystems def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSnapshots def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeStorageVirtualMachines def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVolumes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateFileSystemAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( 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::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ReleaseFileSystemNfsV3Locks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreVolumeFromSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartMisconfiguredStateRecovery def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( 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::FSx::EndpointParameters.new( 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::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateDataRepositoryAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFileCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFileSystem def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSnapshot def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateStorageVirtualMachine def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::FSx::EndpointParameters.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