aws-sdk-core 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,902 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ "AcknowledgeJob": [
5
+ {
6
+ "input": {
7
+ "jobId": "11111111-abcd-1111-abcd-111111abcdef",
8
+ "nonce": "3"
9
+ },
10
+ "output": {
11
+ "status": "InProgress"
12
+ },
13
+ "comments": {
14
+ "input": {
15
+ "jobId": "Use the PollforJobs API to determine the ID of the job.",
16
+ "nonce": "Use the PollforJobs API to determine the nonce for the job."
17
+ },
18
+ "output": {
19
+ "status": "Valid values include Created, Queued, Dispatched, InProgress, TimedOut, Suceeded, and Failed. Completed jobs are removed from the system after a short period of time."
20
+ }
21
+ },
22
+ "description": "This example returns information about a specified job, including the status of that job if it exists. This is only used for job workers and custom actions in AWS CodePipeline. To determine the value of nonce and the job ID, use PollForJobs.",
23
+ "id": "acknowledge-a-job-for-a-custom-action-1449100979484",
24
+ "title": "Acknowledge a job for a custom action"
25
+ }
26
+ ],
27
+ "CreateCustomActionType": [
28
+ {
29
+ "input": {
30
+ "version": "1",
31
+ "category": "Build",
32
+ "configurationProperties": [
33
+ {
34
+ "name": "MyJenkinsExampleBuildProject",
35
+ "type": "String",
36
+ "required": true,
37
+ "key": true,
38
+ "description": "The name of the build project must be provided when this action is added to the pipeline.",
39
+ "queryable": false,
40
+ "secret": false
41
+ }
42
+ ],
43
+ "inputArtifactDetails": {
44
+ "maximumCount": 1,
45
+ "minimumCount": 0
46
+ },
47
+ "outputArtifactDetails": {
48
+ "maximumCount": 1,
49
+ "minimumCount": 0
50
+ },
51
+ "provider": "MyBuild-ProviderName",
52
+ "settings": {
53
+ "entityUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/",
54
+ "executionUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/lastSuccessfulBuild/{ExternalExecutionId}/",
55
+ "revisionUrlTemplate": "none"
56
+ }
57
+ },
58
+ "output": {
59
+ "actionType": {
60
+ "actionConfigurationProperties": [
61
+ {
62
+ "name": "MyJenkinsExampleBuildProject",
63
+ "required": true,
64
+ "key": true,
65
+ "description": "The name of the build project must be provided when this action is added to the pipeline.",
66
+ "queryable": false,
67
+ "secret": false
68
+ }
69
+ ],
70
+ "id": {
71
+ "version": "1",
72
+ "category": "Build",
73
+ "owner": "Custom",
74
+ "provider": "MyBuild-ProviderName"
75
+ },
76
+ "inputArtifactDetails": {
77
+ "maximumCount": 1,
78
+ "minimumCount": 0
79
+ },
80
+ "outputArtifactDetails": {
81
+ "maximumCount": 1,
82
+ "minimumCount": 0
83
+ },
84
+ "settings": {
85
+ "entityUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/",
86
+ "executionUrlTemplate": "https://192.0.2.4/job/{Config:ProjectName}/lastSuccessfulBuild/{ExternalExecutionId}/",
87
+ "revisionUrlTemplate": "none"
88
+ }
89
+ }
90
+ },
91
+ "comments": {
92
+ "input": {
93
+ "version": "A new custom action always has a version of 1. This is required.",
94
+ "configurationProperties": "The text in description will be displayed to your users, and can contain a maximum of 2048 characters. The value for name in configurationProperties is the name of the project, if any. In this example, this is the name of the build project on the Jenkins server",
95
+ "inputArtifactDetails": "This is the minimum and maximum number of artifacts allowed as inputs for the action. For more information about input and output artifacts, see Pipeline Structure Reference in the AWS CodePipeline User Guide.",
96
+ "outputArtifactDetails": "This is the minimum and maximum number of artifacts allowed as outputs for the action. For more information about input and output artifacts, see Pipeline Structure Reference in the AWS CodePipeline User Guide.",
97
+ "provider": "In this example, this is the name given to the provider field when configuring the AWS CodePipeline Plugin for Jenkins. For more information, see the Four-Stage Pipeline Tutorial in the AWS CodePipeline User Guide.",
98
+ "settings": "entityUrlTemplate is the static link that provides information about the service provider for the action. In the example, the build system includes a static link to the Jenkins build project at the specific server address. Similarly, executionUrlTemplate is the dynamic link that will be updated with information about the current or most recent run of the action."
99
+ },
100
+ "output": {
101
+ }
102
+ },
103
+ "description": "This example creates a build custom action for AWS CodePipeline for a Jenkins build project. For more information about the requirements for creating a custom action, including the structure of the JSON file commonly used to help create custom actions, see Create a Custom Action in the AWS CodePipeline User Guide. For a walkthrough of creating a custom action in a pipeline, follow the Four-Stage Pipeline Tutorial.",
104
+ "id": "create-a-custom-action-1449103500903",
105
+ "title": "Create a custom action"
106
+ }
107
+ ],
108
+ "CreatePipeline": [
109
+ {
110
+ "input": {
111
+ "pipeline": {
112
+ "version": 1,
113
+ "name": "MySecondPipeline",
114
+ "artifactStore": {
115
+ "type": "S3",
116
+ "location": "codepipeline-us-east-1-11EXAMPLE11"
117
+ },
118
+ "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service",
119
+ "stages": [
120
+ {
121
+ "name": "Source",
122
+ "actions": [
123
+ {
124
+ "name": "Source",
125
+ "actionTypeId": {
126
+ "version": "1",
127
+ "category": "Source",
128
+ "owner": "AWS",
129
+ "provider": "S3"
130
+ },
131
+ "configuration": {
132
+ "S3Bucket": "awscodepipeline-demo-bucket",
133
+ "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip"
134
+ },
135
+ "inputArtifacts": [
136
+
137
+ ],
138
+ "outputArtifacts": [
139
+ {
140
+ "name": "MyApp"
141
+ }
142
+ ],
143
+ "runOrder": 1
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "Beta",
149
+ "actions": [
150
+ {
151
+ "name": "CodePipelineDemoFleet",
152
+ "actionTypeId": {
153
+ "version": "1",
154
+ "category": "Deploy",
155
+ "owner": "AWS",
156
+ "provider": "CodeDeploy"
157
+ },
158
+ "configuration": {
159
+ "ApplicationName": "CodePipelineDemoApplication",
160
+ "DeploymentGroupName": "CodePipelineDemoFleet"
161
+ },
162
+ "inputArtifacts": [
163
+ {
164
+ "name": "MyApp"
165
+ }
166
+ ],
167
+ "outputArtifacts": [
168
+
169
+ ],
170
+ "runOrder": 1
171
+ }
172
+ ]
173
+ }
174
+ ]
175
+ }
176
+ },
177
+ "output": {
178
+ "pipeline": {
179
+ "version": 1,
180
+ "name": "MySecondPipeline",
181
+ "artifactStore": {
182
+ "type": "S3",
183
+ "location": "codepipeline-us-east-1-11EXAMPLE11"
184
+ },
185
+ "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service",
186
+ "stages": [
187
+ {
188
+ "name": "Source",
189
+ "actions": [
190
+ {
191
+ "name": "Source",
192
+ "actionTypeId": {
193
+ "version": "1",
194
+ "category": "Source",
195
+ "owner": "AWS",
196
+ "provider": "S3"
197
+ },
198
+ "configuration": {
199
+ "S3Bucket": "awscodepipeline-demo-bucket",
200
+ "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip"
201
+ },
202
+ "inputArtifacts": [
203
+
204
+ ],
205
+ "outputArtifacts": [
206
+ {
207
+ "name": "MyApp"
208
+ }
209
+ ],
210
+ "runOrder": 1
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "name": "Beta",
216
+ "actions": [
217
+ {
218
+ "name": "CodePipelineDemoFleet",
219
+ "actionTypeId": {
220
+ "version": "1",
221
+ "category": "Deploy",
222
+ "owner": "AWS",
223
+ "provider": "CodeDeploy"
224
+ },
225
+ "configuration": {
226
+ "ApplicationName": "CodePipelineDemoApplication",
227
+ "DeploymentGroupName": "CodePipelineDemoFleet"
228
+ },
229
+ "inputArtifacts": [
230
+ {
231
+ "name": "MyApp"
232
+ }
233
+ ],
234
+ "outputArtifacts": [
235
+
236
+ ],
237
+ "runOrder": 1
238
+ }
239
+ ]
240
+ }
241
+ ]
242
+ }
243
+ },
244
+ "comments": {
245
+ "input": {
246
+ "version": "The version number of the pipeline. All new pipelines have a version number of 1. This number is incremented automatically every time a pipeline is updated.",
247
+ "name": "Pipeline names must be unique within a user's AWS account.",
248
+ "artifactStore": "This Amazon S3 bucket is where artifacts for the pipeline will be stored as the pipeline runs. For more information about the Amazon S3 bucket used as the artifact store, see Concepts in the AWS CodePipeline User Guide.",
249
+ "roleArn": "This is the ARN for the service role created for AWS CodePipeline.",
250
+ "stages": "Each stage block defines a different stage in the pipeline. Pipelines can have up to ten stages, with up to twenty actions per stage."
251
+ },
252
+ "output": {
253
+ }
254
+ },
255
+ "description": "This example creates a simple two-stage pipeline in AWS CodePipeline that uses an Amazon S3 bucket for its source stage and deploys code using AWS CodeDeploy. For more information about the requirements for creating a pipeline, including the structure of the JSON file commonly used to create a pipeline, see \"Create a Pipeline\" in the AWS CodePipeline User Guide.",
256
+ "id": "create-a-pipeline-1449162214392",
257
+ "title": "Create a pipeline"
258
+ }
259
+ ],
260
+ "DeleteCustomActionType": [
261
+ {
262
+ "input": {
263
+ "version": "1",
264
+ "category": "Build",
265
+ "provider": "MyJenkinsProviderName"
266
+ },
267
+ "comments": {
268
+ "input": {
269
+ "version": "This is the current version number of the custom action.",
270
+ "category": "This is the type of action that the custom action is, for example build or test.",
271
+ "provider": "This is the provider of the service used in the custom action. In this example, the custom action is for a Jenkins build, and the name of the provider is the one configured in the AWS CodePipeline Plugin for Jenkins"
272
+ },
273
+ "output": {
274
+ }
275
+ },
276
+ "description": "This example deletes a custom action in AWS CodePipeline by specifiying the action type, provider name, and version number of the action to be deleted. Only used for custom actions. Use the list-action-types command to view the correct values for category, version, and provider. After a custom action is deleted, PollForJobs for the custom action will fail. Warning: You cannot recreate a custom action after it has been deleted unless you increase the version number of the action.",
277
+ "id": "delete-a-custom-action-1449163239567",
278
+ "title": "Delete a custom action"
279
+ }
280
+ ],
281
+ "DeletePipeline": [
282
+ {
283
+ "input": {
284
+ "name": "MySecondPipeline"
285
+ },
286
+ "comments": {
287
+ "input": {
288
+ "name": "The name of the pipeline to delete."
289
+ },
290
+ "output": {
291
+ }
292
+ },
293
+ "description": "This example deletes a pipeline named MySecondPipeline from AWS CodePipeline. Use ListPipelines to view a list of pipelines associated with your AWS account.",
294
+ "id": "delete-a-pipeline-1449163893541",
295
+ "title": "Delete a pipeline"
296
+ }
297
+ ],
298
+ "DisableStageTransition": [
299
+ {
300
+ "input": {
301
+ "pipelineName": "MyFirstPipeline",
302
+ "reason": "An example reason",
303
+ "stageName": "Beta",
304
+ "transitionType": "Inbound"
305
+ },
306
+ "comments": {
307
+ "input": {
308
+ "transitionType": "Valid values are Inbound, which prevents artifacts from transitioning into the stage and being processed by the actions in that stage, or Outbound, which prevents artifacts from transitioning out of the stage after they have been processed by the actions in that stage."
309
+ },
310
+ "output": {
311
+ }
312
+ },
313
+ "description": "This example disables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.",
314
+ "id": "disable-transitions-into-or-out-of-a-stage-1449164517291",
315
+ "title": "Disable transitions into or out of a stage"
316
+ }
317
+ ],
318
+ "EnableStageTransition": [
319
+ {
320
+ "input": {
321
+ "pipelineName": "MyFirstPipeline",
322
+ "stageName": "Beta",
323
+ "transitionType": "Inbound"
324
+ },
325
+ "comments": {
326
+ "input": {
327
+ "transitionType": "Valid values are Inbound, which allows artifacts to transition into the stage and be processed by the actions in that stage, or Outbound, which allows artifacts to transition out of the stage after they have been processed by the actions in that stage."
328
+ },
329
+ "output": {
330
+ }
331
+ },
332
+ "description": "This example enables transitions into the Beta stage of the MyFirstPipeline pipeline in AWS CodePipeline.",
333
+ "id": "enable-transitions-into-or-out-of-a-stage-1449164924423",
334
+ "title": "Enable transitions into or out of a stage"
335
+ }
336
+ ],
337
+ "GetJobDetails": [
338
+ {
339
+ "input": {
340
+ "jobId": "11111111-abcd-1111-abcd-111111abcdef"
341
+ },
342
+ "output": {
343
+ "jobDetails": {
344
+ "accountId": "111111111111",
345
+ "data": {
346
+ "actionConfiguration": {
347
+ "configuration": {
348
+ "ProjectName": "MyJenkinsExampleTestProject"
349
+ }
350
+ },
351
+ "actionTypeId": {
352
+ "version": "1",
353
+ "category": "Test",
354
+ "owner": "Custom",
355
+ "provider": "MyJenkinsProviderName"
356
+ },
357
+ "artifactCredentials": {
358
+ "accessKeyId": "AKIAIOSFODNN7EXAMPLE",
359
+ "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
360
+ "sessionToken": "fICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcNMTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9TrDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpEIbb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0FkbFFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTbNYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE="
361
+ },
362
+ "inputArtifacts": [
363
+ {
364
+ "name": "MyAppBuild",
365
+ "location": {
366
+ "type": "S3",
367
+ "s3Location": {
368
+ "bucketName": "codepipeline-us-east-1-11EXAMPLE11",
369
+ "objectKey": "MySecondPipeline/MyAppBuild/EXAMPLE"
370
+ }
371
+ }
372
+ }
373
+ ],
374
+ "outputArtifacts": [
375
+
376
+ ],
377
+ "pipelineContext": {
378
+ "action": {
379
+ "name": "MyJenkinsTest-Action"
380
+ },
381
+ "pipelineName": "MySecondPipeline",
382
+ "stage": {
383
+ "name": "Testing"
384
+ }
385
+ }
386
+ },
387
+ "id": "11111111-abcd-1111-abcd-111111abcdef"
388
+ }
389
+ },
390
+ "comments": {
391
+ "input": {
392
+ },
393
+ "output": {
394
+ }
395
+ },
396
+ "description": "This example returns details about a job whose ID is represented by f4f4ff82-2d11-EXAMPLE. This command is only used for custom actions. When this command is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if required for the custom action. This command will also return any secret values defined for the action, if any are defined.",
397
+ "id": "get-the-details-of-a-job-1449183680273",
398
+ "title": "Get the details of a job"
399
+ }
400
+ ],
401
+ "GetPipeline": [
402
+ {
403
+ "input": {
404
+ "version": 123,
405
+ "name": "MyFirstPipeline"
406
+ },
407
+ "output": {
408
+ "pipeline": {
409
+ "version": 1,
410
+ "name": "MyFirstPipeline",
411
+ "artifactStore": {
412
+ "type": "S3",
413
+ "location": "codepipeline-us-east-1-11EXAMPLE11"
414
+ },
415
+ "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service",
416
+ "stages": [
417
+ {
418
+ "name": "Source",
419
+ "actions": [
420
+ {
421
+ "name": "Source",
422
+ "actionTypeId": {
423
+ "version": "1",
424
+ "category": "Source",
425
+ "owner": "AWS",
426
+ "provider": "S3"
427
+ },
428
+ "configuration": {
429
+ "S3Bucket": "awscodepipeline-demo-bucket",
430
+ "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip"
431
+ },
432
+ "inputArtifacts": [
433
+
434
+ ],
435
+ "outputArtifacts": [
436
+ {
437
+ "name": "MyApp"
438
+ }
439
+ ],
440
+ "runOrder": 1
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "name": "Beta",
446
+ "actions": [
447
+ {
448
+ "name": "CodePipelineDemoFleet",
449
+ "actionTypeId": {
450
+ "version": "1",
451
+ "category": "Deploy",
452
+ "owner": "AWS",
453
+ "provider": "CodeDeploy"
454
+ },
455
+ "configuration": {
456
+ "ApplicationName": "CodePipelineDemoApplication",
457
+ "DeploymentGroupName": "CodePipelineDemoFleet"
458
+ },
459
+ "inputArtifacts": [
460
+ {
461
+ "name": "MyApp"
462
+ }
463
+ ],
464
+ "outputArtifacts": [
465
+
466
+ ],
467
+ "runOrder": 1
468
+ }
469
+ ]
470
+ }
471
+ ]
472
+ }
473
+ },
474
+ "comments": {
475
+ "input": {
476
+ "version": "This is an optional parameter. If you do not specify a version, the most current version of the pipeline structure is returned."
477
+ },
478
+ "output": {
479
+ }
480
+ },
481
+ "description": "This example returns the structure of a pipeline named MyFirstPipeline.",
482
+ "id": "view-the-structure-of-a-pipeline-1449184156329",
483
+ "title": "View the structure of a pipeline"
484
+ }
485
+ ],
486
+ "GetPipelineState": [
487
+ {
488
+ "input": {
489
+ "name": "MyFirstPipeline"
490
+ },
491
+ "output": {
492
+ "created": "1446137312.204",
493
+ "pipelineName": "MyFirstPipeline",
494
+ "pipelineVersion": 1,
495
+ "stageStates": [
496
+ {
497
+ "actionStates": [
498
+ {
499
+ "actionName": "Source",
500
+ "entityUrl": "https://console.aws.amazon.com/s3/home?#",
501
+ "latestExecution": {
502
+ "lastStatusChange": "1446137358.328",
503
+ "status": "Succeeded"
504
+ }
505
+ }
506
+ ],
507
+ "stageName": "Source"
508
+ },
509
+ {
510
+ "actionStates": [
511
+ {
512
+ "actionName": "CodePipelineDemoFleet",
513
+ "entityUrl": "https://console.aws.amazon.com/codedeploy/home?#/applications/CodePipelineDemoApplication/deployment-groups/CodePipelineDemoFleet",
514
+ "latestExecution": {
515
+ "externalExecutionId": "d-EXAMPLE",
516
+ "externalExecutionUrl": "https://console.aws.amazon.com/codedeploy/home?#/deployments/d-EXAMPLE",
517
+ "lastStatusChange": "1446137493.131",
518
+ "status": "Succeeded",
519
+ "summary": "Deployment Succeeded"
520
+ }
521
+ }
522
+ ],
523
+ "inboundTransitionState": {
524
+ "enabled": true
525
+ },
526
+ "stageName": "Beta"
527
+ }
528
+ ],
529
+ "updated": "1446137312.204"
530
+ },
531
+ "comments": {
532
+ "input": {
533
+ },
534
+ "output": {
535
+ "created": "The value for created and all other time- and date-related information such as lastStatusChange, is returned in timestamp format."
536
+ }
537
+ },
538
+ "description": "This example returns the most recent state of a pipeline named MyFirstPipeline.",
539
+ "id": "view-information-about-the-state-of-a-pipeline-1449184486550",
540
+ "title": "View information about the state of a pipeline"
541
+ }
542
+ ],
543
+ "ListActionTypes": [
544
+ {
545
+ "input": {
546
+ "actionOwnerFilter": "Custom",
547
+ "nextToken": ""
548
+ },
549
+ "output": {
550
+ "actionTypes": [
551
+ {
552
+ "actionConfigurationProperties": [
553
+ {
554
+ "name": "MyJenkinsExampleBuildProject",
555
+ "required": true,
556
+ "key": true,
557
+ "queryable": true,
558
+ "secret": false
559
+ }
560
+ ],
561
+ "id": {
562
+ "version": "1",
563
+ "category": "Build",
564
+ "owner": "Custom",
565
+ "provider": "MyJenkinsProviderName"
566
+ },
567
+ "inputArtifactDetails": {
568
+ "maximumCount": 5,
569
+ "minimumCount": 0
570
+ },
571
+ "outputArtifactDetails": {
572
+ "maximumCount": 5,
573
+ "minimumCount": 0
574
+ },
575
+ "settings": {
576
+ "entityUrlTemplate": "http://54.174.131.118/job/{Config:ProjectName}",
577
+ "executionUrlTemplate": "http://54.174.131.118/job/{Config:ProjectName}/{ExternalExecutionId}"
578
+ }
579
+ },
580
+ {
581
+ "actionConfigurationProperties": [
582
+ {
583
+ "name": "MyJenkinsExampleTestProject",
584
+ "required": true,
585
+ "key": true,
586
+ "queryable": true,
587
+ "secret": false
588
+ }
589
+ ],
590
+ "id": {
591
+ "version": "1",
592
+ "category": "Build",
593
+ "owner": "Custom",
594
+ "provider": "MyJenkinsProviderName"
595
+ },
596
+ "inputArtifactDetails": {
597
+ "maximumCount": 5,
598
+ "minimumCount": 0
599
+ },
600
+ "outputArtifactDetails": {
601
+ "maximumCount": 5,
602
+ "minimumCount": 0
603
+ },
604
+ "settings": {
605
+ "entityUrlTemplate": "http://54.210.140.46/job/{Config:ProjectName}",
606
+ "executionUrlTemplate": "http://54.210.140.46/job/{Config:ProjectName}/{ExternalExecutionId}"
607
+ }
608
+ }
609
+ ],
610
+ "nextToken": ""
611
+ },
612
+ "comments": {
613
+ "input": {
614
+ },
615
+ "output": {
616
+ "actionOwnerFilter": "actionOwnerFilter is optional. It is used to filter the response to actions created by a specific entity. Valid values include AWS, ThirdParty, and Custom.",
617
+ "nextToken": "nextToken is optional. Its operation is reserved for future use."
618
+ }
619
+ },
620
+ "description": "Used by itself, ListActionTypes returns the structure of all AWS CodePipeline actions available to your AWS account. This example uses the actionOwnerFilter option to limit the response to include only the structure of all custom actions defined for the account.",
621
+ "id": "view-a-summary-of-all-action-types-associated-with-your-account-1455218918202",
622
+ "title": "View a summary of all action types associated with your account"
623
+ }
624
+ ],
625
+ "ListPipelines": [
626
+ {
627
+ "input": {
628
+ },
629
+ "output": {
630
+ "nextToken": "",
631
+ "pipelines": [
632
+ {
633
+ "version": 1,
634
+ "name": "MyFirstPipeline",
635
+ "created": "1444681408.094",
636
+ "updated": "1444681408.094"
637
+ },
638
+ {
639
+ "version": 3,
640
+ "name": "MySecondPipeline",
641
+ "created": "1443046290.003",
642
+ "updated": "1443048299.639"
643
+ }
644
+ ]
645
+ },
646
+ "comments": {
647
+ "input": {
648
+ "nextToken": "nextToken is optional. Its operation is reserved for future use."
649
+ },
650
+ "output": {
651
+ "pipelines": "Date and time information returned in the pipeline blocks, such as the values for created or updated, are in timestamp format."
652
+ }
653
+ },
654
+ "description": "This example lists all AWS CodePipeline pipelines associated with the user's AWS account.",
655
+ "id": "view-a-summary-of-all-pipelines-associated-with-your-account-1449185747807",
656
+ "title": "View a summary of all pipelines associated with your account"
657
+ }
658
+ ],
659
+ "PollForJobs": [
660
+ {
661
+ "input": {
662
+ "actionTypeId": {
663
+ "version": "1",
664
+ "category": "Test",
665
+ "owner": "Custom",
666
+ "provider": "MyJenkinsProviderName"
667
+ },
668
+ "maxBatchSize": 5,
669
+ "queryParam": {
670
+ "ProjectName": "MyJenkinsTestProj"
671
+ }
672
+ },
673
+ "output": {
674
+ "jobs": [
675
+ {
676
+ "accountId": "111111111111",
677
+ "data": {
678
+ "actionConfiguration": {
679
+ "configuration": {
680
+ "ProjectName": "MyJenkinsTestProj"
681
+ }
682
+ },
683
+ "actionTypeId": {
684
+ "version": "1",
685
+ "category": "Test",
686
+ "owner": "Custom",
687
+ "provider": "MyJenkinsProviderName"
688
+ },
689
+ "artifactCredentials": {
690
+ "accessKeyId": "AKIAIOSFODNN7EXAMPLE",
691
+ "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
692
+ "sessionToken": "fICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcNMTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9TrDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpEIbb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0FkbFFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTbNYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE="
693
+ },
694
+ "inputArtifacts": [
695
+ {
696
+ "name": "MyAppBuild",
697
+ "location": {
698
+ "type": "S3",
699
+ "s3Location": {
700
+ "bucketName": "codepipeline-us-east-1-11EXAMPLE11",
701
+ "objectKey": "MySecondPipeline/MyAppBuild/EXAMPLE"
702
+ }
703
+ }
704
+ }
705
+ ],
706
+ "outputArtifacts": [
707
+
708
+ ],
709
+ "pipelineContext": {
710
+ "action": {
711
+ "name": "MyJenkinsTest-Action"
712
+ },
713
+ "pipelineName": "MySecondPipeline",
714
+ "stage": {
715
+ "name": "Testing"
716
+ }
717
+ }
718
+ },
719
+ "id": "11111111-abcd-1111-abcd-111111abcdef",
720
+ "nonce": "3"
721
+ }
722
+ ]
723
+ },
724
+ "comments": {
725
+ "input": {
726
+ },
727
+ "output": {
728
+ }
729
+ },
730
+ "description": "This example returns information about any jobs for a job worker to act upon. This command is only used for custom actions. When this command is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline. This command will also return any secret values defined for the action, if any are defined.",
731
+ "id": "view-any-available-jobs-1449186054484",
732
+ "title": "View any available jobs"
733
+ }
734
+ ],
735
+ "StartPipelineExecution": [
736
+ {
737
+ "input": {
738
+ "name": "MyFirstPipeline"
739
+ },
740
+ "output": {
741
+ "pipelineExecutionId": "11111111-abcd-1111-abcd-111111abcdef"
742
+ },
743
+ "comments": {
744
+ "input": {
745
+ },
746
+ "output": {
747
+ }
748
+ },
749
+ "description": "This example runs the latest revision present in the source stage of a pipeline through the pipeline named \"MyFirstPipeline\".",
750
+ "id": "run-the-latest-revision-through-a-pipeline-1449186732433",
751
+ "title": "Run the latest revision through a pipeline"
752
+ }
753
+ ],
754
+ "UpdatePipeline": [
755
+ {
756
+ "input": {
757
+ "pipeline": {
758
+ "version": 2,
759
+ "name": "MyFirstPipeline",
760
+ "artifactStore": {
761
+ "type": "S3",
762
+ "location": "codepipeline-us-east-1-11EXAMPLE11"
763
+ },
764
+ "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service",
765
+ "stages": [
766
+ {
767
+ "name": "Source",
768
+ "actions": [
769
+ {
770
+ "name": "Source",
771
+ "actionTypeId": {
772
+ "version": "1",
773
+ "category": "Source",
774
+ "owner": "AWS",
775
+ "provider": "S3"
776
+ },
777
+ "configuration": {
778
+ "S3Bucket": "awscodepipeline-demo-bucket2",
779
+ "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip"
780
+ },
781
+ "inputArtifacts": [
782
+
783
+ ],
784
+ "outputArtifacts": [
785
+ {
786
+ "name": "MyApp"
787
+ }
788
+ ],
789
+ "runOrder": 1
790
+ }
791
+ ]
792
+ },
793
+ {
794
+ "name": "Beta",
795
+ "actions": [
796
+ {
797
+ "name": "CodePipelineDemoFleet",
798
+ "actionTypeId": {
799
+ "version": "1",
800
+ "category": "Deploy",
801
+ "owner": "AWS",
802
+ "provider": "CodeDeploy"
803
+ },
804
+ "configuration": {
805
+ "ApplicationName": "CodePipelineDemoApplication",
806
+ "DeploymentGroupName": "CodePipelineDemoFleet"
807
+ },
808
+ "inputArtifacts": [
809
+ {
810
+ "name": "MyApp"
811
+ }
812
+ ],
813
+ "outputArtifacts": [
814
+
815
+ ],
816
+ "runOrder": 1
817
+ }
818
+ ]
819
+ }
820
+ ]
821
+ }
822
+ },
823
+ "output": {
824
+ "pipeline": {
825
+ "version": 3,
826
+ "name": "MyFirstPipeline",
827
+ "artifactStore": {
828
+ "type": "S3",
829
+ "location": "codepipeline-us-east-1-11EXAMPLE11"
830
+ },
831
+ "roleArn": "arn:aws:iam::111111111111:role/AWS-CodePipeline-Service",
832
+ "stages": [
833
+ {
834
+ "name": "Source",
835
+ "actions": [
836
+ {
837
+ "name": "Source",
838
+ "actionTypeId": {
839
+ "version": "1",
840
+ "category": "Source",
841
+ "owner": "AWS",
842
+ "provider": "S3"
843
+ },
844
+ "configuration": {
845
+ "S3Bucket": "awscodepipeline-demo-bucket2",
846
+ "S3ObjectKey": "aws-codepipeline-s3-aws-codedeploy_linux.zip"
847
+ },
848
+ "inputArtifacts": [
849
+
850
+ ],
851
+ "outputArtifacts": [
852
+ {
853
+ "name": "MyApp"
854
+ }
855
+ ],
856
+ "runOrder": 1
857
+ }
858
+ ]
859
+ },
860
+ {
861
+ "name": "Beta",
862
+ "actions": [
863
+ {
864
+ "name": "CodePipelineDemoFleet",
865
+ "actionTypeId": {
866
+ "version": "1",
867
+ "category": "Deploy",
868
+ "owner": "AWS",
869
+ "provider": "CodeDeploy"
870
+ },
871
+ "configuration": {
872
+ "ApplicationName": "CodePipelineDemoApplication",
873
+ "DeploymentGroupName": "CodePipelineDemoFleet"
874
+ },
875
+ "inputArtifacts": [
876
+ {
877
+ "name": "MyApp"
878
+ }
879
+ ],
880
+ "outputArtifacts": [
881
+
882
+ ],
883
+ "runOrder": 1
884
+ }
885
+ ]
886
+ }
887
+ ]
888
+ }
889
+ },
890
+ "comments": {
891
+ "input": {
892
+ },
893
+ "output": {
894
+ }
895
+ },
896
+ "description": "This example updates the structure of a pipeline. The entire structure of the pipeline must be supplied, either by passing all of the parameters, or by using a pre-defined JSON file.",
897
+ "id": "update-the-structure-of-a-pipeline-1449186881322",
898
+ "title": "Update the structure of a pipeline"
899
+ }
900
+ ]
901
+ }
902
+ }