aws-sdk-codedeploy 1.28.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-codedeploy.rb +3 -1
- data/lib/aws-sdk-codedeploy/client.rb +212 -106
- data/lib/aws-sdk-codedeploy/client_api.rb +42 -0
- data/lib/aws-sdk-codedeploy/customizations.rb +1 -0
- data/lib/aws-sdk-codedeploy/errors.rb +13 -0
- data/lib/aws-sdk-codedeploy/resource.rb +3 -7
- data/lib/aws-sdk-codedeploy/types.rb +461 -201
- data/lib/aws-sdk-codedeploy/waiters.rb +63 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9de2cf0aa163e0de1f8928db1c111080cf82f8d3943e3d4fd61867563a30e2b9
|
4
|
+
data.tar.gz: 1db4e68c4ff73c53d01be90229880218bffae6302cc2d71e2c84ad29e9c3823f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c99cd8b4fea0346ac0b5e24f565f0b564d35fe81cbf4a77a19e677938973da28dbe843750ef155cef9dd38e9afbca8c17c03b8dc7d25c5faf5c51ed62e3bd53
|
7
|
+
data.tar.gz: b5d76ae2a302c268a4ad5a396918df5a1b013a4f560150baf4052570a621f87f65cf018b97cbcbd3afbb658579d1923163ecc46929eaefb29b5f83f12c733ccd
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-codedeploy/customizations'
|
|
46
48
|
# @service
|
47
49
|
module Aws::CodeDeploy
|
48
50
|
|
49
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.33.0'
|
50
52
|
|
51
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:codedeploy)
|
|
32
35
|
module Aws::CodeDeploy
|
33
36
|
# An API client for CodeDeploy. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::CodeDeploy::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::CodeDeploy
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::CodeDeploy
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::CodeDeploy
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::CodeDeploy
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::CodeDeploy
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -275,8 +283,7 @@ module Aws::CodeDeploy
|
|
275
283
|
#
|
276
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
285
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
280
287
|
#
|
281
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +295,7 @@ module Aws::CodeDeploy
|
|
288
295
|
# request body. This option has no effect unless the request has
|
289
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
297
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
298
|
+
# request on the session.
|
292
299
|
#
|
293
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -431,11 +438,11 @@ module Aws::CodeDeploy
|
|
431
438
|
end
|
432
439
|
|
433
440
|
# Gets information about one or more applications. The maximum number of
|
434
|
-
# applications that can be returned is
|
441
|
+
# applications that can be returned is 100.
|
435
442
|
#
|
436
443
|
# @option params [required, Array<String>] :application_names
|
437
444
|
# A list of application names separated by spaces. The maximum number of
|
438
|
-
# application names you can specify is
|
445
|
+
# application names you can specify is 100.
|
439
446
|
#
|
440
447
|
# @return [Types::BatchGetApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
441
448
|
#
|
@@ -549,11 +556,11 @@ module Aws::CodeDeploy
|
|
549
556
|
# resp.deployment_groups_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns #=> Array
|
550
557
|
# resp.deployment_groups_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
|
551
558
|
# resp.deployment_groups_info[0].last_successful_deployment.deployment_id #=> String
|
552
|
-
# resp.deployment_groups_info[0].last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
559
|
+
# resp.deployment_groups_info[0].last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
|
553
560
|
# resp.deployment_groups_info[0].last_successful_deployment.end_time #=> Time
|
554
561
|
# resp.deployment_groups_info[0].last_successful_deployment.create_time #=> Time
|
555
562
|
# resp.deployment_groups_info[0].last_attempted_deployment.deployment_id #=> String
|
556
|
-
# resp.deployment_groups_info[0].last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
563
|
+
# resp.deployment_groups_info[0].last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
|
557
564
|
# resp.deployment_groups_info[0].last_attempted_deployment.end_time #=> Time
|
558
565
|
# resp.deployment_groups_info[0].last_attempted_deployment.create_time #=> Time
|
559
566
|
# resp.deployment_groups_info[0].ec2_tag_set.ec2_tag_set_list #=> Array
|
@@ -645,7 +652,7 @@ module Aws::CodeDeploy
|
|
645
652
|
# targets that can be returned is 25.
|
646
653
|
#
|
647
654
|
# The type of targets returned depends on the deployment's compute
|
648
|
-
# platform:
|
655
|
+
# platform or deployment method:
|
649
656
|
#
|
650
657
|
# * **EC2/On-premises**\: Information about EC2 instance targets.
|
651
658
|
#
|
@@ -653,6 +660,9 @@ module Aws::CodeDeploy
|
|
653
660
|
#
|
654
661
|
# * **Amazon ECS**\: Information about Amazon ECS service targets.
|
655
662
|
#
|
663
|
+
# * **CloudFormation**\: Information about targets of blue/green
|
664
|
+
# deployments initiated by a CloudFormation stack update.
|
665
|
+
#
|
656
666
|
# @option params [String] :deployment_id
|
657
667
|
# The unique ID of a deployment.
|
658
668
|
#
|
@@ -674,6 +684,10 @@ module Aws::CodeDeploy
|
|
674
684
|
# the format `<clustername>:<servicename>`. Their target type is
|
675
685
|
# `ecsTarget`.
|
676
686
|
#
|
687
|
+
# * For deployments that are deployed with AWS CloudFormation, the
|
688
|
+
# target IDs are CloudFormation stack IDs. Their target type is
|
689
|
+
# `cloudFormationTarget`.
|
690
|
+
#
|
677
691
|
# @return [Types::BatchGetDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
678
692
|
#
|
679
693
|
# * {Types::BatchGetDeploymentTargetsOutput#deployment_targets #deployment_targets} => Array<Types::DeploymentTarget>
|
@@ -688,7 +702,7 @@ module Aws::CodeDeploy
|
|
688
702
|
# @example Response structure
|
689
703
|
#
|
690
704
|
# resp.deployment_targets #=> Array
|
691
|
-
# resp.deployment_targets[0].deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget"
|
705
|
+
# resp.deployment_targets[0].deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget", "CloudFormationTarget"
|
692
706
|
# resp.deployment_targets[0].instance_target.deployment_id #=> String
|
693
707
|
# resp.deployment_targets[0].instance_target.target_id #=> String
|
694
708
|
# resp.deployment_targets[0].instance_target.target_arn #=> String
|
@@ -746,6 +760,21 @@ module Aws::CodeDeploy
|
|
746
760
|
# resp.deployment_targets[0].ecs_target.task_sets_info[0].traffic_weight #=> Float
|
747
761
|
# resp.deployment_targets[0].ecs_target.task_sets_info[0].target_group.name #=> String
|
748
762
|
# resp.deployment_targets[0].ecs_target.task_sets_info[0].task_set_label #=> String, one of "Blue", "Green"
|
763
|
+
# resp.deployment_targets[0].cloud_formation_target.deployment_id #=> String
|
764
|
+
# resp.deployment_targets[0].cloud_formation_target.target_id #=> String
|
765
|
+
# resp.deployment_targets[0].cloud_formation_target.last_updated_at #=> Time
|
766
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events #=> Array
|
767
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].lifecycle_event_name #=> String
|
768
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.error_code #=> String, one of "Success", "ScriptMissing", "ScriptNotExecutable", "ScriptTimedOut", "ScriptFailed", "UnknownError"
|
769
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.script_name #=> String
|
770
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.message #=> String
|
771
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.log_tail #=> String
|
772
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].start_time #=> Time
|
773
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].end_time #=> Time
|
774
|
+
# resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
775
|
+
# resp.deployment_targets[0].cloud_formation_target.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown", "Ready"
|
776
|
+
# resp.deployment_targets[0].cloud_formation_target.resource_type #=> String
|
777
|
+
# resp.deployment_targets[0].cloud_formation_target.target_version_weight #=> Float
|
749
778
|
#
|
750
779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets AWS API Documentation
|
751
780
|
#
|
@@ -804,8 +833,8 @@ module Aws::CodeDeploy
|
|
804
833
|
# resp.deployments_info[0].revision.string.sha256 #=> String
|
805
834
|
# resp.deployments_info[0].revision.app_spec_content.content #=> String
|
806
835
|
# resp.deployments_info[0].revision.app_spec_content.sha256 #=> String
|
807
|
-
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
808
|
-
# resp.deployments_info[0].error_information.code #=> String, one of "AGENT_ISSUE", "ALARM_ACTIVE", "APPLICATION_MISSING", "AUTOSCALING_VALIDATION_ERROR", "AUTO_SCALING_CONFIGURATION", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", "CUSTOMER_APPLICATION_UNHEALTHY", "DEPLOYMENT_GROUP_MISSING", "ECS_UPDATE_ERROR", "ELASTIC_LOAD_BALANCING_INVALID", "ELB_INVALID_INSTANCE", "HEALTH_CONSTRAINTS", "HEALTH_CONSTRAINTS_INVALID", "HOOK_EXECUTION_FAILURE", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "INTERNAL_ERROR", "INVALID_ECS_SERVICE", "INVALID_LAMBDA_CONFIGURATION", "INVALID_LAMBDA_FUNCTION", "INVALID_REVISION", "MANUAL_STOP", "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", "MISSING_ELB_INFORMATION", "MISSING_GITHUB_TOKEN", "NO_EC2_SUBSCRIPTION", "NO_INSTANCES", "OVER_MAX_INSTANCES", "RESOURCE_LIMIT_EXCEEDED", "REVISION_MISSING", "THROTTLED", "TIMEOUT"
|
836
|
+
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
|
837
|
+
# resp.deployments_info[0].error_information.code #=> String, one of "AGENT_ISSUE", "ALARM_ACTIVE", "APPLICATION_MISSING", "AUTOSCALING_VALIDATION_ERROR", "AUTO_SCALING_CONFIGURATION", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", "CUSTOMER_APPLICATION_UNHEALTHY", "DEPLOYMENT_GROUP_MISSING", "ECS_UPDATE_ERROR", "ELASTIC_LOAD_BALANCING_INVALID", "ELB_INVALID_INSTANCE", "HEALTH_CONSTRAINTS", "HEALTH_CONSTRAINTS_INVALID", "HOOK_EXECUTION_FAILURE", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "INTERNAL_ERROR", "INVALID_ECS_SERVICE", "INVALID_LAMBDA_CONFIGURATION", "INVALID_LAMBDA_FUNCTION", "INVALID_REVISION", "MANUAL_STOP", "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", "MISSING_ELB_INFORMATION", "MISSING_GITHUB_TOKEN", "NO_EC2_SUBSCRIPTION", "NO_INSTANCES", "OVER_MAX_INSTANCES", "RESOURCE_LIMIT_EXCEEDED", "REVISION_MISSING", "THROTTLED", "TIMEOUT", "CLOUDFORMATION_STACK_FAILURE"
|
809
838
|
# resp.deployments_info[0].error_information.message #=> String
|
810
839
|
# resp.deployments_info[0].create_time #=> Time
|
811
840
|
# resp.deployments_info[0].start_time #=> Time
|
@@ -817,7 +846,7 @@ module Aws::CodeDeploy
|
|
817
846
|
# resp.deployments_info[0].deployment_overview.skipped #=> Integer
|
818
847
|
# resp.deployments_info[0].deployment_overview.ready #=> Integer
|
819
848
|
# resp.deployments_info[0].description #=> String
|
820
|
-
# resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
849
|
+
# resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
|
821
850
|
# resp.deployments_info[0].ignore_application_stop_failures #=> Boolean
|
822
851
|
# resp.deployments_info[0].auto_rollback_configuration.enabled #=> Boolean
|
823
852
|
# resp.deployments_info[0].auto_rollback_configuration.events #=> Array
|
@@ -861,6 +890,7 @@ module Aws::CodeDeploy
|
|
861
890
|
# resp.deployments_info[0].deployment_status_messages #=> Array
|
862
891
|
# resp.deployments_info[0].deployment_status_messages[0] #=> String
|
863
892
|
# resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda", "ECS"
|
893
|
+
# resp.deployments_info[0].external_id #=> String
|
864
894
|
#
|
865
895
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
866
896
|
#
|
@@ -922,10 +952,10 @@ module Aws::CodeDeploy
|
|
922
952
|
# rerouting traffic to the replacement environment.
|
923
953
|
#
|
924
954
|
# @option params [String] :deployment_wait_type
|
925
|
-
# The status of the deployment's waiting period.
|
926
|
-
# the deployment is ready to start shifting traffic.
|
927
|
-
# indicates the traffic is shifted, but the
|
928
|
-
# terminated.
|
955
|
+
# The status of the deployment's waiting period. `READY_WAIT` indicates
|
956
|
+
# that the deployment is ready to start shifting traffic.
|
957
|
+
# `TERMINATION_WAIT` indicates that the traffic is shifted, but the
|
958
|
+
# original target is not terminated.
|
929
959
|
#
|
930
960
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
931
961
|
#
|
@@ -1009,20 +1039,20 @@ module Aws::CodeDeploy
|
|
1009
1039
|
#
|
1010
1040
|
# If not specified, the value configured in the deployment group is used
|
1011
1041
|
# as the default. If the deployment group does not have a deployment
|
1012
|
-
# configuration associated with it, CodeDeployDefault
|
1013
|
-
# by default.
|
1042
|
+
# configuration associated with it, `CodeDeployDefault`.`OneAtATime` is
|
1043
|
+
# used by default.
|
1014
1044
|
#
|
1015
1045
|
# @option params [String] :description
|
1016
1046
|
# A comment about the deployment.
|
1017
1047
|
#
|
1018
1048
|
# @option params [Boolean] :ignore_application_stop_failures
|
1019
|
-
# If true, then if an ApplicationStop
|
1020
|
-
# AfterBlockTraffic deployment lifecycle event to an instance fails,
|
1049
|
+
# If true, then if an `ApplicationStop`, `BeforeBlockTraffic`, or
|
1050
|
+
# `AfterBlockTraffic` deployment lifecycle event to an instance fails,
|
1021
1051
|
# then the deployment continues to the next deployment lifecycle event.
|
1022
|
-
# For example, if ApplicationStop fails, the deployment continues with
|
1023
|
-
# DownloadBundle
|
1024
|
-
# with BlockTraffic
|
1025
|
-
# continues with ApplicationStop
|
1052
|
+
# For example, if `ApplicationStop` fails, the deployment continues with
|
1053
|
+
# `DownloadBundle`. If `BeforeBlockTraffic` fails, the deployment
|
1054
|
+
# continues with `BlockTraffic`. If `AfterBlockTraffic` fails, the
|
1055
|
+
# deployment continues with `ApplicationStop`.
|
1026
1056
|
#
|
1027
1057
|
# If false or not specified, then if a lifecycle event fails during a
|
1028
1058
|
# deployment to an instance, that deployment fails. If deployment to
|
@@ -1031,8 +1061,8 @@ module Aws::CodeDeploy
|
|
1031
1061
|
# then a deployment to the next instance is attempted.
|
1032
1062
|
#
|
1033
1063
|
# During a deployment, the AWS CodeDeploy agent runs the scripts
|
1034
|
-
# specified for ApplicationStop
|
1035
|
-
# AfterBlockTraffic in the AppSpec file from the previous successful
|
1064
|
+
# specified for `ApplicationStop`, `BeforeBlockTraffic`, and
|
1065
|
+
# `AfterBlockTraffic` in the AppSpec file from the previous successful
|
1036
1066
|
# deployment. (All other scripts are run from the AppSpec file in the
|
1037
1067
|
# current deployment.) If one of these scripts contains an error and
|
1038
1068
|
# does not run successfully, the deployment can fail.
|
@@ -1040,8 +1070,8 @@ module Aws::CodeDeploy
|
|
1040
1070
|
# If the cause of the failure is a script from the last successful
|
1041
1071
|
# deployment that will never run successfully, create a new deployment
|
1042
1072
|
# and use `ignoreApplicationStopFailures` to specify that the
|
1043
|
-
# ApplicationStop
|
1044
|
-
# should be ignored.
|
1073
|
+
# `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
1074
|
+
# failures should be ignored.
|
1045
1075
|
#
|
1046
1076
|
# @option params [Types::TargetInstances] :target_instances
|
1047
1077
|
# Information about the instances that belong to the replacement
|
@@ -1060,7 +1090,7 @@ module Aws::CodeDeploy
|
|
1060
1090
|
# in a deployment target location but weren't part of the previous
|
1061
1091
|
# successful deployment.
|
1062
1092
|
#
|
1063
|
-
# The fileExistsBehavior parameter takes any of the following values:
|
1093
|
+
# The `fileExistsBehavior` parameter takes any of the following values:
|
1064
1094
|
#
|
1065
1095
|
# * DISALLOW: The deployment fails. This is also the default behavior if
|
1066
1096
|
# no option is specified.
|
@@ -1167,7 +1197,7 @@ module Aws::CodeDeploy
|
|
1167
1197
|
# healthy instances as a percentage of the total number of instances
|
1168
1198
|
# in the deployment. If you specify FLEET\_PERCENT, at the start of
|
1169
1199
|
# the deployment, AWS CodeDeploy converts the percentage to the
|
1170
|
-
# equivalent number of
|
1200
|
+
# equivalent number of instances and rounds up fractional instances.
|
1171
1201
|
#
|
1172
1202
|
# The value parameter takes an integer.
|
1173
1203
|
#
|
@@ -1236,13 +1266,13 @@ module Aws::CodeDeploy
|
|
1236
1266
|
# deployment configuration that you create by calling the create
|
1237
1267
|
# deployment configuration operation.
|
1238
1268
|
#
|
1239
|
-
# CodeDeployDefault.OneAtATime is the default deployment
|
1240
|
-
# It is used if a configuration isn't specified for the
|
1241
|
-
# deployment group.
|
1269
|
+
# `CodeDeployDefault.OneAtATime` is the default deployment
|
1270
|
+
# configuration. It is used if a configuration isn't specified for the
|
1271
|
+
# deployment or deployment group.
|
1242
1272
|
#
|
1243
1273
|
# For more information about the predefined deployment configurations in
|
1244
|
-
# AWS CodeDeploy, see [Working with Deployment
|
1245
|
-
# CodeDeploy][1] in the AWS CodeDeploy User Guide
|
1274
|
+
# AWS CodeDeploy, see [Working with Deployment Configurations in
|
1275
|
+
# CodeDeploy][1] in the *AWS CodeDeploy User Guide*.
|
1246
1276
|
#
|
1247
1277
|
#
|
1248
1278
|
#
|
@@ -1256,19 +1286,19 @@ module Aws::CodeDeploy
|
|
1256
1286
|
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
1257
1287
|
# The on-premises instance tags on which to filter. The deployment group
|
1258
1288
|
# includes on-premises instances with any of the specified tags. Cannot
|
1259
|
-
# be used in the same call as OnPremisesTagSet
|
1289
|
+
# be used in the same call as `OnPremisesTagSet`.
|
1260
1290
|
#
|
1261
1291
|
# @option params [Array<String>] :auto_scaling_groups
|
1262
1292
|
# A list of associated Amazon EC2 Auto Scaling groups.
|
1263
1293
|
#
|
1264
1294
|
# @option params [required, String] :service_role_arn
|
1265
|
-
# A service role ARN that allows AWS CodeDeploy
|
1266
|
-
# behalf when interacting with AWS services.
|
1295
|
+
# A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy
|
1296
|
+
# to act on the user's behalf when interacting with AWS services.
|
1267
1297
|
#
|
1268
1298
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
1269
1299
|
# Information about triggers to create when the deployment group is
|
1270
1300
|
# created. For examples, see [Create a Trigger for an AWS CodeDeploy
|
1271
|
-
# Event][1] in the AWS CodeDeploy User Guide
|
1301
|
+
# Event][1] in the *AWS CodeDeploy User Guide*.
|
1272
1302
|
#
|
1273
1303
|
#
|
1274
1304
|
#
|
@@ -1297,7 +1327,7 @@ module Aws::CodeDeploy
|
|
1297
1327
|
# @option params [Types::EC2TagSet] :ec2_tag_set
|
1298
1328
|
# Information about groups of tags applied to EC2 instances. The
|
1299
1329
|
# deployment group includes only EC2 instances identified by all the tag
|
1300
|
-
# groups. Cannot be used in the same call as ec2TagFilters
|
1330
|
+
# groups. Cannot be used in the same call as `ec2TagFilters`.
|
1301
1331
|
#
|
1302
1332
|
# @option params [Array<Types::ECSService>] :ecs_services
|
1303
1333
|
# The target Amazon ECS services in the deployment group. This applies
|
@@ -1309,7 +1339,7 @@ module Aws::CodeDeploy
|
|
1309
1339
|
# Information about groups of tags applied to on-premises instances. The
|
1310
1340
|
# deployment group includes only on-premises instances identified by all
|
1311
1341
|
# of the tag groups. Cannot be used in the same call as
|
1312
|
-
# onPremisesInstanceTagFilters
|
1342
|
+
# `onPremisesInstanceTagFilters`.
|
1313
1343
|
#
|
1314
1344
|
# @option params [Array<Types::Tag>] :tags
|
1315
1345
|
# The metadata that you apply to CodeDeploy deployment groups to help
|
@@ -1569,6 +1599,29 @@ module Aws::CodeDeploy
|
|
1569
1599
|
req.send_request(options)
|
1570
1600
|
end
|
1571
1601
|
|
1602
|
+
# Deletes resources linked to an external ID.
|
1603
|
+
#
|
1604
|
+
# @option params [String] :external_id
|
1605
|
+
# The unique ID of an external resource (for example, a CloudFormation
|
1606
|
+
# stack ID) that is linked to one or more CodeDeploy resources.
|
1607
|
+
#
|
1608
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1609
|
+
#
|
1610
|
+
# @example Request syntax with placeholder values
|
1611
|
+
#
|
1612
|
+
# resp = client.delete_resources_by_external_id({
|
1613
|
+
# external_id: "ExternalId",
|
1614
|
+
# })
|
1615
|
+
#
|
1616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalId AWS API Documentation
|
1617
|
+
#
|
1618
|
+
# @overload delete_resources_by_external_id(params = {})
|
1619
|
+
# @param [Hash] params ({})
|
1620
|
+
def delete_resources_by_external_id(params = {}, options = {})
|
1621
|
+
req = build_request(:delete_resources_by_external_id, params)
|
1622
|
+
req.send_request(options)
|
1623
|
+
end
|
1624
|
+
|
1572
1625
|
# Deregisters an on-premises instance.
|
1573
1626
|
#
|
1574
1627
|
# @option params [required, String] :instance_name
|
@@ -1752,8 +1805,8 @@ module Aws::CodeDeploy
|
|
1752
1805
|
# resp.deployment_info.revision.string.sha256 #=> String
|
1753
1806
|
# resp.deployment_info.revision.app_spec_content.content #=> String
|
1754
1807
|
# resp.deployment_info.revision.app_spec_content.sha256 #=> String
|
1755
|
-
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
1756
|
-
# resp.deployment_info.error_information.code #=> String, one of "AGENT_ISSUE", "ALARM_ACTIVE", "APPLICATION_MISSING", "AUTOSCALING_VALIDATION_ERROR", "AUTO_SCALING_CONFIGURATION", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", "CUSTOMER_APPLICATION_UNHEALTHY", "DEPLOYMENT_GROUP_MISSING", "ECS_UPDATE_ERROR", "ELASTIC_LOAD_BALANCING_INVALID", "ELB_INVALID_INSTANCE", "HEALTH_CONSTRAINTS", "HEALTH_CONSTRAINTS_INVALID", "HOOK_EXECUTION_FAILURE", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "INTERNAL_ERROR", "INVALID_ECS_SERVICE", "INVALID_LAMBDA_CONFIGURATION", "INVALID_LAMBDA_FUNCTION", "INVALID_REVISION", "MANUAL_STOP", "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", "MISSING_ELB_INFORMATION", "MISSING_GITHUB_TOKEN", "NO_EC2_SUBSCRIPTION", "NO_INSTANCES", "OVER_MAX_INSTANCES", "RESOURCE_LIMIT_EXCEEDED", "REVISION_MISSING", "THROTTLED", "TIMEOUT"
|
1808
|
+
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
|
1809
|
+
# resp.deployment_info.error_information.code #=> String, one of "AGENT_ISSUE", "ALARM_ACTIVE", "APPLICATION_MISSING", "AUTOSCALING_VALIDATION_ERROR", "AUTO_SCALING_CONFIGURATION", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", "CUSTOMER_APPLICATION_UNHEALTHY", "DEPLOYMENT_GROUP_MISSING", "ECS_UPDATE_ERROR", "ELASTIC_LOAD_BALANCING_INVALID", "ELB_INVALID_INSTANCE", "HEALTH_CONSTRAINTS", "HEALTH_CONSTRAINTS_INVALID", "HOOK_EXECUTION_FAILURE", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "INTERNAL_ERROR", "INVALID_ECS_SERVICE", "INVALID_LAMBDA_CONFIGURATION", "INVALID_LAMBDA_FUNCTION", "INVALID_REVISION", "MANUAL_STOP", "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", "MISSING_ELB_INFORMATION", "MISSING_GITHUB_TOKEN", "NO_EC2_SUBSCRIPTION", "NO_INSTANCES", "OVER_MAX_INSTANCES", "RESOURCE_LIMIT_EXCEEDED", "REVISION_MISSING", "THROTTLED", "TIMEOUT", "CLOUDFORMATION_STACK_FAILURE"
|
1757
1810
|
# resp.deployment_info.error_information.message #=> String
|
1758
1811
|
# resp.deployment_info.create_time #=> Time
|
1759
1812
|
# resp.deployment_info.start_time #=> Time
|
@@ -1765,7 +1818,7 @@ module Aws::CodeDeploy
|
|
1765
1818
|
# resp.deployment_info.deployment_overview.skipped #=> Integer
|
1766
1819
|
# resp.deployment_info.deployment_overview.ready #=> Integer
|
1767
1820
|
# resp.deployment_info.description #=> String
|
1768
|
-
# resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
1821
|
+
# resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
|
1769
1822
|
# resp.deployment_info.ignore_application_stop_failures #=> Boolean
|
1770
1823
|
# resp.deployment_info.auto_rollback_configuration.enabled #=> Boolean
|
1771
1824
|
# resp.deployment_info.auto_rollback_configuration.events #=> Array
|
@@ -1809,6 +1862,12 @@ module Aws::CodeDeploy
|
|
1809
1862
|
# resp.deployment_info.deployment_status_messages #=> Array
|
1810
1863
|
# resp.deployment_info.deployment_status_messages[0] #=> String
|
1811
1864
|
# resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
|
1865
|
+
# resp.deployment_info.external_id #=> String
|
1866
|
+
#
|
1867
|
+
#
|
1868
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1869
|
+
#
|
1870
|
+
# * deployment_successful
|
1812
1871
|
#
|
1813
1872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment AWS API Documentation
|
1814
1873
|
#
|
@@ -1939,11 +1998,11 @@ module Aws::CodeDeploy
|
|
1939
1998
|
# resp.deployment_group_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns #=> Array
|
1940
1999
|
# resp.deployment_group_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
|
1941
2000
|
# resp.deployment_group_info.last_successful_deployment.deployment_id #=> String
|
1942
|
-
# resp.deployment_group_info.last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
2001
|
+
# resp.deployment_group_info.last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
|
1943
2002
|
# resp.deployment_group_info.last_successful_deployment.end_time #=> Time
|
1944
2003
|
# resp.deployment_group_info.last_successful_deployment.create_time #=> Time
|
1945
2004
|
# resp.deployment_group_info.last_attempted_deployment.deployment_id #=> String
|
1946
|
-
# resp.deployment_group_info.last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
2005
|
+
# resp.deployment_group_info.last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
|
1947
2006
|
# resp.deployment_group_info.last_attempted_deployment.end_time #=> Time
|
1948
2007
|
# resp.deployment_group_info.last_attempted_deployment.create_time #=> Time
|
1949
2008
|
# resp.deployment_group_info.ec2_tag_set.ec2_tag_set_list #=> Array
|
@@ -2036,7 +2095,7 @@ module Aws::CodeDeploy
|
|
2036
2095
|
#
|
2037
2096
|
# @example Response structure
|
2038
2097
|
#
|
2039
|
-
# resp.deployment_target.deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget"
|
2098
|
+
# resp.deployment_target.deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget", "CloudFormationTarget"
|
2040
2099
|
# resp.deployment_target.instance_target.deployment_id #=> String
|
2041
2100
|
# resp.deployment_target.instance_target.target_id #=> String
|
2042
2101
|
# resp.deployment_target.instance_target.target_arn #=> String
|
@@ -2094,6 +2153,21 @@ module Aws::CodeDeploy
|
|
2094
2153
|
# resp.deployment_target.ecs_target.task_sets_info[0].traffic_weight #=> Float
|
2095
2154
|
# resp.deployment_target.ecs_target.task_sets_info[0].target_group.name #=> String
|
2096
2155
|
# resp.deployment_target.ecs_target.task_sets_info[0].task_set_label #=> String, one of "Blue", "Green"
|
2156
|
+
# resp.deployment_target.cloud_formation_target.deployment_id #=> String
|
2157
|
+
# resp.deployment_target.cloud_formation_target.target_id #=> String
|
2158
|
+
# resp.deployment_target.cloud_formation_target.last_updated_at #=> Time
|
2159
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events #=> Array
|
2160
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].lifecycle_event_name #=> String
|
2161
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.error_code #=> String, one of "Success", "ScriptMissing", "ScriptNotExecutable", "ScriptTimedOut", "ScriptFailed", "UnknownError"
|
2162
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.script_name #=> String
|
2163
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.message #=> String
|
2164
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.log_tail #=> String
|
2165
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].start_time #=> Time
|
2166
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].end_time #=> Time
|
2167
|
+
# resp.deployment_target.cloud_formation_target.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
2168
|
+
# resp.deployment_target.cloud_formation_target.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown", "Ready"
|
2169
|
+
# resp.deployment_target.cloud_formation_target.resource_type #=> String
|
2170
|
+
# resp.deployment_target.cloud_formation_target.target_version_weight #=> Float
|
2097
2171
|
#
|
2098
2172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget AWS API Documentation
|
2099
2173
|
#
|
@@ -2149,13 +2223,13 @@ module Aws::CodeDeploy
|
|
2149
2223
|
# @option params [String] :sort_by
|
2150
2224
|
# The column name to use to sort the list results:
|
2151
2225
|
#
|
2152
|
-
# * registerTime
|
2226
|
+
# * `registerTime`\: Sort by the time the revisions were registered with
|
2153
2227
|
# AWS CodeDeploy.
|
2154
2228
|
#
|
2155
|
-
# * firstUsedTime
|
2156
|
-
# deployment.
|
2229
|
+
# * `firstUsedTime`\: Sort by the time the revisions were first used in
|
2230
|
+
# a deployment.
|
2157
2231
|
#
|
2158
|
-
# * lastUsedTime
|
2232
|
+
# * `lastUsedTime`\: Sort by the time the revisions were last used in a
|
2159
2233
|
# deployment.
|
2160
2234
|
#
|
2161
2235
|
# If not specified or set to null, the results are returned in an
|
@@ -2164,9 +2238,9 @@ module Aws::CodeDeploy
|
|
2164
2238
|
# @option params [String] :sort_order
|
2165
2239
|
# The order in which to sort the list results:
|
2166
2240
|
#
|
2167
|
-
# * ascending
|
2241
|
+
# * `ascending`\: ascending order.
|
2168
2242
|
#
|
2169
|
-
# * descending
|
2243
|
+
# * `descending`\: descending order.
|
2170
2244
|
#
|
2171
2245
|
# If not specified, the results are sorted in ascending order.
|
2172
2246
|
#
|
@@ -2183,15 +2257,15 @@ module Aws::CodeDeploy
|
|
2183
2257
|
#
|
2184
2258
|
# @option params [String] :deployed
|
2185
2259
|
# Whether to list revisions based on whether the revision is the target
|
2186
|
-
# revision of
|
2260
|
+
# revision of a deployment group:
|
2187
2261
|
#
|
2188
|
-
# * include
|
2262
|
+
# * `include`\: List revisions that are target revisions of a deployment
|
2189
2263
|
# group.
|
2190
2264
|
#
|
2191
|
-
# * exclude
|
2265
|
+
# * `exclude`\: Do not list revisions that are target revisions of a
|
2192
2266
|
# deployment group.
|
2193
2267
|
#
|
2194
|
-
# * ignore
|
2268
|
+
# * `ignore`\: List all revisions.
|
2195
2269
|
#
|
2196
2270
|
# @option params [String] :next_token
|
2197
2271
|
# An identifier returned from the previous `ListApplicationRevisions`
|
@@ -2203,6 +2277,8 @@ module Aws::CodeDeploy
|
|
2203
2277
|
# * {Types::ListApplicationRevisionsOutput#revisions #revisions} => Array<Types::RevisionLocation>
|
2204
2278
|
# * {Types::ListApplicationRevisionsOutput#next_token #next_token} => String
|
2205
2279
|
#
|
2280
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2281
|
+
#
|
2206
2282
|
# @example Request syntax with placeholder values
|
2207
2283
|
#
|
2208
2284
|
# resp = client.list_application_revisions({
|
@@ -2252,6 +2328,8 @@ module Aws::CodeDeploy
|
|
2252
2328
|
# * {Types::ListApplicationsOutput#applications #applications} => Array<String>
|
2253
2329
|
# * {Types::ListApplicationsOutput#next_token #next_token} => String
|
2254
2330
|
#
|
2331
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2332
|
+
#
|
2255
2333
|
# @example Request syntax with placeholder values
|
2256
2334
|
#
|
2257
2335
|
# resp = client.list_applications({
|
@@ -2285,6 +2363,8 @@ module Aws::CodeDeploy
|
|
2285
2363
|
# * {Types::ListDeploymentConfigsOutput#deployment_configs_list #deployment_configs_list} => Array<String>
|
2286
2364
|
# * {Types::ListDeploymentConfigsOutput#next_token #next_token} => String
|
2287
2365
|
#
|
2366
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2367
|
+
#
|
2288
2368
|
# @example Request syntax with placeholder values
|
2289
2369
|
#
|
2290
2370
|
# resp = client.list_deployment_configs({
|
@@ -2324,6 +2404,8 @@ module Aws::CodeDeploy
|
|
2324
2404
|
# * {Types::ListDeploymentGroupsOutput#deployment_groups #deployment_groups} => Array<String>
|
2325
2405
|
# * {Types::ListDeploymentGroupsOutput#next_token #next_token} => String
|
2326
2406
|
#
|
2407
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2408
|
+
#
|
2327
2409
|
# @example Request syntax with placeholder values
|
2328
2410
|
#
|
2329
2411
|
# resp = client.list_deployment_groups({
|
@@ -2347,8 +2429,8 @@ module Aws::CodeDeploy
|
|
2347
2429
|
req.send_request(options)
|
2348
2430
|
end
|
2349
2431
|
|
2350
|
-
# <note markdown="1"> The newer BatchGetDeploymentTargets should be used instead because
|
2351
|
-
# works with all compute types. `ListDeploymentInstances` throws an
|
2432
|
+
# <note markdown="1"> The newer `BatchGetDeploymentTargets` should be used instead because
|
2433
|
+
# it works with all compute types. `ListDeploymentInstances` throws an
|
2352
2434
|
# exception if it is used with a compute platform other than
|
2353
2435
|
# EC2/On-premises or AWS Lambda.
|
2354
2436
|
#
|
@@ -2368,18 +2450,18 @@ module Aws::CodeDeploy
|
|
2368
2450
|
# @option params [Array<String>] :instance_status_filter
|
2369
2451
|
# A subset of instances to list by status:
|
2370
2452
|
#
|
2371
|
-
# * Pending
|
2453
|
+
# * `Pending`\: Include those instances with pending deployments.
|
2372
2454
|
#
|
2373
|
-
# * InProgress
|
2374
|
-
# progress.
|
2455
|
+
# * `InProgress`\: Include those instances where deployments are still
|
2456
|
+
# in progress.
|
2375
2457
|
#
|
2376
|
-
# * Succeeded
|
2458
|
+
# * `Succeeded`\: Include those instances with successful deployments.
|
2377
2459
|
#
|
2378
|
-
# * Failed
|
2460
|
+
# * `Failed`\: Include those instances with failed deployments.
|
2379
2461
|
#
|
2380
|
-
# * Skipped
|
2462
|
+
# * `Skipped`\: Include those instances with skipped deployments.
|
2381
2463
|
#
|
2382
|
-
# * Unknown
|
2464
|
+
# * `Unknown`\: Include those instances with deployments in an unknown
|
2383
2465
|
# state.
|
2384
2466
|
#
|
2385
2467
|
# @option params [Array<String>] :instance_type_filter
|
@@ -2393,6 +2475,8 @@ module Aws::CodeDeploy
|
|
2393
2475
|
# * {Types::ListDeploymentInstancesOutput#instances_list #instances_list} => Array<String>
|
2394
2476
|
# * {Types::ListDeploymentInstancesOutput#next_token #next_token} => String
|
2395
2477
|
#
|
2478
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2479
|
+
#
|
2396
2480
|
# @example Request syntax with placeholder values
|
2397
2481
|
#
|
2398
2482
|
# resp = client.list_deployment_instances({
|
@@ -2489,20 +2573,25 @@ module Aws::CodeDeploy
|
|
2489
2573
|
#
|
2490
2574
|
# </note>
|
2491
2575
|
#
|
2576
|
+
# @option params [String] :external_id
|
2577
|
+
# The unique ID of an external resource for returning deployments linked
|
2578
|
+
# to the external resource.
|
2579
|
+
#
|
2492
2580
|
# @option params [Array<String>] :include_only_statuses
|
2493
2581
|
# A subset of deployments to list by status:
|
2494
2582
|
#
|
2495
|
-
# * Created
|
2583
|
+
# * `Created`\: Include created deployments in the resulting list.
|
2496
2584
|
#
|
2497
|
-
# * Queued
|
2585
|
+
# * `Queued`\: Include queued deployments in the resulting list.
|
2498
2586
|
#
|
2499
|
-
# * In Progress
|
2587
|
+
# * `In Progress`\: Include in-progress deployments in the resulting
|
2588
|
+
# list.
|
2500
2589
|
#
|
2501
|
-
# * Succeeded
|
2590
|
+
# * `Succeeded`\: Include successful deployments in the resulting list.
|
2502
2591
|
#
|
2503
|
-
# * Failed
|
2592
|
+
# * `Failed`\: Include failed deployments in the resulting list.
|
2504
2593
|
#
|
2505
|
-
# * Stopped
|
2594
|
+
# * `Stopped`\: Include stopped deployments in the resulting list.
|
2506
2595
|
#
|
2507
2596
|
# @option params [Types::TimeRange] :create_time_range
|
2508
2597
|
# A time range (start and end) for returning a subset of the list of
|
@@ -2517,12 +2606,15 @@ module Aws::CodeDeploy
|
|
2517
2606
|
# * {Types::ListDeploymentsOutput#deployments #deployments} => Array<String>
|
2518
2607
|
# * {Types::ListDeploymentsOutput#next_token #next_token} => String
|
2519
2608
|
#
|
2609
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2610
|
+
#
|
2520
2611
|
# @example Request syntax with placeholder values
|
2521
2612
|
#
|
2522
2613
|
# resp = client.list_deployments({
|
2523
2614
|
# application_name: "ApplicationName",
|
2524
2615
|
# deployment_group_name: "DeploymentGroupName",
|
2525
|
-
#
|
2616
|
+
# external_id: "ExternalId",
|
2617
|
+
# include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Baking, Succeeded, Failed, Stopped, Ready
|
2526
2618
|
# create_time_range: {
|
2527
2619
|
# start: Time.now,
|
2528
2620
|
# end: Time.now,
|
@@ -2548,7 +2640,7 @@ module Aws::CodeDeploy
|
|
2548
2640
|
# Lists the names of stored connections to GitHub accounts.
|
2549
2641
|
#
|
2550
2642
|
# @option params [String] :next_token
|
2551
|
-
# An identifier returned from the previous ListGitHubAccountTokenNames
|
2643
|
+
# An identifier returned from the previous `ListGitHubAccountTokenNames`
|
2552
2644
|
# call. It can be used to return the next set of names in the list.
|
2553
2645
|
#
|
2554
2646
|
# @return [Types::ListGitHubAccountTokenNamesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2587,10 +2679,10 @@ module Aws::CodeDeploy
|
|
2587
2679
|
# @option params [String] :registration_status
|
2588
2680
|
# The registration status of the on-premises instances:
|
2589
2681
|
#
|
2590
|
-
# * Deregistered
|
2682
|
+
# * `Deregistered`\: Include deregistered on-premises instances in the
|
2591
2683
|
# resulting list.
|
2592
2684
|
#
|
2593
|
-
# * Registered
|
2685
|
+
# * `Registered`\: Include registered on-premises instances in the
|
2594
2686
|
# resulting list.
|
2595
2687
|
#
|
2596
2688
|
# @option params [Array<Types::TagFilter>] :tag_filters
|
@@ -2636,8 +2728,9 @@ module Aws::CodeDeploy
|
|
2636
2728
|
req.send_request(options)
|
2637
2729
|
end
|
2638
2730
|
|
2639
|
-
# Returns a list of tags for the resource identified by a specified
|
2640
|
-
# Tags are used to organize and categorize
|
2731
|
+
# Returns a list of tags for the resource identified by a specified
|
2732
|
+
# Amazon Resource Name (ARN). Tags are used to organize and categorize
|
2733
|
+
# your CodeDeploy resources.
|
2641
2734
|
#
|
2642
2735
|
# @option params [required, String] :resource_arn
|
2643
2736
|
# The ARN of a CodeDeploy resource. `ListTagsForResource` returns all
|
@@ -2677,8 +2770,21 @@ module Aws::CodeDeploy
|
|
2677
2770
|
end
|
2678
2771
|
|
2679
2772
|
# Sets the result of a Lambda validation function. The function
|
2680
|
-
# validates
|
2681
|
-
#
|
2773
|
+
# validates lifecycle hooks during a deployment that uses the AWS Lambda
|
2774
|
+
# or Amazon ECS compute platform. For AWS Lambda deployments, the
|
2775
|
+
# available lifecycle hooks are `BeforeAllowTraffic` and
|
2776
|
+
# `AfterAllowTraffic`. For Amazon ECS deployments, the available
|
2777
|
+
# lifecycle hooks are `BeforeInstall`, `AfterInstall`,
|
2778
|
+
# `AfterAllowTestTraffic`, `BeforeAllowTraffic`, and
|
2779
|
+
# `AfterAllowTraffic`. Lambda validation functions return `Succeeded` or
|
2780
|
+
# `Failed`. For more information, see [AppSpec 'hooks' Section for an
|
2781
|
+
# AWS Lambda Deployment ][1] and [AppSpec 'hooks' Section for an
|
2782
|
+
# Amazon ECS Deployment][2].
|
2783
|
+
#
|
2784
|
+
#
|
2785
|
+
#
|
2786
|
+
# [1]: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda
|
2787
|
+
# [2]: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs
|
2682
2788
|
#
|
2683
2789
|
# @option params [String] :deployment_id
|
2684
2790
|
# The unique ID of a deployment. Pass this ID to a Lambda function that
|
@@ -2935,11 +3041,11 @@ module Aws::CodeDeploy
|
|
2935
3041
|
|
2936
3042
|
# Disassociates a resource from a list of tags. The resource is
|
2937
3043
|
# identified by the `ResourceArn` input parameter. The tags are
|
2938
|
-
#
|
3044
|
+
# identified by the list of keys in the `TagKeys` input parameter.
|
2939
3045
|
#
|
2940
3046
|
# @option params [required, String] :resource_arn
|
2941
|
-
# The ARN that specifies from which resource to
|
2942
|
-
# with the keys in the `TagKeys` input
|
3047
|
+
# The Amazon Resource Name (ARN) that specifies from which resource to
|
3048
|
+
# disassociate the tags with the keys in the `TagKeys` input parameter.
|
2943
3049
|
#
|
2944
3050
|
# @option params [required, Array<String>] :tag_keys
|
2945
3051
|
# A list of keys of `Tag` objects. The `Tag` objects identified by the
|
@@ -3027,8 +3133,8 @@ module Aws::CodeDeploy
|
|
3027
3133
|
#
|
3028
3134
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
3029
3135
|
# Information about triggers to change when the deployment group is
|
3030
|
-
# updated. For examples, see [
|
3031
|
-
#
|
3136
|
+
# updated. For examples, see [Edit a Trigger in a CodeDeploy Deployment
|
3137
|
+
# Group][1] in the *AWS CodeDeploy User Guide*.
|
3032
3138
|
#
|
3033
3139
|
#
|
3034
3140
|
#
|
@@ -3219,7 +3325,7 @@ module Aws::CodeDeploy
|
|
3219
3325
|
params: params,
|
3220
3326
|
config: config)
|
3221
3327
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
3222
|
-
context[:gem_version] = '1.
|
3328
|
+
context[:gem_version] = '1.33.0'
|
3223
3329
|
Seahorse::Client::Request.new(handlers, context)
|
3224
3330
|
end
|
3225
3331
|
|
@@ -3285,9 +3391,9 @@ module Aws::CodeDeploy
|
|
3285
3391
|
# The following table lists the valid waiter names, the operations they call,
|
3286
3392
|
# and the default `:delay` and `:max_attempts` values.
|
3287
3393
|
#
|
3288
|
-
# | waiter_name | params
|
3289
|
-
# | --------------------- |
|
3290
|
-
# | deployment_successful | {#get_deployment} | 15 | 120 |
|
3394
|
+
# | waiter_name | params | :delay | :max_attempts |
|
3395
|
+
# | --------------------- | ----------------------- | -------- | ------------- |
|
3396
|
+
# | deployment_successful | {Client#get_deployment} | 15 | 120 |
|
3291
3397
|
#
|
3292
3398
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
3293
3399
|
# because the waiter has entered a state that it will not transition
|