# 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::ACM # @api private module Endpoints class AddTagsToCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 DeleteCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 DescribeCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 ExportCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 GetAccountConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 GetCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 ImportCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 ListCertificates def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 ListTagsForCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 PutAccountConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 RemoveTagsFromCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 RenewCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 RequestCertificate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 ResendValidationEmail def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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 UpdateCertificateOptions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ACM::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