# 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::ManagedBlockchain # @api private module Endpoints class CreateAccessor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 CreateMember def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 CreateNetwork def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 CreateNode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 CreateProposal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 DeleteAccessor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 DeleteMember def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 DeleteNode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 GetAccessor def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 GetMember def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 GetNetwork def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 GetNode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 GetProposal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListAccessors def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListInvitations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListMembers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListNetworks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListNodes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListProposalVotes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 ListProposals def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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::ManagedBlockchain::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 RejectInvitation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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::ManagedBlockchain::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::ManagedBlockchain::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 UpdateMember def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 UpdateNode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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 VoteOnProposal def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::ManagedBlockchain::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