aws-sdk-elasticloadbalancingv2 1.109.0 → 1.111.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +106 -3
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +56 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb +28 -0
- data/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +83 -2
- data/lib/aws-sdk-elasticloadbalancingv2/waiters.rb +3 -3
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- data/sig/client.rbs +27 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +27 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0073a9ada32b7a09124d6409431eacdb7d505911dfde540caf04cbee15a9f01
|
4
|
+
data.tar.gz: 2a589c67d45638480f1ff4dc57d4858d9f7da758ad6a1d3b498cbec650afd041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ea4aa023e84166ba4feb91aa994adaee4bc0a78d2b3f1ec4d34424bbeb853ce7d206324d9e0f3da4381acba4354356dffbfa91a4f72f55fac07b282dfcda3f
|
7
|
+
data.tar.gz: 25785329d7c3460a77f8966cecf48fec65c52aff86fde80914be432837ef1272b2d83bb7823bdbcacdfe419bdfaa5546772045574e889b1448eb717f6affbae9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.111.0 (2024-09-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add paginators for the ELBv2 DescribeListenerCertificates and DescribeRules APIs. Fix broken waiter for the ELBv2 DescribeLoadBalancers API.
|
8
|
+
|
9
|
+
1.110.0 (2024-09-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for configuring TCP idle timeout on NLB and GWLB listeners.
|
13
|
+
|
4
14
|
1.109.0 (2024-07-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.111.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::ElasticLoadBalancingV2
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::Query)
|
88
90
|
add_plugin(Aws::ElasticLoadBalancingV2::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::ElasticLoadBalancingV2
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -2092,6 +2104,49 @@ module Aws::ElasticLoadBalancingV2
|
|
2092
2104
|
req.send_request(options)
|
2093
2105
|
end
|
2094
2106
|
|
2107
|
+
# Describes the attributes for the specified listener.
|
2108
|
+
#
|
2109
|
+
# @option params [required, String] :listener_arn
|
2110
|
+
# The Amazon Resource Name (ARN) of the listener.
|
2111
|
+
#
|
2112
|
+
# @return [Types::DescribeListenerAttributesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2113
|
+
#
|
2114
|
+
# * {Types::DescribeListenerAttributesOutput#attributes #attributes} => Array<Types::ListenerAttribute>
|
2115
|
+
#
|
2116
|
+
#
|
2117
|
+
# @example Example: Describe listener attributes
|
2118
|
+
#
|
2119
|
+
# # This example describes the attributes of the specified listener.
|
2120
|
+
#
|
2121
|
+
# resp = client.describe_listener_attributes({
|
2122
|
+
# listener_arn: "aws:elasticloadbalancing:us-east-1:123456789012:listener/net/my-listener/73e2d6bc24d8a067/d5dc06411fa5bcea",
|
2123
|
+
# })
|
2124
|
+
#
|
2125
|
+
# resp.to_h outputs the following:
|
2126
|
+
# {
|
2127
|
+
# }
|
2128
|
+
#
|
2129
|
+
# @example Request syntax with placeholder values
|
2130
|
+
#
|
2131
|
+
# resp = client.describe_listener_attributes({
|
2132
|
+
# listener_arn: "ListenerArn", # required
|
2133
|
+
# })
|
2134
|
+
#
|
2135
|
+
# @example Response structure
|
2136
|
+
#
|
2137
|
+
# resp.attributes #=> Array
|
2138
|
+
# resp.attributes[0].key #=> String
|
2139
|
+
# resp.attributes[0].value #=> String
|
2140
|
+
#
|
2141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerAttributes AWS API Documentation
|
2142
|
+
#
|
2143
|
+
# @overload describe_listener_attributes(params = {})
|
2144
|
+
# @param [Hash] params ({})
|
2145
|
+
def describe_listener_attributes(params = {}, options = {})
|
2146
|
+
req = build_request(:describe_listener_attributes, params)
|
2147
|
+
req.send_request(options)
|
2148
|
+
end
|
2149
|
+
|
2095
2150
|
# Describes the default certificate and the certificate list for the
|
2096
2151
|
# specified HTTPS or TLS listener.
|
2097
2152
|
#
|
@@ -2123,6 +2178,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2123
2178
|
# * {Types::DescribeListenerCertificatesOutput#certificates #certificates} => Array<Types::Certificate>
|
2124
2179
|
# * {Types::DescribeListenerCertificatesOutput#next_marker #next_marker} => String
|
2125
2180
|
#
|
2181
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2182
|
+
#
|
2126
2183
|
# @example Request syntax with placeholder values
|
2127
2184
|
#
|
2128
2185
|
# resp = client.describe_listener_certificates({
|
@@ -2500,6 +2557,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2500
2557
|
# * {Types::DescribeRulesOutput#rules #rules} => Array<Types::Rule>
|
2501
2558
|
# * {Types::DescribeRulesOutput#next_marker #next_marker} => String
|
2502
2559
|
#
|
2560
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2561
|
+
#
|
2503
2562
|
#
|
2504
2563
|
# @example Example: To describe a rule
|
2505
2564
|
#
|
@@ -3703,6 +3762,45 @@ module Aws::ElasticLoadBalancingV2
|
|
3703
3762
|
req.send_request(options)
|
3704
3763
|
end
|
3705
3764
|
|
3765
|
+
# Modifies the specified attributes of the specified listener.
|
3766
|
+
#
|
3767
|
+
# @option params [required, String] :listener_arn
|
3768
|
+
# The Amazon Resource Name (ARN) of the listener.
|
3769
|
+
#
|
3770
|
+
# @option params [required, Array<Types::ListenerAttribute>] :attributes
|
3771
|
+
# The listener attributes.
|
3772
|
+
#
|
3773
|
+
# @return [Types::ModifyListenerAttributesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3774
|
+
#
|
3775
|
+
# * {Types::ModifyListenerAttributesOutput#attributes #attributes} => Array<Types::ListenerAttribute>
|
3776
|
+
#
|
3777
|
+
# @example Request syntax with placeholder values
|
3778
|
+
#
|
3779
|
+
# resp = client.modify_listener_attributes({
|
3780
|
+
# listener_arn: "ListenerArn", # required
|
3781
|
+
# attributes: [ # required
|
3782
|
+
# {
|
3783
|
+
# key: "ListenerAttributeKey",
|
3784
|
+
# value: "ListenerAttributeValue",
|
3785
|
+
# },
|
3786
|
+
# ],
|
3787
|
+
# })
|
3788
|
+
#
|
3789
|
+
# @example Response structure
|
3790
|
+
#
|
3791
|
+
# resp.attributes #=> Array
|
3792
|
+
# resp.attributes[0].key #=> String
|
3793
|
+
# resp.attributes[0].value #=> String
|
3794
|
+
#
|
3795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerAttributes AWS API Documentation
|
3796
|
+
#
|
3797
|
+
# @overload modify_listener_attributes(params = {})
|
3798
|
+
# @param [Hash] params ({})
|
3799
|
+
def modify_listener_attributes(params = {}, options = {})
|
3800
|
+
req = build_request(:modify_listener_attributes, params)
|
3801
|
+
req.send_request(options)
|
3802
|
+
end
|
3803
|
+
|
3706
3804
|
# Modifies the specified attributes of the specified Application Load
|
3707
3805
|
# Balancer, Network Load Balancer, or Gateway Load Balancer.
|
3708
3806
|
#
|
@@ -4264,7 +4362,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4264
4362
|
# The Amazon Resource Name (ARN) of the target group.
|
4265
4363
|
#
|
4266
4364
|
# @option params [required, Array<Types::TargetGroupAttribute>] :attributes
|
4267
|
-
# The attributes.
|
4365
|
+
# The target group attributes.
|
4268
4366
|
#
|
4269
4367
|
# @return [Types::ModifyTargetGroupAttributesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4270
4368
|
#
|
@@ -4972,14 +5070,19 @@ module Aws::ElasticLoadBalancingV2
|
|
4972
5070
|
# @api private
|
4973
5071
|
def build_request(operation_name, params = {})
|
4974
5072
|
handlers = @handlers.for(operation_name)
|
5073
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
5074
|
+
Aws::Telemetry.module_to_tracer_name('Aws::ElasticLoadBalancingV2')
|
5075
|
+
)
|
4975
5076
|
context = Seahorse::Client::RequestContext.new(
|
4976
5077
|
operation_name: operation_name,
|
4977
5078
|
operation: config.api.operation(operation_name),
|
4978
5079
|
client: self,
|
4979
5080
|
params: params,
|
4980
|
-
config: config
|
5081
|
+
config: config,
|
5082
|
+
tracer: tracer
|
5083
|
+
)
|
4981
5084
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4982
|
-
context[:gem_version] = '1.
|
5085
|
+
context[:gem_version] = '1.111.0'
|
4983
5086
|
Seahorse::Client::Request.new(handlers, context)
|
4984
5087
|
end
|
4985
5088
|
|
@@ -101,6 +101,8 @@ module Aws::ElasticLoadBalancingV2
|
|
101
101
|
DeregisterTargetsOutput = Shapes::StructureShape.new(name: 'DeregisterTargetsOutput')
|
102
102
|
DescribeAccountLimitsInput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsInput')
|
103
103
|
DescribeAccountLimitsOutput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsOutput')
|
104
|
+
DescribeListenerAttributesInput = Shapes::StructureShape.new(name: 'DescribeListenerAttributesInput')
|
105
|
+
DescribeListenerAttributesOutput = Shapes::StructureShape.new(name: 'DescribeListenerAttributesOutput')
|
104
106
|
DescribeListenerCertificatesInput = Shapes::StructureShape.new(name: 'DescribeListenerCertificatesInput')
|
105
107
|
DescribeListenerCertificatesOutput = Shapes::StructureShape.new(name: 'DescribeListenerCertificatesOutput')
|
106
108
|
DescribeListenersInput = Shapes::StructureShape.new(name: 'DescribeListenersInput')
|
@@ -182,6 +184,10 @@ module Aws::ElasticLoadBalancingV2
|
|
182
184
|
Listener = Shapes::StructureShape.new(name: 'Listener')
|
183
185
|
ListenerArn = Shapes::StringShape.new(name: 'ListenerArn')
|
184
186
|
ListenerArns = Shapes::ListShape.new(name: 'ListenerArns')
|
187
|
+
ListenerAttribute = Shapes::StructureShape.new(name: 'ListenerAttribute')
|
188
|
+
ListenerAttributeKey = Shapes::StringShape.new(name: 'ListenerAttributeKey')
|
189
|
+
ListenerAttributeValue = Shapes::StringShape.new(name: 'ListenerAttributeValue')
|
190
|
+
ListenerAttributes = Shapes::ListShape.new(name: 'ListenerAttributes')
|
185
191
|
ListenerNotFoundException = Shapes::StructureShape.new(name: 'ListenerNotFoundException', error: {"code"=>"ListenerNotFound", "httpStatusCode"=>400, "senderFault"=>true})
|
186
192
|
Listeners = Shapes::ListShape.new(name: 'Listeners')
|
187
193
|
LoadBalancer = Shapes::StructureShape.new(name: 'LoadBalancer')
|
@@ -207,6 +213,8 @@ module Aws::ElasticLoadBalancingV2
|
|
207
213
|
Max = Shapes::StringShape.new(name: 'Max')
|
208
214
|
MitigationInEffectEnum = Shapes::StringShape.new(name: 'MitigationInEffectEnum')
|
209
215
|
Mode = Shapes::StringShape.new(name: 'Mode')
|
216
|
+
ModifyListenerAttributesInput = Shapes::StructureShape.new(name: 'ModifyListenerAttributesInput')
|
217
|
+
ModifyListenerAttributesOutput = Shapes::StructureShape.new(name: 'ModifyListenerAttributesOutput')
|
210
218
|
ModifyListenerInput = Shapes::StructureShape.new(name: 'ModifyListenerInput')
|
211
219
|
ModifyListenerOutput = Shapes::StructureShape.new(name: 'ModifyListenerOutput')
|
212
220
|
ModifyLoadBalancerAttributesInput = Shapes::StructureShape.new(name: 'ModifyLoadBalancerAttributesInput')
|
@@ -586,6 +594,12 @@ module Aws::ElasticLoadBalancingV2
|
|
586
594
|
DescribeAccountLimitsOutput.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
|
587
595
|
DescribeAccountLimitsOutput.struct_class = Types::DescribeAccountLimitsOutput
|
588
596
|
|
597
|
+
DescribeListenerAttributesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
|
598
|
+
DescribeListenerAttributesInput.struct_class = Types::DescribeListenerAttributesInput
|
599
|
+
|
600
|
+
DescribeListenerAttributesOutput.add_member(:attributes, Shapes::ShapeRef.new(shape: ListenerAttributes, location_name: "Attributes"))
|
601
|
+
DescribeListenerAttributesOutput.struct_class = Types::DescribeListenerAttributesOutput
|
602
|
+
|
589
603
|
DescribeListenerCertificatesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
|
590
604
|
DescribeListenerCertificatesInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
591
605
|
DescribeListenerCertificatesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
|
@@ -800,6 +814,12 @@ module Aws::ElasticLoadBalancingV2
|
|
800
814
|
|
801
815
|
ListenerArns.member = Shapes::ShapeRef.new(shape: ListenerArn)
|
802
816
|
|
817
|
+
ListenerAttribute.add_member(:key, Shapes::ShapeRef.new(shape: ListenerAttributeKey, location_name: "Key"))
|
818
|
+
ListenerAttribute.add_member(:value, Shapes::ShapeRef.new(shape: ListenerAttributeValue, location_name: "Value"))
|
819
|
+
ListenerAttribute.struct_class = Types::ListenerAttribute
|
820
|
+
|
821
|
+
ListenerAttributes.member = Shapes::ShapeRef.new(shape: ListenerAttribute)
|
822
|
+
|
803
823
|
ListenerNotFoundException.struct_class = Types::ListenerNotFoundException
|
804
824
|
|
805
825
|
Listeners.member = Shapes::ShapeRef.new(shape: Listener)
|
@@ -850,6 +870,13 @@ module Aws::ElasticLoadBalancingV2
|
|
850
870
|
Matcher.add_member(:grpc_code, Shapes::ShapeRef.new(shape: GrpcCode, location_name: "GrpcCode"))
|
851
871
|
Matcher.struct_class = Types::Matcher
|
852
872
|
|
873
|
+
ModifyListenerAttributesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
|
874
|
+
ModifyListenerAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: ListenerAttributes, required: true, location_name: "Attributes"))
|
875
|
+
ModifyListenerAttributesInput.struct_class = Types::ModifyListenerAttributesInput
|
876
|
+
|
877
|
+
ModifyListenerAttributesOutput.add_member(:attributes, Shapes::ShapeRef.new(shape: ListenerAttributes, location_name: "Attributes"))
|
878
|
+
ModifyListenerAttributesOutput.struct_class = Types::ModifyListenerAttributesOutput
|
879
|
+
|
853
880
|
ModifyListenerInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
|
854
881
|
ModifyListenerInput.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "Port"))
|
855
882
|
ModifyListenerInput.add_member(:protocol, Shapes::ShapeRef.new(shape: ProtocolEnum, location_name: "Protocol"))
|
@@ -1452,6 +1479,15 @@ module Aws::ElasticLoadBalancingV2
|
|
1452
1479
|
o.output = Shapes::ShapeRef.new(shape: DescribeAccountLimitsOutput)
|
1453
1480
|
end)
|
1454
1481
|
|
1482
|
+
api.add_operation(:describe_listener_attributes, Seahorse::Model::Operation.new.tap do |o|
|
1483
|
+
o.name = "DescribeListenerAttributes"
|
1484
|
+
o.http_method = "POST"
|
1485
|
+
o.http_request_uri = "/"
|
1486
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeListenerAttributesInput)
|
1487
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeListenerAttributesOutput)
|
1488
|
+
o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
|
1489
|
+
end)
|
1490
|
+
|
1455
1491
|
api.add_operation(:describe_listener_certificates, Seahorse::Model::Operation.new.tap do |o|
|
1456
1492
|
o.name = "DescribeListenerCertificates"
|
1457
1493
|
o.http_method = "POST"
|
@@ -1459,6 +1495,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1459
1495
|
o.input = Shapes::ShapeRef.new(shape: DescribeListenerCertificatesInput)
|
1460
1496
|
o.output = Shapes::ShapeRef.new(shape: DescribeListenerCertificatesOutput)
|
1461
1497
|
o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
|
1498
|
+
o[:pager] = Aws::Pager.new(
|
1499
|
+
tokens: {
|
1500
|
+
"next_marker" => "marker"
|
1501
|
+
}
|
1502
|
+
)
|
1462
1503
|
end)
|
1463
1504
|
|
1464
1505
|
api.add_operation(:describe_listeners, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1509,6 +1550,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1509
1550
|
o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
|
1510
1551
|
o.errors << Shapes::ShapeRef.new(shape: RuleNotFoundException)
|
1511
1552
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedProtocolException)
|
1553
|
+
o[:pager] = Aws::Pager.new(
|
1554
|
+
tokens: {
|
1555
|
+
"next_marker" => "marker"
|
1556
|
+
}
|
1557
|
+
)
|
1512
1558
|
end)
|
1513
1559
|
|
1514
1560
|
api.add_operation(:describe_ssl_policies, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1669,6 +1715,16 @@ module Aws::ElasticLoadBalancingV2
|
|
1669
1715
|
o.errors << Shapes::ShapeRef.new(shape: TrustStoreNotReadyException)
|
1670
1716
|
end)
|
1671
1717
|
|
1718
|
+
api.add_operation(:modify_listener_attributes, Seahorse::Model::Operation.new.tap do |o|
|
1719
|
+
o.name = "ModifyListenerAttributes"
|
1720
|
+
o.http_method = "POST"
|
1721
|
+
o.http_request_uri = "/"
|
1722
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyListenerAttributesInput)
|
1723
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyListenerAttributesOutput)
|
1724
|
+
o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
|
1725
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidConfigurationRequestException)
|
1726
|
+
end)
|
1727
|
+
|
1672
1728
|
api.add_operation(:modify_load_balancer_attributes, Seahorse::Model::Operation.new.tap do |o|
|
1673
1729
|
o.name = "ModifyLoadBalancerAttributes"
|
1674
1730
|
o.http_method = "POST"
|
@@ -236,6 +236,20 @@ module Aws::ElasticLoadBalancingV2
|
|
236
236
|
end
|
237
237
|
end
|
238
238
|
|
239
|
+
class DescribeListenerAttributes
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
239
253
|
class DescribeListenerCertificates
|
240
254
|
def self.build(context)
|
241
255
|
unless context.config.regional_endpoint
|
@@ -474,6 +488,20 @@ module Aws::ElasticLoadBalancingV2
|
|
474
488
|
end
|
475
489
|
end
|
476
490
|
|
491
|
+
class ModifyListenerAttributes
|
492
|
+
def self.build(context)
|
493
|
+
unless context.config.regional_endpoint
|
494
|
+
endpoint = context.config.endpoint.to_s
|
495
|
+
end
|
496
|
+
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
|
497
|
+
region: context.config.region,
|
498
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
499
|
+
use_fips: context.config.use_fips_endpoint,
|
500
|
+
endpoint: endpoint,
|
501
|
+
)
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
477
505
|
class ModifyLoadBalancerAttributes
|
478
506
|
def self.build(context)
|
479
507
|
unless context.config.regional_endpoint
|
@@ -90,6 +90,8 @@ module Aws::ElasticLoadBalancingV2
|
|
90
90
|
Aws::ElasticLoadBalancingV2::Endpoints::DeregisterTargets.build(context)
|
91
91
|
when :describe_account_limits
|
92
92
|
Aws::ElasticLoadBalancingV2::Endpoints::DescribeAccountLimits.build(context)
|
93
|
+
when :describe_listener_attributes
|
94
|
+
Aws::ElasticLoadBalancingV2::Endpoints::DescribeListenerAttributes.build(context)
|
93
95
|
when :describe_listener_certificates
|
94
96
|
Aws::ElasticLoadBalancingV2::Endpoints::DescribeListenerCertificates.build(context)
|
95
97
|
when :describe_listeners
|
@@ -124,6 +126,8 @@ module Aws::ElasticLoadBalancingV2
|
|
124
126
|
Aws::ElasticLoadBalancingV2::Endpoints::GetTrustStoreRevocationContent.build(context)
|
125
127
|
when :modify_listener
|
126
128
|
Aws::ElasticLoadBalancingV2::Endpoints::ModifyListener.build(context)
|
129
|
+
when :modify_listener_attributes
|
130
|
+
Aws::ElasticLoadBalancingV2::Endpoints::ModifyListenerAttributes.build(context)
|
127
131
|
when :modify_load_balancer_attributes
|
128
132
|
Aws::ElasticLoadBalancingV2::Endpoints::ModifyLoadBalancerAttributes.build(context)
|
129
133
|
when :modify_rule
|
@@ -1127,6 +1127,30 @@ module Aws::ElasticLoadBalancingV2
|
|
1127
1127
|
include Aws::Structure
|
1128
1128
|
end
|
1129
1129
|
|
1130
|
+
# @!attribute [rw] listener_arn
|
1131
|
+
# The Amazon Resource Name (ARN) of the listener.
|
1132
|
+
# @return [String]
|
1133
|
+
#
|
1134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerAttributesInput AWS API Documentation
|
1135
|
+
#
|
1136
|
+
class DescribeListenerAttributesInput < Struct.new(
|
1137
|
+
:listener_arn)
|
1138
|
+
SENSITIVE = []
|
1139
|
+
include Aws::Structure
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# @!attribute [rw] attributes
|
1143
|
+
# Information about the listener attributes.
|
1144
|
+
# @return [Array<Types::ListenerAttribute>]
|
1145
|
+
#
|
1146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerAttributesOutput AWS API Documentation
|
1147
|
+
#
|
1148
|
+
class DescribeListenerAttributesOutput < Struct.new(
|
1149
|
+
:attributes)
|
1150
|
+
SENSITIVE = []
|
1151
|
+
include Aws::Structure
|
1152
|
+
end
|
1153
|
+
|
1130
1154
|
# @!attribute [rw] listener_arn
|
1131
1155
|
# The Amazon Resource Names (ARN) of the listener.
|
1132
1156
|
# @return [String]
|
@@ -2106,6 +2130,34 @@ module Aws::ElasticLoadBalancingV2
|
|
2106
2130
|
include Aws::Structure
|
2107
2131
|
end
|
2108
2132
|
|
2133
|
+
# Information about a listener attribute.
|
2134
|
+
#
|
2135
|
+
# @!attribute [rw] key
|
2136
|
+
# The name of the attribute.
|
2137
|
+
#
|
2138
|
+
# The following attribute is supported by Network Load Balancers, and
|
2139
|
+
# Gateway Load Balancers.
|
2140
|
+
#
|
2141
|
+
# * `tcp.idle_timeout.seconds` - The tcp idle timeout value, in
|
2142
|
+
# seconds. The valid range is 60-6000 seconds. The default is 350
|
2143
|
+
# seconds.
|
2144
|
+
#
|
2145
|
+
# ^
|
2146
|
+
# @return [String]
|
2147
|
+
#
|
2148
|
+
# @!attribute [rw] value
|
2149
|
+
# The value of the attribute.
|
2150
|
+
# @return [String]
|
2151
|
+
#
|
2152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ListenerAttribute AWS API Documentation
|
2153
|
+
#
|
2154
|
+
class ListenerAttribute < Struct.new(
|
2155
|
+
:key,
|
2156
|
+
:value)
|
2157
|
+
SENSITIVE = []
|
2158
|
+
include Aws::Structure
|
2159
|
+
end
|
2160
|
+
|
2109
2161
|
# The specified listener does not exist.
|
2110
2162
|
#
|
2111
2163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ListenerNotFoundException AWS API Documentation
|
@@ -2459,6 +2511,35 @@ module Aws::ElasticLoadBalancingV2
|
|
2459
2511
|
include Aws::Structure
|
2460
2512
|
end
|
2461
2513
|
|
2514
|
+
# @!attribute [rw] listener_arn
|
2515
|
+
# The Amazon Resource Name (ARN) of the listener.
|
2516
|
+
# @return [String]
|
2517
|
+
#
|
2518
|
+
# @!attribute [rw] attributes
|
2519
|
+
# The listener attributes.
|
2520
|
+
# @return [Array<Types::ListenerAttribute>]
|
2521
|
+
#
|
2522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerAttributesInput AWS API Documentation
|
2523
|
+
#
|
2524
|
+
class ModifyListenerAttributesInput < Struct.new(
|
2525
|
+
:listener_arn,
|
2526
|
+
:attributes)
|
2527
|
+
SENSITIVE = []
|
2528
|
+
include Aws::Structure
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
# @!attribute [rw] attributes
|
2532
|
+
# Information about the listener attributes.
|
2533
|
+
# @return [Array<Types::ListenerAttribute>]
|
2534
|
+
#
|
2535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerAttributesOutput AWS API Documentation
|
2536
|
+
#
|
2537
|
+
class ModifyListenerAttributesOutput < Struct.new(
|
2538
|
+
:attributes)
|
2539
|
+
SENSITIVE = []
|
2540
|
+
include Aws::Structure
|
2541
|
+
end
|
2542
|
+
|
2462
2543
|
# @!attribute [rw] listener_arn
|
2463
2544
|
# The Amazon Resource Name (ARN) of the listener.
|
2464
2545
|
# @return [String]
|
@@ -2623,7 +2704,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2623
2704
|
# @return [String]
|
2624
2705
|
#
|
2625
2706
|
# @!attribute [rw] attributes
|
2626
|
-
# The attributes.
|
2707
|
+
# The target group attributes.
|
2627
2708
|
# @return [Array<Types::TargetGroupAttribute>]
|
2628
2709
|
#
|
2629
2710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesInput AWS API Documentation
|
@@ -2636,7 +2717,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2636
2717
|
end
|
2637
2718
|
|
2638
2719
|
# @!attribute [rw] attributes
|
2639
|
-
# Information about the attributes.
|
2720
|
+
# Information about the target group attributes.
|
2640
2721
|
# @return [Array<Types::TargetGroupAttribute>]
|
2641
2722
|
#
|
2642
2723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesOutput AWS API Documentation
|
@@ -108,7 +108,7 @@ module Aws::ElasticLoadBalancingV2
|
|
108
108
|
{
|
109
109
|
"state" => "retry",
|
110
110
|
"matcher" => "error",
|
111
|
-
"expected" => "
|
111
|
+
"expected" => "LoadBalancerNotFoundException"
|
112
112
|
}
|
113
113
|
]
|
114
114
|
)
|
@@ -149,7 +149,7 @@ module Aws::ElasticLoadBalancingV2
|
|
149
149
|
},
|
150
150
|
{
|
151
151
|
"matcher" => "error",
|
152
|
-
"expected" => "
|
152
|
+
"expected" => "LoadBalancerNotFoundException",
|
153
153
|
"state" => "retry"
|
154
154
|
}
|
155
155
|
]
|
@@ -192,7 +192,7 @@ module Aws::ElasticLoadBalancingV2
|
|
192
192
|
},
|
193
193
|
{
|
194
194
|
"matcher" => "error",
|
195
|
-
"expected" => "
|
195
|
+
"expected" => "LoadBalancerNotFoundException",
|
196
196
|
"state" => "success"
|
197
197
|
}
|
198
198
|
]
|
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -479,6 +480,16 @@ module Aws
|
|
479
480
|
) -> _DescribeAccountLimitsResponseSuccess
|
480
481
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountLimitsResponseSuccess
|
481
482
|
|
483
|
+
interface _DescribeListenerAttributesResponseSuccess
|
484
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeListenerAttributesOutput]
|
485
|
+
def attributes: () -> ::Array[Types::ListenerAttribute]
|
486
|
+
end
|
487
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticLoadBalancingV2/Client.html#describe_listener_attributes-instance_method
|
488
|
+
def describe_listener_attributes: (
|
489
|
+
listener_arn: ::String
|
490
|
+
) -> _DescribeListenerAttributesResponseSuccess
|
491
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeListenerAttributesResponseSuccess
|
492
|
+
|
482
493
|
interface _DescribeListenerCertificatesResponseSuccess
|
483
494
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeListenerCertificatesOutput]
|
484
495
|
def certificates: () -> ::Array[Types::Certificate]
|
@@ -765,6 +776,22 @@ module Aws
|
|
765
776
|
) -> _ModifyListenerResponseSuccess
|
766
777
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyListenerResponseSuccess
|
767
778
|
|
779
|
+
interface _ModifyListenerAttributesResponseSuccess
|
780
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyListenerAttributesOutput]
|
781
|
+
def attributes: () -> ::Array[Types::ListenerAttribute]
|
782
|
+
end
|
783
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticLoadBalancingV2/Client.html#modify_listener_attributes-instance_method
|
784
|
+
def modify_listener_attributes: (
|
785
|
+
listener_arn: ::String,
|
786
|
+
attributes: Array[
|
787
|
+
{
|
788
|
+
key: ::String?,
|
789
|
+
value: ::String?
|
790
|
+
},
|
791
|
+
]
|
792
|
+
) -> _ModifyListenerAttributesResponseSuccess
|
793
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyListenerAttributesResponseSuccess
|
794
|
+
|
768
795
|
interface _ModifyLoadBalancerAttributesResponseSuccess
|
769
796
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyLoadBalancerAttributesOutput]
|
770
797
|
def attributes: () -> ::Array[Types::LoadBalancerAttribute]
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -283,6 +283,16 @@ module Aws::ElasticLoadBalancingV2
|
|
283
283
|
SENSITIVE: []
|
284
284
|
end
|
285
285
|
|
286
|
+
class DescribeListenerAttributesInput
|
287
|
+
attr_accessor listener_arn: ::String
|
288
|
+
SENSITIVE: []
|
289
|
+
end
|
290
|
+
|
291
|
+
class DescribeListenerAttributesOutput
|
292
|
+
attr_accessor attributes: ::Array[Types::ListenerAttribute]
|
293
|
+
SENSITIVE: []
|
294
|
+
end
|
295
|
+
|
286
296
|
class DescribeListenerCertificatesInput
|
287
297
|
attr_accessor listener_arn: ::String
|
288
298
|
attr_accessor marker: ::String
|
@@ -582,6 +592,12 @@ module Aws::ElasticLoadBalancingV2
|
|
582
592
|
SENSITIVE: []
|
583
593
|
end
|
584
594
|
|
595
|
+
class ListenerAttribute
|
596
|
+
attr_accessor key: ::String
|
597
|
+
attr_accessor value: ::String
|
598
|
+
SENSITIVE: []
|
599
|
+
end
|
600
|
+
|
585
601
|
class ListenerNotFoundException < Aws::EmptyStructure
|
586
602
|
end
|
587
603
|
|
@@ -632,6 +648,17 @@ module Aws::ElasticLoadBalancingV2
|
|
632
648
|
SENSITIVE: []
|
633
649
|
end
|
634
650
|
|
651
|
+
class ModifyListenerAttributesInput
|
652
|
+
attr_accessor listener_arn: ::String
|
653
|
+
attr_accessor attributes: ::Array[Types::ListenerAttribute]
|
654
|
+
SENSITIVE: []
|
655
|
+
end
|
656
|
+
|
657
|
+
class ModifyListenerAttributesOutput
|
658
|
+
attr_accessor attributes: ::Array[Types::ListenerAttribute]
|
659
|
+
SENSITIVE: []
|
660
|
+
end
|
661
|
+
|
635
662
|
class ModifyListenerInput
|
636
663
|
attr_accessor listener_arn: ::String
|
637
664
|
attr_accessor port: ::Integer
|
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.111.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: 2024-
|
11
|
+
date: 2024-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|