# 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::ResilienceHub module Endpoints class AddDraftAppVersionResourceMappings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateAppVersionAppComponent def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateAppVersionResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateRecommendationTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class CreateResiliencyPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteAppAssessment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteAppInputSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteAppVersionAppComponent def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteAppVersionResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteRecommendationTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DeleteResiliencyPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAppAssessment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAppVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAppVersionAppComponent def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAppVersionResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAppVersionResourcesResolutionStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeAppVersionTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeDraftAppVersionResourcesImportStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class DescribeResiliencyPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ImportResourcesToDraftAppVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAlarmRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppAssessments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppComponentCompliances def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppComponentRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppInputSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppVersionAppComponents def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppVersionResourceMappings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppVersionResources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListAppVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListApps def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListRecommendationTemplates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListResiliencyPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListSopRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListSuggestedResiliencyPolicies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( 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::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListTestRecommendations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ListUnsupportedAppVersionResources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PublishAppVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class PutDraftAppVersionTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class RemoveDraftAppVersionResourceMappings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class ResolveAppVersionResources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class StartAppAssessment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( 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::ResilienceHub::EndpointParameters.new( 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::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateApp def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateAppVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateAppVersionAppComponent def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateAppVersionResource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: endpoint, ) end end class UpdateResiliencyPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ResilienceHub::EndpointParameters.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