# 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::WellArchitected module Endpoints class AssociateLenses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLensShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateLensVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateMilestone def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateWorkload def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateWorkloadShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLens def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteLensShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteWorkload def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteWorkloadShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DisassociateLenses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ExportLens def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetAnswer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetLens def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetLensReview def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetLensReviewReport def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetLensVersionDifference def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetMilestone def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class GetWorkload def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportLens def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAnswers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListCheckDetails def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListCheckSummaries def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListLensReviewImprovements def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListLensReviews def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListLensShares def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListLenses def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListMilestones def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListNotifications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListShareInvitations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( 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::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListWorkloadShares def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListWorkloads def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( 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::WellArchitected::EndpointParameters.new( 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::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateAnswer def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateGlobalSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateLensReview def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateShareInvitation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateWorkload def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateWorkloadShare def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpgradeLensReview def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::WellArchitected::EndpointParameters.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