aws-sdk-codedeploy 1.48.0 → 1.50.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01a07efb73d6e72709a62be7fea4554ae78562185b4a872004fbb59e224048cd
4
- data.tar.gz: 1cc31951ac11a68c98dbcfaf6d6fbe6261704f6a2eac6e297d8805fd90dfe889
3
+ metadata.gz: 64529691987c1c3d5be970f1baba0a76a96161076d712c8726c8643f35b8c635
4
+ data.tar.gz: f9882339183c644d4ca510d5e5c3382b2040eeca8942c438c971c60ff06e3779
5
5
  SHA512:
6
- metadata.gz: b5136203022a2107190c2a9f2b512e3f485f7f5105c06b6445630e2ee319a1d07d53014d4a562f7bda85d5a61fcd11b2f0cd7a7a1529f2d2549a0199db9a0bab
7
- data.tar.gz: be48355da1c5600a0890f546104415949fbc4e2c01db9ab077075fc0ab1d62a8c6ab282f2962aaf498830c3f833ee4d0555bf853562d5a371df1a2ce1770022c
6
+ metadata.gz: 9ff8d3aeebb8747afc817612931a04f7b987267d2a284d12d9097cdc73103e35b2ad2d6667d7ee07cea06d8a01d1894d68b37cb49c57fedf2c9294c71f35469f
7
+ data.tar.gz: 24c1a4723a878f1ccf13be843779df630ee0eec298a451a4b3e41bc455b67dac74a847fa8a8b249769c09198c1bac7060a86cf7115746cdb28e539780c7edd98
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2022-09-30)
5
+ ------------------
6
+
7
+ * Feature - This release allows you to override the alarm configurations when creating a deployment.
8
+
9
+ 1.49.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.48.0 (2022-02-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.50.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::CodeDeploy
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -397,7 +399,7 @@ module Aws::CodeDeploy
397
399
  # number of application revisions that can be returned is 25.
398
400
  #
399
401
  # @option params [required, String] :application_name
400
- # The name of an AWS CodeDeploy application about which to get revision
402
+ # The name of an CodeDeploy application about which to get revision
401
403
  # information.
402
404
  #
403
405
  # @option params [required, Array<Types::RevisionLocation>] :revisions
@@ -513,8 +515,8 @@ module Aws::CodeDeploy
513
515
  # Gets information about one or more deployment groups.
514
516
  #
515
517
  # @option params [required, String] :application_name
516
- # The name of an AWS CodeDeploy application associated with the
517
- # applicable IAM user or AWS account.
518
+ # The name of an CodeDeploy application associated with the applicable
519
+ # IAM or Amazon Web Services account.
518
520
  #
519
521
  # @option params [required, Array<String>] :deployment_group_names
520
522
  # The names of the deployment groups.
@@ -632,9 +634,9 @@ module Aws::CodeDeploy
632
634
  # </note>
633
635
  #
634
636
  # Returns an array of one or more instances associated with a
635
- # deployment. This method works with EC2/On-premises and AWS Lambda
636
- # compute platforms. The newer `BatchGetDeploymentTargets` works with
637
- # all compute platforms. The maximum number of instances that can be
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
638
640
  # returned is 25.
639
641
  #
640
642
  # @option params [required, String] :deployment_id
@@ -692,9 +694,9 @@ module Aws::CodeDeploy
692
694
  # The type of targets returned depends on the deployment's compute
693
695
  # platform or deployment method:
694
696
  #
695
- # * **EC2/On-premises**\: Information about EC2 instance targets.
697
+ # * **EC2/On-premises**\: Information about Amazon EC2 instance targets.
696
698
  #
697
- # * **AWS Lambda**\: Information about Lambda functions targets.
699
+ # * **Lambda**\: Information about Lambda functions targets.
698
700
  #
699
701
  # * **Amazon ECS**\: Information about Amazon ECS service targets.
700
702
  #
@@ -710,11 +712,11 @@ module Aws::CodeDeploy
710
712
  # maximum number of deployment target IDs you can specify is 25.
711
713
  #
712
714
  # * For deployments that use the EC2/On-premises compute platform, the
713
- # target IDs are EC2 or on-premises instances IDs, and their target
714
- # type is `instanceTarget`.
715
+ # target IDs are Amazon EC2 or on-premises instances IDs, and their
716
+ # target type is `instanceTarget`.
715
717
  #
716
- # * For deployments that use the AWS Lambda compute platform, the target
717
- # IDs are the names of Lambda functions, and their target type is
718
+ # * For deployments that use the Lambda compute platform, the target IDs
719
+ # are the names of Lambda functions, and their target type is
718
720
  # `instanceTarget`.
719
721
  #
720
722
  # * For deployments that use the Amazon ECS compute platform, the target
@@ -722,8 +724,8 @@ module Aws::CodeDeploy
722
724
  # the format `<clustername>:<servicename>`. Their target type is
723
725
  # `ecsTarget`.
724
726
  #
725
- # * For deployments that are deployed with AWS CloudFormation, the
726
- # target IDs are CloudFormation stack IDs. Their target type is
727
+ # * For deployments that are deployed with CloudFormation, the target
728
+ # IDs are CloudFormation stack IDs. Their target type is
727
729
  # `cloudFormationTarget`.
728
730
  #
729
731
  # @return [Types::BatchGetDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -932,6 +934,10 @@ module Aws::CodeDeploy
932
934
  # resp.deployments_info[0].related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
933
935
  # resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
934
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
935
941
  #
936
942
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
937
943
  #
@@ -1020,7 +1026,7 @@ module Aws::CodeDeploy
1020
1026
  #
1021
1027
  # @option params [required, String] :application_name
1022
1028
  # The name of the application. This name must be unique with the
1023
- # applicable IAM user or AWS account.
1029
+ # applicable IAM or Amazon Web Services account.
1024
1030
  #
1025
1031
  # @option params [String] :compute_platform
1026
1032
  # The destination platform type for the deployment (`Lambda`, `Server`,
@@ -1065,8 +1071,8 @@ module Aws::CodeDeploy
1065
1071
  # group.
1066
1072
  #
1067
1073
  # @option params [required, String] :application_name
1068
- # The name of an AWS CodeDeploy application associated with the IAM user
1069
- # or AWS account.
1074
+ # The name of an CodeDeploy application associated with the IAM user or
1075
+ # Amazon Web Services account.
1070
1076
  #
1071
1077
  # @option params [String] :deployment_group_name
1072
1078
  # The name of the deployment group.
@@ -1076,7 +1082,7 @@ module Aws::CodeDeploy
1076
1082
  #
1077
1083
  # @option params [String] :deployment_config_name
1078
1084
  # The name of a deployment configuration associated with the IAM user or
1079
- # AWS account.
1085
+ # Amazon Web Services account.
1080
1086
  #
1081
1087
  # If not specified, the value configured in the deployment group is used
1082
1088
  # as the default. If the deployment group does not have a deployment
@@ -1101,12 +1107,12 @@ module Aws::CodeDeploy
1101
1107
  # healthy hosts is not less than the minimum number of healthy hosts,
1102
1108
  # then a deployment to the next instance is attempted.
1103
1109
  #
1104
- # During a deployment, the AWS CodeDeploy agent runs the scripts
1105
- # specified for `ApplicationStop`, `BeforeBlockTraffic`, and
1106
- # `AfterBlockTraffic` in the AppSpec file from the previous successful
1107
- # deployment. (All other scripts are run from the AppSpec file in the
1108
- # current deployment.) If one of these scripts contains an error and
1109
- # does not run successfully, the deployment can fail.
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.
1110
1116
  #
1111
1117
  # If the cause of the failure is a script from the last successful
1112
1118
  # deployment that will never run successfully, create a new deployment
@@ -1127,8 +1133,8 @@ module Aws::CodeDeploy
1127
1133
  # are not running the latest application revision.
1128
1134
  #
1129
1135
  # @option params [String] :file_exists_behavior
1130
- # Information about how AWS CodeDeploy handles files that already exist
1131
- # in a deployment target location but weren't part of the previous
1136
+ # Information about how CodeDeploy handles files that already exist in a
1137
+ # deployment target location but weren't part of the previous
1132
1138
  # successful deployment.
1133
1139
  #
1134
1140
  # The `fileExistsBehavior` parameter takes any of the following values:
@@ -1143,6 +1149,25 @@ module Aws::CodeDeploy
1143
1149
  # * RETAIN: The version of the file already on the instance is kept and
1144
1150
  # used as part of the new deployment.
1145
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
+ #
1146
1171
  # @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1147
1172
  #
1148
1173
  # * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
@@ -1204,6 +1229,15 @@ module Aws::CodeDeploy
1204
1229
  # },
1205
1230
  # update_outdated_instances_only: false,
1206
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
+ # },
1207
1241
  # })
1208
1242
  #
1209
1243
  # @example Response structure
@@ -1237,8 +1271,8 @@ module Aws::CodeDeploy
1237
1271
  # * FLEET\_PERCENT: The value parameter represents the minimum number of
1238
1272
  # healthy instances as a percentage of the total number of instances
1239
1273
  # in the deployment. If you specify FLEET\_PERCENT, at the start of
1240
- # the deployment, AWS CodeDeploy converts the percentage to the
1241
- # equivalent number of instances and rounds up fractional instances.
1274
+ # the deployment, CodeDeploy converts the percentage to the equivalent
1275
+ # number of instances and rounds up fractional instances.
1242
1276
  #
1243
1277
  # The value parameter takes an integer.
1244
1278
  #
@@ -1295,15 +1329,15 @@ module Aws::CodeDeploy
1295
1329
  # deployed.
1296
1330
  #
1297
1331
  # @option params [required, String] :application_name
1298
- # The name of an AWS CodeDeploy application associated with the IAM user
1299
- # or AWS account.
1332
+ # The name of an CodeDeploy application associated with the IAM user or
1333
+ # Amazon Web Services account.
1300
1334
  #
1301
1335
  # @option params [required, String] :deployment_group_name
1302
1336
  # The name of a new deployment group for the specified application.
1303
1337
  #
1304
1338
  # @option params [String] :deployment_config_name
1305
1339
  # If specified, the deployment configuration name can be either one of
1306
- # the predefined configurations provided with AWS CodeDeploy or a custom
1340
+ # the predefined configurations provided with CodeDeploy or a custom
1307
1341
  # deployment configuration that you create by calling the create
1308
1342
  # deployment configuration operation.
1309
1343
  #
@@ -1312,8 +1346,8 @@ module Aws::CodeDeploy
1312
1346
  # deployment or deployment group.
1313
1347
  #
1314
1348
  # For more information about the predefined deployment configurations in
1315
- # AWS CodeDeploy, see [Working with Deployment Configurations in
1316
- # CodeDeploy][1] in the *AWS CodeDeploy User Guide*.
1349
+ # CodeDeploy, see [Working with Deployment Configurations in
1350
+ # CodeDeploy][1] in the *CodeDeploy User Guide*.
1317
1351
  #
1318
1352
  #
1319
1353
  #
@@ -1321,8 +1355,8 @@ module Aws::CodeDeploy
1321
1355
  #
1322
1356
  # @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
1323
1357
  # The Amazon EC2 tags on which to filter. The deployment group includes
1324
- # EC2 instances with any of the specified tags. Cannot be used in the
1325
- # same call as ec2TagSet.
1358
+ # Amazon EC2 instances with any of the specified tags. Cannot be used in
1359
+ # the same call as ec2TagSet.
1326
1360
  #
1327
1361
  # @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
1328
1362
  # The on-premises instance tags on which to filter. The deployment group
@@ -1333,13 +1367,14 @@ module Aws::CodeDeploy
1333
1367
  # A list of associated Amazon EC2 Auto Scaling groups.
1334
1368
  #
1335
1369
  # @option params [required, String] :service_role_arn
1336
- # A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy
1337
- # to act on the user's behalf when interacting with AWS services.
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.
1338
1373
  #
1339
1374
  # @option params [Array<Types::TriggerConfig>] :trigger_configurations
1340
1375
  # Information about triggers to create when the deployment group is
1341
- # created. For examples, see [Create a Trigger for an AWS CodeDeploy
1342
- # Event][1] in the *AWS CodeDeploy User Guide*.
1376
+ # created. For examples, see [Create a Trigger for an CodeDeploy
1377
+ # Event][1] in the *CodeDeploy User Guide*.
1343
1378
  #
1344
1379
  #
1345
1380
  #
@@ -1354,15 +1389,16 @@ module Aws::CodeDeploy
1354
1389
  # a deployment group is created.
1355
1390
  #
1356
1391
  # @option params [String] :outdated_instances_strategy
1357
- # Indicates what happens when new EC2 instances are launched
1392
+ # Indicates what happens when new Amazon EC2 instances are launched
1358
1393
  # mid-deployment and do not receive the deployed application revision.
1359
1394
  #
1360
1395
  # If this option is set to `UPDATE` or is unspecified, CodeDeploy
1361
1396
  # initiates one or more 'auto-update outdated instances' deployments
1362
- # to apply the deployed application revision to the new EC2 instances.
1397
+ # to apply the deployed application revision to the new Amazon EC2
1398
+ # instances.
1363
1399
  #
1364
1400
  # If this option is set to `IGNORE`, CodeDeploy does not initiate a
1365
- # deployment to update the new EC2 instances. This may result in
1401
+ # deployment to update the new Amazon EC2 instances. This may result in
1366
1402
  # instances having different revisions.
1367
1403
  #
1368
1404
  # @option params [Types::DeploymentStyle] :deployment_style
@@ -1378,9 +1414,9 @@ module Aws::CodeDeploy
1378
1414
  # Information about the load balancer used in a deployment.
1379
1415
  #
1380
1416
  # @option params [Types::EC2TagSet] :ec2_tag_set
1381
- # Information about groups of tags applied to EC2 instances. The
1382
- # deployment group includes only EC2 instances identified by all the tag
1383
- # 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`.
1384
1420
  #
1385
1421
  # @option params [Array<Types::ECSService>] :ecs_services
1386
1422
  # The target Amazon ECS services in the deployment group. This applies
@@ -1542,8 +1578,8 @@ module Aws::CodeDeploy
1542
1578
  # Deletes an application.
1543
1579
  #
1544
1580
  # @option params [required, String] :application_name
1545
- # The name of an AWS CodeDeploy application associated with the IAM user
1546
- # or AWS account.
1581
+ # The name of an CodeDeploy application associated with the IAM user or
1582
+ # Amazon Web Services account.
1547
1583
  #
1548
1584
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1549
1585
  #
@@ -1571,7 +1607,7 @@ module Aws::CodeDeploy
1571
1607
  #
1572
1608
  # @option params [required, String] :deployment_config_name
1573
1609
  # The name of a deployment configuration associated with the IAM user or
1574
- # AWS account.
1610
+ # Amazon Web Services account.
1575
1611
  #
1576
1612
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1577
1613
  #
@@ -1593,8 +1629,8 @@ module Aws::CodeDeploy
1593
1629
  # Deletes a deployment group.
1594
1630
  #
1595
1631
  # @option params [required, String] :application_name
1596
- # The name of an AWS CodeDeploy application associated with the IAM user
1597
- # or AWS account.
1632
+ # The name of an CodeDeploy application associated with the IAM user or
1633
+ # Amazon Web Services account.
1598
1634
  #
1599
1635
  # @option params [required, String] :deployment_group_name
1600
1636
  # The name of a deployment group for the specified application.
@@ -1701,8 +1737,8 @@ module Aws::CodeDeploy
1701
1737
  # Gets information about an application.
1702
1738
  #
1703
1739
  # @option params [required, String] :application_name
1704
- # The name of an AWS CodeDeploy application associated with the IAM user
1705
- # or AWS account.
1740
+ # The name of an CodeDeploy application associated with the IAM user or
1741
+ # Amazon Web Services account.
1706
1742
  #
1707
1743
  # @return [Types::GetApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1708
1744
  #
@@ -1816,8 +1852,8 @@ module Aws::CodeDeploy
1816
1852
  # </note>
1817
1853
  #
1818
1854
  # @option params [required, String] :deployment_id
1819
- # The unique ID of a deployment associated with the IAM user or AWS
1820
- # account.
1855
+ # The unique ID of a deployment associated with the IAM user or Amazon
1856
+ # Web Services account.
1821
1857
  #
1822
1858
  # @return [Types::GetDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1823
1859
  #
@@ -1920,6 +1956,10 @@ module Aws::CodeDeploy
1920
1956
  # resp.deployment_info.related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
1921
1957
  # resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
1922
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
1923
1963
  #
1924
1964
  #
1925
1965
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1939,7 +1979,7 @@ module Aws::CodeDeploy
1939
1979
  #
1940
1980
  # @option params [required, String] :deployment_config_name
1941
1981
  # The name of a deployment configuration associated with the IAM user or
1942
- # AWS account.
1982
+ # Amazon Web Services account.
1943
1983
  #
1944
1984
  # @return [Types::GetDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1945
1985
  #
@@ -1977,8 +2017,8 @@ module Aws::CodeDeploy
1977
2017
  # Gets information about a deployment group.
1978
2018
  #
1979
2019
  # @option params [required, String] :application_name
1980
- # The name of an AWS CodeDeploy application associated with the IAM user
1981
- # or AWS account.
2020
+ # The name of an CodeDeploy application associated with the IAM user or
2021
+ # Amazon Web Services account.
1982
2022
  #
1983
2023
  # @option params [required, String] :deployment_group_name
1984
2024
  # The name of a deployment group for the specified application.
@@ -2275,14 +2315,14 @@ module Aws::CodeDeploy
2275
2315
  # Lists information about revisions for an application.
2276
2316
  #
2277
2317
  # @option params [required, String] :application_name
2278
- # The name of an AWS CodeDeploy application associated with the IAM user
2279
- # or AWS account.
2318
+ # The name of an CodeDeploy application associated with the IAM user or
2319
+ # Amazon Web Services account.
2280
2320
  #
2281
2321
  # @option params [String] :sort_by
2282
2322
  # The column name to use to sort the list results:
2283
2323
  #
2284
2324
  # * `registerTime`\: Sort by the time the revisions were registered with
2285
- # AWS CodeDeploy.
2325
+ # CodeDeploy.
2286
2326
  #
2287
2327
  # * `firstUsedTime`\: Sort by the time the revisions were first used in
2288
2328
  # a deployment.
@@ -2375,7 +2415,8 @@ module Aws::CodeDeploy
2375
2415
  req.send_request(options)
2376
2416
  end
2377
2417
 
2378
- # Lists the applications registered with the IAM user or AWS account.
2418
+ # Lists the applications registered with the IAM user or Amazon Web
2419
+ # Services account.
2379
2420
  #
2380
2421
  # @option params [String] :next_token
2381
2422
  # An identifier returned from the previous list applications call. It
@@ -2409,7 +2450,8 @@ module Aws::CodeDeploy
2409
2450
  req.send_request(options)
2410
2451
  end
2411
2452
 
2412
- # Lists the deployment configurations with the IAM user or AWS account.
2453
+ # Lists the deployment configurations with the IAM user or Amazon Web
2454
+ # Services account.
2413
2455
  #
2414
2456
  # @option params [String] :next_token
2415
2457
  # An identifier returned from the previous `ListDeploymentConfigs` call.
@@ -2445,11 +2487,11 @@ module Aws::CodeDeploy
2445
2487
  end
2446
2488
 
2447
2489
  # Lists the deployment groups for an application registered with the IAM
2448
- # user or AWS account.
2490
+ # user or Amazon Web Services account.
2449
2491
  #
2450
2492
  # @option params [required, String] :application_name
2451
- # The name of an AWS CodeDeploy application associated with the IAM user
2452
- # or AWS account.
2493
+ # The name of an CodeDeploy application associated with the IAM user or
2494
+ # Amazon Web Services account.
2453
2495
  #
2454
2496
  # @option params [String] :next_token
2455
2497
  # An identifier returned from the previous list deployment groups call.
@@ -2490,12 +2532,12 @@ module Aws::CodeDeploy
2490
2532
  # <note markdown="1"> The newer `BatchGetDeploymentTargets` should be used instead because
2491
2533
  # it works with all compute types. `ListDeploymentInstances` throws an
2492
2534
  # exception if it is used with a compute platform other than
2493
- # EC2/On-premises or AWS Lambda.
2535
+ # EC2/On-premises or Lambda.
2494
2536
  #
2495
2537
  # </note>
2496
2538
  #
2497
2539
  # Lists the instance for a deployment associated with the IAM user or
2498
- # AWS account.
2540
+ # Amazon Web Services account.
2499
2541
  #
2500
2542
  # @option params [required, String] :deployment_id
2501
2543
  # The unique ID of a deployment.
@@ -2610,11 +2652,11 @@ module Aws::CodeDeploy
2610
2652
  end
2611
2653
 
2612
2654
  # Lists the deployments in a deployment group for an application
2613
- # registered with the IAM user or AWS account.
2655
+ # registered with the IAM user or Amazon Web Services account.
2614
2656
  #
2615
2657
  # @option params [String] :application_name
2616
- # The name of an AWS CodeDeploy application associated with the IAM user
2617
- # or AWS account.
2658
+ # The name of an CodeDeploy application associated with the IAM user or
2659
+ # Amazon Web Services account.
2618
2660
  #
2619
2661
  # <note markdown="1"> If `applicationName` is specified, then `deploymentGroupName` must be
2620
2662
  # specified. If it is not specified, then `deploymentGroupName` must not
@@ -2828,16 +2870,15 @@ module Aws::CodeDeploy
2828
2870
  end
2829
2871
 
2830
2872
  # Sets the result of a Lambda validation function. The function
2831
- # validates lifecycle hooks during a deployment that uses the AWS Lambda
2832
- # or Amazon ECS compute platform. For AWS Lambda deployments, the
2833
- # available lifecycle hooks are `BeforeAllowTraffic` and
2834
- # `AfterAllowTraffic`. For Amazon ECS deployments, the available
2835
- # lifecycle hooks are `BeforeInstall`, `AfterInstall`,
2836
- # `AfterAllowTestTraffic`, `BeforeAllowTraffic`, and
2837
- # `AfterAllowTraffic`. Lambda validation functions return `Succeeded` or
2838
- # `Failed`. For more information, see [AppSpec 'hooks' Section for an
2839
- # AWS Lambda Deployment ][1] and [AppSpec 'hooks' Section for an
2840
- # 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].
2841
2882
  #
2842
2883
  #
2843
2884
  #
@@ -2855,8 +2896,9 @@ module Aws::CodeDeploy
2855
2896
  #
2856
2897
  # @option params [String] :status
2857
2898
  # The result of a Lambda function that validates a deployment lifecycle
2858
- # event. `Succeeded` and `Failed` are the only valid values for
2859
- # `status`.
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.
2860
2902
  #
2861
2903
  # @return [Types::PutLifecycleEventHookExecutionStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2862
2904
  #
@@ -2883,12 +2925,11 @@ module Aws::CodeDeploy
2883
2925
  req.send_request(options)
2884
2926
  end
2885
2927
 
2886
- # Registers with AWS CodeDeploy a revision for the specified
2887
- # application.
2928
+ # Registers with CodeDeploy a revision for the specified application.
2888
2929
  #
2889
2930
  # @option params [required, String] :application_name
2890
- # The name of an AWS CodeDeploy application associated with the IAM user
2891
- # or AWS account.
2931
+ # The name of an CodeDeploy application associated with the IAM user or
2932
+ # Amazon Web Services account.
2892
2933
  #
2893
2934
  # @option params [String] :description
2894
2935
  # A comment about the revision.
@@ -3183,9 +3224,20 @@ module Aws::CodeDeploy
3183
3224
  #
3184
3225
  # @option params [Array<String>] :auto_scaling_groups
3185
3226
  # The replacement list of Auto Scaling groups to be included in the
3186
- # deployment group, if you want to change them. To keep the Auto Scaling
3187
- # groups, enter their names. To remove Auto Scaling groups, do not enter
3188
- # any Auto Scaling group names.
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
3189
3241
  #
3190
3242
  # @option params [String] :service_role_arn
3191
3243
  # A replacement ARN for the service role, if you want to change it.
@@ -3193,7 +3245,7 @@ module Aws::CodeDeploy
3193
3245
  # @option params [Array<Types::TriggerConfig>] :trigger_configurations
3194
3246
  # Information about triggers to change when the deployment group is
3195
3247
  # updated. For examples, see [Edit a Trigger in a CodeDeploy Deployment
3196
- # Group][1] in the *AWS CodeDeploy User Guide*.
3248
+ # Group][1] in the *CodeDeploy User Guide*.
3197
3249
  #
3198
3250
  #
3199
3251
  #
@@ -3208,15 +3260,16 @@ module Aws::CodeDeploy
3208
3260
  # changed when a deployment group is updated.
3209
3261
  #
3210
3262
  # @option params [String] :outdated_instances_strategy
3211
- # Indicates what happens when new EC2 instances are launched
3263
+ # Indicates what happens when new Amazon EC2 instances are launched
3212
3264
  # mid-deployment and do not receive the deployed application revision.
3213
3265
  #
3214
3266
  # If this option is set to `UPDATE` or is unspecified, CodeDeploy
3215
3267
  # initiates one or more 'auto-update outdated instances' deployments
3216
- # to apply the deployed application revision to the new EC2 instances.
3268
+ # to apply the deployed application revision to the new Amazon EC2
3269
+ # instances.
3217
3270
  #
3218
3271
  # If this option is set to `IGNORE`, CodeDeploy does not initiate a
3219
- # deployment to update the new EC2 instances. This may result in
3272
+ # deployment to update the new Amazon EC2 instances. This may result in
3220
3273
  # instances having different revisions.
3221
3274
  #
3222
3275
  # @option params [Types::DeploymentStyle] :deployment_style
@@ -3233,8 +3286,8 @@ module Aws::CodeDeploy
3233
3286
  #
3234
3287
  # @option params [Types::EC2TagSet] :ec2_tag_set
3235
3288
  # Information about groups of tags applied to on-premises instances. The
3236
- # deployment group includes only EC2 instances identified by all the tag
3237
- # groups.
3289
+ # deployment group includes only Amazon EC2 instances identified by all
3290
+ # the tag groups.
3238
3291
  #
3239
3292
  # @option params [Array<Types::ECSService>] :ecs_services
3240
3293
  # The target Amazon ECS services in the deployment group. This applies
@@ -3397,7 +3450,7 @@ module Aws::CodeDeploy
3397
3450
  params: params,
3398
3451
  config: config)
3399
3452
  context[:gem_name] = 'aws-sdk-codedeploy'
3400
- context[:gem_version] = '1.48.0'
3453
+ context[:gem_version] = '1.50.0'
3401
3454
  Seahorse::Client::Request.new(handlers, context)
3402
3455
  end
3403
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)