aws-sdk-codedeploy 1.29.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +3 -1
- data/lib/aws-sdk-codedeploy/client.rb +171 -85
- 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 +2 -0
- data/lib/aws-sdk-codedeploy/types.rb +461 -201
- data/lib/aws-sdk-codedeploy/waiters.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 958f09f85e15c4f75fa879f561329bd0a0d07c4a73aadf8fae67b8e15311e223
|
4
|
+
data.tar.gz: f865c58bf2614b9b8cff2e7ad2f9190fa0a535d9a986f6602419f160f77dcea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46fefd9c8b817a3facc2d7b5b27d59a06da858b4d02cdb492fd734260cdca00d9f3fabdd0bfb1126d4c78e89c89033e316270cc05c2ac0abd6d64c49c1803686
|
7
|
+
data.tar.gz: 99de1bc4085b42b3222643ce9822322e9ff86f93aacb08c3b390ecced6da6703dae763d568cf74473a44d1f09be5523c83289d0c5385cb25e166edc28c34005c
|
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.34.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
|
|
@@ -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
|
|
@@ -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 a valid HTTP(S) URI.
|
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.
|
@@ -434,11 +438,11 @@ module Aws::CodeDeploy
|
|
434
438
|
end
|
435
439
|
|
436
440
|
# Gets information about one or more applications. The maximum number of
|
437
|
-
# applications that can be returned is
|
441
|
+
# applications that can be returned is 100.
|
438
442
|
#
|
439
443
|
# @option params [required, Array<String>] :application_names
|
440
444
|
# A list of application names separated by spaces. The maximum number of
|
441
|
-
# application names you can specify is
|
445
|
+
# application names you can specify is 100.
|
442
446
|
#
|
443
447
|
# @return [Types::BatchGetApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
444
448
|
#
|
@@ -552,11 +556,11 @@ module Aws::CodeDeploy
|
|
552
556
|
# resp.deployment_groups_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns #=> Array
|
553
557
|
# resp.deployment_groups_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
|
554
558
|
# resp.deployment_groups_info[0].last_successful_deployment.deployment_id #=> String
|
555
|
-
# 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"
|
556
560
|
# resp.deployment_groups_info[0].last_successful_deployment.end_time #=> Time
|
557
561
|
# resp.deployment_groups_info[0].last_successful_deployment.create_time #=> Time
|
558
562
|
# resp.deployment_groups_info[0].last_attempted_deployment.deployment_id #=> String
|
559
|
-
# 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"
|
560
564
|
# resp.deployment_groups_info[0].last_attempted_deployment.end_time #=> Time
|
561
565
|
# resp.deployment_groups_info[0].last_attempted_deployment.create_time #=> Time
|
562
566
|
# resp.deployment_groups_info[0].ec2_tag_set.ec2_tag_set_list #=> Array
|
@@ -648,7 +652,7 @@ module Aws::CodeDeploy
|
|
648
652
|
# targets that can be returned is 25.
|
649
653
|
#
|
650
654
|
# The type of targets returned depends on the deployment's compute
|
651
|
-
# platform:
|
655
|
+
# platform or deployment method:
|
652
656
|
#
|
653
657
|
# * **EC2/On-premises**\: Information about EC2 instance targets.
|
654
658
|
#
|
@@ -656,6 +660,9 @@ module Aws::CodeDeploy
|
|
656
660
|
#
|
657
661
|
# * **Amazon ECS**\: Information about Amazon ECS service targets.
|
658
662
|
#
|
663
|
+
# * **CloudFormation**\: Information about targets of blue/green
|
664
|
+
# deployments initiated by a CloudFormation stack update.
|
665
|
+
#
|
659
666
|
# @option params [String] :deployment_id
|
660
667
|
# The unique ID of a deployment.
|
661
668
|
#
|
@@ -677,6 +684,10 @@ module Aws::CodeDeploy
|
|
677
684
|
# the format `<clustername>:<servicename>`. Their target type is
|
678
685
|
# `ecsTarget`.
|
679
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
|
+
#
|
680
691
|
# @return [Types::BatchGetDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
681
692
|
#
|
682
693
|
# * {Types::BatchGetDeploymentTargetsOutput#deployment_targets #deployment_targets} => Array<Types::DeploymentTarget>
|
@@ -691,7 +702,7 @@ module Aws::CodeDeploy
|
|
691
702
|
# @example Response structure
|
692
703
|
#
|
693
704
|
# resp.deployment_targets #=> Array
|
694
|
-
# 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"
|
695
706
|
# resp.deployment_targets[0].instance_target.deployment_id #=> String
|
696
707
|
# resp.deployment_targets[0].instance_target.target_id #=> String
|
697
708
|
# resp.deployment_targets[0].instance_target.target_arn #=> String
|
@@ -749,6 +760,21 @@ module Aws::CodeDeploy
|
|
749
760
|
# resp.deployment_targets[0].ecs_target.task_sets_info[0].traffic_weight #=> Float
|
750
761
|
# resp.deployment_targets[0].ecs_target.task_sets_info[0].target_group.name #=> String
|
751
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
|
752
778
|
#
|
753
779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets AWS API Documentation
|
754
780
|
#
|
@@ -807,8 +833,8 @@ module Aws::CodeDeploy
|
|
807
833
|
# resp.deployments_info[0].revision.string.sha256 #=> String
|
808
834
|
# resp.deployments_info[0].revision.app_spec_content.content #=> String
|
809
835
|
# resp.deployments_info[0].revision.app_spec_content.sha256 #=> String
|
810
|
-
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
811
|
-
# 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"
|
812
838
|
# resp.deployments_info[0].error_information.message #=> String
|
813
839
|
# resp.deployments_info[0].create_time #=> Time
|
814
840
|
# resp.deployments_info[0].start_time #=> Time
|
@@ -820,7 +846,7 @@ module Aws::CodeDeploy
|
|
820
846
|
# resp.deployments_info[0].deployment_overview.skipped #=> Integer
|
821
847
|
# resp.deployments_info[0].deployment_overview.ready #=> Integer
|
822
848
|
# resp.deployments_info[0].description #=> String
|
823
|
-
# 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"
|
824
850
|
# resp.deployments_info[0].ignore_application_stop_failures #=> Boolean
|
825
851
|
# resp.deployments_info[0].auto_rollback_configuration.enabled #=> Boolean
|
826
852
|
# resp.deployments_info[0].auto_rollback_configuration.events #=> Array
|
@@ -864,6 +890,7 @@ module Aws::CodeDeploy
|
|
864
890
|
# resp.deployments_info[0].deployment_status_messages #=> Array
|
865
891
|
# resp.deployments_info[0].deployment_status_messages[0] #=> String
|
866
892
|
# resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda", "ECS"
|
893
|
+
# resp.deployments_info[0].external_id #=> String
|
867
894
|
#
|
868
895
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
|
869
896
|
#
|
@@ -925,10 +952,10 @@ module Aws::CodeDeploy
|
|
925
952
|
# rerouting traffic to the replacement environment.
|
926
953
|
#
|
927
954
|
# @option params [String] :deployment_wait_type
|
928
|
-
# The status of the deployment's waiting period.
|
929
|
-
# the deployment is ready to start shifting traffic.
|
930
|
-
# indicates the traffic is shifted, but the
|
931
|
-
# 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.
|
932
959
|
#
|
933
960
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
934
961
|
#
|
@@ -1012,20 +1039,20 @@ module Aws::CodeDeploy
|
|
1012
1039
|
#
|
1013
1040
|
# If not specified, the value configured in the deployment group is used
|
1014
1041
|
# as the default. If the deployment group does not have a deployment
|
1015
|
-
# configuration associated with it, CodeDeployDefault
|
1016
|
-
# by default.
|
1042
|
+
# configuration associated with it, `CodeDeployDefault`.`OneAtATime` is
|
1043
|
+
# used by default.
|
1017
1044
|
#
|
1018
1045
|
# @option params [String] :description
|
1019
1046
|
# A comment about the deployment.
|
1020
1047
|
#
|
1021
1048
|
# @option params [Boolean] :ignore_application_stop_failures
|
1022
|
-
# If true, then if an ApplicationStop
|
1023
|
-
# 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,
|
1024
1051
|
# then the deployment continues to the next deployment lifecycle event.
|
1025
|
-
# For example, if ApplicationStop fails, the deployment continues with
|
1026
|
-
# DownloadBundle
|
1027
|
-
# with BlockTraffic
|
1028
|
-
# 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`.
|
1029
1056
|
#
|
1030
1057
|
# If false or not specified, then if a lifecycle event fails during a
|
1031
1058
|
# deployment to an instance, that deployment fails. If deployment to
|
@@ -1034,8 +1061,8 @@ module Aws::CodeDeploy
|
|
1034
1061
|
# then a deployment to the next instance is attempted.
|
1035
1062
|
#
|
1036
1063
|
# During a deployment, the AWS CodeDeploy agent runs the scripts
|
1037
|
-
# specified for ApplicationStop
|
1038
|
-
# 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
|
1039
1066
|
# deployment. (All other scripts are run from the AppSpec file in the
|
1040
1067
|
# current deployment.) If one of these scripts contains an error and
|
1041
1068
|
# does not run successfully, the deployment can fail.
|
@@ -1043,8 +1070,8 @@ module Aws::CodeDeploy
|
|
1043
1070
|
# If the cause of the failure is a script from the last successful
|
1044
1071
|
# deployment that will never run successfully, create a new deployment
|
1045
1072
|
# and use `ignoreApplicationStopFailures` to specify that the
|
1046
|
-
# ApplicationStop
|
1047
|
-
# should be ignored.
|
1073
|
+
# `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
1074
|
+
# failures should be ignored.
|
1048
1075
|
#
|
1049
1076
|
# @option params [Types::TargetInstances] :target_instances
|
1050
1077
|
# Information about the instances that belong to the replacement
|
@@ -1063,7 +1090,7 @@ module Aws::CodeDeploy
|
|
1063
1090
|
# in a deployment target location but weren't part of the previous
|
1064
1091
|
# successful deployment.
|
1065
1092
|
#
|
1066
|
-
# The fileExistsBehavior parameter takes any of the following values:
|
1093
|
+
# The `fileExistsBehavior` parameter takes any of the following values:
|
1067
1094
|
#
|
1068
1095
|
# * DISALLOW: The deployment fails. This is also the default behavior if
|
1069
1096
|
# no option is specified.
|
@@ -1170,7 +1197,7 @@ module Aws::CodeDeploy
|
|
1170
1197
|
# healthy instances as a percentage of the total number of instances
|
1171
1198
|
# in the deployment. If you specify FLEET\_PERCENT, at the start of
|
1172
1199
|
# the deployment, AWS CodeDeploy converts the percentage to the
|
1173
|
-
# equivalent number of
|
1200
|
+
# equivalent number of instances and rounds up fractional instances.
|
1174
1201
|
#
|
1175
1202
|
# The value parameter takes an integer.
|
1176
1203
|
#
|
@@ -1239,13 +1266,13 @@ module Aws::CodeDeploy
|
|
1239
1266
|
# deployment configuration that you create by calling the create
|
1240
1267
|
# deployment configuration operation.
|
1241
1268
|
#
|
1242
|
-
# CodeDeployDefault.OneAtATime is the default deployment
|
1243
|
-
# It is used if a configuration isn't specified for the
|
1244
|
-
# 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.
|
1245
1272
|
#
|
1246
1273
|
# For more information about the predefined deployment configurations in
|
1247
|
-
# AWS CodeDeploy, see [Working with Deployment
|
1248
|
-
# 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*.
|
1249
1276
|
#
|
1250
1277
|
#
|
1251
1278
|
#
|
@@ -1259,19 +1286,19 @@ module Aws::CodeDeploy
|
|
1259
1286
|
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
1260
1287
|
# The on-premises instance tags on which to filter. The deployment group
|
1261
1288
|
# includes on-premises instances with any of the specified tags. Cannot
|
1262
|
-
# be used in the same call as OnPremisesTagSet
|
1289
|
+
# be used in the same call as `OnPremisesTagSet`.
|
1263
1290
|
#
|
1264
1291
|
# @option params [Array<String>] :auto_scaling_groups
|
1265
1292
|
# A list of associated Amazon EC2 Auto Scaling groups.
|
1266
1293
|
#
|
1267
1294
|
# @option params [required, String] :service_role_arn
|
1268
|
-
# A service role ARN that allows AWS CodeDeploy
|
1269
|
-
# 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.
|
1270
1297
|
#
|
1271
1298
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
1272
1299
|
# Information about triggers to create when the deployment group is
|
1273
1300
|
# created. For examples, see [Create a Trigger for an AWS CodeDeploy
|
1274
|
-
# Event][1] in the AWS CodeDeploy User Guide
|
1301
|
+
# Event][1] in the *AWS CodeDeploy User Guide*.
|
1275
1302
|
#
|
1276
1303
|
#
|
1277
1304
|
#
|
@@ -1300,7 +1327,7 @@ module Aws::CodeDeploy
|
|
1300
1327
|
# @option params [Types::EC2TagSet] :ec2_tag_set
|
1301
1328
|
# Information about groups of tags applied to EC2 instances. The
|
1302
1329
|
# deployment group includes only EC2 instances identified by all the tag
|
1303
|
-
# groups. Cannot be used in the same call as ec2TagFilters
|
1330
|
+
# groups. Cannot be used in the same call as `ec2TagFilters`.
|
1304
1331
|
#
|
1305
1332
|
# @option params [Array<Types::ECSService>] :ecs_services
|
1306
1333
|
# The target Amazon ECS services in the deployment group. This applies
|
@@ -1312,7 +1339,7 @@ module Aws::CodeDeploy
|
|
1312
1339
|
# Information about groups of tags applied to on-premises instances. The
|
1313
1340
|
# deployment group includes only on-premises instances identified by all
|
1314
1341
|
# of the tag groups. Cannot be used in the same call as
|
1315
|
-
# onPremisesInstanceTagFilters
|
1342
|
+
# `onPremisesInstanceTagFilters`.
|
1316
1343
|
#
|
1317
1344
|
# @option params [Array<Types::Tag>] :tags
|
1318
1345
|
# The metadata that you apply to CodeDeploy deployment groups to help
|
@@ -1572,6 +1599,29 @@ module Aws::CodeDeploy
|
|
1572
1599
|
req.send_request(options)
|
1573
1600
|
end
|
1574
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
|
+
|
1575
1625
|
# Deregisters an on-premises instance.
|
1576
1626
|
#
|
1577
1627
|
# @option params [required, String] :instance_name
|
@@ -1755,8 +1805,8 @@ module Aws::CodeDeploy
|
|
1755
1805
|
# resp.deployment_info.revision.string.sha256 #=> String
|
1756
1806
|
# resp.deployment_info.revision.app_spec_content.content #=> String
|
1757
1807
|
# resp.deployment_info.revision.app_spec_content.sha256 #=> String
|
1758
|
-
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
1759
|
-
# 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"
|
1760
1810
|
# resp.deployment_info.error_information.message #=> String
|
1761
1811
|
# resp.deployment_info.create_time #=> Time
|
1762
1812
|
# resp.deployment_info.start_time #=> Time
|
@@ -1768,7 +1818,7 @@ module Aws::CodeDeploy
|
|
1768
1818
|
# resp.deployment_info.deployment_overview.skipped #=> Integer
|
1769
1819
|
# resp.deployment_info.deployment_overview.ready #=> Integer
|
1770
1820
|
# resp.deployment_info.description #=> String
|
1771
|
-
# resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
1821
|
+
# resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
|
1772
1822
|
# resp.deployment_info.ignore_application_stop_failures #=> Boolean
|
1773
1823
|
# resp.deployment_info.auto_rollback_configuration.enabled #=> Boolean
|
1774
1824
|
# resp.deployment_info.auto_rollback_configuration.events #=> Array
|
@@ -1812,6 +1862,7 @@ module Aws::CodeDeploy
|
|
1812
1862
|
# resp.deployment_info.deployment_status_messages #=> Array
|
1813
1863
|
# resp.deployment_info.deployment_status_messages[0] #=> String
|
1814
1864
|
# resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
|
1865
|
+
# resp.deployment_info.external_id #=> String
|
1815
1866
|
#
|
1816
1867
|
#
|
1817
1868
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -1947,11 +1998,11 @@ module Aws::CodeDeploy
|
|
1947
1998
|
# resp.deployment_group_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns #=> Array
|
1948
1999
|
# resp.deployment_group_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
|
1949
2000
|
# resp.deployment_group_info.last_successful_deployment.deployment_id #=> String
|
1950
|
-
# 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"
|
1951
2002
|
# resp.deployment_group_info.last_successful_deployment.end_time #=> Time
|
1952
2003
|
# resp.deployment_group_info.last_successful_deployment.create_time #=> Time
|
1953
2004
|
# resp.deployment_group_info.last_attempted_deployment.deployment_id #=> String
|
1954
|
-
# 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"
|
1955
2006
|
# resp.deployment_group_info.last_attempted_deployment.end_time #=> Time
|
1956
2007
|
# resp.deployment_group_info.last_attempted_deployment.create_time #=> Time
|
1957
2008
|
# resp.deployment_group_info.ec2_tag_set.ec2_tag_set_list #=> Array
|
@@ -2044,7 +2095,7 @@ module Aws::CodeDeploy
|
|
2044
2095
|
#
|
2045
2096
|
# @example Response structure
|
2046
2097
|
#
|
2047
|
-
# 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"
|
2048
2099
|
# resp.deployment_target.instance_target.deployment_id #=> String
|
2049
2100
|
# resp.deployment_target.instance_target.target_id #=> String
|
2050
2101
|
# resp.deployment_target.instance_target.target_arn #=> String
|
@@ -2102,6 +2153,21 @@ module Aws::CodeDeploy
|
|
2102
2153
|
# resp.deployment_target.ecs_target.task_sets_info[0].traffic_weight #=> Float
|
2103
2154
|
# resp.deployment_target.ecs_target.task_sets_info[0].target_group.name #=> String
|
2104
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
|
2105
2171
|
#
|
2106
2172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget AWS API Documentation
|
2107
2173
|
#
|
@@ -2157,13 +2223,13 @@ module Aws::CodeDeploy
|
|
2157
2223
|
# @option params [String] :sort_by
|
2158
2224
|
# The column name to use to sort the list results:
|
2159
2225
|
#
|
2160
|
-
# * registerTime
|
2226
|
+
# * `registerTime`\: Sort by the time the revisions were registered with
|
2161
2227
|
# AWS CodeDeploy.
|
2162
2228
|
#
|
2163
|
-
# * firstUsedTime
|
2164
|
-
# deployment.
|
2229
|
+
# * `firstUsedTime`\: Sort by the time the revisions were first used in
|
2230
|
+
# a deployment.
|
2165
2231
|
#
|
2166
|
-
# * lastUsedTime
|
2232
|
+
# * `lastUsedTime`\: Sort by the time the revisions were last used in a
|
2167
2233
|
# deployment.
|
2168
2234
|
#
|
2169
2235
|
# If not specified or set to null, the results are returned in an
|
@@ -2172,9 +2238,9 @@ module Aws::CodeDeploy
|
|
2172
2238
|
# @option params [String] :sort_order
|
2173
2239
|
# The order in which to sort the list results:
|
2174
2240
|
#
|
2175
|
-
# * ascending
|
2241
|
+
# * `ascending`\: ascending order.
|
2176
2242
|
#
|
2177
|
-
# * descending
|
2243
|
+
# * `descending`\: descending order.
|
2178
2244
|
#
|
2179
2245
|
# If not specified, the results are sorted in ascending order.
|
2180
2246
|
#
|
@@ -2191,15 +2257,15 @@ module Aws::CodeDeploy
|
|
2191
2257
|
#
|
2192
2258
|
# @option params [String] :deployed
|
2193
2259
|
# Whether to list revisions based on whether the revision is the target
|
2194
|
-
# revision of
|
2260
|
+
# revision of a deployment group:
|
2195
2261
|
#
|
2196
|
-
# * include
|
2262
|
+
# * `include`\: List revisions that are target revisions of a deployment
|
2197
2263
|
# group.
|
2198
2264
|
#
|
2199
|
-
# * exclude
|
2265
|
+
# * `exclude`\: Do not list revisions that are target revisions of a
|
2200
2266
|
# deployment group.
|
2201
2267
|
#
|
2202
|
-
# * ignore
|
2268
|
+
# * `ignore`\: List all revisions.
|
2203
2269
|
#
|
2204
2270
|
# @option params [String] :next_token
|
2205
2271
|
# An identifier returned from the previous `ListApplicationRevisions`
|
@@ -2363,8 +2429,8 @@ module Aws::CodeDeploy
|
|
2363
2429
|
req.send_request(options)
|
2364
2430
|
end
|
2365
2431
|
|
2366
|
-
# <note markdown="1"> The newer BatchGetDeploymentTargets should be used instead because
|
2367
|
-
# 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
|
2368
2434
|
# exception if it is used with a compute platform other than
|
2369
2435
|
# EC2/On-premises or AWS Lambda.
|
2370
2436
|
#
|
@@ -2384,18 +2450,18 @@ module Aws::CodeDeploy
|
|
2384
2450
|
# @option params [Array<String>] :instance_status_filter
|
2385
2451
|
# A subset of instances to list by status:
|
2386
2452
|
#
|
2387
|
-
# * Pending
|
2453
|
+
# * `Pending`\: Include those instances with pending deployments.
|
2388
2454
|
#
|
2389
|
-
# * InProgress
|
2390
|
-
# progress.
|
2455
|
+
# * `InProgress`\: Include those instances where deployments are still
|
2456
|
+
# in progress.
|
2391
2457
|
#
|
2392
|
-
# * Succeeded
|
2458
|
+
# * `Succeeded`\: Include those instances with successful deployments.
|
2393
2459
|
#
|
2394
|
-
# * Failed
|
2460
|
+
# * `Failed`\: Include those instances with failed deployments.
|
2395
2461
|
#
|
2396
|
-
# * Skipped
|
2462
|
+
# * `Skipped`\: Include those instances with skipped deployments.
|
2397
2463
|
#
|
2398
|
-
# * Unknown
|
2464
|
+
# * `Unknown`\: Include those instances with deployments in an unknown
|
2399
2465
|
# state.
|
2400
2466
|
#
|
2401
2467
|
# @option params [Array<String>] :instance_type_filter
|
@@ -2507,20 +2573,25 @@ module Aws::CodeDeploy
|
|
2507
2573
|
#
|
2508
2574
|
# </note>
|
2509
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
|
+
#
|
2510
2580
|
# @option params [Array<String>] :include_only_statuses
|
2511
2581
|
# A subset of deployments to list by status:
|
2512
2582
|
#
|
2513
|
-
# * Created
|
2583
|
+
# * `Created`\: Include created deployments in the resulting list.
|
2514
2584
|
#
|
2515
|
-
# * Queued
|
2585
|
+
# * `Queued`\: Include queued deployments in the resulting list.
|
2516
2586
|
#
|
2517
|
-
# * In Progress
|
2587
|
+
# * `In Progress`\: Include in-progress deployments in the resulting
|
2588
|
+
# list.
|
2518
2589
|
#
|
2519
|
-
# * Succeeded
|
2590
|
+
# * `Succeeded`\: Include successful deployments in the resulting list.
|
2520
2591
|
#
|
2521
|
-
# * Failed
|
2592
|
+
# * `Failed`\: Include failed deployments in the resulting list.
|
2522
2593
|
#
|
2523
|
-
# * Stopped
|
2594
|
+
# * `Stopped`\: Include stopped deployments in the resulting list.
|
2524
2595
|
#
|
2525
2596
|
# @option params [Types::TimeRange] :create_time_range
|
2526
2597
|
# A time range (start and end) for returning a subset of the list of
|
@@ -2542,7 +2613,8 @@ module Aws::CodeDeploy
|
|
2542
2613
|
# resp = client.list_deployments({
|
2543
2614
|
# application_name: "ApplicationName",
|
2544
2615
|
# deployment_group_name: "DeploymentGroupName",
|
2545
|
-
#
|
2616
|
+
# external_id: "ExternalId",
|
2617
|
+
# include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Baking, Succeeded, Failed, Stopped, Ready
|
2546
2618
|
# create_time_range: {
|
2547
2619
|
# start: Time.now,
|
2548
2620
|
# end: Time.now,
|
@@ -2568,7 +2640,7 @@ module Aws::CodeDeploy
|
|
2568
2640
|
# Lists the names of stored connections to GitHub accounts.
|
2569
2641
|
#
|
2570
2642
|
# @option params [String] :next_token
|
2571
|
-
# An identifier returned from the previous ListGitHubAccountTokenNames
|
2643
|
+
# An identifier returned from the previous `ListGitHubAccountTokenNames`
|
2572
2644
|
# call. It can be used to return the next set of names in the list.
|
2573
2645
|
#
|
2574
2646
|
# @return [Types::ListGitHubAccountTokenNamesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2607,10 +2679,10 @@ module Aws::CodeDeploy
|
|
2607
2679
|
# @option params [String] :registration_status
|
2608
2680
|
# The registration status of the on-premises instances:
|
2609
2681
|
#
|
2610
|
-
# * Deregistered
|
2682
|
+
# * `Deregistered`\: Include deregistered on-premises instances in the
|
2611
2683
|
# resulting list.
|
2612
2684
|
#
|
2613
|
-
# * Registered
|
2685
|
+
# * `Registered`\: Include registered on-premises instances in the
|
2614
2686
|
# resulting list.
|
2615
2687
|
#
|
2616
2688
|
# @option params [Array<Types::TagFilter>] :tag_filters
|
@@ -2656,8 +2728,9 @@ module Aws::CodeDeploy
|
|
2656
2728
|
req.send_request(options)
|
2657
2729
|
end
|
2658
2730
|
|
2659
|
-
# Returns a list of tags for the resource identified by a specified
|
2660
|
-
# 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.
|
2661
2734
|
#
|
2662
2735
|
# @option params [required, String] :resource_arn
|
2663
2736
|
# The ARN of a CodeDeploy resource. `ListTagsForResource` returns all
|
@@ -2697,8 +2770,21 @@ module Aws::CodeDeploy
|
|
2697
2770
|
end
|
2698
2771
|
|
2699
2772
|
# Sets the result of a Lambda validation function. The function
|
2700
|
-
# validates
|
2701
|
-
#
|
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
|
2702
2788
|
#
|
2703
2789
|
# @option params [String] :deployment_id
|
2704
2790
|
# The unique ID of a deployment. Pass this ID to a Lambda function that
|
@@ -2955,11 +3041,11 @@ module Aws::CodeDeploy
|
|
2955
3041
|
|
2956
3042
|
# Disassociates a resource from a list of tags. The resource is
|
2957
3043
|
# identified by the `ResourceArn` input parameter. The tags are
|
2958
|
-
#
|
3044
|
+
# identified by the list of keys in the `TagKeys` input parameter.
|
2959
3045
|
#
|
2960
3046
|
# @option params [required, String] :resource_arn
|
2961
|
-
# The ARN that specifies from which resource to
|
2962
|
-
# 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.
|
2963
3049
|
#
|
2964
3050
|
# @option params [required, Array<String>] :tag_keys
|
2965
3051
|
# A list of keys of `Tag` objects. The `Tag` objects identified by the
|
@@ -3047,8 +3133,8 @@ module Aws::CodeDeploy
|
|
3047
3133
|
#
|
3048
3134
|
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
3049
3135
|
# Information about triggers to change when the deployment group is
|
3050
|
-
# updated. For examples, see [
|
3051
|
-
#
|
3136
|
+
# updated. For examples, see [Edit a Trigger in a CodeDeploy Deployment
|
3137
|
+
# Group][1] in the *AWS CodeDeploy User Guide*.
|
3052
3138
|
#
|
3053
3139
|
#
|
3054
3140
|
#
|
@@ -3239,7 +3325,7 @@ module Aws::CodeDeploy
|
|
3239
3325
|
params: params,
|
3240
3326
|
config: config)
|
3241
3327
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
3242
|
-
context[:gem_version] = '1.
|
3328
|
+
context[:gem_version] = '1.34.0'
|
3243
3329
|
Seahorse::Client::Request.new(handlers, context)
|
3244
3330
|
end
|
3245
3331
|
|