aws-sdk-codedeploy 1.49.0 → 1.50.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +147 -96
- data/lib/aws-sdk-codedeploy/client_api.rb +4 -0
- data/lib/aws-sdk-codedeploy/types.rb +248 -190
- data/lib/aws-sdk-codedeploy.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64529691987c1c3d5be970f1baba0a76a96161076d712c8726c8643f35b8c635
|
4
|
+
data.tar.gz: f9882339183c644d4ca510d5e5c3382b2040eeca8942c438c971c60ff06e3779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ff8d3aeebb8747afc817612931a04f7b987267d2a284d12d9097cdc73103e35b2ad2d6667d7ee07cea06d8a01d1894d68b37cb49c57fedf2c9294c71f35469f
|
7
|
+
data.tar.gz: 24c1a4723a878f1ccf13be843779df630ee0eec298a451a4b3e41bc455b67dac74a847fa8a8b249769c09198c1bac7060a86cf7115746cdb28e539780c7edd98
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.0
|
@@ -399,7 +399,7 @@ module Aws::CodeDeploy
|
|
399
399
|
# number of application revisions that can be returned is 25.
|
400
400
|
#
|
401
401
|
# @option params [required, String] :application_name
|
402
|
-
# The name of an
|
402
|
+
# The name of an CodeDeploy application about which to get revision
|
403
403
|
# information.
|
404
404
|
#
|
405
405
|
# @option params [required, Array<Types::RevisionLocation>] :revisions
|
@@ -515,8 +515,8 @@ module Aws::CodeDeploy
|
|
515
515
|
# Gets information about one or more deployment groups.
|
516
516
|
#
|
517
517
|
# @option params [required, String] :application_name
|
518
|
-
# The name of an
|
519
|
-
#
|
518
|
+
# The name of an CodeDeploy application associated with the applicable
|
519
|
+
# IAM or Amazon Web Services account.
|
520
520
|
#
|
521
521
|
# @option params [required, Array<String>] :deployment_group_names
|
522
522
|
# The names of the deployment groups.
|
@@ -634,9 +634,9 @@ module Aws::CodeDeploy
|
|
634
634
|
# </note>
|
635
635
|
#
|
636
636
|
# Returns an array of one or more instances associated with a
|
637
|
-
# deployment. This method works with EC2/On-premises and
|
638
|
-
#
|
639
|
-
#
|
637
|
+
# deployment. This method works with EC2/On-premises and Lambda compute
|
638
|
+
# platforms. The newer `BatchGetDeploymentTargets` works with all
|
639
|
+
# compute platforms. The maximum number of instances that can be
|
640
640
|
# returned is 25.
|
641
641
|
#
|
642
642
|
# @option params [required, String] :deployment_id
|
@@ -694,9 +694,9 @@ module Aws::CodeDeploy
|
|
694
694
|
# The type of targets returned depends on the deployment's compute
|
695
695
|
# platform or deployment method:
|
696
696
|
#
|
697
|
-
# * **EC2/On-premises**\: Information about EC2 instance targets.
|
697
|
+
# * **EC2/On-premises**\: Information about Amazon EC2 instance targets.
|
698
698
|
#
|
699
|
-
# * **
|
699
|
+
# * **Lambda**\: Information about Lambda functions targets.
|
700
700
|
#
|
701
701
|
# * **Amazon ECS**\: Information about Amazon ECS service targets.
|
702
702
|
#
|
@@ -712,11 +712,11 @@ module Aws::CodeDeploy
|
|
712
712
|
# maximum number of deployment target IDs you can specify is 25.
|
713
713
|
#
|
714
714
|
# * For deployments that use the EC2/On-premises compute platform, the
|
715
|
-
# target IDs are EC2 or on-premises instances IDs, and their
|
716
|
-
# type is `instanceTarget`.
|
715
|
+
# target IDs are Amazon EC2 or on-premises instances IDs, and their
|
716
|
+
# target type is `instanceTarget`.
|
717
717
|
#
|
718
|
-
# * For deployments that use the
|
719
|
-
#
|
718
|
+
# * For deployments that use the Lambda compute platform, the target IDs
|
719
|
+
# are the names of Lambda functions, and their target type is
|
720
720
|
# `instanceTarget`.
|
721
721
|
#
|
722
722
|
# * For deployments that use the Amazon ECS compute platform, the target
|
@@ -724,8 +724,8 @@ module Aws::CodeDeploy
|
|
724
724
|
# the format `<clustername>:<servicename>`. Their target type is
|
725
725
|
# `ecsTarget`.
|
726
726
|
#
|
727
|
-
# * For deployments that are deployed with
|
728
|
-
#
|
727
|
+
# * For deployments that are deployed with CloudFormation, the target
|
728
|
+
# IDs are CloudFormation stack IDs. Their target type is
|
729
729
|
# `cloudFormationTarget`.
|
730
730
|
#
|
731
731
|
# @return [Types::BatchGetDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -934,6 +934,10 @@ module Aws::CodeDeploy
|
|
934
934
|
# resp.deployments_info[0].related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
|
935
935
|
# resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
|
936
936
|
# resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids[0] #=> String
|
937
|
+
# resp.deployments_info[0].override_alarm_configuration.enabled #=> Boolean
|
938
|
+
# resp.deployments_info[0].override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
939
|
+
# resp.deployments_info[0].override_alarm_configuration.alarms #=> Array
|
940
|
+
# resp.deployments_info[0].override_alarm_configuration.alarms[0].name #=> String
|
937
941
|
#
|
938
942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
939
943
|
#
|
@@ -1022,7 +1026,7 @@ module Aws::CodeDeploy
|
|
1022
1026
|
#
|
1023
1027
|
# @option params [required, String] :application_name
|
1024
1028
|
# The name of the application. This name must be unique with the
|
1025
|
-
# applicable IAM
|
1029
|
+
# applicable IAM or Amazon Web Services account.
|
1026
1030
|
#
|
1027
1031
|
# @option params [String] :compute_platform
|
1028
1032
|
# The destination platform type for the deployment (`Lambda`, `Server`,
|
@@ -1067,8 +1071,8 @@ module Aws::CodeDeploy
|
|
1067
1071
|
# group.
|
1068
1072
|
#
|
1069
1073
|
# @option params [required, String] :application_name
|
1070
|
-
# The name of an
|
1071
|
-
#
|
1074
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1075
|
+
# Amazon Web Services account.
|
1072
1076
|
#
|
1073
1077
|
# @option params [String] :deployment_group_name
|
1074
1078
|
# The name of the deployment group.
|
@@ -1078,7 +1082,7 @@ module Aws::CodeDeploy
|
|
1078
1082
|
#
|
1079
1083
|
# @option params [String] :deployment_config_name
|
1080
1084
|
# The name of a deployment configuration associated with the IAM user or
|
1081
|
-
#
|
1085
|
+
# Amazon Web Services account.
|
1082
1086
|
#
|
1083
1087
|
# If not specified, the value configured in the deployment group is used
|
1084
1088
|
# as the default. If the deployment group does not have a deployment
|
@@ -1103,12 +1107,12 @@ module Aws::CodeDeploy
|
|
1103
1107
|
# healthy hosts is not less than the minimum number of healthy hosts,
|
1104
1108
|
# then a deployment to the next instance is attempted.
|
1105
1109
|
#
|
1106
|
-
# During a deployment, the
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
#
|
1110
|
+
# During a deployment, the CodeDeploy agent runs the scripts specified
|
1111
|
+
# for `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
1112
|
+
# in the AppSpec file from the previous successful deployment. (All
|
1113
|
+
# other scripts are run from the AppSpec file in the current
|
1114
|
+
# deployment.) If one of these scripts contains an error and does not
|
1115
|
+
# run successfully, the deployment can fail.
|
1112
1116
|
#
|
1113
1117
|
# If the cause of the failure is a script from the last successful
|
1114
1118
|
# deployment that will never run successfully, create a new deployment
|
@@ -1129,8 +1133,8 @@ module Aws::CodeDeploy
|
|
1129
1133
|
# are not running the latest application revision.
|
1130
1134
|
#
|
1131
1135
|
# @option params [String] :file_exists_behavior
|
1132
|
-
# Information about how
|
1133
|
-
#
|
1136
|
+
# Information about how CodeDeploy handles files that already exist in a
|
1137
|
+
# deployment target location but weren't part of the previous
|
1134
1138
|
# successful deployment.
|
1135
1139
|
#
|
1136
1140
|
# The `fileExistsBehavior` parameter takes any of the following values:
|
@@ -1145,6 +1149,25 @@ module Aws::CodeDeploy
|
|
1145
1149
|
# * RETAIN: The version of the file already on the instance is kept and
|
1146
1150
|
# used as part of the new deployment.
|
1147
1151
|
#
|
1152
|
+
# @option params [Types::AlarmConfiguration] :override_alarm_configuration
|
1153
|
+
# Allows you to specify information about alarms associated with a
|
1154
|
+
# deployment. The alarm configuration that you specify here will
|
1155
|
+
# override the alarm configuration at the deployment group level.
|
1156
|
+
# Consider overriding the alarm configuration if you have set up alarms
|
1157
|
+
# at the deployment group level that are causing deployment failures. In
|
1158
|
+
# this case, you would call `CreateDeployment` to create a new
|
1159
|
+
# deployment that uses a previous application revision that is known to
|
1160
|
+
# work, and set its alarm configuration to turn off alarm polling.
|
1161
|
+
# Turning off alarm polling ensures that the new deployment proceeds
|
1162
|
+
# without being blocked by the alarm that was generated by the previous,
|
1163
|
+
# failed, deployment.
|
1164
|
+
#
|
1165
|
+
# <note markdown="1"> If you specify an `overrideAlarmConfiguration`, you need the
|
1166
|
+
# `UpdateDeploymentGroup` IAM permission when calling
|
1167
|
+
# `CreateDeployment`.
|
1168
|
+
#
|
1169
|
+
# </note>
|
1170
|
+
#
|
1148
1171
|
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1149
1172
|
#
|
1150
1173
|
# * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
|
@@ -1206,6 +1229,15 @@ module Aws::CodeDeploy
|
|
1206
1229
|
# },
|
1207
1230
|
# update_outdated_instances_only: false,
|
1208
1231
|
# file_exists_behavior: "DISALLOW", # accepts DISALLOW, OVERWRITE, RETAIN
|
1232
|
+
# override_alarm_configuration: {
|
1233
|
+
# enabled: false,
|
1234
|
+
# ignore_poll_alarm_failure: false,
|
1235
|
+
# alarms: [
|
1236
|
+
# {
|
1237
|
+
# name: "AlarmName",
|
1238
|
+
# },
|
1239
|
+
# ],
|
1240
|
+
# },
|
1209
1241
|
# })
|
1210
1242
|
#
|
1211
1243
|
# @example Response structure
|
@@ -1239,8 +1271,8 @@ module Aws::CodeDeploy
|
|
1239
1271
|
# * FLEET\_PERCENT: The value parameter represents the minimum number of
|
1240
1272
|
# healthy instances as a percentage of the total number of instances
|
1241
1273
|
# in the deployment. If you specify FLEET\_PERCENT, at the start of
|
1242
|
-
# the deployment,
|
1243
|
-
#
|
1274
|
+
# the deployment, CodeDeploy converts the percentage to the equivalent
|
1275
|
+
# number of instances and rounds up fractional instances.
|
1244
1276
|
#
|
1245
1277
|
# The value parameter takes an integer.
|
1246
1278
|
#
|
@@ -1297,15 +1329,15 @@ module Aws::CodeDeploy
|
|
1297
1329
|
# deployed.
|
1298
1330
|
#
|
1299
1331
|
# @option params [required, String] :application_name
|
1300
|
-
# The name of an
|
1301
|
-
#
|
1332
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1333
|
+
# Amazon Web Services account.
|
1302
1334
|
#
|
1303
1335
|
# @option params [required, String] :deployment_group_name
|
1304
1336
|
# The name of a new deployment group for the specified application.
|
1305
1337
|
#
|
1306
1338
|
# @option params [String] :deployment_config_name
|
1307
1339
|
# If specified, the deployment configuration name can be either one of
|
1308
|
-
# the predefined configurations provided with
|
1340
|
+
# the predefined configurations provided with CodeDeploy or a custom
|
1309
1341
|
# deployment configuration that you create by calling the create
|
1310
1342
|
# deployment configuration operation.
|
1311
1343
|
#
|
@@ -1314,8 +1346,8 @@ module Aws::CodeDeploy
|
|
1314
1346
|
# deployment or deployment group.
|
1315
1347
|
#
|
1316
1348
|
# For more information about the predefined deployment configurations in
|
1317
|
-
#
|
1318
|
-
# CodeDeploy][1] in the *
|
1349
|
+
# CodeDeploy, see [Working with Deployment Configurations in
|
1350
|
+
# CodeDeploy][1] in the *CodeDeploy User Guide*.
|
1319
1351
|
#
|
1320
1352
|
#
|
1321
1353
|
#
|
@@ -1323,8 +1355,8 @@ module Aws::CodeDeploy
|
|
1323
1355
|
#
|
1324
1356
|
# @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
|
1325
1357
|
# The Amazon EC2 tags on which to filter. The deployment group includes
|
1326
|
-
# EC2 instances with any of the specified tags. Cannot be used in
|
1327
|
-
# same call as ec2TagSet.
|
1358
|
+
# Amazon EC2 instances with any of the specified tags. Cannot be used in
|
1359
|
+
# the same call as ec2TagSet.
|
1328
1360
|
#
|
1329
1361
|
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
1330
1362
|
# The on-premises instance tags on which to filter. The deployment group
|
@@ -1335,13 +1367,14 @@ module Aws::CodeDeploy
|
|
1335
1367
|
# A list of associated Amazon EC2 Auto Scaling groups.
|
1336
1368
|
#
|
1337
1369
|
# @option params [required, String] :service_role_arn
|
1338
|
-
# A service role Amazon Resource Name (ARN) that allows
|
1339
|
-
#
|
1370
|
+
# A service role Amazon Resource Name (ARN) that allows CodeDeploy to
|
1371
|
+
# act on the user's behalf when interacting with Amazon Web Services
|
1372
|
+
# services.
|
1340
1373
|
#
|
1341
1374
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
1342
1375
|
# Information about triggers to create when the deployment group is
|
1343
|
-
# created. For examples, see [Create a Trigger for an
|
1344
|
-
# Event][1] in the *
|
1376
|
+
# created. For examples, see [Create a Trigger for an CodeDeploy
|
1377
|
+
# Event][1] in the *CodeDeploy User Guide*.
|
1345
1378
|
#
|
1346
1379
|
#
|
1347
1380
|
#
|
@@ -1356,15 +1389,16 @@ module Aws::CodeDeploy
|
|
1356
1389
|
# a deployment group is created.
|
1357
1390
|
#
|
1358
1391
|
# @option params [String] :outdated_instances_strategy
|
1359
|
-
# Indicates what happens when new EC2 instances are launched
|
1392
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
1360
1393
|
# mid-deployment and do not receive the deployed application revision.
|
1361
1394
|
#
|
1362
1395
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
1363
1396
|
# initiates one or more 'auto-update outdated instances' deployments
|
1364
|
-
# to apply the deployed application revision to the new EC2
|
1397
|
+
# to apply the deployed application revision to the new Amazon EC2
|
1398
|
+
# instances.
|
1365
1399
|
#
|
1366
1400
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
1367
|
-
# deployment to update the new EC2 instances. This may result in
|
1401
|
+
# deployment to update the new Amazon EC2 instances. This may result in
|
1368
1402
|
# instances having different revisions.
|
1369
1403
|
#
|
1370
1404
|
# @option params [Types::DeploymentStyle] :deployment_style
|
@@ -1380,9 +1414,9 @@ module Aws::CodeDeploy
|
|
1380
1414
|
# Information about the load balancer used in a deployment.
|
1381
1415
|
#
|
1382
1416
|
# @option params [Types::EC2TagSet] :ec2_tag_set
|
1383
|
-
# Information about groups of tags applied to EC2 instances. The
|
1384
|
-
# deployment group includes only EC2 instances identified by all
|
1385
|
-
# groups. Cannot be used in the same call as `ec2TagFilters`.
|
1417
|
+
# Information about groups of tags applied to Amazon EC2 instances. The
|
1418
|
+
# deployment group includes only Amazon EC2 instances identified by all
|
1419
|
+
# the tag groups. Cannot be used in the same call as `ec2TagFilters`.
|
1386
1420
|
#
|
1387
1421
|
# @option params [Array<Types::ECSService>] :ecs_services
|
1388
1422
|
# The target Amazon ECS services in the deployment group. This applies
|
@@ -1544,8 +1578,8 @@ module Aws::CodeDeploy
|
|
1544
1578
|
# Deletes an application.
|
1545
1579
|
#
|
1546
1580
|
# @option params [required, String] :application_name
|
1547
|
-
# The name of an
|
1548
|
-
#
|
1581
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1582
|
+
# Amazon Web Services account.
|
1549
1583
|
#
|
1550
1584
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1551
1585
|
#
|
@@ -1573,7 +1607,7 @@ module Aws::CodeDeploy
|
|
1573
1607
|
#
|
1574
1608
|
# @option params [required, String] :deployment_config_name
|
1575
1609
|
# The name of a deployment configuration associated with the IAM user or
|
1576
|
-
#
|
1610
|
+
# Amazon Web Services account.
|
1577
1611
|
#
|
1578
1612
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1579
1613
|
#
|
@@ -1595,8 +1629,8 @@ module Aws::CodeDeploy
|
|
1595
1629
|
# Deletes a deployment group.
|
1596
1630
|
#
|
1597
1631
|
# @option params [required, String] :application_name
|
1598
|
-
# The name of an
|
1599
|
-
#
|
1632
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1633
|
+
# Amazon Web Services account.
|
1600
1634
|
#
|
1601
1635
|
# @option params [required, String] :deployment_group_name
|
1602
1636
|
# The name of a deployment group for the specified application.
|
@@ -1703,8 +1737,8 @@ module Aws::CodeDeploy
|
|
1703
1737
|
# Gets information about an application.
|
1704
1738
|
#
|
1705
1739
|
# @option params [required, String] :application_name
|
1706
|
-
# The name of an
|
1707
|
-
#
|
1740
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1741
|
+
# Amazon Web Services account.
|
1708
1742
|
#
|
1709
1743
|
# @return [Types::GetApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1710
1744
|
#
|
@@ -1818,8 +1852,8 @@ module Aws::CodeDeploy
|
|
1818
1852
|
# </note>
|
1819
1853
|
#
|
1820
1854
|
# @option params [required, String] :deployment_id
|
1821
|
-
# The unique ID of a deployment associated with the IAM user or
|
1822
|
-
# account.
|
1855
|
+
# The unique ID of a deployment associated with the IAM user or Amazon
|
1856
|
+
# Web Services account.
|
1823
1857
|
#
|
1824
1858
|
# @return [Types::GetDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1825
1859
|
#
|
@@ -1922,6 +1956,10 @@ module Aws::CodeDeploy
|
|
1922
1956
|
# resp.deployment_info.related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
|
1923
1957
|
# resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
|
1924
1958
|
# resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids[0] #=> String
|
1959
|
+
# resp.deployment_info.override_alarm_configuration.enabled #=> Boolean
|
1960
|
+
# resp.deployment_info.override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
1961
|
+
# resp.deployment_info.override_alarm_configuration.alarms #=> Array
|
1962
|
+
# resp.deployment_info.override_alarm_configuration.alarms[0].name #=> String
|
1925
1963
|
#
|
1926
1964
|
#
|
1927
1965
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1941,7 +1979,7 @@ module Aws::CodeDeploy
|
|
1941
1979
|
#
|
1942
1980
|
# @option params [required, String] :deployment_config_name
|
1943
1981
|
# The name of a deployment configuration associated with the IAM user or
|
1944
|
-
#
|
1982
|
+
# Amazon Web Services account.
|
1945
1983
|
#
|
1946
1984
|
# @return [Types::GetDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1947
1985
|
#
|
@@ -1979,8 +2017,8 @@ module Aws::CodeDeploy
|
|
1979
2017
|
# Gets information about a deployment group.
|
1980
2018
|
#
|
1981
2019
|
# @option params [required, String] :application_name
|
1982
|
-
# The name of an
|
1983
|
-
#
|
2020
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2021
|
+
# Amazon Web Services account.
|
1984
2022
|
#
|
1985
2023
|
# @option params [required, String] :deployment_group_name
|
1986
2024
|
# The name of a deployment group for the specified application.
|
@@ -2277,14 +2315,14 @@ module Aws::CodeDeploy
|
|
2277
2315
|
# Lists information about revisions for an application.
|
2278
2316
|
#
|
2279
2317
|
# @option params [required, String] :application_name
|
2280
|
-
# The name of an
|
2281
|
-
#
|
2318
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2319
|
+
# Amazon Web Services account.
|
2282
2320
|
#
|
2283
2321
|
# @option params [String] :sort_by
|
2284
2322
|
# The column name to use to sort the list results:
|
2285
2323
|
#
|
2286
2324
|
# * `registerTime`\: Sort by the time the revisions were registered with
|
2287
|
-
#
|
2325
|
+
# CodeDeploy.
|
2288
2326
|
#
|
2289
2327
|
# * `firstUsedTime`\: Sort by the time the revisions were first used in
|
2290
2328
|
# a deployment.
|
@@ -2377,7 +2415,8 @@ module Aws::CodeDeploy
|
|
2377
2415
|
req.send_request(options)
|
2378
2416
|
end
|
2379
2417
|
|
2380
|
-
# Lists the applications registered with the IAM user or
|
2418
|
+
# Lists the applications registered with the IAM user or Amazon Web
|
2419
|
+
# Services account.
|
2381
2420
|
#
|
2382
2421
|
# @option params [String] :next_token
|
2383
2422
|
# An identifier returned from the previous list applications call. It
|
@@ -2411,7 +2450,8 @@ module Aws::CodeDeploy
|
|
2411
2450
|
req.send_request(options)
|
2412
2451
|
end
|
2413
2452
|
|
2414
|
-
# Lists the deployment configurations with the IAM user or
|
2453
|
+
# Lists the deployment configurations with the IAM user or Amazon Web
|
2454
|
+
# Services account.
|
2415
2455
|
#
|
2416
2456
|
# @option params [String] :next_token
|
2417
2457
|
# An identifier returned from the previous `ListDeploymentConfigs` call.
|
@@ -2447,11 +2487,11 @@ module Aws::CodeDeploy
|
|
2447
2487
|
end
|
2448
2488
|
|
2449
2489
|
# Lists the deployment groups for an application registered with the IAM
|
2450
|
-
# user or
|
2490
|
+
# user or Amazon Web Services account.
|
2451
2491
|
#
|
2452
2492
|
# @option params [required, String] :application_name
|
2453
|
-
# The name of an
|
2454
|
-
#
|
2493
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2494
|
+
# Amazon Web Services account.
|
2455
2495
|
#
|
2456
2496
|
# @option params [String] :next_token
|
2457
2497
|
# An identifier returned from the previous list deployment groups call.
|
@@ -2492,12 +2532,12 @@ module Aws::CodeDeploy
|
|
2492
2532
|
# <note markdown="1"> The newer `BatchGetDeploymentTargets` should be used instead because
|
2493
2533
|
# it works with all compute types. `ListDeploymentInstances` throws an
|
2494
2534
|
# exception if it is used with a compute platform other than
|
2495
|
-
# EC2/On-premises or
|
2535
|
+
# EC2/On-premises or Lambda.
|
2496
2536
|
#
|
2497
2537
|
# </note>
|
2498
2538
|
#
|
2499
2539
|
# Lists the instance for a deployment associated with the IAM user or
|
2500
|
-
#
|
2540
|
+
# Amazon Web Services account.
|
2501
2541
|
#
|
2502
2542
|
# @option params [required, String] :deployment_id
|
2503
2543
|
# The unique ID of a deployment.
|
@@ -2612,11 +2652,11 @@ module Aws::CodeDeploy
|
|
2612
2652
|
end
|
2613
2653
|
|
2614
2654
|
# Lists the deployments in a deployment group for an application
|
2615
|
-
# registered with the IAM user or
|
2655
|
+
# registered with the IAM user or Amazon Web Services account.
|
2616
2656
|
#
|
2617
2657
|
# @option params [String] :application_name
|
2618
|
-
# The name of an
|
2619
|
-
#
|
2658
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2659
|
+
# Amazon Web Services account.
|
2620
2660
|
#
|
2621
2661
|
# <note markdown="1"> If `applicationName` is specified, then `deploymentGroupName` must be
|
2622
2662
|
# specified. If it is not specified, then `deploymentGroupName` must not
|
@@ -2830,16 +2870,15 @@ module Aws::CodeDeploy
|
|
2830
2870
|
end
|
2831
2871
|
|
2832
2872
|
# Sets the result of a Lambda validation function. The function
|
2833
|
-
# validates lifecycle hooks during a deployment that uses the
|
2834
|
-
#
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
# `
|
2839
|
-
#
|
2840
|
-
#
|
2841
|
-
#
|
2842
|
-
# Amazon ECS Deployment][2].
|
2873
|
+
# validates lifecycle hooks during a deployment that uses the Lambda or
|
2874
|
+
# Amazon ECS compute platform. For Lambda deployments, the available
|
2875
|
+
# lifecycle hooks are `BeforeAllowTraffic` and `AfterAllowTraffic`. For
|
2876
|
+
# Amazon ECS deployments, the available lifecycle hooks are
|
2877
|
+
# `BeforeInstall`, `AfterInstall`, `AfterAllowTestTraffic`,
|
2878
|
+
# `BeforeAllowTraffic`, and `AfterAllowTraffic`. Lambda validation
|
2879
|
+
# functions return `Succeeded` or `Failed`. For more information, see
|
2880
|
+
# [AppSpec 'hooks' Section for an Lambda Deployment ][1] and [AppSpec
|
2881
|
+
# 'hooks' Section for an Amazon ECS Deployment][2].
|
2843
2882
|
#
|
2844
2883
|
#
|
2845
2884
|
#
|
@@ -2857,8 +2896,9 @@ module Aws::CodeDeploy
|
|
2857
2896
|
#
|
2858
2897
|
# @option params [String] :status
|
2859
2898
|
# The result of a Lambda function that validates a deployment lifecycle
|
2860
|
-
# event.
|
2861
|
-
# `
|
2899
|
+
# event. The values listed in **Valid Values** are valid for lifecycle
|
2900
|
+
# statuses in general; however, only `Succeeded` and `Failed` can be
|
2901
|
+
# passed successfully in your API call.
|
2862
2902
|
#
|
2863
2903
|
# @return [Types::PutLifecycleEventHookExecutionStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2864
2904
|
#
|
@@ -2885,12 +2925,11 @@ module Aws::CodeDeploy
|
|
2885
2925
|
req.send_request(options)
|
2886
2926
|
end
|
2887
2927
|
|
2888
|
-
# Registers with
|
2889
|
-
# application.
|
2928
|
+
# Registers with CodeDeploy a revision for the specified application.
|
2890
2929
|
#
|
2891
2930
|
# @option params [required, String] :application_name
|
2892
|
-
# The name of an
|
2893
|
-
#
|
2931
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2932
|
+
# Amazon Web Services account.
|
2894
2933
|
#
|
2895
2934
|
# @option params [String] :description
|
2896
2935
|
# A comment about the revision.
|
@@ -3185,9 +3224,20 @@ module Aws::CodeDeploy
|
|
3185
3224
|
#
|
3186
3225
|
# @option params [Array<String>] :auto_scaling_groups
|
3187
3226
|
# The replacement list of Auto Scaling groups to be included in the
|
3188
|
-
# deployment group, if you want to change them.
|
3189
|
-
#
|
3190
|
-
#
|
3227
|
+
# deployment group, if you want to change them.
|
3228
|
+
#
|
3229
|
+
# * To keep the Auto Scaling groups, enter their names or do not specify
|
3230
|
+
# this parameter.
|
3231
|
+
#
|
3232
|
+
# * To remove Auto Scaling groups, specify a non-null empty list of Auto
|
3233
|
+
# Scaling group names to detach all CodeDeploy-managed Auto Scaling
|
3234
|
+
# lifecycle hooks. For examples, see [Amazon EC2 instances in an
|
3235
|
+
# Amazon EC2 Auto Scaling group fail to launch and receive the error
|
3236
|
+
# "Heartbeat Timeout"][1] in the *CodeDeploy User Guide*.
|
3237
|
+
#
|
3238
|
+
#
|
3239
|
+
#
|
3240
|
+
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-auto-scaling.html#troubleshooting-auto-scaling-heartbeat
|
3191
3241
|
#
|
3192
3242
|
# @option params [String] :service_role_arn
|
3193
3243
|
# A replacement ARN for the service role, if you want to change it.
|
@@ -3195,7 +3245,7 @@ module Aws::CodeDeploy
|
|
3195
3245
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
3196
3246
|
# Information about triggers to change when the deployment group is
|
3197
3247
|
# updated. For examples, see [Edit a Trigger in a CodeDeploy Deployment
|
3198
|
-
# Group][1] in the *
|
3248
|
+
# Group][1] in the *CodeDeploy User Guide*.
|
3199
3249
|
#
|
3200
3250
|
#
|
3201
3251
|
#
|
@@ -3210,15 +3260,16 @@ module Aws::CodeDeploy
|
|
3210
3260
|
# changed when a deployment group is updated.
|
3211
3261
|
#
|
3212
3262
|
# @option params [String] :outdated_instances_strategy
|
3213
|
-
# Indicates what happens when new EC2 instances are launched
|
3263
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
3214
3264
|
# mid-deployment and do not receive the deployed application revision.
|
3215
3265
|
#
|
3216
3266
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
3217
3267
|
# initiates one or more 'auto-update outdated instances' deployments
|
3218
|
-
# to apply the deployed application revision to the new EC2
|
3268
|
+
# to apply the deployed application revision to the new Amazon EC2
|
3269
|
+
# instances.
|
3219
3270
|
#
|
3220
3271
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
3221
|
-
# deployment to update the new EC2 instances. This may result in
|
3272
|
+
# deployment to update the new Amazon EC2 instances. This may result in
|
3222
3273
|
# instances having different revisions.
|
3223
3274
|
#
|
3224
3275
|
# @option params [Types::DeploymentStyle] :deployment_style
|
@@ -3235,8 +3286,8 @@ module Aws::CodeDeploy
|
|
3235
3286
|
#
|
3236
3287
|
# @option params [Types::EC2TagSet] :ec2_tag_set
|
3237
3288
|
# Information about groups of tags applied to on-premises instances. The
|
3238
|
-
# deployment group includes only EC2 instances identified by all
|
3239
|
-
# groups.
|
3289
|
+
# deployment group includes only Amazon EC2 instances identified by all
|
3290
|
+
# the tag groups.
|
3240
3291
|
#
|
3241
3292
|
# @option params [Array<Types::ECSService>] :ecs_services
|
3242
3293
|
# The target Amazon ECS services in the deployment group. This applies
|
@@ -3399,7 +3450,7 @@ module Aws::CodeDeploy
|
|
3399
3450
|
params: params,
|
3400
3451
|
config: config)
|
3401
3452
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
3402
|
-
context[:gem_version] = '1.
|
3453
|
+
context[:gem_version] = '1.50.0'
|
3403
3454
|
Seahorse::Client::Request.new(handlers, context)
|
3404
3455
|
end
|
3405
3456
|
|
@@ -586,6 +586,7 @@ module Aws::CodeDeploy
|
|
586
586
|
CreateDeploymentInput.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfiguration, location_name: "autoRollbackConfiguration"))
|
587
587
|
CreateDeploymentInput.add_member(:update_outdated_instances_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "updateOutdatedInstancesOnly"))
|
588
588
|
CreateDeploymentInput.add_member(:file_exists_behavior, Shapes::ShapeRef.new(shape: FileExistsBehavior, location_name: "fileExistsBehavior"))
|
589
|
+
CreateDeploymentInput.add_member(:override_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "overrideAlarmConfiguration"))
|
589
590
|
CreateDeploymentInput.struct_class = Types::CreateDeploymentInput
|
590
591
|
|
591
592
|
CreateDeploymentOutput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
|
@@ -708,6 +709,7 @@ module Aws::CodeDeploy
|
|
708
709
|
DeploymentInfo.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
|
709
710
|
DeploymentInfo.add_member(:external_id, Shapes::ShapeRef.new(shape: ExternalId, location_name: "externalId"))
|
710
711
|
DeploymentInfo.add_member(:related_deployments, Shapes::ShapeRef.new(shape: RelatedDeployments, location_name: "relatedDeployments"))
|
712
|
+
DeploymentInfo.add_member(:override_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "overrideAlarmConfiguration"))
|
711
713
|
DeploymentInfo.struct_class = Types::DeploymentInfo
|
712
714
|
|
713
715
|
DeploymentIsNotInReadyStateException.struct_class = Types::DeploymentIsNotInReadyStateException
|
@@ -1583,6 +1585,8 @@ module Aws::CodeDeploy
|
|
1583
1585
|
o.errors << Shapes::ShapeRef.new(shape: DescriptionTooLongException)
|
1584
1586
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentLimitExceededException)
|
1585
1587
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetInstancesException)
|
1588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAlarmConfigException)
|
1589
|
+
o.errors << Shapes::ShapeRef.new(shape: AlarmsLimitExceededException)
|
1586
1590
|
o.errors << Shapes::ShapeRef.new(shape: InvalidAutoRollbackConfigException)
|
1587
1591
|
o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerInfoException)
|
1588
1592
|
o.errors << Shapes::ShapeRef.new(shape: InvalidFileExistsBehaviorException)
|