# 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::WorkSpacesWeb # @api private module Endpoints class AssociateBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateTrustStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class AssociateUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreatePortal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateTrustStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeletePortal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteTrustStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateTrustStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIdentityProvider def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetPortal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetPortalServiceProviderMetadata def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTrustStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetTrustStoreCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListPortals def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTrustStoreCertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTrustStores def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateBrowserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( 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::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateIpAccessSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateNetworkSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdatePortal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateTrustStore def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateUserAccessLoggingSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateUserSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WorkSpacesWeb::EndpointParameters.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