aws-sdk-elasticloadbalancingv2 1.122.0 → 1.123.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 +5 -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 +177 -0
- 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: 8dc59829b736cf8dce62db23beb944a4fb60576940085d7446a0775d01d0c281
|
4
|
+
data.tar.gz: 06522a049c6d1b659ac8a2b431c36571e337b28216012da5b2547614f31d6571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0d92d02ab91e4fee8c4c4b4532b49bd116f269b776bad4b9dc19b876bfd9470d72059cfdb648317a3e63d717852be99dc3a7fdc30c0c01d226b30a3ca3ecb37
|
7
|
+
data.tar.gz: eb5b1767936df38fd82e13c782cf9ad0d829ae3e79f205ab61ee629e1ee47d68b9452a96427b5d8662620e4a92b3af2894a37cf054e01797d5255357a5165ac0
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.123.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.123.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
|
#
|
@@ -2549,6 +2632,69 @@ module Aws::ElasticLoadBalancingV2
|
|
2549
2632
|
include Aws::Structure
|
2550
2633
|
end
|
2551
2634
|
|
2635
|
+
# The minimum capacity for a load balancer.
|
2636
|
+
#
|
2637
|
+
# @!attribute [rw] capacity_units
|
2638
|
+
# The number of capacity units.
|
2639
|
+
# @return [Integer]
|
2640
|
+
#
|
2641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/MinimumLoadBalancerCapacity AWS API Documentation
|
2642
|
+
#
|
2643
|
+
class MinimumLoadBalancerCapacity < Struct.new(
|
2644
|
+
:capacity_units)
|
2645
|
+
SENSITIVE = []
|
2646
|
+
include Aws::Structure
|
2647
|
+
end
|
2648
|
+
|
2649
|
+
# @!attribute [rw] load_balancer_arn
|
2650
|
+
# The Amazon Resource Name (ARN) of the load balancer.
|
2651
|
+
# @return [String]
|
2652
|
+
#
|
2653
|
+
# @!attribute [rw] minimum_load_balancer_capacity
|
2654
|
+
# The minimum load balancer capacity reserved.
|
2655
|
+
# @return [Types::MinimumLoadBalancerCapacity]
|
2656
|
+
#
|
2657
|
+
# @!attribute [rw] reset_capacity_reservation
|
2658
|
+
# Resets the capacity reservation.
|
2659
|
+
# @return [Boolean]
|
2660
|
+
#
|
2661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyCapacityReservationInput AWS API Documentation
|
2662
|
+
#
|
2663
|
+
class ModifyCapacityReservationInput < Struct.new(
|
2664
|
+
:load_balancer_arn,
|
2665
|
+
:minimum_load_balancer_capacity,
|
2666
|
+
:reset_capacity_reservation)
|
2667
|
+
SENSITIVE = []
|
2668
|
+
include Aws::Structure
|
2669
|
+
end
|
2670
|
+
|
2671
|
+
# @!attribute [rw] last_modified_time
|
2672
|
+
# The last time the capacity reservation was modified.
|
2673
|
+
# @return [Time]
|
2674
|
+
#
|
2675
|
+
# @!attribute [rw] decrease_requests_remaining
|
2676
|
+
# The amount of daily capacity decreases remaining.
|
2677
|
+
# @return [Integer]
|
2678
|
+
#
|
2679
|
+
# @!attribute [rw] minimum_load_balancer_capacity
|
2680
|
+
# The requested minimum capacity reservation for the load balancer
|
2681
|
+
# @return [Types::MinimumLoadBalancerCapacity]
|
2682
|
+
#
|
2683
|
+
# @!attribute [rw] capacity_reservation_state
|
2684
|
+
# The state of the capacity reservation.
|
2685
|
+
# @return [Array<Types::ZonalCapacityReservationState>]
|
2686
|
+
#
|
2687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyCapacityReservationOutput AWS API Documentation
|
2688
|
+
#
|
2689
|
+
class ModifyCapacityReservationOutput < Struct.new(
|
2690
|
+
:last_modified_time,
|
2691
|
+
:decrease_requests_remaining,
|
2692
|
+
:minimum_load_balancer_capacity,
|
2693
|
+
:capacity_reservation_state)
|
2694
|
+
SENSITIVE = []
|
2695
|
+
include Aws::Structure
|
2696
|
+
end
|
2697
|
+
|
2552
2698
|
# @!attribute [rw] listener_arn
|
2553
2699
|
# The Amazon Resource Name (ARN) of the listener.
|
2554
2700
|
# @return [String]
|
@@ -2957,6 +3103,13 @@ module Aws::ElasticLoadBalancingV2
|
|
2957
3103
|
include Aws::Structure
|
2958
3104
|
end
|
2959
3105
|
|
3106
|
+
# This operation is not allowed while a prior request has not been
|
3107
|
+
# completed.
|
3108
|
+
#
|
3109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/PriorRequestNotCompleteException AWS API Documentation
|
3110
|
+
#
|
3111
|
+
class PriorRequestNotCompleteException < Aws::EmptyStructure; end
|
3112
|
+
|
2960
3113
|
# The specified priority is in use.
|
2961
3114
|
#
|
2962
3115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/PriorityInUseException AWS API Documentation
|
@@ -4473,6 +4626,30 @@ module Aws::ElasticLoadBalancingV2
|
|
4473
4626
|
#
|
4474
4627
|
class UnsupportedProtocolException < Aws::EmptyStructure; end
|
4475
4628
|
|
4629
|
+
# The capacity reservation status for each availability zone.
|
4630
|
+
#
|
4631
|
+
# @!attribute [rw] state
|
4632
|
+
# The state of the capacity reservation.
|
4633
|
+
# @return [Types::CapacityReservationStatus]
|
4634
|
+
#
|
4635
|
+
# @!attribute [rw] availability_zone
|
4636
|
+
# Information about the availability zone.
|
4637
|
+
# @return [String]
|
4638
|
+
#
|
4639
|
+
# @!attribute [rw] effective_capacity_units
|
4640
|
+
# The number of effective capacity units.
|
4641
|
+
# @return [Float]
|
4642
|
+
#
|
4643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ZonalCapacityReservationState AWS API Documentation
|
4644
|
+
#
|
4645
|
+
class ZonalCapacityReservationState < Struct.new(
|
4646
|
+
:state,
|
4647
|
+
:availability_zone,
|
4648
|
+
:effective_capacity_units)
|
4649
|
+
SENSITIVE = []
|
4650
|
+
include Aws::Structure
|
4651
|
+
end
|
4652
|
+
|
4476
4653
|
end
|
4477
4654
|
end
|
4478
4655
|
|
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.123.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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|