aws-sdk-elasticloadbalancingv2 1.0.0 → 1.1.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbbfc4f5d7206227c7d4e22b5b7281f011009d55
|
4
|
+
data.tar.gz: a7c125bae4bb90adb7bf45a4ac7970f75b9dea8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 132aec344380ccd6d9b449063a340f4d222582b2d1552b3d64617fa231cf5276622b4a3152edf242bf45d20184a8525fe6adf7b6a8136464d846c8e0c5a14b54
|
7
|
+
data.tar.gz: 5ab2ff916a361ae0bd02e46fc0aa653e83bf1c8d99d26a869025aec8aa782c8b303aa828faf50704119ddeb1c8d02c5c13dfcac317a3fae92d09d1fdf3994f91
|
@@ -795,6 +795,19 @@ module Aws::ElasticLoadBalancingV2
|
|
795
795
|
# The HTTP codes to use when checking for a successful response from a
|
796
796
|
# target. The default is 200.
|
797
797
|
#
|
798
|
+
# @option params [String] :target_type
|
799
|
+
# The type of target that you must specify when registering targets with
|
800
|
+
# this target group. The possible values are `instance` (targets are
|
801
|
+
# specified by instance ID) or `ip` (targets are specified by IP
|
802
|
+
# address). The default is `instance`. Note that you can't specify
|
803
|
+
# targets for a target group using both instance IDs and IP addresses.
|
804
|
+
#
|
805
|
+
# If the target type is `ip`, specify IP addresses from the subnets of
|
806
|
+
# the virtual private cloud (VPC) for the target group, the RFC 1918
|
807
|
+
# range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC
|
808
|
+
# 6598 range (100.64.0.0/10). You can't specify publicly routable IP
|
809
|
+
# addresses.
|
810
|
+
#
|
798
811
|
# @return [Types::CreateTargetGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
799
812
|
#
|
800
813
|
# * {Types::CreateTargetGroupOutput#target_groups #target_groups} => Array<Types::TargetGroup>
|
@@ -851,6 +864,7 @@ module Aws::ElasticLoadBalancingV2
|
|
851
864
|
# matcher: {
|
852
865
|
# http_code: "HttpCode", # required
|
853
866
|
# },
|
867
|
+
# target_type: "instance", # accepts instance, ip
|
854
868
|
# })
|
855
869
|
#
|
856
870
|
# @example Response structure
|
@@ -871,6 +885,7 @@ module Aws::ElasticLoadBalancingV2
|
|
871
885
|
# resp.target_groups[0].matcher.http_code #=> String
|
872
886
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
873
887
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
888
|
+
# resp.target_groups[0].target_type #=> String, one of "instance", "ip"
|
874
889
|
#
|
875
890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup AWS API Documentation
|
876
891
|
#
|
@@ -1057,6 +1072,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1057
1072
|
# {
|
1058
1073
|
# id: "TargetId", # required
|
1059
1074
|
# port: 1,
|
1075
|
+
# availability_zone: "ZoneName",
|
1060
1076
|
# },
|
1061
1077
|
# ],
|
1062
1078
|
# })
|
@@ -1838,6 +1854,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1838
1854
|
# resp.target_groups[0].matcher.http_code #=> String
|
1839
1855
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
1840
1856
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
1857
|
+
# resp.target_groups[0].target_type #=> String, one of "instance", "ip"
|
1841
1858
|
# resp.next_marker #=> String
|
1842
1859
|
#
|
1843
1860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups AWS API Documentation
|
@@ -1935,6 +1952,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1935
1952
|
# {
|
1936
1953
|
# id: "TargetId", # required
|
1937
1954
|
# port: 1,
|
1955
|
+
# availability_zone: "ZoneName",
|
1938
1956
|
# },
|
1939
1957
|
# ],
|
1940
1958
|
# })
|
@@ -1944,9 +1962,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1944
1962
|
# resp.target_health_descriptions #=> Array
|
1945
1963
|
# resp.target_health_descriptions[0].target.id #=> String
|
1946
1964
|
# resp.target_health_descriptions[0].target.port #=> Integer
|
1965
|
+
# resp.target_health_descriptions[0].target.availability_zone #=> String
|
1947
1966
|
# resp.target_health_descriptions[0].health_check_port #=> String
|
1948
1967
|
# resp.target_health_descriptions[0].target_health.state #=> String, one of "initial", "healthy", "unhealthy", "unused", "draining"
|
1949
|
-
# resp.target_health_descriptions[0].target_health.reason #=> String, one of "Elb.RegistrationInProgress", "Elb.InitialHealthChecking", "Target.ResponseCodeMismatch", "Target.Timeout", "Target.FailedHealthChecks", "Target.NotRegistered", "Target.NotInUse", "Target.DeregistrationInProgress", "Target.InvalidState", "Elb.InternalError"
|
1968
|
+
# resp.target_health_descriptions[0].target_health.reason #=> String, one of "Elb.RegistrationInProgress", "Elb.InitialHealthChecking", "Target.ResponseCodeMismatch", "Target.Timeout", "Target.FailedHealthChecks", "Target.NotRegistered", "Target.NotInUse", "Target.DeregistrationInProgress", "Target.InvalidState", "Target.IpUnusable", "Elb.InternalError"
|
1950
1969
|
# resp.target_health_descriptions[0].target_health.description #=> String
|
1951
1970
|
#
|
1952
1971
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth AWS API Documentation
|
@@ -2494,6 +2513,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2494
2513
|
# resp.target_groups[0].matcher.http_code #=> String
|
2495
2514
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
2496
2515
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
2516
|
+
# resp.target_groups[0].target_type #=> String, one of "instance", "ip"
|
2497
2517
|
#
|
2498
2518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup AWS API Documentation
|
2499
2519
|
#
|
@@ -2646,6 +2666,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2646
2666
|
# {
|
2647
2667
|
# id: "TargetId", # required
|
2648
2668
|
# port: 1,
|
2669
|
+
# availability_zone: "ZoneName",
|
2649
2670
|
# },
|
2650
2671
|
# ],
|
2651
2672
|
# })
|
@@ -2954,7 +2975,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2954
2975
|
params: params,
|
2955
2976
|
config: config)
|
2956
2977
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
2957
|
-
context[:gem_version] = '1.
|
2978
|
+
context[:gem_version] = '1.1.0'
|
2958
2979
|
Seahorse::Client::Request.new(handlers, context)
|
2959
2980
|
end
|
2960
2981
|
|
@@ -197,6 +197,7 @@ module Aws::ElasticLoadBalancingV2
|
|
197
197
|
TargetHealthReasonEnum = Shapes::StringShape.new(name: 'TargetHealthReasonEnum')
|
198
198
|
TargetHealthStateEnum = Shapes::StringShape.new(name: 'TargetHealthStateEnum')
|
199
199
|
TargetId = Shapes::StringShape.new(name: 'TargetId')
|
200
|
+
TargetTypeEnum = Shapes::StringShape.new(name: 'TargetTypeEnum')
|
200
201
|
TooManyCertificatesException = Shapes::StructureShape.new(name: 'TooManyCertificatesException')
|
201
202
|
TooManyListenersException = Shapes::StructureShape.new(name: 'TooManyListenersException')
|
202
203
|
TooManyLoadBalancersException = Shapes::StructureShape.new(name: 'TooManyLoadBalancersException')
|
@@ -281,6 +282,7 @@ module Aws::ElasticLoadBalancingV2
|
|
281
282
|
CreateTargetGroupInput.add_member(:healthy_threshold_count, Shapes::ShapeRef.new(shape: HealthCheckThresholdCount, location_name: "HealthyThresholdCount"))
|
282
283
|
CreateTargetGroupInput.add_member(:unhealthy_threshold_count, Shapes::ShapeRef.new(shape: HealthCheckThresholdCount, location_name: "UnhealthyThresholdCount"))
|
283
284
|
CreateTargetGroupInput.add_member(:matcher, Shapes::ShapeRef.new(shape: Matcher, location_name: "Matcher"))
|
285
|
+
CreateTargetGroupInput.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetTypeEnum, location_name: "TargetType"))
|
284
286
|
CreateTargetGroupInput.struct_class = Types::CreateTargetGroupInput
|
285
287
|
|
286
288
|
CreateTargetGroupOutput.add_member(:target_groups, Shapes::ShapeRef.new(shape: TargetGroups, location_name: "TargetGroups"))
|
@@ -591,6 +593,7 @@ module Aws::ElasticLoadBalancingV2
|
|
591
593
|
|
592
594
|
TargetDescription.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
|
593
595
|
TargetDescription.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "Port"))
|
596
|
+
TargetDescription.add_member(:availability_zone, Shapes::ShapeRef.new(shape: ZoneName, location_name: "AvailabilityZone"))
|
594
597
|
TargetDescription.struct_class = Types::TargetDescription
|
595
598
|
|
596
599
|
TargetDescriptions.member = Shapes::ShapeRef.new(shape: TargetDescription)
|
@@ -609,6 +612,7 @@ module Aws::ElasticLoadBalancingV2
|
|
609
612
|
TargetGroup.add_member(:health_check_path, Shapes::ShapeRef.new(shape: Path, location_name: "HealthCheckPath"))
|
610
613
|
TargetGroup.add_member(:matcher, Shapes::ShapeRef.new(shape: Matcher, location_name: "Matcher"))
|
611
614
|
TargetGroup.add_member(:load_balancer_arns, Shapes::ShapeRef.new(shape: LoadBalancerArns, location_name: "LoadBalancerArns"))
|
615
|
+
TargetGroup.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetTypeEnum, location_name: "TargetType"))
|
612
616
|
TargetGroup.struct_class = Types::TargetGroup
|
613
617
|
|
614
618
|
TargetGroupArns.member = Shapes::ShapeRef.new(shape: TargetGroupArn)
|
@@ -387,6 +387,7 @@ module Aws::ElasticLoadBalancingV2
|
|
387
387
|
# matcher: {
|
388
388
|
# http_code: "HttpCode", # required
|
389
389
|
# },
|
390
|
+
# target_type: "instance", # accepts instance, ip
|
390
391
|
# }
|
391
392
|
#
|
392
393
|
# @!attribute [rw] name
|
@@ -451,6 +452,20 @@ module Aws::ElasticLoadBalancingV2
|
|
451
452
|
# target. The default is 200.
|
452
453
|
# @return [Types::Matcher]
|
453
454
|
#
|
455
|
+
# @!attribute [rw] target_type
|
456
|
+
# The type of target that you must specify when registering targets
|
457
|
+
# with this target group. The possible values are `instance` (targets
|
458
|
+
# are specified by instance ID) or `ip` (targets are specified by IP
|
459
|
+
# address). The default is `instance`. Note that you can't specify
|
460
|
+
# targets for a target group using both instance IDs and IP addresses.
|
461
|
+
#
|
462
|
+
# If the target type is `ip`, specify IP addresses from the subnets of
|
463
|
+
# the virtual private cloud (VPC) for the target group, the RFC 1918
|
464
|
+
# range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC
|
465
|
+
# 6598 range (100.64.0.0/10). You can't specify publicly routable IP
|
466
|
+
# addresses.
|
467
|
+
# @return [String]
|
468
|
+
#
|
454
469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput AWS API Documentation
|
455
470
|
#
|
456
471
|
class CreateTargetGroupInput < Struct.new(
|
@@ -465,7 +480,8 @@ module Aws::ElasticLoadBalancingV2
|
|
465
480
|
:health_check_timeout_seconds,
|
466
481
|
:healthy_threshold_count,
|
467
482
|
:unhealthy_threshold_count,
|
468
|
-
:matcher
|
483
|
+
:matcher,
|
484
|
+
:target_type)
|
469
485
|
include Aws::Structure
|
470
486
|
end
|
471
487
|
|
@@ -577,6 +593,7 @@ module Aws::ElasticLoadBalancingV2
|
|
577
593
|
# {
|
578
594
|
# id: "TargetId", # required
|
579
595
|
# port: 1,
|
596
|
+
# availability_zone: "ZoneName",
|
580
597
|
# },
|
581
598
|
# ],
|
582
599
|
# }
|
@@ -1012,6 +1029,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1012
1029
|
# {
|
1013
1030
|
# id: "TargetId", # required
|
1014
1031
|
# port: 1,
|
1032
|
+
# availability_zone: "ZoneName",
|
1015
1033
|
# },
|
1016
1034
|
# ],
|
1017
1035
|
# }
|
@@ -1585,6 +1603,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1585
1603
|
# {
|
1586
1604
|
# id: "TargetId", # required
|
1587
1605
|
# port: 1,
|
1606
|
+
# availability_zone: "ZoneName",
|
1588
1607
|
# },
|
1589
1608
|
# ],
|
1590
1609
|
# }
|
@@ -1973,21 +1992,38 @@ module Aws::ElasticLoadBalancingV2
|
|
1973
1992
|
# {
|
1974
1993
|
# id: "TargetId", # required
|
1975
1994
|
# port: 1,
|
1995
|
+
# availability_zone: "ZoneName",
|
1976
1996
|
# }
|
1977
1997
|
#
|
1978
1998
|
# @!attribute [rw] id
|
1979
|
-
# The ID of the target.
|
1999
|
+
# The ID of the target. If the target type of the target group is
|
2000
|
+
# `instance`, specify an instance ID. If the target type is `ip`,
|
2001
|
+
# specify an IP address.
|
1980
2002
|
# @return [String]
|
1981
2003
|
#
|
1982
2004
|
# @!attribute [rw] port
|
1983
2005
|
# The port on which the target is listening.
|
1984
2006
|
# @return [Integer]
|
1985
2007
|
#
|
2008
|
+
# @!attribute [rw] availability_zone
|
2009
|
+
# The Availability Zone where the IP address is to be registered.
|
2010
|
+
# Specify `all` to register an IP address outside the target group VPC
|
2011
|
+
# with all Availability Zones that are enabled for the load balancer.
|
2012
|
+
#
|
2013
|
+
# If the IP address is in a subnet of the VPC for the target group,
|
2014
|
+
# the Availability Zone is automatically detected and this parameter
|
2015
|
+
# is optional.
|
2016
|
+
#
|
2017
|
+
# This parameter is not supported if the target type of the target
|
2018
|
+
# group is `instance`.
|
2019
|
+
# @return [String]
|
2020
|
+
#
|
1986
2021
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription AWS API Documentation
|
1987
2022
|
#
|
1988
2023
|
class TargetDescription < Struct.new(
|
1989
2024
|
:id,
|
1990
|
-
:port
|
2025
|
+
:port,
|
2026
|
+
:availability_zone)
|
1991
2027
|
include Aws::Structure
|
1992
2028
|
end
|
1993
2029
|
|
@@ -2055,6 +2091,13 @@ module Aws::ElasticLoadBalancingV2
|
|
2055
2091
|
# traffic to this target group.
|
2056
2092
|
# @return [Array<String>]
|
2057
2093
|
#
|
2094
|
+
# @!attribute [rw] target_type
|
2095
|
+
# The type of target that you must specify when registering targets
|
2096
|
+
# with this target group. The possible values are `instance` (targets
|
2097
|
+
# are specified by instance ID) or `ip` (targets are specified by IP
|
2098
|
+
# address).
|
2099
|
+
# @return [String]
|
2100
|
+
#
|
2058
2101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup AWS API Documentation
|
2059
2102
|
#
|
2060
2103
|
class TargetGroup < Struct.new(
|
@@ -2071,7 +2114,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2071
2114
|
:unhealthy_threshold_count,
|
2072
2115
|
:health_check_path,
|
2073
2116
|
:matcher,
|
2074
|
-
:load_balancer_arns
|
2117
|
+
:load_balancer_arns,
|
2118
|
+
:target_type)
|
2075
2119
|
include Aws::Structure
|
2076
2120
|
end
|
2077
2121
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticloadbalancingv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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: 2017-08-
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -57,7 +57,9 @@ files:
|
|
57
57
|
homepage: http://github.com/aws/aws-sdk-ruby
|
58
58
|
licenses:
|
59
59
|
- Apache-2.0
|
60
|
-
metadata:
|
60
|
+
metadata:
|
61
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-elasticloadbalancingv2
|
62
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md
|
61
63
|
post_install_message:
|
62
64
|
rdoc_options: []
|
63
65
|
require_paths:
|