# 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::StorageGateway # @api private module Endpoints class ActivateGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AddCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AddTagsToResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AddUploadBuffer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AddWorkingStorage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssignTapePool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateFileSystem def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AttachVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelArchival def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CancelRetrieval def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateCachediSCSIVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNFSFileShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSMBFileShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( 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::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateSnapshotFromVolumeRecoveryPoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateStorediSCSIVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTapePool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTapeWithBarcode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTapes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteAutomaticTapeCreationPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteBandwidthRateLimit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteChapCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteFileShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteSnapshotSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTape def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTapeArchive def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTapePool def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( 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::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAvailabilityMonitorTest def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeBandwidthRateLimit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeBandwidthRateLimitSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeCachediSCSIVolumes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeChapCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeFileSystemAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeGatewayInformation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeMaintenanceStartTime def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeNFSFileShares def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSMBFileShares def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSMBSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeSnapshotSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeStorediSCSIVolumes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTapeArchives def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTapeRecoveryPoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTapes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeUploadBuffer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeVTLDevices def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkingStorage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DetachVolume def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisableGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateFileSystem def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class JoinDomain def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAutomaticTapeCreationPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFileShares def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListFileSystemAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListGateways def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListLocalDisks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( 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::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTapePools def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTapes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListVolumeInitiators def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListVolumeRecoveryPoints def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListVolumes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class NotifyWhenUploaded def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RefreshCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RemoveTagsFromResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResetCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RetrieveTapeArchive def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RetrieveTapeRecoveryPoint def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SetLocalConsolePassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class SetSMBGuestPassword def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ShutdownGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartAvailabilityMonitorTest def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartGateway def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateAutomaticTapeCreationPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateBandwidthRateLimit def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateBandwidthRateLimitSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateChapCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateFileSystemAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateGatewayInformation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateGatewaySoftwareNow def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateMaintenanceStartTime def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateNFSFileShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSMBFileShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSMBFileShareVisibility def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSMBLocalGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSMBSecurityStrategy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateSnapshotSchedule def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateVTLDeviceType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::StorageGateway::EndpointParameters.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