# 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::WorkSpaces module Endpoints class AssociateConnectionAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateIpGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AuthorizeIpRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CopyWorkspaceImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateConnectClientAddIn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateConnectionAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateStandbyWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateUpdatedWorkspaceImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateWorkspaceBundle def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateWorkspaceImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteClientBranding def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteConnectClientAddIn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteConnectionAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteWorkspaceBundle def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteWorkspaceImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeregisterWorkspaceDirectory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAccountModifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientBranding def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeClientProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeConnectClientAddIns def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeConnectionAliasPermissions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeConnectionAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeIpGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspaceBundles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspaceDirectories def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspaceImagePermissions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspaceImages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspaceSnapshots def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeWorkspacesConnectionStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateConnectionAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateIpGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportClientBranding def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportWorkspaceImage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAvailableManagementCidrRanges def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class MigrateWorkspace def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyAccount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyCertificateBasedAuthProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyClientProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySamlProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifySelfservicePermissions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyWorkspaceAccessProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyWorkspaceCreationProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyWorkspaceProperties def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ModifyWorkspaceState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RebootWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RebuildWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RegisterWorkspaceDirectory def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RestoreWorkspace def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RevokeIpRules def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StopWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class TerminateWorkspaces def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateConnectClientAddIn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateConnectionAliasPermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateRulesOfIpGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateWorkspaceBundle def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateWorkspaceImagePermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpaces::EndpointParameters.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