aws-sdk-codedeploy 1.0.0.rc12 → 1.0.0.rc13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +21 -3
- data/lib/aws-sdk-codedeploy/client_api.rb +10 -1
- data/lib/aws-sdk-codedeploy/types.rb +60 -7
- 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: 607237e352fbaddabc9c0488834a8f57959c7908
|
4
|
+
data.tar.gz: 93b9c22f0e52bf7e7d4d7da1c6fc59aea7052b7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fd2ce2abfcbddc7af87cb4bfa316400e863aa0af682561a249ca04e1ad476a5fa42269cf6629449d9a1bdebb7d8cbd62d6c6f74ee70ff01b5414309e8637a54
|
7
|
+
data.tar.gz: 3431e997556e09f303d698ca553d4525ade2f8c158a03ea0a207b5032940330f4918923b8bcaf8dd7424b0f8607f583868624404135e909ede1c33ea8d9eadb4
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -358,6 +358,8 @@ module Aws::CodeDeploy
|
|
358
358
|
# resp.deployment_groups_info[0].blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
359
359
|
# resp.deployment_groups_info[0].load_balancer_info.elb_info_list #=> Array
|
360
360
|
# resp.deployment_groups_info[0].load_balancer_info.elb_info_list[0].name #=> String
|
361
|
+
# resp.deployment_groups_info[0].load_balancer_info.target_group_info_list #=> Array
|
362
|
+
# resp.deployment_groups_info[0].load_balancer_info.target_group_info_list[0].name #=> String
|
361
363
|
# resp.deployment_groups_info[0].last_successful_deployment.deployment_id #=> String
|
362
364
|
# resp.deployment_groups_info[0].last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
363
365
|
# resp.deployment_groups_info[0].last_successful_deployment.end_time #=> Time
|
@@ -517,6 +519,8 @@ module Aws::CodeDeploy
|
|
517
519
|
# resp.deployments_info[0].blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
518
520
|
# resp.deployments_info[0].load_balancer_info.elb_info_list #=> Array
|
519
521
|
# resp.deployments_info[0].load_balancer_info.elb_info_list[0].name #=> String
|
522
|
+
# resp.deployments_info[0].load_balancer_info.target_group_info_list #=> Array
|
523
|
+
# resp.deployments_info[0].load_balancer_info.target_group_info_list[0].name #=> String
|
520
524
|
# resp.deployments_info[0].additional_deployment_status_info #=> String
|
521
525
|
# resp.deployments_info[0].file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
|
522
526
|
#
|
@@ -761,7 +765,7 @@ module Aws::CodeDeploy
|
|
761
765
|
# @option params [required, String] :deployment_config_name
|
762
766
|
# The name of the deployment configuration to create.
|
763
767
|
#
|
764
|
-
# @option params [Types::MinimumHealthyHosts] :minimum_healthy_hosts
|
768
|
+
# @option params [required, Types::MinimumHealthyHosts] :minimum_healthy_hosts
|
765
769
|
# The minimum number of healthy instances that should be available at
|
766
770
|
# any time during the deployment. There are two parameters expected in
|
767
771
|
# the input: type and value.
|
@@ -790,7 +794,7 @@ module Aws::CodeDeploy
|
|
790
794
|
#
|
791
795
|
# resp = client.create_deployment_config({
|
792
796
|
# deployment_config_name: "DeploymentConfigName", # required
|
793
|
-
# minimum_healthy_hosts: {
|
797
|
+
# minimum_healthy_hosts: { # required
|
794
798
|
# value: 1,
|
795
799
|
# type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
|
796
800
|
# },
|
@@ -963,6 +967,11 @@ module Aws::CodeDeploy
|
|
963
967
|
# name: "ELBName",
|
964
968
|
# },
|
965
969
|
# ],
|
970
|
+
# target_group_info_list: [
|
971
|
+
# {
|
972
|
+
# name: "TargetGroupName",
|
973
|
+
# },
|
974
|
+
# ],
|
966
975
|
# },
|
967
976
|
# ec2_tag_set: {
|
968
977
|
# ec2_tag_set_list: [
|
@@ -1286,6 +1295,8 @@ module Aws::CodeDeploy
|
|
1286
1295
|
# resp.deployment_info.blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
1287
1296
|
# resp.deployment_info.load_balancer_info.elb_info_list #=> Array
|
1288
1297
|
# resp.deployment_info.load_balancer_info.elb_info_list[0].name #=> String
|
1298
|
+
# resp.deployment_info.load_balancer_info.target_group_info_list #=> Array
|
1299
|
+
# resp.deployment_info.load_balancer_info.target_group_info_list[0].name #=> String
|
1289
1300
|
# resp.deployment_info.additional_deployment_status_info #=> String
|
1290
1301
|
# resp.deployment_info.file_exists_behavior #=> String, one of "DISALLOW", "OVERWRITE", "RETAIN"
|
1291
1302
|
#
|
@@ -1399,6 +1410,8 @@ module Aws::CodeDeploy
|
|
1399
1410
|
# resp.deployment_group_info.blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
|
1400
1411
|
# resp.deployment_group_info.load_balancer_info.elb_info_list #=> Array
|
1401
1412
|
# resp.deployment_group_info.load_balancer_info.elb_info_list[0].name #=> String
|
1413
|
+
# resp.deployment_group_info.load_balancer_info.target_group_info_list #=> Array
|
1414
|
+
# resp.deployment_group_info.load_balancer_info.target_group_info_list[0].name #=> String
|
1402
1415
|
# resp.deployment_group_info.last_successful_deployment.deployment_id #=> String
|
1403
1416
|
# resp.deployment_group_info.last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
|
1404
1417
|
# resp.deployment_group_info.last_successful_deployment.end_time #=> Time
|
@@ -2276,6 +2289,11 @@ module Aws::CodeDeploy
|
|
2276
2289
|
# name: "ELBName",
|
2277
2290
|
# },
|
2278
2291
|
# ],
|
2292
|
+
# target_group_info_list: [
|
2293
|
+
# {
|
2294
|
+
# name: "TargetGroupName",
|
2295
|
+
# },
|
2296
|
+
# ],
|
2279
2297
|
# },
|
2280
2298
|
# ec2_tag_set: {
|
2281
2299
|
# ec2_tag_set_list: [
|
@@ -2329,7 +2347,7 @@ module Aws::CodeDeploy
|
|
2329
2347
|
params: params,
|
2330
2348
|
config: config)
|
2331
2349
|
context[:gem_name] = 'aws-sdk-codedeploy'
|
2332
|
-
context[:gem_version] = '1.0.0.
|
2350
|
+
context[:gem_version] = '1.0.0.rc13'
|
2333
2351
|
Seahorse::Client::Request.new(handlers, context)
|
2334
2352
|
end
|
2335
2353
|
|
@@ -278,6 +278,9 @@ module Aws::CodeDeploy
|
|
278
278
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
279
279
|
TagRequiredException = Shapes::StructureShape.new(name: 'TagRequiredException')
|
280
280
|
TagSetListLimitExceededException = Shapes::StructureShape.new(name: 'TagSetListLimitExceededException')
|
281
|
+
TargetGroupInfo = Shapes::StructureShape.new(name: 'TargetGroupInfo')
|
282
|
+
TargetGroupInfoList = Shapes::ListShape.new(name: 'TargetGroupInfoList')
|
283
|
+
TargetGroupName = Shapes::StringShape.new(name: 'TargetGroupName')
|
281
284
|
TargetInstances = Shapes::StructureShape.new(name: 'TargetInstances')
|
282
285
|
TimeRange = Shapes::StructureShape.new(name: 'TimeRange')
|
283
286
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -396,7 +399,7 @@ module Aws::CodeDeploy
|
|
396
399
|
CreateApplicationOutput.struct_class = Types::CreateApplicationOutput
|
397
400
|
|
398
401
|
CreateDeploymentConfigInput.add_member(:deployment_config_name, Shapes::ShapeRef.new(shape: DeploymentConfigName, required: true, location_name: "deploymentConfigName"))
|
399
|
-
CreateDeploymentConfigInput.add_member(:minimum_healthy_hosts, Shapes::ShapeRef.new(shape: MinimumHealthyHosts, location_name: "minimumHealthyHosts"))
|
402
|
+
CreateDeploymentConfigInput.add_member(:minimum_healthy_hosts, Shapes::ShapeRef.new(shape: MinimumHealthyHosts, required: true, location_name: "minimumHealthyHosts"))
|
400
403
|
CreateDeploymentConfigInput.struct_class = Types::CreateDeploymentConfigInput
|
401
404
|
|
402
405
|
CreateDeploymentConfigOutput.add_member(:deployment_config_id, Shapes::ShapeRef.new(shape: DeploymentConfigId, location_name: "deploymentConfigId"))
|
@@ -743,6 +746,7 @@ module Aws::CodeDeploy
|
|
743
746
|
ListOnPremisesInstancesOutput.struct_class = Types::ListOnPremisesInstancesOutput
|
744
747
|
|
745
748
|
LoadBalancerInfo.add_member(:elb_info_list, Shapes::ShapeRef.new(shape: ELBInfoList, location_name: "elbInfoList"))
|
749
|
+
LoadBalancerInfo.add_member(:target_group_info_list, Shapes::ShapeRef.new(shape: TargetGroupInfoList, location_name: "targetGroupInfoList"))
|
746
750
|
LoadBalancerInfo.struct_class = Types::LoadBalancerInfo
|
747
751
|
|
748
752
|
MinimumHealthyHosts.add_member(:value, Shapes::ShapeRef.new(shape: MinimumHealthyHostsValue, location_name: "value"))
|
@@ -817,6 +821,11 @@ module Aws::CodeDeploy
|
|
817
821
|
|
818
822
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
819
823
|
|
824
|
+
TargetGroupInfo.add_member(:name, Shapes::ShapeRef.new(shape: TargetGroupName, location_name: "name"))
|
825
|
+
TargetGroupInfo.struct_class = Types::TargetGroupInfo
|
826
|
+
|
827
|
+
TargetGroupInfoList.member = Shapes::ShapeRef.new(shape: TargetGroupInfo)
|
828
|
+
|
820
829
|
TargetInstances.add_member(:tag_filters, Shapes::ShapeRef.new(shape: EC2TagFilterList, location_name: "tagFilters"))
|
821
830
|
TargetInstances.add_member(:auto_scaling_groups, Shapes::ShapeRef.new(shape: AutoScalingGroupNameList, location_name: "autoScalingGroups"))
|
822
831
|
TargetInstances.add_member(:ec2_tag_set, Shapes::ShapeRef.new(shape: EC2TagSet, location_name: "ec2TagSet"))
|
@@ -586,7 +586,7 @@ module Aws::CodeDeploy
|
|
586
586
|
#
|
587
587
|
# {
|
588
588
|
# deployment_config_name: "DeploymentConfigName", # required
|
589
|
-
# minimum_healthy_hosts: {
|
589
|
+
# minimum_healthy_hosts: { # required
|
590
590
|
# value: 1,
|
591
591
|
# type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
|
592
592
|
# },
|
@@ -708,6 +708,11 @@ module Aws::CodeDeploy
|
|
708
708
|
# name: "ELBName",
|
709
709
|
# },
|
710
710
|
# ],
|
711
|
+
# target_group_info_list: [
|
712
|
+
# {
|
713
|
+
# name: "TargetGroupName",
|
714
|
+
# },
|
715
|
+
# ],
|
711
716
|
# },
|
712
717
|
# ec2_tag_set: {
|
713
718
|
# ec2_tag_set_list: [
|
@@ -1681,7 +1686,8 @@ module Aws::CodeDeploy
|
|
1681
1686
|
end
|
1682
1687
|
|
1683
1688
|
# Information about a load balancer in Elastic Load Balancing to use in
|
1684
|
-
# a deployment.
|
1689
|
+
# a deployment. Instances are registered directly with a load balancer,
|
1690
|
+
# and traffic is routed to the load balancer.
|
1685
1691
|
#
|
1686
1692
|
# @note When making an API call, you may pass ELBInfo
|
1687
1693
|
# data as a hash:
|
@@ -1694,7 +1700,7 @@ module Aws::CodeDeploy
|
|
1694
1700
|
# For blue/green deployments, the name of the load balancer that will
|
1695
1701
|
# be used to route traffic from original instances to replacement
|
1696
1702
|
# instances in a blue/green deployment. For in-place deployments, the
|
1697
|
-
# name of the load balancer that instances are deregistered from so
|
1703
|
+
# name of the load balancer that instances are deregistered from, so
|
1698
1704
|
# they are not serving traffic during a deployment, and then
|
1699
1705
|
# re-registered with after the deployment completes.
|
1700
1706
|
# @return [String]
|
@@ -2841,7 +2847,8 @@ module Aws::CodeDeploy
|
|
2841
2847
|
include Aws::Structure
|
2842
2848
|
end
|
2843
2849
|
|
2844
|
-
# Information about the load balancer
|
2850
|
+
# Information about the Elastic Load Balancing load balancer or target
|
2851
|
+
# group used in a deployment.
|
2845
2852
|
#
|
2846
2853
|
# @note When making an API call, you may pass LoadBalancerInfo
|
2847
2854
|
# data as a hash:
|
@@ -2852,17 +2859,30 @@ module Aws::CodeDeploy
|
|
2852
2859
|
# name: "ELBName",
|
2853
2860
|
# },
|
2854
2861
|
# ],
|
2862
|
+
# target_group_info_list: [
|
2863
|
+
# {
|
2864
|
+
# name: "TargetGroupName",
|
2865
|
+
# },
|
2866
|
+
# ],
|
2855
2867
|
# }
|
2856
2868
|
#
|
2857
2869
|
# @!attribute [rw] elb_info_list
|
2858
|
-
# An array containing information about the load balancer
|
2859
|
-
#
|
2870
|
+
# An array containing information about the load balancer to use for
|
2871
|
+
# load balancing in a deployment. In Elastic Load Balancing, load
|
2872
|
+
# balancers are used with Classic Load Balancers.
|
2860
2873
|
# @return [Array<Types::ELBInfo>]
|
2861
2874
|
#
|
2875
|
+
# @!attribute [rw] target_group_info_list
|
2876
|
+
# An array containing information about the target group to use for
|
2877
|
+
# load balancing in a deployment. In Elastic Load Balancing, target
|
2878
|
+
# groups are used with Application Load Balancers.
|
2879
|
+
# @return [Array<Types::TargetGroupInfo>]
|
2880
|
+
#
|
2862
2881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo AWS API Documentation
|
2863
2882
|
#
|
2864
2883
|
class LoadBalancerInfo < Struct.new(
|
2865
|
-
:elb_info_list
|
2884
|
+
:elb_info_list,
|
2885
|
+
:target_group_info_list)
|
2866
2886
|
include Aws::Structure
|
2867
2887
|
end
|
2868
2888
|
|
@@ -3355,6 +3375,34 @@ module Aws::CodeDeploy
|
|
3355
3375
|
include Aws::Structure
|
3356
3376
|
end
|
3357
3377
|
|
3378
|
+
# Information about a target group in Elastic Load Balancing to use in a
|
3379
|
+
# deployment. Instances are registered as targets in a target group, and
|
3380
|
+
# traffic is routed to the target group.
|
3381
|
+
#
|
3382
|
+
# @note When making an API call, you may pass TargetGroupInfo
|
3383
|
+
# data as a hash:
|
3384
|
+
#
|
3385
|
+
# {
|
3386
|
+
# name: "TargetGroupName",
|
3387
|
+
# }
|
3388
|
+
#
|
3389
|
+
# @!attribute [rw] name
|
3390
|
+
# For blue/green deployments, the name of the target group that
|
3391
|
+
# instances in the original environment are deregistered from, and
|
3392
|
+
# instances in the replacement environment registered with. For
|
3393
|
+
# in-place deployments, the name of the target group that instances
|
3394
|
+
# are deregistered from, so they are not serving traffic during a
|
3395
|
+
# deployment, and then re-registered with after the deployment
|
3396
|
+
# completes.
|
3397
|
+
# @return [String]
|
3398
|
+
#
|
3399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetGroupInfo AWS API Documentation
|
3400
|
+
#
|
3401
|
+
class TargetGroupInfo < Struct.new(
|
3402
|
+
:name)
|
3403
|
+
include Aws::Structure
|
3404
|
+
end
|
3405
|
+
|
3358
3406
|
# Information about the instances to be used in the replacement
|
3359
3407
|
# environment in a blue/green deployment.
|
3360
3408
|
#
|
@@ -3572,6 +3620,11 @@ module Aws::CodeDeploy
|
|
3572
3620
|
# name: "ELBName",
|
3573
3621
|
# },
|
3574
3622
|
# ],
|
3623
|
+
# target_group_info_list: [
|
3624
|
+
# {
|
3625
|
+
# name: "TargetGroupName",
|
3626
|
+
# },
|
3627
|
+
# ],
|
3575
3628
|
# },
|
3576
3629
|
# ec2_tag_set: {
|
3577
3630
|
# ec2_tag_set_list: [
|
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.0.0.
|
4
|
+
version: 1.0.0.rc13
|
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: 2017-08-
|
11
|
+
date: 2017-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|