aws-sdk-codedeploy 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +185 -24
- data/lib/aws-sdk-codedeploy/client_api.rb +97 -0
- data/lib/aws-sdk-codedeploy/types.rb +251 -41
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f24f2f5cec4526a2e9b6c5ad5c77b5de45f78e77
|
4
|
+
data.tar.gz: 542f19cc9d4929e12906db6e27f4ae92b4503a4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ed3441a23d3c1c1c8dce31399d32a3dc2fed3d3ff4e51892b054cc3a2e6ea1abb5ead39ce50fb913583b4bee61cece16cdcc5b0bdd8c31b5e27c9ab9089b08a
|
7
|
+
data.tar.gz: ae20c6e40311217e170999c7f46c6d551e1b9207c8ed866a0933fb7009b6f0724da3d8f69a102e1d0f2f35257beb6bd0024aa1dac3b335d3b1debe7a23964c33
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -294,15 +294,17 @@ module Aws::CodeDeploy
|
|
294
294
|
req.send_request(options)
|
295
295
|
end
|
296
296
|
|
297
|
-
# Gets information about one or more application revisions.
|
297
|
+
# Gets information about one or more application revisions. The maximum
|
298
|
+
# number of application revisions that can be returned is 25.
|
298
299
|
#
|
299
300
|
# @option params [required, String] :application_name
|
300
301
|
# The name of an AWS CodeDeploy application about which to get revision
|
301
302
|
# information.
|
302
303
|
#
|
303
304
|
# @option params [required, Array<Types::RevisionLocation>] :revisions
|
304
|
-
#
|
305
|
-
# location.
|
305
|
+
# An array of `RevisionLocation` objects that specify information to get
|
306
|
+
# about the application revisions, including type and location. The
|
307
|
+
# maximum number of `RevisionLocation` objects you can specify is 25.
|
306
308
|
#
|
307
309
|
# @return [Types::BatchGetApplicationRevisionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
308
310
|
#
|
@@ -373,10 +375,12 @@ module Aws::CodeDeploy
|
|
373
375
|
req.send_request(options)
|
374
376
|
end
|
375
377
|
|
376
|
-
# Gets information about one or more applications.
|
378
|
+
# Gets information about one or more applications. The maximum number of
|
379
|
+
# applications that can be returned is 25.
|
377
380
|
#
|
378
381
|
# @option params [required, Array<String>] :application_names
|
379
|
-
# A list of application names separated by spaces.
|
382
|
+
# A list of application names separated by spaces. The maximum number of
|
383
|
+
# application names you can specify is 25.
|
380
384
|
#
|
381
385
|
# @return [Types::BatchGetApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
382
386
|
#
|
@@ -527,16 +531,18 @@ module Aws::CodeDeploy
|
|
527
531
|
#
|
528
532
|
# </note>
|
529
533
|
#
|
530
|
-
# Returns an array of instances associated with a
|
531
|
-
# method works with EC2/On-premises and AWS Lambda
|
532
|
-
# The newer `BatchGetDeploymentTargets` works with
|
533
|
-
# platforms.
|
534
|
+
# Returns an array of one or more instances associated with a
|
535
|
+
# deployment. This method works with EC2/On-premises and AWS Lambda
|
536
|
+
# compute platforms. The newer `BatchGetDeploymentTargets` works with
|
537
|
+
# all compute platforms. The maximum number of instances that can be
|
538
|
+
# returned is 25.
|
534
539
|
#
|
535
540
|
# @option params [required, String] :deployment_id
|
536
541
|
# The unique ID of a deployment.
|
537
542
|
#
|
538
543
|
# @option params [required, Array<String>] :instance_ids
|
539
|
-
# The unique IDs of instances used in the deployment.
|
544
|
+
# The unique IDs of instances used in the deployment. The maximum number
|
545
|
+
# of instance IDs you can specify is 25.
|
540
546
|
#
|
541
547
|
# @return [Types::BatchGetDeploymentInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
542
548
|
#
|
@@ -578,9 +584,10 @@ module Aws::CodeDeploy
|
|
578
584
|
req.send_request(options)
|
579
585
|
end
|
580
586
|
|
581
|
-
# Returns an array of targets associated with a deployment.
|
582
|
-
# works with all compute types and should be used instead of
|
583
|
-
# deprecated `BatchGetDeploymentInstances`.
|
587
|
+
# Returns an array of one or more targets associated with a deployment.
|
588
|
+
# This method works with all compute types and should be used instead of
|
589
|
+
# the deprecated `BatchGetDeploymentInstances`. The maximum number of
|
590
|
+
# targets that can be returned is 25.
|
584
591
|
#
|
585
592
|
# The type of targets returned depends on the deployment's compute
|
586
593
|
# platform:
|
@@ -596,7 +603,8 @@ module Aws::CodeDeploy
|
|
596
603
|
#
|
597
604
|
# @option params [Array<String>] :target_ids
|
598
605
|
# The unique IDs of the deployment targets. The compute platform of the
|
599
|
-
# deployment determines the type of the targets and their formats.
|
606
|
+
# deployment determines the type of the targets and their formats. The
|
607
|
+
# maximum number of deployment target IDs you can specify is 25.
|
600
608
|
#
|
601
609
|
# * For deployments that use the EC2/On-premises compute platform, the
|
602
610
|
# target IDs are EC2 or on-premises instances IDs, and their target
|
@@ -655,6 +663,11 @@ module Aws::CodeDeploy
|
|
655
663
|
# resp.deployment_targets[0].lambda_target.lifecycle_events[0].start_time #=> Time
|
656
664
|
# resp.deployment_targets[0].lambda_target.lifecycle_events[0].end_time #=> Time
|
657
665
|
# resp.deployment_targets[0].lambda_target.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
666
|
+
# resp.deployment_targets[0].lambda_target.lambda_function_info.function_name #=> String
|
667
|
+
# resp.deployment_targets[0].lambda_target.lambda_function_info.function_alias #=> String
|
668
|
+
# resp.deployment_targets[0].lambda_target.lambda_function_info.current_version #=> String
|
669
|
+
# resp.deployment_targets[0].lambda_target.lambda_function_info.target_version #=> String
|
670
|
+
# resp.deployment_targets[0].lambda_target.lambda_function_info.target_version_weight #=> Float
|
658
671
|
# resp.deployment_targets[0].ecs_target.deployment_id #=> String
|
659
672
|
# resp.deployment_targets[0].ecs_target.target_id #=> String
|
660
673
|
# resp.deployment_targets[0].ecs_target.target_arn #=> String
|
@@ -688,10 +701,12 @@ module Aws::CodeDeploy
|
|
688
701
|
req.send_request(options)
|
689
702
|
end
|
690
703
|
|
691
|
-
# Gets information about one or more deployments.
|
704
|
+
# Gets information about one or more deployments. The maximum number of
|
705
|
+
# deployments that can be returned is 25.
|
692
706
|
#
|
693
707
|
# @option params [required, Array<String>] :deployment_ids
|
694
|
-
# A list of deployment IDs, separated by spaces.
|
708
|
+
# A list of deployment IDs, separated by spaces. The maximum number of
|
709
|
+
# deployment IDs you can specify is 25.
|
695
710
|
#
|
696
711
|
# @return [Types::BatchGetDeploymentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
697
712
|
#
|
@@ -735,7 +750,7 @@ module Aws::CodeDeploy
|
|
735
750
|
# resp.deployments_info[0].revision.app_spec_content.content #=> String
|
736
751
|
# resp.deployments_info[0].revision.app_spec_content.sha256 #=> String
|
737
752
|
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
738
|
-
# resp.deployments_info[0].error_information.code #=> String, one of "
|
753
|
+
# 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"
|
739
754
|
# resp.deployments_info[0].error_information.message #=> String
|
740
755
|
# resp.deployments_info[0].create_time #=> Time
|
741
756
|
# resp.deployments_info[0].start_time #=> Time
|
@@ -801,10 +816,12 @@ module Aws::CodeDeploy
|
|
801
816
|
req.send_request(options)
|
802
817
|
end
|
803
818
|
|
804
|
-
# Gets information about one or more on-premises instances.
|
819
|
+
# Gets information about one or more on-premises instances. The maximum
|
820
|
+
# number of on-premises instances that can be returned is 25.
|
805
821
|
#
|
806
822
|
# @option params [required, Array<String>] :instance_names
|
807
823
|
# The names of the on-premises instances about which to get information.
|
824
|
+
# The maximum number of instance names you can specify is 25.
|
808
825
|
#
|
809
826
|
# @return [Types::BatchGetOnPremisesInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
810
827
|
#
|
@@ -880,8 +897,13 @@ module Aws::CodeDeploy
|
|
880
897
|
# applicable IAM user or AWS account.
|
881
898
|
#
|
882
899
|
# @option params [String] :compute_platform
|
883
|
-
# The destination platform type for the deployment (`Lambda`
|
884
|
-
# `
|
900
|
+
# The destination platform type for the deployment (`Lambda`, `Server`,
|
901
|
+
# or `ECS`).
|
902
|
+
#
|
903
|
+
# @option params [Array<Types::Tag>] :tags
|
904
|
+
# The metadata that you apply to CodeDeploy applications to help you
|
905
|
+
# organize and categorize them. Each tag consists of a key and an
|
906
|
+
# optional value, both of which you define.
|
885
907
|
#
|
886
908
|
# @return [Types::CreateApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
887
909
|
#
|
@@ -892,6 +914,12 @@ module Aws::CodeDeploy
|
|
892
914
|
# resp = client.create_application({
|
893
915
|
# application_name: "ApplicationName", # required
|
894
916
|
# compute_platform: "Server", # accepts Server, Lambda, ECS
|
917
|
+
# tags: [
|
918
|
+
# {
|
919
|
+
# key: "Key",
|
920
|
+
# value: "Value",
|
921
|
+
# },
|
922
|
+
# ],
|
895
923
|
# })
|
896
924
|
#
|
897
925
|
# @example Response structure
|
@@ -1095,8 +1123,8 @@ module Aws::CodeDeploy
|
|
1095
1123
|
# The configuration that specifies how the deployment traffic is routed.
|
1096
1124
|
#
|
1097
1125
|
# @option params [String] :compute_platform
|
1098
|
-
# The destination platform type for the deployment (`Lambda`
|
1099
|
-
# `
|
1126
|
+
# The destination platform type for the deployment (`Lambda`, `Server`,
|
1127
|
+
# or `ECS`).
|
1100
1128
|
#
|
1101
1129
|
# @return [Types::CreateDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1102
1130
|
#
|
@@ -1228,6 +1256,11 @@ module Aws::CodeDeploy
|
|
1228
1256
|
# of the tag groups. Cannot be used in the same call as
|
1229
1257
|
# onPremisesInstanceTagFilters.
|
1230
1258
|
#
|
1259
|
+
# @option params [Array<Types::Tag>] :tags
|
1260
|
+
# The metadata that you apply to CodeDeploy deployment groups to help
|
1261
|
+
# you organize and categorize them. Each tag consists of a key and an
|
1262
|
+
# optional value, both of which you define.
|
1263
|
+
#
|
1231
1264
|
# @return [Types::CreateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1232
1265
|
#
|
1233
1266
|
# * {Types::CreateDeploymentGroupOutput#deployment_group_id #deployment_group_id} => String
|
@@ -1346,6 +1379,12 @@ module Aws::CodeDeploy
|
|
1346
1379
|
# ],
|
1347
1380
|
# ],
|
1348
1381
|
# },
|
1382
|
+
# tags: [
|
1383
|
+
# {
|
1384
|
+
# key: "Key",
|
1385
|
+
# value: "Value",
|
1386
|
+
# },
|
1387
|
+
# ],
|
1349
1388
|
# })
|
1350
1389
|
#
|
1351
1390
|
# @example Response structure
|
@@ -1659,7 +1698,7 @@ module Aws::CodeDeploy
|
|
1659
1698
|
# resp.deployment_info.revision.app_spec_content.content #=> String
|
1660
1699
|
# resp.deployment_info.revision.app_spec_content.sha256 #=> String
|
1661
1700
|
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
1662
|
-
# resp.deployment_info.error_information.code #=> String, one of "
|
1701
|
+
# 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"
|
1663
1702
|
# resp.deployment_info.error_information.message #=> String
|
1664
1703
|
# resp.deployment_info.create_time #=> Time
|
1665
1704
|
# resp.deployment_info.start_time #=> Time
|
@@ -1972,6 +2011,11 @@ module Aws::CodeDeploy
|
|
1972
2011
|
# resp.deployment_target.lambda_target.lifecycle_events[0].start_time #=> Time
|
1973
2012
|
# resp.deployment_target.lambda_target.lifecycle_events[0].end_time #=> Time
|
1974
2013
|
# resp.deployment_target.lambda_target.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
2014
|
+
# resp.deployment_target.lambda_target.lambda_function_info.function_name #=> String
|
2015
|
+
# resp.deployment_target.lambda_target.lambda_function_info.function_alias #=> String
|
2016
|
+
# resp.deployment_target.lambda_target.lambda_function_info.current_version #=> String
|
2017
|
+
# resp.deployment_target.lambda_target.lambda_function_info.target_version #=> String
|
2018
|
+
# resp.deployment_target.lambda_target.lambda_function_info.target_version_weight #=> Float
|
1975
2019
|
# resp.deployment_target.ecs_target.deployment_id #=> String
|
1976
2020
|
# resp.deployment_target.ecs_target.target_id #=> String
|
1977
2021
|
# resp.deployment_target.ecs_target.target_arn #=> String
|
@@ -2368,9 +2412,21 @@ module Aws::CodeDeploy
|
|
2368
2412
|
# The name of an AWS CodeDeploy application associated with the IAM user
|
2369
2413
|
# or AWS account.
|
2370
2414
|
#
|
2415
|
+
# <note markdown="1"> If `applicationName` is specified, then `deploymentGroupName` must be
|
2416
|
+
# specified. If it is not specified, then `deploymentGroupName` must not
|
2417
|
+
# be specified.
|
2418
|
+
#
|
2419
|
+
# </note>
|
2420
|
+
#
|
2371
2421
|
# @option params [String] :deployment_group_name
|
2372
2422
|
# The name of a deployment group for the specified application.
|
2373
2423
|
#
|
2424
|
+
# <note markdown="1"> If `deploymentGroupName` is specified, then `applicationName` must be
|
2425
|
+
# specified. If it is not specified, then `applicationName` must not be
|
2426
|
+
# specified.
|
2427
|
+
#
|
2428
|
+
# </note>
|
2429
|
+
#
|
2374
2430
|
# @option params [Array<String>] :include_only_statuses
|
2375
2431
|
# A subset of deployments to list by status:
|
2376
2432
|
#
|
@@ -2518,6 +2574,46 @@ module Aws::CodeDeploy
|
|
2518
2574
|
req.send_request(options)
|
2519
2575
|
end
|
2520
2576
|
|
2577
|
+
# Returns a list of tags for the resource identified by a specified ARN.
|
2578
|
+
# Tags are used to organize and categorize your CodeDeploy resources.
|
2579
|
+
#
|
2580
|
+
# @option params [required, String] :resource_arn
|
2581
|
+
# The ARN of a CodeDeploy resource. `ListTagsForResource` returns all
|
2582
|
+
# the tags associated with the resource that is identified by the
|
2583
|
+
# `ResourceArn`.
|
2584
|
+
#
|
2585
|
+
# @option params [String] :next_token
|
2586
|
+
# An identifier returned from the previous `ListTagsForResource` call.
|
2587
|
+
# It can be used to return the next set of applications in the list.
|
2588
|
+
#
|
2589
|
+
# @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2590
|
+
#
|
2591
|
+
# * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::Tag>
|
2592
|
+
# * {Types::ListTagsForResourceOutput#next_token #next_token} => String
|
2593
|
+
#
|
2594
|
+
# @example Request syntax with placeholder values
|
2595
|
+
#
|
2596
|
+
# resp = client.list_tags_for_resource({
|
2597
|
+
# resource_arn: "Arn", # required
|
2598
|
+
# next_token: "NextToken",
|
2599
|
+
# })
|
2600
|
+
#
|
2601
|
+
# @example Response structure
|
2602
|
+
#
|
2603
|
+
# resp.tags #=> Array
|
2604
|
+
# resp.tags[0].key #=> String
|
2605
|
+
# resp.tags[0].value #=> String
|
2606
|
+
# resp.next_token #=> String
|
2607
|
+
#
|
2608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResource AWS API Documentation
|
2609
|
+
#
|
2610
|
+
# @overload list_tags_for_resource(params = {})
|
2611
|
+
# @param [Hash] params ({})
|
2612
|
+
def list_tags_for_resource(params = {}, options = {})
|
2613
|
+
req = build_request(:list_tags_for_resource, params)
|
2614
|
+
req.send_request(options)
|
2615
|
+
end
|
2616
|
+
|
2521
2617
|
# Sets the result of a Lambda validation function. The function
|
2522
2618
|
# validates one or both lifecycle events (`BeforeAllowTraffic` and
|
2523
2619
|
# `AfterAllowTraffic`) and returns `Succeeded` or `Failed`.
|
@@ -2741,6 +2837,71 @@ module Aws::CodeDeploy
|
|
2741
2837
|
req.send_request(options)
|
2742
2838
|
end
|
2743
2839
|
|
2840
|
+
# Associates the list of tags in the input `Tags` parameter with the
|
2841
|
+
# resource identified by the `ResourceArn` input parameter.
|
2842
|
+
#
|
2843
|
+
# @option params [required, String] :resource_arn
|
2844
|
+
# The ARN of a resource, such as a CodeDeploy application or deployment
|
2845
|
+
# group.
|
2846
|
+
#
|
2847
|
+
# @option params [required, Array<Types::Tag>] :tags
|
2848
|
+
# A list of tags that `TagResource` associates with a resource. The
|
2849
|
+
# resource is identified by the `ResourceArn` input parameter.
|
2850
|
+
#
|
2851
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2852
|
+
#
|
2853
|
+
# @example Request syntax with placeholder values
|
2854
|
+
#
|
2855
|
+
# resp = client.tag_resource({
|
2856
|
+
# resource_arn: "Arn", # required
|
2857
|
+
# tags: [ # required
|
2858
|
+
# {
|
2859
|
+
# key: "Key",
|
2860
|
+
# value: "Value",
|
2861
|
+
# },
|
2862
|
+
# ],
|
2863
|
+
# })
|
2864
|
+
#
|
2865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource AWS API Documentation
|
2866
|
+
#
|
2867
|
+
# @overload tag_resource(params = {})
|
2868
|
+
# @param [Hash] params ({})
|
2869
|
+
def tag_resource(params = {}, options = {})
|
2870
|
+
req = build_request(:tag_resource, params)
|
2871
|
+
req.send_request(options)
|
2872
|
+
end
|
2873
|
+
|
2874
|
+
# Disassociates a resource from a list of tags. The resource is
|
2875
|
+
# identified by the `ResourceArn` input parameter. The tags are
|
2876
|
+
# identfied by the list of keys in the `TagKeys` input parameter.
|
2877
|
+
#
|
2878
|
+
# @option params [required, String] :resource_arn
|
2879
|
+
# The ARN that specifies from which resource to disassociate the tags
|
2880
|
+
# with the keys in the `TagKeys` input paramter.
|
2881
|
+
#
|
2882
|
+
# @option params [required, Array<String>] :tag_keys
|
2883
|
+
# A list of keys of `Tag` objects. The `Tag` objects identified by the
|
2884
|
+
# keys are disassociated from the resource specified by the
|
2885
|
+
# `ResourceArn` input parameter.
|
2886
|
+
#
|
2887
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2888
|
+
#
|
2889
|
+
# @example Request syntax with placeholder values
|
2890
|
+
#
|
2891
|
+
# resp = client.untag_resource({
|
2892
|
+
# resource_arn: "Arn", # required
|
2893
|
+
# tag_keys: ["Key"], # required
|
2894
|
+
# })
|
2895
|
+
#
|
2896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource AWS API Documentation
|
2897
|
+
#
|
2898
|
+
# @overload untag_resource(params = {})
|
2899
|
+
# @param [Hash] params ({})
|
2900
|
+
def untag_resource(params = {}, options = {})
|
2901
|
+
req = build_request(:untag_resource, params)
|
2902
|
+
req.send_request(options)
|
2903
|
+
end
|
2904
|
+
|
2744
2905
|
# Changes the name of an application.
|
2745
2906
|
#
|
2746
2907
|
# @option params [String] :application_name
|
@@ -2996,7 +3157,7 @@ module Aws::CodeDeploy
|
|
2996
3157
|
params: params,
|
2997
3158
|
config: config)
|
2998
3159
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
2999
|
-
context[:gem_version] = '1.
|
3160
|
+
context[:gem_version] = '1.22.0'
|
3000
3161
|
Seahorse::Client::Request.new(handlers, context)
|
3001
3162
|
end
|
3002
3163
|
|
@@ -29,6 +29,8 @@ module Aws::CodeDeploy
|
|
29
29
|
ApplicationRevisionSortBy = Shapes::StringShape.new(name: 'ApplicationRevisionSortBy')
|
30
30
|
ApplicationsInfoList = Shapes::ListShape.new(name: 'ApplicationsInfoList')
|
31
31
|
ApplicationsList = Shapes::ListShape.new(name: 'ApplicationsList')
|
32
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
33
|
+
ArnNotSupportedException = Shapes::StructureShape.new(name: 'ArnNotSupportedException')
|
32
34
|
AutoRollbackConfiguration = Shapes::StructureShape.new(name: 'AutoRollbackConfiguration')
|
33
35
|
AutoRollbackEvent = Shapes::StringShape.new(name: 'AutoRollbackEvent')
|
34
36
|
AutoRollbackEventsList = Shapes::ListShape.new(name: 'AutoRollbackEventsList')
|
@@ -205,12 +207,14 @@ module Aws::CodeDeploy
|
|
205
207
|
InstancesList = Shapes::ListShape.new(name: 'InstancesList')
|
206
208
|
InvalidAlarmConfigException = Shapes::StructureShape.new(name: 'InvalidAlarmConfigException')
|
207
209
|
InvalidApplicationNameException = Shapes::StructureShape.new(name: 'InvalidApplicationNameException')
|
210
|
+
InvalidArnException = Shapes::StructureShape.new(name: 'InvalidArnException')
|
208
211
|
InvalidAutoRollbackConfigException = Shapes::StructureShape.new(name: 'InvalidAutoRollbackConfigException')
|
209
212
|
InvalidAutoScalingGroupException = Shapes::StructureShape.new(name: 'InvalidAutoScalingGroupException')
|
210
213
|
InvalidBlueGreenDeploymentConfigurationException = Shapes::StructureShape.new(name: 'InvalidBlueGreenDeploymentConfigurationException')
|
211
214
|
InvalidBucketNameFilterException = Shapes::StructureShape.new(name: 'InvalidBucketNameFilterException')
|
212
215
|
InvalidComputePlatformException = Shapes::StructureShape.new(name: 'InvalidComputePlatformException')
|
213
216
|
InvalidDeployedStateFilterException = Shapes::StructureShape.new(name: 'InvalidDeployedStateFilterException')
|
217
|
+
InvalidDeploymentConfigIdException = Shapes::StructureShape.new(name: 'InvalidDeploymentConfigIdException')
|
214
218
|
InvalidDeploymentConfigNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentConfigNameException')
|
215
219
|
InvalidDeploymentGroupNameException = Shapes::StructureShape.new(name: 'InvalidDeploymentGroupNameException')
|
216
220
|
InvalidDeploymentIdException = Shapes::StructureShape.new(name: 'InvalidDeploymentIdException')
|
@@ -248,6 +252,7 @@ module Aws::CodeDeploy
|
|
248
252
|
InvalidSortOrderException = Shapes::StructureShape.new(name: 'InvalidSortOrderException')
|
249
253
|
InvalidTagException = Shapes::StructureShape.new(name: 'InvalidTagException')
|
250
254
|
InvalidTagFilterException = Shapes::StructureShape.new(name: 'InvalidTagFilterException')
|
255
|
+
InvalidTagsToAddException = Shapes::StructureShape.new(name: 'InvalidTagsToAddException')
|
251
256
|
InvalidTargetException = Shapes::StructureShape.new(name: 'InvalidTargetException')
|
252
257
|
InvalidTargetFilterNameException = Shapes::StructureShape.new(name: 'InvalidTargetFilterNameException')
|
253
258
|
InvalidTargetGroupPairException = Shapes::StructureShape.new(name: 'InvalidTargetGroupPairException')
|
@@ -257,6 +262,9 @@ module Aws::CodeDeploy
|
|
257
262
|
InvalidTriggerConfigException = Shapes::StructureShape.new(name: 'InvalidTriggerConfigException')
|
258
263
|
InvalidUpdateOutdatedInstancesOnlyValueException = Shapes::StructureShape.new(name: 'InvalidUpdateOutdatedInstancesOnlyValueException')
|
259
264
|
Key = Shapes::StringShape.new(name: 'Key')
|
265
|
+
LambdaFunctionAlias = Shapes::StringShape.new(name: 'LambdaFunctionAlias')
|
266
|
+
LambdaFunctionInfo = Shapes::StructureShape.new(name: 'LambdaFunctionInfo')
|
267
|
+
LambdaFunctionName = Shapes::StringShape.new(name: 'LambdaFunctionName')
|
260
268
|
LambdaTarget = Shapes::StructureShape.new(name: 'LambdaTarget')
|
261
269
|
LastDeploymentInfo = Shapes::StructureShape.new(name: 'LastDeploymentInfo')
|
262
270
|
LifecycleErrorCode = Shapes::StringShape.new(name: 'LifecycleErrorCode')
|
@@ -287,6 +295,8 @@ module Aws::CodeDeploy
|
|
287
295
|
ListOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'ListOnPremisesInstancesInput')
|
288
296
|
ListOnPremisesInstancesOutput = Shapes::StructureShape.new(name: 'ListOnPremisesInstancesOutput')
|
289
297
|
ListStateFilterAction = Shapes::StringShape.new(name: 'ListStateFilterAction')
|
298
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
299
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
290
300
|
ListenerArn = Shapes::StringShape.new(name: 'ListenerArn')
|
291
301
|
ListenerArnList = Shapes::ListShape.new(name: 'ListenerArnList')
|
292
302
|
LoadBalancerInfo = Shapes::StructureShape.new(name: 'LoadBalancerInfo')
|
@@ -312,6 +322,7 @@ module Aws::CodeDeploy
|
|
312
322
|
RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
|
313
323
|
RemoveTagsFromOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'RemoveTagsFromOnPremisesInstancesInput')
|
314
324
|
Repository = Shapes::StringShape.new(name: 'Repository')
|
325
|
+
ResourceArnRequiredException = Shapes::StructureShape.new(name: 'ResourceArnRequiredException')
|
315
326
|
ResourceValidationException = Shapes::StructureShape.new(name: 'ResourceValidationException')
|
316
327
|
RevisionDoesNotExistException = Shapes::StructureShape.new(name: 'RevisionDoesNotExistException')
|
317
328
|
RevisionInfo = Shapes::StructureShape.new(name: 'RevisionInfo')
|
@@ -336,9 +347,12 @@ module Aws::CodeDeploy
|
|
336
347
|
TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
|
337
348
|
TagFilterList = Shapes::ListShape.new(name: 'TagFilterList')
|
338
349
|
TagFilterType = Shapes::StringShape.new(name: 'TagFilterType')
|
350
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
339
351
|
TagLimitExceededException = Shapes::StructureShape.new(name: 'TagLimitExceededException')
|
340
352
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
341
353
|
TagRequiredException = Shapes::StructureShape.new(name: 'TagRequiredException')
|
354
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
355
|
+
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
342
356
|
TagSetListLimitExceededException = Shapes::StructureShape.new(name: 'TagSetListLimitExceededException')
|
343
357
|
TargetArn = Shapes::StringShape.new(name: 'TargetArn')
|
344
358
|
TargetFilterName = Shapes::StringShape.new(name: 'TargetFilterName')
|
@@ -371,10 +385,13 @@ module Aws::CodeDeploy
|
|
371
385
|
TriggerTargetArn = Shapes::StringShape.new(name: 'TriggerTargetArn')
|
372
386
|
TriggerTargetsLimitExceededException = Shapes::StructureShape.new(name: 'TriggerTargetsLimitExceededException')
|
373
387
|
UnsupportedActionForDeploymentTypeException = Shapes::StructureShape.new(name: 'UnsupportedActionForDeploymentTypeException')
|
388
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
389
|
+
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
374
390
|
UpdateApplicationInput = Shapes::StructureShape.new(name: 'UpdateApplicationInput')
|
375
391
|
UpdateDeploymentGroupInput = Shapes::StructureShape.new(name: 'UpdateDeploymentGroupInput')
|
376
392
|
UpdateDeploymentGroupOutput = Shapes::StructureShape.new(name: 'UpdateDeploymentGroupOutput')
|
377
393
|
Value = Shapes::StringShape.new(name: 'Value')
|
394
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
378
395
|
VersionId = Shapes::StringShape.new(name: 'VersionId')
|
379
396
|
WaitTimeInMins = Shapes::IntegerShape.new(name: 'WaitTimeInMins')
|
380
397
|
|
@@ -487,6 +504,7 @@ module Aws::CodeDeploy
|
|
487
504
|
|
488
505
|
CreateApplicationInput.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "applicationName"))
|
489
506
|
CreateApplicationInput.add_member(:compute_platform, Shapes::ShapeRef.new(shape: ComputePlatform, location_name: "computePlatform"))
|
507
|
+
CreateApplicationInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
490
508
|
CreateApplicationInput.struct_class = Types::CreateApplicationInput
|
491
509
|
|
492
510
|
CreateApplicationOutput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
|
@@ -517,6 +535,7 @@ module Aws::CodeDeploy
|
|
517
535
|
CreateDeploymentGroupInput.add_member(:ec2_tag_set, Shapes::ShapeRef.new(shape: EC2TagSet, location_name: "ec2TagSet"))
|
518
536
|
CreateDeploymentGroupInput.add_member(:ecs_services, Shapes::ShapeRef.new(shape: ECSServiceList, location_name: "ecsServices"))
|
519
537
|
CreateDeploymentGroupInput.add_member(:on_premises_tag_set, Shapes::ShapeRef.new(shape: OnPremisesTagSet, location_name: "onPremisesTagSet"))
|
538
|
+
CreateDeploymentGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
520
539
|
CreateDeploymentGroupInput.struct_class = Types::CreateDeploymentGroupInput
|
521
540
|
|
522
541
|
CreateDeploymentGroupOutput.add_member(:deployment_group_id, Shapes::ShapeRef.new(shape: DeploymentGroupId, location_name: "deploymentGroupId"))
|
@@ -821,12 +840,20 @@ module Aws::CodeDeploy
|
|
821
840
|
|
822
841
|
InstancesList.member = Shapes::ShapeRef.new(shape: InstanceId)
|
823
842
|
|
843
|
+
LambdaFunctionInfo.add_member(:function_name, Shapes::ShapeRef.new(shape: LambdaFunctionName, location_name: "functionName"))
|
844
|
+
LambdaFunctionInfo.add_member(:function_alias, Shapes::ShapeRef.new(shape: LambdaFunctionAlias, location_name: "functionAlias"))
|
845
|
+
LambdaFunctionInfo.add_member(:current_version, Shapes::ShapeRef.new(shape: Version, location_name: "currentVersion"))
|
846
|
+
LambdaFunctionInfo.add_member(:target_version, Shapes::ShapeRef.new(shape: Version, location_name: "targetVersion"))
|
847
|
+
LambdaFunctionInfo.add_member(:target_version_weight, Shapes::ShapeRef.new(shape: TrafficWeight, location_name: "targetVersionWeight"))
|
848
|
+
LambdaFunctionInfo.struct_class = Types::LambdaFunctionInfo
|
849
|
+
|
824
850
|
LambdaTarget.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
|
825
851
|
LambdaTarget.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "targetId"))
|
826
852
|
LambdaTarget.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
|
827
853
|
LambdaTarget.add_member(:status, Shapes::ShapeRef.new(shape: TargetStatus, location_name: "status"))
|
828
854
|
LambdaTarget.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Time, location_name: "lastUpdatedAt"))
|
829
855
|
LambdaTarget.add_member(:lifecycle_events, Shapes::ShapeRef.new(shape: LifecycleEventList, location_name: "lifecycleEvents"))
|
856
|
+
LambdaTarget.add_member(:lambda_function_info, Shapes::ShapeRef.new(shape: LambdaFunctionInfo, location_name: "lambdaFunctionInfo"))
|
830
857
|
LambdaTarget.struct_class = Types::LambdaTarget
|
831
858
|
|
832
859
|
LastDeploymentInfo.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
|
@@ -926,6 +953,14 @@ module Aws::CodeDeploy
|
|
926
953
|
ListOnPremisesInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
927
954
|
ListOnPremisesInstancesOutput.struct_class = Types::ListOnPremisesInstancesOutput
|
928
955
|
|
956
|
+
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
|
957
|
+
ListTagsForResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
958
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
959
|
+
|
960
|
+
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
961
|
+
ListTagsForResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
962
|
+
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
963
|
+
|
929
964
|
ListenerArnList.member = Shapes::ShapeRef.new(shape: ListenerArn)
|
930
965
|
|
931
966
|
LoadBalancerInfo.add_member(:elb_info_list, Shapes::ShapeRef.new(shape: ELBInfoList, location_name: "elbInfoList"))
|
@@ -1017,8 +1052,16 @@ module Aws::CodeDeploy
|
|
1017
1052
|
|
1018
1053
|
TagFilterList.member = Shapes::ShapeRef.new(shape: TagFilter)
|
1019
1054
|
|
1055
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: Key)
|
1056
|
+
|
1020
1057
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1021
1058
|
|
1059
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
|
1060
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
1061
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
1062
|
+
|
1063
|
+
TagResourceOutput.struct_class = Types::TagResourceOutput
|
1064
|
+
|
1022
1065
|
TargetFilters.key = Shapes::ShapeRef.new(shape: TargetFilterName)
|
1023
1066
|
TargetFilters.value = Shapes::ShapeRef.new(shape: FilterValueList)
|
1024
1067
|
|
@@ -1070,6 +1113,12 @@ module Aws::CodeDeploy
|
|
1070
1113
|
|
1071
1114
|
TriggerEventTypeList.member = Shapes::ShapeRef.new(shape: TriggerEventType)
|
1072
1115
|
|
1116
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
|
1117
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
1118
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
1119
|
+
|
1120
|
+
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
1121
|
+
|
1073
1122
|
UpdateApplicationInput.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "applicationName"))
|
1074
1123
|
UpdateApplicationInput.add_member(:new_application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "newApplicationName"))
|
1075
1124
|
UpdateApplicationInput.struct_class = Types::UpdateApplicationInput
|
@@ -1196,6 +1245,7 @@ module Aws::CodeDeploy
|
|
1196
1245
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
|
1197
1246
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentIdRequiredException)
|
1198
1247
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentDoesNotExistException)
|
1248
|
+
o.errors << Shapes::ShapeRef.new(shape: DeploymentNotStartedException)
|
1199
1249
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentTargetIdRequiredException)
|
1200
1250
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentTargetIdException)
|
1201
1251
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentTargetDoesNotExistException)
|
@@ -1251,6 +1301,7 @@ module Aws::CodeDeploy
|
|
1251
1301
|
o.errors << Shapes::ShapeRef.new(shape: ApplicationAlreadyExistsException)
|
1252
1302
|
o.errors << Shapes::ShapeRef.new(shape: ApplicationLimitExceededException)
|
1253
1303
|
o.errors << Shapes::ShapeRef.new(shape: InvalidComputePlatformException)
|
1304
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
|
1254
1305
|
end)
|
1255
1306
|
|
1256
1307
|
api.add_operation(:create_deployment, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1336,6 +1387,7 @@ module Aws::CodeDeploy
|
|
1336
1387
|
o.errors << Shapes::ShapeRef.new(shape: InvalidECSServiceException)
|
1337
1388
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTargetGroupPairException)
|
1338
1389
|
o.errors << Shapes::ShapeRef.new(shape: ECSServiceMappingLimitExceededException)
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
|
1339
1391
|
end)
|
1340
1392
|
|
1341
1393
|
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1346,6 +1398,7 @@ module Aws::CodeDeploy
|
|
1346
1398
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1347
1399
|
o.errors << Shapes::ShapeRef.new(shape: ApplicationNameRequiredException)
|
1348
1400
|
o.errors << Shapes::ShapeRef.new(shape: InvalidApplicationNameException)
|
1401
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
|
1349
1402
|
end)
|
1350
1403
|
|
1351
1404
|
api.add_operation(:delete_deployment_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1484,6 +1537,7 @@ module Aws::CodeDeploy
|
|
1484
1537
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
|
1485
1538
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentIdRequiredException)
|
1486
1539
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentDoesNotExistException)
|
1540
|
+
o.errors << Shapes::ShapeRef.new(shape: DeploymentNotStartedException)
|
1487
1541
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentTargetIdRequiredException)
|
1488
1542
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentTargetIdException)
|
1489
1543
|
o.errors << Shapes::ShapeRef.new(shape: DeploymentTargetDoesNotExistException)
|
@@ -1653,6 +1707,17 @@ module Aws::CodeDeploy
|
|
1653
1707
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1654
1708
|
end)
|
1655
1709
|
|
1710
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1711
|
+
o.name = "ListTagsForResource"
|
1712
|
+
o.http_method = "POST"
|
1713
|
+
o.http_request_uri = "/"
|
1714
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
1715
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
|
1716
|
+
o.errors << Shapes::ShapeRef.new(shape: ArnNotSupportedException)
|
1717
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1718
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceArnRequiredException)
|
1719
|
+
end)
|
1720
|
+
|
1656
1721
|
api.add_operation(:put_lifecycle_event_hook_execution_status, Seahorse::Model::Operation.new.tap do |o|
|
1657
1722
|
o.name = "PutLifecycleEventHookExecutionStatus"
|
1658
1723
|
o.http_method = "POST"
|
@@ -1743,6 +1808,38 @@ module Aws::CodeDeploy
|
|
1743
1808
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDeploymentIdException)
|
1744
1809
|
end)
|
1745
1810
|
|
1811
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1812
|
+
o.name = "TagResource"
|
1813
|
+
o.http_method = "POST"
|
1814
|
+
o.http_request_uri = "/"
|
1815
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
1816
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
|
1817
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceArnRequiredException)
|
1818
|
+
o.errors << Shapes::ShapeRef.new(shape: ApplicationDoesNotExistException)
|
1819
|
+
o.errors << Shapes::ShapeRef.new(shape: DeploymentGroupDoesNotExistException)
|
1820
|
+
o.errors << Shapes::ShapeRef.new(shape: DeploymentConfigDoesNotExistException)
|
1821
|
+
o.errors << Shapes::ShapeRef.new(shape: TagRequiredException)
|
1822
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
|
1823
|
+
o.errors << Shapes::ShapeRef.new(shape: ArnNotSupportedException)
|
1824
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1825
|
+
end)
|
1826
|
+
|
1827
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1828
|
+
o.name = "UntagResource"
|
1829
|
+
o.http_method = "POST"
|
1830
|
+
o.http_request_uri = "/"
|
1831
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
1832
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
1833
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceArnRequiredException)
|
1834
|
+
o.errors << Shapes::ShapeRef.new(shape: ApplicationDoesNotExistException)
|
1835
|
+
o.errors << Shapes::ShapeRef.new(shape: DeploymentGroupDoesNotExistException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: DeploymentConfigDoesNotExistException)
|
1837
|
+
o.errors << Shapes::ShapeRef.new(shape: TagRequiredException)
|
1838
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagsToAddException)
|
1839
|
+
o.errors << Shapes::ShapeRef.new(shape: ArnNotSupportedException)
|
1840
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1841
|
+
end)
|
1842
|
+
|
1746
1843
|
api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
|
1747
1844
|
o.name = "UpdateApplication"
|
1748
1845
|
o.http_method = "POST"
|
@@ -277,8 +277,10 @@ module Aws::CodeDeploy
|
|
277
277
|
# @return [String]
|
278
278
|
#
|
279
279
|
# @!attribute [rw] revisions
|
280
|
-
#
|
281
|
-
# and location.
|
280
|
+
# An array of `RevisionLocation` objects that specify information to
|
281
|
+
# get about the application revisions, including type and location.
|
282
|
+
# The maximum number of `RevisionLocation` objects you can specify is
|
283
|
+
# 25.
|
282
284
|
# @return [Array<Types::RevisionLocation>]
|
283
285
|
#
|
284
286
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput AWS API Documentation
|
@@ -324,7 +326,8 @@ module Aws::CodeDeploy
|
|
324
326
|
# }
|
325
327
|
#
|
326
328
|
# @!attribute [rw] application_names
|
327
|
-
# A list of application names separated by spaces.
|
329
|
+
# A list of application names separated by spaces. The maximum number
|
330
|
+
# of application names you can specify is 25.
|
328
331
|
# @return [Array<String>]
|
329
332
|
#
|
330
333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput AWS API Documentation
|
@@ -408,7 +411,8 @@ module Aws::CodeDeploy
|
|
408
411
|
# @return [String]
|
409
412
|
#
|
410
413
|
# @!attribute [rw] instance_ids
|
411
|
-
# The unique IDs of instances used in the deployment.
|
414
|
+
# The unique IDs of instances used in the deployment. The maximum
|
415
|
+
# number of instance IDs you can specify is 25.
|
412
416
|
# @return [Array<String>]
|
413
417
|
#
|
414
418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput AWS API Documentation
|
@@ -453,6 +457,7 @@ module Aws::CodeDeploy
|
|
453
457
|
# @!attribute [rw] target_ids
|
454
458
|
# The unique IDs of the deployment targets. The compute platform of
|
455
459
|
# the deployment determines the type of the targets and their formats.
|
460
|
+
# The maximum number of deployment target IDs you can specify is 25.
|
456
461
|
#
|
457
462
|
# * For deployments that use the EC2/On-premises compute platform, the
|
458
463
|
# target IDs are EC2 or on-premises instances IDs, and their target
|
@@ -508,7 +513,8 @@ module Aws::CodeDeploy
|
|
508
513
|
# }
|
509
514
|
#
|
510
515
|
# @!attribute [rw] deployment_ids
|
511
|
-
# A list of deployment IDs, separated by spaces.
|
516
|
+
# A list of deployment IDs, separated by spaces. The maximum number of
|
517
|
+
# deployment IDs you can specify is 25.
|
512
518
|
# @return [Array<String>]
|
513
519
|
#
|
514
520
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput AWS API Documentation
|
@@ -542,7 +548,8 @@ module Aws::CodeDeploy
|
|
542
548
|
#
|
543
549
|
# @!attribute [rw] instance_names
|
544
550
|
# The names of the on-premises instances about which to get
|
545
|
-
# information.
|
551
|
+
# information. The maximum number of instance names you can specify is
|
552
|
+
# 25.
|
546
553
|
# @return [Array<String>]
|
547
554
|
#
|
548
555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput AWS API Documentation
|
@@ -681,6 +688,12 @@ module Aws::CodeDeploy
|
|
681
688
|
# {
|
682
689
|
# application_name: "ApplicationName", # required
|
683
690
|
# compute_platform: "Server", # accepts Server, Lambda, ECS
|
691
|
+
# tags: [
|
692
|
+
# {
|
693
|
+
# key: "Key",
|
694
|
+
# value: "Value",
|
695
|
+
# },
|
696
|
+
# ],
|
684
697
|
# }
|
685
698
|
#
|
686
699
|
# @!attribute [rw] application_name
|
@@ -689,15 +702,22 @@ module Aws::CodeDeploy
|
|
689
702
|
# @return [String]
|
690
703
|
#
|
691
704
|
# @!attribute [rw] compute_platform
|
692
|
-
# The destination platform type for the deployment (`Lambda
|
693
|
-
# `Server`).
|
705
|
+
# The destination platform type for the deployment (`Lambda`,
|
706
|
+
# `Server`, or `ECS`).
|
694
707
|
# @return [String]
|
695
708
|
#
|
709
|
+
# @!attribute [rw] tags
|
710
|
+
# The metadata that you apply to CodeDeploy applications to help you
|
711
|
+
# organize and categorize them. Each tag consists of a key and an
|
712
|
+
# optional value, both of which you define.
|
713
|
+
# @return [Array<Types::Tag>]
|
714
|
+
#
|
696
715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationInput AWS API Documentation
|
697
716
|
#
|
698
717
|
class CreateApplicationInput < Struct.new(
|
699
718
|
:application_name,
|
700
|
-
:compute_platform
|
719
|
+
:compute_platform,
|
720
|
+
:tags)
|
701
721
|
include Aws::Structure
|
702
722
|
end
|
703
723
|
|
@@ -772,8 +792,8 @@ module Aws::CodeDeploy
|
|
772
792
|
# @return [Types::TrafficRoutingConfig]
|
773
793
|
#
|
774
794
|
# @!attribute [rw] compute_platform
|
775
|
-
# The destination platform type for the deployment (`Lambda
|
776
|
-
# `Server
|
795
|
+
# The destination platform type for the deployment (`Lambda`,
|
796
|
+
# `Server`, or `ECS`).
|
777
797
|
# @return [String]
|
778
798
|
#
|
779
799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput AWS API Documentation
|
@@ -916,6 +936,12 @@ module Aws::CodeDeploy
|
|
916
936
|
# ],
|
917
937
|
# ],
|
918
938
|
# },
|
939
|
+
# tags: [
|
940
|
+
# {
|
941
|
+
# key: "Key",
|
942
|
+
# value: "Value",
|
943
|
+
# },
|
944
|
+
# ],
|
919
945
|
# }
|
920
946
|
#
|
921
947
|
# @!attribute [rw] application_name
|
@@ -1023,6 +1049,12 @@ module Aws::CodeDeploy
|
|
1023
1049
|
# onPremisesInstanceTagFilters.
|
1024
1050
|
# @return [Types::OnPremisesTagSet]
|
1025
1051
|
#
|
1052
|
+
# @!attribute [rw] tags
|
1053
|
+
# The metadata that you apply to CodeDeploy deployment groups to help
|
1054
|
+
# you organize and categorize them. Each tag consists of a key and an
|
1055
|
+
# optional value, both of which you define.
|
1056
|
+
# @return [Array<Types::Tag>]
|
1057
|
+
#
|
1026
1058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput AWS API Documentation
|
1027
1059
|
#
|
1028
1060
|
class CreateDeploymentGroupInput < Struct.new(
|
@@ -1041,7 +1073,8 @@ module Aws::CodeDeploy
|
|
1041
1073
|
:load_balancer_info,
|
1042
1074
|
:ec2_tag_set,
|
1043
1075
|
:ecs_services,
|
1044
|
-
:on_premises_tag_set
|
1076
|
+
:on_premises_tag_set,
|
1077
|
+
:tags)
|
1045
1078
|
include Aws::Structure
|
1046
1079
|
end
|
1047
1080
|
|
@@ -1379,8 +1412,8 @@ module Aws::CodeDeploy
|
|
1379
1412
|
# @return [Time]
|
1380
1413
|
#
|
1381
1414
|
# @!attribute [rw] compute_platform
|
1382
|
-
# The destination platform type for the deployment (`Lambda
|
1383
|
-
# `Server`).
|
1415
|
+
# The destination platform type for the deployment (`Lambda`,
|
1416
|
+
# `Server`, or `ECS`).
|
1384
1417
|
# @return [String]
|
1385
1418
|
#
|
1386
1419
|
# @!attribute [rw] traffic_routing_config
|
@@ -1434,7 +1467,14 @@ module Aws::CodeDeploy
|
|
1434
1467
|
# @return [Array<Types::AutoScalingGroup>]
|
1435
1468
|
#
|
1436
1469
|
# @!attribute [rw] service_role_arn
|
1437
|
-
# A service role ARN
|
1470
|
+
# A service role Amazon Resource Name (ARN) that grants CodeDeploy
|
1471
|
+
# permission to make calls to AWS services on your behalf. For more
|
1472
|
+
# information, see [Create a Service Role for AWS CodeDeploy][1] in
|
1473
|
+
# the *AWS CodeDeploy User Guide*.
|
1474
|
+
#
|
1475
|
+
#
|
1476
|
+
#
|
1477
|
+
# [1]: https://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started-create-service-role.html
|
1438
1478
|
# @return [String]
|
1439
1479
|
#
|
1440
1480
|
# @!attribute [rw] target_revision
|
@@ -1494,8 +1534,8 @@ module Aws::CodeDeploy
|
|
1494
1534
|
# @return [Types::OnPremisesTagSet]
|
1495
1535
|
#
|
1496
1536
|
# @!attribute [rw] compute_platform
|
1497
|
-
# The destination platform type for the deployment
|
1498
|
-
# `Server`).
|
1537
|
+
# The destination platform type for the deployment (`Lambda`,
|
1538
|
+
# `Server`, or `ECS`).
|
1499
1539
|
# @return [String]
|
1500
1540
|
#
|
1501
1541
|
# @!attribute [rw] ecs_services
|
@@ -1607,13 +1647,13 @@ module Aws::CodeDeploy
|
|
1607
1647
|
# @return [String]
|
1608
1648
|
#
|
1609
1649
|
# @!attribute [rw] ignore_application_stop_failures
|
1610
|
-
# If true, then if an ApplicationStop
|
1611
|
-
# AfterBlockTraffic deployment lifecycle event to an instance fails,
|
1650
|
+
# If true, then if an `ApplicationStop`, `BeforeBlockTraffic`, or
|
1651
|
+
# `AfterBlockTraffic` deployment lifecycle event to an instance fails,
|
1612
1652
|
# then the deployment continues to the next deployment lifecycle
|
1613
|
-
# event. For example, if ApplicationStop fails, the deployment
|
1614
|
-
# continues with DownloadBundle. If BeforeBlockTraffic fails, the
|
1615
|
-
# deployment continues with BlockTraffic
|
1616
|
-
# the deployment continues with ApplicationStop
|
1653
|
+
# event. For example, if `ApplicationStop` fails, the deployment
|
1654
|
+
# continues with DownloadBundle. If `BeforeBlockTraffic` fails, the
|
1655
|
+
# deployment continues with `BlockTraffic`. If `AfterBlockTraffic`
|
1656
|
+
# fails, the deployment continues with `ApplicationStop`.
|
1617
1657
|
#
|
1618
1658
|
# If false or not specified, then if a lifecycle event fails during a
|
1619
1659
|
# deployment to an instance, that deployment fails. If deployment to
|
@@ -1622,8 +1662,8 @@ module Aws::CodeDeploy
|
|
1622
1662
|
# then a deployment to the next instance is attempted.
|
1623
1663
|
#
|
1624
1664
|
# During a deployment, the AWS CodeDeploy agent runs the scripts
|
1625
|
-
# specified for ApplicationStop
|
1626
|
-
# AfterBlockTraffic in the AppSpec file from the previous successful
|
1665
|
+
# specified for `ApplicationStop`, `BeforeBlockTraffic`, and
|
1666
|
+
# `AfterBlockTraffic` in the AppSpec file from the previous successful
|
1627
1667
|
# deployment. (All other scripts are run from the AppSpec file in the
|
1628
1668
|
# current deployment.) If one of these scripts contains an error and
|
1629
1669
|
# does not run successfully, the deployment can fail.
|
@@ -1631,8 +1671,8 @@ module Aws::CodeDeploy
|
|
1631
1671
|
# If the cause of the failure is a script from the last successful
|
1632
1672
|
# deployment that will never run successfully, create a new deployment
|
1633
1673
|
# and use `ignoreApplicationStopFailures` to specify that the
|
1634
|
-
# ApplicationStop
|
1635
|
-
# should be ignored.
|
1674
|
+
# `ApplicationStop`, `BeforeBlockTraffic`, and `AfterBlockTraffic`
|
1675
|
+
# failures should be ignored.
|
1636
1676
|
# @return [Boolean]
|
1637
1677
|
#
|
1638
1678
|
# @!attribute [rw] auto_rollback_configuration
|
@@ -1702,8 +1742,8 @@ module Aws::CodeDeploy
|
|
1702
1742
|
# @return [Array<String>]
|
1703
1743
|
#
|
1704
1744
|
# @!attribute [rw] compute_platform
|
1705
|
-
# The destination platform type for the deployment (`Lambda
|
1706
|
-
# `Server`).
|
1745
|
+
# The destination platform type for the deployment (`Lambda`,
|
1746
|
+
# `Server`, or `ECS`).
|
1707
1747
|
# @return [String]
|
1708
1748
|
#
|
1709
1749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo AWS API Documentation
|
@@ -2824,6 +2864,46 @@ module Aws::CodeDeploy
|
|
2824
2864
|
include Aws::Structure
|
2825
2865
|
end
|
2826
2866
|
|
2867
|
+
# Information about a Lambda function specified in a deployment.
|
2868
|
+
#
|
2869
|
+
# @!attribute [rw] function_name
|
2870
|
+
# The name of a Lambda function.
|
2871
|
+
# @return [String]
|
2872
|
+
#
|
2873
|
+
# @!attribute [rw] function_alias
|
2874
|
+
# The alias of a Lambda function. For more information, see
|
2875
|
+
# [Introduction to AWS Lambda Aliases][1].
|
2876
|
+
#
|
2877
|
+
#
|
2878
|
+
#
|
2879
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html
|
2880
|
+
# @return [String]
|
2881
|
+
#
|
2882
|
+
# @!attribute [rw] current_version
|
2883
|
+
# The version of a Lambda function that production traffic points to.
|
2884
|
+
# @return [String]
|
2885
|
+
#
|
2886
|
+
# @!attribute [rw] target_version
|
2887
|
+
# The version of a Lambda function that production traffic points to
|
2888
|
+
# after the Lambda function is deployed.
|
2889
|
+
# @return [String]
|
2890
|
+
#
|
2891
|
+
# @!attribute [rw] target_version_weight
|
2892
|
+
# The percentage of production traffic that the target version of a
|
2893
|
+
# Lambda function receives.
|
2894
|
+
# @return [Float]
|
2895
|
+
#
|
2896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LambdaFunctionInfo AWS API Documentation
|
2897
|
+
#
|
2898
|
+
class LambdaFunctionInfo < Struct.new(
|
2899
|
+
:function_name,
|
2900
|
+
:function_alias,
|
2901
|
+
:current_version,
|
2902
|
+
:target_version,
|
2903
|
+
:target_version_weight)
|
2904
|
+
include Aws::Structure
|
2905
|
+
end
|
2906
|
+
|
2827
2907
|
# Information about the target AWS Lambda function during an AWS Lambda
|
2828
2908
|
# deployment.
|
2829
2909
|
#
|
@@ -2854,6 +2934,11 @@ module Aws::CodeDeploy
|
|
2854
2934
|
# function.
|
2855
2935
|
# @return [Array<Types::LifecycleEvent>]
|
2856
2936
|
#
|
2937
|
+
# @!attribute [rw] lambda_function_info
|
2938
|
+
# A `LambdaFunctionInfo` object that describes a target Lambda
|
2939
|
+
# function.
|
2940
|
+
# @return [Types::LambdaFunctionInfo]
|
2941
|
+
#
|
2857
2942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LambdaTarget AWS API Documentation
|
2858
2943
|
#
|
2859
2944
|
class LambdaTarget < Struct.new(
|
@@ -2862,7 +2947,8 @@ module Aws::CodeDeploy
|
|
2862
2947
|
:target_arn,
|
2863
2948
|
:status,
|
2864
2949
|
:last_updated_at,
|
2865
|
-
:lifecycle_events
|
2950
|
+
:lifecycle_events,
|
2951
|
+
:lambda_function_info)
|
2866
2952
|
include Aws::Structure
|
2867
2953
|
end
|
2868
2954
|
|
@@ -3344,10 +3430,22 @@ module Aws::CodeDeploy
|
|
3344
3430
|
# @!attribute [rw] application_name
|
3345
3431
|
# The name of an AWS CodeDeploy application associated with the IAM
|
3346
3432
|
# user or AWS account.
|
3433
|
+
#
|
3434
|
+
# <note markdown="1"> If `applicationName` is specified, then `deploymentGroupName` must
|
3435
|
+
# be specified. If it is not specified, then `deploymentGroupName`
|
3436
|
+
# must not be specified.
|
3437
|
+
#
|
3438
|
+
# </note>
|
3347
3439
|
# @return [String]
|
3348
3440
|
#
|
3349
3441
|
# @!attribute [rw] deployment_group_name
|
3350
3442
|
# The name of a deployment group for the specified application.
|
3443
|
+
#
|
3444
|
+
# <note markdown="1"> If `deploymentGroupName` is specified, then `applicationName` must
|
3445
|
+
# be specified. If it is not specified, then `applicationName` must
|
3446
|
+
# not be specified.
|
3447
|
+
#
|
3448
|
+
# </note>
|
3351
3449
|
# @return [String]
|
3352
3450
|
#
|
3353
3451
|
# @!attribute [rw] include_only_statuses
|
@@ -3516,6 +3614,53 @@ module Aws::CodeDeploy
|
|
3516
3614
|
include Aws::Structure
|
3517
3615
|
end
|
3518
3616
|
|
3617
|
+
# @note When making an API call, you may pass ListTagsForResourceInput
|
3618
|
+
# data as a hash:
|
3619
|
+
#
|
3620
|
+
# {
|
3621
|
+
# resource_arn: "Arn", # required
|
3622
|
+
# next_token: "NextToken",
|
3623
|
+
# }
|
3624
|
+
#
|
3625
|
+
# @!attribute [rw] resource_arn
|
3626
|
+
# The ARN of a CodeDeploy resource. `ListTagsForResource` returns all
|
3627
|
+
# the tags associated with the resource that is identified by the
|
3628
|
+
# `ResourceArn`.
|
3629
|
+
# @return [String]
|
3630
|
+
#
|
3631
|
+
# @!attribute [rw] next_token
|
3632
|
+
# An identifier returned from the previous `ListTagsForResource` call.
|
3633
|
+
# It can be used to return the next set of applications in the list.
|
3634
|
+
# @return [String]
|
3635
|
+
#
|
3636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResourceInput AWS API Documentation
|
3637
|
+
#
|
3638
|
+
class ListTagsForResourceInput < Struct.new(
|
3639
|
+
:resource_arn,
|
3640
|
+
:next_token)
|
3641
|
+
include Aws::Structure
|
3642
|
+
end
|
3643
|
+
|
3644
|
+
# @!attribute [rw] tags
|
3645
|
+
# A list of tags returned by `ListTagsForResource`. The tags are
|
3646
|
+
# associated with the resource identified by the input `ResourceArn`
|
3647
|
+
# parameter.
|
3648
|
+
# @return [Array<Types::Tag>]
|
3649
|
+
#
|
3650
|
+
# @!attribute [rw] next_token
|
3651
|
+
# If a large amount of information is returned, an identifier is also
|
3652
|
+
# returned. It can be used in a subsequent list application revisions
|
3653
|
+
# call to return the next set of application revisions in the list.
|
3654
|
+
# @return [String]
|
3655
|
+
#
|
3656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResourceOutput AWS API Documentation
|
3657
|
+
#
|
3658
|
+
class ListTagsForResourceOutput < Struct.new(
|
3659
|
+
:tags,
|
3660
|
+
:next_token)
|
3661
|
+
include Aws::Structure
|
3662
|
+
end
|
3663
|
+
|
3519
3664
|
# Information about the Elastic Load Balancing load balancer or target
|
3520
3665
|
# group used in a deployment.
|
3521
3666
|
#
|
@@ -3615,17 +3760,16 @@ module Aws::CodeDeploy
|
|
3615
3760
|
# is successful if four or more instance are deployed to successfully.
|
3616
3761
|
# Otherwise, the deployment fails.
|
3617
3762
|
#
|
3618
|
-
# <note markdown="1"> In a call to the
|
3619
|
-
#
|
3620
|
-
#
|
3621
|
-
#
|
3622
|
-
#
|
3623
|
-
#
|
3624
|
-
#
|
3625
|
-
#
|
3626
|
-
#
|
3627
|
-
#
|
3628
|
-
# still successful.
|
3763
|
+
# <note markdown="1"> In a call to the `GetDeploymentConfig`, CodeDeployDefault.OneAtATime
|
3764
|
+
# returns a minimum healthy instance type of MOST\_CONCURRENCY and a
|
3765
|
+
# value of 1. This means a deployment to only one instance at a time.
|
3766
|
+
# (You cannot set the type to MOST\_CONCURRENCY, only to HOST\_COUNT
|
3767
|
+
# or FLEET\_PERCENT.) In addition, with CodeDeployDefault.OneAtATime,
|
3768
|
+
# AWS CodeDeploy attempts to ensure that all instances but one are
|
3769
|
+
# kept in a healthy state during the deployment. Although this allows
|
3770
|
+
# one instance at a time to be taken offline for a new deployment, it
|
3771
|
+
# also means that if the deployment to the last instance fails, the
|
3772
|
+
# overall deployment is still successful.
|
3629
3773
|
#
|
3630
3774
|
# </note>
|
3631
3775
|
#
|
@@ -4181,6 +4325,41 @@ module Aws::CodeDeploy
|
|
4181
4325
|
include Aws::Structure
|
4182
4326
|
end
|
4183
4327
|
|
4328
|
+
# @note When making an API call, you may pass TagResourceInput
|
4329
|
+
# data as a hash:
|
4330
|
+
#
|
4331
|
+
# {
|
4332
|
+
# resource_arn: "Arn", # required
|
4333
|
+
# tags: [ # required
|
4334
|
+
# {
|
4335
|
+
# key: "Key",
|
4336
|
+
# value: "Value",
|
4337
|
+
# },
|
4338
|
+
# ],
|
4339
|
+
# }
|
4340
|
+
#
|
4341
|
+
# @!attribute [rw] resource_arn
|
4342
|
+
# The ARN of a resource, such as a CodeDeploy application or
|
4343
|
+
# deployment group.
|
4344
|
+
# @return [String]
|
4345
|
+
#
|
4346
|
+
# @!attribute [rw] tags
|
4347
|
+
# A list of tags that `TagResource` associates with a resource. The
|
4348
|
+
# resource is identified by the `ResourceArn` input parameter.
|
4349
|
+
# @return [Array<Types::Tag>]
|
4350
|
+
#
|
4351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResourceInput AWS API Documentation
|
4352
|
+
#
|
4353
|
+
class TagResourceInput < Struct.new(
|
4354
|
+
:resource_arn,
|
4355
|
+
:tags)
|
4356
|
+
include Aws::Structure
|
4357
|
+
end
|
4358
|
+
|
4359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResourceOutput AWS API Documentation
|
4360
|
+
#
|
4361
|
+
class TagResourceOutput < Aws::EmptyStructure; end
|
4362
|
+
|
4184
4363
|
# Information about a target group in Elastic Load Balancing to use in a
|
4185
4364
|
# deployment. Instances are registered as targets in a target group, and
|
4186
4365
|
# traffic is routed to the target group.
|
@@ -4510,6 +4689,37 @@ module Aws::CodeDeploy
|
|
4510
4689
|
include Aws::Structure
|
4511
4690
|
end
|
4512
4691
|
|
4692
|
+
# @note When making an API call, you may pass UntagResourceInput
|
4693
|
+
# data as a hash:
|
4694
|
+
#
|
4695
|
+
# {
|
4696
|
+
# resource_arn: "Arn", # required
|
4697
|
+
# tag_keys: ["Key"], # required
|
4698
|
+
# }
|
4699
|
+
#
|
4700
|
+
# @!attribute [rw] resource_arn
|
4701
|
+
# The ARN that specifies from which resource to disassociate the tags
|
4702
|
+
# with the keys in the `TagKeys` input paramter.
|
4703
|
+
# @return [String]
|
4704
|
+
#
|
4705
|
+
# @!attribute [rw] tag_keys
|
4706
|
+
# A list of keys of `Tag` objects. The `Tag` objects identified by the
|
4707
|
+
# keys are disassociated from the resource specified by the
|
4708
|
+
# `ResourceArn` input parameter.
|
4709
|
+
# @return [Array<String>]
|
4710
|
+
#
|
4711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResourceInput AWS API Documentation
|
4712
|
+
#
|
4713
|
+
class UntagResourceInput < Struct.new(
|
4714
|
+
:resource_arn,
|
4715
|
+
:tag_keys)
|
4716
|
+
include Aws::Structure
|
4717
|
+
end
|
4718
|
+
|
4719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResourceOutput AWS API Documentation
|
4720
|
+
#
|
4721
|
+
class UntagResourceOutput < Aws::EmptyStructure; end
|
4722
|
+
|
4513
4723
|
# Represents the input of an UpdateApplication operation.
|
4514
4724
|
#
|
4515
4725
|
# @note When making an API call, you may pass UpdateApplicationInput
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codedeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|