@aws-sdk/client-elastic-load-balancing-v2 3.696.0 → 3.697.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +394 -0
- package/dist-es/ElasticLoadBalancingV2.js +4 -0
- package/dist-es/commands/DescribeCapacityReservationCommand.js +22 -0
- package/dist-es/commands/ModifyCapacityReservationCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +71 -0
- package/dist-es/protocols/Aws_query.js +258 -2
- package/dist-types/ElasticLoadBalancingV2.d.ts +14 -0
- package/dist-types/ElasticLoadBalancingV2Client.d.ts +4 -2
- package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +88 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +115 -0
- package/dist-types/commands/SetSubnetsCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +207 -0
- package/dist-types/protocols/Aws_query.d.ts +18 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +34 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeCapacityReservationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ import { DeleteTargetGroupCommand, } from "./commands/DeleteTargetGroupCommand";
|
|
|
15
15
|
import { DeleteTrustStoreCommand, } from "./commands/DeleteTrustStoreCommand";
|
|
16
16
|
import { DeregisterTargetsCommand, } from "./commands/DeregisterTargetsCommand";
|
|
17
17
|
import { DescribeAccountLimitsCommand, } from "./commands/DescribeAccountLimitsCommand";
|
|
18
|
+
import { DescribeCapacityReservationCommand, } from "./commands/DescribeCapacityReservationCommand";
|
|
18
19
|
import { DescribeListenerAttributesCommand, } from "./commands/DescribeListenerAttributesCommand";
|
|
19
20
|
import { DescribeListenerCertificatesCommand, } from "./commands/DescribeListenerCertificatesCommand";
|
|
20
21
|
import { DescribeListenersCommand, } from "./commands/DescribeListenersCommand";
|
|
@@ -32,6 +33,7 @@ import { DescribeTrustStoresCommand, } from "./commands/DescribeTrustStoresComma
|
|
|
32
33
|
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
33
34
|
import { GetTrustStoreCaCertificatesBundleCommand, } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
|
|
34
35
|
import { GetTrustStoreRevocationContentCommand, } from "./commands/GetTrustStoreRevocationContentCommand";
|
|
36
|
+
import { ModifyCapacityReservationCommand, } from "./commands/ModifyCapacityReservationCommand";
|
|
35
37
|
import { ModifyListenerAttributesCommand, } from "./commands/ModifyListenerAttributesCommand";
|
|
36
38
|
import { ModifyListenerCommand, } from "./commands/ModifyListenerCommand";
|
|
37
39
|
import { ModifyLoadBalancerAttributesCommand, } from "./commands/ModifyLoadBalancerAttributesCommand";
|
|
@@ -65,6 +67,7 @@ const commands = {
|
|
|
65
67
|
DeleteTrustStoreCommand,
|
|
66
68
|
DeregisterTargetsCommand,
|
|
67
69
|
DescribeAccountLimitsCommand,
|
|
70
|
+
DescribeCapacityReservationCommand,
|
|
68
71
|
DescribeListenerAttributesCommand,
|
|
69
72
|
DescribeListenerCertificatesCommand,
|
|
70
73
|
DescribeListenersCommand,
|
|
@@ -82,6 +85,7 @@ const commands = {
|
|
|
82
85
|
GetResourcePolicyCommand,
|
|
83
86
|
GetTrustStoreCaCertificatesBundleCommand,
|
|
84
87
|
GetTrustStoreRevocationContentCommand,
|
|
88
|
+
ModifyCapacityReservationCommand,
|
|
85
89
|
ModifyListenerCommand,
|
|
86
90
|
ModifyListenerAttributesCommand,
|
|
87
91
|
ModifyLoadBalancerAttributesCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeCapacityReservationCommand, se_DescribeCapacityReservationCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeCapacityReservationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ElasticLoadBalancing_v10", "DescribeCapacityReservation", {})
|
|
17
|
+
.n("ElasticLoadBalancingV2Client", "DescribeCapacityReservationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeCapacityReservationCommand)
|
|
20
|
+
.de(de_DescribeCapacityReservationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ModifyCapacityReservationCommand, se_ModifyCapacityReservationCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ModifyCapacityReservationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ElasticLoadBalancing_v10", "ModifyCapacityReservation", {})
|
|
17
|
+
.n("ElasticLoadBalancingV2Client", "ModifyCapacityReservationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ModifyCapacityReservationCommand)
|
|
20
|
+
.de(de_ModifyCapacityReservationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -14,6 +14,7 @@ export * from "./DeleteTargetGroupCommand";
|
|
|
14
14
|
export * from "./DeleteTrustStoreCommand";
|
|
15
15
|
export * from "./DeregisterTargetsCommand";
|
|
16
16
|
export * from "./DescribeAccountLimitsCommand";
|
|
17
|
+
export * from "./DescribeCapacityReservationCommand";
|
|
17
18
|
export * from "./DescribeListenerAttributesCommand";
|
|
18
19
|
export * from "./DescribeListenerCertificatesCommand";
|
|
19
20
|
export * from "./DescribeListenersCommand";
|
|
@@ -31,6 +32,7 @@ export * from "./DescribeTrustStoresCommand";
|
|
|
31
32
|
export * from "./GetResourcePolicyCommand";
|
|
32
33
|
export * from "./GetTrustStoreCaCertificatesBundleCommand";
|
|
33
34
|
export * from "./GetTrustStoreRevocationContentCommand";
|
|
35
|
+
export * from "./ModifyCapacityReservationCommand";
|
|
34
36
|
export * from "./ModifyListenerAttributesCommand";
|
|
35
37
|
export * from "./ModifyListenerCommand";
|
|
36
38
|
export * from "./ModifyLoadBalancerAttributesCommand";
|
|
@@ -251,6 +251,51 @@ export class CaCertificatesBundleNotFoundException extends __BaseException {
|
|
|
251
251
|
this.Message = opts.Message;
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
+
export class CapacityDecreaseRequestsLimitExceededException extends __BaseException {
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "CapacityDecreaseRequestsLimitExceededException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
this.name = "CapacityDecreaseRequestsLimitExceededException";
|
|
262
|
+
this.$fault = "client";
|
|
263
|
+
Object.setPrototypeOf(this, CapacityDecreaseRequestsLimitExceededException.prototype);
|
|
264
|
+
this.Message = opts.Message;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
export class CapacityReservationPendingException extends __BaseException {
|
|
268
|
+
constructor(opts) {
|
|
269
|
+
super({
|
|
270
|
+
name: "CapacityReservationPendingException",
|
|
271
|
+
$fault: "client",
|
|
272
|
+
...opts,
|
|
273
|
+
});
|
|
274
|
+
this.name = "CapacityReservationPendingException";
|
|
275
|
+
this.$fault = "client";
|
|
276
|
+
Object.setPrototypeOf(this, CapacityReservationPendingException.prototype);
|
|
277
|
+
this.Message = opts.Message;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
export const CapacityReservationStateEnum = {
|
|
281
|
+
FAILED: "failed",
|
|
282
|
+
PENDING: "pending",
|
|
283
|
+
PROVISIONED: "provisioned",
|
|
284
|
+
REBALANCING: "rebalancing",
|
|
285
|
+
};
|
|
286
|
+
export class CapacityUnitsLimitExceededException extends __BaseException {
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "CapacityUnitsLimitExceededException",
|
|
290
|
+
$fault: "client",
|
|
291
|
+
...opts,
|
|
292
|
+
});
|
|
293
|
+
this.name = "CapacityUnitsLimitExceededException";
|
|
294
|
+
this.$fault = "client";
|
|
295
|
+
Object.setPrototypeOf(this, CapacityUnitsLimitExceededException.prototype);
|
|
296
|
+
this.Message = opts.Message;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
254
299
|
export const TrustStoreAssociationStatusEnum = {
|
|
255
300
|
ACTIVE: "active",
|
|
256
301
|
REMOVED: "removed",
|
|
@@ -784,6 +829,32 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
784
829
|
this.Message = opts.Message;
|
|
785
830
|
}
|
|
786
831
|
}
|
|
832
|
+
export class InsufficientCapacityException extends __BaseException {
|
|
833
|
+
constructor(opts) {
|
|
834
|
+
super({
|
|
835
|
+
name: "InsufficientCapacityException",
|
|
836
|
+
$fault: "server",
|
|
837
|
+
...opts,
|
|
838
|
+
});
|
|
839
|
+
this.name = "InsufficientCapacityException";
|
|
840
|
+
this.$fault = "server";
|
|
841
|
+
Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
|
|
842
|
+
this.Message = opts.Message;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
export class PriorRequestNotCompleteException extends __BaseException {
|
|
846
|
+
constructor(opts) {
|
|
847
|
+
super({
|
|
848
|
+
name: "PriorRequestNotCompleteException",
|
|
849
|
+
$fault: "client",
|
|
850
|
+
...opts,
|
|
851
|
+
});
|
|
852
|
+
this.name = "PriorRequestNotCompleteException";
|
|
853
|
+
this.$fault = "client";
|
|
854
|
+
Object.setPrototypeOf(this, PriorRequestNotCompleteException.prototype);
|
|
855
|
+
this.Message = opts.Message;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
787
858
|
export const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
|
|
788
859
|
off: "off",
|
|
789
860
|
on: "on",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ElasticLoadBalancingV2ServiceException as __BaseException } from "../models/ElasticLoadBalancingV2ServiceException";
|
|
5
|
-
import { AllocationIdNotFoundException, ALPNPolicyNotSupportedException, AvailabilityZoneNotSupportedException, CaCertificatesBundleNotFoundException, CertificateNotFoundException, DeleteAssociationSameAccountException, DuplicateListenerException, DuplicateLoadBalancerNameException, DuplicateTagKeysException, DuplicateTargetGroupNameException, DuplicateTrustStoreNameException, HealthUnavailableException, IncompatibleProtocolsException, InvalidCaCertificatesBundleException, InvalidConfigurationRequestException, InvalidLoadBalancerActionException, InvalidRevocationContentException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, InvalidTargetException, ListenerNotFoundException, LoadBalancerNotFoundException, OperationNotPermittedException, PriorityInUseException, ResourceInUseException, ResourceNotFoundException, RevocationContentNotFoundException, RevocationIdNotFoundException, RuleNotFoundException, SSLPolicyNotFoundException, SubnetNotFoundException, TargetGroupAssociationLimitException, TargetGroupNotFoundException, TooManyActionsException, TooManyCertificatesException, TooManyListenersException, TooManyLoadBalancersException, TooManyRegistrationsForTargetIdException, TooManyRulesException, TooManyTagsException, TooManyTargetGroupsException, TooManyTargetsException, TooManyTrustStoreRevocationEntriesException, TooManyTrustStoresException, TooManyUniqueTargetGroupsPerLoadBalancerException, TrustStoreAssociationNotFoundException, TrustStoreInUseException, TrustStoreNotFoundException, TrustStoreNotReadyException, UnsupportedProtocolException, } from "../models/models_0";
|
|
5
|
+
import { AllocationIdNotFoundException, ALPNPolicyNotSupportedException, AvailabilityZoneNotSupportedException, CaCertificatesBundleNotFoundException, CapacityDecreaseRequestsLimitExceededException, CapacityReservationPendingException, CapacityUnitsLimitExceededException, CertificateNotFoundException, DeleteAssociationSameAccountException, DuplicateListenerException, DuplicateLoadBalancerNameException, DuplicateTagKeysException, DuplicateTargetGroupNameException, DuplicateTrustStoreNameException, HealthUnavailableException, IncompatibleProtocolsException, InsufficientCapacityException, InvalidCaCertificatesBundleException, InvalidConfigurationRequestException, InvalidLoadBalancerActionException, InvalidRevocationContentException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, InvalidTargetException, ListenerNotFoundException, LoadBalancerNotFoundException, OperationNotPermittedException, PriorityInUseException, PriorRequestNotCompleteException, ResourceInUseException, ResourceNotFoundException, RevocationContentNotFoundException, RevocationIdNotFoundException, RuleNotFoundException, SSLPolicyNotFoundException, SubnetNotFoundException, TargetGroupAssociationLimitException, TargetGroupNotFoundException, TooManyActionsException, TooManyCertificatesException, TooManyListenersException, TooManyLoadBalancersException, TooManyRegistrationsForTargetIdException, TooManyRulesException, TooManyTagsException, TooManyTargetGroupsException, TooManyTargetsException, TooManyTrustStoreRevocationEntriesException, TooManyTrustStoresException, TooManyUniqueTargetGroupsPerLoadBalancerException, TrustStoreAssociationNotFoundException, TrustStoreInUseException, TrustStoreNotFoundException, TrustStoreNotReadyException, UnsupportedProtocolException, } from "../models/models_0";
|
|
6
6
|
export const se_AddListenerCertificatesCommand = async (input, context) => {
|
|
7
7
|
const headers = SHARED_HEADERS;
|
|
8
8
|
let body;
|
|
@@ -163,6 +163,16 @@ export const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
|
163
163
|
});
|
|
164
164
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
165
165
|
};
|
|
166
|
+
export const se_DescribeCapacityReservationCommand = async (input, context) => {
|
|
167
|
+
const headers = SHARED_HEADERS;
|
|
168
|
+
let body;
|
|
169
|
+
body = buildFormUrlencodedString({
|
|
170
|
+
...se_DescribeCapacityReservationInput(input, context),
|
|
171
|
+
[_A]: _DCR,
|
|
172
|
+
[_V]: _,
|
|
173
|
+
});
|
|
174
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
|
+
};
|
|
166
176
|
export const se_DescribeListenerAttributesCommand = async (input, context) => {
|
|
167
177
|
const headers = SHARED_HEADERS;
|
|
168
178
|
let body;
|
|
@@ -333,6 +343,16 @@ export const se_GetTrustStoreRevocationContentCommand = async (input, context) =
|
|
|
333
343
|
});
|
|
334
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
345
|
};
|
|
346
|
+
export const se_ModifyCapacityReservationCommand = async (input, context) => {
|
|
347
|
+
const headers = SHARED_HEADERS;
|
|
348
|
+
let body;
|
|
349
|
+
body = buildFormUrlencodedString({
|
|
350
|
+
...se_ModifyCapacityReservationInput(input, context),
|
|
351
|
+
[_A]: _MCR,
|
|
352
|
+
[_V]: _,
|
|
353
|
+
});
|
|
354
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
|
+
};
|
|
336
356
|
export const se_ModifyListenerCommand = async (input, context) => {
|
|
337
357
|
const headers = SHARED_HEADERS;
|
|
338
358
|
let body;
|
|
@@ -691,6 +711,19 @@ export const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
|
691
711
|
};
|
|
692
712
|
return response;
|
|
693
713
|
};
|
|
714
|
+
export const de_DescribeCapacityReservationCommand = async (output, context) => {
|
|
715
|
+
if (output.statusCode >= 300) {
|
|
716
|
+
return de_CommandError(output, context);
|
|
717
|
+
}
|
|
718
|
+
const data = await parseBody(output.body, context);
|
|
719
|
+
let contents = {};
|
|
720
|
+
contents = de_DescribeCapacityReservationOutput(data.DescribeCapacityReservationResult, context);
|
|
721
|
+
const response = {
|
|
722
|
+
$metadata: deserializeMetadata(output),
|
|
723
|
+
...contents,
|
|
724
|
+
};
|
|
725
|
+
return response;
|
|
726
|
+
};
|
|
694
727
|
export const de_DescribeListenerAttributesCommand = async (output, context) => {
|
|
695
728
|
if (output.statusCode >= 300) {
|
|
696
729
|
return de_CommandError(output, context);
|
|
@@ -912,6 +945,19 @@ export const de_GetTrustStoreRevocationContentCommand = async (output, context)
|
|
|
912
945
|
};
|
|
913
946
|
return response;
|
|
914
947
|
};
|
|
948
|
+
export const de_ModifyCapacityReservationCommand = async (output, context) => {
|
|
949
|
+
if (output.statusCode >= 300) {
|
|
950
|
+
return de_CommandError(output, context);
|
|
951
|
+
}
|
|
952
|
+
const data = await parseBody(output.body, context);
|
|
953
|
+
let contents = {};
|
|
954
|
+
contents = de_ModifyCapacityReservationOutput(data.ModifyCapacityReservationResult, context);
|
|
955
|
+
const response = {
|
|
956
|
+
$metadata: deserializeMetadata(output),
|
|
957
|
+
...contents,
|
|
958
|
+
};
|
|
959
|
+
return response;
|
|
960
|
+
};
|
|
915
961
|
export const de_ModifyListenerCommand = async (output, context) => {
|
|
916
962
|
if (output.statusCode >= 300) {
|
|
917
963
|
return de_CommandError(output, context);
|
|
@@ -1267,6 +1313,21 @@ const de_CommandError = async (output, context) => {
|
|
|
1267
1313
|
case "ResourceNotFound":
|
|
1268
1314
|
case "com.amazonaws.elasticloadbalancingv2#ResourceNotFoundException":
|
|
1269
1315
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1316
|
+
case "CapacityDecreaseRequestLimitExceeded":
|
|
1317
|
+
case "com.amazonaws.elasticloadbalancingv2#CapacityDecreaseRequestsLimitExceededException":
|
|
1318
|
+
throw await de_CapacityDecreaseRequestsLimitExceededExceptionRes(parsedOutput, context);
|
|
1319
|
+
case "CapacityReservationPending":
|
|
1320
|
+
case "com.amazonaws.elasticloadbalancingv2#CapacityReservationPendingException":
|
|
1321
|
+
throw await de_CapacityReservationPendingExceptionRes(parsedOutput, context);
|
|
1322
|
+
case "CapacityUnitsLimitExceeded":
|
|
1323
|
+
case "com.amazonaws.elasticloadbalancingv2#CapacityUnitsLimitExceededException":
|
|
1324
|
+
throw await de_CapacityUnitsLimitExceededExceptionRes(parsedOutput, context);
|
|
1325
|
+
case "InsufficientCapacity":
|
|
1326
|
+
case "com.amazonaws.elasticloadbalancingv2#InsufficientCapacityException":
|
|
1327
|
+
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
1328
|
+
case "PriorRequestNotComplete":
|
|
1329
|
+
case "com.amazonaws.elasticloadbalancingv2#PriorRequestNotCompleteException":
|
|
1330
|
+
throw await de_PriorRequestNotCompleteExceptionRes(parsedOutput, context);
|
|
1270
1331
|
default:
|
|
1271
1332
|
const parsedBody = parsedOutput.body;
|
|
1272
1333
|
return throwDefaultError({
|
|
@@ -1312,6 +1373,33 @@ const de_CaCertificatesBundleNotFoundExceptionRes = async (parsedOutput, context
|
|
|
1312
1373
|
});
|
|
1313
1374
|
return __decorateServiceException(exception, body);
|
|
1314
1375
|
};
|
|
1376
|
+
const de_CapacityDecreaseRequestsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1377
|
+
const body = parsedOutput.body;
|
|
1378
|
+
const deserialized = de_CapacityDecreaseRequestsLimitExceededException(body.Error, context);
|
|
1379
|
+
const exception = new CapacityDecreaseRequestsLimitExceededException({
|
|
1380
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1381
|
+
...deserialized,
|
|
1382
|
+
});
|
|
1383
|
+
return __decorateServiceException(exception, body);
|
|
1384
|
+
};
|
|
1385
|
+
const de_CapacityReservationPendingExceptionRes = async (parsedOutput, context) => {
|
|
1386
|
+
const body = parsedOutput.body;
|
|
1387
|
+
const deserialized = de_CapacityReservationPendingException(body.Error, context);
|
|
1388
|
+
const exception = new CapacityReservationPendingException({
|
|
1389
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1390
|
+
...deserialized,
|
|
1391
|
+
});
|
|
1392
|
+
return __decorateServiceException(exception, body);
|
|
1393
|
+
};
|
|
1394
|
+
const de_CapacityUnitsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1395
|
+
const body = parsedOutput.body;
|
|
1396
|
+
const deserialized = de_CapacityUnitsLimitExceededException(body.Error, context);
|
|
1397
|
+
const exception = new CapacityUnitsLimitExceededException({
|
|
1398
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1399
|
+
...deserialized,
|
|
1400
|
+
});
|
|
1401
|
+
return __decorateServiceException(exception, body);
|
|
1402
|
+
};
|
|
1315
1403
|
const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1316
1404
|
const body = parsedOutput.body;
|
|
1317
1405
|
const deserialized = de_CertificateNotFoundException(body.Error, context);
|
|
@@ -1393,6 +1481,15 @@ const de_IncompatibleProtocolsExceptionRes = async (parsedOutput, context) => {
|
|
|
1393
1481
|
});
|
|
1394
1482
|
return __decorateServiceException(exception, body);
|
|
1395
1483
|
};
|
|
1484
|
+
const de_InsufficientCapacityExceptionRes = async (parsedOutput, context) => {
|
|
1485
|
+
const body = parsedOutput.body;
|
|
1486
|
+
const deserialized = de_InsufficientCapacityException(body.Error, context);
|
|
1487
|
+
const exception = new InsufficientCapacityException({
|
|
1488
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1489
|
+
...deserialized,
|
|
1490
|
+
});
|
|
1491
|
+
return __decorateServiceException(exception, body);
|
|
1492
|
+
};
|
|
1396
1493
|
const de_InvalidCaCertificatesBundleExceptionRes = async (parsedOutput, context) => {
|
|
1397
1494
|
const body = parsedOutput.body;
|
|
1398
1495
|
const deserialized = de_InvalidCaCertificatesBundleException(body.Error, context);
|
|
@@ -1501,6 +1598,15 @@ const de_PriorityInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1501
1598
|
});
|
|
1502
1599
|
return __decorateServiceException(exception, body);
|
|
1503
1600
|
};
|
|
1601
|
+
const de_PriorRequestNotCompleteExceptionRes = async (parsedOutput, context) => {
|
|
1602
|
+
const body = parsedOutput.body;
|
|
1603
|
+
const deserialized = de_PriorRequestNotCompleteException(body.Error, context);
|
|
1604
|
+
const exception = new PriorRequestNotCompleteException({
|
|
1605
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1606
|
+
...deserialized,
|
|
1607
|
+
});
|
|
1608
|
+
return __decorateServiceException(exception, body);
|
|
1609
|
+
};
|
|
1504
1610
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1505
1611
|
const body = parsedOutput.body;
|
|
1506
1612
|
const deserialized = de_ResourceInUseException(body.Error, context);
|
|
@@ -2322,6 +2428,13 @@ const se_DescribeAccountLimitsInput = (input, context) => {
|
|
|
2322
2428
|
}
|
|
2323
2429
|
return entries;
|
|
2324
2430
|
};
|
|
2431
|
+
const se_DescribeCapacityReservationInput = (input, context) => {
|
|
2432
|
+
const entries = {};
|
|
2433
|
+
if (input[_LBA] != null) {
|
|
2434
|
+
entries[_LBA] = input[_LBA];
|
|
2435
|
+
}
|
|
2436
|
+
return entries;
|
|
2437
|
+
};
|
|
2325
2438
|
const se_DescribeListenerAttributesInput = (input, context) => {
|
|
2326
2439
|
const entries = {};
|
|
2327
2440
|
if (input[_LA] != null) {
|
|
@@ -2818,6 +2931,30 @@ const se_Matcher = (input, context) => {
|
|
|
2818
2931
|
}
|
|
2819
2932
|
return entries;
|
|
2820
2933
|
};
|
|
2934
|
+
const se_MinimumLoadBalancerCapacity = (input, context) => {
|
|
2935
|
+
const entries = {};
|
|
2936
|
+
if (input[_CU] != null) {
|
|
2937
|
+
entries[_CU] = input[_CU];
|
|
2938
|
+
}
|
|
2939
|
+
return entries;
|
|
2940
|
+
};
|
|
2941
|
+
const se_ModifyCapacityReservationInput = (input, context) => {
|
|
2942
|
+
const entries = {};
|
|
2943
|
+
if (input[_LBA] != null) {
|
|
2944
|
+
entries[_LBA] = input[_LBA];
|
|
2945
|
+
}
|
|
2946
|
+
if (input[_MLBC] != null) {
|
|
2947
|
+
const memberEntries = se_MinimumLoadBalancerCapacity(input[_MLBC], context);
|
|
2948
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2949
|
+
const loc = `MinimumLoadBalancerCapacity.${key}`;
|
|
2950
|
+
entries[loc] = value;
|
|
2951
|
+
});
|
|
2952
|
+
}
|
|
2953
|
+
if (input[_RCR] != null) {
|
|
2954
|
+
entries[_RCR] = input[_RCR];
|
|
2955
|
+
}
|
|
2956
|
+
return entries;
|
|
2957
|
+
};
|
|
2821
2958
|
const se_ModifyListenerAttributesInput = (input, context) => {
|
|
2822
2959
|
const entries = {};
|
|
2823
2960
|
if (input[_LA] != null) {
|
|
@@ -3910,6 +4047,37 @@ const de_CaCertificatesBundleNotFoundException = (output, context) => {
|
|
|
3910
4047
|
}
|
|
3911
4048
|
return contents;
|
|
3912
4049
|
};
|
|
4050
|
+
const de_CapacityDecreaseRequestsLimitExceededException = (output, context) => {
|
|
4051
|
+
const contents = {};
|
|
4052
|
+
if (output[_Me] != null) {
|
|
4053
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
4054
|
+
}
|
|
4055
|
+
return contents;
|
|
4056
|
+
};
|
|
4057
|
+
const de_CapacityReservationPendingException = (output, context) => {
|
|
4058
|
+
const contents = {};
|
|
4059
|
+
if (output[_Me] != null) {
|
|
4060
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
4061
|
+
}
|
|
4062
|
+
return contents;
|
|
4063
|
+
};
|
|
4064
|
+
const de_CapacityReservationStatus = (output, context) => {
|
|
4065
|
+
const contents = {};
|
|
4066
|
+
if (output[_Cod] != null) {
|
|
4067
|
+
contents[_Cod] = __expectString(output[_Cod]);
|
|
4068
|
+
}
|
|
4069
|
+
if (output[_R] != null) {
|
|
4070
|
+
contents[_R] = __expectString(output[_R]);
|
|
4071
|
+
}
|
|
4072
|
+
return contents;
|
|
4073
|
+
};
|
|
4074
|
+
const de_CapacityUnitsLimitExceededException = (output, context) => {
|
|
4075
|
+
const contents = {};
|
|
4076
|
+
if (output[_Me] != null) {
|
|
4077
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
4078
|
+
}
|
|
4079
|
+
return contents;
|
|
4080
|
+
};
|
|
3913
4081
|
const de_Certificate = (output, context) => {
|
|
3914
4082
|
const contents = {};
|
|
3915
4083
|
if (output[_CA] != null) {
|
|
@@ -4049,6 +4217,25 @@ const de_DescribeAccountLimitsOutput = (output, context) => {
|
|
|
4049
4217
|
}
|
|
4050
4218
|
return contents;
|
|
4051
4219
|
};
|
|
4220
|
+
const de_DescribeCapacityReservationOutput = (output, context) => {
|
|
4221
|
+
const contents = {};
|
|
4222
|
+
if (output[_LMT] != null) {
|
|
4223
|
+
contents[_LMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LMT]));
|
|
4224
|
+
}
|
|
4225
|
+
if (output[_DRR] != null) {
|
|
4226
|
+
contents[_DRR] = __strictParseInt32(output[_DRR]);
|
|
4227
|
+
}
|
|
4228
|
+
if (output[_MLBC] != null) {
|
|
4229
|
+
contents[_MLBC] = de_MinimumLoadBalancerCapacity(output[_MLBC], context);
|
|
4230
|
+
}
|
|
4231
|
+
if (output.CapacityReservationState === "") {
|
|
4232
|
+
contents[_CRS] = [];
|
|
4233
|
+
}
|
|
4234
|
+
else if (output[_CRS] != null && output[_CRS][_m] != null) {
|
|
4235
|
+
contents[_CRS] = de_ZonalCapacityReservationStates(__getArrayIfSingleItem(output[_CRS][_m]), context);
|
|
4236
|
+
}
|
|
4237
|
+
return contents;
|
|
4238
|
+
};
|
|
4052
4239
|
const de_DescribeListenerAttributesOutput = (output, context) => {
|
|
4053
4240
|
const contents = {};
|
|
4054
4241
|
if (output.Attributes === "") {
|
|
@@ -4368,6 +4555,13 @@ const de_IncompatibleProtocolsException = (output, context) => {
|
|
|
4368
4555
|
}
|
|
4369
4556
|
return contents;
|
|
4370
4557
|
};
|
|
4558
|
+
const de_InsufficientCapacityException = (output, context) => {
|
|
4559
|
+
const contents = {};
|
|
4560
|
+
if (output[_Me] != null) {
|
|
4561
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
4562
|
+
}
|
|
4563
|
+
return contents;
|
|
4564
|
+
};
|
|
4371
4565
|
const de_InvalidCaCertificatesBundleException = (output, context) => {
|
|
4372
4566
|
const contents = {};
|
|
4373
4567
|
if (output[_Me] != null) {
|
|
@@ -4655,6 +4849,32 @@ const de_Matcher = (output, context) => {
|
|
|
4655
4849
|
}
|
|
4656
4850
|
return contents;
|
|
4657
4851
|
};
|
|
4852
|
+
const de_MinimumLoadBalancerCapacity = (output, context) => {
|
|
4853
|
+
const contents = {};
|
|
4854
|
+
if (output[_CU] != null) {
|
|
4855
|
+
contents[_CU] = __strictParseInt32(output[_CU]);
|
|
4856
|
+
}
|
|
4857
|
+
return contents;
|
|
4858
|
+
};
|
|
4859
|
+
const de_ModifyCapacityReservationOutput = (output, context) => {
|
|
4860
|
+
const contents = {};
|
|
4861
|
+
if (output[_LMT] != null) {
|
|
4862
|
+
contents[_LMT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LMT]));
|
|
4863
|
+
}
|
|
4864
|
+
if (output[_DRR] != null) {
|
|
4865
|
+
contents[_DRR] = __strictParseInt32(output[_DRR]);
|
|
4866
|
+
}
|
|
4867
|
+
if (output[_MLBC] != null) {
|
|
4868
|
+
contents[_MLBC] = de_MinimumLoadBalancerCapacity(output[_MLBC], context);
|
|
4869
|
+
}
|
|
4870
|
+
if (output.CapacityReservationState === "") {
|
|
4871
|
+
contents[_CRS] = [];
|
|
4872
|
+
}
|
|
4873
|
+
else if (output[_CRS] != null && output[_CRS][_m] != null) {
|
|
4874
|
+
contents[_CRS] = de_ZonalCapacityReservationStates(__getArrayIfSingleItem(output[_CRS][_m]), context);
|
|
4875
|
+
}
|
|
4876
|
+
return contents;
|
|
4877
|
+
};
|
|
4658
4878
|
const de_ModifyListenerAttributesOutput = (output, context) => {
|
|
4659
4879
|
const contents = {};
|
|
4660
4880
|
if (output.Attributes === "") {
|
|
@@ -4765,6 +4985,13 @@ const de_PriorityInUseException = (output, context) => {
|
|
|
4765
4985
|
}
|
|
4766
4986
|
return contents;
|
|
4767
4987
|
};
|
|
4988
|
+
const de_PriorRequestNotCompleteException = (output, context) => {
|
|
4989
|
+
const contents = {};
|
|
4990
|
+
if (output[_Me] != null) {
|
|
4991
|
+
contents[_Me] = __expectString(output[_Me]);
|
|
4992
|
+
}
|
|
4993
|
+
return contents;
|
|
4994
|
+
};
|
|
4768
4995
|
const de_QueryStringConditionConfig = (output, context) => {
|
|
4769
4996
|
const contents = {};
|
|
4770
4997
|
if (output.Values === "") {
|
|
@@ -5455,6 +5682,26 @@ const de_UnsupportedProtocolException = (output, context) => {
|
|
|
5455
5682
|
}
|
|
5456
5683
|
return contents;
|
|
5457
5684
|
};
|
|
5685
|
+
const de_ZonalCapacityReservationState = (output, context) => {
|
|
5686
|
+
const contents = {};
|
|
5687
|
+
if (output[_St] != null) {
|
|
5688
|
+
contents[_St] = de_CapacityReservationStatus(output[_St], context);
|
|
5689
|
+
}
|
|
5690
|
+
if (output[_AZ] != null) {
|
|
5691
|
+
contents[_AZ] = __expectString(output[_AZ]);
|
|
5692
|
+
}
|
|
5693
|
+
if (output[_ECU] != null) {
|
|
5694
|
+
contents[_ECU] = __strictParseFloat(output[_ECU]);
|
|
5695
|
+
}
|
|
5696
|
+
return contents;
|
|
5697
|
+
};
|
|
5698
|
+
const de_ZonalCapacityReservationStates = (output, context) => {
|
|
5699
|
+
return (output || [])
|
|
5700
|
+
.filter((e) => e != null)
|
|
5701
|
+
.map((entry) => {
|
|
5702
|
+
return de_ZonalCapacityReservationState(entry, context);
|
|
5703
|
+
});
|
|
5704
|
+
};
|
|
5458
5705
|
const deserializeMetadata = (output) => ({
|
|
5459
5706
|
httpStatusCode: output.statusCode,
|
|
5460
5707
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -5512,17 +5759,20 @@ const _CL = "CreateListener";
|
|
|
5512
5759
|
const _CLB = "CreateLoadBalancer";
|
|
5513
5760
|
const _COIP = "CustomerOwnedIpv4Pool";
|
|
5514
5761
|
const _CR = "CreateRule";
|
|
5762
|
+
const _CRS = "CapacityReservationState";
|
|
5515
5763
|
const _CS = "ClientSecret";
|
|
5516
5764
|
const _CT = "ContentType";
|
|
5517
5765
|
const _CTG = "CreateTargetGroup";
|
|
5518
5766
|
const _CTS = "CreateTrustStore";
|
|
5519
5767
|
const _CTr = "CreatedTime";
|
|
5768
|
+
const _CU = "CapacityUnits";
|
|
5520
5769
|
const _Ci = "Ciphers";
|
|
5521
5770
|
const _Co = "Conditions";
|
|
5522
5771
|
const _Cod = "Code";
|
|
5523
5772
|
const _D = "Description";
|
|
5524
5773
|
const _DA = "DefaultActions";
|
|
5525
5774
|
const _DAL = "DescribeAccountLimits";
|
|
5775
|
+
const _DCR = "DescribeCapacityReservation";
|
|
5526
5776
|
const _DL = "DeleteListener";
|
|
5527
5777
|
const _DLA = "DescribeListenerAttributes";
|
|
5528
5778
|
const _DLB = "DeleteLoadBalancer";
|
|
@@ -5532,6 +5782,7 @@ const _DLC = "DescribeListenerCertificates";
|
|
|
5532
5782
|
const _DLe = "DescribeListeners";
|
|
5533
5783
|
const _DNSN = "DNSName";
|
|
5534
5784
|
const _DR = "DeleteRule";
|
|
5785
|
+
const _DRR = "DecreaseRequestsRemaining";
|
|
5535
5786
|
const _DRe = "DescribeRules";
|
|
5536
5787
|
const _DS = "DurationSeconds";
|
|
5537
5788
|
const _DSSLP = "DescribeSSLPolicies";
|
|
@@ -5547,6 +5798,7 @@ const _DTSR = "DescribeTrustStoreRevocations";
|
|
|
5547
5798
|
const _DTSe = "DescribeTrustStores";
|
|
5548
5799
|
const _DTe = "DescribeTags";
|
|
5549
5800
|
const _E = "Enabled";
|
|
5801
|
+
const _ECU = "EffectiveCapacityUnits";
|
|
5550
5802
|
const _EPFISN = "EnablePrefixForIpv6SourceNat";
|
|
5551
5803
|
const _ESGIROPLT = "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic";
|
|
5552
5804
|
const _F = "Field";
|
|
@@ -5587,15 +5839,18 @@ const _LBAo = "LoadBalancerArns";
|
|
|
5587
5839
|
const _LBAoa = "LoadBalancerAddresses";
|
|
5588
5840
|
const _LBN = "LoadBalancerName";
|
|
5589
5841
|
const _LBT = "LoadBalancerType";
|
|
5842
|
+
const _LMT = "LastModifiedTime";
|
|
5590
5843
|
const _Li = "Limits";
|
|
5591
5844
|
const _Lo = "Location";
|
|
5592
5845
|
const _M = "Matcher";
|
|
5593
5846
|
const _MA = "MutualAuthentication";
|
|
5594
5847
|
const _MB = "MessageBody";
|
|
5848
|
+
const _MCR = "ModifyCapacityReservation";
|
|
5595
5849
|
const _MIE = "MitigationInEffect";
|
|
5596
5850
|
const _ML = "ModifyListener";
|
|
5597
5851
|
const _MLA = "ModifyListenerAttributes";
|
|
5598
5852
|
const _MLBA = "ModifyLoadBalancerAttributes";
|
|
5853
|
+
const _MLBC = "MinimumLoadBalancerCapacity";
|
|
5599
5854
|
const _MR = "ModifyRule";
|
|
5600
5855
|
const _MTG = "ModifyTargetGroup";
|
|
5601
5856
|
const _MTGA = "ModifyTargetGroupAttributes";
|
|
@@ -5629,6 +5884,7 @@ const _RAe = "ResourceArn";
|
|
|
5629
5884
|
const _RAu = "RuleArn";
|
|
5630
5885
|
const _RAul = "RuleArns";
|
|
5631
5886
|
const _RC = "RedirectConfig";
|
|
5887
|
+
const _RCR = "ResetCapacityReservation";
|
|
5632
5888
|
const _RCe = "RevocationContents";
|
|
5633
5889
|
const _RI = "RevocationIds";
|
|
5634
5890
|
const _RIe = "RevocationId";
|
|
@@ -15,6 +15,7 @@ import { DeleteTargetGroupCommandInput, DeleteTargetGroupCommandOutput } from ".
|
|
|
15
15
|
import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "./commands/DeleteTrustStoreCommand";
|
|
16
16
|
import { DeregisterTargetsCommandInput, DeregisterTargetsCommandOutput } from "./commands/DeregisterTargetsCommand";
|
|
17
17
|
import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "./commands/DescribeAccountLimitsCommand";
|
|
18
|
+
import { DescribeCapacityReservationCommandInput, DescribeCapacityReservationCommandOutput } from "./commands/DescribeCapacityReservationCommand";
|
|
18
19
|
import { DescribeListenerAttributesCommandInput, DescribeListenerAttributesCommandOutput } from "./commands/DescribeListenerAttributesCommand";
|
|
19
20
|
import { DescribeListenerCertificatesCommandInput, DescribeListenerCertificatesCommandOutput } from "./commands/DescribeListenerCertificatesCommand";
|
|
20
21
|
import { DescribeListenersCommandInput, DescribeListenersCommandOutput } from "./commands/DescribeListenersCommand";
|
|
@@ -32,6 +33,7 @@ import { DescribeTrustStoresCommandInput, DescribeTrustStoresCommandOutput } fro
|
|
|
32
33
|
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
33
34
|
import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
|
|
34
35
|
import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "./commands/GetTrustStoreRevocationContentCommand";
|
|
36
|
+
import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "./commands/ModifyCapacityReservationCommand";
|
|
35
37
|
import { ModifyListenerAttributesCommandInput, ModifyListenerAttributesCommandOutput } from "./commands/ModifyListenerAttributesCommand";
|
|
36
38
|
import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "./commands/ModifyListenerCommand";
|
|
37
39
|
import { ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput } from "./commands/ModifyLoadBalancerAttributesCommand";
|
|
@@ -146,6 +148,12 @@ export interface ElasticLoadBalancingV2 {
|
|
|
146
148
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountLimitsCommandOutput>;
|
|
147
149
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
|
|
148
150
|
describeAccountLimits(args: DescribeAccountLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void): void;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link DescribeCapacityReservationCommand}
|
|
153
|
+
*/
|
|
154
|
+
describeCapacityReservation(args: DescribeCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCapacityReservationCommandOutput>;
|
|
155
|
+
describeCapacityReservation(args: DescribeCapacityReservationCommandInput, cb: (err: any, data?: DescribeCapacityReservationCommandOutput) => void): void;
|
|
156
|
+
describeCapacityReservation(args: DescribeCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCapacityReservationCommandOutput) => void): void;
|
|
149
157
|
/**
|
|
150
158
|
* @see {@link DescribeListenerAttributesCommand}
|
|
151
159
|
*/
|
|
@@ -254,6 +262,12 @@ export interface ElasticLoadBalancingV2 {
|
|
|
254
262
|
getTrustStoreRevocationContent(args: GetTrustStoreRevocationContentCommandInput, options?: __HttpHandlerOptions): Promise<GetTrustStoreRevocationContentCommandOutput>;
|
|
255
263
|
getTrustStoreRevocationContent(args: GetTrustStoreRevocationContentCommandInput, cb: (err: any, data?: GetTrustStoreRevocationContentCommandOutput) => void): void;
|
|
256
264
|
getTrustStoreRevocationContent(args: GetTrustStoreRevocationContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrustStoreRevocationContentCommandOutput) => void): void;
|
|
265
|
+
/**
|
|
266
|
+
* @see {@link ModifyCapacityReservationCommand}
|
|
267
|
+
*/
|
|
268
|
+
modifyCapacityReservation(args: ModifyCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<ModifyCapacityReservationCommandOutput>;
|
|
269
|
+
modifyCapacityReservation(args: ModifyCapacityReservationCommandInput, cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void): void;
|
|
270
|
+
modifyCapacityReservation(args: ModifyCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void): void;
|
|
257
271
|
/**
|
|
258
272
|
* @see {@link ModifyListenerCommand}
|
|
259
273
|
*/
|