aws-sdk-codedeploy 1.49.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +166 -98
- data/lib/aws-sdk-codedeploy/client_api.rb +4 -0
- data/lib/aws-sdk-codedeploy/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-codedeploy/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-codedeploy/endpoints.rb +673 -0
- data/lib/aws-sdk-codedeploy/plugins/endpoints.rb +162 -0
- data/lib/aws-sdk-codedeploy/types.rb +248 -190
- data/lib/aws-sdk-codedeploy.rb +5 -1
- metadata +8 -4
@@ -68,7 +68,8 @@ module Aws::CodeDeploy
|
|
68
68
|
include Aws::Structure
|
69
69
|
end
|
70
70
|
|
71
|
-
# Information about alarms associated with
|
71
|
+
# Information about alarms associated with a deployment or deployment
|
72
|
+
# group.
|
72
73
|
#
|
73
74
|
# @note When making an API call, you may pass AlarmConfiguration
|
74
75
|
# data as a hash:
|
@@ -100,8 +101,8 @@ module Aws::CodeDeploy
|
|
100
101
|
# @return [Boolean]
|
101
102
|
#
|
102
103
|
# @!attribute [rw] alarms
|
103
|
-
# A list of alarms configured for the deployment group.
|
104
|
-
# 10 alarms can be added
|
104
|
+
# A list of alarms configured for the deployment or deployment group.
|
105
|
+
# A maximum of 10 alarms can be added.
|
105
106
|
# @return [Array<Types::Alarm>]
|
106
107
|
#
|
107
108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration AWS API Documentation
|
@@ -120,8 +121,8 @@ module Aws::CodeDeploy
|
|
120
121
|
#
|
121
122
|
class AlarmsLimitExceededException < Aws::EmptyStructure; end
|
122
123
|
|
123
|
-
# A revision for an
|
124
|
-
# YAML-formatted or JSON-formatted string. For
|
124
|
+
# A revision for an Lambda or Amazon ECS deployment that is a
|
125
|
+
# YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS
|
125
126
|
# deployments, the revision is the same as the AppSpec file. This method
|
126
127
|
# replaces the deprecated `RawString` data type.
|
127
128
|
#
|
@@ -136,7 +137,7 @@ module Aws::CodeDeploy
|
|
136
137
|
# @!attribute [rw] content
|
137
138
|
# The YAML-formatted or JSON-formatted revision string.
|
138
139
|
#
|
139
|
-
# For an
|
140
|
+
# For an Lambda deployment, the content includes a Lambda function
|
140
141
|
# name, the alias for its original version, and the alias for its
|
141
142
|
# replacement version. The deployment shifts traffic from the original
|
142
143
|
# version of the Lambda function to the replacement version.
|
@@ -163,14 +164,15 @@ module Aws::CodeDeploy
|
|
163
164
|
include Aws::Structure
|
164
165
|
end
|
165
166
|
|
166
|
-
# An application with the specified name with the IAM user or
|
167
|
-
# account already exists.
|
167
|
+
# An application with the specified name with the IAM user or Amazon Web
|
168
|
+
# Services account already exists.
|
168
169
|
#
|
169
170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationAlreadyExistsException AWS API Documentation
|
170
171
|
#
|
171
172
|
class ApplicationAlreadyExistsException < Aws::EmptyStructure; end
|
172
173
|
|
173
|
-
# The application does not exist with the IAM user or
|
174
|
+
# The application does not exist with the IAM user or Amazon Web
|
175
|
+
# Services account.
|
174
176
|
#
|
175
177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationDoesNotExistException AWS API Documentation
|
176
178
|
#
|
@@ -319,8 +321,8 @@ module Aws::CodeDeploy
|
|
319
321
|
# }
|
320
322
|
#
|
321
323
|
# @!attribute [rw] application_name
|
322
|
-
# The name of an
|
323
|
-
#
|
324
|
+
# The name of an CodeDeploy application about which to get revision
|
325
|
+
# information.
|
324
326
|
# @return [String]
|
325
327
|
#
|
326
328
|
# @!attribute [rw] revisions
|
@@ -412,8 +414,8 @@ module Aws::CodeDeploy
|
|
412
414
|
# }
|
413
415
|
#
|
414
416
|
# @!attribute [rw] application_name
|
415
|
-
# The name of an
|
416
|
-
#
|
417
|
+
# The name of an CodeDeploy application associated with the applicable
|
418
|
+
# IAM or Amazon Web Services account.
|
417
419
|
# @return [String]
|
418
420
|
#
|
419
421
|
# @!attribute [rw] deployment_group_names
|
@@ -515,20 +517,20 @@ module Aws::CodeDeploy
|
|
515
517
|
# The maximum number of deployment target IDs you can specify is 25.
|
516
518
|
#
|
517
519
|
# * For deployments that use the EC2/On-premises compute platform, the
|
518
|
-
# target IDs are EC2 or on-premises instances IDs, and their
|
519
|
-
# type is `instanceTarget`.
|
520
|
+
# target IDs are Amazon EC2 or on-premises instances IDs, and their
|
521
|
+
# target type is `instanceTarget`.
|
520
522
|
#
|
521
|
-
# * For deployments that use the
|
522
|
-
#
|
523
|
-
#
|
523
|
+
# * For deployments that use the Lambda compute platform, the target
|
524
|
+
# IDs are the names of Lambda functions, and their target type is
|
525
|
+
# `instanceTarget`.
|
524
526
|
#
|
525
527
|
# * For deployments that use the Amazon ECS compute platform, the
|
526
528
|
# target IDs are pairs of Amazon ECS clusters and services specified
|
527
529
|
# using the format `<clustername>:<servicename>`. Their target type
|
528
530
|
# is `ecsTarget`.
|
529
531
|
#
|
530
|
-
# * For deployments that are deployed with
|
531
|
-
#
|
532
|
+
# * For deployments that are deployed with CloudFormation, the target
|
533
|
+
# IDs are CloudFormation stack IDs. Their target type is
|
532
534
|
# `cloudFormationTarget`.
|
533
535
|
# @return [Array<String>]
|
534
536
|
#
|
@@ -547,15 +549,15 @@ module Aws::CodeDeploy
|
|
547
549
|
# events. The type of the target objects depends on the deployment'
|
548
550
|
# compute platform.
|
549
551
|
#
|
550
|
-
# * **EC2/On-premises**\: Each target object is an EC2 or
|
551
|
-
# instance.
|
552
|
+
# * **EC2/On-premises**\: Each target object is an Amazon EC2 or
|
553
|
+
# on-premises instance.
|
552
554
|
#
|
553
|
-
# * **
|
554
|
-
#
|
555
|
+
# * **Lambda**\: The target object is a specific version of an Lambda
|
556
|
+
# function.
|
555
557
|
#
|
556
558
|
# * **Amazon ECS**\: The target object is an Amazon ECS service.
|
557
559
|
#
|
558
|
-
# * **CloudFormation**\: The target object is an
|
560
|
+
# * **CloudFormation**\: The target object is an CloudFormation
|
559
561
|
# blue/green deployment.
|
560
562
|
# @return [Array<Types::DeploymentTarget>]
|
561
563
|
#
|
@@ -744,12 +746,12 @@ module Aws::CodeDeploy
|
|
744
746
|
#
|
745
747
|
class BucketNameFilterRequiredException < Aws::EmptyStructure; end
|
746
748
|
|
747
|
-
# Information about the target to be updated by an
|
749
|
+
# Information about the target to be updated by an CloudFormation
|
748
750
|
# blue/green deployment. This target type is used for all deployments
|
749
751
|
# initiated by a CloudFormation stack update.
|
750
752
|
#
|
751
753
|
# @!attribute [rw] deployment_id
|
752
|
-
# The unique ID of an
|
754
|
+
# The unique ID of an CloudFormation blue/green deployment.
|
753
755
|
# @return [String]
|
754
756
|
#
|
755
757
|
# @!attribute [rw] target_id
|
@@ -758,27 +760,27 @@ module Aws::CodeDeploy
|
|
758
760
|
# @return [String]
|
759
761
|
#
|
760
762
|
# @!attribute [rw] last_updated_at
|
761
|
-
# The date and time when the target application was updated by an
|
763
|
+
# The date and time when the target application was updated by an
|
762
764
|
# CloudFormation blue/green deployment.
|
763
765
|
# @return [Time]
|
764
766
|
#
|
765
767
|
# @!attribute [rw] lifecycle_events
|
766
|
-
# The lifecycle events of the
|
767
|
-
#
|
768
|
+
# The lifecycle events of the CloudFormation blue/green deployment to
|
769
|
+
# this target application.
|
768
770
|
# @return [Array<Types::LifecycleEvent>]
|
769
771
|
#
|
770
772
|
# @!attribute [rw] status
|
771
|
-
# The status of an
|
773
|
+
# The status of an CloudFormation blue/green deployment's target
|
772
774
|
# application.
|
773
775
|
# @return [String]
|
774
776
|
#
|
775
777
|
# @!attribute [rw] resource_type
|
776
|
-
# The resource type for the
|
778
|
+
# The resource type for the CloudFormation blue/green deployment.
|
777
779
|
# @return [String]
|
778
780
|
#
|
779
781
|
# @!attribute [rw] target_version_weight
|
780
782
|
# The percentage of production traffic that the target version of an
|
781
|
-
#
|
783
|
+
# CloudFormation blue/green deployment receives.
|
782
784
|
# @return [Float]
|
783
785
|
#
|
784
786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CloudFormationTarget AWS API Documentation
|
@@ -842,7 +844,7 @@ module Aws::CodeDeploy
|
|
842
844
|
#
|
843
845
|
# @!attribute [rw] application_name
|
844
846
|
# The name of the application. This name must be unique with the
|
845
|
-
# applicable IAM
|
847
|
+
# applicable IAM or Amazon Web Services account.
|
846
848
|
# @return [String]
|
847
849
|
#
|
848
850
|
# @!attribute [rw] compute_platform
|
@@ -922,9 +924,8 @@ module Aws::CodeDeploy
|
|
922
924
|
# * FLEET\_PERCENT: The value parameter represents the minimum number
|
923
925
|
# of healthy instances as a percentage of the total number of
|
924
926
|
# instances in the deployment. If you specify FLEET\_PERCENT, at the
|
925
|
-
# start of the deployment,
|
926
|
-
#
|
927
|
-
# instances.
|
927
|
+
# start of the deployment, CodeDeploy converts the percentage to the
|
928
|
+
# equivalent number of instances and rounds up fractional instances.
|
928
929
|
#
|
929
930
|
# The value parameter takes an integer.
|
930
931
|
#
|
@@ -1094,8 +1095,8 @@ module Aws::CodeDeploy
|
|
1094
1095
|
# }
|
1095
1096
|
#
|
1096
1097
|
# @!attribute [rw] application_name
|
1097
|
-
# The name of an
|
1098
|
-
#
|
1098
|
+
# The name of an CodeDeploy application associated with the IAM user
|
1099
|
+
# or Amazon Web Services account.
|
1099
1100
|
# @return [String]
|
1100
1101
|
#
|
1101
1102
|
# @!attribute [rw] deployment_group_name
|
@@ -1104,17 +1105,17 @@ module Aws::CodeDeploy
|
|
1104
1105
|
#
|
1105
1106
|
# @!attribute [rw] deployment_config_name
|
1106
1107
|
# If specified, the deployment configuration name can be either one of
|
1107
|
-
# the predefined configurations provided with
|
1108
|
-
#
|
1109
|
-
#
|
1108
|
+
# the predefined configurations provided with CodeDeploy or a custom
|
1109
|
+
# deployment configuration that you create by calling the create
|
1110
|
+
# deployment configuration operation.
|
1110
1111
|
#
|
1111
1112
|
# `CodeDeployDefault.OneAtATime` is the default deployment
|
1112
1113
|
# configuration. It is used if a configuration isn't specified for
|
1113
1114
|
# the deployment or deployment group.
|
1114
1115
|
#
|
1115
1116
|
# For more information about the predefined deployment configurations
|
1116
|
-
# in
|
1117
|
-
# CodeDeploy][1] in the *
|
1117
|
+
# in CodeDeploy, see [Working with Deployment Configurations in
|
1118
|
+
# CodeDeploy][1] in the *CodeDeploy User Guide*.
|
1118
1119
|
#
|
1119
1120
|
#
|
1120
1121
|
#
|
@@ -1123,8 +1124,8 @@ module Aws::CodeDeploy
|
|
1123
1124
|
#
|
1124
1125
|
# @!attribute [rw] ec2_tag_filters
|
1125
1126
|
# The Amazon EC2 tags on which to filter. The deployment group
|
1126
|
-
# includes EC2 instances with any of the specified tags. Cannot
|
1127
|
-
# used in the same call as ec2TagSet.
|
1127
|
+
# includes Amazon EC2 instances with any of the specified tags. Cannot
|
1128
|
+
# be used in the same call as ec2TagSet.
|
1128
1129
|
# @return [Array<Types::EC2TagFilter>]
|
1129
1130
|
#
|
1130
1131
|
# @!attribute [rw] on_premises_instance_tag_filters
|
@@ -1138,14 +1139,15 @@ module Aws::CodeDeploy
|
|
1138
1139
|
# @return [Array<String>]
|
1139
1140
|
#
|
1140
1141
|
# @!attribute [rw] service_role_arn
|
1141
|
-
# A service role Amazon Resource Name (ARN) that allows
|
1142
|
-
#
|
1142
|
+
# A service role Amazon Resource Name (ARN) that allows CodeDeploy to
|
1143
|
+
# act on the user's behalf when interacting with Amazon Web Services
|
1144
|
+
# services.
|
1143
1145
|
# @return [String]
|
1144
1146
|
#
|
1145
1147
|
# @!attribute [rw] trigger_configurations
|
1146
1148
|
# Information about triggers to create when the deployment group is
|
1147
|
-
# created. For examples, see [Create a Trigger for an
|
1148
|
-
# Event][1] in the *
|
1149
|
+
# created. For examples, see [Create a Trigger for an CodeDeploy
|
1150
|
+
# Event][1] in the *CodeDeploy User Guide*.
|
1149
1151
|
#
|
1150
1152
|
#
|
1151
1153
|
#
|
@@ -1163,16 +1165,17 @@ module Aws::CodeDeploy
|
|
1163
1165
|
# @return [Types::AutoRollbackConfiguration]
|
1164
1166
|
#
|
1165
1167
|
# @!attribute [rw] outdated_instances_strategy
|
1166
|
-
# Indicates what happens when new EC2 instances are launched
|
1168
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
1167
1169
|
# mid-deployment and do not receive the deployed application revision.
|
1168
1170
|
#
|
1169
1171
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
1170
1172
|
# initiates one or more 'auto-update outdated instances' deployments
|
1171
|
-
# to apply the deployed application revision to the new EC2
|
1173
|
+
# to apply the deployed application revision to the new Amazon EC2
|
1174
|
+
# instances.
|
1172
1175
|
#
|
1173
1176
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
1174
|
-
# deployment to update the new EC2 instances. This may result
|
1175
|
-
# instances having different revisions.
|
1177
|
+
# deployment to update the new Amazon EC2 instances. This may result
|
1178
|
+
# in instances having different revisions.
|
1176
1179
|
# @return [String]
|
1177
1180
|
#
|
1178
1181
|
# @!attribute [rw] deployment_style
|
@@ -1191,9 +1194,10 @@ module Aws::CodeDeploy
|
|
1191
1194
|
# @return [Types::LoadBalancerInfo]
|
1192
1195
|
#
|
1193
1196
|
# @!attribute [rw] ec2_tag_set
|
1194
|
-
# Information about groups of tags applied to EC2 instances.
|
1195
|
-
# deployment group includes only EC2 instances identified
|
1196
|
-
# tag groups. Cannot be used in the same call as
|
1197
|
+
# Information about groups of tags applied to Amazon EC2 instances.
|
1198
|
+
# The deployment group includes only Amazon EC2 instances identified
|
1199
|
+
# by all the tag groups. Cannot be used in the same call as
|
1200
|
+
# `ec2TagFilters`.
|
1197
1201
|
# @return [Types::EC2TagSet]
|
1198
1202
|
#
|
1199
1203
|
# @!attribute [rw] ecs_services
|
@@ -1316,11 +1320,20 @@ module Aws::CodeDeploy
|
|
1316
1320
|
# },
|
1317
1321
|
# update_outdated_instances_only: false,
|
1318
1322
|
# file_exists_behavior: "DISALLOW", # accepts DISALLOW, OVERWRITE, RETAIN
|
1323
|
+
# override_alarm_configuration: {
|
1324
|
+
# enabled: false,
|
1325
|
+
# ignore_poll_alarm_failure: false,
|
1326
|
+
# alarms: [
|
1327
|
+
# {
|
1328
|
+
# name: "AlarmName",
|
1329
|
+
# },
|
1330
|
+
# ],
|
1331
|
+
# },
|
1319
1332
|
# }
|
1320
1333
|
#
|
1321
1334
|
# @!attribute [rw] application_name
|
1322
|
-
# The name of an
|
1323
|
-
#
|
1335
|
+
# The name of an CodeDeploy application associated with the IAM user
|
1336
|
+
# or Amazon Web Services account.
|
1324
1337
|
# @return [String]
|
1325
1338
|
#
|
1326
1339
|
# @!attribute [rw] deployment_group_name
|
@@ -1333,7 +1346,7 @@ module Aws::CodeDeploy
|
|
1333
1346
|
#
|
1334
1347
|
# @!attribute [rw] deployment_config_name
|
1335
1348
|
# The name of a deployment configuration associated with the IAM user
|
1336
|
-
# or
|
1349
|
+
# or Amazon Web Services account.
|
1337
1350
|
#
|
1338
1351
|
# If not specified, the value configured in the deployment group is
|
1339
1352
|
# used as the default. If the deployment group does not have a
|
@@ -1360,12 +1373,12 @@ module Aws::CodeDeploy
|
|
1360
1373
|
# healthy hosts is not less than the minimum number of healthy hosts,
|
1361
1374
|
# then a deployment to the next instance is attempted.
|
1362
1375
|
#
|
1363
|
-
# During a deployment, the
|
1364
|
-
#
|
1365
|
-
#
|
1366
|
-
#
|
1367
|
-
#
|
1368
|
-
#
|
1376
|
+
# During a deployment, the CodeDeploy agent runs the scripts specified
|
1377
|
+
# for `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
1378
|
+
# in the AppSpec file from the previous successful deployment. (All
|
1379
|
+
# other scripts are run from the AppSpec file in the current
|
1380
|
+
# deployment.) If one of these scripts contains an error and does not
|
1381
|
+
# run successfully, the deployment can fail.
|
1369
1382
|
#
|
1370
1383
|
# If the cause of the failure is a script from the last successful
|
1371
1384
|
# deployment that will never run successfully, create a new deployment
|
@@ -1390,9 +1403,9 @@ module Aws::CodeDeploy
|
|
1390
1403
|
# @return [Boolean]
|
1391
1404
|
#
|
1392
1405
|
# @!attribute [rw] file_exists_behavior
|
1393
|
-
# Information about how
|
1394
|
-
#
|
1395
|
-
#
|
1406
|
+
# Information about how CodeDeploy handles files that already exist in
|
1407
|
+
# a deployment target location but weren't part of the previous
|
1408
|
+
# successful deployment.
|
1396
1409
|
#
|
1397
1410
|
# The `fileExistsBehavior` parameter takes any of the following
|
1398
1411
|
# values:
|
@@ -1408,6 +1421,26 @@ module Aws::CodeDeploy
|
|
1408
1421
|
# and used as part of the new deployment.
|
1409
1422
|
# @return [String]
|
1410
1423
|
#
|
1424
|
+
# @!attribute [rw] override_alarm_configuration
|
1425
|
+
# Allows you to specify information about alarms associated with a
|
1426
|
+
# deployment. The alarm configuration that you specify here will
|
1427
|
+
# override the alarm configuration at the deployment group level.
|
1428
|
+
# Consider overriding the alarm configuration if you have set up
|
1429
|
+
# alarms at the deployment group level that are causing deployment
|
1430
|
+
# failures. In this case, you would call `CreateDeployment` to create
|
1431
|
+
# a new deployment that uses a previous application revision that is
|
1432
|
+
# known to work, and set its alarm configuration to turn off alarm
|
1433
|
+
# polling. Turning off alarm polling ensures that the new deployment
|
1434
|
+
# proceeds without being blocked by the alarm that was generated by
|
1435
|
+
# the previous, failed, deployment.
|
1436
|
+
#
|
1437
|
+
# <note markdown="1"> If you specify an `overrideAlarmConfiguration`, you need the
|
1438
|
+
# `UpdateDeploymentGroup` IAM permission when calling
|
1439
|
+
# `CreateDeployment`.
|
1440
|
+
#
|
1441
|
+
# </note>
|
1442
|
+
# @return [Types::AlarmConfiguration]
|
1443
|
+
#
|
1411
1444
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput AWS API Documentation
|
1412
1445
|
#
|
1413
1446
|
class CreateDeploymentInput < Struct.new(
|
@@ -1420,7 +1453,8 @@ module Aws::CodeDeploy
|
|
1420
1453
|
:target_instances,
|
1421
1454
|
:auto_rollback_configuration,
|
1422
1455
|
:update_outdated_instances_only,
|
1423
|
-
:file_exists_behavior
|
1456
|
+
:file_exists_behavior,
|
1457
|
+
:override_alarm_configuration)
|
1424
1458
|
SENSITIVE = []
|
1425
1459
|
include Aws::Structure
|
1426
1460
|
end
|
@@ -1449,8 +1483,8 @@ module Aws::CodeDeploy
|
|
1449
1483
|
# }
|
1450
1484
|
#
|
1451
1485
|
# @!attribute [rw] application_name
|
1452
|
-
# The name of an
|
1453
|
-
#
|
1486
|
+
# The name of an CodeDeploy application associated with the IAM user
|
1487
|
+
# or Amazon Web Services account.
|
1454
1488
|
# @return [String]
|
1455
1489
|
#
|
1456
1490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput AWS API Documentation
|
@@ -1472,7 +1506,7 @@ module Aws::CodeDeploy
|
|
1472
1506
|
#
|
1473
1507
|
# @!attribute [rw] deployment_config_name
|
1474
1508
|
# The name of a deployment configuration associated with the IAM user
|
1475
|
-
# or
|
1509
|
+
# or Amazon Web Services account.
|
1476
1510
|
# @return [String]
|
1477
1511
|
#
|
1478
1512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigInput AWS API Documentation
|
@@ -1494,8 +1528,8 @@ module Aws::CodeDeploy
|
|
1494
1528
|
# }
|
1495
1529
|
#
|
1496
1530
|
# @!attribute [rw] application_name
|
1497
|
-
# The name of an
|
1498
|
-
#
|
1531
|
+
# The name of an CodeDeploy application associated with the IAM user
|
1532
|
+
# or Amazon Web Services account.
|
1499
1533
|
# @return [String]
|
1500
1534
|
#
|
1501
1535
|
# @!attribute [rw] deployment_group_name
|
@@ -1515,10 +1549,10 @@ module Aws::CodeDeploy
|
|
1515
1549
|
#
|
1516
1550
|
# @!attribute [rw] hooks_not_cleaned_up
|
1517
1551
|
# If the output contains no data, and the corresponding deployment
|
1518
|
-
# group contained at least one Auto Scaling group,
|
1552
|
+
# group contained at least one Auto Scaling group, CodeDeploy
|
1519
1553
|
# successfully removed all corresponding Auto Scaling lifecycle event
|
1520
1554
|
# hooks from the Amazon EC2 instances in the Auto Scaling group. If
|
1521
|
-
# the output contains data,
|
1555
|
+
# the output contains data, CodeDeploy could not remove some Auto
|
1522
1556
|
# Scaling lifecycle event hooks from the Amazon EC2 instances in the
|
1523
1557
|
# Auto Scaling group.
|
1524
1558
|
# @return [Array<Types::AutoScalingGroup>]
|
@@ -1604,14 +1638,14 @@ module Aws::CodeDeploy
|
|
1604
1638
|
class DeploymentAlreadyStartedException < Aws::EmptyStructure; end
|
1605
1639
|
|
1606
1640
|
# A deployment configuration with the specified name with the IAM user
|
1607
|
-
# or
|
1641
|
+
# or Amazon Web Services account already exists.
|
1608
1642
|
#
|
1609
1643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigAlreadyExistsException AWS API Documentation
|
1610
1644
|
#
|
1611
1645
|
class DeploymentConfigAlreadyExistsException < Aws::EmptyStructure; end
|
1612
1646
|
|
1613
|
-
# The deployment configuration does not exist with the IAM user or
|
1614
|
-
# account.
|
1647
|
+
# The deployment configuration does not exist with the IAM user or
|
1648
|
+
# Amazon Web Services account.
|
1615
1649
|
#
|
1616
1650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigDoesNotExistException AWS API Documentation
|
1617
1651
|
#
|
@@ -1649,8 +1683,8 @@ module Aws::CodeDeploy
|
|
1649
1683
|
#
|
1650
1684
|
# @!attribute [rw] traffic_routing_config
|
1651
1685
|
# The configuration that specifies how the deployment traffic is
|
1652
|
-
# routed. Used for deployments with a Lambda or ECS compute
|
1653
|
-
# only.
|
1686
|
+
# routed. Used for deployments with a Lambda or Amazon ECS compute
|
1687
|
+
# platform only.
|
1654
1688
|
# @return [Types::TrafficRoutingConfig]
|
1655
1689
|
#
|
1656
1690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo AWS API Documentation
|
@@ -1678,21 +1712,22 @@ module Aws::CodeDeploy
|
|
1678
1712
|
#
|
1679
1713
|
class DeploymentConfigNameRequiredException < Aws::EmptyStructure; end
|
1680
1714
|
|
1681
|
-
# The deployment with the IAM user or
|
1715
|
+
# The deployment with the IAM user or Amazon Web Services account does
|
1716
|
+
# not exist.
|
1682
1717
|
#
|
1683
1718
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentDoesNotExistException AWS API Documentation
|
1684
1719
|
#
|
1685
1720
|
class DeploymentDoesNotExistException < Aws::EmptyStructure; end
|
1686
1721
|
|
1687
|
-
# A deployment group with the specified name with the IAM user or
|
1688
|
-
# account already exists.
|
1722
|
+
# A deployment group with the specified name with the IAM user or Amazon
|
1723
|
+
# Web Services account already exists.
|
1689
1724
|
#
|
1690
1725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupAlreadyExistsException AWS API Documentation
|
1691
1726
|
#
|
1692
1727
|
class DeploymentGroupAlreadyExistsException < Aws::EmptyStructure; end
|
1693
1728
|
|
1694
|
-
# The named deployment group with the IAM user or
|
1695
|
-
# exist.
|
1729
|
+
# The named deployment group with the IAM user or Amazon Web Services
|
1730
|
+
# account does not exist.
|
1696
1731
|
#
|
1697
1732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupDoesNotExistException AWS API Documentation
|
1698
1733
|
#
|
@@ -1732,9 +1767,9 @@ module Aws::CodeDeploy
|
|
1732
1767
|
#
|
1733
1768
|
# @!attribute [rw] service_role_arn
|
1734
1769
|
# A service role Amazon Resource Name (ARN) that grants CodeDeploy
|
1735
|
-
# permission to make calls to
|
1736
|
-
# information, see [Create a Service Role for
|
1737
|
-
# the *
|
1770
|
+
# permission to make calls to Amazon Web Services services on your
|
1771
|
+
# behalf. For more information, see [Create a Service Role for
|
1772
|
+
# CodeDeploy][1] in the *CodeDeploy User Guide*.
|
1738
1773
|
#
|
1739
1774
|
#
|
1740
1775
|
#
|
@@ -1766,16 +1801,17 @@ module Aws::CodeDeploy
|
|
1766
1801
|
# @return [Types::DeploymentStyle]
|
1767
1802
|
#
|
1768
1803
|
# @!attribute [rw] outdated_instances_strategy
|
1769
|
-
# Indicates what happens when new EC2 instances are launched
|
1804
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
1770
1805
|
# mid-deployment and do not receive the deployed application revision.
|
1771
1806
|
#
|
1772
1807
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
1773
1808
|
# initiates one or more 'auto-update outdated instances' deployments
|
1774
|
-
# to apply the deployed application revision to the new EC2
|
1809
|
+
# to apply the deployed application revision to the new Amazon EC2
|
1810
|
+
# instances.
|
1775
1811
|
#
|
1776
1812
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
1777
|
-
# deployment to update the new EC2 instances. This may result
|
1778
|
-
# instances having different revisions.
|
1813
|
+
# deployment to update the new Amazon EC2 instances. This may result
|
1814
|
+
# in instances having different revisions.
|
1779
1815
|
# @return [String]
|
1780
1816
|
#
|
1781
1817
|
# @!attribute [rw] blue_green_deployment_configuration
|
@@ -1798,9 +1834,10 @@ module Aws::CodeDeploy
|
|
1798
1834
|
# @return [Types::LastDeploymentInfo]
|
1799
1835
|
#
|
1800
1836
|
# @!attribute [rw] ec2_tag_set
|
1801
|
-
# Information about groups of tags applied to an EC2 instance.
|
1802
|
-
# deployment group includes only EC2 instances identified
|
1803
|
-
# the tag groups. Cannot be used in the same call as
|
1837
|
+
# Information about groups of tags applied to an Amazon EC2 instance.
|
1838
|
+
# The deployment group includes only Amazon EC2 instances identified
|
1839
|
+
# by all of the tag groups. Cannot be used in the same call as
|
1840
|
+
# ec2TagFilters.
|
1804
1841
|
# @return [Types::EC2TagSet]
|
1805
1842
|
#
|
1806
1843
|
# @!attribute [rw] on_premises_tag_set
|
@@ -1943,7 +1980,7 @@ module Aws::CodeDeploy
|
|
1943
1980
|
# * `codeDeployRollback`\: A rollback process created the deployment.
|
1944
1981
|
#
|
1945
1982
|
# * `CodeDeployAutoUpdate`\: An auto-update process created the
|
1946
|
-
# deployment when it detected outdated EC2 instances.
|
1983
|
+
# deployment when it detected outdated Amazon EC2 instances.
|
1947
1984
|
# @return [String]
|
1948
1985
|
#
|
1949
1986
|
# @!attribute [rw] ignore_application_stop_failures
|
@@ -1961,12 +1998,12 @@ module Aws::CodeDeploy
|
|
1961
1998
|
# healthy hosts is not less than the minimum number of healthy hosts,
|
1962
1999
|
# then a deployment to the next instance is attempted.
|
1963
2000
|
#
|
1964
|
-
# During a deployment, the
|
1965
|
-
#
|
1966
|
-
#
|
1967
|
-
#
|
1968
|
-
#
|
1969
|
-
#
|
2001
|
+
# During a deployment, the CodeDeploy agent runs the scripts specified
|
2002
|
+
# for `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
2003
|
+
# in the AppSpec file from the previous successful deployment. (All
|
2004
|
+
# other scripts are run from the AppSpec file in the current
|
2005
|
+
# deployment.) If one of these scripts contains an error and does not
|
2006
|
+
# run successfully, the deployment can fail.
|
1970
2007
|
#
|
1971
2008
|
# If the cause of the failure is a script from the last successful
|
1972
2009
|
# deployment that will never run successfully, create a new deployment
|
@@ -2022,9 +2059,9 @@ module Aws::CodeDeploy
|
|
2022
2059
|
# @return [String]
|
2023
2060
|
#
|
2024
2061
|
# @!attribute [rw] file_exists_behavior
|
2025
|
-
# Information about how
|
2026
|
-
#
|
2027
|
-
#
|
2062
|
+
# Information about how CodeDeploy handles files that already exist in
|
2063
|
+
# a deployment target location but weren't part of the previous
|
2064
|
+
# successful deployment.
|
2028
2065
|
#
|
2029
2066
|
# * `DISALLOW`\: The deployment fails. This is also the default
|
2030
2067
|
# behavior if no option is specified.
|
@@ -2055,6 +2092,11 @@ module Aws::CodeDeploy
|
|
2055
2092
|
# Information about deployments related to the specified deployment.
|
2056
2093
|
# @return [Types::RelatedDeployments]
|
2057
2094
|
#
|
2095
|
+
# @!attribute [rw] override_alarm_configuration
|
2096
|
+
# Information about alarms associated with a deployment or deployment
|
2097
|
+
# group.
|
2098
|
+
# @return [Types::AlarmConfiguration]
|
2099
|
+
#
|
2058
2100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
|
2059
2101
|
#
|
2060
2102
|
class DeploymentInfo < Struct.new(
|
@@ -2086,7 +2128,8 @@ module Aws::CodeDeploy
|
|
2086
2128
|
:deployment_status_messages,
|
2087
2129
|
:compute_platform,
|
2088
2130
|
:external_id,
|
2089
|
-
:related_deployments
|
2131
|
+
:related_deployments,
|
2132
|
+
:override_alarm_configuration)
|
2090
2133
|
SENSITIVE = []
|
2091
2134
|
include Aws::Structure
|
2092
2135
|
end
|
@@ -2238,8 +2281,8 @@ module Aws::CodeDeploy
|
|
2238
2281
|
# @return [Types::InstanceTarget]
|
2239
2282
|
#
|
2240
2283
|
# @!attribute [rw] lambda_target
|
2241
|
-
# Information about the target for a deployment that uses the
|
2242
|
-
#
|
2284
|
+
# Information about the target for a deployment that uses the Lambda
|
2285
|
+
# compute platform.
|
2243
2286
|
# @return [Types::LambdaTarget]
|
2244
2287
|
#
|
2245
2288
|
# @!attribute [rw] ecs_target
|
@@ -2248,7 +2291,7 @@ module Aws::CodeDeploy
|
|
2248
2291
|
# @return [Types::ECSTarget]
|
2249
2292
|
#
|
2250
2293
|
# @!attribute [rw] cloud_formation_target
|
2251
|
-
# Information about the target to be updated by an
|
2294
|
+
# Information about the target to be updated by an CloudFormation
|
2252
2295
|
# blue/green deployment. This target type is used for all deployments
|
2253
2296
|
# initiated by a CloudFormation stack update.
|
2254
2297
|
# @return [Types::CloudFormationTarget]
|
@@ -2278,9 +2321,9 @@ module Aws::CodeDeploy
|
|
2278
2321
|
class DeploymentTargetIdRequiredException < Aws::EmptyStructure; end
|
2279
2322
|
|
2280
2323
|
# The maximum number of targets that can be associated with an Amazon
|
2281
|
-
# ECS or
|
2282
|
-
#
|
2283
|
-
#
|
2324
|
+
# ECS or Lambda deployment was exceeded. The target list of both types
|
2325
|
+
# of deployments must have exactly one item. This exception does not
|
2326
|
+
# apply to EC2/On-premises deployments.
|
2284
2327
|
#
|
2285
2328
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentTargetListSizeExceededException AWS API Documentation
|
2286
2329
|
#
|
@@ -2347,7 +2390,7 @@ module Aws::CodeDeploy
|
|
2347
2390
|
# @!attribute [rw] log_tail
|
2348
2391
|
# The last portion of the diagnostic log.
|
2349
2392
|
#
|
2350
|
-
# If available,
|
2393
|
+
# If available, CodeDeploy returns up to the last 4 KB of the
|
2351
2394
|
# diagnostic log.
|
2352
2395
|
# @return [String]
|
2353
2396
|
#
|
@@ -2401,7 +2444,7 @@ module Aws::CodeDeploy
|
|
2401
2444
|
include Aws::Structure
|
2402
2445
|
end
|
2403
2446
|
|
2404
|
-
# Information about groups of EC2 instance tags.
|
2447
|
+
# Information about groups of Amazon EC2 instance tags.
|
2405
2448
|
#
|
2406
2449
|
# @note When making an API call, you may pass EC2TagSet
|
2407
2450
|
# data as a hash:
|
@@ -2419,8 +2462,8 @@ module Aws::CodeDeploy
|
|
2419
2462
|
# }
|
2420
2463
|
#
|
2421
2464
|
# @!attribute [rw] ec2_tag_set_list
|
2422
|
-
# A list that contains other lists of EC2 instance tag groups.
|
2423
|
-
# instance to be included in the deployment group, it must be
|
2465
|
+
# A list that contains other lists of Amazon EC2 instance tag groups.
|
2466
|
+
# For an instance to be included in the deployment group, it must be
|
2424
2467
|
# identified by all of the tag groups in the list.
|
2425
2468
|
# @return [Array<Array<Types::EC2TagFilter>>]
|
2426
2469
|
#
|
@@ -2515,10 +2558,10 @@ module Aws::CodeDeploy
|
|
2515
2558
|
include Aws::Structure
|
2516
2559
|
end
|
2517
2560
|
|
2518
|
-
# Information about a set of Amazon ECS tasks in an
|
2561
|
+
# Information about a set of Amazon ECS tasks in an CodeDeploy
|
2519
2562
|
# deployment. An Amazon ECS task set includes details such as the
|
2520
2563
|
# desired number of tasks, how many tasks are running, and whether the
|
2521
|
-
# task set serves production traffic. An
|
2564
|
+
# task set serves production traffic. An CodeDeploy application that
|
2522
2565
|
# uses the Amazon ECS compute platform deploys a containerized
|
2523
2566
|
# application in an Amazon ECS service as a task set.
|
2524
2567
|
#
|
@@ -2567,7 +2610,7 @@ module Aws::CodeDeploy
|
|
2567
2610
|
#
|
2568
2611
|
# @!attribute [rw] target_group
|
2569
2612
|
# The target group associated with the task set. The target group is
|
2570
|
-
# used by
|
2613
|
+
# used by CodeDeploy to manage traffic to a task set.
|
2571
2614
|
# @return [Types::TargetGroupInfo]
|
2572
2615
|
#
|
2573
2616
|
# @!attribute [rw] task_set_label
|
@@ -2621,8 +2664,8 @@ module Aws::CodeDeploy
|
|
2621
2664
|
# Information about a deployment error.
|
2622
2665
|
#
|
2623
2666
|
# @!attribute [rw] code
|
2624
|
-
# For more information, see [Error Codes for
|
2625
|
-
# [
|
2667
|
+
# For more information, see [Error Codes for CodeDeploy][1] in the
|
2668
|
+
# [CodeDeploy User Guide][2].
|
2626
2669
|
#
|
2627
2670
|
# The error code:
|
2628
2671
|
#
|
@@ -2658,7 +2701,8 @@ module Aws::CodeDeploy
|
|
2658
2701
|
# exceeded.
|
2659
2702
|
#
|
2660
2703
|
# * THROTTLED: The operation was throttled because the calling account
|
2661
|
-
# exceeded the throttling limits of one or more
|
2704
|
+
# exceeded the throttling limits of one or more Amazon Web Services
|
2705
|
+
# services.
|
2662
2706
|
#
|
2663
2707
|
# * TIMEOUT: The deployment has timed out.
|
2664
2708
|
#
|
@@ -2696,15 +2740,15 @@ module Aws::CodeDeploy
|
|
2696
2740
|
# @return [Array<String>]
|
2697
2741
|
#
|
2698
2742
|
# @!attribute [rw] first_used_time
|
2699
|
-
# When the revision was first used by
|
2743
|
+
# When the revision was first used by CodeDeploy.
|
2700
2744
|
# @return [Time]
|
2701
2745
|
#
|
2702
2746
|
# @!attribute [rw] last_used_time
|
2703
|
-
# When the revision was last used by
|
2747
|
+
# When the revision was last used by CodeDeploy.
|
2704
2748
|
# @return [Time]
|
2705
2749
|
#
|
2706
2750
|
# @!attribute [rw] register_time
|
2707
|
-
# When the revision was registered with
|
2751
|
+
# When the revision was registered with CodeDeploy.
|
2708
2752
|
# @return [Time]
|
2709
2753
|
#
|
2710
2754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo AWS API Documentation
|
@@ -2729,8 +2773,8 @@ module Aws::CodeDeploy
|
|
2729
2773
|
# }
|
2730
2774
|
#
|
2731
2775
|
# @!attribute [rw] application_name
|
2732
|
-
# The name of an
|
2733
|
-
#
|
2776
|
+
# The name of an CodeDeploy application associated with the IAM user
|
2777
|
+
# or Amazon Web Services account.
|
2734
2778
|
# @return [String]
|
2735
2779
|
#
|
2736
2780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput AWS API Documentation
|
@@ -2840,7 +2884,7 @@ module Aws::CodeDeploy
|
|
2840
2884
|
#
|
2841
2885
|
# @!attribute [rw] deployment_config_name
|
2842
2886
|
# The name of a deployment configuration associated with the IAM user
|
2843
|
-
# or
|
2887
|
+
# or Amazon Web Services account.
|
2844
2888
|
# @return [String]
|
2845
2889
|
#
|
2846
2890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput AWS API Documentation
|
@@ -2876,8 +2920,8 @@ module Aws::CodeDeploy
|
|
2876
2920
|
# }
|
2877
2921
|
#
|
2878
2922
|
# @!attribute [rw] application_name
|
2879
|
-
# The name of an
|
2880
|
-
#
|
2923
|
+
# The name of an CodeDeploy application associated with the IAM user
|
2924
|
+
# or Amazon Web Services account.
|
2881
2925
|
# @return [String]
|
2882
2926
|
#
|
2883
2927
|
# @!attribute [rw] deployment_group_name
|
@@ -2917,8 +2961,8 @@ module Aws::CodeDeploy
|
|
2917
2961
|
# }
|
2918
2962
|
#
|
2919
2963
|
# @!attribute [rw] deployment_id
|
2920
|
-
# The unique ID of a deployment associated with the IAM user or
|
2921
|
-
# account.
|
2964
|
+
# The unique ID of a deployment associated with the IAM user or Amazon
|
2965
|
+
# Web Services account.
|
2922
2966
|
# @return [String]
|
2923
2967
|
#
|
2924
2968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput AWS API Documentation
|
@@ -3500,7 +3544,7 @@ module Aws::CodeDeploy
|
|
3500
3544
|
class InvalidExternalIdException < Aws::EmptyStructure; end
|
3501
3545
|
|
3502
3546
|
# An invalid fileExistsBehavior option was specified to determine how
|
3503
|
-
#
|
3547
|
+
# CodeDeploy handles files or directories that already exist in a
|
3504
3548
|
# deployment target location, but weren't part of the previous
|
3505
3549
|
# successful deployment. Valid values include "DISALLOW,"
|
3506
3550
|
# "OVERWRITE," and "RETAIN."
|
@@ -3533,7 +3577,7 @@ module Aws::CodeDeploy
|
|
3533
3577
|
#
|
3534
3578
|
class InvalidIamUserArnException < Aws::EmptyStructure; end
|
3535
3579
|
|
3536
|
-
# The IgnoreApplicationStopFailures value is invalid. For
|
3580
|
+
# The IgnoreApplicationStopFailures value is invalid. For Lambda
|
3537
3581
|
# deployments, `false` is expected. For EC2/On-premises deployments,
|
3538
3582
|
# `true` or `false` is expected.
|
3539
3583
|
#
|
@@ -3728,7 +3772,7 @@ module Aws::CodeDeploy
|
|
3728
3772
|
#
|
3729
3773
|
class InvalidTriggerConfigException < Aws::EmptyStructure; end
|
3730
3774
|
|
3731
|
-
# The UpdateOutdatedInstancesOnly value is invalid. For
|
3775
|
+
# The UpdateOutdatedInstancesOnly value is invalid. For Lambda
|
3732
3776
|
# deployments, `false` is expected. For EC2/On-premises deployments,
|
3733
3777
|
# `true` or `false` is expected.
|
3734
3778
|
#
|
@@ -3743,8 +3787,8 @@ module Aws::CodeDeploy
|
|
3743
3787
|
# @return [String]
|
3744
3788
|
#
|
3745
3789
|
# @!attribute [rw] function_alias
|
3746
|
-
# The alias of a Lambda function. For more information, see [
|
3747
|
-
#
|
3790
|
+
# The alias of a Lambda function. For more information, see [Lambda
|
3791
|
+
# Function Aliases][1] in the *Lambda Developer Guide*.
|
3748
3792
|
#
|
3749
3793
|
#
|
3750
3794
|
#
|
@@ -3777,7 +3821,7 @@ module Aws::CodeDeploy
|
|
3777
3821
|
include Aws::Structure
|
3778
3822
|
end
|
3779
3823
|
|
3780
|
-
# Information about the target
|
3824
|
+
# Information about the target Lambda function during an Lambda
|
3781
3825
|
# deployment.
|
3782
3826
|
#
|
3783
3827
|
# @!attribute [rw] deployment_id
|
@@ -3794,7 +3838,7 @@ module Aws::CodeDeploy
|
|
3794
3838
|
# @return [String]
|
3795
3839
|
#
|
3796
3840
|
# @!attribute [rw] status
|
3797
|
-
# The status an
|
3841
|
+
# The status an Lambda deployment's target Lambda function.
|
3798
3842
|
# @return [String]
|
3799
3843
|
#
|
3800
3844
|
# @!attribute [rw] last_updated_at
|
@@ -3937,15 +3981,15 @@ module Aws::CodeDeploy
|
|
3937
3981
|
# }
|
3938
3982
|
#
|
3939
3983
|
# @!attribute [rw] application_name
|
3940
|
-
# The name of an
|
3941
|
-
#
|
3984
|
+
# The name of an CodeDeploy application associated with the IAM user
|
3985
|
+
# or Amazon Web Services account.
|
3942
3986
|
# @return [String]
|
3943
3987
|
#
|
3944
3988
|
# @!attribute [rw] sort_by
|
3945
3989
|
# The column name to use to sort the list results:
|
3946
3990
|
#
|
3947
3991
|
# * `registerTime`\: Sort by the time the revisions were registered
|
3948
|
-
# with
|
3992
|
+
# with CodeDeploy.
|
3949
3993
|
#
|
3950
3994
|
# * `firstUsedTime`\: Sort by the time the revisions were first used
|
3951
3995
|
# in a deployment.
|
@@ -4134,8 +4178,8 @@ module Aws::CodeDeploy
|
|
4134
4178
|
# }
|
4135
4179
|
#
|
4136
4180
|
# @!attribute [rw] application_name
|
4137
|
-
# The name of an
|
4138
|
-
#
|
4181
|
+
# The name of an CodeDeploy application associated with the IAM user
|
4182
|
+
# or Amazon Web Services account.
|
4139
4183
|
# @return [String]
|
4140
4184
|
#
|
4141
4185
|
# @!attribute [rw] next_token
|
@@ -4338,8 +4382,8 @@ module Aws::CodeDeploy
|
|
4338
4382
|
# }
|
4339
4383
|
#
|
4340
4384
|
# @!attribute [rw] application_name
|
4341
|
-
# The name of an
|
4342
|
-
#
|
4385
|
+
# The name of an CodeDeploy application associated with the IAM user
|
4386
|
+
# or Amazon Web Services account.
|
4343
4387
|
#
|
4344
4388
|
# <note markdown="1"> If `applicationName` is specified, then `deploymentGroupName` must
|
4345
4389
|
# be specified. If it is not specified, then `deploymentGroupName`
|
@@ -4689,16 +4733,16 @@ module Aws::CodeDeploy
|
|
4689
4733
|
# value of 1. This means a deployment to only one instance at a time.
|
4690
4734
|
# (You cannot set the type to MOST\_CONCURRENCY, only to HOST\_COUNT
|
4691
4735
|
# or FLEET\_PERCENT.) In addition, with CodeDeployDefault.OneAtATime,
|
4692
|
-
#
|
4693
|
-
#
|
4694
|
-
#
|
4695
|
-
#
|
4696
|
-
#
|
4736
|
+
# CodeDeploy attempts to ensure that all instances but one are kept in
|
4737
|
+
# a healthy state during the deployment. Although this allows one
|
4738
|
+
# instance at a time to be taken offline for a new deployment, it also
|
4739
|
+
# means that if the deployment to the last instance fails, the overall
|
4740
|
+
# deployment is still successful.
|
4697
4741
|
#
|
4698
4742
|
# </note>
|
4699
4743
|
#
|
4700
|
-
# For more information, see [
|
4701
|
-
# *
|
4744
|
+
# For more information, see [CodeDeploy Instance Health][1] in the
|
4745
|
+
# *CodeDeploy User Guide*.
|
4702
4746
|
#
|
4703
4747
|
#
|
4704
4748
|
#
|
@@ -4784,8 +4828,9 @@ module Aws::CodeDeploy
|
|
4784
4828
|
#
|
4785
4829
|
# @!attribute [rw] status
|
4786
4830
|
# The result of a Lambda function that validates a deployment
|
4787
|
-
# lifecycle event.
|
4788
|
-
#
|
4831
|
+
# lifecycle event. The values listed in **Valid Values** are valid for
|
4832
|
+
# lifecycle statuses in general; however, only `Succeeded` and
|
4833
|
+
# `Failed` can be passed successfully in your API call.
|
4789
4834
|
# @return [String]
|
4790
4835
|
#
|
4791
4836
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatusInput AWS API Documentation
|
@@ -4811,8 +4856,8 @@ module Aws::CodeDeploy
|
|
4811
4856
|
include Aws::Structure
|
4812
4857
|
end
|
4813
4858
|
|
4814
|
-
# A revision for an
|
4815
|
-
# JSON-formatted string. For
|
4859
|
+
# A revision for an Lambda deployment that is a YAML-formatted or
|
4860
|
+
# JSON-formatted string. For Lambda deployments, the revision is the
|
4816
4861
|
# same as the AppSpec file.
|
4817
4862
|
#
|
4818
4863
|
# @note When making an API call, you may pass RawString
|
@@ -4875,8 +4920,8 @@ module Aws::CodeDeploy
|
|
4875
4920
|
# }
|
4876
4921
|
#
|
4877
4922
|
# @!attribute [rw] application_name
|
4878
|
-
# The name of an
|
4879
|
-
#
|
4923
|
+
# The name of an CodeDeploy application associated with the IAM user
|
4924
|
+
# or Amazon Web Services account.
|
4880
4925
|
# @return [String]
|
4881
4926
|
#
|
4882
4927
|
# @!attribute [rw] description
|
@@ -4998,7 +5043,8 @@ module Aws::CodeDeploy
|
|
4998
5043
|
#
|
4999
5044
|
class ResourceValidationException < Aws::EmptyStructure; end
|
5000
5045
|
|
5001
|
-
# The named revision does not exist with the IAM user or
|
5046
|
+
# The named revision does not exist with the IAM user or Amazon Web
|
5047
|
+
# Services account.
|
5002
5048
|
#
|
5003
5049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionDoesNotExistException AWS API Documentation
|
5004
5050
|
#
|
@@ -5060,11 +5106,11 @@ module Aws::CodeDeploy
|
|
5060
5106
|
# * GitHub: An application revision stored in GitHub (EC2/On-premises
|
5061
5107
|
# deployments only).
|
5062
5108
|
#
|
5063
|
-
# * String: A YAML-formatted or JSON-formatted string (
|
5109
|
+
# * String: A YAML-formatted or JSON-formatted string (Lambda
|
5064
5110
|
# deployments only).
|
5065
5111
|
#
|
5066
5112
|
# * AppSpecContent: An `AppSpecContent` object that contains the
|
5067
|
-
# contents of an AppSpec file for an
|
5113
|
+
# contents of an AppSpec file for an Lambda or Amazon ECS
|
5068
5114
|
# deployment. The content is formatted as JSON or YAML stored as a
|
5069
5115
|
# RawString.
|
5070
5116
|
# @return [String]
|
@@ -5079,12 +5125,12 @@ module Aws::CodeDeploy
|
|
5079
5125
|
# @return [Types::GitHubLocation]
|
5080
5126
|
#
|
5081
5127
|
# @!attribute [rw] string
|
5082
|
-
# Information about the location of an
|
5128
|
+
# Information about the location of an Lambda deployment revision
|
5083
5129
|
# stored as a RawString.
|
5084
5130
|
# @return [Types::RawString]
|
5085
5131
|
#
|
5086
5132
|
# @!attribute [rw] app_spec_content
|
5087
|
-
# The content of an AppSpec file for an
|
5133
|
+
# The content of an AppSpec file for an Lambda or Amazon ECS
|
5088
5134
|
# deployment. The content is formatted as JSON or YAML and stored as a
|
5089
5135
|
# RawString.
|
5090
5136
|
# @return [Types::AppSpecContent]
|
@@ -5513,8 +5559,8 @@ module Aws::CodeDeploy
|
|
5513
5559
|
# @return [Array<String>]
|
5514
5560
|
#
|
5515
5561
|
# @!attribute [rw] ec2_tag_set
|
5516
|
-
# Information about the groups of EC2 instance tags that an
|
5517
|
-
# must be identified by in order for it to be included in the
|
5562
|
+
# Information about the groups of Amazon EC2 instance tags that an
|
5563
|
+
# instance must be identified by in order for it to be included in the
|
5518
5564
|
# replacement environment for a blue/green deployment. Cannot be used
|
5519
5565
|
# in the same call as `tagFilters`.
|
5520
5566
|
# @return [Types::EC2TagSet]
|
@@ -5536,9 +5582,9 @@ module Aws::CodeDeploy
|
|
5536
5582
|
class ThrottlingException < Aws::EmptyStructure; end
|
5537
5583
|
|
5538
5584
|
# A configuration that shifts traffic from one version of a Lambda
|
5539
|
-
# function or ECS task set to another in two increments. The
|
5540
|
-
# and target Lambda function versions or ECS task sets are
|
5541
|
-
# the deployment's AppSpec file.
|
5585
|
+
# function or Amazon ECS task set to another in two increments. The
|
5586
|
+
# original and target Lambda function versions or ECS task sets are
|
5587
|
+
# specified in the deployment's AppSpec file.
|
5542
5588
|
#
|
5543
5589
|
# @note When making an API call, you may pass TimeBasedCanary
|
5544
5590
|
# data as a hash:
|
@@ -5661,7 +5707,7 @@ module Aws::CodeDeploy
|
|
5661
5707
|
end
|
5662
5708
|
|
5663
5709
|
# The configuration that specifies how traffic is shifted from one
|
5664
|
-
# version of a Lambda function to another version during an
|
5710
|
+
# version of a Lambda function to another version during an Lambda
|
5665
5711
|
# deployment, or from one Amazon ECS task set to another during an
|
5666
5712
|
# Amazon ECS deployment.
|
5667
5713
|
#
|
@@ -5694,10 +5740,10 @@ module Aws::CodeDeploy
|
|
5694
5740
|
#
|
5695
5741
|
# @!attribute [rw] time_based_linear
|
5696
5742
|
# A configuration that shifts traffic from one version of a Lambda
|
5697
|
-
# function or ECS task set to another in equal increments, with
|
5698
|
-
# equal number of minutes between each increment. The original and
|
5699
|
-
# target Lambda function versions or ECS task sets are
|
5700
|
-
# the deployment's AppSpec file.
|
5743
|
+
# function or Amazon ECS task set to another in equal increments, with
|
5744
|
+
# an equal number of minutes between each increment. The original and
|
5745
|
+
# target Lambda function versions or Amazon ECS task sets are
|
5746
|
+
# specified in the deployment's AppSpec file.
|
5701
5747
|
# @return [Types::TimeBasedLinear]
|
5702
5748
|
#
|
5703
5749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TrafficRoutingConfig AWS API Documentation
|
@@ -5971,9 +6017,20 @@ module Aws::CodeDeploy
|
|
5971
6017
|
#
|
5972
6018
|
# @!attribute [rw] auto_scaling_groups
|
5973
6019
|
# The replacement list of Auto Scaling groups to be included in the
|
5974
|
-
# deployment group, if you want to change them.
|
5975
|
-
#
|
5976
|
-
#
|
6020
|
+
# deployment group, if you want to change them.
|
6021
|
+
#
|
6022
|
+
# * To keep the Auto Scaling groups, enter their names or do not
|
6023
|
+
# specify this parameter.
|
6024
|
+
#
|
6025
|
+
# * To remove Auto Scaling groups, specify a non-null empty list of
|
6026
|
+
# Auto Scaling group names to detach all CodeDeploy-managed Auto
|
6027
|
+
# Scaling lifecycle hooks. For examples, see [Amazon EC2 instances
|
6028
|
+
# in an Amazon EC2 Auto Scaling group fail to launch and receive the
|
6029
|
+
# error "Heartbeat Timeout"][1] in the *CodeDeploy User Guide*.
|
6030
|
+
#
|
6031
|
+
#
|
6032
|
+
#
|
6033
|
+
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-auto-scaling.html#troubleshooting-auto-scaling-heartbeat
|
5977
6034
|
# @return [Array<String>]
|
5978
6035
|
#
|
5979
6036
|
# @!attribute [rw] service_role_arn
|
@@ -5983,7 +6040,7 @@ module Aws::CodeDeploy
|
|
5983
6040
|
# @!attribute [rw] trigger_configurations
|
5984
6041
|
# Information about triggers to change when the deployment group is
|
5985
6042
|
# updated. For examples, see [Edit a Trigger in a CodeDeploy
|
5986
|
-
# Deployment Group][1] in the *
|
6043
|
+
# Deployment Group][1] in the *CodeDeploy User Guide*.
|
5987
6044
|
#
|
5988
6045
|
#
|
5989
6046
|
#
|
@@ -6001,16 +6058,17 @@ module Aws::CodeDeploy
|
|
6001
6058
|
# @return [Types::AutoRollbackConfiguration]
|
6002
6059
|
#
|
6003
6060
|
# @!attribute [rw] outdated_instances_strategy
|
6004
|
-
# Indicates what happens when new EC2 instances are launched
|
6061
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
6005
6062
|
# mid-deployment and do not receive the deployed application revision.
|
6006
6063
|
#
|
6007
6064
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
6008
6065
|
# initiates one or more 'auto-update outdated instances' deployments
|
6009
|
-
# to apply the deployed application revision to the new EC2
|
6066
|
+
# to apply the deployed application revision to the new Amazon EC2
|
6067
|
+
# instances.
|
6010
6068
|
#
|
6011
6069
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
6012
|
-
# deployment to update the new EC2 instances. This may result
|
6013
|
-
# instances having different revisions.
|
6070
|
+
# deployment to update the new Amazon EC2 instances. This may result
|
6071
|
+
# in instances having different revisions.
|
6014
6072
|
# @return [String]
|
6015
6073
|
#
|
6016
6074
|
# @!attribute [rw] deployment_style
|
@@ -6030,8 +6088,8 @@ module Aws::CodeDeploy
|
|
6030
6088
|
#
|
6031
6089
|
# @!attribute [rw] ec2_tag_set
|
6032
6090
|
# Information about groups of tags applied to on-premises instances.
|
6033
|
-
# The deployment group includes only EC2 instances identified
|
6034
|
-
# the tag groups.
|
6091
|
+
# The deployment group includes only Amazon EC2 instances identified
|
6092
|
+
# by all the tag groups.
|
6035
6093
|
# @return [Types::EC2TagSet]
|
6036
6094
|
#
|
6037
6095
|
# @!attribute [rw] ecs_services
|
@@ -6077,11 +6135,11 @@ module Aws::CodeDeploy
|
|
6077
6135
|
#
|
6078
6136
|
# @!attribute [rw] hooks_not_cleaned_up
|
6079
6137
|
# If the output contains no data, and the corresponding deployment
|
6080
|
-
# group contained at least one Auto Scaling group,
|
6138
|
+
# group contained at least one Auto Scaling group, CodeDeploy
|
6081
6139
|
# successfully removed all corresponding Auto Scaling lifecycle event
|
6082
|
-
# hooks from the
|
6083
|
-
# CodeDeploy could not remove some Auto Scaling lifecycle event
|
6084
|
-
# from the
|
6140
|
+
# hooks from the Amazon Web Services account. If the output contains
|
6141
|
+
# data, CodeDeploy could not remove some Auto Scaling lifecycle event
|
6142
|
+
# hooks from the Amazon Web Services account.
|
6085
6143
|
# @return [Array<Types::AutoScalingGroup>]
|
6086
6144
|
#
|
6087
6145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput AWS API Documentation
|