aws-sdk-codedeploy 1.29.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b102c13fe7c9a245c6b9766a5ce57993f28b53d7aecaf8e30465f20d7ad2089f
4
- data.tar.gz: 39e206b2c2230a0eb643274c5ae10ce85a7ff171a6e4ecd412898627171ea926
3
+ metadata.gz: 0f9128b631169927f11370001be179b868b8a229380761b24dd45e81eed3e3a3
4
+ data.tar.gz: d3aa91352797d9442c1b60edf058a7a99be295f205b3e6f120b0de0d330b7c78
5
5
  SHA512:
6
- metadata.gz: 58c4d3af5d18b67517dcb8e6fb9b1a77106e4903b2ee4e2a6cf6e2df9e9e4bbfb795083cab3fe93677d2c3f1cad403c413db1c52cc7899ea09df239f4e0e5c0d
7
- data.tar.gz: 16c4edd318d7d520a6cc7f1077a3e098a681d0d4cc5f8a5c6993ffd7d906a4adc52608512333cd36a40192b5fae36b0dc0ad396f4ca1cf42d343ec2cfb51f5c5
6
+ metadata.gz: 5b61d65bf7777be6871b8415e02ce690744cb0c75ed92c8917d4b6b839feb4b9c66e2545be5e4311b9a8c7819cd0bd3860de52b6259fface95fa1c4c4854b9a8
7
+ data.tar.gz: 9bb959036733ae5ec1f80334ef2b9d1403f7b34f9c8a90d74e498ae4b44ca6f795cff1e66147edb722e1147de1910986a4923dd8ec6d4307fb2fd3e384f46610
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-codedeploy/customizations'
46
46
  # @service
47
47
  module Aws::CodeDeploy
48
48
 
49
- GEM_VERSION = '1.29.0'
49
+ GEM_VERSION = '1.30.0'
50
50
 
51
51
  end
@@ -434,11 +434,11 @@ module Aws::CodeDeploy
434
434
  end
435
435
 
436
436
  # Gets information about one or more applications. The maximum number of
437
- # applications that can be returned is 25.
437
+ # applications that can be returned is 100.
438
438
  #
439
439
  # @option params [required, Array<String>] :application_names
440
440
  # A list of application names separated by spaces. The maximum number of
441
- # application names you can specify is 25.
441
+ # application names you can specify is 100.
442
442
  #
443
443
  # @return [Types::BatchGetApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
444
444
  #
@@ -552,11 +552,11 @@ module Aws::CodeDeploy
552
552
  # resp.deployment_groups_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns #=> Array
553
553
  # resp.deployment_groups_info[0].load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
554
554
  # 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"
555
+ # resp.deployment_groups_info[0].last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
556
556
  # resp.deployment_groups_info[0].last_successful_deployment.end_time #=> Time
557
557
  # resp.deployment_groups_info[0].last_successful_deployment.create_time #=> Time
558
558
  # 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"
559
+ # resp.deployment_groups_info[0].last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
560
560
  # resp.deployment_groups_info[0].last_attempted_deployment.end_time #=> Time
561
561
  # resp.deployment_groups_info[0].last_attempted_deployment.create_time #=> Time
562
562
  # resp.deployment_groups_info[0].ec2_tag_set.ec2_tag_set_list #=> Array
@@ -648,7 +648,7 @@ module Aws::CodeDeploy
648
648
  # targets that can be returned is 25.
649
649
  #
650
650
  # The type of targets returned depends on the deployment's compute
651
- # platform:
651
+ # platform or deployment method:
652
652
  #
653
653
  # * **EC2/On-premises**\: Information about EC2 instance targets.
654
654
  #
@@ -656,6 +656,9 @@ module Aws::CodeDeploy
656
656
  #
657
657
  # * **Amazon ECS**\: Information about Amazon ECS service targets.
658
658
  #
659
+ # * **CloudFormation**\: Information about targets of blue/green
660
+ # deployments initiated by a CloudFormation stack update.
661
+ #
659
662
  # @option params [String] :deployment_id
660
663
  # The unique ID of a deployment.
661
664
  #
@@ -677,6 +680,10 @@ module Aws::CodeDeploy
677
680
  # the format `<clustername>:<servicename>`. Their target type is
678
681
  # `ecsTarget`.
679
682
  #
683
+ # * For deployments that are deployed with AWS CloudFormation, the
684
+ # target IDs are CloudFormation stack IDs. Their target type is
685
+ # `cloudFormationTarget`.
686
+ #
680
687
  # @return [Types::BatchGetDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
681
688
  #
682
689
  # * {Types::BatchGetDeploymentTargetsOutput#deployment_targets #deployment_targets} => Array&lt;Types::DeploymentTarget&gt;
@@ -691,7 +698,7 @@ module Aws::CodeDeploy
691
698
  # @example Response structure
692
699
  #
693
700
  # resp.deployment_targets #=> Array
694
- # resp.deployment_targets[0].deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget"
701
+ # resp.deployment_targets[0].deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget", "CloudFormationTarget"
695
702
  # resp.deployment_targets[0].instance_target.deployment_id #=> String
696
703
  # resp.deployment_targets[0].instance_target.target_id #=> String
697
704
  # resp.deployment_targets[0].instance_target.target_arn #=> String
@@ -749,6 +756,21 @@ module Aws::CodeDeploy
749
756
  # resp.deployment_targets[0].ecs_target.task_sets_info[0].traffic_weight #=> Float
750
757
  # resp.deployment_targets[0].ecs_target.task_sets_info[0].target_group.name #=> String
751
758
  # resp.deployment_targets[0].ecs_target.task_sets_info[0].task_set_label #=> String, one of "Blue", "Green"
759
+ # resp.deployment_targets[0].cloud_formation_target.deployment_id #=> String
760
+ # resp.deployment_targets[0].cloud_formation_target.target_id #=> String
761
+ # resp.deployment_targets[0].cloud_formation_target.last_updated_at #=> Time
762
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events #=> Array
763
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].lifecycle_event_name #=> String
764
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.error_code #=> String, one of "Success", "ScriptMissing", "ScriptNotExecutable", "ScriptTimedOut", "ScriptFailed", "UnknownError"
765
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.script_name #=> String
766
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.message #=> String
767
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].diagnostics.log_tail #=> String
768
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].start_time #=> Time
769
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].end_time #=> Time
770
+ # resp.deployment_targets[0].cloud_formation_target.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
771
+ # resp.deployment_targets[0].cloud_formation_target.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown", "Ready"
772
+ # resp.deployment_targets[0].cloud_formation_target.resource_type #=> String
773
+ # resp.deployment_targets[0].cloud_formation_target.target_version_weight #=> Float
752
774
  #
753
775
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets AWS API Documentation
754
776
  #
@@ -807,8 +829,8 @@ module Aws::CodeDeploy
807
829
  # resp.deployments_info[0].revision.string.sha256 #=> String
808
830
  # resp.deployments_info[0].revision.app_spec_content.content #=> String
809
831
  # 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"
832
+ # resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
833
+ # 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
834
  # resp.deployments_info[0].error_information.message #=> String
813
835
  # resp.deployments_info[0].create_time #=> Time
814
836
  # resp.deployments_info[0].start_time #=> Time
@@ -820,7 +842,7 @@ module Aws::CodeDeploy
820
842
  # resp.deployments_info[0].deployment_overview.skipped #=> Integer
821
843
  # resp.deployments_info[0].deployment_overview.ready #=> Integer
822
844
  # resp.deployments_info[0].description #=> String
823
- # resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
845
+ # resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
824
846
  # resp.deployments_info[0].ignore_application_stop_failures #=> Boolean
825
847
  # resp.deployments_info[0].auto_rollback_configuration.enabled #=> Boolean
826
848
  # resp.deployments_info[0].auto_rollback_configuration.events #=> Array
@@ -864,6 +886,7 @@ module Aws::CodeDeploy
864
886
  # resp.deployments_info[0].deployment_status_messages #=> Array
865
887
  # resp.deployments_info[0].deployment_status_messages[0] #=> String
866
888
  # resp.deployments_info[0].compute_platform #=> String, one of "Server", "Lambda", "ECS"
889
+ # resp.deployments_info[0].external_id #=> String
867
890
  #
868
891
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments AWS API Documentation
869
892
  #
@@ -925,10 +948,10 @@ module Aws::CodeDeploy
925
948
  # rerouting traffic to the replacement environment.
926
949
  #
927
950
  # @option params [String] :deployment_wait_type
928
- # The status of the deployment's waiting period. READY\_WAIT indicates
929
- # the deployment is ready to start shifting traffic. TERMINATION\_WAIT
930
- # indicates the traffic is shifted, but the original target is not
931
- # terminated.
951
+ # The status of the deployment's waiting period. `READY_WAIT` indicates
952
+ # that the deployment is ready to start shifting traffic.
953
+ # `TERMINATION_WAIT` indicates that the traffic is shifted, but the
954
+ # original target is not terminated.
932
955
  #
933
956
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
934
957
  #
@@ -1012,20 +1035,20 @@ module Aws::CodeDeploy
1012
1035
  #
1013
1036
  # If not specified, the value configured in the deployment group is used
1014
1037
  # as the default. If the deployment group does not have a deployment
1015
- # configuration associated with it, CodeDeployDefault.OneAtATime is used
1016
- # by default.
1038
+ # configuration associated with it, `CodeDeployDefault`.`OneAtATime` is
1039
+ # used by default.
1017
1040
  #
1018
1041
  # @option params [String] :description
1019
1042
  # A comment about the deployment.
1020
1043
  #
1021
1044
  # @option params [Boolean] :ignore_application_stop_failures
1022
- # If true, then if an ApplicationStop, BeforeBlockTraffic, or
1023
- # AfterBlockTraffic deployment lifecycle event to an instance fails,
1045
+ # If true, then if an `ApplicationStop`, `BeforeBlockTraffic`, or
1046
+ # `AfterBlockTraffic` deployment lifecycle event to an instance fails,
1024
1047
  # then the deployment continues to the next deployment lifecycle event.
1025
- # For example, if ApplicationStop fails, the deployment continues with
1026
- # DownloadBundle. If BeforeBlockTraffic fails, the deployment continues
1027
- # with BlockTraffic. If AfterBlockTraffic fails, the deployment
1028
- # continues with ApplicationStop.
1048
+ # For example, if `ApplicationStop` fails, the deployment continues with
1049
+ # `DownloadBundle`. If `BeforeBlockTraffic` fails, the deployment
1050
+ # continues with `BlockTraffic`. If `AfterBlockTraffic` fails, the
1051
+ # deployment continues with `ApplicationStop`.
1029
1052
  #
1030
1053
  # If false or not specified, then if a lifecycle event fails during a
1031
1054
  # deployment to an instance, that deployment fails. If deployment to
@@ -1034,8 +1057,8 @@ module Aws::CodeDeploy
1034
1057
  # then a deployment to the next instance is attempted.
1035
1058
  #
1036
1059
  # During a deployment, the AWS CodeDeploy agent runs the scripts
1037
- # specified for ApplicationStop, BeforeBlockTraffic, and
1038
- # AfterBlockTraffic in the AppSpec file from the previous successful
1060
+ # specified for `ApplicationStop`, `BeforeBlockTraffic`, and
1061
+ # `AfterBlockTraffic` in the AppSpec file from the previous successful
1039
1062
  # deployment. (All other scripts are run from the AppSpec file in the
1040
1063
  # current deployment.) If one of these scripts contains an error and
1041
1064
  # does not run successfully, the deployment can fail.
@@ -1043,8 +1066,8 @@ module Aws::CodeDeploy
1043
1066
  # If the cause of the failure is a script from the last successful
1044
1067
  # deployment that will never run successfully, create a new deployment
1045
1068
  # and use `ignoreApplicationStopFailures` to specify that the
1046
- # ApplicationStop, BeforeBlockTraffic, and AfterBlockTraffic failures
1047
- # should be ignored.
1069
+ # `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
1070
+ # failures should be ignored.
1048
1071
  #
1049
1072
  # @option params [Types::TargetInstances] :target_instances
1050
1073
  # Information about the instances that belong to the replacement
@@ -1063,7 +1086,7 @@ module Aws::CodeDeploy
1063
1086
  # in a deployment target location but weren't part of the previous
1064
1087
  # successful deployment.
1065
1088
  #
1066
- # The fileExistsBehavior parameter takes any of the following values:
1089
+ # The `fileExistsBehavior` parameter takes any of the following values:
1067
1090
  #
1068
1091
  # * DISALLOW: The deployment fails. This is also the default behavior if
1069
1092
  # no option is specified.
@@ -1170,7 +1193,7 @@ module Aws::CodeDeploy
1170
1193
  # healthy instances as a percentage of the total number of instances
1171
1194
  # in the deployment. If you specify FLEET\_PERCENT, at the start of
1172
1195
  # the deployment, AWS CodeDeploy converts the percentage to the
1173
- # equivalent number of instance and rounds up fractional instances.
1196
+ # equivalent number of instances and rounds up fractional instances.
1174
1197
  #
1175
1198
  # The value parameter takes an integer.
1176
1199
  #
@@ -1239,13 +1262,13 @@ module Aws::CodeDeploy
1239
1262
  # deployment configuration that you create by calling the create
1240
1263
  # deployment configuration operation.
1241
1264
  #
1242
- # CodeDeployDefault.OneAtATime is the default deployment configuration.
1243
- # It is used if a configuration isn't specified for the deployment or
1244
- # deployment group.
1265
+ # `CodeDeployDefault.OneAtATime` is the default deployment
1266
+ # configuration. It is used if a configuration isn't specified for the
1267
+ # deployment or deployment group.
1245
1268
  #
1246
1269
  # For more information about the predefined deployment configurations in
1247
- # AWS CodeDeploy, see [Working with Deployment Groups in AWS
1248
- # CodeDeploy][1] in the AWS CodeDeploy User Guide.
1270
+ # AWS CodeDeploy, see [Working with Deployment Configurations in
1271
+ # CodeDeploy][1] in the *AWS CodeDeploy User Guide*.
1249
1272
  #
1250
1273
  #
1251
1274
  #
@@ -1259,19 +1282,19 @@ module Aws::CodeDeploy
1259
1282
  # @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
1260
1283
  # The on-premises instance tags on which to filter. The deployment group
1261
1284
  # includes on-premises instances with any of the specified tags. Cannot
1262
- # be used in the same call as OnPremisesTagSet.
1285
+ # be used in the same call as `OnPremisesTagSet`.
1263
1286
  #
1264
1287
  # @option params [Array<String>] :auto_scaling_groups
1265
1288
  # A list of associated Amazon EC2 Auto Scaling groups.
1266
1289
  #
1267
1290
  # @option params [required, String] :service_role_arn
1268
- # A service role ARN that allows AWS CodeDeploy to act on the user's
1269
- # behalf when interacting with AWS services.
1291
+ # A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy
1292
+ # to act on the user's behalf when interacting with AWS services.
1270
1293
  #
1271
1294
  # @option params [Array<Types::TriggerConfig>] :trigger_configurations
1272
1295
  # Information about triggers to create when the deployment group is
1273
1296
  # created. For examples, see [Create a Trigger for an AWS CodeDeploy
1274
- # Event][1] in the AWS CodeDeploy User Guide.
1297
+ # Event][1] in the *AWS CodeDeploy User Guide*.
1275
1298
  #
1276
1299
  #
1277
1300
  #
@@ -1300,7 +1323,7 @@ module Aws::CodeDeploy
1300
1323
  # @option params [Types::EC2TagSet] :ec2_tag_set
1301
1324
  # Information about groups of tags applied to EC2 instances. The
1302
1325
  # deployment group includes only EC2 instances identified by all the tag
1303
- # groups. Cannot be used in the same call as ec2TagFilters.
1326
+ # groups. Cannot be used in the same call as `ec2TagFilters`.
1304
1327
  #
1305
1328
  # @option params [Array<Types::ECSService>] :ecs_services
1306
1329
  # The target Amazon ECS services in the deployment group. This applies
@@ -1312,7 +1335,7 @@ module Aws::CodeDeploy
1312
1335
  # Information about groups of tags applied to on-premises instances. The
1313
1336
  # deployment group includes only on-premises instances identified by all
1314
1337
  # of the tag groups. Cannot be used in the same call as
1315
- # onPremisesInstanceTagFilters.
1338
+ # `onPremisesInstanceTagFilters`.
1316
1339
  #
1317
1340
  # @option params [Array<Types::Tag>] :tags
1318
1341
  # The metadata that you apply to CodeDeploy deployment groups to help
@@ -1572,6 +1595,29 @@ module Aws::CodeDeploy
1572
1595
  req.send_request(options)
1573
1596
  end
1574
1597
 
1598
+ # Deletes resources linked to an external ID.
1599
+ #
1600
+ # @option params [String] :external_id
1601
+ # The unique ID of an external resource (for example, a CloudFormation
1602
+ # stack ID) that is linked to one or more CodeDeploy resources.
1603
+ #
1604
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1605
+ #
1606
+ # @example Request syntax with placeholder values
1607
+ #
1608
+ # resp = client.delete_resources_by_external_id({
1609
+ # external_id: "ExternalId",
1610
+ # })
1611
+ #
1612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalId AWS API Documentation
1613
+ #
1614
+ # @overload delete_resources_by_external_id(params = {})
1615
+ # @param [Hash] params ({})
1616
+ def delete_resources_by_external_id(params = {}, options = {})
1617
+ req = build_request(:delete_resources_by_external_id, params)
1618
+ req.send_request(options)
1619
+ end
1620
+
1575
1621
  # Deregisters an on-premises instance.
1576
1622
  #
1577
1623
  # @option params [required, String] :instance_name
@@ -1755,8 +1801,8 @@ module Aws::CodeDeploy
1755
1801
  # resp.deployment_info.revision.string.sha256 #=> String
1756
1802
  # resp.deployment_info.revision.app_spec_content.content #=> String
1757
1803
  # 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"
1804
+ # resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
1805
+ # 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
1806
  # resp.deployment_info.error_information.message #=> String
1761
1807
  # resp.deployment_info.create_time #=> Time
1762
1808
  # resp.deployment_info.start_time #=> Time
@@ -1768,7 +1814,7 @@ module Aws::CodeDeploy
1768
1814
  # resp.deployment_info.deployment_overview.skipped #=> Integer
1769
1815
  # resp.deployment_info.deployment_overview.ready #=> Integer
1770
1816
  # resp.deployment_info.description #=> String
1771
- # resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
1817
+ # resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback", "CodeDeploy", "CloudFormation", "CloudFormationRollback"
1772
1818
  # resp.deployment_info.ignore_application_stop_failures #=> Boolean
1773
1819
  # resp.deployment_info.auto_rollback_configuration.enabled #=> Boolean
1774
1820
  # resp.deployment_info.auto_rollback_configuration.events #=> Array
@@ -1812,6 +1858,7 @@ module Aws::CodeDeploy
1812
1858
  # resp.deployment_info.deployment_status_messages #=> Array
1813
1859
  # resp.deployment_info.deployment_status_messages[0] #=> String
1814
1860
  # resp.deployment_info.compute_platform #=> String, one of "Server", "Lambda", "ECS"
1861
+ # resp.deployment_info.external_id #=> String
1815
1862
  #
1816
1863
  #
1817
1864
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1947,11 +1994,11 @@ module Aws::CodeDeploy
1947
1994
  # resp.deployment_group_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns #=> Array
1948
1995
  # resp.deployment_group_info.load_balancer_info.target_group_pair_info_list[0].test_traffic_route.listener_arns[0] #=> String
1949
1996
  # 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"
1997
+ # resp.deployment_group_info.last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
1951
1998
  # resp.deployment_group_info.last_successful_deployment.end_time #=> Time
1952
1999
  # resp.deployment_group_info.last_successful_deployment.create_time #=> Time
1953
2000
  # 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"
2001
+ # resp.deployment_group_info.last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Baking", "Succeeded", "Failed", "Stopped", "Ready"
1955
2002
  # resp.deployment_group_info.last_attempted_deployment.end_time #=> Time
1956
2003
  # resp.deployment_group_info.last_attempted_deployment.create_time #=> Time
1957
2004
  # resp.deployment_group_info.ec2_tag_set.ec2_tag_set_list #=> Array
@@ -2044,7 +2091,7 @@ module Aws::CodeDeploy
2044
2091
  #
2045
2092
  # @example Response structure
2046
2093
  #
2047
- # resp.deployment_target.deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget"
2094
+ # resp.deployment_target.deployment_target_type #=> String, one of "InstanceTarget", "LambdaTarget", "ECSTarget", "CloudFormationTarget"
2048
2095
  # resp.deployment_target.instance_target.deployment_id #=> String
2049
2096
  # resp.deployment_target.instance_target.target_id #=> String
2050
2097
  # resp.deployment_target.instance_target.target_arn #=> String
@@ -2102,6 +2149,21 @@ module Aws::CodeDeploy
2102
2149
  # resp.deployment_target.ecs_target.task_sets_info[0].traffic_weight #=> Float
2103
2150
  # resp.deployment_target.ecs_target.task_sets_info[0].target_group.name #=> String
2104
2151
  # resp.deployment_target.ecs_target.task_sets_info[0].task_set_label #=> String, one of "Blue", "Green"
2152
+ # resp.deployment_target.cloud_formation_target.deployment_id #=> String
2153
+ # resp.deployment_target.cloud_formation_target.target_id #=> String
2154
+ # resp.deployment_target.cloud_formation_target.last_updated_at #=> Time
2155
+ # resp.deployment_target.cloud_formation_target.lifecycle_events #=> Array
2156
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].lifecycle_event_name #=> String
2157
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.error_code #=> String, one of "Success", "ScriptMissing", "ScriptNotExecutable", "ScriptTimedOut", "ScriptFailed", "UnknownError"
2158
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.script_name #=> String
2159
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.message #=> String
2160
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].diagnostics.log_tail #=> String
2161
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].start_time #=> Time
2162
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].end_time #=> Time
2163
+ # resp.deployment_target.cloud_formation_target.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
2164
+ # resp.deployment_target.cloud_formation_target.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown", "Ready"
2165
+ # resp.deployment_target.cloud_formation_target.resource_type #=> String
2166
+ # resp.deployment_target.cloud_formation_target.target_version_weight #=> Float
2105
2167
  #
2106
2168
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget AWS API Documentation
2107
2169
  #
@@ -2157,13 +2219,13 @@ module Aws::CodeDeploy
2157
2219
  # @option params [String] :sort_by
2158
2220
  # The column name to use to sort the list results:
2159
2221
  #
2160
- # * registerTime: Sort by the time the revisions were registered with
2222
+ # * `registerTime`\: Sort by the time the revisions were registered with
2161
2223
  # AWS CodeDeploy.
2162
2224
  #
2163
- # * firstUsedTime: Sort by the time the revisions were first used in a
2164
- # deployment.
2225
+ # * `firstUsedTime`\: Sort by the time the revisions were first used in
2226
+ # a deployment.
2165
2227
  #
2166
- # * lastUsedTime: Sort by the time the revisions were last used in a
2228
+ # * `lastUsedTime`\: Sort by the time the revisions were last used in a
2167
2229
  # deployment.
2168
2230
  #
2169
2231
  # If not specified or set to null, the results are returned in an
@@ -2172,9 +2234,9 @@ module Aws::CodeDeploy
2172
2234
  # @option params [String] :sort_order
2173
2235
  # The order in which to sort the list results:
2174
2236
  #
2175
- # * ascending: ascending order.
2237
+ # * `ascending`\: ascending order.
2176
2238
  #
2177
- # * descending: descending order.
2239
+ # * `descending`\: descending order.
2178
2240
  #
2179
2241
  # If not specified, the results are sorted in ascending order.
2180
2242
  #
@@ -2191,15 +2253,15 @@ module Aws::CodeDeploy
2191
2253
  #
2192
2254
  # @option params [String] :deployed
2193
2255
  # Whether to list revisions based on whether the revision is the target
2194
- # revision of an deployment group:
2256
+ # revision of a deployment group:
2195
2257
  #
2196
- # * include: List revisions that are target revisions of a deployment
2258
+ # * `include`\: List revisions that are target revisions of a deployment
2197
2259
  # group.
2198
2260
  #
2199
- # * exclude: Do not list revisions that are target revisions of a
2261
+ # * `exclude`\: Do not list revisions that are target revisions of a
2200
2262
  # deployment group.
2201
2263
  #
2202
- # * ignore: List all revisions.
2264
+ # * `ignore`\: List all revisions.
2203
2265
  #
2204
2266
  # @option params [String] :next_token
2205
2267
  # An identifier returned from the previous `ListApplicationRevisions`
@@ -2363,8 +2425,8 @@ module Aws::CodeDeploy
2363
2425
  req.send_request(options)
2364
2426
  end
2365
2427
 
2366
- # <note markdown="1"> The newer BatchGetDeploymentTargets should be used instead because it
2367
- # works with all compute types. `ListDeploymentInstances` throws an
2428
+ # <note markdown="1"> The newer `BatchGetDeploymentTargets` should be used instead because
2429
+ # it works with all compute types. `ListDeploymentInstances` throws an
2368
2430
  # exception if it is used with a compute platform other than
2369
2431
  # EC2/On-premises or AWS Lambda.
2370
2432
  #
@@ -2384,18 +2446,18 @@ module Aws::CodeDeploy
2384
2446
  # @option params [Array<String>] :instance_status_filter
2385
2447
  # A subset of instances to list by status:
2386
2448
  #
2387
- # * Pending: Include those instances with pending deployments.
2449
+ # * `Pending`\: Include those instances with pending deployments.
2388
2450
  #
2389
- # * InProgress: Include those instances where deployments are still in
2390
- # progress.
2451
+ # * `InProgress`\: Include those instances where deployments are still
2452
+ # in progress.
2391
2453
  #
2392
- # * Succeeded: Include those instances with successful deployments.
2454
+ # * `Succeeded`\: Include those instances with successful deployments.
2393
2455
  #
2394
- # * Failed: Include those instances with failed deployments.
2456
+ # * `Failed`\: Include those instances with failed deployments.
2395
2457
  #
2396
- # * Skipped: Include those instances with skipped deployments.
2458
+ # * `Skipped`\: Include those instances with skipped deployments.
2397
2459
  #
2398
- # * Unknown: Include those instances with deployments in an unknown
2460
+ # * `Unknown`\: Include those instances with deployments in an unknown
2399
2461
  # state.
2400
2462
  #
2401
2463
  # @option params [Array<String>] :instance_type_filter
@@ -2507,20 +2569,25 @@ module Aws::CodeDeploy
2507
2569
  #
2508
2570
  # </note>
2509
2571
  #
2572
+ # @option params [String] :external_id
2573
+ # The unique ID of an external resource for returning deployments linked
2574
+ # to the external resource.
2575
+ #
2510
2576
  # @option params [Array<String>] :include_only_statuses
2511
2577
  # A subset of deployments to list by status:
2512
2578
  #
2513
- # * Created: Include created deployments in the resulting list.
2579
+ # * `Created`\: Include created deployments in the resulting list.
2514
2580
  #
2515
- # * Queued: Include queued deployments in the resulting list.
2581
+ # * `Queued`\: Include queued deployments in the resulting list.
2516
2582
  #
2517
- # * In Progress: Include in-progress deployments in the resulting list.
2583
+ # * `In Progress`\: Include in-progress deployments in the resulting
2584
+ # list.
2518
2585
  #
2519
- # * Succeeded: Include successful deployments in the resulting list.
2586
+ # * `Succeeded`\: Include successful deployments in the resulting list.
2520
2587
  #
2521
- # * Failed: Include failed deployments in the resulting list.
2588
+ # * `Failed`\: Include failed deployments in the resulting list.
2522
2589
  #
2523
- # * Stopped: Include stopped deployments in the resulting list.
2590
+ # * `Stopped`\: Include stopped deployments in the resulting list.
2524
2591
  #
2525
2592
  # @option params [Types::TimeRange] :create_time_range
2526
2593
  # A time range (start and end) for returning a subset of the list of
@@ -2542,7 +2609,8 @@ module Aws::CodeDeploy
2542
2609
  # resp = client.list_deployments({
2543
2610
  # application_name: "ApplicationName",
2544
2611
  # deployment_group_name: "DeploymentGroupName",
2545
- # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped, Ready
2612
+ # external_id: "ExternalId",
2613
+ # include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Baking, Succeeded, Failed, Stopped, Ready
2546
2614
  # create_time_range: {
2547
2615
  # start: Time.now,
2548
2616
  # end: Time.now,
@@ -2568,7 +2636,7 @@ module Aws::CodeDeploy
2568
2636
  # Lists the names of stored connections to GitHub accounts.
2569
2637
  #
2570
2638
  # @option params [String] :next_token
2571
- # An identifier returned from the previous ListGitHubAccountTokenNames
2639
+ # An identifier returned from the previous `ListGitHubAccountTokenNames`
2572
2640
  # call. It can be used to return the next set of names in the list.
2573
2641
  #
2574
2642
  # @return [Types::ListGitHubAccountTokenNamesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2607,10 +2675,10 @@ module Aws::CodeDeploy
2607
2675
  # @option params [String] :registration_status
2608
2676
  # The registration status of the on-premises instances:
2609
2677
  #
2610
- # * Deregistered: Include deregistered on-premises instances in the
2678
+ # * `Deregistered`\: Include deregistered on-premises instances in the
2611
2679
  # resulting list.
2612
2680
  #
2613
- # * Registered: Include registered on-premises instances in the
2681
+ # * `Registered`\: Include registered on-premises instances in the
2614
2682
  # resulting list.
2615
2683
  #
2616
2684
  # @option params [Array<Types::TagFilter>] :tag_filters
@@ -2656,8 +2724,9 @@ module Aws::CodeDeploy
2656
2724
  req.send_request(options)
2657
2725
  end
2658
2726
 
2659
- # Returns a list of tags for the resource identified by a specified ARN.
2660
- # Tags are used to organize and categorize your CodeDeploy resources.
2727
+ # Returns a list of tags for the resource identified by a specified
2728
+ # Amazon Resource Name (ARN). Tags are used to organize and categorize
2729
+ # your CodeDeploy resources.
2661
2730
  #
2662
2731
  # @option params [required, String] :resource_arn
2663
2732
  # The ARN of a CodeDeploy resource. `ListTagsForResource` returns all
@@ -2697,8 +2766,21 @@ module Aws::CodeDeploy
2697
2766
  end
2698
2767
 
2699
2768
  # Sets the result of a Lambda validation function. The function
2700
- # validates one or both lifecycle events (`BeforeAllowTraffic` and
2701
- # `AfterAllowTraffic`) and returns `Succeeded` or `Failed`.
2769
+ # validates lifecycle hooks during a deployment that uses the AWS Lambda
2770
+ # or Amazon ECS compute platform. For AWS Lambda deployments, the
2771
+ # available lifecycle hooks are `BeforeAllowTraffic` and
2772
+ # `AfterAllowTraffic`. For Amazon ECS deployments, the available
2773
+ # lifecycle hooks are `BeforeInstall`, `AfterInstall`,
2774
+ # `AfterAllowTestTraffic`, `BeforeAllowTraffic`, and
2775
+ # `AfterAllowTraffic`. Lambda validation functions return `Succeeded` or
2776
+ # `Failed`. For more information, see [AppSpec 'hooks' Section for an
2777
+ # AWS Lambda Deployment ][1] and [AppSpec 'hooks' Section for an
2778
+ # Amazon ECS Deployment][2].
2779
+ #
2780
+ #
2781
+ #
2782
+ # [1]: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda
2783
+ # [2]: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs
2702
2784
  #
2703
2785
  # @option params [String] :deployment_id
2704
2786
  # The unique ID of a deployment. Pass this ID to a Lambda function that
@@ -2955,11 +3037,11 @@ module Aws::CodeDeploy
2955
3037
 
2956
3038
  # Disassociates a resource from a list of tags. The resource is
2957
3039
  # identified by the `ResourceArn` input parameter. The tags are
2958
- # identfied by the list of keys in the `TagKeys` input parameter.
3040
+ # identified by the list of keys in the `TagKeys` input parameter.
2959
3041
  #
2960
3042
  # @option params [required, String] :resource_arn
2961
- # The ARN that specifies from which resource to disassociate the tags
2962
- # with the keys in the `TagKeys` input paramter.
3043
+ # The Amazon Resource Name (ARN) that specifies from which resource to
3044
+ # disassociate the tags with the keys in the `TagKeys` input parameter.
2963
3045
  #
2964
3046
  # @option params [required, Array<String>] :tag_keys
2965
3047
  # A list of keys of `Tag` objects. The `Tag` objects identified by the
@@ -3047,8 +3129,8 @@ module Aws::CodeDeploy
3047
3129
  #
3048
3130
  # @option params [Array<Types::TriggerConfig>] :trigger_configurations
3049
3131
  # Information about triggers to change when the deployment group is
3050
- # updated. For examples, see [Modify Triggers in an AWS CodeDeploy
3051
- # Deployment Group][1] in the AWS CodeDeploy User Guide.
3132
+ # updated. For examples, see [Edit a Trigger in a CodeDeploy Deployment
3133
+ # Group][1] in the *AWS CodeDeploy User Guide*.
3052
3134
  #
3053
3135
  #
3054
3136
  #
@@ -3239,7 +3321,7 @@ module Aws::CodeDeploy
3239
3321
  params: params,
3240
3322
  config: config)
3241
3323
  context[:gem_name] = 'aws-sdk-codedeploy'
3242
- context[:gem_version] = '1.29.0'
3324
+ context[:gem_version] = '1.30.0'
3243
3325
  Seahorse::Client::Request.new(handlers, context)
3244
3326
  end
3245
3327