# 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::CodePipeline # @api private module Endpoints class AcknowledgeJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 AcknowledgeThirdPartyJob def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 CreateCustomActionType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 CreatePipeline def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 DeleteCustomActionType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 DeletePipeline def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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::CodePipeline::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 DeregisterWebhookWithThirdParty def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 DisableStageTransition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 EnableStageTransition def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 GetActionType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 GetJobDetails def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 GetPipeline def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 GetPipelineExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 GetPipelineState def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 GetThirdPartyJobDetails def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 ListActionExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 ListActionTypes def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 ListPipelineExecutions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 ListPipelines def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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::CodePipeline::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 ListWebhooks def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PollForJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PollForThirdPartyJobs def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutActionRevision def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutApprovalResult def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutJobFailureResult def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutJobSuccessResult def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutThirdPartyJobFailureResult def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutThirdPartyJobSuccessResult def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 PutWebhook def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 RegisterWebhookWithThirdParty def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 RetryStageExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 RollbackStage def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 StartPipelineExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 StopPipelineExecution def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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::CodePipeline::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::CodePipeline::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 UpdateActionType def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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 UpdatePipeline def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::CodePipeline::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