# 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::CodeBuild # @api private module Endpoints class BatchDeleteBuilds def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 BatchGetBuildBatches def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 BatchGetBuilds def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 BatchGetProjects def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 BatchGetReportGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 BatchGetReports def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 CreateProject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 CreateReportGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 CreateWebhook def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteBuildBatch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteProject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteReport def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteReportGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteResourcePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteSourceCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DeleteWebhook def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DescribeCodeCoverages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 DescribeTestCases def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 GetReportGroupTrend def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 GetResourcePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ImportSourceCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 InvalidateProjectCache def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListBuildBatches def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListBuildBatchesForProject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListBuilds def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListBuildsForProject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListCuratedEnvironmentImages def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListProjects def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListReportGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListReports def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListReportsForReportGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListSharedProjects def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListSharedReportGroups def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 ListSourceCredentials def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 PutResourcePolicy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 RetryBuild def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 RetryBuildBatch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 StartBuild def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 StartBuildBatch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 StopBuild def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 StopBuildBatch def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 UpdateProject def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 UpdateProjectVisibility def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 UpdateReportGroup def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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 UpdateWebhook def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodeBuild::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