# 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::Kafka module Endpoints class BatchAssociateScramSecret def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 CreateCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 CreateClusterV2 def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 CreateConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DeleteCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DeleteConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DescribeCluster def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DescribeClusterV2 def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DescribeClusterOperation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DescribeConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 DescribeConfigurationRevision def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 BatchDisassociateScramSecret def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 GetBootstrapBrokers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 GetCompatibleKafkaVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 ListClusterOperations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 ListClusters def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 ListClustersV2 def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 ListConfigurationRevisions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 ListConfigurations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 ListKafkaVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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::Kafka::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 ListScramSecrets def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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::Kafka::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 RebootBroker def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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::Kafka::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::Kafka::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 UpdateBrokerCount def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateBrokerType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateBrokerStorage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateClusterConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateClusterKafkaVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateConnectivity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateMonitoring def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateSecurity def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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 UpdateStorage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Kafka::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