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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d503776f9daea742dcb9814187d7c71f4da39cc6a705ea75fde35d2b53821d61
|
4
|
+
data.tar.gz: b0ffc8c9e0f7ec49f74bfc7561dd5e4917ae00195c2950feed15368329be1e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04cc8113fba5e21ca4b031d2f471416f68c7b70be7b0b4de38774ca806ffddd8c8243b7645396bf7db871e9b4d1cd0dc5e3755f5d436e876cd3fbfd7563ab7d2
|
7
|
+
data.tar.gz: e8dbe7745cfe2ebf244aaff8b463d7bd8f53d65fc9bf630462117a8079fd1f2159934dc98bcc8ea0afc9731c7db4407856567def1fbb4bca21541e235432d986
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.50.0 (2022-09-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release allows you to override the alarm configurations when creating a deployment.
|
13
|
+
|
4
14
|
1.49.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:codedeploy)
|
@@ -79,8 +79,9 @@ module Aws::CodeDeploy
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::CodeDeploy::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::CodeDeploy
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::CodeDeploy
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::CodeDeploy::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeDeploy::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -399,7 +416,7 @@ module Aws::CodeDeploy
|
|
399
416
|
# number of application revisions that can be returned is 25.
|
400
417
|
#
|
401
418
|
# @option params [required, String] :application_name
|
402
|
-
# The name of an
|
419
|
+
# The name of an CodeDeploy application about which to get revision
|
403
420
|
# information.
|
404
421
|
#
|
405
422
|
# @option params [required, Array<Types::RevisionLocation>] :revisions
|
@@ -515,8 +532,8 @@ module Aws::CodeDeploy
|
|
515
532
|
# Gets information about one or more deployment groups.
|
516
533
|
#
|
517
534
|
# @option params [required, String] :application_name
|
518
|
-
# The name of an
|
519
|
-
#
|
535
|
+
# The name of an CodeDeploy application associated with the applicable
|
536
|
+
# IAM or Amazon Web Services account.
|
520
537
|
#
|
521
538
|
# @option params [required, Array<String>] :deployment_group_names
|
522
539
|
# The names of the deployment groups.
|
@@ -634,9 +651,9 @@ module Aws::CodeDeploy
|
|
634
651
|
# </note>
|
635
652
|
#
|
636
653
|
# Returns an array of one or more instances associated with a
|
637
|
-
# deployment. This method works with EC2/On-premises and
|
638
|
-
#
|
639
|
-
#
|
654
|
+
# deployment. This method works with EC2/On-premises and Lambda compute
|
655
|
+
# platforms. The newer `BatchGetDeploymentTargets` works with all
|
656
|
+
# compute platforms. The maximum number of instances that can be
|
640
657
|
# returned is 25.
|
641
658
|
#
|
642
659
|
# @option params [required, String] :deployment_id
|
@@ -694,9 +711,9 @@ module Aws::CodeDeploy
|
|
694
711
|
# The type of targets returned depends on the deployment's compute
|
695
712
|
# platform or deployment method:
|
696
713
|
#
|
697
|
-
# * **EC2/On-premises**\: Information about EC2 instance targets.
|
714
|
+
# * **EC2/On-premises**\: Information about Amazon EC2 instance targets.
|
698
715
|
#
|
699
|
-
# * **
|
716
|
+
# * **Lambda**\: Information about Lambda functions targets.
|
700
717
|
#
|
701
718
|
# * **Amazon ECS**\: Information about Amazon ECS service targets.
|
702
719
|
#
|
@@ -712,11 +729,11 @@ module Aws::CodeDeploy
|
|
712
729
|
# maximum number of deployment target IDs you can specify is 25.
|
713
730
|
#
|
714
731
|
# * 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`.
|
732
|
+
# target IDs are Amazon EC2 or on-premises instances IDs, and their
|
733
|
+
# target type is `instanceTarget`.
|
717
734
|
#
|
718
|
-
# * For deployments that use the
|
719
|
-
#
|
735
|
+
# * For deployments that use the Lambda compute platform, the target IDs
|
736
|
+
# are the names of Lambda functions, and their target type is
|
720
737
|
# `instanceTarget`.
|
721
738
|
#
|
722
739
|
# * For deployments that use the Amazon ECS compute platform, the target
|
@@ -724,8 +741,8 @@ module Aws::CodeDeploy
|
|
724
741
|
# the format `<clustername>:<servicename>`. Their target type is
|
725
742
|
# `ecsTarget`.
|
726
743
|
#
|
727
|
-
# * For deployments that are deployed with
|
728
|
-
#
|
744
|
+
# * For deployments that are deployed with CloudFormation, the target
|
745
|
+
# IDs are CloudFormation stack IDs. Their target type is
|
729
746
|
# `cloudFormationTarget`.
|
730
747
|
#
|
731
748
|
# @return [Types::BatchGetDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -934,6 +951,10 @@ module Aws::CodeDeploy
|
|
934
951
|
# resp.deployments_info[0].related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
|
935
952
|
# resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
|
936
953
|
# resp.deployments_info[0].related_deployments.auto_update_outdated_instances_deployment_ids[0] #=> String
|
954
|
+
# resp.deployments_info[0].override_alarm_configuration.enabled #=> Boolean
|
955
|
+
# resp.deployments_info[0].override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
956
|
+
# resp.deployments_info[0].override_alarm_configuration.alarms #=> Array
|
957
|
+
# resp.deployments_info[0].override_alarm_configuration.alarms[0].name #=> String
|
937
958
|
#
|
938
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
939
960
|
#
|
@@ -1022,7 +1043,7 @@ module Aws::CodeDeploy
|
|
1022
1043
|
#
|
1023
1044
|
# @option params [required, String] :application_name
|
1024
1045
|
# The name of the application. This name must be unique with the
|
1025
|
-
# applicable IAM
|
1046
|
+
# applicable IAM or Amazon Web Services account.
|
1026
1047
|
#
|
1027
1048
|
# @option params [String] :compute_platform
|
1028
1049
|
# The destination platform type for the deployment (`Lambda`, `Server`,
|
@@ -1067,8 +1088,8 @@ module Aws::CodeDeploy
|
|
1067
1088
|
# group.
|
1068
1089
|
#
|
1069
1090
|
# @option params [required, String] :application_name
|
1070
|
-
# The name of an
|
1071
|
-
#
|
1091
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1092
|
+
# Amazon Web Services account.
|
1072
1093
|
#
|
1073
1094
|
# @option params [String] :deployment_group_name
|
1074
1095
|
# The name of the deployment group.
|
@@ -1078,7 +1099,7 @@ module Aws::CodeDeploy
|
|
1078
1099
|
#
|
1079
1100
|
# @option params [String] :deployment_config_name
|
1080
1101
|
# The name of a deployment configuration associated with the IAM user or
|
1081
|
-
#
|
1102
|
+
# Amazon Web Services account.
|
1082
1103
|
#
|
1083
1104
|
# If not specified, the value configured in the deployment group is used
|
1084
1105
|
# as the default. If the deployment group does not have a deployment
|
@@ -1103,12 +1124,12 @@ module Aws::CodeDeploy
|
|
1103
1124
|
# healthy hosts is not less than the minimum number of healthy hosts,
|
1104
1125
|
# then a deployment to the next instance is attempted.
|
1105
1126
|
#
|
1106
|
-
# During a deployment, the
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
#
|
1127
|
+
# During a deployment, the CodeDeploy agent runs the scripts specified
|
1128
|
+
# for `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
1129
|
+
# in the AppSpec file from the previous successful deployment. (All
|
1130
|
+
# other scripts are run from the AppSpec file in the current
|
1131
|
+
# deployment.) If one of these scripts contains an error and does not
|
1132
|
+
# run successfully, the deployment can fail.
|
1112
1133
|
#
|
1113
1134
|
# If the cause of the failure is a script from the last successful
|
1114
1135
|
# deployment that will never run successfully, create a new deployment
|
@@ -1129,8 +1150,8 @@ module Aws::CodeDeploy
|
|
1129
1150
|
# are not running the latest application revision.
|
1130
1151
|
#
|
1131
1152
|
# @option params [String] :file_exists_behavior
|
1132
|
-
# Information about how
|
1133
|
-
#
|
1153
|
+
# Information about how CodeDeploy handles files that already exist in a
|
1154
|
+
# deployment target location but weren't part of the previous
|
1134
1155
|
# successful deployment.
|
1135
1156
|
#
|
1136
1157
|
# The `fileExistsBehavior` parameter takes any of the following values:
|
@@ -1145,6 +1166,25 @@ module Aws::CodeDeploy
|
|
1145
1166
|
# * RETAIN: The version of the file already on the instance is kept and
|
1146
1167
|
# used as part of the new deployment.
|
1147
1168
|
#
|
1169
|
+
# @option params [Types::AlarmConfiguration] :override_alarm_configuration
|
1170
|
+
# Allows you to specify information about alarms associated with a
|
1171
|
+
# deployment. The alarm configuration that you specify here will
|
1172
|
+
# override the alarm configuration at the deployment group level.
|
1173
|
+
# Consider overriding the alarm configuration if you have set up alarms
|
1174
|
+
# at the deployment group level that are causing deployment failures. In
|
1175
|
+
# this case, you would call `CreateDeployment` to create a new
|
1176
|
+
# deployment that uses a previous application revision that is known to
|
1177
|
+
# work, and set its alarm configuration to turn off alarm polling.
|
1178
|
+
# Turning off alarm polling ensures that the new deployment proceeds
|
1179
|
+
# without being blocked by the alarm that was generated by the previous,
|
1180
|
+
# failed, deployment.
|
1181
|
+
#
|
1182
|
+
# <note markdown="1"> If you specify an `overrideAlarmConfiguration`, you need the
|
1183
|
+
# `UpdateDeploymentGroup` IAM permission when calling
|
1184
|
+
# `CreateDeployment`.
|
1185
|
+
#
|
1186
|
+
# </note>
|
1187
|
+
#
|
1148
1188
|
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1149
1189
|
#
|
1150
1190
|
# * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
|
@@ -1206,6 +1246,15 @@ module Aws::CodeDeploy
|
|
1206
1246
|
# },
|
1207
1247
|
# update_outdated_instances_only: false,
|
1208
1248
|
# file_exists_behavior: "DISALLOW", # accepts DISALLOW, OVERWRITE, RETAIN
|
1249
|
+
# override_alarm_configuration: {
|
1250
|
+
# enabled: false,
|
1251
|
+
# ignore_poll_alarm_failure: false,
|
1252
|
+
# alarms: [
|
1253
|
+
# {
|
1254
|
+
# name: "AlarmName",
|
1255
|
+
# },
|
1256
|
+
# ],
|
1257
|
+
# },
|
1209
1258
|
# })
|
1210
1259
|
#
|
1211
1260
|
# @example Response structure
|
@@ -1239,8 +1288,8 @@ module Aws::CodeDeploy
|
|
1239
1288
|
# * FLEET\_PERCENT: The value parameter represents the minimum number of
|
1240
1289
|
# healthy instances as a percentage of the total number of instances
|
1241
1290
|
# in the deployment. If you specify FLEET\_PERCENT, at the start of
|
1242
|
-
# the deployment,
|
1243
|
-
#
|
1291
|
+
# the deployment, CodeDeploy converts the percentage to the equivalent
|
1292
|
+
# number of instances and rounds up fractional instances.
|
1244
1293
|
#
|
1245
1294
|
# The value parameter takes an integer.
|
1246
1295
|
#
|
@@ -1297,15 +1346,15 @@ module Aws::CodeDeploy
|
|
1297
1346
|
# deployed.
|
1298
1347
|
#
|
1299
1348
|
# @option params [required, String] :application_name
|
1300
|
-
# The name of an
|
1301
|
-
#
|
1349
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1350
|
+
# Amazon Web Services account.
|
1302
1351
|
#
|
1303
1352
|
# @option params [required, String] :deployment_group_name
|
1304
1353
|
# The name of a new deployment group for the specified application.
|
1305
1354
|
#
|
1306
1355
|
# @option params [String] :deployment_config_name
|
1307
1356
|
# If specified, the deployment configuration name can be either one of
|
1308
|
-
# the predefined configurations provided with
|
1357
|
+
# the predefined configurations provided with CodeDeploy or a custom
|
1309
1358
|
# deployment configuration that you create by calling the create
|
1310
1359
|
# deployment configuration operation.
|
1311
1360
|
#
|
@@ -1314,8 +1363,8 @@ module Aws::CodeDeploy
|
|
1314
1363
|
# deployment or deployment group.
|
1315
1364
|
#
|
1316
1365
|
# For more information about the predefined deployment configurations in
|
1317
|
-
#
|
1318
|
-
# CodeDeploy][1] in the *
|
1366
|
+
# CodeDeploy, see [Working with Deployment Configurations in
|
1367
|
+
# CodeDeploy][1] in the *CodeDeploy User Guide*.
|
1319
1368
|
#
|
1320
1369
|
#
|
1321
1370
|
#
|
@@ -1323,8 +1372,8 @@ module Aws::CodeDeploy
|
|
1323
1372
|
#
|
1324
1373
|
# @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
|
1325
1374
|
# 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.
|
1375
|
+
# Amazon EC2 instances with any of the specified tags. Cannot be used in
|
1376
|
+
# the same call as ec2TagSet.
|
1328
1377
|
#
|
1329
1378
|
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
1330
1379
|
# The on-premises instance tags on which to filter. The deployment group
|
@@ -1335,13 +1384,14 @@ module Aws::CodeDeploy
|
|
1335
1384
|
# A list of associated Amazon EC2 Auto Scaling groups.
|
1336
1385
|
#
|
1337
1386
|
# @option params [required, String] :service_role_arn
|
1338
|
-
# A service role Amazon Resource Name (ARN) that allows
|
1339
|
-
#
|
1387
|
+
# A service role Amazon Resource Name (ARN) that allows CodeDeploy to
|
1388
|
+
# act on the user's behalf when interacting with Amazon Web Services
|
1389
|
+
# services.
|
1340
1390
|
#
|
1341
1391
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
1342
1392
|
# 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 *
|
1393
|
+
# created. For examples, see [Create a Trigger for an CodeDeploy
|
1394
|
+
# Event][1] in the *CodeDeploy User Guide*.
|
1345
1395
|
#
|
1346
1396
|
#
|
1347
1397
|
#
|
@@ -1356,15 +1406,16 @@ module Aws::CodeDeploy
|
|
1356
1406
|
# a deployment group is created.
|
1357
1407
|
#
|
1358
1408
|
# @option params [String] :outdated_instances_strategy
|
1359
|
-
# Indicates what happens when new EC2 instances are launched
|
1409
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
1360
1410
|
# mid-deployment and do not receive the deployed application revision.
|
1361
1411
|
#
|
1362
1412
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
1363
1413
|
# initiates one or more 'auto-update outdated instances' deployments
|
1364
|
-
# to apply the deployed application revision to the new EC2
|
1414
|
+
# to apply the deployed application revision to the new Amazon EC2
|
1415
|
+
# instances.
|
1365
1416
|
#
|
1366
1417
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
1367
|
-
# deployment to update the new EC2 instances. This may result in
|
1418
|
+
# deployment to update the new Amazon EC2 instances. This may result in
|
1368
1419
|
# instances having different revisions.
|
1369
1420
|
#
|
1370
1421
|
# @option params [Types::DeploymentStyle] :deployment_style
|
@@ -1380,9 +1431,9 @@ module Aws::CodeDeploy
|
|
1380
1431
|
# Information about the load balancer used in a deployment.
|
1381
1432
|
#
|
1382
1433
|
# @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`.
|
1434
|
+
# Information about groups of tags applied to Amazon EC2 instances. The
|
1435
|
+
# deployment group includes only Amazon EC2 instances identified by all
|
1436
|
+
# the tag groups. Cannot be used in the same call as `ec2TagFilters`.
|
1386
1437
|
#
|
1387
1438
|
# @option params [Array<Types::ECSService>] :ecs_services
|
1388
1439
|
# The target Amazon ECS services in the deployment group. This applies
|
@@ -1544,8 +1595,8 @@ module Aws::CodeDeploy
|
|
1544
1595
|
# Deletes an application.
|
1545
1596
|
#
|
1546
1597
|
# @option params [required, String] :application_name
|
1547
|
-
# The name of an
|
1548
|
-
#
|
1598
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1599
|
+
# Amazon Web Services account.
|
1549
1600
|
#
|
1550
1601
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1551
1602
|
#
|
@@ -1573,7 +1624,7 @@ module Aws::CodeDeploy
|
|
1573
1624
|
#
|
1574
1625
|
# @option params [required, String] :deployment_config_name
|
1575
1626
|
# The name of a deployment configuration associated with the IAM user or
|
1576
|
-
#
|
1627
|
+
# Amazon Web Services account.
|
1577
1628
|
#
|
1578
1629
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1579
1630
|
#
|
@@ -1595,8 +1646,8 @@ module Aws::CodeDeploy
|
|
1595
1646
|
# Deletes a deployment group.
|
1596
1647
|
#
|
1597
1648
|
# @option params [required, String] :application_name
|
1598
|
-
# The name of an
|
1599
|
-
#
|
1649
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1650
|
+
# Amazon Web Services account.
|
1600
1651
|
#
|
1601
1652
|
# @option params [required, String] :deployment_group_name
|
1602
1653
|
# The name of a deployment group for the specified application.
|
@@ -1703,8 +1754,8 @@ module Aws::CodeDeploy
|
|
1703
1754
|
# Gets information about an application.
|
1704
1755
|
#
|
1705
1756
|
# @option params [required, String] :application_name
|
1706
|
-
# The name of an
|
1707
|
-
#
|
1757
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
1758
|
+
# Amazon Web Services account.
|
1708
1759
|
#
|
1709
1760
|
# @return [Types::GetApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1710
1761
|
#
|
@@ -1818,8 +1869,8 @@ module Aws::CodeDeploy
|
|
1818
1869
|
# </note>
|
1819
1870
|
#
|
1820
1871
|
# @option params [required, String] :deployment_id
|
1821
|
-
# The unique ID of a deployment associated with the IAM user or
|
1822
|
-
# account.
|
1872
|
+
# The unique ID of a deployment associated with the IAM user or Amazon
|
1873
|
+
# Web Services account.
|
1823
1874
|
#
|
1824
1875
|
# @return [Types::GetDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1825
1876
|
#
|
@@ -1922,6 +1973,10 @@ module Aws::CodeDeploy
|
|
1922
1973
|
# resp.deployment_info.related_deployments.auto_update_outdated_instances_root_deployment_id #=> String
|
1923
1974
|
# resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids #=> Array
|
1924
1975
|
# resp.deployment_info.related_deployments.auto_update_outdated_instances_deployment_ids[0] #=> String
|
1976
|
+
# resp.deployment_info.override_alarm_configuration.enabled #=> Boolean
|
1977
|
+
# resp.deployment_info.override_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
1978
|
+
# resp.deployment_info.override_alarm_configuration.alarms #=> Array
|
1979
|
+
# resp.deployment_info.override_alarm_configuration.alarms[0].name #=> String
|
1925
1980
|
#
|
1926
1981
|
#
|
1927
1982
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1941,7 +1996,7 @@ module Aws::CodeDeploy
|
|
1941
1996
|
#
|
1942
1997
|
# @option params [required, String] :deployment_config_name
|
1943
1998
|
# The name of a deployment configuration associated with the IAM user or
|
1944
|
-
#
|
1999
|
+
# Amazon Web Services account.
|
1945
2000
|
#
|
1946
2001
|
# @return [Types::GetDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1947
2002
|
#
|
@@ -1979,8 +2034,8 @@ module Aws::CodeDeploy
|
|
1979
2034
|
# Gets information about a deployment group.
|
1980
2035
|
#
|
1981
2036
|
# @option params [required, String] :application_name
|
1982
|
-
# The name of an
|
1983
|
-
#
|
2037
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2038
|
+
# Amazon Web Services account.
|
1984
2039
|
#
|
1985
2040
|
# @option params [required, String] :deployment_group_name
|
1986
2041
|
# The name of a deployment group for the specified application.
|
@@ -2277,14 +2332,14 @@ module Aws::CodeDeploy
|
|
2277
2332
|
# Lists information about revisions for an application.
|
2278
2333
|
#
|
2279
2334
|
# @option params [required, String] :application_name
|
2280
|
-
# The name of an
|
2281
|
-
#
|
2335
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2336
|
+
# Amazon Web Services account.
|
2282
2337
|
#
|
2283
2338
|
# @option params [String] :sort_by
|
2284
2339
|
# The column name to use to sort the list results:
|
2285
2340
|
#
|
2286
2341
|
# * `registerTime`\: Sort by the time the revisions were registered with
|
2287
|
-
#
|
2342
|
+
# CodeDeploy.
|
2288
2343
|
#
|
2289
2344
|
# * `firstUsedTime`\: Sort by the time the revisions were first used in
|
2290
2345
|
# a deployment.
|
@@ -2377,7 +2432,8 @@ module Aws::CodeDeploy
|
|
2377
2432
|
req.send_request(options)
|
2378
2433
|
end
|
2379
2434
|
|
2380
|
-
# Lists the applications registered with the IAM user or
|
2435
|
+
# Lists the applications registered with the IAM user or Amazon Web
|
2436
|
+
# Services account.
|
2381
2437
|
#
|
2382
2438
|
# @option params [String] :next_token
|
2383
2439
|
# An identifier returned from the previous list applications call. It
|
@@ -2411,7 +2467,8 @@ module Aws::CodeDeploy
|
|
2411
2467
|
req.send_request(options)
|
2412
2468
|
end
|
2413
2469
|
|
2414
|
-
# Lists the deployment configurations with the IAM user or
|
2470
|
+
# Lists the deployment configurations with the IAM user or Amazon Web
|
2471
|
+
# Services account.
|
2415
2472
|
#
|
2416
2473
|
# @option params [String] :next_token
|
2417
2474
|
# An identifier returned from the previous `ListDeploymentConfigs` call.
|
@@ -2447,11 +2504,11 @@ module Aws::CodeDeploy
|
|
2447
2504
|
end
|
2448
2505
|
|
2449
2506
|
# Lists the deployment groups for an application registered with the IAM
|
2450
|
-
# user or
|
2507
|
+
# user or Amazon Web Services account.
|
2451
2508
|
#
|
2452
2509
|
# @option params [required, String] :application_name
|
2453
|
-
# The name of an
|
2454
|
-
#
|
2510
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2511
|
+
# Amazon Web Services account.
|
2455
2512
|
#
|
2456
2513
|
# @option params [String] :next_token
|
2457
2514
|
# An identifier returned from the previous list deployment groups call.
|
@@ -2492,12 +2549,12 @@ module Aws::CodeDeploy
|
|
2492
2549
|
# <note markdown="1"> The newer `BatchGetDeploymentTargets` should be used instead because
|
2493
2550
|
# it works with all compute types. `ListDeploymentInstances` throws an
|
2494
2551
|
# exception if it is used with a compute platform other than
|
2495
|
-
# EC2/On-premises or
|
2552
|
+
# EC2/On-premises or Lambda.
|
2496
2553
|
#
|
2497
2554
|
# </note>
|
2498
2555
|
#
|
2499
2556
|
# Lists the instance for a deployment associated with the IAM user or
|
2500
|
-
#
|
2557
|
+
# Amazon Web Services account.
|
2501
2558
|
#
|
2502
2559
|
# @option params [required, String] :deployment_id
|
2503
2560
|
# The unique ID of a deployment.
|
@@ -2612,11 +2669,11 @@ module Aws::CodeDeploy
|
|
2612
2669
|
end
|
2613
2670
|
|
2614
2671
|
# Lists the deployments in a deployment group for an application
|
2615
|
-
# registered with the IAM user or
|
2672
|
+
# registered with the IAM user or Amazon Web Services account.
|
2616
2673
|
#
|
2617
2674
|
# @option params [String] :application_name
|
2618
|
-
# The name of an
|
2619
|
-
#
|
2675
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2676
|
+
# Amazon Web Services account.
|
2620
2677
|
#
|
2621
2678
|
# <note markdown="1"> If `applicationName` is specified, then `deploymentGroupName` must be
|
2622
2679
|
# specified. If it is not specified, then `deploymentGroupName` must not
|
@@ -2830,16 +2887,15 @@ module Aws::CodeDeploy
|
|
2830
2887
|
end
|
2831
2888
|
|
2832
2889
|
# 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].
|
2890
|
+
# validates lifecycle hooks during a deployment that uses the Lambda or
|
2891
|
+
# Amazon ECS compute platform. For Lambda deployments, the available
|
2892
|
+
# lifecycle hooks are `BeforeAllowTraffic` and `AfterAllowTraffic`. For
|
2893
|
+
# Amazon ECS deployments, the available lifecycle hooks are
|
2894
|
+
# `BeforeInstall`, `AfterInstall`, `AfterAllowTestTraffic`,
|
2895
|
+
# `BeforeAllowTraffic`, and `AfterAllowTraffic`. Lambda validation
|
2896
|
+
# functions return `Succeeded` or `Failed`. For more information, see
|
2897
|
+
# [AppSpec 'hooks' Section for an Lambda Deployment ][1] and [AppSpec
|
2898
|
+
# 'hooks' Section for an Amazon ECS Deployment][2].
|
2843
2899
|
#
|
2844
2900
|
#
|
2845
2901
|
#
|
@@ -2857,8 +2913,9 @@ module Aws::CodeDeploy
|
|
2857
2913
|
#
|
2858
2914
|
# @option params [String] :status
|
2859
2915
|
# The result of a Lambda function that validates a deployment lifecycle
|
2860
|
-
# event.
|
2861
|
-
# `
|
2916
|
+
# event. The values listed in **Valid Values** are valid for lifecycle
|
2917
|
+
# statuses in general; however, only `Succeeded` and `Failed` can be
|
2918
|
+
# passed successfully in your API call.
|
2862
2919
|
#
|
2863
2920
|
# @return [Types::PutLifecycleEventHookExecutionStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2864
2921
|
#
|
@@ -2885,12 +2942,11 @@ module Aws::CodeDeploy
|
|
2885
2942
|
req.send_request(options)
|
2886
2943
|
end
|
2887
2944
|
|
2888
|
-
# Registers with
|
2889
|
-
# application.
|
2945
|
+
# Registers with CodeDeploy a revision for the specified application.
|
2890
2946
|
#
|
2891
2947
|
# @option params [required, String] :application_name
|
2892
|
-
# The name of an
|
2893
|
-
#
|
2948
|
+
# The name of an CodeDeploy application associated with the IAM user or
|
2949
|
+
# Amazon Web Services account.
|
2894
2950
|
#
|
2895
2951
|
# @option params [String] :description
|
2896
2952
|
# A comment about the revision.
|
@@ -3185,9 +3241,20 @@ module Aws::CodeDeploy
|
|
3185
3241
|
#
|
3186
3242
|
# @option params [Array<String>] :auto_scaling_groups
|
3187
3243
|
# The replacement list of Auto Scaling groups to be included in the
|
3188
|
-
# deployment group, if you want to change them.
|
3189
|
-
#
|
3190
|
-
#
|
3244
|
+
# deployment group, if you want to change them.
|
3245
|
+
#
|
3246
|
+
# * To keep the Auto Scaling groups, enter their names or do not specify
|
3247
|
+
# this parameter.
|
3248
|
+
#
|
3249
|
+
# * To remove Auto Scaling groups, specify a non-null empty list of Auto
|
3250
|
+
# Scaling group names to detach all CodeDeploy-managed Auto Scaling
|
3251
|
+
# lifecycle hooks. For examples, see [Amazon EC2 instances in an
|
3252
|
+
# Amazon EC2 Auto Scaling group fail to launch and receive the error
|
3253
|
+
# "Heartbeat Timeout"][1] in the *CodeDeploy User Guide*.
|
3254
|
+
#
|
3255
|
+
#
|
3256
|
+
#
|
3257
|
+
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-auto-scaling.html#troubleshooting-auto-scaling-heartbeat
|
3191
3258
|
#
|
3192
3259
|
# @option params [String] :service_role_arn
|
3193
3260
|
# A replacement ARN for the service role, if you want to change it.
|
@@ -3195,7 +3262,7 @@ module Aws::CodeDeploy
|
|
3195
3262
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
3196
3263
|
# Information about triggers to change when the deployment group is
|
3197
3264
|
# updated. For examples, see [Edit a Trigger in a CodeDeploy Deployment
|
3198
|
-
# Group][1] in the *
|
3265
|
+
# Group][1] in the *CodeDeploy User Guide*.
|
3199
3266
|
#
|
3200
3267
|
#
|
3201
3268
|
#
|
@@ -3210,15 +3277,16 @@ module Aws::CodeDeploy
|
|
3210
3277
|
# changed when a deployment group is updated.
|
3211
3278
|
#
|
3212
3279
|
# @option params [String] :outdated_instances_strategy
|
3213
|
-
# Indicates what happens when new EC2 instances are launched
|
3280
|
+
# Indicates what happens when new Amazon EC2 instances are launched
|
3214
3281
|
# mid-deployment and do not receive the deployed application revision.
|
3215
3282
|
#
|
3216
3283
|
# If this option is set to `UPDATE` or is unspecified, CodeDeploy
|
3217
3284
|
# initiates one or more 'auto-update outdated instances' deployments
|
3218
|
-
# to apply the deployed application revision to the new EC2
|
3285
|
+
# to apply the deployed application revision to the new Amazon EC2
|
3286
|
+
# instances.
|
3219
3287
|
#
|
3220
3288
|
# If this option is set to `IGNORE`, CodeDeploy does not initiate a
|
3221
|
-
# deployment to update the new EC2 instances. This may result in
|
3289
|
+
# deployment to update the new Amazon EC2 instances. This may result in
|
3222
3290
|
# instances having different revisions.
|
3223
3291
|
#
|
3224
3292
|
# @option params [Types::DeploymentStyle] :deployment_style
|
@@ -3235,8 +3303,8 @@ module Aws::CodeDeploy
|
|
3235
3303
|
#
|
3236
3304
|
# @option params [Types::EC2TagSet] :ec2_tag_set
|
3237
3305
|
# Information about groups of tags applied to on-premises instances. The
|
3238
|
-
# deployment group includes only EC2 instances identified by all
|
3239
|
-
# groups.
|
3306
|
+
# deployment group includes only Amazon EC2 instances identified by all
|
3307
|
+
# the tag groups.
|
3240
3308
|
#
|
3241
3309
|
# @option params [Array<Types::ECSService>] :ecs_services
|
3242
3310
|
# The target Amazon ECS services in the deployment group. This applies
|
@@ -3399,7 +3467,7 @@ module Aws::CodeDeploy
|
|
3399
3467
|
params: params,
|
3400
3468
|
config: config)
|
3401
3469
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
3402
|
-
context[:gem_version] = '1.
|
3470
|
+
context[:gem_version] = '1.51.0'
|
3403
3471
|
Seahorse::Client::Request.new(handlers, context)
|
3404
3472
|
end
|
3405
3473
|
|