aws-sdk-codedeploy 1.26.0 → 1.31.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.
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodeDeploy
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -88,11 +88,11 @@ module Aws::CodeDeploy
88
88
  # the current state of alarms cannot be retrieved from Amazon
89
89
  # CloudWatch. The default value is false.
90
90
  #
91
- # * true: The deployment proceeds even if alarm status information
91
+ # * `true`\: The deployment proceeds even if alarm status information
92
92
  # can't be retrieved from Amazon CloudWatch.
93
93
  #
94
- # * false: The deployment stops if alarm status information can't be
95
- # retrieved from Amazon CloudWatch.
94
+ # * `false`\: The deployment stops if alarm status information can't
95
+ # be retrieved from Amazon CloudWatch.
96
96
  # @return [Boolean]
97
97
  #
98
98
  # @!attribute [rw] alarms
@@ -109,6 +109,12 @@ module Aws::CodeDeploy
109
109
  include Aws::Structure
110
110
  end
111
111
 
112
+ # The maximum number of alarms for a deployment group (10) was exceeded.
113
+ #
114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmsLimitExceededException AWS API Documentation
115
+ #
116
+ class AlarmsLimitExceededException < Aws::EmptyStructure; end
117
+
112
118
  # A revision for an AWS Lambda or Amazon ECS deployment that is a
113
119
  # YAML-formatted or JSON-formatted string. For AWS Lambda and Amazon ECS
114
120
  # deployments, the revision is the same as the AppSpec file. This method
@@ -151,6 +157,19 @@ module Aws::CodeDeploy
151
157
  include Aws::Structure
152
158
  end
153
159
 
160
+ # An application with the specified name with the IAM user or AWS
161
+ # account already exists.
162
+ #
163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationAlreadyExistsException AWS API Documentation
164
+ #
165
+ class ApplicationAlreadyExistsException < Aws::EmptyStructure; end
166
+
167
+ # The application does not exist with the IAM user or AWS account.
168
+ #
169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationDoesNotExistException AWS API Documentation
170
+ #
171
+ class ApplicationDoesNotExistException < Aws::EmptyStructure; end
172
+
154
173
  # Information about an application.
155
174
  #
156
175
  # @!attribute [rw] application_id
@@ -191,6 +210,25 @@ module Aws::CodeDeploy
191
210
  include Aws::Structure
192
211
  end
193
212
 
213
+ # More applications were attempted to be created than are allowed.
214
+ #
215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationLimitExceededException AWS API Documentation
216
+ #
217
+ class ApplicationLimitExceededException < Aws::EmptyStructure; end
218
+
219
+ # The minimum number of required application names was not specified.
220
+ #
221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationNameRequiredException AWS API Documentation
222
+ #
223
+ class ApplicationNameRequiredException < Aws::EmptyStructure; end
224
+
225
+ # The specified ARN is not supported. For example, it might be an ARN
226
+ # for a resource that is not expected.
227
+ #
228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ArnNotSupportedException AWS API Documentation
229
+ #
230
+ class ArnNotSupportedException < Aws::EmptyStructure; end
231
+
194
232
  # Information about a configuration for automatically rolling back to a
195
233
  # previous version of an application revision when a deployment is not
196
234
  # completed successfully.
@@ -238,7 +276,7 @@ module Aws::CodeDeploy
238
276
  include Aws::Structure
239
277
  end
240
278
 
241
- # Represents the input of a BatchGetApplicationRevisions operation.
279
+ # Represents the input of a `BatchGetApplicationRevisions` operation.
242
280
  #
243
281
  # @note When making an API call, you may pass BatchGetApplicationRevisionsInput
244
282
  # data as a hash:
@@ -291,7 +329,7 @@ module Aws::CodeDeploy
291
329
  include Aws::Structure
292
330
  end
293
331
 
294
- # Represents the output of a BatchGetApplicationRevisions operation.
332
+ # Represents the output of a `BatchGetApplicationRevisions` operation.
295
333
  #
296
334
  # @!attribute [rw] application_name
297
335
  # The name of the application that corresponds to the revisions.
@@ -316,7 +354,7 @@ module Aws::CodeDeploy
316
354
  include Aws::Structure
317
355
  end
318
356
 
319
- # Represents the input of a BatchGetApplications operation.
357
+ # Represents the input of a `BatchGetApplications` operation.
320
358
  #
321
359
  # @note When making an API call, you may pass BatchGetApplicationsInput
322
360
  # data as a hash:
@@ -327,7 +365,7 @@ module Aws::CodeDeploy
327
365
  #
328
366
  # @!attribute [rw] application_names
329
367
  # A list of application names separated by spaces. The maximum number
330
- # of application names you can specify is 25.
368
+ # of application names you can specify is 100.
331
369
  # @return [Array<String>]
332
370
  #
333
371
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput AWS API Documentation
@@ -337,7 +375,7 @@ module Aws::CodeDeploy
337
375
  include Aws::Structure
338
376
  end
339
377
 
340
- # Represents the output of a BatchGetApplications operation.
378
+ # Represents the output of a `BatchGetApplications` operation.
341
379
  #
342
380
  # @!attribute [rw] applications_info
343
381
  # Information about the applications.
@@ -350,7 +388,7 @@ module Aws::CodeDeploy
350
388
  include Aws::Structure
351
389
  end
352
390
 
353
- # Represents the input of a BatchGetDeploymentGroups operation.
391
+ # Represents the input of a `BatchGetDeploymentGroups` operation.
354
392
  #
355
393
  # @note When making an API call, you may pass BatchGetDeploymentGroupsInput
356
394
  # data as a hash:
@@ -377,7 +415,7 @@ module Aws::CodeDeploy
377
415
  include Aws::Structure
378
416
  end
379
417
 
380
- # Represents the output of a BatchGetDeploymentGroups operation.
418
+ # Represents the output of a `BatchGetDeploymentGroups` operation.
381
419
  #
382
420
  # @!attribute [rw] deployment_groups_info
383
421
  # Information about the deployment groups.
@@ -396,7 +434,7 @@ module Aws::CodeDeploy
396
434
  include Aws::Structure
397
435
  end
398
436
 
399
- # Represents the input of a BatchGetDeploymentInstances operation.
437
+ # Represents the input of a `BatchGetDeploymentInstances` operation.
400
438
  #
401
439
  # @note When making an API call, you may pass BatchGetDeploymentInstancesInput
402
440
  # data as a hash:
@@ -423,7 +461,7 @@ module Aws::CodeDeploy
423
461
  include Aws::Structure
424
462
  end
425
463
 
426
- # Represents the output of a BatchGetDeploymentInstances operation.
464
+ # Represents the output of a `BatchGetDeploymentInstances` operation.
427
465
  #
428
466
  # @!attribute [rw] instances_summary
429
467
  # Information about the instance.
@@ -471,6 +509,10 @@ module Aws::CodeDeploy
471
509
  # target IDs are pairs of Amazon ECS clusters and services specified
472
510
  # using the format `<clustername>:<servicename>`. Their target type
473
511
  # is `ecsTarget`.
512
+ #
513
+ # * For deployments that are deployed with AWS CloudFormation, the
514
+ # target IDs are CloudFormation stack IDs. Their target type is
515
+ # `cloudFormationTarget`.
474
516
  # @return [Array<String>]
475
517
  #
476
518
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargetsInput AWS API Documentation
@@ -494,6 +536,9 @@ module Aws::CodeDeploy
494
536
  # Lambda function.
495
537
  #
496
538
  # * **Amazon ECS**\: The target object is an Amazon ECS service.
539
+ #
540
+ # * **CloudFormation**\: The target object is an AWS CloudFormation
541
+ # blue/green deployment.
497
542
  # @return [Array<Types::DeploymentTarget>]
498
543
  #
499
544
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargetsOutput AWS API Documentation
@@ -503,7 +548,7 @@ module Aws::CodeDeploy
503
548
  include Aws::Structure
504
549
  end
505
550
 
506
- # Represents the input of a BatchGetDeployments operation.
551
+ # Represents the input of a `BatchGetDeployments` operation.
507
552
  #
508
553
  # @note When making an API call, you may pass BatchGetDeploymentsInput
509
554
  # data as a hash:
@@ -524,7 +569,7 @@ module Aws::CodeDeploy
524
569
  include Aws::Structure
525
570
  end
526
571
 
527
- # Represents the output of a BatchGetDeployments operation.
572
+ # Represents the output of a `BatchGetDeployments` operation.
528
573
  #
529
574
  # @!attribute [rw] deployments_info
530
575
  # Information about the deployments.
@@ -537,7 +582,7 @@ module Aws::CodeDeploy
537
582
  include Aws::Structure
538
583
  end
539
584
 
540
- # Represents the input of a BatchGetOnPremisesInstances operation.
585
+ # Represents the input of a `BatchGetOnPremisesInstances` operation.
541
586
  #
542
587
  # @note When making an API call, you may pass BatchGetOnPremisesInstancesInput
543
588
  # data as a hash:
@@ -559,7 +604,7 @@ module Aws::CodeDeploy
559
604
  include Aws::Structure
560
605
  end
561
606
 
562
- # Represents the output of a BatchGetOnPremisesInstances operation.
607
+ # Represents the output of a `BatchGetOnPremisesInstances` operation.
563
608
  #
564
609
  # @!attribute [rw] instance_infos
565
610
  # Information about the on-premises instances.
@@ -572,6 +617,13 @@ module Aws::CodeDeploy
572
617
  include Aws::Structure
573
618
  end
574
619
 
620
+ # The maximum number of names or IDs allowed for this request (100) was
621
+ # exceeded.
622
+ #
623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchLimitExceededException AWS API Documentation
624
+ #
625
+ class BatchLimitExceededException < Aws::EmptyStructure; end
626
+
575
627
  # Information about blue/green deployment options for a deployment
576
628
  # group.
577
629
  #
@@ -632,9 +684,10 @@ module Aws::CodeDeploy
632
684
  # The action to take on instances in the original environment after a
633
685
  # successful blue/green deployment.
634
686
  #
635
- # * TERMINATE: Instances are terminated after a specified wait time.
687
+ # * `TERMINATE`\: Instances are terminated after a specified wait
688
+ # time.
636
689
  #
637
- # * KEEP\_ALIVE: Instances are left running after they are
690
+ # * `KEEP_ALIVE`\: Instances are left running after they are
638
691
  # deregistered from the load balancer and removed from the
639
692
  # deployment group.
640
693
  # @return [String]
@@ -660,6 +713,62 @@ module Aws::CodeDeploy
660
713
  include Aws::Structure
661
714
  end
662
715
 
716
+ # A bucket name is required, but was not provided.
717
+ #
718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BucketNameFilterRequiredException AWS API Documentation
719
+ #
720
+ class BucketNameFilterRequiredException < Aws::EmptyStructure; end
721
+
722
+ # Information about the target to be updated by an AWS CloudFormation
723
+ # blue/green deployment. This target type is used for all deployments
724
+ # initiated by a CloudFormation stack update.
725
+ #
726
+ # @!attribute [rw] deployment_id
727
+ # The unique ID of an AWS CloudFormation blue/green deployment.
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] target_id
731
+ # The unique ID of a deployment target that has a type
732
+ # of `CloudFormationTarget`.
733
+ # @return [String]
734
+ #
735
+ # @!attribute [rw] last_updated_at
736
+ # The date and time when the target application was updated by an AWS
737
+ # CloudFormation blue/green deployment.
738
+ # @return [Time]
739
+ #
740
+ # @!attribute [rw] lifecycle_events
741
+ # The lifecycle events of the AWS CloudFormation blue/green deployment
742
+ # to this target application.
743
+ # @return [Array<Types::LifecycleEvent>]
744
+ #
745
+ # @!attribute [rw] status
746
+ # The status of an AWS CloudFormation blue/green deployment's target
747
+ # application.
748
+ # @return [String]
749
+ #
750
+ # @!attribute [rw] resource_type
751
+ # The resource type for the AWS CloudFormation blue/green deployment.
752
+ # @return [String]
753
+ #
754
+ # @!attribute [rw] target_version_weight
755
+ # The percentage of production traffic that the target version of an
756
+ # AWS CloudFormation blue/green deployment receives.
757
+ # @return [Float]
758
+ #
759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CloudFormationTarget AWS API Documentation
760
+ #
761
+ class CloudFormationTarget < Struct.new(
762
+ :deployment_id,
763
+ :target_id,
764
+ :last_updated_at,
765
+ :lifecycle_events,
766
+ :status,
767
+ :resource_type,
768
+ :target_version_weight)
769
+ include Aws::Structure
770
+ end
771
+
663
772
  # @note When making an API call, you may pass ContinueDeploymentInput
664
773
  # data as a hash:
665
774
  #
@@ -674,10 +783,10 @@ module Aws::CodeDeploy
674
783
  # @return [String]
675
784
  #
676
785
  # @!attribute [rw] deployment_wait_type
677
- # The status of the deployment's waiting period. READY\_WAIT
678
- # indicates the deployment is ready to start shifting traffic.
679
- # TERMINATION\_WAIT indicates the traffic is shifted, but the original
680
- # target is not terminated.
786
+ # The status of the deployment's waiting period. `READY_WAIT`
787
+ # indicates that the deployment is ready to start shifting traffic.
788
+ # `TERMINATION_WAIT` indicates that the traffic is shifted, but the
789
+ # original target is not terminated.
681
790
  # @return [String]
682
791
  #
683
792
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput AWS API Documentation
@@ -688,7 +797,7 @@ module Aws::CodeDeploy
688
797
  include Aws::Structure
689
798
  end
690
799
 
691
- # Represents the input of a CreateApplication operation.
800
+ # Represents the input of a `CreateApplication` operation.
692
801
  #
693
802
  # @note When making an API call, you may pass CreateApplicationInput
694
803
  # data as a hash:
@@ -729,7 +838,7 @@ module Aws::CodeDeploy
729
838
  include Aws::Structure
730
839
  end
731
840
 
732
- # Represents the output of a CreateApplication operation.
841
+ # Represents the output of a `CreateApplication` operation.
733
842
  #
734
843
  # @!attribute [rw] application_id
735
844
  # A unique application ID.
@@ -742,7 +851,7 @@ module Aws::CodeDeploy
742
851
  include Aws::Structure
743
852
  end
744
853
 
745
- # Represents the input of a CreateDeploymentConfig operation.
854
+ # Represents the input of a `CreateDeploymentConfig` operation.
746
855
  #
747
856
  # @note When making an API call, you may pass CreateDeploymentConfigInput
748
857
  # data as a hash:
@@ -785,7 +894,7 @@ module Aws::CodeDeploy
785
894
  # of healthy instances as a percentage of the total number of
786
895
  # instances in the deployment. If you specify FLEET\_PERCENT, at the
787
896
  # start of the deployment, AWS CodeDeploy converts the percentage to
788
- # the equivalent number of instance and rounds up fractional
897
+ # the equivalent number of instances and rounds up fractional
789
898
  # instances.
790
899
  #
791
900
  # The value parameter takes an integer.
@@ -814,7 +923,7 @@ module Aws::CodeDeploy
814
923
  include Aws::Structure
815
924
  end
816
925
 
817
- # Represents the output of a CreateDeploymentConfig operation.
926
+ # Represents the output of a `CreateDeploymentConfig` operation.
818
927
  #
819
928
  # @!attribute [rw] deployment_config_id
820
929
  # A unique deployment configuration ID.
@@ -827,7 +936,7 @@ module Aws::CodeDeploy
827
936
  include Aws::Structure
828
937
  end
829
938
 
830
- # Represents the input of a CreateDeploymentGroup operation.
939
+ # Represents the input of a `CreateDeploymentGroup` operation.
831
940
  #
832
941
  # @note When making an API call, you may pass CreateDeploymentGroupInput
833
942
  # data as a hash:
@@ -967,13 +1076,13 @@ module Aws::CodeDeploy
967
1076
  # custom deployment configuration that you create by calling the
968
1077
  # create deployment configuration operation.
969
1078
  #
970
- # CodeDeployDefault.OneAtATime is the default deployment
1079
+ # `CodeDeployDefault.OneAtATime` is the default deployment
971
1080
  # configuration. It is used if a configuration isn't specified for
972
1081
  # the deployment or deployment group.
973
1082
  #
974
1083
  # For more information about the predefined deployment configurations
975
- # in AWS CodeDeploy, see [Working with Deployment Groups in AWS
976
- # CodeDeploy][1] in the AWS CodeDeploy User Guide.
1084
+ # in AWS CodeDeploy, see [Working with Deployment Configurations in
1085
+ # CodeDeploy][1] in the *AWS CodeDeploy User Guide*.
977
1086
  #
978
1087
  #
979
1088
  #
@@ -989,7 +1098,7 @@ module Aws::CodeDeploy
989
1098
  # @!attribute [rw] on_premises_instance_tag_filters
990
1099
  # The on-premises instance tags on which to filter. The deployment
991
1100
  # group includes on-premises instances with any of the specified tags.
992
- # Cannot be used in the same call as OnPremisesTagSet.
1101
+ # Cannot be used in the same call as `OnPremisesTagSet`.
993
1102
  # @return [Array<Types::TagFilter>]
994
1103
  #
995
1104
  # @!attribute [rw] auto_scaling_groups
@@ -997,14 +1106,14 @@ module Aws::CodeDeploy
997
1106
  # @return [Array<String>]
998
1107
  #
999
1108
  # @!attribute [rw] service_role_arn
1000
- # A service role ARN that allows AWS CodeDeploy to act on the user's
1001
- # behalf when interacting with AWS services.
1109
+ # A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy
1110
+ # to act on the user's behalf when interacting with AWS services.
1002
1111
  # @return [String]
1003
1112
  #
1004
1113
  # @!attribute [rw] trigger_configurations
1005
1114
  # Information about triggers to create when the deployment group is
1006
1115
  # created. For examples, see [Create a Trigger for an AWS CodeDeploy
1007
- # Event][1] in the AWS CodeDeploy User Guide.
1116
+ # Event][1] in the *AWS CodeDeploy User Guide*.
1008
1117
  #
1009
1118
  #
1010
1119
  #
@@ -1039,7 +1148,7 @@ module Aws::CodeDeploy
1039
1148
  # @!attribute [rw] ec2_tag_set
1040
1149
  # Information about groups of tags applied to EC2 instances. The
1041
1150
  # deployment group includes only EC2 instances identified by all the
1042
- # tag groups. Cannot be used in the same call as ec2TagFilters.
1151
+ # tag groups. Cannot be used in the same call as `ec2TagFilters`.
1043
1152
  # @return [Types::EC2TagSet]
1044
1153
  #
1045
1154
  # @!attribute [rw] ecs_services
@@ -1054,7 +1163,7 @@ module Aws::CodeDeploy
1054
1163
  # Information about groups of tags applied to on-premises instances.
1055
1164
  # The deployment group includes only on-premises instances identified
1056
1165
  # by all of the tag groups. Cannot be used in the same call as
1057
- # onPremisesInstanceTagFilters.
1166
+ # `onPremisesInstanceTagFilters`.
1058
1167
  # @return [Types::OnPremisesTagSet]
1059
1168
  #
1060
1169
  # @!attribute [rw] tags
@@ -1086,7 +1195,7 @@ module Aws::CodeDeploy
1086
1195
  include Aws::Structure
1087
1196
  end
1088
1197
 
1089
- # Represents the output of a CreateDeploymentGroup operation.
1198
+ # Represents the output of a `CreateDeploymentGroup` operation.
1090
1199
  #
1091
1200
  # @!attribute [rw] deployment_group_id
1092
1201
  # A unique deployment group ID.
@@ -1099,7 +1208,7 @@ module Aws::CodeDeploy
1099
1208
  include Aws::Structure
1100
1209
  end
1101
1210
 
1102
- # Represents the input of a CreateDeployment operation.
1211
+ # Represents the input of a `CreateDeployment` operation.
1103
1212
  #
1104
1213
  # @note When making an API call, you may pass CreateDeploymentInput
1105
1214
  # data as a hash:
@@ -1181,7 +1290,7 @@ module Aws::CodeDeploy
1181
1290
  # If not specified, the value configured in the deployment group is
1182
1291
  # used as the default. If the deployment group does not have a
1183
1292
  # deployment configuration associated with it,
1184
- # CodeDeployDefault.OneAtATime is used by default.
1293
+ # `CodeDeployDefault`.`OneAtATime` is used by default.
1185
1294
  # @return [String]
1186
1295
  #
1187
1296
  # @!attribute [rw] description
@@ -1189,13 +1298,13 @@ module Aws::CodeDeploy
1189
1298
  # @return [String]
1190
1299
  #
1191
1300
  # @!attribute [rw] ignore_application_stop_failures
1192
- # If true, then if an ApplicationStop, BeforeBlockTraffic, or
1193
- # AfterBlockTraffic deployment lifecycle event to an instance fails,
1301
+ # If true, then if an `ApplicationStop`, `BeforeBlockTraffic`, or
1302
+ # `AfterBlockTraffic` deployment lifecycle event to an instance fails,
1194
1303
  # then the deployment continues to the next deployment lifecycle
1195
- # event. For example, if ApplicationStop fails, the deployment
1196
- # continues with DownloadBundle. If BeforeBlockTraffic fails, the
1197
- # deployment continues with BlockTraffic. If AfterBlockTraffic fails,
1198
- # the deployment continues with ApplicationStop.
1304
+ # event. For example, if `ApplicationStop` fails, the deployment
1305
+ # continues with `DownloadBundle`. If `BeforeBlockTraffic` fails, the
1306
+ # deployment continues with `BlockTraffic`. If `AfterBlockTraffic`
1307
+ # fails, the deployment continues with `ApplicationStop`.
1199
1308
  #
1200
1309
  # If false or not specified, then if a lifecycle event fails during a
1201
1310
  # deployment to an instance, that deployment fails. If deployment to
@@ -1204,8 +1313,8 @@ module Aws::CodeDeploy
1204
1313
  # then a deployment to the next instance is attempted.
1205
1314
  #
1206
1315
  # During a deployment, the AWS CodeDeploy agent runs the scripts
1207
- # specified for ApplicationStop, BeforeBlockTraffic, and
1208
- # AfterBlockTraffic in the AppSpec file from the previous successful
1316
+ # specified for `ApplicationStop`, `BeforeBlockTraffic`, and
1317
+ # `AfterBlockTraffic` in the AppSpec file from the previous successful
1209
1318
  # deployment. (All other scripts are run from the AppSpec file in the
1210
1319
  # current deployment.) If one of these scripts contains an error and
1211
1320
  # does not run successfully, the deployment can fail.
@@ -1213,8 +1322,8 @@ module Aws::CodeDeploy
1213
1322
  # If the cause of the failure is a script from the last successful
1214
1323
  # deployment that will never run successfully, create a new deployment
1215
1324
  # and use `ignoreApplicationStopFailures` to specify that the
1216
- # ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures
1217
- # should be ignored.
1325
+ # `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
1326
+ # failures should be ignored.
1218
1327
  # @return [Boolean]
1219
1328
  #
1220
1329
  # @!attribute [rw] target_instances
@@ -1237,7 +1346,8 @@ module Aws::CodeDeploy
1237
1346
  # exist in a deployment target location but weren't part of the
1238
1347
  # previous successful deployment.
1239
1348
  #
1240
- # The fileExistsBehavior parameter takes any of the following values:
1349
+ # The `fileExistsBehavior` parameter takes any of the following
1350
+ # values:
1241
1351
  #
1242
1352
  # * DISALLOW: The deployment fails. This is also the default behavior
1243
1353
  # if no option is specified.
@@ -1266,7 +1376,7 @@ module Aws::CodeDeploy
1266
1376
  include Aws::Structure
1267
1377
  end
1268
1378
 
1269
- # Represents the output of a CreateDeployment operation.
1379
+ # Represents the output of a `CreateDeployment` operation.
1270
1380
  #
1271
1381
  # @!attribute [rw] deployment_id
1272
1382
  # The unique ID of a deployment.
@@ -1279,7 +1389,7 @@ module Aws::CodeDeploy
1279
1389
  include Aws::Structure
1280
1390
  end
1281
1391
 
1282
- # Represents the input of a DeleteApplication operation.
1392
+ # Represents the input of a `DeleteApplication` operation.
1283
1393
  #
1284
1394
  # @note When making an API call, you may pass DeleteApplicationInput
1285
1395
  # data as a hash:
@@ -1300,7 +1410,7 @@ module Aws::CodeDeploy
1300
1410
  include Aws::Structure
1301
1411
  end
1302
1412
 
1303
- # Represents the input of a DeleteDeploymentConfig operation.
1413
+ # Represents the input of a `DeleteDeploymentConfig` operation.
1304
1414
  #
1305
1415
  # @note When making an API call, you may pass DeleteDeploymentConfigInput
1306
1416
  # data as a hash:
@@ -1321,7 +1431,7 @@ module Aws::CodeDeploy
1321
1431
  include Aws::Structure
1322
1432
  end
1323
1433
 
1324
- # Represents the input of a DeleteDeploymentGroup operation.
1434
+ # Represents the input of a `DeleteDeploymentGroup` operation.
1325
1435
  #
1326
1436
  # @note When making an API call, you may pass DeleteDeploymentGroupInput
1327
1437
  # data as a hash:
@@ -1348,7 +1458,7 @@ module Aws::CodeDeploy
1348
1458
  include Aws::Structure
1349
1459
  end
1350
1460
 
1351
- # Represents the output of a DeleteDeploymentGroup operation.
1461
+ # Represents the output of a `DeleteDeploymentGroup` operation.
1352
1462
  #
1353
1463
  # @!attribute [rw] hooks_not_cleaned_up
1354
1464
  # If the output contains no data, and the corresponding deployment
@@ -1367,7 +1477,7 @@ module Aws::CodeDeploy
1367
1477
  include Aws::Structure
1368
1478
  end
1369
1479
 
1370
- # Represents the input of a DeleteGitHubAccount operation.
1480
+ # Represents the input of a `DeleteGitHubAccount` operation.
1371
1481
  #
1372
1482
  # @note When making an API call, you may pass DeleteGitHubAccountTokenInput
1373
1483
  # data as a hash:
@@ -1387,7 +1497,7 @@ module Aws::CodeDeploy
1387
1497
  include Aws::Structure
1388
1498
  end
1389
1499
 
1390
- # Represents the output of a DeleteGitHubAccountToken operation.
1500
+ # Represents the output of a `DeleteGitHubAccountToken` operation.
1391
1501
  #
1392
1502
  # @!attribute [rw] token_name
1393
1503
  # The name of the GitHub account connection that was deleted.
@@ -1400,6 +1510,62 @@ module Aws::CodeDeploy
1400
1510
  include Aws::Structure
1401
1511
  end
1402
1512
 
1513
+ # @note When making an API call, you may pass DeleteResourcesByExternalIdInput
1514
+ # data as a hash:
1515
+ #
1516
+ # {
1517
+ # external_id: "ExternalId",
1518
+ # }
1519
+ #
1520
+ # @!attribute [rw] external_id
1521
+ # The unique ID of an external resource (for example, a CloudFormation
1522
+ # stack ID) that is linked to one or more CodeDeploy resources.
1523
+ # @return [String]
1524
+ #
1525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalIdInput AWS API Documentation
1526
+ #
1527
+ class DeleteResourcesByExternalIdInput < Struct.new(
1528
+ :external_id)
1529
+ include Aws::Structure
1530
+ end
1531
+
1532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalIdOutput AWS API Documentation
1533
+ #
1534
+ class DeleteResourcesByExternalIdOutput < Aws::EmptyStructure; end
1535
+
1536
+ # The deployment is already complete.
1537
+ #
1538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentAlreadyCompletedException AWS API Documentation
1539
+ #
1540
+ class DeploymentAlreadyCompletedException < Aws::EmptyStructure; end
1541
+
1542
+ # A deployment to a target was attempted while another deployment was in
1543
+ # progress.
1544
+ #
1545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentAlreadyStartedException AWS API Documentation
1546
+ #
1547
+ class DeploymentAlreadyStartedException < Aws::EmptyStructure; end
1548
+
1549
+ # A deployment configuration with the specified name with the IAM user
1550
+ # or AWS account already exists.
1551
+ #
1552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigAlreadyExistsException AWS API Documentation
1553
+ #
1554
+ class DeploymentConfigAlreadyExistsException < Aws::EmptyStructure; end
1555
+
1556
+ # The deployment configuration does not exist with the IAM user or AWS
1557
+ # account.
1558
+ #
1559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigDoesNotExistException AWS API Documentation
1560
+ #
1561
+ class DeploymentConfigDoesNotExistException < Aws::EmptyStructure; end
1562
+
1563
+ # The deployment configuration is still in use.
1564
+ #
1565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInUseException AWS API Documentation
1566
+ #
1567
+ class DeploymentConfigInUseException < Aws::EmptyStructure; end
1568
+
1403
1569
  # Information about a deployment configuration.
1404
1570
  #
1405
1571
  # @!attribute [rw] deployment_config_id
@@ -1426,8 +1592,8 @@ module Aws::CodeDeploy
1426
1592
  #
1427
1593
  # @!attribute [rw] traffic_routing_config
1428
1594
  # The configuration that specifies how the deployment traffic is
1429
- # routed. Only deployments with a Lambda compute platform can specify
1430
- # this.
1595
+ # routed. Used for deployments with a Lambda or ECS compute platform
1596
+ # only.
1431
1597
  # @return [Types::TrafficRoutingConfig]
1432
1598
  #
1433
1599
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo AWS API Documentation
@@ -1442,6 +1608,38 @@ module Aws::CodeDeploy
1442
1608
  include Aws::Structure
1443
1609
  end
1444
1610
 
1611
+ # The deployment configurations limit was exceeded.
1612
+ #
1613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigLimitExceededException AWS API Documentation
1614
+ #
1615
+ class DeploymentConfigLimitExceededException < Aws::EmptyStructure; end
1616
+
1617
+ # The deployment configuration name was not specified.
1618
+ #
1619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigNameRequiredException AWS API Documentation
1620
+ #
1621
+ class DeploymentConfigNameRequiredException < Aws::EmptyStructure; end
1622
+
1623
+ # The deployment with the IAM user or AWS account does not exist.
1624
+ #
1625
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentDoesNotExistException AWS API Documentation
1626
+ #
1627
+ class DeploymentDoesNotExistException < Aws::EmptyStructure; end
1628
+
1629
+ # A deployment group with the specified name with the IAM user or AWS
1630
+ # account already exists.
1631
+ #
1632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupAlreadyExistsException AWS API Documentation
1633
+ #
1634
+ class DeploymentGroupAlreadyExistsException < Aws::EmptyStructure; end
1635
+
1636
+ # The named deployment group with the IAM user or AWS account does not
1637
+ # exist.
1638
+ #
1639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupDoesNotExistException AWS API Documentation
1640
+ #
1641
+ class DeploymentGroupDoesNotExistException < Aws::EmptyStructure; end
1642
+
1445
1643
  # Information about a deployment group.
1446
1644
  #
1447
1645
  # @!attribute [rw] application_name
@@ -1581,6 +1779,24 @@ module Aws::CodeDeploy
1581
1779
  include Aws::Structure
1582
1780
  end
1583
1781
 
1782
+ # The deployment groups limit was exceeded.
1783
+ #
1784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupLimitExceededException AWS API Documentation
1785
+ #
1786
+ class DeploymentGroupLimitExceededException < Aws::EmptyStructure; end
1787
+
1788
+ # The deployment group name was not specified.
1789
+ #
1790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupNameRequiredException AWS API Documentation
1791
+ #
1792
+ class DeploymentGroupNameRequiredException < Aws::EmptyStructure; end
1793
+
1794
+ # At least one deployment ID must be specified.
1795
+ #
1796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentIdRequiredException AWS API Documentation
1797
+ #
1798
+ class DeploymentIdRequiredException < Aws::EmptyStructure; end
1799
+
1584
1800
  # Information about a deployment.
1585
1801
  #
1586
1802
  # @!attribute [rw] application_name
@@ -1647,11 +1863,11 @@ module Aws::CodeDeploy
1647
1863
  # @!attribute [rw] creator
1648
1864
  # The means by which the deployment was created:
1649
1865
  #
1650
- # * user: A user created the deployment.
1866
+ # * `user`\: A user created the deployment.
1651
1867
  #
1652
- # * autoscaling: Amazon EC2 Auto Scaling created the deployment.
1868
+ # * `autoscaling`\: Amazon EC2 Auto Scaling created the deployment.
1653
1869
  #
1654
- # * codeDeployRollback: A rollback process created the deployment.
1870
+ # * `codeDeployRollback`\: A rollback process created the deployment.
1655
1871
  # @return [String]
1656
1872
  #
1657
1873
  # @!attribute [rw] ignore_application_stop_failures
@@ -1734,14 +1950,14 @@ module Aws::CodeDeploy
1734
1950
  # exist in a deployment target location but weren't part of the
1735
1951
  # previous successful deployment.
1736
1952
  #
1737
- # * DISALLOW: The deployment fails. This is also the default behavior
1738
- # if no option is specified.
1953
+ # * `DISALLOW`\: The deployment fails. This is also the default
1954
+ # behavior if no option is specified.
1739
1955
  #
1740
- # * OVERWRITE: The version of the file from the application revision
1741
- # currently being deployed replaces the version already on the
1742
- # instance.
1956
+ # * `OVERWRITE`\: The version of the file from the application
1957
+ # revision currently being deployed replaces the version already on
1958
+ # the instance.
1743
1959
  #
1744
- # * RETAIN: The version of the file already on the instance is kept
1960
+ # * `RETAIN`\: The version of the file already on the instance is kept
1745
1961
  # and used as part of the new deployment.
1746
1962
  # @return [String]
1747
1963
  #
@@ -1754,6 +1970,11 @@ module Aws::CodeDeploy
1754
1970
  # `Server`, or `ECS`).
1755
1971
  # @return [String]
1756
1972
  #
1973
+ # @!attribute [rw] external_id
1974
+ # The unique ID for an external resource (for example, a
1975
+ # CloudFormation stack ID) that is linked to this deployment.
1976
+ # @return [String]
1977
+ #
1757
1978
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
1758
1979
  #
1759
1980
  class DeploymentInfo < Struct.new(
@@ -1783,10 +2004,30 @@ module Aws::CodeDeploy
1783
2004
  :additional_deployment_status_info,
1784
2005
  :file_exists_behavior,
1785
2006
  :deployment_status_messages,
1786
- :compute_platform)
2007
+ :compute_platform,
2008
+ :external_id)
1787
2009
  include Aws::Structure
1788
2010
  end
1789
2011
 
2012
+ # The deployment does not have a status of Ready and can't continue
2013
+ # yet.
2014
+ #
2015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentIsNotInReadyStateException AWS API Documentation
2016
+ #
2017
+ class DeploymentIsNotInReadyStateException < Aws::EmptyStructure; end
2018
+
2019
+ # The number of allowed deployments was exceeded.
2020
+ #
2021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentLimitExceededException AWS API Documentation
2022
+ #
2023
+ class DeploymentLimitExceededException < Aws::EmptyStructure; end
2024
+
2025
+ # The specified deployment has not started.
2026
+ #
2027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentNotStartedException AWS API Documentation
2028
+ #
2029
+ class DeploymentNotStartedException < Aws::EmptyStructure; end
2030
+
1790
2031
  # Information about the deployment status of the instances in the
1791
2032
  # deployment.
1792
2033
  #
@@ -1857,8 +2098,8 @@ module Aws::CodeDeploy
1857
2098
  # @!attribute [rw] wait_time_in_minutes
1858
2099
  # The number of minutes to wait before the status of a blue/green
1859
2100
  # deployment is changed to Stopped if rerouting is not started
1860
- # manually. Applies only to the STOP\_DEPLOYMENT option for
1861
- # actionOnTimeout
2101
+ # manually. Applies only to the `STOP_DEPLOYMENT` option for
2102
+ # `actionOnTimeout`.
1862
2103
  # @return [Integer]
1863
2104
  #
1864
2105
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption AWS API Documentation
@@ -1903,7 +2144,7 @@ module Aws::CodeDeploy
1903
2144
  #
1904
2145
  # @!attribute [rw] deployment_target_type
1905
2146
  # The deployment type that is specific to the deployment's compute
1906
- # platform.
2147
+ # platform or deployments initiated by a CloudFormation stack update.
1907
2148
  # @return [String]
1908
2149
  #
1909
2150
  # @!attribute [rw] instance_target
@@ -1921,17 +2162,45 @@ module Aws::CodeDeploy
1921
2162
  # ECS compute platform.
1922
2163
  # @return [Types::ECSTarget]
1923
2164
  #
2165
+ # @!attribute [rw] cloud_formation_target
2166
+ # Information about the target to be updated by an AWS CloudFormation
2167
+ # blue/green deployment. This target type is used for all deployments
2168
+ # initiated by a CloudFormation stack update.
2169
+ # @return [Types::CloudFormationTarget]
2170
+ #
1924
2171
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentTarget AWS API Documentation
1925
2172
  #
1926
2173
  class DeploymentTarget < Struct.new(
1927
2174
  :deployment_target_type,
1928
2175
  :instance_target,
1929
2176
  :lambda_target,
1930
- :ecs_target)
2177
+ :ecs_target,
2178
+ :cloud_formation_target)
1931
2179
  include Aws::Structure
1932
2180
  end
1933
2181
 
1934
- # Represents the input of a DeregisterOnPremisesInstance operation.
2182
+ # The provided target ID does not belong to the attempted deployment.
2183
+ #
2184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentTargetDoesNotExistException AWS API Documentation
2185
+ #
2186
+ class DeploymentTargetDoesNotExistException < Aws::EmptyStructure; end
2187
+
2188
+ # A deployment target ID was not provided.
2189
+ #
2190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentTargetIdRequiredException AWS API Documentation
2191
+ #
2192
+ class DeploymentTargetIdRequiredException < Aws::EmptyStructure; end
2193
+
2194
+ # The maximum number of targets that can be associated with an Amazon
2195
+ # ECS or AWS Lambda deployment was exceeded. The target list of both
2196
+ # types of deployments must have exactly one item. This exception does
2197
+ # not apply to EC2/On-premises deployments.
2198
+ #
2199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentTargetListSizeExceededException AWS API Documentation
2200
+ #
2201
+ class DeploymentTargetListSizeExceededException < Aws::EmptyStructure; end
2202
+
2203
+ # Represents the input of a `DeregisterOnPremisesInstance` operation.
1935
2204
  #
1936
2205
  # @note When making an API call, you may pass DeregisterOnPremisesInstanceInput
1937
2206
  # data as a hash:
@@ -1951,6 +2220,12 @@ module Aws::CodeDeploy
1951
2220
  include Aws::Structure
1952
2221
  end
1953
2222
 
2223
+ # The description is too long.
2224
+ #
2225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DescriptionTooLongException AWS API Documentation
2226
+ #
2227
+ class DescriptionTooLongException < Aws::EmptyStructure; end
2228
+
1954
2229
  # Diagnostic information about executable scripts that are part of a
1955
2230
  # deployment.
1956
2231
  #
@@ -2021,11 +2296,11 @@ module Aws::CodeDeploy
2021
2296
  # @!attribute [rw] type
2022
2297
  # The tag filter type:
2023
2298
  #
2024
- # * KEY\_ONLY: Key only.
2299
+ # * `KEY_ONLY`\: Key only.
2025
2300
  #
2026
- # * VALUE\_ONLY: Value only.
2301
+ # * `VALUE_ONLY`\: Value only.
2027
2302
  #
2028
- # * KEY\_AND\_VALUE: Key and value.
2303
+ # * `KEY_AND_VALUE`\: Key and value.
2029
2304
  # @return [String]
2030
2305
  #
2031
2306
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter AWS API Documentation
@@ -2095,6 +2370,14 @@ module Aws::CodeDeploy
2095
2370
  include Aws::Structure
2096
2371
  end
2097
2372
 
2373
+ # The Amazon ECS service is associated with more than one deployment
2374
+ # groups. An Amazon ECS service can be associated with only one
2375
+ # deployment group.
2376
+ #
2377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ECSServiceMappingLimitExceededException AWS API Documentation
2378
+ #
2379
+ class ECSServiceMappingLimitExceededException < Aws::EmptyStructure; end
2380
+
2098
2381
  # Information about the target of an Amazon ECS deployment.
2099
2382
  #
2100
2383
  # @!attribute [rw] deployment_id
@@ -2106,7 +2389,7 @@ module Aws::CodeDeploy
2106
2389
  # @return [String]
2107
2390
  #
2108
2391
  # @!attribute [rw] target_arn
2109
- # The ARN of the target.
2392
+ # The Amazon Resource Name (ARN) of the target.
2110
2393
  # @return [String]
2111
2394
  #
2112
2395
  # @!attribute [rw] last_updated_at
@@ -2340,7 +2623,7 @@ module Aws::CodeDeploy
2340
2623
  include Aws::Structure
2341
2624
  end
2342
2625
 
2343
- # Represents the input of a GetApplication operation.
2626
+ # Represents the input of a `GetApplication` operation.
2344
2627
  #
2345
2628
  # @note When making an API call, you may pass GetApplicationInput
2346
2629
  # data as a hash:
@@ -2361,7 +2644,7 @@ module Aws::CodeDeploy
2361
2644
  include Aws::Structure
2362
2645
  end
2363
2646
 
2364
- # Represents the output of a GetApplication operation.
2647
+ # Represents the output of a `GetApplication` operation.
2365
2648
  #
2366
2649
  # @!attribute [rw] application
2367
2650
  # Information about the application.
@@ -2374,7 +2657,7 @@ module Aws::CodeDeploy
2374
2657
  include Aws::Structure
2375
2658
  end
2376
2659
 
2377
- # Represents the input of a GetApplicationRevision operation.
2660
+ # Represents the input of a `GetApplicationRevision` operation.
2378
2661
  #
2379
2662
  # @note When making an API call, you may pass GetApplicationRevisionInput
2380
2663
  # data as a hash:
@@ -2422,7 +2705,7 @@ module Aws::CodeDeploy
2422
2705
  include Aws::Structure
2423
2706
  end
2424
2707
 
2425
- # Represents the output of a GetApplicationRevision operation.
2708
+ # Represents the output of a `GetApplicationRevision` operation.
2426
2709
  #
2427
2710
  # @!attribute [rw] application_name
2428
2711
  # The name of the application that corresponds to the revision.
@@ -2446,7 +2729,7 @@ module Aws::CodeDeploy
2446
2729
  include Aws::Structure
2447
2730
  end
2448
2731
 
2449
- # Represents the input of a GetDeploymentConfig operation.
2732
+ # Represents the input of a `GetDeploymentConfig` operation.
2450
2733
  #
2451
2734
  # @note When making an API call, you may pass GetDeploymentConfigInput
2452
2735
  # data as a hash:
@@ -2467,7 +2750,7 @@ module Aws::CodeDeploy
2467
2750
  include Aws::Structure
2468
2751
  end
2469
2752
 
2470
- # Represents the output of a GetDeploymentConfig operation.
2753
+ # Represents the output of a `GetDeploymentConfig` operation.
2471
2754
  #
2472
2755
  # @!attribute [rw] deployment_config_info
2473
2756
  # Information about the deployment configuration.
@@ -2480,7 +2763,7 @@ module Aws::CodeDeploy
2480
2763
  include Aws::Structure
2481
2764
  end
2482
2765
 
2483
- # Represents the input of a GetDeploymentGroup operation.
2766
+ # Represents the input of a `GetDeploymentGroup` operation.
2484
2767
  #
2485
2768
  # @note When making an API call, you may pass GetDeploymentGroupInput
2486
2769
  # data as a hash:
@@ -2507,7 +2790,7 @@ module Aws::CodeDeploy
2507
2790
  include Aws::Structure
2508
2791
  end
2509
2792
 
2510
- # Represents the output of a GetDeploymentGroup operation.
2793
+ # Represents the output of a `GetDeploymentGroup` operation.
2511
2794
  #
2512
2795
  # @!attribute [rw] deployment_group_info
2513
2796
  # Information about the deployment group.
@@ -2520,7 +2803,7 @@ module Aws::CodeDeploy
2520
2803
  include Aws::Structure
2521
2804
  end
2522
2805
 
2523
- # Represents the input of a GetDeployment operation.
2806
+ # Represents the input of a `GetDeployment` operation.
2524
2807
  #
2525
2808
  # @note When making an API call, you may pass GetDeploymentInput
2526
2809
  # data as a hash:
@@ -2541,7 +2824,7 @@ module Aws::CodeDeploy
2541
2824
  include Aws::Structure
2542
2825
  end
2543
2826
 
2544
- # Represents the input of a GetDeploymentInstance operation.
2827
+ # Represents the input of a `GetDeploymentInstance` operation.
2545
2828
  #
2546
2829
  # @note When making an API call, you may pass GetDeploymentInstanceInput
2547
2830
  # data as a hash:
@@ -2567,7 +2850,7 @@ module Aws::CodeDeploy
2567
2850
  include Aws::Structure
2568
2851
  end
2569
2852
 
2570
- # Represents the output of a GetDeploymentInstance operation.
2853
+ # Represents the output of a `GetDeploymentInstance` operation.
2571
2854
  #
2572
2855
  # @!attribute [rw] instance_summary
2573
2856
  # Information about the instance.
@@ -2580,7 +2863,7 @@ module Aws::CodeDeploy
2580
2863
  include Aws::Structure
2581
2864
  end
2582
2865
 
2583
- # Represents the output of a GetDeployment operation.
2866
+ # Represents the output of a `GetDeployment` operation.
2584
2867
  #
2585
2868
  # @!attribute [rw] deployment_info
2586
2869
  # Information about the deployment.
@@ -2619,7 +2902,7 @@ module Aws::CodeDeploy
2619
2902
 
2620
2903
  # @!attribute [rw] deployment_target
2621
2904
  # A deployment target that contains information about a deployment
2622
- # such as its status, lifecyle events, and when it was last updated.
2905
+ # such as its status, lifecycle events, and when it was last updated.
2623
2906
  # It also contains metadata about the deployment target. The
2624
2907
  # deployment target metadata depends on the deployment target's type
2625
2908
  # (`instanceTarget`, `lambdaTarget`, or `ecsTarget`).
@@ -2632,7 +2915,7 @@ module Aws::CodeDeploy
2632
2915
  include Aws::Structure
2633
2916
  end
2634
2917
 
2635
- # Represents the input of a GetOnPremisesInstance operation.
2918
+ # Represents the input of a `GetOnPremisesInstance` operation.
2636
2919
  #
2637
2920
  # @note When making an API call, you may pass GetOnPremisesInstanceInput
2638
2921
  # data as a hash:
@@ -2652,7 +2935,7 @@ module Aws::CodeDeploy
2652
2935
  include Aws::Structure
2653
2936
  end
2654
2937
 
2655
- # Represents the output of a GetOnPremisesInstance operation.
2938
+ # Represents the output of a `GetOnPremisesInstance` operation.
2656
2939
  #
2657
2940
  # @!attribute [rw] instance_info
2658
2941
  # Information about the on-premises instance.
@@ -2665,6 +2948,19 @@ module Aws::CodeDeploy
2665
2948
  include Aws::Structure
2666
2949
  end
2667
2950
 
2951
+ # No GitHub account connection exists with the named specified in the
2952
+ # call.
2953
+ #
2954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubAccountTokenDoesNotExistException AWS API Documentation
2955
+ #
2956
+ class GitHubAccountTokenDoesNotExistException < Aws::EmptyStructure; end
2957
+
2958
+ # The call is missing a required GitHub account connection name.
2959
+ #
2960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubAccountTokenNameRequiredException AWS API Documentation
2961
+ #
2962
+ class GitHubAccountTokenNameRequiredException < Aws::EmptyStructure; end
2963
+
2668
2964
  # Information about the location of application artifacts stored in
2669
2965
  # GitHub.
2670
2966
  #
@@ -2710,10 +3006,10 @@ module Aws::CodeDeploy
2710
3006
  # @!attribute [rw] action
2711
3007
  # The method used to add instances to a replacement environment.
2712
3008
  #
2713
- # * DISCOVER\_EXISTING: Use instances that already exist or will be
3009
+ # * `DISCOVER_EXISTING`\: Use instances that already exist or will be
2714
3010
  # created manually.
2715
3011
  #
2716
- # * COPY\_AUTO\_SCALING\_GROUP: Use settings from a specified Auto
3012
+ # * `COPY_AUTO_SCALING_GROUP`\: Use settings from a specified Auto
2717
3013
  # Scaling group to define and create instances in a new Auto Scaling
2718
3014
  # group.
2719
3015
  # @return [String]
@@ -2725,6 +3021,45 @@ module Aws::CodeDeploy
2725
3021
  include Aws::Structure
2726
3022
  end
2727
3023
 
3024
+ # No IAM ARN was included in the request. You must use an IAM session
3025
+ # ARN or IAM user ARN in the request.
3026
+ #
3027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/IamArnRequiredException AWS API Documentation
3028
+ #
3029
+ class IamArnRequiredException < Aws::EmptyStructure; end
3030
+
3031
+ # The request included an IAM session ARN that has already been used to
3032
+ # register a different instance.
3033
+ #
3034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/IamSessionArnAlreadyRegisteredException AWS API Documentation
3035
+ #
3036
+ class IamSessionArnAlreadyRegisteredException < Aws::EmptyStructure; end
3037
+
3038
+ # The specified IAM user ARN is already registered with an on-premises
3039
+ # instance.
3040
+ #
3041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/IamUserArnAlreadyRegisteredException AWS API Documentation
3042
+ #
3043
+ class IamUserArnAlreadyRegisteredException < Aws::EmptyStructure; end
3044
+
3045
+ # An IAM user ARN was not specified.
3046
+ #
3047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/IamUserArnRequiredException AWS API Documentation
3048
+ #
3049
+ class IamUserArnRequiredException < Aws::EmptyStructure; end
3050
+
3051
+ # The specified instance does not exist in the deployment group.
3052
+ #
3053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceDoesNotExistException AWS API Documentation
3054
+ #
3055
+ class InstanceDoesNotExistException < Aws::EmptyStructure; end
3056
+
3057
+ # The instance ID was not specified.
3058
+ #
3059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceIdRequiredException AWS API Documentation
3060
+ #
3061
+ class InstanceIdRequiredException < Aws::EmptyStructure; end
3062
+
2728
3063
  # Information about an on-premises instance.
2729
3064
  #
2730
3065
  # @!attribute [rw] instance_name
@@ -2769,6 +3104,31 @@ module Aws::CodeDeploy
2769
3104
  include Aws::Structure
2770
3105
  end
2771
3106
 
3107
+ # The maximum number of allowed on-premises instances in a single call
3108
+ # was exceeded.
3109
+ #
3110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceLimitExceededException AWS API Documentation
3111
+ #
3112
+ class InstanceLimitExceededException < Aws::EmptyStructure; end
3113
+
3114
+ # The specified on-premises instance name is already registered.
3115
+ #
3116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceNameAlreadyRegisteredException AWS API Documentation
3117
+ #
3118
+ class InstanceNameAlreadyRegisteredException < Aws::EmptyStructure; end
3119
+
3120
+ # An on-premises instance name was not specified.
3121
+ #
3122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceNameRequiredException AWS API Documentation
3123
+ #
3124
+ class InstanceNameRequiredException < Aws::EmptyStructure; end
3125
+
3126
+ # The specified on-premises instance is not registered.
3127
+ #
3128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceNotRegisteredException AWS API Documentation
3129
+ #
3130
+ class InstanceNotRegisteredException < Aws::EmptyStructure; end
3131
+
2772
3132
  # Information about an instance in a deployment.
2773
3133
  #
2774
3134
  # @!attribute [rw] deployment_id
@@ -2782,21 +3142,21 @@ module Aws::CodeDeploy
2782
3142
  # @!attribute [rw] status
2783
3143
  # The deployment status for this instance:
2784
3144
  #
2785
- # * Pending: The deployment is pending for this instance.
3145
+ # * `Pending`\: The deployment is pending for this instance.
2786
3146
  #
2787
- # * In Progress: The deployment is in progress for this instance.
3147
+ # * `In Progress`\: The deployment is in progress for this instance.
2788
3148
  #
2789
- # * Succeeded: The deployment has succeeded for this instance.
3149
+ # * `Succeeded`\: The deployment has succeeded for this instance.
2790
3150
  #
2791
- # * Failed: The deployment has failed for this instance.
3151
+ # * `Failed`\: The deployment has failed for this instance.
2792
3152
  #
2793
- # * Skipped: The deployment has been skipped for this instance.
3153
+ # * `Skipped`\: The deployment has been skipped for this instance.
2794
3154
  #
2795
- # * Unknown: The deployment status is unknown for this instance.
3155
+ # * `Unknown`\: The deployment status is unknown for this instance.
2796
3156
  # @return [String]
2797
3157
  #
2798
3158
  # @!attribute [rw] last_updated_at
2799
- # A timestamp that indicaties when the instance information was last
3159
+ # A timestamp that indicates when the instance information was last
2800
3160
  # updated.
2801
3161
  # @return [Time]
2802
3162
  #
@@ -2838,7 +3198,7 @@ module Aws::CodeDeploy
2838
3198
  # @return [String]
2839
3199
  #
2840
3200
  # @!attribute [rw] target_arn
2841
- # The ARN of the target.
3201
+ # The Amazon Resource Name (ARN) of the target.
2842
3202
  # @return [String]
2843
3203
  #
2844
3204
  # @!attribute [rw] status
@@ -2872,6 +3232,399 @@ module Aws::CodeDeploy
2872
3232
  include Aws::Structure
2873
3233
  end
2874
3234
 
3235
+ # The format of the alarm configuration is invalid. Possible causes
3236
+ # include:
3237
+ #
3238
+ # * The alarm list is null.
3239
+ #
3240
+ # * The alarm object is null.
3241
+ #
3242
+ # * The alarm name is empty or null or exceeds the limit of 255
3243
+ # characters.
3244
+ #
3245
+ # * Two alarms with the same name have been specified.
3246
+ #
3247
+ # * The alarm configuration is enabled, but the alarm list is empty.
3248
+ #
3249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidAlarmConfigException AWS API Documentation
3250
+ #
3251
+ class InvalidAlarmConfigException < Aws::EmptyStructure; end
3252
+
3253
+ # The application name was specified in an invalid format.
3254
+ #
3255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidApplicationNameException AWS API Documentation
3256
+ #
3257
+ class InvalidApplicationNameException < Aws::EmptyStructure; end
3258
+
3259
+ # The specified ARN is not in a valid format.
3260
+ #
3261
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidArnException AWS API Documentation
3262
+ #
3263
+ class InvalidArnException < Aws::EmptyStructure; end
3264
+
3265
+ # The automatic rollback configuration was specified in an invalid
3266
+ # format. For example, automatic rollback is enabled, but an invalid
3267
+ # triggering event type or no event types were listed.
3268
+ #
3269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidAutoRollbackConfigException AWS API Documentation
3270
+ #
3271
+ class InvalidAutoRollbackConfigException < Aws::EmptyStructure; end
3272
+
3273
+ # The Auto Scaling group was specified in an invalid format or does not
3274
+ # exist.
3275
+ #
3276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidAutoScalingGroupException AWS API Documentation
3277
+ #
3278
+ class InvalidAutoScalingGroupException < Aws::EmptyStructure; end
3279
+
3280
+ # The configuration for the blue/green deployment group was provided in
3281
+ # an invalid format. For information about deployment configuration
3282
+ # format, see CreateDeploymentConfig.
3283
+ #
3284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidBlueGreenDeploymentConfigurationException AWS API Documentation
3285
+ #
3286
+ class InvalidBlueGreenDeploymentConfigurationException < Aws::EmptyStructure; end
3287
+
3288
+ # The bucket name either doesn't exist or was specified in an invalid
3289
+ # format.
3290
+ #
3291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidBucketNameFilterException AWS API Documentation
3292
+ #
3293
+ class InvalidBucketNameFilterException < Aws::EmptyStructure; end
3294
+
3295
+ # The computePlatform is invalid. The computePlatform should be
3296
+ # `Lambda`, `Server`, or `ECS`.
3297
+ #
3298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidComputePlatformException AWS API Documentation
3299
+ #
3300
+ class InvalidComputePlatformException < Aws::EmptyStructure; end
3301
+
3302
+ # The deployed state filter was specified in an invalid format.
3303
+ #
3304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeployedStateFilterException AWS API Documentation
3305
+ #
3306
+ class InvalidDeployedStateFilterException < Aws::EmptyStructure; end
3307
+
3308
+ # The ID of the deployment configuration is invalid.
3309
+ #
3310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentConfigIdException AWS API Documentation
3311
+ #
3312
+ class InvalidDeploymentConfigIdException < Aws::EmptyStructure; end
3313
+
3314
+ # The deployment configuration name was specified in an invalid format.
3315
+ #
3316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentConfigNameException AWS API Documentation
3317
+ #
3318
+ class InvalidDeploymentConfigNameException < Aws::EmptyStructure; end
3319
+
3320
+ # The deployment group name was specified in an invalid format.
3321
+ #
3322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentGroupNameException AWS API Documentation
3323
+ #
3324
+ class InvalidDeploymentGroupNameException < Aws::EmptyStructure; end
3325
+
3326
+ # At least one of the deployment IDs was specified in an invalid format.
3327
+ #
3328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentIdException AWS API Documentation
3329
+ #
3330
+ class InvalidDeploymentIdException < Aws::EmptyStructure; end
3331
+
3332
+ # An instance type was specified for an in-place deployment. Instance
3333
+ # types are supported for blue/green deployments only.
3334
+ #
3335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentInstanceTypeException AWS API Documentation
3336
+ #
3337
+ class InvalidDeploymentInstanceTypeException < Aws::EmptyStructure; end
3338
+
3339
+ # The specified deployment status doesn't exist or cannot be
3340
+ # determined.
3341
+ #
3342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentStatusException AWS API Documentation
3343
+ #
3344
+ class InvalidDeploymentStatusException < Aws::EmptyStructure; end
3345
+
3346
+ # An invalid deployment style was specified. Valid deployment types
3347
+ # include "IN\_PLACE" and "BLUE\_GREEN." Valid deployment options
3348
+ # include "WITH\_TRAFFIC\_CONTROL" and "WITHOUT\_TRAFFIC\_CONTROL."
3349
+ #
3350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentStyleException AWS API Documentation
3351
+ #
3352
+ class InvalidDeploymentStyleException < Aws::EmptyStructure; end
3353
+
3354
+ # The target ID provided was not valid.
3355
+ #
3356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentTargetIdException AWS API Documentation
3357
+ #
3358
+ class InvalidDeploymentTargetIdException < Aws::EmptyStructure; end
3359
+
3360
+ # The wait type is invalid.
3361
+ #
3362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidDeploymentWaitTypeException AWS API Documentation
3363
+ #
3364
+ class InvalidDeploymentWaitTypeException < Aws::EmptyStructure; end
3365
+
3366
+ # A call was submitted that specified both Ec2TagFilters and Ec2TagSet,
3367
+ # but only one of these data types can be used in a single call.
3368
+ #
3369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidEC2TagCombinationException AWS API Documentation
3370
+ #
3371
+ class InvalidEC2TagCombinationException < Aws::EmptyStructure; end
3372
+
3373
+ # The tag was specified in an invalid format.
3374
+ #
3375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidEC2TagException AWS API Documentation
3376
+ #
3377
+ class InvalidEC2TagException < Aws::EmptyStructure; end
3378
+
3379
+ # The Amazon ECS service identifier is not valid.
3380
+ #
3381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidECSServiceException AWS API Documentation
3382
+ #
3383
+ class InvalidECSServiceException < Aws::EmptyStructure; end
3384
+
3385
+ # The external ID was specified in an invalid format.
3386
+ #
3387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidExternalIdException AWS API Documentation
3388
+ #
3389
+ class InvalidExternalIdException < Aws::EmptyStructure; end
3390
+
3391
+ # An invalid fileExistsBehavior option was specified to determine how
3392
+ # AWS CodeDeploy handles files or directories that already exist in a
3393
+ # deployment target location, but weren't part of the previous
3394
+ # successful deployment. Valid values include "DISALLOW,"
3395
+ # "OVERWRITE," and "RETAIN."
3396
+ #
3397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidFileExistsBehaviorException AWS API Documentation
3398
+ #
3399
+ class InvalidFileExistsBehaviorException < Aws::EmptyStructure; end
3400
+
3401
+ # The GitHub token is not valid.
3402
+ #
3403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidGitHubAccountTokenException AWS API Documentation
3404
+ #
3405
+ class InvalidGitHubAccountTokenException < Aws::EmptyStructure; end
3406
+
3407
+ # The format of the specified GitHub account connection name is invalid.
3408
+ #
3409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidGitHubAccountTokenNameException AWS API Documentation
3410
+ #
3411
+ class InvalidGitHubAccountTokenNameException < Aws::EmptyStructure; end
3412
+
3413
+ # The IAM session ARN was specified in an invalid format.
3414
+ #
3415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidIamSessionArnException AWS API Documentation
3416
+ #
3417
+ class InvalidIamSessionArnException < Aws::EmptyStructure; end
3418
+
3419
+ # The IAM user ARN was specified in an invalid format.
3420
+ #
3421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidIamUserArnException AWS API Documentation
3422
+ #
3423
+ class InvalidIamUserArnException < Aws::EmptyStructure; end
3424
+
3425
+ # The IgnoreApplicationStopFailures value is invalid. For AWS Lambda
3426
+ # deployments, `false` is expected. For EC2/On-premises deployments,
3427
+ # `true` or `false` is expected.
3428
+ #
3429
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidIgnoreApplicationStopFailuresValueException AWS API Documentation
3430
+ #
3431
+ class InvalidIgnoreApplicationStopFailuresValueException < Aws::EmptyStructure; end
3432
+
3433
+ # The input was specified in an invalid format.
3434
+ #
3435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidInputException AWS API Documentation
3436
+ #
3437
+ class InvalidInputException < Aws::EmptyStructure; end
3438
+
3439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidInstanceIdException AWS API Documentation
3440
+ #
3441
+ class InvalidInstanceIdException < Aws::EmptyStructure; end
3442
+
3443
+ # The on-premises instance name was specified in an invalid format.
3444
+ #
3445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidInstanceNameException AWS API Documentation
3446
+ #
3447
+ class InvalidInstanceNameException < Aws::EmptyStructure; end
3448
+
3449
+ # The specified instance status does not exist.
3450
+ #
3451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidInstanceStatusException AWS API Documentation
3452
+ #
3453
+ class InvalidInstanceStatusException < Aws::EmptyStructure; end
3454
+
3455
+ # An invalid instance type was specified for instances in a blue/green
3456
+ # deployment. Valid values include "Blue" for an original environment
3457
+ # and "Green" for a replacement environment.
3458
+ #
3459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidInstanceTypeException AWS API Documentation
3460
+ #
3461
+ class InvalidInstanceTypeException < Aws::EmptyStructure; end
3462
+
3463
+ # The specified key prefix filter was specified in an invalid format.
3464
+ #
3465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidKeyPrefixFilterException AWS API Documentation
3466
+ #
3467
+ class InvalidKeyPrefixFilterException < Aws::EmptyStructure; end
3468
+
3469
+ # A lifecycle event hook is invalid. Review the `hooks` section in your
3470
+ # AppSpec file to ensure the lifecycle events and `hooks` functions are
3471
+ # valid.
3472
+ #
3473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidLifecycleEventHookExecutionIdException AWS API Documentation
3474
+ #
3475
+ class InvalidLifecycleEventHookExecutionIdException < Aws::EmptyStructure; end
3476
+
3477
+ # The result of a Lambda validation function that verifies a lifecycle
3478
+ # event is invalid. It should return `Succeeded` or `Failed`.
3479
+ #
3480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidLifecycleEventHookExecutionStatusException AWS API Documentation
3481
+ #
3482
+ class InvalidLifecycleEventHookExecutionStatusException < Aws::EmptyStructure; end
3483
+
3484
+ # An invalid load balancer name, or no load balancer name, was
3485
+ # specified.
3486
+ #
3487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidLoadBalancerInfoException AWS API Documentation
3488
+ #
3489
+ class InvalidLoadBalancerInfoException < Aws::EmptyStructure; end
3490
+
3491
+ # The minimum healthy instance value was specified in an invalid format.
3492
+ #
3493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidMinimumHealthyHostValueException AWS API Documentation
3494
+ #
3495
+ class InvalidMinimumHealthyHostValueException < Aws::EmptyStructure; end
3496
+
3497
+ # The next token was specified in an invalid format.
3498
+ #
3499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidNextTokenException AWS API Documentation
3500
+ #
3501
+ class InvalidNextTokenException < Aws::EmptyStructure; end
3502
+
3503
+ # A call was submitted that specified both OnPremisesTagFilters and
3504
+ # OnPremisesTagSet, but only one of these data types can be used in a
3505
+ # single call.
3506
+ #
3507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidOnPremisesTagCombinationException AWS API Documentation
3508
+ #
3509
+ class InvalidOnPremisesTagCombinationException < Aws::EmptyStructure; end
3510
+
3511
+ # An invalid operation was detected.
3512
+ #
3513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidOperationException AWS API Documentation
3514
+ #
3515
+ class InvalidOperationException < Aws::EmptyStructure; end
3516
+
3517
+ # The registration status was specified in an invalid format.
3518
+ #
3519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidRegistrationStatusException AWS API Documentation
3520
+ #
3521
+ class InvalidRegistrationStatusException < Aws::EmptyStructure; end
3522
+
3523
+ # The revision was specified in an invalid format.
3524
+ #
3525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidRevisionException AWS API Documentation
3526
+ #
3527
+ class InvalidRevisionException < Aws::EmptyStructure; end
3528
+
3529
+ # The service role ARN was specified in an invalid format. Or, if an
3530
+ # Auto Scaling group was specified, the specified service role does not
3531
+ # grant the appropriate permissions to Amazon EC2 Auto Scaling.
3532
+ #
3533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidRoleException AWS API Documentation
3534
+ #
3535
+ class InvalidRoleException < Aws::EmptyStructure; end
3536
+
3537
+ # The column name to sort by is either not present or was specified in
3538
+ # an invalid format.
3539
+ #
3540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidSortByException AWS API Documentation
3541
+ #
3542
+ class InvalidSortByException < Aws::EmptyStructure; end
3543
+
3544
+ # The sort order was specified in an invalid format.
3545
+ #
3546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidSortOrderException AWS API Documentation
3547
+ #
3548
+ class InvalidSortOrderException < Aws::EmptyStructure; end
3549
+
3550
+ # The tag was specified in an invalid format.
3551
+ #
3552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTagException AWS API Documentation
3553
+ #
3554
+ class InvalidTagException < Aws::EmptyStructure; end
3555
+
3556
+ # The tag filter was specified in an invalid format.
3557
+ #
3558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTagFilterException AWS API Documentation
3559
+ #
3560
+ class InvalidTagFilterException < Aws::EmptyStructure; end
3561
+
3562
+ # The specified tags are not valid.
3563
+ #
3564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTagsToAddException AWS API Documentation
3565
+ #
3566
+ class InvalidTagsToAddException < Aws::EmptyStructure; end
3567
+
3568
+ # A target is not valid.
3569
+ #
3570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTargetException AWS API Documentation
3571
+ #
3572
+ class InvalidTargetException < Aws::EmptyStructure; end
3573
+
3574
+ # The target filter name is invalid.
3575
+ #
3576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTargetFilterNameException AWS API Documentation
3577
+ #
3578
+ class InvalidTargetFilterNameException < Aws::EmptyStructure; end
3579
+
3580
+ # A target group pair associated with this deployment is not valid.
3581
+ #
3582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTargetGroupPairException AWS API Documentation
3583
+ #
3584
+ class InvalidTargetGroupPairException < Aws::EmptyStructure; end
3585
+
3586
+ # The target instance configuration is invalid. Possible causes include:
3587
+ #
3588
+ # * Configuration data for target instances was entered for an in-place
3589
+ # deployment.
3590
+ #
3591
+ # * The limit of 10 tags for a tag type was exceeded.
3592
+ #
3593
+ # * The combined length of the tag names exceeded the limit.
3594
+ #
3595
+ # * A specified tag is not currently applied to any instances.
3596
+ #
3597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTargetInstancesException AWS API Documentation
3598
+ #
3599
+ class InvalidTargetInstancesException < Aws::EmptyStructure; end
3600
+
3601
+ # The specified time range was specified in an invalid format.
3602
+ #
3603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTimeRangeException AWS API Documentation
3604
+ #
3605
+ class InvalidTimeRangeException < Aws::EmptyStructure; end
3606
+
3607
+ # The configuration that specifies how traffic is routed during a
3608
+ # deployment is invalid.
3609
+ #
3610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTrafficRoutingConfigurationException AWS API Documentation
3611
+ #
3612
+ class InvalidTrafficRoutingConfigurationException < Aws::EmptyStructure; end
3613
+
3614
+ # The trigger was specified in an invalid format.
3615
+ #
3616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidTriggerConfigException AWS API Documentation
3617
+ #
3618
+ class InvalidTriggerConfigException < Aws::EmptyStructure; end
3619
+
3620
+ # The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda
3621
+ # deployments, `false` is expected. For EC2/On-premises deployments,
3622
+ # `true` or `false` is expected.
3623
+ #
3624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InvalidUpdateOutdatedInstancesOnlyValueException AWS API Documentation
3625
+ #
3626
+ class InvalidUpdateOutdatedInstancesOnlyValueException < Aws::EmptyStructure; end
3627
+
2875
3628
  # Information about a Lambda function specified in a deployment.
2876
3629
  #
2877
3630
  # @!attribute [rw] function_name
@@ -2879,8 +3632,8 @@ module Aws::CodeDeploy
2879
3632
  # @return [String]
2880
3633
  #
2881
3634
  # @!attribute [rw] function_alias
2882
- # The alias of a Lambda function. For more information, see
2883
- # [Introduction to AWS Lambda Aliases][1].
3635
+ # The alias of a Lambda function. For more information, see [AWS
3636
+ # Lambda Function Aliases][1] in the *AWS Lambda Developer Guide*.
2884
3637
  #
2885
3638
  #
2886
3639
  #
@@ -2925,7 +3678,7 @@ module Aws::CodeDeploy
2925
3678
  # @return [String]
2926
3679
  #
2927
3680
  # @!attribute [rw] target_arn
2928
- # The ARN of the target.
3681
+ # The Amazon Resource Name (ARN) of the target.
2929
3682
  # @return [String]
2930
3683
  #
2931
3684
  # @!attribute [rw] status
@@ -2994,8 +3747,9 @@ module Aws::CodeDeploy
2994
3747
  # Information about a deployment lifecycle event.
2995
3748
  #
2996
3749
  # @!attribute [rw] lifecycle_event_name
2997
- # The deployment lifecycle event name, such as ApplicationStop,
2998
- # BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
3750
+ # The deployment lifecycle event name, such as `ApplicationStop`,
3751
+ # `BeforeInstall`, `AfterInstall`, `ApplicationStart`, or
3752
+ # `ValidateService`.
2999
3753
  # @return [String]
3000
3754
  #
3001
3755
  # @!attribute [rw] diagnostics
@@ -3039,7 +3793,20 @@ module Aws::CodeDeploy
3039
3793
  include Aws::Structure
3040
3794
  end
3041
3795
 
3042
- # Represents the input of a ListApplicationRevisions operation.
3796
+ # An attempt to return the status of an already completed lifecycle
3797
+ # event occurred.
3798
+ #
3799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEventAlreadyCompletedException AWS API Documentation
3800
+ #
3801
+ class LifecycleEventAlreadyCompletedException < Aws::EmptyStructure; end
3802
+
3803
+ # The limit for lifecycle hooks was exceeded.
3804
+ #
3805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleHookLimitExceededException AWS API Documentation
3806
+ #
3807
+ class LifecycleHookLimitExceededException < Aws::EmptyStructure; end
3808
+
3809
+ # Represents the input of a `ListApplicationRevisions` operation.
3043
3810
  #
3044
3811
  # @note When making an API call, you may pass ListApplicationRevisionsInput
3045
3812
  # data as a hash:
@@ -3062,14 +3829,14 @@ module Aws::CodeDeploy
3062
3829
  # @!attribute [rw] sort_by
3063
3830
  # The column name to use to sort the list results:
3064
3831
  #
3065
- # * registerTime: Sort by the time the revisions were registered with
3066
- # AWS CodeDeploy.
3832
+ # * `registerTime`\: Sort by the time the revisions were registered
3833
+ # with AWS CodeDeploy.
3067
3834
  #
3068
- # * firstUsedTime: Sort by the time the revisions were first used in a
3069
- # deployment.
3835
+ # * `firstUsedTime`\: Sort by the time the revisions were first used
3836
+ # in a deployment.
3070
3837
  #
3071
- # * lastUsedTime: Sort by the time the revisions were last used in a
3072
- # deployment.
3838
+ # * `lastUsedTime`\: Sort by the time the revisions were last used in
3839
+ # a deployment.
3073
3840
  #
3074
3841
  # If not specified or set to null, the results are returned in an
3075
3842
  # arbitrary order.
@@ -3078,9 +3845,9 @@ module Aws::CodeDeploy
3078
3845
  # @!attribute [rw] sort_order
3079
3846
  # The order in which to sort the list results:
3080
3847
  #
3081
- # * ascending: ascending order.
3848
+ # * `ascending`\: ascending order.
3082
3849
  #
3083
- # * descending: descending order.
3850
+ # * `descending`\: descending order.
3084
3851
  #
3085
3852
  # If not specified, the results are sorted in ascending order.
3086
3853
  #
@@ -3100,15 +3867,15 @@ module Aws::CodeDeploy
3100
3867
  #
3101
3868
  # @!attribute [rw] deployed
3102
3869
  # Whether to list revisions based on whether the revision is the
3103
- # target revision of an deployment group:
3870
+ # target revision of a deployment group:
3104
3871
  #
3105
- # * include: List revisions that are target revisions of a deployment
3106
- # group.
3872
+ # * `include`\: List revisions that are target revisions of a
3873
+ # deployment group.
3107
3874
  #
3108
- # * exclude: Do not list revisions that are target revisions of a
3875
+ # * `exclude`\: Do not list revisions that are target revisions of a
3109
3876
  # deployment group.
3110
3877
  #
3111
- # * ignore: List all revisions.
3878
+ # * `ignore`\: List all revisions.
3112
3879
  # @return [String]
3113
3880
  #
3114
3881
  # @!attribute [rw] next_token
@@ -3130,7 +3897,7 @@ module Aws::CodeDeploy
3130
3897
  include Aws::Structure
3131
3898
  end
3132
3899
 
3133
- # Represents the output of a ListApplicationRevisions operation.
3900
+ # Represents the output of a `ListApplicationRevisions` operation.
3134
3901
  #
3135
3902
  # @!attribute [rw] revisions
3136
3903
  # A list of locations that contain the matching revisions.
@@ -3150,7 +3917,7 @@ module Aws::CodeDeploy
3150
3917
  include Aws::Structure
3151
3918
  end
3152
3919
 
3153
- # Represents the input of a ListApplications operation.
3920
+ # Represents the input of a `ListApplications` operation.
3154
3921
  #
3155
3922
  # @note When making an API call, you may pass ListApplicationsInput
3156
3923
  # data as a hash:
@@ -3191,7 +3958,7 @@ module Aws::CodeDeploy
3191
3958
  include Aws::Structure
3192
3959
  end
3193
3960
 
3194
- # Represents the input of a ListDeploymentConfigs operation.
3961
+ # Represents the input of a `ListDeploymentConfigs` operation.
3195
3962
  #
3196
3963
  # @note When making an API call, you may pass ListDeploymentConfigsInput
3197
3964
  # data as a hash:
@@ -3213,11 +3980,11 @@ module Aws::CodeDeploy
3213
3980
  include Aws::Structure
3214
3981
  end
3215
3982
 
3216
- # Represents the output of a ListDeploymentConfigs operation.
3983
+ # Represents the output of a `ListDeploymentConfigs` operation.
3217
3984
  #
3218
3985
  # @!attribute [rw] deployment_configs_list
3219
3986
  # A list of deployment configurations, including built-in
3220
- # configurations such as CodeDeployDefault.OneAtATime.
3987
+ # configurations such as `CodeDeployDefault.OneAtATime`.
3221
3988
  # @return [Array<String>]
3222
3989
  #
3223
3990
  # @!attribute [rw] next_token
@@ -3235,7 +4002,7 @@ module Aws::CodeDeploy
3235
4002
  include Aws::Structure
3236
4003
  end
3237
4004
 
3238
- # Represents the input of a ListDeploymentGroups operation.
4005
+ # Represents the input of a `ListDeploymentGroups` operation.
3239
4006
  #
3240
4007
  # @note When making an API call, you may pass ListDeploymentGroupsInput
3241
4008
  # data as a hash:
@@ -3264,7 +4031,7 @@ module Aws::CodeDeploy
3264
4031
  include Aws::Structure
3265
4032
  end
3266
4033
 
3267
- # Represents the output of a ListDeploymentGroups operation.
4034
+ # Represents the output of a `ListDeploymentGroups` operation.
3268
4035
  #
3269
4036
  # @!attribute [rw] application_name
3270
4037
  # The application name.
@@ -3289,7 +4056,7 @@ module Aws::CodeDeploy
3289
4056
  include Aws::Structure
3290
4057
  end
3291
4058
 
3292
- # Represents the input of a ListDeploymentInstances operation.
4059
+ # Represents the input of a `ListDeploymentInstances` operation.
3293
4060
  #
3294
4061
  # @note When making an API call, you may pass ListDeploymentInstancesInput
3295
4062
  # data as a hash:
@@ -3314,18 +4081,18 @@ module Aws::CodeDeploy
3314
4081
  # @!attribute [rw] instance_status_filter
3315
4082
  # A subset of instances to list by status:
3316
4083
  #
3317
- # * Pending: Include those instances with pending deployments.
4084
+ # * `Pending`\: Include those instances with pending deployments.
3318
4085
  #
3319
- # * InProgress: Include those instances where deployments are still in
3320
- # progress.
4086
+ # * `InProgress`\: Include those instances where deployments are still
4087
+ # in progress.
3321
4088
  #
3322
- # * Succeeded: Include those instances with successful deployments.
4089
+ # * `Succeeded`\: Include those instances with successful deployments.
3323
4090
  #
3324
- # * Failed: Include those instances with failed deployments.
4091
+ # * `Failed`\: Include those instances with failed deployments.
3325
4092
  #
3326
- # * Skipped: Include those instances with skipped deployments.
4093
+ # * `Skipped`\: Include those instances with skipped deployments.
3327
4094
  #
3328
- # * Unknown: Include those instances with deployments in an unknown
4095
+ # * `Unknown`\: Include those instances with deployments in an unknown
3329
4096
  # state.
3330
4097
  # @return [Array<String>]
3331
4098
  #
@@ -3346,7 +4113,7 @@ module Aws::CodeDeploy
3346
4113
  include Aws::Structure
3347
4114
  end
3348
4115
 
3349
- # Represents the output of a ListDeploymentInstances operation.
4116
+ # Represents the output of a `ListDeploymentInstances` operation.
3350
4117
  #
3351
4118
  # @!attribute [rw] instances_list
3352
4119
  # A list of instance IDs.
@@ -3426,7 +4193,7 @@ module Aws::CodeDeploy
3426
4193
  include Aws::Structure
3427
4194
  end
3428
4195
 
3429
- # Represents the input of a ListDeployments operation.
4196
+ # Represents the input of a `ListDeployments` operation.
3430
4197
  #
3431
4198
  # @note When making an API call, you may pass ListDeploymentsInput
3432
4199
  # data as a hash:
@@ -3434,7 +4201,8 @@ module Aws::CodeDeploy
3434
4201
  # {
3435
4202
  # application_name: "ApplicationName",
3436
4203
  # deployment_group_name: "DeploymentGroupName",
3437
- # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped, Ready
4204
+ # external_id: "ExternalId",
4205
+ # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Baking, Succeeded, Failed, Stopped, Ready
3438
4206
  # create_time_range: {
3439
4207
  # start: Time.now,
3440
4208
  # end: Time.now,
@@ -3463,21 +4231,27 @@ module Aws::CodeDeploy
3463
4231
  # </note>
3464
4232
  # @return [String]
3465
4233
  #
4234
+ # @!attribute [rw] external_id
4235
+ # The unique ID of an external resource for returning deployments
4236
+ # linked to the external resource.
4237
+ # @return [String]
4238
+ #
3466
4239
  # @!attribute [rw] include_only_statuses
3467
4240
  # A subset of deployments to list by status:
3468
4241
  #
3469
- # * Created: Include created deployments in the resulting list.
4242
+ # * `Created`\: Include created deployments in the resulting list.
3470
4243
  #
3471
- # * Queued: Include queued deployments in the resulting list.
4244
+ # * `Queued`\: Include queued deployments in the resulting list.
3472
4245
  #
3473
- # * In Progress: Include in-progress deployments in the resulting
4246
+ # * `In Progress`\: Include in-progress deployments in the resulting
3474
4247
  # list.
3475
4248
  #
3476
- # * Succeeded: Include successful deployments in the resulting list.
4249
+ # * `Succeeded`\: Include successful deployments in the resulting
4250
+ # list.
3477
4251
  #
3478
- # * Failed: Include failed deployments in the resulting list.
4252
+ # * `Failed`\: Include failed deployments in the resulting list.
3479
4253
  #
3480
- # * Stopped: Include stopped deployments in the resulting list.
4254
+ # * `Stopped`\: Include stopped deployments in the resulting list.
3481
4255
  # @return [Array<String>]
3482
4256
  #
3483
4257
  # @!attribute [rw] create_time_range
@@ -3495,13 +4269,14 @@ module Aws::CodeDeploy
3495
4269
  class ListDeploymentsInput < Struct.new(
3496
4270
  :application_name,
3497
4271
  :deployment_group_name,
4272
+ :external_id,
3498
4273
  :include_only_statuses,
3499
4274
  :create_time_range,
3500
4275
  :next_token)
3501
4276
  include Aws::Structure
3502
4277
  end
3503
4278
 
3504
- # Represents the output of a ListDeployments operation.
4279
+ # Represents the output of a `ListDeployments` operation.
3505
4280
  #
3506
4281
  # @!attribute [rw] deployments
3507
4282
  # A list of deployment IDs.
@@ -3521,7 +4296,7 @@ module Aws::CodeDeploy
3521
4296
  include Aws::Structure
3522
4297
  end
3523
4298
 
3524
- # Represents the input of a ListGitHubAccountTokenNames operation.
4299
+ # Represents the input of a `ListGitHubAccountTokenNames` operation.
3525
4300
  #
3526
4301
  # @note When making an API call, you may pass ListGitHubAccountTokenNamesInput
3527
4302
  # data as a hash:
@@ -3531,8 +4306,9 @@ module Aws::CodeDeploy
3531
4306
  # }
3532
4307
  #
3533
4308
  # @!attribute [rw] next_token
3534
- # An identifier returned from the previous ListGitHubAccountTokenNames
3535
- # call. It can be used to return the next set of names in the list.
4309
+ # An identifier returned from the previous
4310
+ # `ListGitHubAccountTokenNames` call. It can be used to return the
4311
+ # next set of names in the list.
3536
4312
  # @return [String]
3537
4313
  #
3538
4314
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput AWS API Documentation
@@ -3542,7 +4318,7 @@ module Aws::CodeDeploy
3542
4318
  include Aws::Structure
3543
4319
  end
3544
4320
 
3545
- # Represents the output of a ListGitHubAccountTokenNames operation.
4321
+ # Represents the output of a `ListGitHubAccountTokenNames` operation.
3546
4322
  #
3547
4323
  # @!attribute [rw] token_name_list
3548
4324
  # A list of names of connections to GitHub accounts.
@@ -3550,8 +4326,9 @@ module Aws::CodeDeploy
3550
4326
  #
3551
4327
  # @!attribute [rw] next_token
3552
4328
  # If a large amount of information is returned, an identifier is also
3553
- # returned. It can be used in a subsequent ListGitHubAccountTokenNames
3554
- # call to return the next set of names in the list.
4329
+ # returned. It can be used in a subsequent
4330
+ # `ListGitHubAccountTokenNames` call to return the next set of names
4331
+ # in the list.
3555
4332
  # @return [String]
3556
4333
  #
3557
4334
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput AWS API Documentation
@@ -3562,7 +4339,7 @@ module Aws::CodeDeploy
3562
4339
  include Aws::Structure
3563
4340
  end
3564
4341
 
3565
- # Represents the input of a ListOnPremisesInstances operation.
4342
+ # Represents the input of a `ListOnPremisesInstances` operation.
3566
4343
  #
3567
4344
  # @note When making an API call, you may pass ListOnPremisesInstancesInput
3568
4345
  # data as a hash:
@@ -3582,10 +4359,10 @@ module Aws::CodeDeploy
3582
4359
  # @!attribute [rw] registration_status
3583
4360
  # The registration status of the on-premises instances:
3584
4361
  #
3585
- # * Deregistered: Include deregistered on-premises instances in the
4362
+ # * `Deregistered`\: Include deregistered on-premises instances in the
3586
4363
  # resulting list.
3587
4364
  #
3588
- # * Registered: Include registered on-premises instances in the
4365
+ # * `Registered`\: Include registered on-premises instances in the
3589
4366
  # resulting list.
3590
4367
  # @return [String]
3591
4368
  #
@@ -3761,19 +4538,19 @@ module Aws::CodeDeploy
3761
4538
  # @!attribute [rw] type
3762
4539
  # The minimum healthy instance type:
3763
4540
  #
3764
- # * HOST\_COUNT: The minimum number of healthy instance as an absolute
3765
- # value.
4541
+ # * `HOST_COUNT`\: The minimum number of healthy instances as an
4542
+ # absolute value.
3766
4543
  #
3767
- # * FLEET\_PERCENT: The minimum number of healthy instance as a
3768
- # percentage of the total number of instance in the deployment.
4544
+ # * `FLEET_PERCENT`\: The minimum number of healthy instances as a
4545
+ # percentage of the total number of instances in the deployment.
3769
4546
  #
3770
- # In an example of nine instance, if a HOST\_COUNT of six is
4547
+ # In an example of nine instances, if a HOST\_COUNT of six is
3771
4548
  # specified, deploy to up to three instances at a time. The deployment
3772
4549
  # is successful if six or more instances are deployed to successfully.
3773
4550
  # Otherwise, the deployment fails. If a FLEET\_PERCENT of 40 is
3774
- # specified, deploy to up to five instance at a time. The deployment
3775
- # is successful if four or more instance are deployed to successfully.
3776
- # Otherwise, the deployment fails.
4551
+ # specified, deploy to up to five instances at a time. The deployment
4552
+ # is successful if four or more instances are deployed to
4553
+ # successfully. Otherwise, the deployment fails.
3777
4554
  #
3778
4555
  # <note markdown="1"> In a call to the `GetDeploymentConfig`, CodeDeployDefault.OneAtATime
3779
4556
  # returns a minimum healthy instance type of MOST\_CONCURRENCY and a
@@ -3804,6 +4581,13 @@ module Aws::CodeDeploy
3804
4581
  include Aws::Structure
3805
4582
  end
3806
4583
 
4584
+ # Both an IAM user ARN and an IAM session ARN were included in the
4585
+ # request. Use only one ARN type.
4586
+ #
4587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MultipleIamArnsProvidedException AWS API Documentation
4588
+ #
4589
+ class MultipleIamArnsProvidedException < Aws::EmptyStructure; end
4590
+
3807
4591
  # Information about groups of on-premises instance tags.
3808
4592
  #
3809
4593
  # @note When making an API call, you may pass OnPremisesTagSet
@@ -3834,6 +4618,12 @@ module Aws::CodeDeploy
3834
4618
  include Aws::Structure
3835
4619
  end
3836
4620
 
4621
+ # The API used does not support the deployment.
4622
+ #
4623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/OperationNotSupportedException AWS API Documentation
4624
+ #
4625
+ class OperationNotSupportedException < Aws::EmptyStructure; end
4626
+
3837
4627
  # @note When making an API call, you may pass PutLifecycleEventHookExecutionStatusInput
3838
4628
  # data as a hash:
3839
4629
  #
@@ -3998,7 +4788,8 @@ module Aws::CodeDeploy
3998
4788
  include Aws::Structure
3999
4789
  end
4000
4790
 
4001
- # Represents the input of a RemoveTagsFromOnPremisesInstances operation.
4791
+ # Represents the input of a `RemoveTagsFromOnPremisesInstances`
4792
+ # operation.
4002
4793
  #
4003
4794
  # @note When making an API call, you may pass RemoveTagsFromOnPremisesInstancesInput
4004
4795
  # data as a hash:
@@ -4029,6 +4820,24 @@ module Aws::CodeDeploy
4029
4820
  include Aws::Structure
4030
4821
  end
4031
4822
 
4823
+ # The ARN of a resource is required, but was not found.
4824
+ #
4825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ResourceArnRequiredException AWS API Documentation
4826
+ #
4827
+ class ResourceArnRequiredException < Aws::EmptyStructure; end
4828
+
4829
+ # The specified resource could not be validated.
4830
+ #
4831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ResourceValidationException AWS API Documentation
4832
+ #
4833
+ class ResourceValidationException < Aws::EmptyStructure; end
4834
+
4835
+ # The named revision does not exist with the IAM user or AWS account.
4836
+ #
4837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionDoesNotExistException AWS API Documentation
4838
+ #
4839
+ class RevisionDoesNotExistException < Aws::EmptyStructure; end
4840
+
4032
4841
  # Information about an application revision.
4033
4842
  #
4034
4843
  # @!attribute [rw] revision_location
@@ -4086,6 +4895,11 @@ module Aws::CodeDeploy
4086
4895
  #
4087
4896
  # * String: A YAML-formatted or JSON-formatted string (AWS Lambda
4088
4897
  # deployments only).
4898
+ #
4899
+ # * AppSpecContent: An `AppSpecContent` object that contains the
4900
+ # contents of an AppSpec file for an AWS Lambda or Amazon ECS
4901
+ # deployment. The content is formatted as JSON or YAML stored as a
4902
+ # RawString.
4089
4903
  # @return [String]
4090
4904
  #
4091
4905
  # @!attribute [rw] s3_location
@@ -4119,6 +4933,18 @@ module Aws::CodeDeploy
4119
4933
  include Aws::Structure
4120
4934
  end
4121
4935
 
4936
+ # The revision ID was not specified.
4937
+ #
4938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionRequiredException AWS API Documentation
4939
+ #
4940
+ class RevisionRequiredException < Aws::EmptyStructure; end
4941
+
4942
+ # The role ID was not specified.
4943
+ #
4944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RoleRequiredException AWS API Documentation
4945
+ #
4946
+ class RoleRequiredException < Aws::EmptyStructure; end
4947
+
4122
4948
  # Information about a deployment rollback.
4123
4949
  #
4124
4950
  # @!attribute [rw] rollback_deployment_id
@@ -4173,11 +4999,11 @@ module Aws::CodeDeploy
4173
4999
  # The file type of the application revision. Must be one of the
4174
5000
  # following:
4175
5001
  #
4176
- # * tar: A tar archive file.
5002
+ # * `tar`\: A tar archive file.
4177
5003
  #
4178
- # * tgz: A compressed tar archive file.
5004
+ # * `tgz`\: A compressed tar archive file.
4179
5005
  #
4180
- # * zip: A zip archive file.
5006
+ # * `zip`\: A zip archive file.
4181
5007
  # @return [String]
4182
5008
  #
4183
5009
  # @!attribute [rw] version
@@ -4226,7 +5052,7 @@ module Aws::CodeDeploy
4226
5052
  include Aws::Structure
4227
5053
  end
4228
5054
 
4229
- # Represents the input of a StopDeployment operation.
5055
+ # Represents the input of a `StopDeployment` operation.
4230
5056
  #
4231
5057
  # @note When making an API call, you may pass StopDeploymentInput
4232
5058
  # data as a hash:
@@ -4254,7 +5080,7 @@ module Aws::CodeDeploy
4254
5080
  include Aws::Structure
4255
5081
  end
4256
5082
 
4257
- # Represents the output of a StopDeployment operation.
5083
+ # Represents the output of a `StopDeployment` operation.
4258
5084
  #
4259
5085
  # @!attribute [rw] status
4260
5086
  # The status of the stop deployment operation:
@@ -4340,6 +5166,18 @@ module Aws::CodeDeploy
4340
5166
  include Aws::Structure
4341
5167
  end
4342
5168
 
5169
+ # The maximum allowed number of tags was exceeded.
5170
+ #
5171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagLimitExceededException AWS API Documentation
5172
+ #
5173
+ class TagLimitExceededException < Aws::EmptyStructure; end
5174
+
5175
+ # A tag was not specified.
5176
+ #
5177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagRequiredException AWS API Documentation
5178
+ #
5179
+ class TagRequiredException < Aws::EmptyStructure; end
5180
+
4343
5181
  # @note When making an API call, you may pass TagResourceInput
4344
5182
  # data as a hash:
4345
5183
  #
@@ -4375,6 +5213,13 @@ module Aws::CodeDeploy
4375
5213
  #
4376
5214
  class TagResourceOutput < Aws::EmptyStructure; end
4377
5215
 
5216
+ # The number of tag groups included in the tag set list exceeded the
5217
+ # maximum allowed limit of 3.
5218
+ #
5219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagSetListLimitExceededException AWS API Documentation
5220
+ #
5221
+ class TagSetListLimitExceededException < Aws::EmptyStructure; end
5222
+
4378
5223
  # Information about a target group in Elastic Load Balancing to use in a
4379
5224
  # deployment. Instances are registered as targets in a target group, and
4380
5225
  # traffic is routed to the target group.
@@ -4481,7 +5326,7 @@ module Aws::CodeDeploy
4481
5326
  # @!attribute [rw] tag_filters
4482
5327
  # The tag filter key, type, and value used to identify Amazon EC2
4483
5328
  # instances in a replacement environment for a blue/green deployment.
4484
- # Cannot be used in the same call as ec2TagSet.
5329
+ # Cannot be used in the same call as `ec2TagSet`.
4485
5330
  # @return [Array<Types::EC2TagFilter>]
4486
5331
  #
4487
5332
  # @!attribute [rw] auto_scaling_groups
@@ -4493,7 +5338,7 @@ module Aws::CodeDeploy
4493
5338
  # Information about the groups of EC2 instance tags that an instance
4494
5339
  # must be identified by in order for it to be included in the
4495
5340
  # replacement environment for a blue/green deployment. Cannot be used
4496
- # in the same call as tagFilters.
5341
+ # in the same call as `tagFilters`.
4497
5342
  # @return [Types::EC2TagSet]
4498
5343
  #
4499
5344
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances AWS API Documentation
@@ -4505,9 +5350,16 @@ module Aws::CodeDeploy
4505
5350
  include Aws::Structure
4506
5351
  end
4507
5352
 
5353
+ # An API function was called too frequently.
5354
+ #
5355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ThrottlingException AWS API Documentation
5356
+ #
5357
+ class ThrottlingException < Aws::EmptyStructure; end
5358
+
4508
5359
  # A configuration that shifts traffic from one version of a Lambda
4509
- # function to another in two increments. The original and target Lambda
4510
- # function versions are specified in the deployment's AppSpec file.
5360
+ # function or ECS task set to another in two increments. The original
5361
+ # and target Lambda function versions or ECS task sets are specified in
5362
+ # the deployment's AppSpec file.
4511
5363
  #
4512
5364
  # @note When making an API call, you may pass TimeBasedCanary
4513
5365
  # data as a hash:
@@ -4536,9 +5388,10 @@ module Aws::CodeDeploy
4536
5388
  end
4537
5389
 
4538
5390
  # A configuration that shifts traffic from one version of a Lambda
4539
- # function to another in equal increments, with an equal number of
4540
- # minutes between each increment. The original and target Lambda
4541
- # function versions are specified in the deployment's AppSpec file.
5391
+ # function or ECS task set to another in equal increments, with an equal
5392
+ # number of minutes between each increment. The original and target
5393
+ # Lambda function versions or ECS task sets are specified in the
5394
+ # deployment's AppSpec file.
4542
5395
  #
4543
5396
  # @note When making an API call, you may pass TimeBasedLinear
4544
5397
  # data as a hash:
@@ -4612,9 +5465,9 @@ module Aws::CodeDeploy
4612
5465
  # }
4613
5466
  #
4614
5467
  # @!attribute [rw] listener_arns
4615
- # The ARN of one listener. The listener identifies the route between a
4616
- # target group and a load balancer. This is an array of strings with a
4617
- # maximum size of one.
5468
+ # The Amazon Resource Name (ARN) of one listener. The listener
5469
+ # identifies the route between a target group and a load balancer.
5470
+ # This is an array of strings with a maximum size of one.
4618
5471
  # @return [Array<String>]
4619
5472
  #
4620
5473
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TrafficRoute AWS API Documentation
@@ -4626,7 +5479,8 @@ module Aws::CodeDeploy
4626
5479
 
4627
5480
  # The configuration that specifies how traffic is shifted from one
4628
5481
  # version of a Lambda function to another version during an AWS Lambda
4629
- # deployment.
5482
+ # deployment, or from one Amazon ECS task set to another during an
5483
+ # Amazon ECS deployment.
4630
5484
  #
4631
5485
  # @note When making an API call, you may pass TrafficRoutingConfig
4632
5486
  # data as a hash:
@@ -4645,21 +5499,22 @@ module Aws::CodeDeploy
4645
5499
  #
4646
5500
  # @!attribute [rw] type
4647
5501
  # The type of traffic shifting (`TimeBasedCanary` or
4648
- # `TimeBasedLinear`) used by a deployment configuration .
5502
+ # `TimeBasedLinear`) used by a deployment configuration.
4649
5503
  # @return [String]
4650
5504
  #
4651
5505
  # @!attribute [rw] time_based_canary
4652
5506
  # A configuration that shifts traffic from one version of a Lambda
4653
- # function to another in two increments. The original and target
4654
- # Lambda function versions are specified in the deployment's AppSpec
4655
- # file.
5507
+ # function or ECS task set to another in two increments. The original
5508
+ # and target Lambda function versions or ECS task sets are specified
5509
+ # in the deployment's AppSpec file.
4656
5510
  # @return [Types::TimeBasedCanary]
4657
5511
  #
4658
5512
  # @!attribute [rw] time_based_linear
4659
5513
  # A configuration that shifts traffic from one version of a Lambda
4660
- # function to another in equal increments, with an equal number of
4661
- # minutes between each increment. The original and target Lambda
4662
- # function versions are specified in the deployment's AppSpec file.
5514
+ # function or ECS task set to another in equal increments, with an
5515
+ # equal number of minutes between each increment. The original and
5516
+ # target Lambda function versions or ECS task sets are specified in
5517
+ # the deployment's AppSpec file.
4663
5518
  # @return [Types::TimeBasedLinear]
4664
5519
  #
4665
5520
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TrafficRoutingConfig AWS API Documentation
@@ -4687,8 +5542,9 @@ module Aws::CodeDeploy
4687
5542
  # @return [String]
4688
5543
  #
4689
5544
  # @!attribute [rw] trigger_target_arn
4690
- # The ARN of the Amazon Simple Notification Service topic through
4691
- # which notifications about deployment or instance events are sent.
5545
+ # The Amazon Resource Name (ARN) of the Amazon Simple Notification
5546
+ # Service topic through which notifications about deployment or
5547
+ # instance events are sent.
4692
5548
  # @return [String]
4693
5549
  #
4694
5550
  # @!attribute [rw] trigger_events
@@ -4704,6 +5560,19 @@ module Aws::CodeDeploy
4704
5560
  include Aws::Structure
4705
5561
  end
4706
5562
 
5563
+ # The maximum allowed number of triggers was exceeded.
5564
+ #
5565
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerTargetsLimitExceededException AWS API Documentation
5566
+ #
5567
+ class TriggerTargetsLimitExceededException < Aws::EmptyStructure; end
5568
+
5569
+ # A call was submitted that is not supported for the specified
5570
+ # deployment type.
5571
+ #
5572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UnsupportedActionForDeploymentTypeException AWS API Documentation
5573
+ #
5574
+ class UnsupportedActionForDeploymentTypeException < Aws::EmptyStructure; end
5575
+
4707
5576
  # @note When making an API call, you may pass UntagResourceInput
4708
5577
  # data as a hash:
4709
5578
  #
@@ -4713,8 +5582,9 @@ module Aws::CodeDeploy
4713
5582
  # }
4714
5583
  #
4715
5584
  # @!attribute [rw] resource_arn
4716
- # The ARN that specifies from which resource to disassociate the tags
4717
- # with the keys in the `TagKeys` input paramter.
5585
+ # The Amazon Resource Name (ARN) that specifies from which resource to
5586
+ # disassociate the tags with the keys in the `TagKeys` input
5587
+ # parameter.
4718
5588
  # @return [String]
4719
5589
  #
4720
5590
  # @!attribute [rw] tag_keys
@@ -4735,7 +5605,7 @@ module Aws::CodeDeploy
4735
5605
  #
4736
5606
  class UntagResourceOutput < Aws::EmptyStructure; end
4737
5607
 
4738
- # Represents the input of an UpdateApplication operation.
5608
+ # Represents the input of an `UpdateApplication` operation.
4739
5609
  #
4740
5610
  # @note When making an API call, you may pass UpdateApplicationInput
4741
5611
  # data as a hash:
@@ -4761,7 +5631,7 @@ module Aws::CodeDeploy
4761
5631
  include Aws::Structure
4762
5632
  end
4763
5633
 
4764
- # Represents the input of an UpdateDeploymentGroup operation.
5634
+ # Represents the input of an `UpdateDeploymentGroup` operation.
4765
5635
  #
4766
5636
  # @note When making an API call, you may pass UpdateDeploymentGroupInput
4767
5637
  # data as a hash:
@@ -4924,8 +5794,8 @@ module Aws::CodeDeploy
4924
5794
  #
4925
5795
  # @!attribute [rw] trigger_configurations
4926
5796
  # Information about triggers to change when the deployment group is
4927
- # updated. For examples, see [Modify Triggers in an AWS CodeDeploy
4928
- # Deployment Group][1] in the AWS CodeDeploy User Guide.
5797
+ # updated. For examples, see [Edit a Trigger in a CodeDeploy
5798
+ # Deployment Group][1] in the *AWS CodeDeploy User Guide*.
4929
5799
  #
4930
5800
  #
4931
5801
  #
@@ -5000,7 +5870,7 @@ module Aws::CodeDeploy
5000
5870
  include Aws::Structure
5001
5871
  end
5002
5872
 
5003
- # Represents the output of an UpdateDeploymentGroup operation.
5873
+ # Represents the output of an `UpdateDeploymentGroup` operation.
5004
5874
  #
5005
5875
  # @!attribute [rw] hooks_not_cleaned_up
5006
5876
  # If the output contains no data, and the corresponding deployment