@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.
@@ -23,6 +23,7 @@ import { DeleteTargetGroupCommandInput, DeleteTargetGroupCommandOutput } from ".
23
23
  import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "./commands/DeleteTrustStoreCommand";
24
24
  import { DeregisterTargetsCommandInput, DeregisterTargetsCommandOutput } from "./commands/DeregisterTargetsCommand";
25
25
  import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "./commands/DescribeAccountLimitsCommand";
26
+ import { DescribeCapacityReservationCommandInput, DescribeCapacityReservationCommandOutput } from "./commands/DescribeCapacityReservationCommand";
26
27
  import { DescribeListenerAttributesCommandInput, DescribeListenerAttributesCommandOutput } from "./commands/DescribeListenerAttributesCommand";
27
28
  import { DescribeListenerCertificatesCommandInput, DescribeListenerCertificatesCommandOutput } from "./commands/DescribeListenerCertificatesCommand";
28
29
  import { DescribeListenersCommandInput, DescribeListenersCommandOutput } from "./commands/DescribeListenersCommand";
@@ -40,6 +41,7 @@ import { DescribeTrustStoresCommandInput, DescribeTrustStoresCommandOutput } fro
40
41
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
41
42
  import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
42
43
  import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "./commands/GetTrustStoreRevocationContentCommand";
44
+ import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "./commands/ModifyCapacityReservationCommand";
43
45
  import { ModifyListenerAttributesCommandInput, ModifyListenerAttributesCommandOutput } from "./commands/ModifyListenerAttributesCommand";
44
46
  import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "./commands/ModifyListenerCommand";
45
47
  import { ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput } from "./commands/ModifyLoadBalancerAttributesCommand";
@@ -61,11 +63,11 @@ export { __Client };
61
63
  /**
62
64
  * @public
63
65
  */
64
- export type ServiceInputTypes = AddListenerCertificatesCommandInput | AddTagsCommandInput | AddTrustStoreRevocationsCommandInput | CreateListenerCommandInput | CreateLoadBalancerCommandInput | CreateRuleCommandInput | CreateTargetGroupCommandInput | CreateTrustStoreCommandInput | DeleteListenerCommandInput | DeleteLoadBalancerCommandInput | DeleteRuleCommandInput | DeleteSharedTrustStoreAssociationCommandInput | DeleteTargetGroupCommandInput | DeleteTrustStoreCommandInput | DeregisterTargetsCommandInput | DescribeAccountLimitsCommandInput | DescribeListenerAttributesCommandInput | DescribeListenerCertificatesCommandInput | DescribeListenersCommandInput | DescribeLoadBalancerAttributesCommandInput | DescribeLoadBalancersCommandInput | DescribeRulesCommandInput | DescribeSSLPoliciesCommandInput | DescribeTagsCommandInput | DescribeTargetGroupAttributesCommandInput | DescribeTargetGroupsCommandInput | DescribeTargetHealthCommandInput | DescribeTrustStoreAssociationsCommandInput | DescribeTrustStoreRevocationsCommandInput | DescribeTrustStoresCommandInput | GetResourcePolicyCommandInput | GetTrustStoreCaCertificatesBundleCommandInput | GetTrustStoreRevocationContentCommandInput | ModifyListenerAttributesCommandInput | ModifyListenerCommandInput | ModifyLoadBalancerAttributesCommandInput | ModifyRuleCommandInput | ModifyTargetGroupAttributesCommandInput | ModifyTargetGroupCommandInput | ModifyTrustStoreCommandInput | RegisterTargetsCommandInput | RemoveListenerCertificatesCommandInput | RemoveTagsCommandInput | RemoveTrustStoreRevocationsCommandInput | SetIpAddressTypeCommandInput | SetRulePrioritiesCommandInput | SetSecurityGroupsCommandInput | SetSubnetsCommandInput;
66
+ export type ServiceInputTypes = AddListenerCertificatesCommandInput | AddTagsCommandInput | AddTrustStoreRevocationsCommandInput | CreateListenerCommandInput | CreateLoadBalancerCommandInput | CreateRuleCommandInput | CreateTargetGroupCommandInput | CreateTrustStoreCommandInput | DeleteListenerCommandInput | DeleteLoadBalancerCommandInput | DeleteRuleCommandInput | DeleteSharedTrustStoreAssociationCommandInput | DeleteTargetGroupCommandInput | DeleteTrustStoreCommandInput | DeregisterTargetsCommandInput | DescribeAccountLimitsCommandInput | DescribeCapacityReservationCommandInput | DescribeListenerAttributesCommandInput | DescribeListenerCertificatesCommandInput | DescribeListenersCommandInput | DescribeLoadBalancerAttributesCommandInput | DescribeLoadBalancersCommandInput | DescribeRulesCommandInput | DescribeSSLPoliciesCommandInput | DescribeTagsCommandInput | DescribeTargetGroupAttributesCommandInput | DescribeTargetGroupsCommandInput | DescribeTargetHealthCommandInput | DescribeTrustStoreAssociationsCommandInput | DescribeTrustStoreRevocationsCommandInput | DescribeTrustStoresCommandInput | GetResourcePolicyCommandInput | GetTrustStoreCaCertificatesBundleCommandInput | GetTrustStoreRevocationContentCommandInput | ModifyCapacityReservationCommandInput | ModifyListenerAttributesCommandInput | ModifyListenerCommandInput | ModifyLoadBalancerAttributesCommandInput | ModifyRuleCommandInput | ModifyTargetGroupAttributesCommandInput | ModifyTargetGroupCommandInput | ModifyTrustStoreCommandInput | RegisterTargetsCommandInput | RemoveListenerCertificatesCommandInput | RemoveTagsCommandInput | RemoveTrustStoreRevocationsCommandInput | SetIpAddressTypeCommandInput | SetRulePrioritiesCommandInput | SetSecurityGroupsCommandInput | SetSubnetsCommandInput;
65
67
  /**
66
68
  * @public
67
69
  */
68
- export type ServiceOutputTypes = AddListenerCertificatesCommandOutput | AddTagsCommandOutput | AddTrustStoreRevocationsCommandOutput | CreateListenerCommandOutput | CreateLoadBalancerCommandOutput | CreateRuleCommandOutput | CreateTargetGroupCommandOutput | CreateTrustStoreCommandOutput | DeleteListenerCommandOutput | DeleteLoadBalancerCommandOutput | DeleteRuleCommandOutput | DeleteSharedTrustStoreAssociationCommandOutput | DeleteTargetGroupCommandOutput | DeleteTrustStoreCommandOutput | DeregisterTargetsCommandOutput | DescribeAccountLimitsCommandOutput | DescribeListenerAttributesCommandOutput | DescribeListenerCertificatesCommandOutput | DescribeListenersCommandOutput | DescribeLoadBalancerAttributesCommandOutput | DescribeLoadBalancersCommandOutput | DescribeRulesCommandOutput | DescribeSSLPoliciesCommandOutput | DescribeTagsCommandOutput | DescribeTargetGroupAttributesCommandOutput | DescribeTargetGroupsCommandOutput | DescribeTargetHealthCommandOutput | DescribeTrustStoreAssociationsCommandOutput | DescribeTrustStoreRevocationsCommandOutput | DescribeTrustStoresCommandOutput | GetResourcePolicyCommandOutput | GetTrustStoreCaCertificatesBundleCommandOutput | GetTrustStoreRevocationContentCommandOutput | ModifyListenerAttributesCommandOutput | ModifyListenerCommandOutput | ModifyLoadBalancerAttributesCommandOutput | ModifyRuleCommandOutput | ModifyTargetGroupAttributesCommandOutput | ModifyTargetGroupCommandOutput | ModifyTrustStoreCommandOutput | RegisterTargetsCommandOutput | RemoveListenerCertificatesCommandOutput | RemoveTagsCommandOutput | RemoveTrustStoreRevocationsCommandOutput | SetIpAddressTypeCommandOutput | SetRulePrioritiesCommandOutput | SetSecurityGroupsCommandOutput | SetSubnetsCommandOutput;
70
+ export type ServiceOutputTypes = AddListenerCertificatesCommandOutput | AddTagsCommandOutput | AddTrustStoreRevocationsCommandOutput | CreateListenerCommandOutput | CreateLoadBalancerCommandOutput | CreateRuleCommandOutput | CreateTargetGroupCommandOutput | CreateTrustStoreCommandOutput | DeleteListenerCommandOutput | DeleteLoadBalancerCommandOutput | DeleteRuleCommandOutput | DeleteSharedTrustStoreAssociationCommandOutput | DeleteTargetGroupCommandOutput | DeleteTrustStoreCommandOutput | DeregisterTargetsCommandOutput | DescribeAccountLimitsCommandOutput | DescribeCapacityReservationCommandOutput | DescribeListenerAttributesCommandOutput | DescribeListenerCertificatesCommandOutput | DescribeListenersCommandOutput | DescribeLoadBalancerAttributesCommandOutput | DescribeLoadBalancersCommandOutput | DescribeRulesCommandOutput | DescribeSSLPoliciesCommandOutput | DescribeTagsCommandOutput | DescribeTargetGroupAttributesCommandOutput | DescribeTargetGroupsCommandOutput | DescribeTargetHealthCommandOutput | DescribeTrustStoreAssociationsCommandOutput | DescribeTrustStoreRevocationsCommandOutput | DescribeTrustStoresCommandOutput | GetResourcePolicyCommandOutput | GetTrustStoreCaCertificatesBundleCommandOutput | GetTrustStoreRevocationContentCommandOutput | ModifyCapacityReservationCommandOutput | ModifyListenerAttributesCommandOutput | ModifyListenerCommandOutput | ModifyLoadBalancerAttributesCommandOutput | ModifyRuleCommandOutput | ModifyTargetGroupAttributesCommandOutput | ModifyTargetGroupCommandOutput | ModifyTrustStoreCommandOutput | RegisterTargetsCommandOutput | RemoveListenerCertificatesCommandOutput | RemoveTagsCommandOutput | RemoveTrustStoreRevocationsCommandOutput | SetIpAddressTypeCommandOutput | SetRulePrioritiesCommandOutput | SetSecurityGroupsCommandOutput | SetSubnetsCommandOutput;
69
71
  /**
70
72
  * @public
71
73
  */
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client";
4
+ import { DescribeCapacityReservationInput, DescribeCapacityReservationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeCapacityReservationCommand}.
14
+ */
15
+ export interface DescribeCapacityReservationCommandInput extends DescribeCapacityReservationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeCapacityReservationCommand}.
21
+ */
22
+ export interface DescribeCapacityReservationCommandOutput extends DescribeCapacityReservationOutput, __MetadataBearer {
23
+ }
24
+ declare const DescribeCapacityReservationCommand_base: {
25
+ new (input: DescribeCapacityReservationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapacityReservationCommandInput, DescribeCapacityReservationCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DescribeCapacityReservationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeCapacityReservationCommandInput, DescribeCapacityReservationCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes the capacity reservation status for the specified load balancer.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ElasticLoadBalancingV2Client, DescribeCapacityReservationCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
35
+ * // const { ElasticLoadBalancingV2Client, DescribeCapacityReservationCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
36
+ * const client = new ElasticLoadBalancingV2Client(config);
37
+ * const input = { // DescribeCapacityReservationInput
38
+ * LoadBalancerArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeCapacityReservationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeCapacityReservationOutput
43
+ * // LastModifiedTime: new Date("TIMESTAMP"),
44
+ * // DecreaseRequestsRemaining: Number("int"),
45
+ * // MinimumLoadBalancerCapacity: { // MinimumLoadBalancerCapacity
46
+ * // CapacityUnits: Number("int"),
47
+ * // },
48
+ * // CapacityReservationState: [ // ZonalCapacityReservationStates
49
+ * // { // ZonalCapacityReservationState
50
+ * // State: { // CapacityReservationStatus
51
+ * // Code: "provisioned" || "pending" || "rebalancing" || "failed",
52
+ * // Reason: "STRING_VALUE",
53
+ * // },
54
+ * // AvailabilityZone: "STRING_VALUE",
55
+ * // EffectiveCapacityUnits: Number("double"),
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param DescribeCapacityReservationCommandInput - {@link DescribeCapacityReservationCommandInput}
63
+ * @returns {@link DescribeCapacityReservationCommandOutput}
64
+ * @see {@link DescribeCapacityReservationCommandInput} for command's `input` shape.
65
+ * @see {@link DescribeCapacityReservationCommandOutput} for command's `response` shape.
66
+ * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
67
+ *
68
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
69
+ * <p>The specified load balancer does not exist.</p>
70
+ *
71
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
72
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DescribeCapacityReservationCommand extends DescribeCapacityReservationCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DescribeCapacityReservationInput;
81
+ output: DescribeCapacityReservationOutput;
82
+ };
83
+ sdk: {
84
+ input: DescribeCapacityReservationCommandInput;
85
+ output: DescribeCapacityReservationCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client";
4
+ import { ModifyCapacityReservationInput, ModifyCapacityReservationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyCapacityReservationCommand}.
14
+ */
15
+ export interface ModifyCapacityReservationCommandInput extends ModifyCapacityReservationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyCapacityReservationCommand}.
21
+ */
22
+ export interface ModifyCapacityReservationCommandOutput extends ModifyCapacityReservationOutput, __MetadataBearer {
23
+ }
24
+ declare const ModifyCapacityReservationCommand_base: {
25
+ new (input: ModifyCapacityReservationCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyCapacityReservationCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies the capacity reservation of the specified load balancer.</p>
31
+ * <p>When modifying capacity reservation, you must include at least one <code>MinimumLoadBalancerCapacity</code>
32
+ * or <code>ResetCapacityReservation</code>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ElasticLoadBalancingV2Client, ModifyCapacityReservationCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
37
+ * // const { ElasticLoadBalancingV2Client, ModifyCapacityReservationCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
38
+ * const client = new ElasticLoadBalancingV2Client(config);
39
+ * const input = { // ModifyCapacityReservationInput
40
+ * LoadBalancerArn: "STRING_VALUE", // required
41
+ * MinimumLoadBalancerCapacity: { // MinimumLoadBalancerCapacity
42
+ * CapacityUnits: Number("int"),
43
+ * },
44
+ * ResetCapacityReservation: true || false,
45
+ * };
46
+ * const command = new ModifyCapacityReservationCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ModifyCapacityReservationOutput
49
+ * // LastModifiedTime: new Date("TIMESTAMP"),
50
+ * // DecreaseRequestsRemaining: Number("int"),
51
+ * // MinimumLoadBalancerCapacity: { // MinimumLoadBalancerCapacity
52
+ * // CapacityUnits: Number("int"),
53
+ * // },
54
+ * // CapacityReservationState: [ // ZonalCapacityReservationStates
55
+ * // { // ZonalCapacityReservationState
56
+ * // State: { // CapacityReservationStatus
57
+ * // Code: "provisioned" || "pending" || "rebalancing" || "failed",
58
+ * // Reason: "STRING_VALUE",
59
+ * // },
60
+ * // AvailabilityZone: "STRING_VALUE",
61
+ * // EffectiveCapacityUnits: Number("double"),
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ModifyCapacityReservationCommandInput - {@link ModifyCapacityReservationCommandInput}
69
+ * @returns {@link ModifyCapacityReservationCommandOutput}
70
+ * @see {@link ModifyCapacityReservationCommandInput} for command's `input` shape.
71
+ * @see {@link ModifyCapacityReservationCommandOutput} for command's `response` shape.
72
+ * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
73
+ *
74
+ * @throws {@link CapacityDecreaseRequestsLimitExceededException} (client fault)
75
+ * <p>You've exceeded the daily capacity decrease limit for this reservation.</p>
76
+ *
77
+ * @throws {@link CapacityReservationPendingException} (client fault)
78
+ * <p>There is a pending capacity reservation.</p>
79
+ *
80
+ * @throws {@link CapacityUnitsLimitExceededException} (client fault)
81
+ * <p>You've exceeded the capacity units limit.</p>
82
+ *
83
+ * @throws {@link InsufficientCapacityException} (server fault)
84
+ * <p>There is insufficient capacity to reserve.</p>
85
+ *
86
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
87
+ * <p>The requested configuration is not valid.</p>
88
+ *
89
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
90
+ * <p>The specified load balancer does not exist.</p>
91
+ *
92
+ * @throws {@link OperationNotPermittedException} (client fault)
93
+ * <p>This operation is not allowed.</p>
94
+ *
95
+ * @throws {@link PriorRequestNotCompleteException} (client fault)
96
+ * <p>This operation is not allowed while a prior request has not been completed.</p>
97
+ *
98
+ * @throws {@link ElasticLoadBalancingV2ServiceException}
99
+ * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
100
+ *
101
+ * @public
102
+ */
103
+ export declare class ModifyCapacityReservationCommand extends ModifyCapacityReservationCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: ModifyCapacityReservationInput;
108
+ output: ModifyCapacityReservationOutput;
109
+ };
110
+ sdk: {
111
+ input: ModifyCapacityReservationCommandInput;
112
+ output: ModifyCapacityReservationCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -95,6 +95,9 @@ declare const SetSubnetsCommand_base: {
95
95
  * @throws {@link AvailabilityZoneNotSupportedException} (client fault)
96
96
  * <p>The specified Availability Zone is not supported.</p>
97
97
  *
98
+ * @throws {@link CapacityReservationPendingException} (client fault)
99
+ * <p>There is a pending capacity reservation.</p>
100
+ *
98
101
  * @throws {@link InvalidConfigurationRequestException} (client fault)
99
102
  * <p>The requested configuration is not valid.</p>
100
103
  *
@@ -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";
@@ -940,6 +940,75 @@ export declare class CaCertificatesBundleNotFoundException extends __BaseExcepti
940
940
  */
941
941
  constructor(opts: __ExceptionOptionType<CaCertificatesBundleNotFoundException, __BaseException>);
942
942
  }
943
+ /**
944
+ * <p>You've exceeded the daily capacity decrease limit for this reservation.</p>
945
+ * @public
946
+ */
947
+ export declare class CapacityDecreaseRequestsLimitExceededException extends __BaseException {
948
+ readonly name: "CapacityDecreaseRequestsLimitExceededException";
949
+ readonly $fault: "client";
950
+ Message?: string | undefined;
951
+ /**
952
+ * @internal
953
+ */
954
+ constructor(opts: __ExceptionOptionType<CapacityDecreaseRequestsLimitExceededException, __BaseException>);
955
+ }
956
+ /**
957
+ * <p>There is a pending capacity reservation.</p>
958
+ * @public
959
+ */
960
+ export declare class CapacityReservationPendingException extends __BaseException {
961
+ readonly name: "CapacityReservationPendingException";
962
+ readonly $fault: "client";
963
+ Message?: string | undefined;
964
+ /**
965
+ * @internal
966
+ */
967
+ constructor(opts: __ExceptionOptionType<CapacityReservationPendingException, __BaseException>);
968
+ }
969
+ /**
970
+ * @public
971
+ * @enum
972
+ */
973
+ export declare const CapacityReservationStateEnum: {
974
+ readonly FAILED: "failed";
975
+ readonly PENDING: "pending";
976
+ readonly PROVISIONED: "provisioned";
977
+ readonly REBALANCING: "rebalancing";
978
+ };
979
+ /**
980
+ * @public
981
+ */
982
+ export type CapacityReservationStateEnum = (typeof CapacityReservationStateEnum)[keyof typeof CapacityReservationStateEnum];
983
+ /**
984
+ * <p>The status of a capacity reservation.</p>
985
+ * @public
986
+ */
987
+ export interface CapacityReservationStatus {
988
+ /**
989
+ * <p>The status code.</p>
990
+ * @public
991
+ */
992
+ Code?: CapacityReservationStateEnum | undefined;
993
+ /**
994
+ * <p>The reason code for the status.</p>
995
+ * @public
996
+ */
997
+ Reason?: string | undefined;
998
+ }
999
+ /**
1000
+ * <p>You've exceeded the capacity units limit.</p>
1001
+ * @public
1002
+ */
1003
+ export declare class CapacityUnitsLimitExceededException extends __BaseException {
1004
+ readonly name: "CapacityUnitsLimitExceededException";
1005
+ readonly $fault: "client";
1006
+ Message?: string | undefined;
1007
+ /**
1008
+ * @internal
1009
+ */
1010
+ constructor(opts: __ExceptionOptionType<CapacityUnitsLimitExceededException, __BaseException>);
1011
+ }
943
1012
  /**
944
1013
  * <p>Information about a cipher used in a policy.</p>
945
1014
  * @public
@@ -2946,6 +3015,73 @@ export interface DescribeAccountLimitsOutput {
2946
3015
  */
2947
3016
  NextMarker?: string | undefined;
2948
3017
  }
3018
+ /**
3019
+ * @public
3020
+ */
3021
+ export interface DescribeCapacityReservationInput {
3022
+ /**
3023
+ * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
3024
+ * @public
3025
+ */
3026
+ LoadBalancerArn: string | undefined;
3027
+ }
3028
+ /**
3029
+ * <p>The capacity reservation status for each availability zone.</p>
3030
+ * @public
3031
+ */
3032
+ export interface ZonalCapacityReservationState {
3033
+ /**
3034
+ * <p>The state of the capacity reservation.</p>
3035
+ * @public
3036
+ */
3037
+ State?: CapacityReservationStatus | undefined;
3038
+ /**
3039
+ * <p>Information about the availability zone.</p>
3040
+ * @public
3041
+ */
3042
+ AvailabilityZone?: string | undefined;
3043
+ /**
3044
+ * <p>The number of effective capacity units.</p>
3045
+ * @public
3046
+ */
3047
+ EffectiveCapacityUnits?: number | undefined;
3048
+ }
3049
+ /**
3050
+ * <p>The minimum capacity for a load balancer.</p>
3051
+ * @public
3052
+ */
3053
+ export interface MinimumLoadBalancerCapacity {
3054
+ /**
3055
+ * <p>The number of capacity units.</p>
3056
+ * @public
3057
+ */
3058
+ CapacityUnits?: number | undefined;
3059
+ }
3060
+ /**
3061
+ * @public
3062
+ */
3063
+ export interface DescribeCapacityReservationOutput {
3064
+ /**
3065
+ * <p>The last time the capacity reservation was modified.</p>
3066
+ * @public
3067
+ */
3068
+ LastModifiedTime?: Date | undefined;
3069
+ /**
3070
+ * <p>The amount of daily capacity decreases remaining.</p>
3071
+ * @public
3072
+ */
3073
+ DecreaseRequestsRemaining?: number | undefined;
3074
+ /**
3075
+ * <p>The requested minimum capacity reservation for the load balancer</p>
3076
+ * @public
3077
+ */
3078
+ MinimumLoadBalancerCapacity?: MinimumLoadBalancerCapacity | undefined;
3079
+ /**
3080
+ * <p>The state of the capacity reservation.</p>
3081
+ * @public
3082
+ */
3083
+ CapacityReservationState?: ZonalCapacityReservationState[] | undefined;
3084
+ }
2949
3085
  /**
2950
3086
  * @public
2951
3087
  */
@@ -4229,6 +4365,77 @@ export interface GetTrustStoreRevocationContentOutput {
4229
4365
  */
4230
4366
  Location?: string | undefined;
4231
4367
  }
4368
+ /**
4369
+ * <p>There is insufficient capacity to reserve.</p>
4370
+ * @public
4371
+ */
4372
+ export declare class InsufficientCapacityException extends __BaseException {
4373
+ readonly name: "InsufficientCapacityException";
4374
+ readonly $fault: "server";
4375
+ Message?: string | undefined;
4376
+ /**
4377
+ * @internal
4378
+ */
4379
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
4380
+ }
4381
+ /**
4382
+ * @public
4383
+ */
4384
+ export interface ModifyCapacityReservationInput {
4385
+ /**
4386
+ * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
4387
+ * @public
4388
+ */
4389
+ LoadBalancerArn: string | undefined;
4390
+ /**
4391
+ * <p>The minimum load balancer capacity reserved.</p>
4392
+ * @public
4393
+ */
4394
+ MinimumLoadBalancerCapacity?: MinimumLoadBalancerCapacity | undefined;
4395
+ /**
4396
+ * <p>Resets the capacity reservation.</p>
4397
+ * @public
4398
+ */
4399
+ ResetCapacityReservation?: boolean | undefined;
4400
+ }
4401
+ /**
4402
+ * @public
4403
+ */
4404
+ export interface ModifyCapacityReservationOutput {
4405
+ /**
4406
+ * <p>The last time the capacity reservation was modified.</p>
4407
+ * @public
4408
+ */
4409
+ LastModifiedTime?: Date | undefined;
4410
+ /**
4411
+ * <p>The amount of daily capacity decreases remaining.</p>
4412
+ * @public
4413
+ */
4414
+ DecreaseRequestsRemaining?: number | undefined;
4415
+ /**
4416
+ * <p>The requested minimum capacity reservation for the load balancer</p>
4417
+ * @public
4418
+ */
4419
+ MinimumLoadBalancerCapacity?: MinimumLoadBalancerCapacity | undefined;
4420
+ /**
4421
+ * <p>The state of the capacity reservation.</p>
4422
+ * @public
4423
+ */
4424
+ CapacityReservationState?: ZonalCapacityReservationState[] | undefined;
4425
+ }
4426
+ /**
4427
+ * <p>This operation is not allowed while a prior request has not been completed.</p>
4428
+ * @public
4429
+ */
4430
+ export declare class PriorRequestNotCompleteException extends __BaseException {
4431
+ readonly name: "PriorRequestNotCompleteException";
4432
+ readonly $fault: "client";
4433
+ Message?: string | undefined;
4434
+ /**
4435
+ * @internal
4436
+ */
4437
+ constructor(opts: __ExceptionOptionType<PriorRequestNotCompleteException, __BaseException>);
4438
+ }
4232
4439
  /**
4233
4440
  * @public
4234
4441
  */
@@ -16,6 +16,7 @@ import { DeleteTargetGroupCommandInput, DeleteTargetGroupCommandOutput } from ".
16
16
  import { DeleteTrustStoreCommandInput, DeleteTrustStoreCommandOutput } from "../commands/DeleteTrustStoreCommand";
17
17
  import { DeregisterTargetsCommandInput, DeregisterTargetsCommandOutput } from "../commands/DeregisterTargetsCommand";
18
18
  import { DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput } from "../commands/DescribeAccountLimitsCommand";
19
+ import { DescribeCapacityReservationCommandInput, DescribeCapacityReservationCommandOutput } from "../commands/DescribeCapacityReservationCommand";
19
20
  import { DescribeListenerAttributesCommandInput, DescribeListenerAttributesCommandOutput } from "../commands/DescribeListenerAttributesCommand";
20
21
  import { DescribeListenerCertificatesCommandInput, DescribeListenerCertificatesCommandOutput } from "../commands/DescribeListenerCertificatesCommand";
21
22
  import { DescribeListenersCommandInput, DescribeListenersCommandOutput } from "../commands/DescribeListenersCommand";
@@ -33,6 +34,7 @@ import { DescribeTrustStoresCommandInput, DescribeTrustStoresCommandOutput } fro
33
34
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
34
35
  import { GetTrustStoreCaCertificatesBundleCommandInput, GetTrustStoreCaCertificatesBundleCommandOutput } from "../commands/GetTrustStoreCaCertificatesBundleCommand";
35
36
  import { GetTrustStoreRevocationContentCommandInput, GetTrustStoreRevocationContentCommandOutput } from "../commands/GetTrustStoreRevocationContentCommand";
37
+ import { ModifyCapacityReservationCommandInput, ModifyCapacityReservationCommandOutput } from "../commands/ModifyCapacityReservationCommand";
36
38
  import { ModifyListenerAttributesCommandInput, ModifyListenerAttributesCommandOutput } from "../commands/ModifyListenerAttributesCommand";
37
39
  import { ModifyListenerCommandInput, ModifyListenerCommandOutput } from "../commands/ModifyListenerCommand";
38
40
  import { ModifyLoadBalancerAttributesCommandInput, ModifyLoadBalancerAttributesCommandOutput } from "../commands/ModifyLoadBalancerAttributesCommand";
@@ -112,6 +114,10 @@ export declare const se_DeregisterTargetsCommand: (input: DeregisterTargetsComma
112
114
  * serializeAws_queryDescribeAccountLimitsCommand
113
115
  */
114
116
  export declare const se_DescribeAccountLimitsCommand: (input: DescribeAccountLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
+ /**
118
+ * serializeAws_queryDescribeCapacityReservationCommand
119
+ */
120
+ export declare const se_DescribeCapacityReservationCommand: (input: DescribeCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
121
  /**
116
122
  * serializeAws_queryDescribeListenerAttributesCommand
117
123
  */
@@ -180,6 +186,10 @@ export declare const se_GetTrustStoreCaCertificatesBundleCommand: (input: GetTru
180
186
  * serializeAws_queryGetTrustStoreRevocationContentCommand
181
187
  */
182
188
  export declare const se_GetTrustStoreRevocationContentCommand: (input: GetTrustStoreRevocationContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
189
+ /**
190
+ * serializeAws_queryModifyCapacityReservationCommand
191
+ */
192
+ export declare const se_ModifyCapacityReservationCommand: (input: ModifyCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
193
  /**
184
194
  * serializeAws_queryModifyListenerCommand
185
195
  */
@@ -304,6 +314,10 @@ export declare const de_DeregisterTargetsCommand: (output: __HttpResponse, conte
304
314
  * deserializeAws_queryDescribeAccountLimitsCommand
305
315
  */
306
316
  export declare const de_DescribeAccountLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAccountLimitsCommandOutput>;
317
+ /**
318
+ * deserializeAws_queryDescribeCapacityReservationCommand
319
+ */
320
+ export declare const de_DescribeCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCapacityReservationCommandOutput>;
307
321
  /**
308
322
  * deserializeAws_queryDescribeListenerAttributesCommand
309
323
  */
@@ -372,6 +386,10 @@ export declare const de_GetTrustStoreCaCertificatesBundleCommand: (output: __Htt
372
386
  * deserializeAws_queryGetTrustStoreRevocationContentCommand
373
387
  */
374
388
  export declare const de_GetTrustStoreRevocationContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrustStoreRevocationContentCommandOutput>;
389
+ /**
390
+ * deserializeAws_queryModifyCapacityReservationCommand
391
+ */
392
+ export declare const de_ModifyCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ModifyCapacityReservationCommandOutput>;
375
393
  /**
376
394
  * deserializeAws_queryModifyListenerCommand
377
395
  */
@@ -63,6 +63,10 @@ import {
63
63
  DescribeAccountLimitsCommandInput,
64
64
  DescribeAccountLimitsCommandOutput,
65
65
  } from "./commands/DescribeAccountLimitsCommand";
66
+ import {
67
+ DescribeCapacityReservationCommandInput,
68
+ DescribeCapacityReservationCommandOutput,
69
+ } from "./commands/DescribeCapacityReservationCommand";
66
70
  import {
67
71
  DescribeListenerAttributesCommandInput,
68
72
  DescribeListenerAttributesCommandOutput,
@@ -131,6 +135,10 @@ import {
131
135
  GetTrustStoreRevocationContentCommandInput,
132
136
  GetTrustStoreRevocationContentCommandOutput,
133
137
  } from "./commands/GetTrustStoreRevocationContentCommand";
138
+ import {
139
+ ModifyCapacityReservationCommandInput,
140
+ ModifyCapacityReservationCommandOutput,
141
+ } from "./commands/ModifyCapacityReservationCommand";
134
142
  import {
135
143
  ModifyListenerAttributesCommandInput,
136
144
  ModifyListenerAttributesCommandOutput,
@@ -408,6 +416,19 @@ export interface ElasticLoadBalancingV2 {
408
416
  options: __HttpHandlerOptions,
409
417
  cb: (err: any, data?: DescribeAccountLimitsCommandOutput) => void
410
418
  ): void;
419
+ describeCapacityReservation(
420
+ args: DescribeCapacityReservationCommandInput,
421
+ options?: __HttpHandlerOptions
422
+ ): Promise<DescribeCapacityReservationCommandOutput>;
423
+ describeCapacityReservation(
424
+ args: DescribeCapacityReservationCommandInput,
425
+ cb: (err: any, data?: DescribeCapacityReservationCommandOutput) => void
426
+ ): void;
427
+ describeCapacityReservation(
428
+ args: DescribeCapacityReservationCommandInput,
429
+ options: __HttpHandlerOptions,
430
+ cb: (err: any, data?: DescribeCapacityReservationCommandOutput) => void
431
+ ): void;
411
432
  describeListenerAttributes(
412
433
  args: DescribeListenerAttributesCommandInput,
413
434
  options?: __HttpHandlerOptions
@@ -641,6 +662,19 @@ export interface ElasticLoadBalancingV2 {
641
662
  options: __HttpHandlerOptions,
642
663
  cb: (err: any, data?: GetTrustStoreRevocationContentCommandOutput) => void
643
664
  ): void;
665
+ modifyCapacityReservation(
666
+ args: ModifyCapacityReservationCommandInput,
667
+ options?: __HttpHandlerOptions
668
+ ): Promise<ModifyCapacityReservationCommandOutput>;
669
+ modifyCapacityReservation(
670
+ args: ModifyCapacityReservationCommandInput,
671
+ cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void
672
+ ): void;
673
+ modifyCapacityReservation(
674
+ args: ModifyCapacityReservationCommandInput,
675
+ options: __HttpHandlerOptions,
676
+ cb: (err: any, data?: ModifyCapacityReservationCommandOutput) => void
677
+ ): void;
644
678
  modifyListener(
645
679
  args: ModifyListenerCommandInput,
646
680
  options?: __HttpHandlerOptions