forked from awslabs/aws-sdk-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codedeploy.json
10025 lines (10025 loc) · 500 KB
/
codedeploy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"smithy": "2.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.codedeploy#AddTagsToOnPremisesInstances": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#AddTagsToOnPremisesInstancesInput"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#InstanceLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#InstanceNameRequiredException"
},
{
"target": "com.amazonaws.codedeploy#InstanceNotRegisteredException"
},
{
"target": "com.amazonaws.codedeploy#InvalidInstanceNameException"
},
{
"target": "com.amazonaws.codedeploy#InvalidTagException"
},
{
"target": "com.amazonaws.codedeploy#TagLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#TagRequiredException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds tags to on-premises instances.</p>"
}
},
"com.amazonaws.codedeploy#AddTagsToOnPremisesInstancesInput": {
"type": "structure",
"members": {
"tags": {
"target": "com.amazonaws.codedeploy#TagList",
"traits": {
"smithy.api#documentation": "<p>The tag key-value pairs to add to the on-premises instances.</p>\n <p>Keys and values are both required. Keys cannot be null or empty strings. Value-only\n tags are not allowed.</p>",
"smithy.api#required": {}
}
},
"instanceNames": {
"target": "com.amazonaws.codedeploy#InstanceNameList",
"traits": {
"smithy.api#documentation": "<p>The names of the on-premises instances to which to add tags.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of, and adds tags to, an on-premises instance operation.</p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#AdditionalDeploymentStatusInfo": {
"type": "string",
"traits": {
"smithy.api#deprecated": {
"message": "AdditionalDeploymentStatusInfo is deprecated, use DeploymentStatusMessageList instead."
}
}
},
"com.amazonaws.codedeploy#Alarm": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codedeploy#AlarmName",
"traits": {
"smithy.api#documentation": "<p>The name of the alarm. Maximum length is 255 characters. Each alarm name can be used\n only once in a list of alarms.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about an alarm.</p>"
}
},
"com.amazonaws.codedeploy#AlarmConfiguration": {
"type": "structure",
"members": {
"enabled": {
"target": "com.amazonaws.codedeploy#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Indicates whether the alarm configuration is enabled.</p>"
}
},
"ignorePollAlarmFailure": {
"target": "com.amazonaws.codedeploy#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Indicates whether a deployment should continue if information about the current state\n of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.</p>\n <ul>\n <li>\n <p>\n <code>true</code>: The deployment proceeds even if alarm status information\n can't be retrieved from Amazon CloudWatch.</p>\n </li>\n <li>\n <p>\n <code>false</code>: The deployment stops if alarm status information can't be\n retrieved from Amazon CloudWatch.</p>\n </li>\n </ul>"
}
},
"alarms": {
"target": "com.amazonaws.codedeploy#AlarmList",
"traits": {
"smithy.api#documentation": "<p>A list of alarms configured for the deployment or deployment group. A maximum of 10\n alarms can be added.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about alarms associated with a deployment or deployment group.</p>"
}
},
"com.amazonaws.codedeploy#AlarmList": {
"type": "list",
"member": {
"target": "com.amazonaws.codedeploy#Alarm"
}
},
"com.amazonaws.codedeploy#AlarmName": {
"type": "string"
},
"com.amazonaws.codedeploy#AlarmsLimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The maximum number of alarms for a deployment group (10) was exceeded.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#AppSpecContent": {
"type": "structure",
"members": {
"content": {
"target": "com.amazonaws.codedeploy#RawStringContent",
"traits": {
"smithy.api#documentation": "<p> The YAML-formatted or JSON-formatted revision string. </p>\n <p> For an Lambda deployment, the content includes a Lambda\n function name, the alias for its original version, and the alias for its replacement\n version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. </p>\n <p> For an Amazon ECS deployment, the content includes the task name, information\n about the load balancer that serves traffic to the container, and more. </p>\n <p> For both types of deployments, the content can specify Lambda functions\n that run at specified hooks, such as <code>BeforeInstall</code>, during a deployment.\n </p>"
}
},
"sha256": {
"target": "com.amazonaws.codedeploy#RawStringSha256",
"traits": {
"smithy.api#documentation": "<p> The SHA256 hash value of the revision content. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> A revision for an Lambda or Amazon ECS deployment that is a\n YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the\n deprecated <code>RawString</code> data type. </p>"
}
},
"com.amazonaws.codedeploy#ApplicationAlreadyExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An application with the specified name with the user or Amazon Web Services account\n already exists.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#ApplicationDoesNotExistException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The application does not exist with the user or Amazon Web Services account.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#ApplicationId": {
"type": "string"
},
"com.amazonaws.codedeploy#ApplicationInfo": {
"type": "structure",
"members": {
"applicationId": {
"target": "com.amazonaws.codedeploy#ApplicationId",
"traits": {
"smithy.api#documentation": "<p>The application ID.</p>"
}
},
"applicationName": {
"target": "com.amazonaws.codedeploy#ApplicationName",
"traits": {
"smithy.api#documentation": "<p>The application name.</p>"
}
},
"createTime": {
"target": "com.amazonaws.codedeploy#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time at which the application was created.</p>"
}
},
"linkedToGitHub": {
"target": "com.amazonaws.codedeploy#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>True if the user has authenticated with GitHub for the specified application.\n Otherwise, false.</p>"
}
},
"gitHubAccountName": {
"target": "com.amazonaws.codedeploy#GitHubAccountTokenName",
"traits": {
"smithy.api#documentation": "<p>The name for a connection to a GitHub account.</p>"
}
},
"computePlatform": {
"target": "com.amazonaws.codedeploy#ComputePlatform",
"traits": {
"smithy.api#documentation": "<p>The destination platform type for deployment of the application (<code>Lambda</code> or <code>Server</code>).</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about an application.</p>"
}
},
"com.amazonaws.codedeploy#ApplicationLimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>More applications were attempted to be created than are allowed.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#ApplicationName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.codedeploy#ApplicationNameRequiredException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The minimum number of required application names was not specified.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#ApplicationRevisionSortBy": {
"type": "enum",
"members": {
"RegisterTime": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "registerTime"
}
},
"FirstUsedTime": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "firstUsedTime"
}
},
"LastUsedTime": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "lastUsedTime"
}
}
}
},
"com.amazonaws.codedeploy#ApplicationsInfoList": {
"type": "list",
"member": {
"target": "com.amazonaws.codedeploy#ApplicationInfo"
}
},
"com.amazonaws.codedeploy#ApplicationsList": {
"type": "list",
"member": {
"target": "com.amazonaws.codedeploy#ApplicationName"
}
},
"com.amazonaws.codedeploy#Arn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1011
}
}
},
"com.amazonaws.codedeploy#ArnNotSupportedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> The specified ARN is not supported. For example, it might be an ARN for a resource\n that is not expected. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#AutoRollbackConfiguration": {
"type": "structure",
"members": {
"enabled": {
"target": "com.amazonaws.codedeploy#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Indicates whether a defined automatic rollback configuration is currently\n enabled.</p>"
}
},
"events": {
"target": "com.amazonaws.codedeploy#AutoRollbackEventsList",
"traits": {
"smithy.api#documentation": "<p>The event type or types that trigger a rollback.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a configuration for automatically rolling back to a previous version\n of an application revision when a deployment is not completed successfully.</p>"
}
},
"com.amazonaws.codedeploy#AutoRollbackEvent": {
"type": "enum",
"members": {
"DEPLOYMENT_FAILURE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DEPLOYMENT_FAILURE"
}
},
"DEPLOYMENT_STOP_ON_ALARM": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DEPLOYMENT_STOP_ON_ALARM"
}
},
"DEPLOYMENT_STOP_ON_REQUEST": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DEPLOYMENT_STOP_ON_REQUEST"
}
}
}
},
"com.amazonaws.codedeploy#AutoRollbackEventsList": {
"type": "list",
"member": {
"target": "com.amazonaws.codedeploy#AutoRollbackEvent"
}
},
"com.amazonaws.codedeploy#AutoScalingGroup": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.codedeploy#AutoScalingGroupName",
"traits": {
"smithy.api#documentation": "<p>The Auto Scaling group name.</p>"
}
},
"hook": {
"target": "com.amazonaws.codedeploy#AutoScalingGroupHook",
"traits": {
"smithy.api#documentation": "<p>The name of the launch hook that CodeDeploy installed into the Auto Scaling group.</p>\n <p>For more information about the launch hook, see <a href=\"https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors\">How Amazon EC2 Auto Scaling works with CodeDeploy</a> in the\n <i>CodeDeploy User Guide</i>.</p>"
}
},
"terminationHook": {
"target": "com.amazonaws.codedeploy#AutoScalingGroupHook",
"traits": {
"smithy.api#documentation": "<p>The name of the termination hook that CodeDeploy installed into the Auto Scaling group.</p>\n <p>For more information about the termination hook, see <a href=\"https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable\">Enabling termination deployments during Auto Scaling scale-in events</a> in the\n <i>CodeDeploy User Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about an Auto Scaling group.</p>"
}
},
"com.amazonaws.codedeploy#AutoScalingGroupHook": {
"type": "string"
},
"com.amazonaws.codedeploy#AutoScalingGroupList": {
"type": "list",
"member": {
"target": "com.amazonaws.codedeploy#AutoScalingGroup"
}
},
"com.amazonaws.codedeploy#AutoScalingGroupName": {
"type": "string"
},
"com.amazonaws.codedeploy#AutoScalingGroupNameList": {
"type": "list",
"member": {
"target": "com.amazonaws.codedeploy#AutoScalingGroupName"
}
},
"com.amazonaws.codedeploy#BatchGetApplicationRevisions": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetApplicationRevisionsInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetApplicationRevisionsOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#ApplicationNameRequiredException"
},
{
"target": "com.amazonaws.codedeploy#BatchLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#InvalidApplicationNameException"
},
{
"target": "com.amazonaws.codedeploy#InvalidRevisionException"
},
{
"target": "com.amazonaws.codedeploy#RevisionRequiredException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more application revisions. The maximum number of\n application revisions that can be returned is 25.</p>"
}
},
"com.amazonaws.codedeploy#BatchGetApplicationRevisionsInput": {
"type": "structure",
"members": {
"applicationName": {
"target": "com.amazonaws.codedeploy#ApplicationName",
"traits": {
"smithy.api#documentation": "<p>The name of an CodeDeploy application about which to get revision\n information.</p>",
"smithy.api#required": {}
}
},
"revisions": {
"target": "com.amazonaws.codedeploy#RevisionLocationList",
"traits": {
"smithy.api#documentation": "<p>An array of <code>RevisionLocation</code> objects that specify information to get\n about the application revisions, including type and location. The maximum number of\n <code>RevisionLocation</code> objects you can specify is 25.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>BatchGetApplicationRevisions</code> operation.</p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetApplicationRevisionsOutput": {
"type": "structure",
"members": {
"applicationName": {
"target": "com.amazonaws.codedeploy#ApplicationName",
"traits": {
"smithy.api#documentation": "<p>The name of the application that corresponds to the revisions.</p>"
}
},
"errorMessage": {
"target": "com.amazonaws.codedeploy#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>Information about errors that might have occurred during the API call.</p>"
}
},
"revisions": {
"target": "com.amazonaws.codedeploy#RevisionInfoList",
"traits": {
"smithy.api#documentation": "<p>Additional information about the revisions, including the type and location.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchGetApplicationRevisions</code> operation.</p>",
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchGetApplications": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetApplicationsInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetApplicationsOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#ApplicationNameRequiredException"
},
{
"target": "com.amazonaws.codedeploy#BatchLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#InvalidApplicationNameException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more applications. The maximum number of applications\n that can be returned is 100.</p>"
}
},
"com.amazonaws.codedeploy#BatchGetApplicationsInput": {
"type": "structure",
"members": {
"applicationNames": {
"target": "com.amazonaws.codedeploy#ApplicationsList",
"traits": {
"smithy.api#documentation": "<p>A list of application names separated by spaces. The maximum number of application\n names you can specify is 100.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>BatchGetApplications</code> operation.</p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetApplicationsOutput": {
"type": "structure",
"members": {
"applicationsInfo": {
"target": "com.amazonaws.codedeploy#ApplicationsInfoList",
"traits": {
"smithy.api#documentation": "<p>Information about the applications.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchGetApplications</code> operation.</p>",
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentGroups": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentGroupsInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentGroupsOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#ApplicationNameRequiredException"
},
{
"target": "com.amazonaws.codedeploy#BatchLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentConfigDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentGroupNameRequiredException"
},
{
"target": "com.amazonaws.codedeploy#InvalidApplicationNameException"
},
{
"target": "com.amazonaws.codedeploy#InvalidDeploymentGroupNameException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more deployment groups.</p>"
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentGroupsInput": {
"type": "structure",
"members": {
"applicationName": {
"target": "com.amazonaws.codedeploy#ApplicationName",
"traits": {
"smithy.api#documentation": "<p>The name of an CodeDeploy application associated with the applicable user\n or Amazon Web Services account.</p>",
"smithy.api#required": {}
}
},
"deploymentGroupNames": {
"target": "com.amazonaws.codedeploy#DeploymentGroupsList",
"traits": {
"smithy.api#documentation": "<p>The names of the deployment groups.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>BatchGetDeploymentGroups</code> operation.</p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentGroupsOutput": {
"type": "structure",
"members": {
"deploymentGroupsInfo": {
"target": "com.amazonaws.codedeploy#DeploymentGroupInfoList",
"traits": {
"smithy.api#documentation": "<p>Information about the deployment groups.</p>"
}
},
"errorMessage": {
"target": "com.amazonaws.codedeploy#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>Information about errors that might have occurred during the API call.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchGetDeploymentGroups</code> operation.</p>",
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentInstances": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentInstancesInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentInstancesOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#BatchLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentIdRequiredException"
},
{
"target": "com.amazonaws.codedeploy#InstanceIdRequiredException"
},
{
"target": "com.amazonaws.codedeploy#InvalidComputePlatformException"
},
{
"target": "com.amazonaws.codedeploy#InvalidDeploymentIdException"
},
{
"target": "com.amazonaws.codedeploy#InvalidInstanceNameException"
}
],
"traits": {
"smithy.api#deprecated": {
"message": "This operation is deprecated, use BatchGetDeploymentTargets instead."
},
"smithy.api#documentation": "<note>\n <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>\n instead. </p>\n </note>\n <p> Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and Lambda compute platforms. The newer\n <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum\n number of instances that can be returned is 25.</p>"
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentInstancesInput": {
"type": "structure",
"members": {
"deploymentId": {
"target": "com.amazonaws.codedeploy#DeploymentId",
"traits": {
"smithy.api#documentation": "<p> The unique ID of a deployment. </p>",
"smithy.api#required": {}
}
},
"instanceIds": {
"target": "com.amazonaws.codedeploy#InstancesList",
"traits": {
"smithy.api#documentation": "<p>The unique IDs of instances used in the deployment. The maximum number of instance IDs\n you can specify is 25.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p> Represents the input of a <code>BatchGetDeploymentInstances</code> operation. </p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentInstancesOutput": {
"type": "structure",
"members": {
"instancesSummary": {
"target": "com.amazonaws.codedeploy#InstanceSummaryList",
"traits": {
"smithy.api#documentation": "<p>Information about the instance.</p>"
}
},
"errorMessage": {
"target": "com.amazonaws.codedeploy#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>Information about errors that might have occurred during the API call.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchGetDeploymentInstances</code> operation.</p>",
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentTargets": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentTargetsInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentTargetsOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#DeploymentDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentIdRequiredException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentNotStartedException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentTargetDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentTargetIdRequiredException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentTargetListSizeExceededException"
},
{
"target": "com.amazonaws.codedeploy#InstanceDoesNotExistException"
},
{
"target": "com.amazonaws.codedeploy#InvalidDeploymentIdException"
},
{
"target": "com.amazonaws.codedeploy#InvalidDeploymentTargetIdException"
}
],
"traits": {
"smithy.api#documentation": "<p> Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be\n returned is 25.</p>\n <p> The type of targets returned depends on the deployment's compute platform or\n deployment method: </p>\n <ul>\n <li>\n <p>\n <b>EC2/On-premises</b>: Information about Amazon EC2 instance targets. </p>\n </li>\n <li>\n <p>\n <b>Lambda</b>: Information about\n Lambda functions targets. </p>\n </li>\n <li>\n <p>\n <b>Amazon ECS</b>: Information about Amazon ECS service targets. </p>\n </li>\n <li>\n <p>\n <b>CloudFormation</b>: Information about\n targets of blue/green deployments initiated by a CloudFormation stack\n update.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentTargetsInput": {
"type": "structure",
"members": {
"deploymentId": {
"target": "com.amazonaws.codedeploy#DeploymentId",
"traits": {
"smithy.api#documentation": "<p> The unique ID of a deployment. </p>",
"smithy.api#required": {}
}
},
"targetIds": {
"target": "com.amazonaws.codedeploy#TargetIdList",
"traits": {
"smithy.api#documentation": "<p> The unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.</p>\n <ul>\n <li>\n <p> For deployments that use the EC2/On-premises compute platform, the target IDs\n are Amazon EC2 or on-premises instances IDs, and their target type is\n <code>instanceTarget</code>. </p>\n </li>\n <li>\n <p> For deployments that use the Lambda compute platform, the\n target IDs are the names of Lambda functions, and their target type\n is <code>instanceTarget</code>. </p>\n </li>\n <li>\n <p> For deployments that use the Amazon ECS compute platform, the target\n IDs are pairs of Amazon ECS clusters and services specified using the\n format <code><clustername>:<servicename></code>. Their target type\n is <code>ecsTarget</code>. </p>\n </li>\n <li>\n <p> For deployments that are deployed with CloudFormation, the target IDs are\n CloudFormation stack IDs. Their target type is\n <code>cloudFormationTarget</code>. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentTargetsOutput": {
"type": "structure",
"members": {
"deploymentTargets": {
"target": "com.amazonaws.codedeploy#DeploymentTargetList",
"traits": {
"smithy.api#documentation": "<p> A list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform. </p>\n <ul>\n <li>\n <p>\n <b>EC2/On-premises</b>: Each target object is an\n Amazon EC2 or on-premises instance. </p>\n </li>\n <li>\n <p>\n <b>Lambda</b>: The target object is a\n specific version of an Lambda function. </p>\n </li>\n <li>\n <p>\n <b>Amazon ECS</b>: The target object is an\n Amazon ECS service. </p>\n </li>\n <li>\n <p>\n <b>CloudFormation</b>: The target object is\n an CloudFormation blue/green deployment. </p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeployments": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentsInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetDeploymentsOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#BatchLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#DeploymentIdRequiredException"
},
{
"target": "com.amazonaws.codedeploy#InvalidDeploymentIdException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more deployments. The maximum number of deployments that\n can be returned is 25.</p>"
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentsInput": {
"type": "structure",
"members": {
"deploymentIds": {
"target": "com.amazonaws.codedeploy#DeploymentsList",
"traits": {
"smithy.api#documentation": "<p> A list of deployment IDs, separated by spaces. The maximum number of deployment IDs\n you can specify is 25.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p> Represents the input of a <code>BatchGetDeployments</code> operation. </p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetDeploymentsOutput": {
"type": "structure",
"members": {
"deploymentsInfo": {
"target": "com.amazonaws.codedeploy#DeploymentsInfoList",
"traits": {
"smithy.api#documentation": "<p> Information about the deployments. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p> Represents the output of a <code>BatchGetDeployments</code> operation. </p>",
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchGetOnPremisesInstances": {
"type": "operation",
"input": {
"target": "com.amazonaws.codedeploy#BatchGetOnPremisesInstancesInput"
},
"output": {
"target": "com.amazonaws.codedeploy#BatchGetOnPremisesInstancesOutput"
},
"errors": [
{
"target": "com.amazonaws.codedeploy#BatchLimitExceededException"
},
{
"target": "com.amazonaws.codedeploy#InstanceNameRequiredException"
},
{
"target": "com.amazonaws.codedeploy#InvalidInstanceNameException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about one or more on-premises instances. The maximum number of\n on-premises instances that can be returned is 25.</p>"
}
},
"com.amazonaws.codedeploy#BatchGetOnPremisesInstancesInput": {
"type": "structure",
"members": {
"instanceNames": {
"target": "com.amazonaws.codedeploy#InstanceNameList",
"traits": {
"smithy.api#documentation": "<p>The names of the on-premises instances about which to get information. The maximum\n number of instance names you can specify is 25.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>BatchGetOnPremisesInstances</code> operation.</p>",
"smithy.api#input": {}
}
},
"com.amazonaws.codedeploy#BatchGetOnPremisesInstancesOutput": {
"type": "structure",
"members": {
"instanceInfos": {
"target": "com.amazonaws.codedeploy#InstanceInfoList",
"traits": {
"smithy.api#documentation": "<p>Information about the on-premises instances.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchGetOnPremisesInstances</code> operation.</p>",
"smithy.api#output": {}
}
},
"com.amazonaws.codedeploy#BatchLimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.codedeploy#Message",
"traits": {
"smithy.api#documentation": "<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The maximum number of names or IDs allowed for this request (100) was exceeded.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.codedeploy#BlueGreenDeploymentConfiguration": {
"type": "structure",
"members": {
"terminateBlueInstancesOnDeploymentSuccess": {
"target": "com.amazonaws.codedeploy#BlueInstanceTerminationOption",
"traits": {
"smithy.api#documentation": "<p>Information about whether to terminate instances in the original fleet during a\n blue/green deployment.</p>"
}
},
"deploymentReadyOption": {
"target": "com.amazonaws.codedeploy#DeploymentReadyOption",
"traits": {
"smithy.api#documentation": "<p>Information about the action to take when newly provisioned instances are ready to\n receive traffic in a blue/green deployment.</p>"
}
},
"greenFleetProvisioningOption": {
"target": "com.amazonaws.codedeploy#GreenFleetProvisioningOption",
"traits": {
"smithy.api#documentation": "<p>Information about how instances are provisioned for a replacement environment in a\n blue/green deployment.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about blue/green deployment options for a deployment group.</p>"
}
},
"com.amazonaws.codedeploy#BlueInstanceTerminationOption": {
"type": "structure",
"members": {
"action": {
"target": "com.amazonaws.codedeploy#InstanceAction",
"traits": {
"smithy.api#documentation": "<p>The action to take on instances in the original environment after a successful\n blue/green deployment.</p>\n <ul>\n <li>\n <p>\n <code>TERMINATE</code>: Instances are terminated after a specified wait\n time.</p>\n </li>\n <li>\n <p>\n <code>KEEP_ALIVE</code>: Instances are left running after they are\n deregistered from the load balancer and removed from the deployment\n group.</p>\n </li>\n </ul>"
}
},
"terminationWaitTimeInMinutes": {
"target": "com.amazonaws.codedeploy#Duration",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.</p>\n <p> For an Amazon ECS deployment, the number of minutes before deleting the\n original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts\n traffic from the original (blue) task set to a replacement (green) task set. </p>\n <p> The maximum setting is 2880 minutes (2 days). </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about whether instances in the original environment are terminated when a\n blue/green deployment is successful. <code>BlueInstanceTerminationOption</code> does not\n apply to Lambda deployments. </p>"
}
},