# 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::RolesAnywhere # @api private module Endpoints class CreateProfile def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class CreateTrustAnchor def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteAttributeMapping def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteCrl def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteProfile def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DeleteTrustAnchor def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DisableCrl def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DisableProfile def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class DisableTrustAnchor def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class EnableCrl def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class EnableProfile def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class EnableTrustAnchor def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetCrl def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetProfile def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetSubject def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class GetTrustAnchor def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ImportCrl def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListCrls def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListProfiles def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListSubjects def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListTagsForResource def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ListTrustAnchors def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutAttributeMapping def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class PutNotificationSettings def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class ResetNotificationSettings def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class TagResource def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UntagResource def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UpdateCrl def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UpdateProfile def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end class UpdateTrustAnchor def self.build(context) Aws::RolesAnywhere::EndpointParameters.new( region: context.config.region, use_dual_stack: context.config.use_dualstack_endpoint, use_fips: context.config.use_fips_endpoint, endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s, ) end end end end