aws-sdk-elasticloadbalancingv2 1.122.0 → 1.124.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 +91 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +89 -0
- data/lib/aws-sdk-elasticloadbalancingv2/errors.rb +55 -0
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +259 -3
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- data/sig/client.rbs +30 -0
- data/sig/errors.rbs +10 -0
- data/sig/types.rbs +61 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc60381b7cef624b030ac7284a9debaa999367e2e5b284787e9ce5a93d0984ca
|
4
|
+
data.tar.gz: 3b15fa3ee038e48ecd1b7e87a70a134648367430b84a27c99ea7cf00a6d37c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3798c5fd1f79d7b40dddf1499385abf4d4af1b8b5e0fa8905ff0670f9e86a22162d84bbc38de8242fa89e3f0f9cd76ce941da608e9445b720c9221b95ae69078
|
7
|
+
data.tar.gz: '07409836613935c684b153b45e0e9f04c206f8d24c35fece969e80e405558dbaf30fd43bde5a0af7b7c4bc1b160c9ad886bb795b470d203dd29158b5b7ac8ed0'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.124.0 (2024-11-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature adds support for enabling zonal shift on cross-zone enabled Application Load Balancer, as well as modifying HTTP request and response headers.
|
8
|
+
|
9
|
+
1.123.0 (2024-11-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for configuring Load balancer Capacity Unit reservations
|
13
|
+
|
4
14
|
1.122.0 (2024-11-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.124.0
|
@@ -2114,6 +2114,45 @@ module Aws::ElasticLoadBalancingV2
|
|
2114
2114
|
req.send_request(options)
|
2115
2115
|
end
|
2116
2116
|
|
2117
|
+
# Describes the capacity reservation status for the specified load
|
2118
|
+
# balancer.
|
2119
|
+
#
|
2120
|
+
# @option params [required, String] :load_balancer_arn
|
2121
|
+
# The Amazon Resource Name (ARN) of the load balancer.
|
2122
|
+
#
|
2123
|
+
# @return [Types::DescribeCapacityReservationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2124
|
+
#
|
2125
|
+
# * {Types::DescribeCapacityReservationOutput#last_modified_time #last_modified_time} => Time
|
2126
|
+
# * {Types::DescribeCapacityReservationOutput#decrease_requests_remaining #decrease_requests_remaining} => Integer
|
2127
|
+
# * {Types::DescribeCapacityReservationOutput#minimum_load_balancer_capacity #minimum_load_balancer_capacity} => Types::MinimumLoadBalancerCapacity
|
2128
|
+
# * {Types::DescribeCapacityReservationOutput#capacity_reservation_state #capacity_reservation_state} => Array<Types::ZonalCapacityReservationState>
|
2129
|
+
#
|
2130
|
+
# @example Request syntax with placeholder values
|
2131
|
+
#
|
2132
|
+
# resp = client.describe_capacity_reservation({
|
2133
|
+
# load_balancer_arn: "LoadBalancerArn", # required
|
2134
|
+
# })
|
2135
|
+
#
|
2136
|
+
# @example Response structure
|
2137
|
+
#
|
2138
|
+
# resp.last_modified_time #=> Time
|
2139
|
+
# resp.decrease_requests_remaining #=> Integer
|
2140
|
+
# resp.minimum_load_balancer_capacity.capacity_units #=> Integer
|
2141
|
+
# resp.capacity_reservation_state #=> Array
|
2142
|
+
# resp.capacity_reservation_state[0].state.code #=> String, one of "provisioned", "pending", "rebalancing", "failed"
|
2143
|
+
# resp.capacity_reservation_state[0].state.reason #=> String
|
2144
|
+
# resp.capacity_reservation_state[0].availability_zone #=> String
|
2145
|
+
# resp.capacity_reservation_state[0].effective_capacity_units #=> Float
|
2146
|
+
#
|
2147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeCapacityReservation AWS API Documentation
|
2148
|
+
#
|
2149
|
+
# @overload describe_capacity_reservation(params = {})
|
2150
|
+
# @param [Hash] params ({})
|
2151
|
+
def describe_capacity_reservation(params = {}, options = {})
|
2152
|
+
req = build_request(:describe_capacity_reservation, params)
|
2153
|
+
req.send_request(options)
|
2154
|
+
end
|
2155
|
+
|
2117
2156
|
# Describes the attributes for the specified listener.
|
2118
2157
|
#
|
2119
2158
|
# @option params [required, String] :listener_arn
|
@@ -3481,6 +3520,57 @@ module Aws::ElasticLoadBalancingV2
|
|
3481
3520
|
req.send_request(options)
|
3482
3521
|
end
|
3483
3522
|
|
3523
|
+
# Modifies the capacity reservation of the specified load balancer.
|
3524
|
+
#
|
3525
|
+
# When modifying capacity reservation, you must include at least one
|
3526
|
+
# `MinimumLoadBalancerCapacity` or `ResetCapacityReservation`.
|
3527
|
+
#
|
3528
|
+
# @option params [required, String] :load_balancer_arn
|
3529
|
+
# The Amazon Resource Name (ARN) of the load balancer.
|
3530
|
+
#
|
3531
|
+
# @option params [Types::MinimumLoadBalancerCapacity] :minimum_load_balancer_capacity
|
3532
|
+
# The minimum load balancer capacity reserved.
|
3533
|
+
#
|
3534
|
+
# @option params [Boolean] :reset_capacity_reservation
|
3535
|
+
# Resets the capacity reservation.
|
3536
|
+
#
|
3537
|
+
# @return [Types::ModifyCapacityReservationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3538
|
+
#
|
3539
|
+
# * {Types::ModifyCapacityReservationOutput#last_modified_time #last_modified_time} => Time
|
3540
|
+
# * {Types::ModifyCapacityReservationOutput#decrease_requests_remaining #decrease_requests_remaining} => Integer
|
3541
|
+
# * {Types::ModifyCapacityReservationOutput#minimum_load_balancer_capacity #minimum_load_balancer_capacity} => Types::MinimumLoadBalancerCapacity
|
3542
|
+
# * {Types::ModifyCapacityReservationOutput#capacity_reservation_state #capacity_reservation_state} => Array<Types::ZonalCapacityReservationState>
|
3543
|
+
#
|
3544
|
+
# @example Request syntax with placeholder values
|
3545
|
+
#
|
3546
|
+
# resp = client.modify_capacity_reservation({
|
3547
|
+
# load_balancer_arn: "LoadBalancerArn", # required
|
3548
|
+
# minimum_load_balancer_capacity: {
|
3549
|
+
# capacity_units: 1,
|
3550
|
+
# },
|
3551
|
+
# reset_capacity_reservation: false,
|
3552
|
+
# })
|
3553
|
+
#
|
3554
|
+
# @example Response structure
|
3555
|
+
#
|
3556
|
+
# resp.last_modified_time #=> Time
|
3557
|
+
# resp.decrease_requests_remaining #=> Integer
|
3558
|
+
# resp.minimum_load_balancer_capacity.capacity_units #=> Integer
|
3559
|
+
# resp.capacity_reservation_state #=> Array
|
3560
|
+
# resp.capacity_reservation_state[0].state.code #=> String, one of "provisioned", "pending", "rebalancing", "failed"
|
3561
|
+
# resp.capacity_reservation_state[0].state.reason #=> String
|
3562
|
+
# resp.capacity_reservation_state[0].availability_zone #=> String
|
3563
|
+
# resp.capacity_reservation_state[0].effective_capacity_units #=> Float
|
3564
|
+
#
|
3565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyCapacityReservation AWS API Documentation
|
3566
|
+
#
|
3567
|
+
# @overload modify_capacity_reservation(params = {})
|
3568
|
+
# @param [Hash] params ({})
|
3569
|
+
def modify_capacity_reservation(params = {}, options = {})
|
3570
|
+
req = build_request(:modify_capacity_reservation, params)
|
3571
|
+
req.send_request(options)
|
3572
|
+
end
|
3573
|
+
|
3484
3574
|
# Replaces the specified properties of the specified listener. Any
|
3485
3575
|
# properties that you do not specify remain unchanged.
|
3486
3576
|
#
|
@@ -5096,7 +5186,7 @@ module Aws::ElasticLoadBalancingV2
|
|
5096
5186
|
tracer: tracer
|
5097
5187
|
)
|
5098
5188
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
5099
|
-
context[:gem_version] = '1.
|
5189
|
+
context[:gem_version] = '1.124.0'
|
5100
5190
|
Seahorse::Client::Request.new(handlers, context)
|
5101
5191
|
end
|
5102
5192
|
|
@@ -63,6 +63,13 @@ module Aws::ElasticLoadBalancingV2
|
|
63
63
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
64
64
|
CaCertificatesBundleNotFoundException = Shapes::StructureShape.new(name: 'CaCertificatesBundleNotFoundException', error: {"code"=>"CaCertificatesBundleNotFound", "httpStatusCode"=>400, "senderFault"=>true})
|
65
65
|
CanonicalHostedZoneId = Shapes::StringShape.new(name: 'CanonicalHostedZoneId')
|
66
|
+
CapacityDecreaseRequestsLimitExceededException = Shapes::StructureShape.new(name: 'CapacityDecreaseRequestsLimitExceededException', error: {"code"=>"CapacityDecreaseRequestLimitExceeded", "httpStatusCode"=>400, "senderFault"=>true})
|
67
|
+
CapacityReservationPendingException = Shapes::StructureShape.new(name: 'CapacityReservationPendingException', error: {"code"=>"CapacityReservationPending", "httpStatusCode"=>400, "senderFault"=>true})
|
68
|
+
CapacityReservationStateEnum = Shapes::StringShape.new(name: 'CapacityReservationStateEnum')
|
69
|
+
CapacityReservationStatus = Shapes::StructureShape.new(name: 'CapacityReservationStatus')
|
70
|
+
CapacityUnits = Shapes::IntegerShape.new(name: 'CapacityUnits')
|
71
|
+
CapacityUnitsDouble = Shapes::FloatShape.new(name: 'CapacityUnitsDouble')
|
72
|
+
CapacityUnitsLimitExceededException = Shapes::StructureShape.new(name: 'CapacityUnitsLimitExceededException', error: {"code"=>"CapacityUnitsLimitExceeded", "httpStatusCode"=>400, "senderFault"=>true})
|
66
73
|
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
67
74
|
CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
|
68
75
|
CertificateList = Shapes::ListShape.new(name: 'CertificateList')
|
@@ -85,6 +92,7 @@ module Aws::ElasticLoadBalancingV2
|
|
85
92
|
CreatedTime = Shapes::TimestampShape.new(name: 'CreatedTime')
|
86
93
|
CustomerOwnedIpv4Pool = Shapes::StringShape.new(name: 'CustomerOwnedIpv4Pool')
|
87
94
|
DNSName = Shapes::StringShape.new(name: 'DNSName')
|
95
|
+
DecreaseRequestsRemaining = Shapes::IntegerShape.new(name: 'DecreaseRequestsRemaining')
|
88
96
|
Default = Shapes::BooleanShape.new(name: 'Default')
|
89
97
|
DeleteAssociationSameAccountException = Shapes::StructureShape.new(name: 'DeleteAssociationSameAccountException', error: {"code"=>"DeleteAssociationSameAccount", "httpStatusCode"=>400, "senderFault"=>true})
|
90
98
|
DeleteListenerInput = Shapes::StructureShape.new(name: 'DeleteListenerInput')
|
@@ -103,6 +111,8 @@ module Aws::ElasticLoadBalancingV2
|
|
103
111
|
DeregisterTargetsOutput = Shapes::StructureShape.new(name: 'DeregisterTargetsOutput')
|
104
112
|
DescribeAccountLimitsInput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsInput')
|
105
113
|
DescribeAccountLimitsOutput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsOutput')
|
114
|
+
DescribeCapacityReservationInput = Shapes::StructureShape.new(name: 'DescribeCapacityReservationInput')
|
115
|
+
DescribeCapacityReservationOutput = Shapes::StructureShape.new(name: 'DescribeCapacityReservationOutput')
|
106
116
|
DescribeListenerAttributesInput = Shapes::StructureShape.new(name: 'DescribeListenerAttributesInput')
|
107
117
|
DescribeListenerAttributesOutput = Shapes::StructureShape.new(name: 'DescribeListenerAttributesOutput')
|
108
118
|
DescribeListenerCertificatesInput = Shapes::StructureShape.new(name: 'DescribeListenerCertificatesInput')
|
@@ -169,6 +179,7 @@ module Aws::ElasticLoadBalancingV2
|
|
169
179
|
IPv6Address = Shapes::StringShape.new(name: 'IPv6Address')
|
170
180
|
IgnoreClientCertificateExpiry = Shapes::BooleanShape.new(name: 'IgnoreClientCertificateExpiry')
|
171
181
|
IncompatibleProtocolsException = Shapes::StructureShape.new(name: 'IncompatibleProtocolsException', error: {"code"=>"IncompatibleProtocols", "httpStatusCode"=>400, "senderFault"=>true})
|
182
|
+
InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException', error: {"code"=>"InsufficientCapacity", "httpStatusCode"=>500})
|
172
183
|
InvalidCaCertificatesBundleException = Shapes::StructureShape.new(name: 'InvalidCaCertificatesBundleException', error: {"code"=>"InvalidCaCertificatesBundle", "httpStatusCode"=>400, "senderFault"=>true})
|
173
184
|
InvalidConfigurationRequestException = Shapes::StructureShape.new(name: 'InvalidConfigurationRequestException', error: {"code"=>"InvalidConfigurationRequest", "httpStatusCode"=>400, "senderFault"=>true})
|
174
185
|
InvalidLoadBalancerActionException = Shapes::StructureShape.new(name: 'InvalidLoadBalancerActionException', error: {"code"=>"InvalidLoadBalancerAction", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -180,6 +191,7 @@ module Aws::ElasticLoadBalancingV2
|
|
180
191
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
181
192
|
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
182
193
|
IsDefault = Shapes::BooleanShape.new(name: 'IsDefault')
|
194
|
+
LastModifiedTime = Shapes::TimestampShape.new(name: 'LastModifiedTime')
|
183
195
|
Limit = Shapes::StructureShape.new(name: 'Limit')
|
184
196
|
Limits = Shapes::ListShape.new(name: 'Limits')
|
185
197
|
ListOfDescribeTargetHealthIncludeOptions = Shapes::ListShape.new(name: 'ListOfDescribeTargetHealthIncludeOptions')
|
@@ -214,8 +226,11 @@ module Aws::ElasticLoadBalancingV2
|
|
214
226
|
Marker = Shapes::StringShape.new(name: 'Marker')
|
215
227
|
Matcher = Shapes::StructureShape.new(name: 'Matcher')
|
216
228
|
Max = Shapes::StringShape.new(name: 'Max')
|
229
|
+
MinimumLoadBalancerCapacity = Shapes::StructureShape.new(name: 'MinimumLoadBalancerCapacity')
|
217
230
|
MitigationInEffectEnum = Shapes::StringShape.new(name: 'MitigationInEffectEnum')
|
218
231
|
Mode = Shapes::StringShape.new(name: 'Mode')
|
232
|
+
ModifyCapacityReservationInput = Shapes::StructureShape.new(name: 'ModifyCapacityReservationInput')
|
233
|
+
ModifyCapacityReservationOutput = Shapes::StructureShape.new(name: 'ModifyCapacityReservationOutput')
|
219
234
|
ModifyListenerAttributesInput = Shapes::StructureShape.new(name: 'ModifyListenerAttributesInput')
|
220
235
|
ModifyListenerAttributesOutput = Shapes::StructureShape.new(name: 'ModifyListenerAttributesOutput')
|
221
236
|
ModifyListenerInput = Shapes::StructureShape.new(name: 'ModifyListenerInput')
|
@@ -241,6 +256,7 @@ module Aws::ElasticLoadBalancingV2
|
|
241
256
|
PathPatternConditionConfig = Shapes::StructureShape.new(name: 'PathPatternConditionConfig')
|
242
257
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
243
258
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
259
|
+
PriorRequestNotCompleteException = Shapes::StructureShape.new(name: 'PriorRequestNotCompleteException', error: {"code"=>"PriorRequestNotComplete", "httpStatusCode"=>429, "senderFault"=>true})
|
244
260
|
PriorityInUseException = Shapes::StructureShape.new(name: 'PriorityInUseException', error: {"code"=>"PriorityInUse", "httpStatusCode"=>400, "senderFault"=>true})
|
245
261
|
PrivateIPv4Address = Shapes::StringShape.new(name: 'PrivateIPv4Address')
|
246
262
|
ProtocolEnum = Shapes::StringShape.new(name: 'ProtocolEnum')
|
@@ -263,6 +279,7 @@ module Aws::ElasticLoadBalancingV2
|
|
263
279
|
RemoveTagsOutput = Shapes::StructureShape.new(name: 'RemoveTagsOutput')
|
264
280
|
RemoveTrustStoreRevocationsInput = Shapes::StructureShape.new(name: 'RemoveTrustStoreRevocationsInput')
|
265
281
|
RemoveTrustStoreRevocationsOutput = Shapes::StructureShape.new(name: 'RemoveTrustStoreRevocationsOutput')
|
282
|
+
ResetCapacityReservation = Shapes::BooleanShape.new(name: 'ResetCapacityReservation')
|
266
283
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
267
284
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
268
285
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException', error: {"code"=>"ResourceInUse", "httpStatusCode"=>400, "senderFault"=>true})
|
@@ -384,6 +401,8 @@ module Aws::ElasticLoadBalancingV2
|
|
384
401
|
TrustStores = Shapes::ListShape.new(name: 'TrustStores')
|
385
402
|
UnsupportedProtocolException = Shapes::StructureShape.new(name: 'UnsupportedProtocolException', error: {"code"=>"UnsupportedProtocol", "httpStatusCode"=>400, "senderFault"=>true})
|
386
403
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
404
|
+
ZonalCapacityReservationState = Shapes::StructureShape.new(name: 'ZonalCapacityReservationState')
|
405
|
+
ZonalCapacityReservationStates = Shapes::ListShape.new(name: 'ZonalCapacityReservationStates')
|
387
406
|
ZoneName = Shapes::StringShape.new(name: 'ZoneName')
|
388
407
|
|
389
408
|
ALPNPolicyNotSupportedException.struct_class = Types::ALPNPolicyNotSupportedException
|
@@ -476,6 +495,16 @@ module Aws::ElasticLoadBalancingV2
|
|
476
495
|
|
477
496
|
CaCertificatesBundleNotFoundException.struct_class = Types::CaCertificatesBundleNotFoundException
|
478
497
|
|
498
|
+
CapacityDecreaseRequestsLimitExceededException.struct_class = Types::CapacityDecreaseRequestsLimitExceededException
|
499
|
+
|
500
|
+
CapacityReservationPendingException.struct_class = Types::CapacityReservationPendingException
|
501
|
+
|
502
|
+
CapacityReservationStatus.add_member(:code, Shapes::ShapeRef.new(shape: CapacityReservationStateEnum, location_name: "Code"))
|
503
|
+
CapacityReservationStatus.add_member(:reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "Reason"))
|
504
|
+
CapacityReservationStatus.struct_class = Types::CapacityReservationStatus
|
505
|
+
|
506
|
+
CapacityUnitsLimitExceededException.struct_class = Types::CapacityUnitsLimitExceededException
|
507
|
+
|
479
508
|
Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "CertificateArn"))
|
480
509
|
Certificate.add_member(:is_default, Shapes::ShapeRef.new(shape: Default, location_name: "IsDefault"))
|
481
510
|
Certificate.struct_class = Types::Certificate
|
@@ -608,6 +637,15 @@ module Aws::ElasticLoadBalancingV2
|
|
608
637
|
DescribeAccountLimitsOutput.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
|
609
638
|
DescribeAccountLimitsOutput.struct_class = Types::DescribeAccountLimitsOutput
|
610
639
|
|
640
|
+
DescribeCapacityReservationInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
641
|
+
DescribeCapacityReservationInput.struct_class = Types::DescribeCapacityReservationInput
|
642
|
+
|
643
|
+
DescribeCapacityReservationOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "LastModifiedTime"))
|
644
|
+
DescribeCapacityReservationOutput.add_member(:decrease_requests_remaining, Shapes::ShapeRef.new(shape: DecreaseRequestsRemaining, location_name: "DecreaseRequestsRemaining"))
|
645
|
+
DescribeCapacityReservationOutput.add_member(:minimum_load_balancer_capacity, Shapes::ShapeRef.new(shape: MinimumLoadBalancerCapacity, location_name: "MinimumLoadBalancerCapacity"))
|
646
|
+
DescribeCapacityReservationOutput.add_member(:capacity_reservation_state, Shapes::ShapeRef.new(shape: ZonalCapacityReservationStates, location_name: "CapacityReservationState"))
|
647
|
+
DescribeCapacityReservationOutput.struct_class = Types::DescribeCapacityReservationOutput
|
648
|
+
|
611
649
|
DescribeListenerAttributesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
|
612
650
|
DescribeListenerAttributesInput.struct_class = Types::DescribeListenerAttributesInput
|
613
651
|
|
@@ -789,6 +827,8 @@ module Aws::ElasticLoadBalancingV2
|
|
789
827
|
|
790
828
|
IncompatibleProtocolsException.struct_class = Types::IncompatibleProtocolsException
|
791
829
|
|
830
|
+
InsufficientCapacityException.struct_class = Types::InsufficientCapacityException
|
831
|
+
|
792
832
|
InvalidCaCertificatesBundleException.struct_class = Types::InvalidCaCertificatesBundleException
|
793
833
|
|
794
834
|
InvalidConfigurationRequestException.struct_class = Types::InvalidConfigurationRequestException
|
@@ -885,6 +925,20 @@ module Aws::ElasticLoadBalancingV2
|
|
885
925
|
Matcher.add_member(:grpc_code, Shapes::ShapeRef.new(shape: GrpcCode, location_name: "GrpcCode"))
|
886
926
|
Matcher.struct_class = Types::Matcher
|
887
927
|
|
928
|
+
MinimumLoadBalancerCapacity.add_member(:capacity_units, Shapes::ShapeRef.new(shape: CapacityUnits, location_name: "CapacityUnits"))
|
929
|
+
MinimumLoadBalancerCapacity.struct_class = Types::MinimumLoadBalancerCapacity
|
930
|
+
|
931
|
+
ModifyCapacityReservationInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
932
|
+
ModifyCapacityReservationInput.add_member(:minimum_load_balancer_capacity, Shapes::ShapeRef.new(shape: MinimumLoadBalancerCapacity, location_name: "MinimumLoadBalancerCapacity"))
|
933
|
+
ModifyCapacityReservationInput.add_member(:reset_capacity_reservation, Shapes::ShapeRef.new(shape: ResetCapacityReservation, location_name: "ResetCapacityReservation"))
|
934
|
+
ModifyCapacityReservationInput.struct_class = Types::ModifyCapacityReservationInput
|
935
|
+
|
936
|
+
ModifyCapacityReservationOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "LastModifiedTime"))
|
937
|
+
ModifyCapacityReservationOutput.add_member(:decrease_requests_remaining, Shapes::ShapeRef.new(shape: DecreaseRequestsRemaining, location_name: "DecreaseRequestsRemaining"))
|
938
|
+
ModifyCapacityReservationOutput.add_member(:minimum_load_balancer_capacity, Shapes::ShapeRef.new(shape: MinimumLoadBalancerCapacity, location_name: "MinimumLoadBalancerCapacity"))
|
939
|
+
ModifyCapacityReservationOutput.add_member(:capacity_reservation_state, Shapes::ShapeRef.new(shape: ZonalCapacityReservationStates, location_name: "CapacityReservationState"))
|
940
|
+
ModifyCapacityReservationOutput.struct_class = Types::ModifyCapacityReservationOutput
|
941
|
+
|
888
942
|
ModifyListenerAttributesInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
|
889
943
|
ModifyListenerAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: ListenerAttributes, required: true, location_name: "Attributes"))
|
890
944
|
ModifyListenerAttributesInput.struct_class = Types::ModifyListenerAttributesInput
|
@@ -962,6 +1016,8 @@ module Aws::ElasticLoadBalancingV2
|
|
962
1016
|
PathPatternConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
963
1017
|
PathPatternConditionConfig.struct_class = Types::PathPatternConditionConfig
|
964
1018
|
|
1019
|
+
PriorRequestNotCompleteException.struct_class = Types::PriorRequestNotCompleteException
|
1020
|
+
|
965
1021
|
PriorityInUseException.struct_class = Types::PriorityInUseException
|
966
1022
|
|
967
1023
|
QueryStringConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: QueryStringKeyValuePairList, location_name: "Values"))
|
@@ -1265,6 +1321,13 @@ module Aws::ElasticLoadBalancingV2
|
|
1265
1321
|
|
1266
1322
|
UnsupportedProtocolException.struct_class = Types::UnsupportedProtocolException
|
1267
1323
|
|
1324
|
+
ZonalCapacityReservationState.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationStatus, location_name: "State"))
|
1325
|
+
ZonalCapacityReservationState.add_member(:availability_zone, Shapes::ShapeRef.new(shape: ZoneName, location_name: "AvailabilityZone"))
|
1326
|
+
ZonalCapacityReservationState.add_member(:effective_capacity_units, Shapes::ShapeRef.new(shape: CapacityUnitsDouble, location_name: "EffectiveCapacityUnits"))
|
1327
|
+
ZonalCapacityReservationState.struct_class = Types::ZonalCapacityReservationState
|
1328
|
+
|
1329
|
+
ZonalCapacityReservationStates.member = Shapes::ShapeRef.new(shape: ZonalCapacityReservationState)
|
1330
|
+
|
1268
1331
|
|
1269
1332
|
# @api private
|
1270
1333
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1500,6 +1563,15 @@ module Aws::ElasticLoadBalancingV2
|
|
1500
1563
|
o.output = Shapes::ShapeRef.new(shape: DescribeAccountLimitsOutput)
|
1501
1564
|
end)
|
1502
1565
|
|
1566
|
+
api.add_operation(:describe_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
|
1567
|
+
o.name = "DescribeCapacityReservation"
|
1568
|
+
o.http_method = "POST"
|
1569
|
+
o.http_request_uri = "/"
|
1570
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCapacityReservationInput)
|
1571
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCapacityReservationOutput)
|
1572
|
+
o.errors << Shapes::ShapeRef.new(shape: LoadBalancerNotFoundException)
|
1573
|
+
end)
|
1574
|
+
|
1503
1575
|
api.add_operation(:describe_listener_attributes, Seahorse::Model::Operation.new.tap do |o|
|
1504
1576
|
o.name = "DescribeListenerAttributes"
|
1505
1577
|
o.http_method = "POST"
|
@@ -1709,6 +1781,22 @@ module Aws::ElasticLoadBalancingV2
|
|
1709
1781
|
o.errors << Shapes::ShapeRef.new(shape: RevocationIdNotFoundException)
|
1710
1782
|
end)
|
1711
1783
|
|
1784
|
+
api.add_operation(:modify_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
|
1785
|
+
o.name = "ModifyCapacityReservation"
|
1786
|
+
o.http_method = "POST"
|
1787
|
+
o.http_request_uri = "/"
|
1788
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyCapacityReservationInput)
|
1789
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyCapacityReservationOutput)
|
1790
|
+
o.errors << Shapes::ShapeRef.new(shape: LoadBalancerNotFoundException)
|
1791
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidConfigurationRequestException)
|
1792
|
+
o.errors << Shapes::ShapeRef.new(shape: CapacityUnitsLimitExceededException)
|
1793
|
+
o.errors << Shapes::ShapeRef.new(shape: CapacityReservationPendingException)
|
1794
|
+
o.errors << Shapes::ShapeRef.new(shape: InsufficientCapacityException)
|
1795
|
+
o.errors << Shapes::ShapeRef.new(shape: CapacityDecreaseRequestsLimitExceededException)
|
1796
|
+
o.errors << Shapes::ShapeRef.new(shape: PriorRequestNotCompleteException)
|
1797
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
1798
|
+
end)
|
1799
|
+
|
1712
1800
|
api.add_operation(:modify_listener, Seahorse::Model::Operation.new.tap do |o|
|
1713
1801
|
o.name = "ModifyListener"
|
1714
1802
|
o.http_method = "POST"
|
@@ -1897,6 +1985,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1897
1985
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnetException)
|
1898
1986
|
o.errors << Shapes::ShapeRef.new(shape: AllocationIdNotFoundException)
|
1899
1987
|
o.errors << Shapes::ShapeRef.new(shape: AvailabilityZoneNotSupportedException)
|
1988
|
+
o.errors << Shapes::ShapeRef.new(shape: CapacityReservationPendingException)
|
1900
1989
|
end)
|
1901
1990
|
end
|
1902
1991
|
|
@@ -31,6 +31,9 @@ module Aws::ElasticLoadBalancingV2
|
|
31
31
|
# * {AllocationIdNotFoundException}
|
32
32
|
# * {AvailabilityZoneNotSupportedException}
|
33
33
|
# * {CaCertificatesBundleNotFoundException}
|
34
|
+
# * {CapacityDecreaseRequestsLimitExceededException}
|
35
|
+
# * {CapacityReservationPendingException}
|
36
|
+
# * {CapacityUnitsLimitExceededException}
|
34
37
|
# * {CertificateNotFoundException}
|
35
38
|
# * {DeleteAssociationSameAccountException}
|
36
39
|
# * {DuplicateListenerException}
|
@@ -40,6 +43,7 @@ module Aws::ElasticLoadBalancingV2
|
|
40
43
|
# * {DuplicateTrustStoreNameException}
|
41
44
|
# * {HealthUnavailableException}
|
42
45
|
# * {IncompatibleProtocolsException}
|
46
|
+
# * {InsufficientCapacityException}
|
43
47
|
# * {InvalidCaCertificatesBundleException}
|
44
48
|
# * {InvalidConfigurationRequestException}
|
45
49
|
# * {InvalidLoadBalancerActionException}
|
@@ -51,6 +55,7 @@ module Aws::ElasticLoadBalancingV2
|
|
51
55
|
# * {ListenerNotFoundException}
|
52
56
|
# * {LoadBalancerNotFoundException}
|
53
57
|
# * {OperationNotPermittedException}
|
58
|
+
# * {PriorRequestNotCompleteException}
|
54
59
|
# * {PriorityInUseException}
|
55
60
|
# * {ResourceInUseException}
|
56
61
|
# * {ResourceNotFoundException}
|
@@ -125,6 +130,36 @@ module Aws::ElasticLoadBalancingV2
|
|
125
130
|
end
|
126
131
|
end
|
127
132
|
|
133
|
+
class CapacityDecreaseRequestsLimitExceededException < ServiceError
|
134
|
+
|
135
|
+
# @param [Seahorse::Client::RequestContext] context
|
136
|
+
# @param [String] message
|
137
|
+
# @param [Aws::ElasticLoadBalancingV2::Types::CapacityDecreaseRequestsLimitExceededException] data
|
138
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
139
|
+
super(context, message, data)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
class CapacityReservationPendingException < ServiceError
|
144
|
+
|
145
|
+
# @param [Seahorse::Client::RequestContext] context
|
146
|
+
# @param [String] message
|
147
|
+
# @param [Aws::ElasticLoadBalancingV2::Types::CapacityReservationPendingException] data
|
148
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
149
|
+
super(context, message, data)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
class CapacityUnitsLimitExceededException < ServiceError
|
154
|
+
|
155
|
+
# @param [Seahorse::Client::RequestContext] context
|
156
|
+
# @param [String] message
|
157
|
+
# @param [Aws::ElasticLoadBalancingV2::Types::CapacityUnitsLimitExceededException] data
|
158
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
159
|
+
super(context, message, data)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
128
163
|
class CertificateNotFoundException < ServiceError
|
129
164
|
|
130
165
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -215,6 +250,16 @@ module Aws::ElasticLoadBalancingV2
|
|
215
250
|
end
|
216
251
|
end
|
217
252
|
|
253
|
+
class InsufficientCapacityException < ServiceError
|
254
|
+
|
255
|
+
# @param [Seahorse::Client::RequestContext] context
|
256
|
+
# @param [String] message
|
257
|
+
# @param [Aws::ElasticLoadBalancingV2::Types::InsufficientCapacityException] data
|
258
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
259
|
+
super(context, message, data)
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
218
263
|
class InvalidCaCertificatesBundleException < ServiceError
|
219
264
|
|
220
265
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -325,6 +370,16 @@ module Aws::ElasticLoadBalancingV2
|
|
325
370
|
end
|
326
371
|
end
|
327
372
|
|
373
|
+
class PriorRequestNotCompleteException < ServiceError
|
374
|
+
|
375
|
+
# @param [Seahorse::Client::RequestContext] context
|
376
|
+
# @param [String] message
|
377
|
+
# @param [Aws::ElasticLoadBalancingV2::Types::PriorRequestNotCompleteException] data
|
378
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
379
|
+
super(context, message, data)
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
328
383
|
class PriorityInUseException < ServiceError
|
329
384
|
|
330
385
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -430,6 +430,44 @@ module Aws::ElasticLoadBalancingV2
|
|
430
430
|
#
|
431
431
|
class CaCertificatesBundleNotFoundException < Aws::EmptyStructure; end
|
432
432
|
|
433
|
+
# You've exceeded the daily capacity decrease limit for this
|
434
|
+
# reservation.
|
435
|
+
#
|
436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CapacityDecreaseRequestsLimitExceededException AWS API Documentation
|
437
|
+
#
|
438
|
+
class CapacityDecreaseRequestsLimitExceededException < Aws::EmptyStructure; end
|
439
|
+
|
440
|
+
# There is a pending capacity reservation.
|
441
|
+
#
|
442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CapacityReservationPendingException AWS API Documentation
|
443
|
+
#
|
444
|
+
class CapacityReservationPendingException < Aws::EmptyStructure; end
|
445
|
+
|
446
|
+
# The status of a capacity reservation.
|
447
|
+
#
|
448
|
+
# @!attribute [rw] code
|
449
|
+
# The status code.
|
450
|
+
# @return [String]
|
451
|
+
#
|
452
|
+
# @!attribute [rw] reason
|
453
|
+
# The reason code for the status.
|
454
|
+
# @return [String]
|
455
|
+
#
|
456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CapacityReservationStatus AWS API Documentation
|
457
|
+
#
|
458
|
+
class CapacityReservationStatus < Struct.new(
|
459
|
+
:code,
|
460
|
+
:reason)
|
461
|
+
SENSITIVE = []
|
462
|
+
include Aws::Structure
|
463
|
+
end
|
464
|
+
|
465
|
+
# You've exceeded the capacity units limit.
|
466
|
+
#
|
467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CapacityUnitsLimitExceededException AWS API Documentation
|
468
|
+
#
|
469
|
+
class CapacityUnitsLimitExceededException < Aws::EmptyStructure; end
|
470
|
+
|
433
471
|
# Information about an SSL server certificate.
|
434
472
|
#
|
435
473
|
# @!attribute [rw] certificate_arn
|
@@ -1157,6 +1195,45 @@ module Aws::ElasticLoadBalancingV2
|
|
1157
1195
|
include Aws::Structure
|
1158
1196
|
end
|
1159
1197
|
|
1198
|
+
# @!attribute [rw] load_balancer_arn
|
1199
|
+
# The Amazon Resource Name (ARN) of the load balancer.
|
1200
|
+
# @return [String]
|
1201
|
+
#
|
1202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeCapacityReservationInput AWS API Documentation
|
1203
|
+
#
|
1204
|
+
class DescribeCapacityReservationInput < Struct.new(
|
1205
|
+
:load_balancer_arn)
|
1206
|
+
SENSITIVE = []
|
1207
|
+
include Aws::Structure
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# @!attribute [rw] last_modified_time
|
1211
|
+
# The last time the capacity reservation was modified.
|
1212
|
+
# @return [Time]
|
1213
|
+
#
|
1214
|
+
# @!attribute [rw] decrease_requests_remaining
|
1215
|
+
# The amount of daily capacity decreases remaining.
|
1216
|
+
# @return [Integer]
|
1217
|
+
#
|
1218
|
+
# @!attribute [rw] minimum_load_balancer_capacity
|
1219
|
+
# The requested minimum capacity reservation for the load balancer
|
1220
|
+
# @return [Types::MinimumLoadBalancerCapacity]
|
1221
|
+
#
|
1222
|
+
# @!attribute [rw] capacity_reservation_state
|
1223
|
+
# The state of the capacity reservation.
|
1224
|
+
# @return [Array<Types::ZonalCapacityReservationState>]
|
1225
|
+
#
|
1226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeCapacityReservationOutput AWS API Documentation
|
1227
|
+
#
|
1228
|
+
class DescribeCapacityReservationOutput < Struct.new(
|
1229
|
+
:last_modified_time,
|
1230
|
+
:decrease_requests_remaining,
|
1231
|
+
:minimum_load_balancer_capacity,
|
1232
|
+
:capacity_reservation_state)
|
1233
|
+
SENSITIVE = []
|
1234
|
+
include Aws::Structure
|
1235
|
+
end
|
1236
|
+
|
1160
1237
|
# @!attribute [rw] listener_arn
|
1161
1238
|
# The Amazon Resource Name (ARN) of the listener.
|
1162
1239
|
# @return [String]
|
@@ -1983,6 +2060,12 @@ module Aws::ElasticLoadBalancingV2
|
|
1983
2060
|
#
|
1984
2061
|
class IncompatibleProtocolsException < Aws::EmptyStructure; end
|
1985
2062
|
|
2063
|
+
# There is insufficient capacity to reserve.
|
2064
|
+
#
|
2065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/InsufficientCapacityException AWS API Documentation
|
2066
|
+
#
|
2067
|
+
class InsufficientCapacityException < Aws::EmptyStructure; end
|
2068
|
+
|
1986
2069
|
# The specified ca certificate bundle is in an invalid format, or
|
1987
2070
|
# corrupt.
|
1988
2071
|
#
|
@@ -2173,6 +2256,83 @@ module Aws::ElasticLoadBalancingV2
|
|
2173
2256
|
# seconds.
|
2174
2257
|
#
|
2175
2258
|
# ^
|
2259
|
+
#
|
2260
|
+
# The following attributes are only supported by Application Load
|
2261
|
+
# Balancers.
|
2262
|
+
#
|
2263
|
+
# * `routing.http.request.x_amzn_mtls_clientcert_serial_number.header_name`
|
2264
|
+
# - Enables you to modify the header name of the
|
2265
|
+
# **X-Amzn-Mtls-Clientcert-Serial-Number** HTTP request header.
|
2266
|
+
#
|
2267
|
+
# * `routing.http.request.x_amzn_mtls_clientcert_issuer.header_name` -
|
2268
|
+
# Enables you to modify the header name of the
|
2269
|
+
# **X-Amzn-Mtls-Clientcert-Issuer** HTTP request header.
|
2270
|
+
#
|
2271
|
+
# * `routing.http.request.x_amzn_mtls_clientcert_subject.header_name`
|
2272
|
+
# - Enables you to modify the header name of the
|
2273
|
+
# **X-Amzn-Mtls-Clientcert-Subject** HTTP request header.
|
2274
|
+
#
|
2275
|
+
# * `routing.http.request.x_amzn_mtls_clientcert_validity.header_name`
|
2276
|
+
# - Enables you to modify the header name of the
|
2277
|
+
# **X-Amzn-Mtls-Clientcert-Validity** HTTP request header.
|
2278
|
+
#
|
2279
|
+
# * `routing.http.request.x_amzn_mtls_clientcert_leaf.header_name` -
|
2280
|
+
# Enables you to modify the header name of the
|
2281
|
+
# **X-Amzn-Mtls-Clientcert-Leaf** HTTP request header.
|
2282
|
+
#
|
2283
|
+
# * `routing.http.request.x_amzn_mtls_clientcert.header_name` -
|
2284
|
+
# Enables you to modify the header name of the
|
2285
|
+
# **X-Amzn-Mtls-Clientcert** HTTP request header.
|
2286
|
+
#
|
2287
|
+
# * `routing.http.request.x_amzn_tls_version.header_name` - Enables
|
2288
|
+
# you to modify the header name of the **X-Amzn-Tls-Version** HTTP
|
2289
|
+
# request header.
|
2290
|
+
#
|
2291
|
+
# * `routing.http.request.x_amzn_tls_cipher_suite.header_name` -
|
2292
|
+
# Enables you to modify the header name of the
|
2293
|
+
# **X-Amzn-Tls-Cipher-Suite** HTTP request header.
|
2294
|
+
#
|
2295
|
+
# * `routing.http.response.server.enabled` - Enables you to allow or
|
2296
|
+
# remove the HTTP response server header.
|
2297
|
+
#
|
2298
|
+
# * `routing.http.response.strict_transport_security.header_value` -
|
2299
|
+
# Informs browsers that the site should only be accessed using
|
2300
|
+
# HTTPS, and that any future attempts to access it using HTTP should
|
2301
|
+
# automatically be converted to HTTPS.
|
2302
|
+
#
|
2303
|
+
# * `routing.http.response.access_control_allow_origin.header_value` -
|
2304
|
+
# Specifies which origins are allowed to access the server.
|
2305
|
+
#
|
2306
|
+
# * `routing.http.response.access_control_allow_methods.header_value`
|
2307
|
+
# - Returns which HTTP methods are allowed when accessing the server
|
2308
|
+
# from a different origin.
|
2309
|
+
#
|
2310
|
+
# * `routing.http.response.access_control_allow_headers.header_value`
|
2311
|
+
# - Specifies which headers can be used during the request.
|
2312
|
+
#
|
2313
|
+
# * `routing.http.response.access_control_allow_credentials.header_value`
|
2314
|
+
# - Indicates whether the browser should include credentials such as
|
2315
|
+
# cookies or authentication when making requests.
|
2316
|
+
#
|
2317
|
+
# * `routing.http.response.access_control_expose_headers.header_value`
|
2318
|
+
# - Returns which headers the browser can expose to the requesting
|
2319
|
+
# client.
|
2320
|
+
#
|
2321
|
+
# * `routing.http.response.access_control_max_age.header_value` -
|
2322
|
+
# Specifies how long the results of a preflight request can be
|
2323
|
+
# cached, in seconds.
|
2324
|
+
#
|
2325
|
+
# * `routing.http.response.content_security_policy.header_value` -
|
2326
|
+
# Specifies restrictions enforced by the browser to help minimize
|
2327
|
+
# the risk of certain types of security threats.
|
2328
|
+
#
|
2329
|
+
# * `routing.http.response.x_content_type_options.header_value` -
|
2330
|
+
# Indicates whether the MIME types advertised in the
|
2331
|
+
# **Content-Type** headers should be followed and not be changed.
|
2332
|
+
#
|
2333
|
+
# * `routing.http.response.x_frame_options.header_value` - Indicates
|
2334
|
+
# whether the browser is allowed to render a page in a **frame**,
|
2335
|
+
# **iframe**, **embed** or **object**.
|
2176
2336
|
# @return [String]
|
2177
2337
|
#
|
2178
2338
|
# @!attribute [rw] value
|
@@ -2373,6 +2533,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2373
2533
|
# unintended access to your internal load balancer through an
|
2374
2534
|
# internet gateway.
|
2375
2535
|
#
|
2536
|
+
# * `zonal_shift.config.enabled` - Indicates whether zonal shift is
|
2537
|
+
# enabled. The possible values are `true` and `false`. The default
|
2538
|
+
# is `false`.
|
2539
|
+
#
|
2376
2540
|
# The following attributes are supported by only Application Load
|
2377
2541
|
# Balancers:
|
2378
2542
|
#
|
@@ -2465,9 +2629,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2465
2629
|
# percent zonal affinity, and `any_availability_zone` with 0 percent
|
2466
2630
|
# zonal affinity.
|
2467
2631
|
#
|
2468
|
-
#
|
2469
|
-
# enabled. The possible values are `true` and `false`. The default
|
2470
|
-
# is `false`.
|
2632
|
+
# ^
|
2471
2633
|
# @return [String]
|
2472
2634
|
#
|
2473
2635
|
# @!attribute [rw] value
|
@@ -2549,6 +2711,69 @@ module Aws::ElasticLoadBalancingV2
|
|
2549
2711
|
include Aws::Structure
|
2550
2712
|
end
|
2551
2713
|
|
2714
|
+
# The minimum capacity for a load balancer.
|
2715
|
+
#
|
2716
|
+
# @!attribute [rw] capacity_units
|
2717
|
+
# The number of capacity units.
|
2718
|
+
# @return [Integer]
|
2719
|
+
#
|
2720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/MinimumLoadBalancerCapacity AWS API Documentation
|
2721
|
+
#
|
2722
|
+
class MinimumLoadBalancerCapacity < Struct.new(
|
2723
|
+
:capacity_units)
|
2724
|
+
SENSITIVE = []
|
2725
|
+
include Aws::Structure
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
# @!attribute [rw] load_balancer_arn
|
2729
|
+
# The Amazon Resource Name (ARN) of the load balancer.
|
2730
|
+
# @return [String]
|
2731
|
+
#
|
2732
|
+
# @!attribute [rw] minimum_load_balancer_capacity
|
2733
|
+
# The minimum load balancer capacity reserved.
|
2734
|
+
# @return [Types::MinimumLoadBalancerCapacity]
|
2735
|
+
#
|
2736
|
+
# @!attribute [rw] reset_capacity_reservation
|
2737
|
+
# Resets the capacity reservation.
|
2738
|
+
# @return [Boolean]
|
2739
|
+
#
|
2740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyCapacityReservationInput AWS API Documentation
|
2741
|
+
#
|
2742
|
+
class ModifyCapacityReservationInput < Struct.new(
|
2743
|
+
:load_balancer_arn,
|
2744
|
+
:minimum_load_balancer_capacity,
|
2745
|
+
:reset_capacity_reservation)
|
2746
|
+
SENSITIVE = []
|
2747
|
+
include Aws::Structure
|
2748
|
+
end
|
2749
|
+
|
2750
|
+
# @!attribute [rw] last_modified_time
|
2751
|
+
# The last time the capacity reservation was modified.
|
2752
|
+
# @return [Time]
|
2753
|
+
#
|
2754
|
+
# @!attribute [rw] decrease_requests_remaining
|
2755
|
+
# The amount of daily capacity decreases remaining.
|
2756
|
+
# @return [Integer]
|
2757
|
+
#
|
2758
|
+
# @!attribute [rw] minimum_load_balancer_capacity
|
2759
|
+
# The requested minimum capacity reservation for the load balancer
|
2760
|
+
# @return [Types::MinimumLoadBalancerCapacity]
|
2761
|
+
#
|
2762
|
+
# @!attribute [rw] capacity_reservation_state
|
2763
|
+
# The state of the capacity reservation.
|
2764
|
+
# @return [Array<Types::ZonalCapacityReservationState>]
|
2765
|
+
#
|
2766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyCapacityReservationOutput AWS API Documentation
|
2767
|
+
#
|
2768
|
+
class ModifyCapacityReservationOutput < Struct.new(
|
2769
|
+
:last_modified_time,
|
2770
|
+
:decrease_requests_remaining,
|
2771
|
+
:minimum_load_balancer_capacity,
|
2772
|
+
:capacity_reservation_state)
|
2773
|
+
SENSITIVE = []
|
2774
|
+
include Aws::Structure
|
2775
|
+
end
|
2776
|
+
|
2552
2777
|
# @!attribute [rw] listener_arn
|
2553
2778
|
# The Amazon Resource Name (ARN) of the listener.
|
2554
2779
|
# @return [String]
|
@@ -2957,6 +3182,13 @@ module Aws::ElasticLoadBalancingV2
|
|
2957
3182
|
include Aws::Structure
|
2958
3183
|
end
|
2959
3184
|
|
3185
|
+
# This operation is not allowed while a prior request has not been
|
3186
|
+
# completed.
|
3187
|
+
#
|
3188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/PriorRequestNotCompleteException AWS API Documentation
|
3189
|
+
#
|
3190
|
+
class PriorRequestNotCompleteException < Aws::EmptyStructure; end
|
3191
|
+
|
2960
3192
|
# The specified priority is in use.
|
2961
3193
|
#
|
2962
3194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/PriorityInUseException AWS API Documentation
|
@@ -4473,6 +4705,30 @@ module Aws::ElasticLoadBalancingV2
|
|
4473
4705
|
#
|
4474
4706
|
class UnsupportedProtocolException < Aws::EmptyStructure; end
|
4475
4707
|
|
4708
|
+
# The capacity reservation status for each availability zone.
|
4709
|
+
#
|
4710
|
+
# @!attribute [rw] state
|
4711
|
+
# The state of the capacity reservation.
|
4712
|
+
# @return [Types::CapacityReservationStatus]
|
4713
|
+
#
|
4714
|
+
# @!attribute [rw] availability_zone
|
4715
|
+
# Information about the availability zone.
|
4716
|
+
# @return [String]
|
4717
|
+
#
|
4718
|
+
# @!attribute [rw] effective_capacity_units
|
4719
|
+
# The number of effective capacity units.
|
4720
|
+
# @return [Float]
|
4721
|
+
#
|
4722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ZonalCapacityReservationState AWS API Documentation
|
4723
|
+
#
|
4724
|
+
class ZonalCapacityReservationState < Struct.new(
|
4725
|
+
:state,
|
4726
|
+
:availability_zone,
|
4727
|
+
:effective_capacity_units)
|
4728
|
+
SENSITIVE = []
|
4729
|
+
include Aws::Structure
|
4730
|
+
end
|
4731
|
+
|
4476
4732
|
end
|
4477
4733
|
end
|
4478
4734
|
|
data/sig/client.rbs
CHANGED
@@ -483,6 +483,19 @@ module Aws
|
|
483
483
|
) -> _DescribeAccountLimitsResponseSuccess
|
484
484
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountLimitsResponseSuccess
|
485
485
|
|
486
|
+
interface _DescribeCapacityReservationResponseSuccess
|
487
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationOutput]
|
488
|
+
def last_modified_time: () -> ::Time
|
489
|
+
def decrease_requests_remaining: () -> ::Integer
|
490
|
+
def minimum_load_balancer_capacity: () -> Types::MinimumLoadBalancerCapacity
|
491
|
+
def capacity_reservation_state: () -> ::Array[Types::ZonalCapacityReservationState]
|
492
|
+
end
|
493
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticLoadBalancingV2/Client.html#describe_capacity_reservation-instance_method
|
494
|
+
def describe_capacity_reservation: (
|
495
|
+
load_balancer_arn: ::String
|
496
|
+
) -> _DescribeCapacityReservationResponseSuccess
|
497
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityReservationResponseSuccess
|
498
|
+
|
486
499
|
interface _DescribeListenerAttributesResponseSuccess
|
487
500
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeListenerAttributesOutput]
|
488
501
|
def attributes: () -> ::Array[Types::ListenerAttribute]
|
@@ -697,6 +710,23 @@ module Aws
|
|
697
710
|
) -> _GetTrustStoreRevocationContentResponseSuccess
|
698
711
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrustStoreRevocationContentResponseSuccess
|
699
712
|
|
713
|
+
interface _ModifyCapacityReservationResponseSuccess
|
714
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyCapacityReservationOutput]
|
715
|
+
def last_modified_time: () -> ::Time
|
716
|
+
def decrease_requests_remaining: () -> ::Integer
|
717
|
+
def minimum_load_balancer_capacity: () -> Types::MinimumLoadBalancerCapacity
|
718
|
+
def capacity_reservation_state: () -> ::Array[Types::ZonalCapacityReservationState]
|
719
|
+
end
|
720
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticLoadBalancingV2/Client.html#modify_capacity_reservation-instance_method
|
721
|
+
def modify_capacity_reservation: (
|
722
|
+
load_balancer_arn: ::String,
|
723
|
+
?minimum_load_balancer_capacity: {
|
724
|
+
capacity_units: ::Integer?
|
725
|
+
},
|
726
|
+
?reset_capacity_reservation: bool
|
727
|
+
) -> _ModifyCapacityReservationResponseSuccess
|
728
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyCapacityReservationResponseSuccess
|
729
|
+
|
700
730
|
interface _ModifyListenerResponseSuccess
|
701
731
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyListenerOutput]
|
702
732
|
def listeners: () -> ::Array[Types::Listener]
|
data/sig/errors.rbs
CHANGED
@@ -19,6 +19,12 @@ module Aws
|
|
19
19
|
end
|
20
20
|
class CaCertificatesBundleNotFoundException < ::Aws::Errors::ServiceError
|
21
21
|
end
|
22
|
+
class CapacityDecreaseRequestsLimitExceededException < ::Aws::Errors::ServiceError
|
23
|
+
end
|
24
|
+
class CapacityReservationPendingException < ::Aws::Errors::ServiceError
|
25
|
+
end
|
26
|
+
class CapacityUnitsLimitExceededException < ::Aws::Errors::ServiceError
|
27
|
+
end
|
22
28
|
class CertificateNotFoundException < ::Aws::Errors::ServiceError
|
23
29
|
end
|
24
30
|
class DeleteAssociationSameAccountException < ::Aws::Errors::ServiceError
|
@@ -37,6 +43,8 @@ module Aws
|
|
37
43
|
end
|
38
44
|
class IncompatibleProtocolsException < ::Aws::Errors::ServiceError
|
39
45
|
end
|
46
|
+
class InsufficientCapacityException < ::Aws::Errors::ServiceError
|
47
|
+
end
|
40
48
|
class InvalidCaCertificatesBundleException < ::Aws::Errors::ServiceError
|
41
49
|
end
|
42
50
|
class InvalidConfigurationRequestException < ::Aws::Errors::ServiceError
|
@@ -59,6 +67,8 @@ module Aws
|
|
59
67
|
end
|
60
68
|
class OperationNotPermittedException < ::Aws::Errors::ServiceError
|
61
69
|
end
|
70
|
+
class PriorRequestNotCompleteException < ::Aws::Errors::ServiceError
|
71
|
+
end
|
62
72
|
class PriorityInUseException < ::Aws::Errors::ServiceError
|
63
73
|
end
|
64
74
|
class ResourceInUseException < ::Aws::Errors::ServiceError
|
data/sig/types.rbs
CHANGED
@@ -113,6 +113,21 @@ module Aws::ElasticLoadBalancingV2
|
|
113
113
|
class CaCertificatesBundleNotFoundException < Aws::EmptyStructure
|
114
114
|
end
|
115
115
|
|
116
|
+
class CapacityDecreaseRequestsLimitExceededException < Aws::EmptyStructure
|
117
|
+
end
|
118
|
+
|
119
|
+
class CapacityReservationPendingException < Aws::EmptyStructure
|
120
|
+
end
|
121
|
+
|
122
|
+
class CapacityReservationStatus
|
123
|
+
attr_accessor code: ("provisioned" | "pending" | "rebalancing" | "failed")
|
124
|
+
attr_accessor reason: ::String
|
125
|
+
SENSITIVE: []
|
126
|
+
end
|
127
|
+
|
128
|
+
class CapacityUnitsLimitExceededException < Aws::EmptyStructure
|
129
|
+
end
|
130
|
+
|
116
131
|
class Certificate
|
117
132
|
attr_accessor certificate_arn: ::String
|
118
133
|
attr_accessor is_default: bool
|
@@ -292,6 +307,19 @@ module Aws::ElasticLoadBalancingV2
|
|
292
307
|
SENSITIVE: []
|
293
308
|
end
|
294
309
|
|
310
|
+
class DescribeCapacityReservationInput
|
311
|
+
attr_accessor load_balancer_arn: ::String
|
312
|
+
SENSITIVE: []
|
313
|
+
end
|
314
|
+
|
315
|
+
class DescribeCapacityReservationOutput
|
316
|
+
attr_accessor last_modified_time: ::Time
|
317
|
+
attr_accessor decrease_requests_remaining: ::Integer
|
318
|
+
attr_accessor minimum_load_balancer_capacity: Types::MinimumLoadBalancerCapacity
|
319
|
+
attr_accessor capacity_reservation_state: ::Array[Types::ZonalCapacityReservationState]
|
320
|
+
SENSITIVE: []
|
321
|
+
end
|
322
|
+
|
295
323
|
class DescribeListenerAttributesInput
|
296
324
|
attr_accessor listener_arn: ::String
|
297
325
|
SENSITIVE: []
|
@@ -558,6 +586,9 @@ module Aws::ElasticLoadBalancingV2
|
|
558
586
|
class IncompatibleProtocolsException < Aws::EmptyStructure
|
559
587
|
end
|
560
588
|
|
589
|
+
class InsufficientCapacityException < Aws::EmptyStructure
|
590
|
+
end
|
591
|
+
|
561
592
|
class InvalidCaCertificatesBundleException < Aws::EmptyStructure
|
562
593
|
end
|
563
594
|
|
@@ -658,6 +689,26 @@ module Aws::ElasticLoadBalancingV2
|
|
658
689
|
SENSITIVE: []
|
659
690
|
end
|
660
691
|
|
692
|
+
class MinimumLoadBalancerCapacity
|
693
|
+
attr_accessor capacity_units: ::Integer
|
694
|
+
SENSITIVE: []
|
695
|
+
end
|
696
|
+
|
697
|
+
class ModifyCapacityReservationInput
|
698
|
+
attr_accessor load_balancer_arn: ::String
|
699
|
+
attr_accessor minimum_load_balancer_capacity: Types::MinimumLoadBalancerCapacity
|
700
|
+
attr_accessor reset_capacity_reservation: bool
|
701
|
+
SENSITIVE: []
|
702
|
+
end
|
703
|
+
|
704
|
+
class ModifyCapacityReservationOutput
|
705
|
+
attr_accessor last_modified_time: ::Time
|
706
|
+
attr_accessor decrease_requests_remaining: ::Integer
|
707
|
+
attr_accessor minimum_load_balancer_capacity: Types::MinimumLoadBalancerCapacity
|
708
|
+
attr_accessor capacity_reservation_state: ::Array[Types::ZonalCapacityReservationState]
|
709
|
+
SENSITIVE: []
|
710
|
+
end
|
711
|
+
|
661
712
|
class ModifyListenerAttributesInput
|
662
713
|
attr_accessor listener_arn: ::String
|
663
714
|
attr_accessor attributes: ::Array[Types::ListenerAttribute]
|
@@ -768,6 +819,9 @@ module Aws::ElasticLoadBalancingV2
|
|
768
819
|
SENSITIVE: []
|
769
820
|
end
|
770
821
|
|
822
|
+
class PriorRequestNotCompleteException < Aws::EmptyStructure
|
823
|
+
end
|
824
|
+
|
771
825
|
class PriorityInUseException < Aws::EmptyStructure
|
772
826
|
end
|
773
827
|
|
@@ -1109,5 +1163,12 @@ module Aws::ElasticLoadBalancingV2
|
|
1109
1163
|
|
1110
1164
|
class UnsupportedProtocolException < Aws::EmptyStructure
|
1111
1165
|
end
|
1166
|
+
|
1167
|
+
class ZonalCapacityReservationState
|
1168
|
+
attr_accessor state: Types::CapacityReservationStatus
|
1169
|
+
attr_accessor availability_zone: ::String
|
1170
|
+
attr_accessor effective_capacity_units: ::Float
|
1171
|
+
SENSITIVE: []
|
1172
|
+
end
|
1112
1173
|
end
|
1113
1174
|
end
|
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.124.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-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|