# 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::Lambda # @api private module Endpoints class AddLayerVersionPermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 AddPermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 CreateAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 CreateCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 CreateEventSourceMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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::Lambda::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 CreateFunctionUrlConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteEventSourceMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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::Lambda::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 DeleteFunctionCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteFunctionConcurrency def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteFunctionEventInvokeConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteFunctionUrlConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteLayerVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 DeleteProvisionedConcurrencyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetAccountSettings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetEventSourceMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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::Lambda::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 GetFunctionCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetFunctionConcurrency def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetFunctionConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetFunctionEventInvokeConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetFunctionUrlConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetLayerVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetLayerVersionByArn def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetLayerVersionPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetPolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetProvisionedConcurrencyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 GetRuntimeManagementConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 Invoke def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 InvokeAsync def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 InvokeWithResponseStream def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListAliases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListCodeSigningConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListEventSourceMappings def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListFunctionEventInvokeConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListFunctionUrlConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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::Lambda::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 ListFunctionsByCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListLayerVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListLayers def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListProvisionedConcurrencyConfigs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListTags def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 ListVersionsByFunction def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PublishLayerVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PublishVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PutFunctionCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PutFunctionConcurrency def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PutFunctionEventInvokeConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PutProvisionedConcurrencyConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 PutRuntimeManagementConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 RemoveLayerVersionPermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 RemovePermission def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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::Lambda::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::Lambda::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 UpdateAlias def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 UpdateCodeSigningConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 UpdateEventSourceMapping def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 UpdateFunctionCode def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 UpdateFunctionConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 UpdateFunctionEventInvokeConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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 UpdateFunctionUrlConfig def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::Lambda::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