# 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::AppSync # @api private module Endpoints class AssociateApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 AssociateMergedGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 AssociateSourceGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateApiCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateApiKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateDataSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateDomainName def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateResolver def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 CreateType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteApiCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteApiKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteDataSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteDomainName def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteResolver def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DeleteType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DisassociateApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DisassociateMergedGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 DisassociateSourceGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 EvaluateCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 EvaluateMappingTemplate def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 FlushApiCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetApiAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetApiCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetDataSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetDomainName def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetIntrospectionSchema def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetResolver def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetSchemaCreationStatus def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetSourceApiAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 GetType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListApiKeys def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListDataSources def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListDomainNames def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListFunctions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListGraphqlApis def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListResolvers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListResolversByFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListSourceApiAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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::AppSync::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 ListTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 ListTypesByAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 StartSchemaCreation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 StartSchemaMerge def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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::AppSync::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::AppSync::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 UpdateApiCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateApiKey def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateDataSource def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateDomainName def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateGraphqlApi def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateResolver def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateSourceApiAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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 UpdateType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppSync::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