# 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::Chatbot # @api private module Endpoints class CreateChimeWebhookConfiguration def self.build(context) Aws::Chatbot::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 CreateMicrosoftTeamsChannelConfiguration def self.build(context) Aws::Chatbot::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 CreateSlackChannelConfiguration def self.build(context) Aws::Chatbot::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 DeleteChimeWebhookConfiguration def self.build(context) Aws::Chatbot::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 DeleteMicrosoftTeamsChannelConfiguration def self.build(context) Aws::Chatbot::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 DeleteMicrosoftTeamsConfiguredTeam def self.build(context) Aws::Chatbot::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 DeleteMicrosoftTeamsUserIdentity def self.build(context) Aws::Chatbot::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 DeleteSlackChannelConfiguration def self.build(context) Aws::Chatbot::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 DeleteSlackUserIdentity def self.build(context) Aws::Chatbot::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 DeleteSlackWorkspaceAuthorization def self.build(context) Aws::Chatbot::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 DescribeChimeWebhookConfigurations def self.build(context) Aws::Chatbot::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 DescribeSlackChannelConfigurations def self.build(context) Aws::Chatbot::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 DescribeSlackUserIdentities def self.build(context) Aws::Chatbot::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 DescribeSlackWorkspaces def self.build(context) Aws::Chatbot::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 GetAccountPreferences def self.build(context) Aws::Chatbot::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 GetMicrosoftTeamsChannelConfiguration def self.build(context) Aws::Chatbot::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 ListMicrosoftTeamsChannelConfigurations def self.build(context) Aws::Chatbot::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 ListMicrosoftTeamsConfiguredTeams def self.build(context) Aws::Chatbot::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 ListMicrosoftTeamsUserIdentities def self.build(context) Aws::Chatbot::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::Chatbot::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::Chatbot::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::Chatbot::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 UpdateAccountPreferences def self.build(context) Aws::Chatbot::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 UpdateChimeWebhookConfiguration def self.build(context) Aws::Chatbot::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 UpdateMicrosoftTeamsChannelConfiguration def self.build(context) Aws::Chatbot::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 UpdateSlackChannelConfiguration def self.build(context) Aws::Chatbot::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