@aws-sdk/client-codepipeline 3.338.0 → 3.341.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -13
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/CodePipeline.d.ts +83 -84
- package/dist-types/CodePipelineClient.d.ts +83 -84
- package/dist-types/commands/AcknowledgeJobCommand.d.ts +1 -1
- package/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomActionTypeCommand.d.ts +8 -8
- package/dist-types/commands/CreatePipelineCommand.d.ts +18 -18
- package/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWebhookCommand.d.ts +1 -2
- package/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +3 -3
- package/dist-types/commands/DisableStageTransitionCommand.d.ts +1 -1
- package/dist-types/commands/EnableStageTransitionCommand.d.ts +1 -1
- package/dist-types/commands/GetActionTypeCommand.d.ts +3 -3
- package/dist-types/commands/GetJobDetailsCommand.d.ts +11 -11
- package/dist-types/commands/GetPipelineCommand.d.ts +8 -7
- package/dist-types/commands/GetPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/GetPipelineStateCommand.d.ts +5 -5
- package/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +11 -11
- package/dist-types/commands/ListActionExecutionsCommand.d.ts +3 -3
- package/dist-types/commands/ListActionTypesCommand.d.ts +5 -5
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +2 -2
- package/dist-types/commands/ListWebhooksCommand.d.ts +4 -4
- package/dist-types/commands/PollForJobsCommand.d.ts +16 -16
- package/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +7 -7
- package/dist-types/commands/PutActionRevisionCommand.d.ts +2 -1
- package/dist-types/commands/PutApprovalResultCommand.d.ts +2 -2
- package/dist-types/commands/PutJobFailureResultCommand.d.ts +1 -1
- package/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +1 -1
- package/dist-types/commands/PutWebhookCommand.d.ts +12 -11
- package/dist-types/commands/RetryStageExecutionCommand.d.ts +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTypeCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePipelineCommand.d.ts +16 -16
- package/dist-types/index.d.ts +83 -84
- package/dist-types/models/models_0.d.ts +195 -178
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +28 -28
|
@@ -43,20 +43,20 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
|
|
|
43
43
|
* // name: "STRING_VALUE", // required
|
|
44
44
|
* // roleArn: "STRING_VALUE", // required
|
|
45
45
|
* // artifactStore: { // ArtifactStore
|
|
46
|
-
* // type: "
|
|
46
|
+
* // type: "S3", // required
|
|
47
47
|
* // location: "STRING_VALUE", // required
|
|
48
48
|
* // encryptionKey: { // EncryptionKey
|
|
49
49
|
* // id: "STRING_VALUE", // required
|
|
50
|
-
* // type: "
|
|
50
|
+
* // type: "KMS", // required
|
|
51
51
|
* // },
|
|
52
52
|
* // },
|
|
53
53
|
* // artifactStores: { // ArtifactStoreMap
|
|
54
54
|
* // "<keys>": {
|
|
55
|
-
* // type: "
|
|
55
|
+
* // type: "S3", // required
|
|
56
56
|
* // location: "STRING_VALUE", // required
|
|
57
57
|
* // encryptionKey: {
|
|
58
58
|
* // id: "STRING_VALUE", // required
|
|
59
|
-
* // type: "
|
|
59
|
+
* // type: "KMS", // required
|
|
60
60
|
* // },
|
|
61
61
|
* // },
|
|
62
62
|
* // },
|
|
@@ -66,15 +66,15 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
|
|
|
66
66
|
* // blockers: [ // StageBlockerDeclarationList
|
|
67
67
|
* // { // BlockerDeclaration
|
|
68
68
|
* // name: "STRING_VALUE", // required
|
|
69
|
-
* // type: "
|
|
69
|
+
* // type: "Schedule", // required
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
72
72
|
* // actions: [ // StageActionDeclarationList // required
|
|
73
73
|
* // { // ActionDeclaration
|
|
74
74
|
* // name: "STRING_VALUE", // required
|
|
75
75
|
* // actionTypeId: { // ActionTypeId
|
|
76
|
-
* // category: "
|
|
77
|
-
* // owner: "
|
|
76
|
+
* // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
77
|
+
* // owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
78
78
|
* // provider: "STRING_VALUE", // required
|
|
79
79
|
* // version: "STRING_VALUE", // required
|
|
80
80
|
* // },
|
|
@@ -105,6 +105,7 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
|
|
|
105
105
|
* // pipelineArn: "STRING_VALUE",
|
|
106
106
|
* // created: new Date("TIMESTAMP"),
|
|
107
107
|
* // updated: new Date("TIMESTAMP"),
|
|
108
|
+
* // pollingDisabledAt: new Date("TIMESTAMP"),
|
|
108
109
|
* // },
|
|
109
110
|
* // };
|
|
110
111
|
*
|
|
@@ -43,7 +43,7 @@ export interface GetPipelineExecutionCommandOutput extends GetPipelineExecutionO
|
|
|
43
43
|
* // pipelineName: "STRING_VALUE",
|
|
44
44
|
* // pipelineVersion: Number("int"),
|
|
45
45
|
* // pipelineExecutionId: "STRING_VALUE",
|
|
46
|
-
* // status: "
|
|
46
|
+
* // status: "Cancelled" || "InProgress" || "Stopped" || "Stopping" || "Succeeded" || "Superseded" || "Failed",
|
|
47
47
|
* // statusSummary: "STRING_VALUE",
|
|
48
48
|
* // artifactRevisions: [ // ArtifactRevisionList
|
|
49
49
|
* // { // ArtifactRevision
|
|
@@ -25,11 +25,11 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns information about the state of a pipeline, including the stages and
|
|
27
27
|
* actions.</p>
|
|
28
|
-
*
|
|
28
|
+
* <note>
|
|
29
29
|
* <p>Values returned in the <code>revisionId</code> and <code>revisionUrl</code>
|
|
30
30
|
* fields indicate the source revision information, such as the commit ID, for the
|
|
31
31
|
* current state.</p>
|
|
32
|
-
*
|
|
32
|
+
* </note>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -49,7 +49,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
|
|
|
49
49
|
* // stageName: "STRING_VALUE",
|
|
50
50
|
* // inboundExecution: { // StageExecution
|
|
51
51
|
* // pipelineExecutionId: "STRING_VALUE", // required
|
|
52
|
-
* // status: "
|
|
52
|
+
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
|
|
53
53
|
* // },
|
|
54
54
|
* // inboundTransitionState: { // TransitionState
|
|
55
55
|
* // enabled: true || false,
|
|
@@ -67,7 +67,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
|
|
|
67
67
|
* // },
|
|
68
68
|
* // latestExecution: { // ActionExecution
|
|
69
69
|
* // actionExecutionId: "STRING_VALUE",
|
|
70
|
-
* // status: "
|
|
70
|
+
* // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
|
|
71
71
|
* // summary: "STRING_VALUE",
|
|
72
72
|
* // lastStatusChange: new Date("TIMESTAMP"),
|
|
73
73
|
* // token: "STRING_VALUE",
|
|
@@ -86,7 +86,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
|
|
|
86
86
|
* // ],
|
|
87
87
|
* // latestExecution: {
|
|
88
88
|
* // pipelineExecutionId: "STRING_VALUE", // required
|
|
89
|
-
* // status: "
|
|
89
|
+
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
|
|
90
90
|
* // },
|
|
91
91
|
* // },
|
|
92
92
|
* // ],
|
|
@@ -25,12 +25,12 @@ export interface GetThirdPartyJobDetailsCommandOutput extends GetThirdPartyJobDe
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Requests the details of a job for a third party action. Used for partner actions
|
|
27
27
|
* only.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>When this API is called,
|
|
30
|
-
* S3 bucket used to store artifacts for the pipeline, if the action requires
|
|
31
|
-
* that S3 bucket for input or output artifacts. This API also returns any
|
|
32
|
-
* values defined for the action.</p>
|
|
33
|
-
*
|
|
28
|
+
* <important>
|
|
29
|
+
* <p>When this API is called, CodePipeline returns temporary credentials for
|
|
30
|
+
* the S3 bucket used to store artifacts for the pipeline, if the action requires
|
|
31
|
+
* access to that S3 bucket for input or output artifacts. This API also returns any
|
|
32
|
+
* secret values defined for the action.</p>
|
|
33
|
+
* </important>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -48,8 +48,8 @@ export interface GetThirdPartyJobDetailsCommandOutput extends GetThirdPartyJobDe
|
|
|
48
48
|
* // id: "STRING_VALUE",
|
|
49
49
|
* // data: { // ThirdPartyJobData
|
|
50
50
|
* // actionTypeId: { // ActionTypeId
|
|
51
|
-
* // category: "
|
|
52
|
-
* // owner: "
|
|
51
|
+
* // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
52
|
+
* // owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
53
53
|
* // provider: "STRING_VALUE", // required
|
|
54
54
|
* // version: "STRING_VALUE", // required
|
|
55
55
|
* // },
|
|
@@ -75,7 +75,7 @@ export interface GetThirdPartyJobDetailsCommandOutput extends GetThirdPartyJobDe
|
|
|
75
75
|
* // name: "STRING_VALUE",
|
|
76
76
|
* // revision: "STRING_VALUE",
|
|
77
77
|
* // location: { // ArtifactLocation
|
|
78
|
-
* // type: "
|
|
78
|
+
* // type: "S3",
|
|
79
79
|
* // s3Location: { // S3ArtifactLocation
|
|
80
80
|
* // bucketName: "STRING_VALUE", // required
|
|
81
81
|
* // objectKey: "STRING_VALUE", // required
|
|
@@ -88,7 +88,7 @@ export interface GetThirdPartyJobDetailsCommandOutput extends GetThirdPartyJobDe
|
|
|
88
88
|
* // name: "STRING_VALUE",
|
|
89
89
|
* // revision: "STRING_VALUE",
|
|
90
90
|
* // location: {
|
|
91
|
-
* // type: "
|
|
91
|
+
* // type: "S3",
|
|
92
92
|
* // s3Location: {
|
|
93
93
|
* // bucketName: "STRING_VALUE", // required
|
|
94
94
|
* // objectKey: "STRING_VALUE", // required
|
|
@@ -104,7 +104,7 @@ export interface GetThirdPartyJobDetailsCommandOutput extends GetThirdPartyJobDe
|
|
|
104
104
|
* // continuationToken: "STRING_VALUE",
|
|
105
105
|
* // encryptionKey: { // EncryptionKey
|
|
106
106
|
* // id: "STRING_VALUE", // required
|
|
107
|
-
* // type: "
|
|
107
|
+
* // type: "KMS", // required
|
|
108
108
|
* // },
|
|
109
109
|
* // },
|
|
110
110
|
* // nonce: "STRING_VALUE",
|
|
@@ -50,11 +50,11 @@ export interface ListActionExecutionsCommandOutput extends ListActionExecutionsO
|
|
|
50
50
|
* // actionName: "STRING_VALUE",
|
|
51
51
|
* // startTime: new Date("TIMESTAMP"),
|
|
52
52
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
53
|
-
* // status: "
|
|
53
|
+
* // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
|
|
54
54
|
* // input: { // ActionExecutionInput
|
|
55
55
|
* // actionTypeId: { // ActionTypeId
|
|
56
|
-
* // category: "
|
|
57
|
-
* // owner: "
|
|
56
|
+
* // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
57
|
+
* // owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
58
58
|
* // provider: "STRING_VALUE", // required
|
|
59
59
|
* // version: "STRING_VALUE", // required
|
|
60
60
|
* // },
|
|
@@ -23,7 +23,7 @@ export interface ListActionTypesCommandOutput extends ListActionTypesOutput, __M
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Gets a summary of all
|
|
26
|
+
* <p>Gets a summary of all CodePipeline action types associated with your
|
|
27
27
|
* account.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -32,7 +32,7 @@ export interface ListActionTypesCommandOutput extends ListActionTypesOutput, __M
|
|
|
32
32
|
* // const { CodePipelineClient, ListActionTypesCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
33
33
|
* const client = new CodePipelineClient(config);
|
|
34
34
|
* const input = { // ListActionTypesInput
|
|
35
|
-
* actionOwnerFilter: "
|
|
35
|
+
* actionOwnerFilter: "AWS" || "ThirdParty" || "Custom",
|
|
36
36
|
* nextToken: "STRING_VALUE",
|
|
37
37
|
* regionFilter: "STRING_VALUE",
|
|
38
38
|
* };
|
|
@@ -42,8 +42,8 @@ export interface ListActionTypesCommandOutput extends ListActionTypesOutput, __M
|
|
|
42
42
|
* // actionTypes: [ // ActionTypeList // required
|
|
43
43
|
* // { // ActionType
|
|
44
44
|
* // id: { // ActionTypeId
|
|
45
|
-
* // category: "
|
|
46
|
-
* // owner: "
|
|
45
|
+
* // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
46
|
+
* // owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
47
47
|
* // provider: "STRING_VALUE", // required
|
|
48
48
|
* // version: "STRING_VALUE", // required
|
|
49
49
|
* // },
|
|
@@ -61,7 +61,7 @@ export interface ListActionTypesCommandOutput extends ListActionTypesOutput, __M
|
|
|
61
61
|
* // secret: true || false, // required
|
|
62
62
|
* // queryable: true || false,
|
|
63
63
|
* // description: "STRING_VALUE",
|
|
64
|
-
* // type: "
|
|
64
|
+
* // type: "String" || "Number" || "Boolean",
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
67
|
* // inputArtifactDetails: { // ArtifactDetails
|
|
@@ -41,7 +41,7 @@ export interface ListPipelineExecutionsCommandOutput extends ListPipelineExecuti
|
|
|
41
41
|
* // pipelineExecutionSummaries: [ // PipelineExecutionSummaryList
|
|
42
42
|
* // { // PipelineExecutionSummary
|
|
43
43
|
* // pipelineExecutionId: "STRING_VALUE",
|
|
44
|
-
* // status: "
|
|
44
|
+
* // status: "Cancelled" || "InProgress" || "Stopped" || "Stopping" || "Succeeded" || "Superseded" || "Failed",
|
|
45
45
|
* // startTime: new Date("TIMESTAMP"),
|
|
46
46
|
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
47
47
|
* // sourceRevisions: [ // SourceRevisionList
|
|
@@ -53,7 +53,7 @@ export interface ListPipelineExecutionsCommandOutput extends ListPipelineExecuti
|
|
|
53
53
|
* // },
|
|
54
54
|
* // ],
|
|
55
55
|
* // trigger: { // ExecutionTrigger
|
|
56
|
-
* // triggerType: "
|
|
56
|
+
* // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision",
|
|
57
57
|
* // triggerDetail: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
59
|
* // stopTrigger: { // StopExecutionTrigger
|
|
@@ -23,9 +23,9 @@ export interface ListWebhooksCommandOutput extends ListWebhooksOutput, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Gets a listing of all the webhooks in this
|
|
27
|
-
* lists all webhooks and includes the webhook URL and ARN and the
|
|
28
|
-
* webhook.</p>
|
|
26
|
+
* <p>Gets a listing of all the webhooks in this Amazon Web Services Region for this
|
|
27
|
+
* account. The output lists all webhooks and includes the webhook URL and ARN and the
|
|
28
|
+
* configuration for each webhook.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -51,7 +51,7 @@ export interface ListWebhooksCommandOutput extends ListWebhooksOutput, __Metadat
|
|
|
51
51
|
* // matchEquals: "STRING_VALUE",
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
54
|
-
* // authentication: "
|
|
54
|
+
* // authentication: "GITHUB_HMAC" || "IP" || "UNAUTHENTICATED", // required
|
|
55
55
|
* // authenticationConfiguration: { // WebhookAuthConfiguration
|
|
56
56
|
* // AllowedIPRange: "STRING_VALUE",
|
|
57
57
|
* // SecretToken: "STRING_VALUE",
|
|
@@ -23,16 +23,16 @@ export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Returns information about any jobs for
|
|
26
|
+
* <p>Returns information about any jobs for CodePipeline to act on.
|
|
27
27
|
* <code>PollForJobs</code> is valid only for action types with "Custom" in the owner
|
|
28
|
-
* field. If the action type contains
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* <p>When this API is called,
|
|
32
|
-
* S3 bucket used to store artifacts for the pipeline, if the action requires
|
|
33
|
-
* that S3 bucket for input or output artifacts. This API also returns any
|
|
34
|
-
* values defined for the action.</p>
|
|
35
|
-
*
|
|
28
|
+
* field. If the action type contains <code>AWS</code> or <code>ThirdParty</code> in the
|
|
29
|
+
* owner field, the <code>PollForJobs</code> action returns an error.</p>
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>When this API is called, CodePipeline returns temporary credentials for
|
|
32
|
+
* the S3 bucket used to store artifacts for the pipeline, if the action requires
|
|
33
|
+
* access to that S3 bucket for input or output artifacts. This API also returns any
|
|
34
|
+
* secret values defined for the action.</p>
|
|
35
|
+
* </important>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -41,8 +41,8 @@ export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataB
|
|
|
41
41
|
* const client = new CodePipelineClient(config);
|
|
42
42
|
* const input = { // PollForJobsInput
|
|
43
43
|
* actionTypeId: { // ActionTypeId
|
|
44
|
-
* category: "
|
|
45
|
-
* owner: "
|
|
44
|
+
* category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
45
|
+
* owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
46
46
|
* provider: "STRING_VALUE", // required
|
|
47
47
|
* version: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
@@ -59,8 +59,8 @@ export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataB
|
|
|
59
59
|
* // id: "STRING_VALUE",
|
|
60
60
|
* // data: { // JobData
|
|
61
61
|
* // actionTypeId: { // ActionTypeId
|
|
62
|
-
* // category: "
|
|
63
|
-
* // owner: "
|
|
62
|
+
* // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
63
|
+
* // owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
64
64
|
* // provider: "STRING_VALUE", // required
|
|
65
65
|
* // version: "STRING_VALUE", // required
|
|
66
66
|
* // },
|
|
@@ -86,7 +86,7 @@ export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataB
|
|
|
86
86
|
* // name: "STRING_VALUE",
|
|
87
87
|
* // revision: "STRING_VALUE",
|
|
88
88
|
* // location: { // ArtifactLocation
|
|
89
|
-
* // type: "
|
|
89
|
+
* // type: "S3",
|
|
90
90
|
* // s3Location: { // S3ArtifactLocation
|
|
91
91
|
* // bucketName: "STRING_VALUE", // required
|
|
92
92
|
* // objectKey: "STRING_VALUE", // required
|
|
@@ -99,7 +99,7 @@ export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataB
|
|
|
99
99
|
* // name: "STRING_VALUE",
|
|
100
100
|
* // revision: "STRING_VALUE",
|
|
101
101
|
* // location: {
|
|
102
|
-
* // type: "
|
|
102
|
+
* // type: "S3",
|
|
103
103
|
* // s3Location: {
|
|
104
104
|
* // bucketName: "STRING_VALUE", // required
|
|
105
105
|
* // objectKey: "STRING_VALUE", // required
|
|
@@ -115,7 +115,7 @@ export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataB
|
|
|
115
115
|
* // continuationToken: "STRING_VALUE",
|
|
116
116
|
* // encryptionKey: { // EncryptionKey
|
|
117
117
|
* // id: "STRING_VALUE", // required
|
|
118
|
-
* // type: "
|
|
118
|
+
* // type: "KMS", // required
|
|
119
119
|
* // },
|
|
120
120
|
* // },
|
|
121
121
|
* // nonce: "STRING_VALUE",
|
|
@@ -25,11 +25,11 @@ export interface PollForThirdPartyJobsCommandOutput extends PollForThirdPartyJob
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Determines whether there are any third party jobs for a job worker to act on. Used
|
|
27
27
|
* for partner actions only.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>When this API is called,
|
|
30
|
-
* S3 bucket used to store artifacts for the pipeline, if the action requires
|
|
31
|
-
* that S3 bucket for input or output artifacts.</p>
|
|
32
|
-
*
|
|
28
|
+
* <important>
|
|
29
|
+
* <p>When this API is called, CodePipeline returns temporary credentials for
|
|
30
|
+
* the S3 bucket used to store artifacts for the pipeline, if the action requires
|
|
31
|
+
* access to that S3 bucket for input or output artifacts.</p>
|
|
32
|
+
* </important>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -38,8 +38,8 @@ export interface PollForThirdPartyJobsCommandOutput extends PollForThirdPartyJob
|
|
|
38
38
|
* const client = new CodePipelineClient(config);
|
|
39
39
|
* const input = { // PollForThirdPartyJobsInput
|
|
40
40
|
* actionTypeId: { // ActionTypeId
|
|
41
|
-
* category: "
|
|
42
|
-
* owner: "
|
|
41
|
+
* category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
42
|
+
* owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
43
43
|
* provider: "STRING_VALUE", // required
|
|
44
44
|
* version: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
@@ -23,7 +23,8 @@ export interface PutActionRevisionCommandOutput extends PutActionRevisionOutput,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Provides information to
|
|
26
|
+
* <p>Provides information to CodePipeline about new revisions to a
|
|
27
|
+
* source.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -23,7 +23,7 @@ export interface PutApprovalResultCommandOutput extends PutApprovalResultOutput,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Provides the response to a manual approval request to
|
|
26
|
+
* <p>Provides the response to a manual approval request to CodePipeline. Valid
|
|
27
27
|
* responses include Approved and Rejected.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -37,7 +37,7 @@ export interface PutApprovalResultCommandOutput extends PutApprovalResultOutput,
|
|
|
37
37
|
* actionName: "STRING_VALUE", // required
|
|
38
38
|
* result: { // ApprovalResult
|
|
39
39
|
* summary: "STRING_VALUE", // required
|
|
40
|
-
* status: "
|
|
40
|
+
* status: "Approved" || "Rejected", // required
|
|
41
41
|
* },
|
|
42
42
|
* token: "STRING_VALUE", // required
|
|
43
43
|
* };
|
|
@@ -34,7 +34,7 @@ export interface PutJobFailureResultCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* const input = { // PutJobFailureResultInput
|
|
35
35
|
* jobId: "STRING_VALUE", // required
|
|
36
36
|
* failureDetails: { // FailureDetails
|
|
37
|
-
* type: "
|
|
37
|
+
* type: "JobFailed" || "ConfigurationError" || "PermissionError" || "RevisionOutOfSync" || "RevisionUnavailable" || "SystemUnavailable", // required
|
|
38
38
|
* message: "STRING_VALUE", // required
|
|
39
39
|
* externalExecutionId: "STRING_VALUE",
|
|
40
40
|
* },
|
|
@@ -35,7 +35,7 @@ export interface PutThirdPartyJobFailureResultCommandOutput extends __MetadataBe
|
|
|
35
35
|
* jobId: "STRING_VALUE", // required
|
|
36
36
|
* clientToken: "STRING_VALUE", // required
|
|
37
37
|
* failureDetails: { // FailureDetails
|
|
38
|
-
* type: "
|
|
38
|
+
* type: "JobFailed" || "ConfigurationError" || "PermissionError" || "RevisionOutOfSync" || "RevisionUnavailable" || "SystemUnavailable", // required
|
|
39
39
|
* message: "STRING_VALUE", // required
|
|
40
40
|
* externalExecutionId: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -23,13 +23,14 @@ export interface PutWebhookCommandOutput extends PutWebhookOutput, __MetadataBea
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Defines a webhook and returns a unique webhook URL generated by CodePipeline.
|
|
27
|
-
* URL can be supplied to third party source hosting providers to call every time
|
|
28
|
-
* code change. When CodePipeline receives a POST request on this URL, the
|
|
29
|
-
* in the webhook is started as long as the POST request satisfied the
|
|
30
|
-
* filtering requirements supplied when defining the webhook.
|
|
31
|
-
* and DeregisterWebhookWithThirdParty APIs can be used to
|
|
32
|
-
* supported third parties to call the generated webhook
|
|
26
|
+
* <p>Defines a webhook and returns a unique webhook URL generated by CodePipeline.
|
|
27
|
+
* This URL can be supplied to third party source hosting providers to call every time
|
|
28
|
+
* there's a code change. When CodePipeline receives a POST request on this URL, the
|
|
29
|
+
* pipeline defined in the webhook is started as long as the POST request satisfied the
|
|
30
|
+
* authentication and filtering requirements supplied when defining the webhook.
|
|
31
|
+
* RegisterWebhookWithThirdParty and DeregisterWebhookWithThirdParty APIs can be used to
|
|
32
|
+
* automatically configure supported third parties to call the generated webhook
|
|
33
|
+
* URL.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -47,7 +48,7 @@ export interface PutWebhookCommandOutput extends PutWebhookOutput, __MetadataBea
|
|
|
47
48
|
* matchEquals: "STRING_VALUE",
|
|
48
49
|
* },
|
|
49
50
|
* ],
|
|
50
|
-
* authentication: "
|
|
51
|
+
* authentication: "GITHUB_HMAC" || "IP" || "UNAUTHENTICATED", // required
|
|
51
52
|
* authenticationConfiguration: { // WebhookAuthConfiguration
|
|
52
53
|
* AllowedIPRange: "STRING_VALUE",
|
|
53
54
|
* SecretToken: "STRING_VALUE",
|
|
@@ -74,7 +75,7 @@ export interface PutWebhookCommandOutput extends PutWebhookOutput, __MetadataBea
|
|
|
74
75
|
* // matchEquals: "STRING_VALUE",
|
|
75
76
|
* // },
|
|
76
77
|
* // ],
|
|
77
|
-
* // authentication: "
|
|
78
|
+
* // authentication: "GITHUB_HMAC" || "IP" || "UNAUTHENTICATED", // required
|
|
78
79
|
* // authenticationConfiguration: { // WebhookAuthConfiguration
|
|
79
80
|
* // AllowedIPRange: "STRING_VALUE",
|
|
80
81
|
* // SecretToken: "STRING_VALUE",
|
|
@@ -115,8 +116,8 @@ export interface PutWebhookCommandOutput extends PutWebhookOutput, __MetadataBea
|
|
|
115
116
|
* <p>The specified event filter rule is in an invalid format.</p>
|
|
116
117
|
*
|
|
117
118
|
* @throws {@link LimitExceededException} (client fault)
|
|
118
|
-
* <p>The number of pipelines associated with the
|
|
119
|
-
* allowed for the account.</p>
|
|
119
|
+
* <p>The number of pipelines associated with the Amazon Web Services account has exceeded
|
|
120
|
+
* the limit allowed for the account.</p>
|
|
120
121
|
*
|
|
121
122
|
* @throws {@link PipelineNotFoundException} (client fault)
|
|
122
123
|
* <p>The pipeline was specified in an invalid format or cannot be found.</p>
|
|
@@ -37,7 +37,7 @@ export interface RetryStageExecutionCommandOutput extends RetryStageExecutionOut
|
|
|
37
37
|
* pipelineName: "STRING_VALUE", // required
|
|
38
38
|
* stageName: "STRING_VALUE", // required
|
|
39
39
|
* pipelineExecutionId: "STRING_VALUE", // required
|
|
40
|
-
* retryMode: "
|
|
40
|
+
* retryMode: "FAILED_ACTIONS", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new RetryStageExecutionCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
@@ -58,8 +58,9 @@ export interface RetryStageExecutionCommandOutput extends RetryStageExecutionOut
|
|
|
58
58
|
* activities. Try again later.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link NotLatestPipelineExecutionException} (client fault)
|
|
61
|
-
* <p>The stage has failed in a later run of the pipeline and the
|
|
62
|
-
*
|
|
61
|
+
* <p>The stage has failed in a later run of the pipeline and the
|
|
62
|
+
* <code>pipelineExecutionId</code> associated with the request is out of
|
|
63
|
+
* date.</p>
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link PipelineNotFoundException} (client fault)
|
|
65
66
|
* <p>The pipeline was specified in an invalid format or cannot be found.</p>
|
|
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Removes tags from an
|
|
26
|
+
* <p>Removes tags from an Amazon Web Services resource.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -50,12 +50,12 @@ export interface UpdateActionTypeCommandOutput extends __MetadataBearer {
|
|
|
50
50
|
* ],
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
|
-
* type: "
|
|
53
|
+
* type: "JobWorker" || "Lambda", // required
|
|
54
54
|
* policyStatementsTemplate: "STRING_VALUE",
|
|
55
55
|
* jobTimeout: Number("int"),
|
|
56
56
|
* },
|
|
57
57
|
* id: { // ActionTypeIdentifier
|
|
58
|
-
* category: "
|
|
58
|
+
* category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
59
59
|
* owner: "STRING_VALUE", // required
|
|
60
60
|
* provider: "STRING_VALUE", // required
|
|
61
61
|
* version: "STRING_VALUE", // required
|
|
@@ -38,20 +38,20 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
39
|
* roleArn: "STRING_VALUE", // required
|
|
40
40
|
* artifactStore: { // ArtifactStore
|
|
41
|
-
* type: "
|
|
41
|
+
* type: "S3", // required
|
|
42
42
|
* location: "STRING_VALUE", // required
|
|
43
43
|
* encryptionKey: { // EncryptionKey
|
|
44
44
|
* id: "STRING_VALUE", // required
|
|
45
|
-
* type: "
|
|
45
|
+
* type: "KMS", // required
|
|
46
46
|
* },
|
|
47
47
|
* },
|
|
48
48
|
* artifactStores: { // ArtifactStoreMap
|
|
49
49
|
* "<keys>": {
|
|
50
|
-
* type: "
|
|
50
|
+
* type: "S3", // required
|
|
51
51
|
* location: "STRING_VALUE", // required
|
|
52
52
|
* encryptionKey: {
|
|
53
53
|
* id: "STRING_VALUE", // required
|
|
54
|
-
* type: "
|
|
54
|
+
* type: "KMS", // required
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
@@ -61,15 +61,15 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
61
61
|
* blockers: [ // StageBlockerDeclarationList
|
|
62
62
|
* { // BlockerDeclaration
|
|
63
63
|
* name: "STRING_VALUE", // required
|
|
64
|
-
* type: "
|
|
64
|
+
* type: "Schedule", // required
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
67
67
|
* actions: [ // StageActionDeclarationList // required
|
|
68
68
|
* { // ActionDeclaration
|
|
69
69
|
* name: "STRING_VALUE", // required
|
|
70
70
|
* actionTypeId: { // ActionTypeId
|
|
71
|
-
* category: "
|
|
72
|
-
* owner: "
|
|
71
|
+
* category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
72
|
+
* owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
73
73
|
* provider: "STRING_VALUE", // required
|
|
74
74
|
* version: "STRING_VALUE", // required
|
|
75
75
|
* },
|
|
@@ -104,20 +104,20 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
104
104
|
* // name: "STRING_VALUE", // required
|
|
105
105
|
* // roleArn: "STRING_VALUE", // required
|
|
106
106
|
* // artifactStore: { // ArtifactStore
|
|
107
|
-
* // type: "
|
|
107
|
+
* // type: "S3", // required
|
|
108
108
|
* // location: "STRING_VALUE", // required
|
|
109
109
|
* // encryptionKey: { // EncryptionKey
|
|
110
110
|
* // id: "STRING_VALUE", // required
|
|
111
|
-
* // type: "
|
|
111
|
+
* // type: "KMS", // required
|
|
112
112
|
* // },
|
|
113
113
|
* // },
|
|
114
114
|
* // artifactStores: { // ArtifactStoreMap
|
|
115
115
|
* // "<keys>": {
|
|
116
|
-
* // type: "
|
|
116
|
+
* // type: "S3", // required
|
|
117
117
|
* // location: "STRING_VALUE", // required
|
|
118
118
|
* // encryptionKey: {
|
|
119
119
|
* // id: "STRING_VALUE", // required
|
|
120
|
-
* // type: "
|
|
120
|
+
* // type: "KMS", // required
|
|
121
121
|
* // },
|
|
122
122
|
* // },
|
|
123
123
|
* // },
|
|
@@ -127,15 +127,15 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
127
127
|
* // blockers: [ // StageBlockerDeclarationList
|
|
128
128
|
* // { // BlockerDeclaration
|
|
129
129
|
* // name: "STRING_VALUE", // required
|
|
130
|
-
* // type: "
|
|
130
|
+
* // type: "Schedule", // required
|
|
131
131
|
* // },
|
|
132
132
|
* // ],
|
|
133
133
|
* // actions: [ // StageActionDeclarationList // required
|
|
134
134
|
* // { // ActionDeclaration
|
|
135
135
|
* // name: "STRING_VALUE", // required
|
|
136
136
|
* // actionTypeId: { // ActionTypeId
|
|
137
|
-
* // category: "
|
|
138
|
-
* // owner: "
|
|
137
|
+
* // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
|
|
138
|
+
* // owner: "AWS" || "ThirdParty" || "Custom", // required
|
|
139
139
|
* // provider: "STRING_VALUE", // required
|
|
140
140
|
* // version: "STRING_VALUE", // required
|
|
141
141
|
* // },
|
|
@@ -185,8 +185,8 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
185
185
|
* <p>The structure was specified in an invalid format.</p>
|
|
186
186
|
*
|
|
187
187
|
* @throws {@link LimitExceededException} (client fault)
|
|
188
|
-
* <p>The number of pipelines associated with the
|
|
189
|
-
* allowed for the account.</p>
|
|
188
|
+
* <p>The number of pipelines associated with the Amazon Web Services account has exceeded
|
|
189
|
+
* the limit allowed for the account.</p>
|
|
190
190
|
*
|
|
191
191
|
* @throws {@link ValidationException} (client fault)
|
|
192
192
|
* <p>The validation was specified in an invalid format.</p>
|