aws-sdk-codepipeline 1.26.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-codepipeline.rb +7 -4
- data/lib/aws-sdk-codepipeline/client.rb +172 -34
- data/lib/aws-sdk-codepipeline/client_api.rb +113 -0
- data/lib/aws-sdk-codepipeline/errors.rb +367 -0
- data/lib/aws-sdk-codepipeline/resource.rb +1 -0
- data/lib/aws-sdk-codepipeline/types.rb +380 -28
- metadata +3 -3
@@ -41,6 +41,7 @@ module Aws::CodePipeline
|
|
41
41
|
ActionExecutionStatus = Shapes::StringShape.new(name: 'ActionExecutionStatus')
|
42
42
|
ActionExecutionToken = Shapes::StringShape.new(name: 'ActionExecutionToken')
|
43
43
|
ActionName = Shapes::StringShape.new(name: 'ActionName')
|
44
|
+
ActionNamespace = Shapes::StringShape.new(name: 'ActionNamespace')
|
44
45
|
ActionNotFoundException = Shapes::StructureShape.new(name: 'ActionNotFoundException')
|
45
46
|
ActionOwner = Shapes::StringShape.new(name: 'ActionOwner')
|
46
47
|
ActionProvider = Shapes::StringShape.new(name: 'ActionProvider')
|
@@ -96,6 +97,7 @@ module Aws::CodePipeline
|
|
96
97
|
Description = Shapes::StringShape.new(name: 'Description')
|
97
98
|
DisableStageTransitionInput = Shapes::StructureShape.new(name: 'DisableStageTransitionInput')
|
98
99
|
DisabledReason = Shapes::StringShape.new(name: 'DisabledReason')
|
100
|
+
DuplicatedStopRequestException = Shapes::StructureShape.new(name: 'DuplicatedStopRequestException')
|
99
101
|
EnableStageTransitionInput = Shapes::StructureShape.new(name: 'EnableStageTransitionInput')
|
100
102
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
101
103
|
EncryptionKey = Shapes::StructureShape.new(name: 'EncryptionKey')
|
@@ -172,6 +174,10 @@ module Aws::CodePipeline
|
|
172
174
|
NotLatestPipelineExecutionException = Shapes::StructureShape.new(name: 'NotLatestPipelineExecutionException')
|
173
175
|
OutputArtifact = Shapes::StructureShape.new(name: 'OutputArtifact')
|
174
176
|
OutputArtifactList = Shapes::ListShape.new(name: 'OutputArtifactList')
|
177
|
+
OutputVariablesKey = Shapes::StringShape.new(name: 'OutputVariablesKey')
|
178
|
+
OutputVariablesMap = Shapes::MapShape.new(name: 'OutputVariablesMap')
|
179
|
+
OutputVariablesSizeExceededException = Shapes::StructureShape.new(name: 'OutputVariablesSizeExceededException')
|
180
|
+
OutputVariablesValue = Shapes::StringShape.new(name: 'OutputVariablesValue')
|
175
181
|
Percentage = Shapes::IntegerShape.new(name: 'Percentage')
|
176
182
|
PipelineArn = Shapes::StringShape.new(name: 'PipelineArn')
|
177
183
|
PipelineContext = Shapes::StructureShape.new(name: 'PipelineContext')
|
@@ -179,6 +185,7 @@ module Aws::CodePipeline
|
|
179
185
|
PipelineExecution = Shapes::StructureShape.new(name: 'PipelineExecution')
|
180
186
|
PipelineExecutionId = Shapes::StringShape.new(name: 'PipelineExecutionId')
|
181
187
|
PipelineExecutionNotFoundException = Shapes::StructureShape.new(name: 'PipelineExecutionNotFoundException')
|
188
|
+
PipelineExecutionNotStoppableException = Shapes::StructureShape.new(name: 'PipelineExecutionNotStoppableException')
|
182
189
|
PipelineExecutionStatus = Shapes::StringShape.new(name: 'PipelineExecutionStatus')
|
183
190
|
PipelineExecutionSummary = Shapes::StructureShape.new(name: 'PipelineExecutionSummary')
|
184
191
|
PipelineExecutionSummaryList = Shapes::ListShape.new(name: 'PipelineExecutionSummaryList')
|
@@ -208,6 +215,7 @@ module Aws::CodePipeline
|
|
208
215
|
QueryParamMap = Shapes::MapShape.new(name: 'QueryParamMap')
|
209
216
|
RegisterWebhookWithThirdPartyInput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyInput')
|
210
217
|
RegisterWebhookWithThirdPartyOutput = Shapes::StructureShape.new(name: 'RegisterWebhookWithThirdPartyOutput')
|
218
|
+
ResolvedActionConfigurationMap = Shapes::MapShape.new(name: 'ResolvedActionConfigurationMap')
|
211
219
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
212
220
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
213
221
|
RetryStageExecutionInput = Shapes::StructureShape.new(name: 'RetryStageExecutionInput')
|
@@ -241,6 +249,11 @@ module Aws::CodePipeline
|
|
241
249
|
StageTransitionType = Shapes::StringShape.new(name: 'StageTransitionType')
|
242
250
|
StartPipelineExecutionInput = Shapes::StructureShape.new(name: 'StartPipelineExecutionInput')
|
243
251
|
StartPipelineExecutionOutput = Shapes::StructureShape.new(name: 'StartPipelineExecutionOutput')
|
252
|
+
StopExecutionTrigger = Shapes::StructureShape.new(name: 'StopExecutionTrigger')
|
253
|
+
StopPipelineExecutionInput = Shapes::StructureShape.new(name: 'StopPipelineExecutionInput')
|
254
|
+
StopPipelineExecutionOutput = Shapes::StructureShape.new(name: 'StopPipelineExecutionOutput')
|
255
|
+
StopPipelineExecutionReason = Shapes::StringShape.new(name: 'StopPipelineExecutionReason')
|
256
|
+
String = Shapes::StringShape.new(name: 'String')
|
244
257
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
245
258
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
246
259
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -332,6 +345,7 @@ module Aws::CodePipeline
|
|
332
345
|
ActionDeclaration.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: InputArtifactList, location_name: "inputArtifacts"))
|
333
346
|
ActionDeclaration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
334
347
|
ActionDeclaration.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
|
348
|
+
ActionDeclaration.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
|
335
349
|
ActionDeclaration.struct_class = Types::ActionDeclaration
|
336
350
|
|
337
351
|
ActionExecution.add_member(:status, Shapes::ShapeRef.new(shape: ActionExecutionStatus, location_name: "status"))
|
@@ -364,13 +378,16 @@ module Aws::CodePipeline
|
|
364
378
|
|
365
379
|
ActionExecutionInput.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, location_name: "actionTypeId"))
|
366
380
|
ActionExecutionInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ActionConfigurationMap, location_name: "configuration"))
|
381
|
+
ActionExecutionInput.add_member(:resolved_configuration, Shapes::ShapeRef.new(shape: ResolvedActionConfigurationMap, location_name: "resolvedConfiguration"))
|
367
382
|
ActionExecutionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
368
383
|
ActionExecutionInput.add_member(:region, Shapes::ShapeRef.new(shape: AWSRegionName, location_name: "region"))
|
369
384
|
ActionExecutionInput.add_member(:input_artifacts, Shapes::ShapeRef.new(shape: ArtifactDetailList, location_name: "inputArtifacts"))
|
385
|
+
ActionExecutionInput.add_member(:namespace, Shapes::ShapeRef.new(shape: ActionNamespace, location_name: "namespace"))
|
370
386
|
ActionExecutionInput.struct_class = Types::ActionExecutionInput
|
371
387
|
|
372
388
|
ActionExecutionOutput.add_member(:output_artifacts, Shapes::ShapeRef.new(shape: ArtifactDetailList, location_name: "outputArtifacts"))
|
373
389
|
ActionExecutionOutput.add_member(:execution_result, Shapes::ShapeRef.new(shape: ActionExecutionResult, location_name: "executionResult"))
|
390
|
+
ActionExecutionOutput.add_member(:output_variables, Shapes::ShapeRef.new(shape: OutputVariablesMap, location_name: "outputVariables"))
|
374
391
|
ActionExecutionOutput.struct_class = Types::ActionExecutionOutput
|
375
392
|
|
376
393
|
ActionExecutionResult.add_member(:external_execution_id, Shapes::ShapeRef.new(shape: ExternalExecutionId, location_name: "externalExecutionId"))
|
@@ -378,6 +395,8 @@ module Aws::CodePipeline
|
|
378
395
|
ActionExecutionResult.add_member(:external_execution_url, Shapes::ShapeRef.new(shape: Url, location_name: "externalExecutionUrl"))
|
379
396
|
ActionExecutionResult.struct_class = Types::ActionExecutionResult
|
380
397
|
|
398
|
+
ActionNotFoundException.struct_class = Types::ActionNotFoundException
|
399
|
+
|
381
400
|
ActionRevision.add_member(:revision_id, Shapes::ShapeRef.new(shape: Revision, required: true, location_name: "revisionId"))
|
382
401
|
ActionRevision.add_member(:revision_change_id, Shapes::ShapeRef.new(shape: RevisionChangeIdentifier, required: true, location_name: "revisionChangeId"))
|
383
402
|
ActionRevision.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "created"))
|
@@ -407,12 +426,16 @@ module Aws::CodePipeline
|
|
407
426
|
|
408
427
|
ActionTypeList.member = Shapes::ShapeRef.new(shape: ActionType)
|
409
428
|
|
429
|
+
ActionTypeNotFoundException.struct_class = Types::ActionTypeNotFoundException
|
430
|
+
|
410
431
|
ActionTypeSettings.add_member(:third_party_configuration_url, Shapes::ShapeRef.new(shape: Url, location_name: "thirdPartyConfigurationUrl"))
|
411
432
|
ActionTypeSettings.add_member(:entity_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "entityUrlTemplate"))
|
412
433
|
ActionTypeSettings.add_member(:execution_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "executionUrlTemplate"))
|
413
434
|
ActionTypeSettings.add_member(:revision_url_template, Shapes::ShapeRef.new(shape: UrlTemplate, location_name: "revisionUrlTemplate"))
|
414
435
|
ActionTypeSettings.struct_class = Types::ActionTypeSettings
|
415
436
|
|
437
|
+
ApprovalAlreadyCompletedException.struct_class = Types::ApprovalAlreadyCompletedException
|
438
|
+
|
416
439
|
ApprovalResult.add_member(:summary, Shapes::ShapeRef.new(shape: ApprovalSummary, required: true, location_name: "summary"))
|
417
440
|
ApprovalResult.add_member(:status, Shapes::ShapeRef.new(shape: ApprovalStatus, required: true, location_name: "status"))
|
418
441
|
ApprovalResult.struct_class = Types::ApprovalResult
|
@@ -515,6 +538,9 @@ module Aws::CodePipeline
|
|
515
538
|
DisableStageTransitionInput.add_member(:reason, Shapes::ShapeRef.new(shape: DisabledReason, required: true, location_name: "reason"))
|
516
539
|
DisableStageTransitionInput.struct_class = Types::DisableStageTransitionInput
|
517
540
|
|
541
|
+
DuplicatedStopRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
542
|
+
DuplicatedStopRequestException.struct_class = Types::DuplicatedStopRequestException
|
543
|
+
|
518
544
|
EnableStageTransitionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
519
545
|
EnableStageTransitionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
|
520
546
|
EnableStageTransitionInput.add_member(:transition_type, Shapes::ShapeRef.new(shape: StageTransitionType, required: true, location_name: "transitionType"))
|
@@ -585,12 +611,36 @@ module Aws::CodePipeline
|
|
585
611
|
|
586
612
|
InputArtifactList.member = Shapes::ShapeRef.new(shape: InputArtifact)
|
587
613
|
|
614
|
+
InvalidActionDeclarationException.struct_class = Types::InvalidActionDeclarationException
|
615
|
+
|
616
|
+
InvalidApprovalTokenException.struct_class = Types::InvalidApprovalTokenException
|
617
|
+
|
588
618
|
InvalidArnException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
589
619
|
InvalidArnException.struct_class = Types::InvalidArnException
|
590
620
|
|
621
|
+
InvalidBlockerDeclarationException.struct_class = Types::InvalidBlockerDeclarationException
|
622
|
+
|
623
|
+
InvalidClientTokenException.struct_class = Types::InvalidClientTokenException
|
624
|
+
|
625
|
+
InvalidJobException.struct_class = Types::InvalidJobException
|
626
|
+
|
627
|
+
InvalidJobStateException.struct_class = Types::InvalidJobStateException
|
628
|
+
|
629
|
+
InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
|
630
|
+
|
631
|
+
InvalidNonceException.struct_class = Types::InvalidNonceException
|
632
|
+
|
633
|
+
InvalidStageDeclarationException.struct_class = Types::InvalidStageDeclarationException
|
634
|
+
|
635
|
+
InvalidStructureException.struct_class = Types::InvalidStructureException
|
636
|
+
|
591
637
|
InvalidTagsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
592
638
|
InvalidTagsException.struct_class = Types::InvalidTagsException
|
593
639
|
|
640
|
+
InvalidWebhookAuthenticationParametersException.struct_class = Types::InvalidWebhookAuthenticationParametersException
|
641
|
+
|
642
|
+
InvalidWebhookFilterPatternException.struct_class = Types::InvalidWebhookFilterPatternException
|
643
|
+
|
594
644
|
Job.add_member(:id, Shapes::ShapeRef.new(shape: JobId, location_name: "id"))
|
595
645
|
Job.add_member(:data, Shapes::ShapeRef.new(shape: JobData, location_name: "data"))
|
596
646
|
Job.add_member(:nonce, Shapes::ShapeRef.new(shape: Nonce, location_name: "nonce"))
|
@@ -614,6 +664,10 @@ module Aws::CodePipeline
|
|
614
664
|
|
615
665
|
JobList.member = Shapes::ShapeRef.new(shape: Job)
|
616
666
|
|
667
|
+
JobNotFoundException.struct_class = Types::JobNotFoundException
|
668
|
+
|
669
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
670
|
+
|
617
671
|
ListActionExecutionsInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
618
672
|
ListActionExecutionsInput.add_member(:filter, Shapes::ShapeRef.new(shape: ActionExecutionFilter, location_name: "filter"))
|
619
673
|
ListActionExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
@@ -674,11 +728,19 @@ module Aws::CodePipeline
|
|
674
728
|
ListWebhooksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
675
729
|
ListWebhooksOutput.struct_class = Types::ListWebhooksOutput
|
676
730
|
|
731
|
+
NotLatestPipelineExecutionException.struct_class = Types::NotLatestPipelineExecutionException
|
732
|
+
|
677
733
|
OutputArtifact.add_member(:name, Shapes::ShapeRef.new(shape: ArtifactName, required: true, location_name: "name"))
|
678
734
|
OutputArtifact.struct_class = Types::OutputArtifact
|
679
735
|
|
680
736
|
OutputArtifactList.member = Shapes::ShapeRef.new(shape: OutputArtifact)
|
681
737
|
|
738
|
+
OutputVariablesMap.key = Shapes::ShapeRef.new(shape: OutputVariablesKey)
|
739
|
+
OutputVariablesMap.value = Shapes::ShapeRef.new(shape: OutputVariablesValue)
|
740
|
+
|
741
|
+
OutputVariablesSizeExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
742
|
+
OutputVariablesSizeExceededException.struct_class = Types::OutputVariablesSizeExceededException
|
743
|
+
|
682
744
|
PipelineContext.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "pipelineName"))
|
683
745
|
PipelineContext.add_member(:stage, Shapes::ShapeRef.new(shape: StageContext, location_name: "stage"))
|
684
746
|
PipelineContext.add_member(:action, Shapes::ShapeRef.new(shape: ActionContext, location_name: "action"))
|
@@ -701,12 +763,18 @@ module Aws::CodePipeline
|
|
701
763
|
PipelineExecution.add_member(:artifact_revisions, Shapes::ShapeRef.new(shape: ArtifactRevisionList, location_name: "artifactRevisions"))
|
702
764
|
PipelineExecution.struct_class = Types::PipelineExecution
|
703
765
|
|
766
|
+
PipelineExecutionNotFoundException.struct_class = Types::PipelineExecutionNotFoundException
|
767
|
+
|
768
|
+
PipelineExecutionNotStoppableException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
769
|
+
PipelineExecutionNotStoppableException.struct_class = Types::PipelineExecutionNotStoppableException
|
770
|
+
|
704
771
|
PipelineExecutionSummary.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
705
772
|
PipelineExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PipelineExecutionStatus, location_name: "status"))
|
706
773
|
PipelineExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
707
774
|
PipelineExecutionSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
708
775
|
PipelineExecutionSummary.add_member(:source_revisions, Shapes::ShapeRef.new(shape: SourceRevisionList, location_name: "sourceRevisions"))
|
709
776
|
PipelineExecutionSummary.add_member(:trigger, Shapes::ShapeRef.new(shape: ExecutionTrigger, location_name: "trigger"))
|
777
|
+
PipelineExecutionSummary.add_member(:stop_trigger, Shapes::ShapeRef.new(shape: StopExecutionTrigger, location_name: "stopTrigger"))
|
710
778
|
PipelineExecutionSummary.struct_class = Types::PipelineExecutionSummary
|
711
779
|
|
712
780
|
PipelineExecutionSummaryList.member = Shapes::ShapeRef.new(shape: PipelineExecutionSummary)
|
@@ -718,6 +786,10 @@ module Aws::CodePipeline
|
|
718
786
|
PipelineMetadata.add_member(:updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updated"))
|
719
787
|
PipelineMetadata.struct_class = Types::PipelineMetadata
|
720
788
|
|
789
|
+
PipelineNameInUseException.struct_class = Types::PipelineNameInUseException
|
790
|
+
|
791
|
+
PipelineNotFoundException.struct_class = Types::PipelineNotFoundException
|
792
|
+
|
721
793
|
PipelineStageDeclarationList.member = Shapes::ShapeRef.new(shape: StageDeclaration)
|
722
794
|
|
723
795
|
PipelineSummary.add_member(:name, Shapes::ShapeRef.new(shape: PipelineName, location_name: "name"))
|
@@ -726,6 +798,8 @@ module Aws::CodePipeline
|
|
726
798
|
PipelineSummary.add_member(:updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updated"))
|
727
799
|
PipelineSummary.struct_class = Types::PipelineSummary
|
728
800
|
|
801
|
+
PipelineVersionNotFoundException.struct_class = Types::PipelineVersionNotFoundException
|
802
|
+
|
729
803
|
PollForJobsInput.add_member(:action_type_id, Shapes::ShapeRef.new(shape: ActionTypeId, required: true, location_name: "actionTypeId"))
|
730
804
|
PollForJobsInput.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
731
805
|
PollForJobsInput.add_member(:query_param, Shapes::ShapeRef.new(shape: QueryParamMap, location_name: "queryParam"))
|
@@ -769,6 +843,7 @@ module Aws::CodePipeline
|
|
769
843
|
PutJobSuccessResultInput.add_member(:current_revision, Shapes::ShapeRef.new(shape: CurrentRevision, location_name: "currentRevision"))
|
770
844
|
PutJobSuccessResultInput.add_member(:continuation_token, Shapes::ShapeRef.new(shape: ContinuationToken, location_name: "continuationToken"))
|
771
845
|
PutJobSuccessResultInput.add_member(:execution_details, Shapes::ShapeRef.new(shape: ExecutionDetails, location_name: "executionDetails"))
|
846
|
+
PutJobSuccessResultInput.add_member(:output_variables, Shapes::ShapeRef.new(shape: OutputVariablesMap, location_name: "outputVariables"))
|
772
847
|
PutJobSuccessResultInput.struct_class = Types::PutJobSuccessResultInput
|
773
848
|
|
774
849
|
PutThirdPartyJobFailureResultInput.add_member(:job_id, Shapes::ShapeRef.new(shape: ThirdPartyJobId, required: true, location_name: "jobId"))
|
@@ -798,6 +873,11 @@ module Aws::CodePipeline
|
|
798
873
|
|
799
874
|
RegisterWebhookWithThirdPartyOutput.struct_class = Types::RegisterWebhookWithThirdPartyOutput
|
800
875
|
|
876
|
+
ResolvedActionConfigurationMap.key = Shapes::ShapeRef.new(shape: String)
|
877
|
+
ResolvedActionConfigurationMap.value = Shapes::ShapeRef.new(shape: String)
|
878
|
+
|
879
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
880
|
+
|
801
881
|
RetryStageExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
802
882
|
RetryStageExecutionInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, required: true, location_name: "stageName"))
|
803
883
|
RetryStageExecutionInput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
|
@@ -839,6 +919,10 @@ module Aws::CodePipeline
|
|
839
919
|
StageExecution.add_member(:status, Shapes::ShapeRef.new(shape: StageExecutionStatus, required: true, location_name: "status"))
|
840
920
|
StageExecution.struct_class = Types::StageExecution
|
841
921
|
|
922
|
+
StageNotFoundException.struct_class = Types::StageNotFoundException
|
923
|
+
|
924
|
+
StageNotRetryableException.struct_class = Types::StageNotRetryableException
|
925
|
+
|
842
926
|
StageState.add_member(:stage_name, Shapes::ShapeRef.new(shape: StageName, location_name: "stageName"))
|
843
927
|
StageState.add_member(:inbound_transition_state, Shapes::ShapeRef.new(shape: TransitionState, location_name: "inboundTransitionState"))
|
844
928
|
StageState.add_member(:action_states, Shapes::ShapeRef.new(shape: ActionStateList, location_name: "actionStates"))
|
@@ -854,6 +938,18 @@ module Aws::CodePipeline
|
|
854
938
|
StartPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
855
939
|
StartPipelineExecutionOutput.struct_class = Types::StartPipelineExecutionOutput
|
856
940
|
|
941
|
+
StopExecutionTrigger.add_member(:reason, Shapes::ShapeRef.new(shape: StopPipelineExecutionReason, location_name: "reason"))
|
942
|
+
StopExecutionTrigger.struct_class = Types::StopExecutionTrigger
|
943
|
+
|
944
|
+
StopPipelineExecutionInput.add_member(:pipeline_name, Shapes::ShapeRef.new(shape: PipelineName, required: true, location_name: "pipelineName"))
|
945
|
+
StopPipelineExecutionInput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, required: true, location_name: "pipelineExecutionId"))
|
946
|
+
StopPipelineExecutionInput.add_member(:abandon, Shapes::ShapeRef.new(shape: Boolean, location_name: "abandon"))
|
947
|
+
StopPipelineExecutionInput.add_member(:reason, Shapes::ShapeRef.new(shape: StopPipelineExecutionReason, location_name: "reason"))
|
948
|
+
StopPipelineExecutionInput.struct_class = Types::StopPipelineExecutionInput
|
949
|
+
|
950
|
+
StopPipelineExecutionOutput.add_member(:pipeline_execution_id, Shapes::ShapeRef.new(shape: PipelineExecutionId, location_name: "pipelineExecutionId"))
|
951
|
+
StopPipelineExecutionOutput.struct_class = Types::StopPipelineExecutionOutput
|
952
|
+
|
857
953
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
858
954
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
859
955
|
Tag.struct_class = Types::Tag
|
@@ -910,6 +1006,8 @@ module Aws::CodePipeline
|
|
910
1006
|
UpdatePipelineOutput.add_member(:pipeline, Shapes::ShapeRef.new(shape: PipelineDeclaration, location_name: "pipeline"))
|
911
1007
|
UpdatePipelineOutput.struct_class = Types::UpdatePipelineOutput
|
912
1008
|
|
1009
|
+
ValidationException.struct_class = Types::ValidationException
|
1010
|
+
|
913
1011
|
WebhookAuthConfiguration.add_member(:allowed_ip_range, Shapes::ShapeRef.new(shape: WebhookAuthConfigurationAllowedIPRange, location_name: "AllowedIPRange"))
|
914
1012
|
WebhookAuthConfiguration.add_member(:secret_token, Shapes::ShapeRef.new(shape: WebhookAuthConfigurationSecretToken, location_name: "SecretToken"))
|
915
1013
|
WebhookAuthConfiguration.struct_class = Types::WebhookAuthConfiguration
|
@@ -930,6 +1028,8 @@ module Aws::CodePipeline
|
|
930
1028
|
|
931
1029
|
WebhookList.member = Shapes::ShapeRef.new(shape: ListWebhookItem)
|
932
1030
|
|
1031
|
+
WebhookNotFoundException.struct_class = Types::WebhookNotFoundException
|
1032
|
+
|
933
1033
|
|
934
1034
|
# @api private
|
935
1035
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1284,6 +1384,7 @@ module Aws::CodePipeline
|
|
1284
1384
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1285
1385
|
o.errors << Shapes::ShapeRef.new(shape: JobNotFoundException)
|
1286
1386
|
o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
|
1387
|
+
o.errors << Shapes::ShapeRef.new(shape: OutputVariablesSizeExceededException)
|
1287
1388
|
end)
|
1288
1389
|
|
1289
1390
|
api.add_operation(:put_third_party_job_failure_result, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1359,6 +1460,18 @@ module Aws::CodePipeline
|
|
1359
1460
|
o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
|
1360
1461
|
end)
|
1361
1462
|
|
1463
|
+
api.add_operation(:stop_pipeline_execution, Seahorse::Model::Operation.new.tap do |o|
|
1464
|
+
o.name = "StopPipelineExecution"
|
1465
|
+
o.http_method = "POST"
|
1466
|
+
o.http_request_uri = "/"
|
1467
|
+
o.input = Shapes::ShapeRef.new(shape: StopPipelineExecutionInput)
|
1468
|
+
o.output = Shapes::ShapeRef.new(shape: StopPipelineExecutionOutput)
|
1469
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1470
|
+
o.errors << Shapes::ShapeRef.new(shape: PipelineNotFoundException)
|
1471
|
+
o.errors << Shapes::ShapeRef.new(shape: PipelineExecutionNotStoppableException)
|
1472
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicatedStopRequestException)
|
1473
|
+
end)
|
1474
|
+
|
1362
1475
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1363
1476
|
o.name = "TagResource"
|
1364
1477
|
o.http_method = "POST"
|
@@ -6,10 +6,96 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CodePipeline
|
9
|
+
|
10
|
+
# When CodePipeline returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::CodePipeline::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all CodePipeline errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::CodePipeline::Errors::ServiceError
|
18
|
+
# # rescues all CodePipeline API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {ActionNotFoundException}
|
29
|
+
# * {ActionTypeNotFoundException}
|
30
|
+
# * {ApprovalAlreadyCompletedException}
|
31
|
+
# * {ConcurrentModificationException}
|
32
|
+
# * {DuplicatedStopRequestException}
|
33
|
+
# * {InvalidActionDeclarationException}
|
34
|
+
# * {InvalidApprovalTokenException}
|
35
|
+
# * {InvalidArnException}
|
36
|
+
# * {InvalidBlockerDeclarationException}
|
37
|
+
# * {InvalidClientTokenException}
|
38
|
+
# * {InvalidJobException}
|
39
|
+
# * {InvalidJobStateException}
|
40
|
+
# * {InvalidNextTokenException}
|
41
|
+
# * {InvalidNonceException}
|
42
|
+
# * {InvalidStageDeclarationException}
|
43
|
+
# * {InvalidStructureException}
|
44
|
+
# * {InvalidTagsException}
|
45
|
+
# * {InvalidWebhookAuthenticationParametersException}
|
46
|
+
# * {InvalidWebhookFilterPatternException}
|
47
|
+
# * {JobNotFoundException}
|
48
|
+
# * {LimitExceededException}
|
49
|
+
# * {NotLatestPipelineExecutionException}
|
50
|
+
# * {OutputVariablesSizeExceededException}
|
51
|
+
# * {PipelineExecutionNotFoundException}
|
52
|
+
# * {PipelineExecutionNotStoppableException}
|
53
|
+
# * {PipelineNameInUseException}
|
54
|
+
# * {PipelineNotFoundException}
|
55
|
+
# * {PipelineVersionNotFoundException}
|
56
|
+
# * {ResourceNotFoundException}
|
57
|
+
# * {StageNotFoundException}
|
58
|
+
# * {StageNotRetryableException}
|
59
|
+
# * {TooManyTagsException}
|
60
|
+
# * {ValidationException}
|
61
|
+
# * {WebhookNotFoundException}
|
62
|
+
#
|
63
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
64
|
+
# if they are not defined above.
|
9
65
|
module Errors
|
10
66
|
|
11
67
|
extend Aws::Errors::DynamicErrors
|
12
68
|
|
69
|
+
class ActionNotFoundException < ServiceError
|
70
|
+
|
71
|
+
# @param [Seahorse::Client::RequestContext] context
|
72
|
+
# @param [String] message
|
73
|
+
# @param [Aws::CodePipeline::Types::ActionNotFoundException] data
|
74
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
75
|
+
super(context, message, data)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
class ActionTypeNotFoundException < ServiceError
|
80
|
+
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
82
|
+
# @param [String] message
|
83
|
+
# @param [Aws::CodePipeline::Types::ActionTypeNotFoundException] data
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
+
super(context, message, data)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
class ApprovalAlreadyCompletedException < ServiceError
|
90
|
+
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
92
|
+
# @param [String] message
|
93
|
+
# @param [Aws::CodePipeline::Types::ApprovalAlreadyCompletedException] data
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
95
|
+
super(context, message, data)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
13
99
|
class ConcurrentModificationException < ServiceError
|
14
100
|
|
15
101
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,7 +109,41 @@ module Aws::CodePipeline
|
|
23
109
|
def message
|
24
110
|
@message || @data[:message]
|
25
111
|
end
|
112
|
+
end
|
26
113
|
|
114
|
+
class DuplicatedStopRequestException < ServiceError
|
115
|
+
|
116
|
+
# @param [Seahorse::Client::RequestContext] context
|
117
|
+
# @param [String] message
|
118
|
+
# @param [Aws::CodePipeline::Types::DuplicatedStopRequestException] data
|
119
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
120
|
+
super(context, message, data)
|
121
|
+
end
|
122
|
+
|
123
|
+
# @return [String]
|
124
|
+
def message
|
125
|
+
@message || @data[:message]
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
class InvalidActionDeclarationException < ServiceError
|
130
|
+
|
131
|
+
# @param [Seahorse::Client::RequestContext] context
|
132
|
+
# @param [String] message
|
133
|
+
# @param [Aws::CodePipeline::Types::InvalidActionDeclarationException] data
|
134
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
135
|
+
super(context, message, data)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
class InvalidApprovalTokenException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::CodePipeline::Types::InvalidApprovalTokenException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
27
147
|
end
|
28
148
|
|
29
149
|
class InvalidArnException < ServiceError
|
@@ -39,7 +159,86 @@ module Aws::CodePipeline
|
|
39
159
|
def message
|
40
160
|
@message || @data[:message]
|
41
161
|
end
|
162
|
+
end
|
163
|
+
|
164
|
+
class InvalidBlockerDeclarationException < ServiceError
|
165
|
+
|
166
|
+
# @param [Seahorse::Client::RequestContext] context
|
167
|
+
# @param [String] message
|
168
|
+
# @param [Aws::CodePipeline::Types::InvalidBlockerDeclarationException] data
|
169
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
170
|
+
super(context, message, data)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
class InvalidClientTokenException < ServiceError
|
175
|
+
|
176
|
+
# @param [Seahorse::Client::RequestContext] context
|
177
|
+
# @param [String] message
|
178
|
+
# @param [Aws::CodePipeline::Types::InvalidClientTokenException] data
|
179
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
180
|
+
super(context, message, data)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
class InvalidJobException < ServiceError
|
185
|
+
|
186
|
+
# @param [Seahorse::Client::RequestContext] context
|
187
|
+
# @param [String] message
|
188
|
+
# @param [Aws::CodePipeline::Types::InvalidJobException] data
|
189
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
190
|
+
super(context, message, data)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
class InvalidJobStateException < ServiceError
|
195
|
+
|
196
|
+
# @param [Seahorse::Client::RequestContext] context
|
197
|
+
# @param [String] message
|
198
|
+
# @param [Aws::CodePipeline::Types::InvalidJobStateException] data
|
199
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
200
|
+
super(context, message, data)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
class InvalidNextTokenException < ServiceError
|
42
205
|
|
206
|
+
# @param [Seahorse::Client::RequestContext] context
|
207
|
+
# @param [String] message
|
208
|
+
# @param [Aws::CodePipeline::Types::InvalidNextTokenException] data
|
209
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
210
|
+
super(context, message, data)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class InvalidNonceException < ServiceError
|
215
|
+
|
216
|
+
# @param [Seahorse::Client::RequestContext] context
|
217
|
+
# @param [String] message
|
218
|
+
# @param [Aws::CodePipeline::Types::InvalidNonceException] data
|
219
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
220
|
+
super(context, message, data)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class InvalidStageDeclarationException < ServiceError
|
225
|
+
|
226
|
+
# @param [Seahorse::Client::RequestContext] context
|
227
|
+
# @param [String] message
|
228
|
+
# @param [Aws::CodePipeline::Types::InvalidStageDeclarationException] data
|
229
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
230
|
+
super(context, message, data)
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
class InvalidStructureException < ServiceError
|
235
|
+
|
236
|
+
# @param [Seahorse::Client::RequestContext] context
|
237
|
+
# @param [String] message
|
238
|
+
# @param [Aws::CodePipeline::Types::InvalidStructureException] data
|
239
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
240
|
+
super(context, message, data)
|
241
|
+
end
|
43
242
|
end
|
44
243
|
|
45
244
|
class InvalidTagsException < ServiceError
|
@@ -55,7 +254,156 @@ module Aws::CodePipeline
|
|
55
254
|
def message
|
56
255
|
@message || @data[:message]
|
57
256
|
end
|
257
|
+
end
|
258
|
+
|
259
|
+
class InvalidWebhookAuthenticationParametersException < ServiceError
|
260
|
+
|
261
|
+
# @param [Seahorse::Client::RequestContext] context
|
262
|
+
# @param [String] message
|
263
|
+
# @param [Aws::CodePipeline::Types::InvalidWebhookAuthenticationParametersException] data
|
264
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
265
|
+
super(context, message, data)
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class InvalidWebhookFilterPatternException < ServiceError
|
270
|
+
|
271
|
+
# @param [Seahorse::Client::RequestContext] context
|
272
|
+
# @param [String] message
|
273
|
+
# @param [Aws::CodePipeline::Types::InvalidWebhookFilterPatternException] data
|
274
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
275
|
+
super(context, message, data)
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
class JobNotFoundException < ServiceError
|
280
|
+
|
281
|
+
# @param [Seahorse::Client::RequestContext] context
|
282
|
+
# @param [String] message
|
283
|
+
# @param [Aws::CodePipeline::Types::JobNotFoundException] data
|
284
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
285
|
+
super(context, message, data)
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
class LimitExceededException < ServiceError
|
290
|
+
|
291
|
+
# @param [Seahorse::Client::RequestContext] context
|
292
|
+
# @param [String] message
|
293
|
+
# @param [Aws::CodePipeline::Types::LimitExceededException] data
|
294
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
295
|
+
super(context, message, data)
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class NotLatestPipelineExecutionException < ServiceError
|
300
|
+
|
301
|
+
# @param [Seahorse::Client::RequestContext] context
|
302
|
+
# @param [String] message
|
303
|
+
# @param [Aws::CodePipeline::Types::NotLatestPipelineExecutionException] data
|
304
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
305
|
+
super(context, message, data)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
class OutputVariablesSizeExceededException < ServiceError
|
310
|
+
|
311
|
+
# @param [Seahorse::Client::RequestContext] context
|
312
|
+
# @param [String] message
|
313
|
+
# @param [Aws::CodePipeline::Types::OutputVariablesSizeExceededException] data
|
314
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
315
|
+
super(context, message, data)
|
316
|
+
end
|
317
|
+
|
318
|
+
# @return [String]
|
319
|
+
def message
|
320
|
+
@message || @data[:message]
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
class PipelineExecutionNotFoundException < ServiceError
|
325
|
+
|
326
|
+
# @param [Seahorse::Client::RequestContext] context
|
327
|
+
# @param [String] message
|
328
|
+
# @param [Aws::CodePipeline::Types::PipelineExecutionNotFoundException] data
|
329
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
330
|
+
super(context, message, data)
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class PipelineExecutionNotStoppableException < ServiceError
|
335
|
+
|
336
|
+
# @param [Seahorse::Client::RequestContext] context
|
337
|
+
# @param [String] message
|
338
|
+
# @param [Aws::CodePipeline::Types::PipelineExecutionNotStoppableException] data
|
339
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
340
|
+
super(context, message, data)
|
341
|
+
end
|
342
|
+
|
343
|
+
# @return [String]
|
344
|
+
def message
|
345
|
+
@message || @data[:message]
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class PipelineNameInUseException < ServiceError
|
350
|
+
|
351
|
+
# @param [Seahorse::Client::RequestContext] context
|
352
|
+
# @param [String] message
|
353
|
+
# @param [Aws::CodePipeline::Types::PipelineNameInUseException] data
|
354
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
355
|
+
super(context, message, data)
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class PipelineNotFoundException < ServiceError
|
360
|
+
|
361
|
+
# @param [Seahorse::Client::RequestContext] context
|
362
|
+
# @param [String] message
|
363
|
+
# @param [Aws::CodePipeline::Types::PipelineNotFoundException] data
|
364
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
365
|
+
super(context, message, data)
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
class PipelineVersionNotFoundException < ServiceError
|
370
|
+
|
371
|
+
# @param [Seahorse::Client::RequestContext] context
|
372
|
+
# @param [String] message
|
373
|
+
# @param [Aws::CodePipeline::Types::PipelineVersionNotFoundException] data
|
374
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
375
|
+
super(context, message, data)
|
376
|
+
end
|
377
|
+
end
|
58
378
|
|
379
|
+
class ResourceNotFoundException < ServiceError
|
380
|
+
|
381
|
+
# @param [Seahorse::Client::RequestContext] context
|
382
|
+
# @param [String] message
|
383
|
+
# @param [Aws::CodePipeline::Types::ResourceNotFoundException] data
|
384
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
385
|
+
super(context, message, data)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
class StageNotFoundException < ServiceError
|
390
|
+
|
391
|
+
# @param [Seahorse::Client::RequestContext] context
|
392
|
+
# @param [String] message
|
393
|
+
# @param [Aws::CodePipeline::Types::StageNotFoundException] data
|
394
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
395
|
+
super(context, message, data)
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
class StageNotRetryableException < ServiceError
|
400
|
+
|
401
|
+
# @param [Seahorse::Client::RequestContext] context
|
402
|
+
# @param [String] message
|
403
|
+
# @param [Aws::CodePipeline::Types::StageNotRetryableException] data
|
404
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
405
|
+
super(context, message, data)
|
406
|
+
end
|
59
407
|
end
|
60
408
|
|
61
409
|
class TooManyTagsException < ServiceError
|
@@ -71,7 +419,26 @@ module Aws::CodePipeline
|
|
71
419
|
def message
|
72
420
|
@message || @data[:message]
|
73
421
|
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class ValidationException < ServiceError
|
74
425
|
|
426
|
+
# @param [Seahorse::Client::RequestContext] context
|
427
|
+
# @param [String] message
|
428
|
+
# @param [Aws::CodePipeline::Types::ValidationException] data
|
429
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
430
|
+
super(context, message, data)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class WebhookNotFoundException < ServiceError
|
435
|
+
|
436
|
+
# @param [Seahorse::Client::RequestContext] context
|
437
|
+
# @param [String] message
|
438
|
+
# @param [Aws::CodePipeline::Types::WebhookNotFoundException] data
|
439
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
440
|
+
super(context, message, data)
|
441
|
+
end
|
75
442
|
end
|
76
443
|
|
77
444
|
end
|