@aws-sdk/client-elastic-load-balancing-v2 3.696.0 → 3.698.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
  */
@@ -2971,6 +3107,120 @@ export interface ListenerAttribute {
2971
3107
  * valid range is 60-6000 seconds. The default is 350 seconds.</p>
2972
3108
  * </li>
2973
3109
  * </ul>
3110
+ * <p>The following attributes are only supported by Application Load Balancers.</p>
3111
+ * <ul>
3112
+ * <li>
3113
+ * <p>
3114
+ * <code>routing.http.request.x_amzn_mtls_clientcert_serial_number.header_name</code> -
3115
+ * Enables you to modify the header name of the
3116
+ * <b>X-Amzn-Mtls-Clientcert-Serial-Number</b> HTTP request header.</p>
3117
+ * </li>
3118
+ * <li>
3119
+ * <p>
3120
+ * <code>routing.http.request.x_amzn_mtls_clientcert_issuer.header_name</code> -
3121
+ * Enables you to modify the header name of the
3122
+ * <b>X-Amzn-Mtls-Clientcert-Issuer</b> HTTP request header.</p>
3123
+ * </li>
3124
+ * <li>
3125
+ * <p>
3126
+ * <code>routing.http.request.x_amzn_mtls_clientcert_subject.header_name</code> -
3127
+ * Enables you to modify the header name of the
3128
+ * <b>X-Amzn-Mtls-Clientcert-Subject</b> HTTP request header.</p>
3129
+ * </li>
3130
+ * <li>
3131
+ * <p>
3132
+ * <code>routing.http.request.x_amzn_mtls_clientcert_validity.header_name</code> -
3133
+ * Enables you to modify the header name of the
3134
+ * <b>X-Amzn-Mtls-Clientcert-Validity</b> HTTP request header.</p>
3135
+ * </li>
3136
+ * <li>
3137
+ * <p>
3138
+ * <code>routing.http.request.x_amzn_mtls_clientcert_leaf.header_name</code> -
3139
+ * Enables you to modify the header name of the
3140
+ * <b>X-Amzn-Mtls-Clientcert-Leaf</b> HTTP request header.</p>
3141
+ * </li>
3142
+ * <li>
3143
+ * <p>
3144
+ * <code>routing.http.request.x_amzn_mtls_clientcert.header_name</code> -
3145
+ * Enables you to modify the header name of the
3146
+ * <b>X-Amzn-Mtls-Clientcert</b> HTTP request header.</p>
3147
+ * </li>
3148
+ * <li>
3149
+ * <p>
3150
+ * <code>routing.http.request.x_amzn_tls_version.header_name</code> -
3151
+ * Enables you to modify the header name of the
3152
+ * <b>X-Amzn-Tls-Version</b> HTTP request header.</p>
3153
+ * </li>
3154
+ * <li>
3155
+ * <p>
3156
+ * <code>routing.http.request.x_amzn_tls_cipher_suite.header_name</code> -
3157
+ * Enables you to modify the header name of the
3158
+ * <b>X-Amzn-Tls-Cipher-Suite</b> HTTP request header.</p>
3159
+ * </li>
3160
+ * <li>
3161
+ * <p>
3162
+ * <code>routing.http.response.server.enabled</code> -
3163
+ * Enables you to allow or remove the HTTP response server header.</p>
3164
+ * </li>
3165
+ * <li>
3166
+ * <p>
3167
+ * <code>routing.http.response.strict_transport_security.header_value</code> -
3168
+ * Informs browsers that the site should only be accessed using HTTPS, and that
3169
+ * any future attempts to access it using HTTP should automatically be converted
3170
+ * to HTTPS.</p>
3171
+ * </li>
3172
+ * <li>
3173
+ * <p>
3174
+ * <code>routing.http.response.access_control_allow_origin.header_value</code> -
3175
+ * Specifies which origins are allowed to access the server.</p>
3176
+ * </li>
3177
+ * <li>
3178
+ * <p>
3179
+ * <code>routing.http.response.access_control_allow_methods.header_value</code> -
3180
+ * Returns which HTTP methods are allowed when accessing the server from a different
3181
+ * origin.</p>
3182
+ * </li>
3183
+ * <li>
3184
+ * <p>
3185
+ * <code>routing.http.response.access_control_allow_headers.header_value</code> -
3186
+ * Specifies which headers can be used during the request.</p>
3187
+ * </li>
3188
+ * <li>
3189
+ * <p>
3190
+ * <code>routing.http.response.access_control_allow_credentials.header_value</code> -
3191
+ * Indicates whether the browser should include credentials such as cookies or
3192
+ * authentication when making requests.</p>
3193
+ * </li>
3194
+ * <li>
3195
+ * <p>
3196
+ * <code>routing.http.response.access_control_expose_headers.header_value</code> -
3197
+ * Returns which headers the browser can expose to the requesting client.</p>
3198
+ * </li>
3199
+ * <li>
3200
+ * <p>
3201
+ * <code>routing.http.response.access_control_max_age.header_value</code> -
3202
+ * Specifies how long the results of a preflight request can be cached, in seconds.</p>
3203
+ * </li>
3204
+ * <li>
3205
+ * <p>
3206
+ * <code>routing.http.response.content_security_policy.header_value</code> -
3207
+ * Specifies restrictions enforced by the browser to help minimize the risk of certain
3208
+ * types of security threats.</p>
3209
+ * </li>
3210
+ * <li>
3211
+ * <p>
3212
+ * <code>routing.http.response.x_content_type_options.header_value</code> -
3213
+ * Indicates whether the MIME types advertised in the <b>Content-Type</b>
3214
+ * headers should be followed and not be changed.</p>
3215
+ * </li>
3216
+ * <li>
3217
+ * <p>
3218
+ * <code>routing.http.response.x_frame_options.header_value</code> - Indicates
3219
+ * whether the browser is allowed to render a page in a <b>frame</b>,
3220
+ * <b>iframe</b>, <b>embed</b> or
3221
+ * <b>object</b>.</p>
3222
+ * </li>
3223
+ * </ul>
2974
3224
  * @public
2975
3225
  */
2976
3226
  Key?: string | undefined;
@@ -3130,6 +3380,12 @@ export interface LoadBalancerAttribute {
3130
3380
  * <code>true</code> for internal load balancers, preventing unintended access to your
3131
3381
  * internal load balancer through an internet gateway.</p>
3132
3382
  * </li>
3383
+ * <li>
3384
+ * <p>
3385
+ * <code>zonal_shift.config.enabled</code> - Indicates whether zonal shift is
3386
+ * enabled. The possible values are <code>true</code> and <code>false</code>. The
3387
+ * default is <code>false</code>.</p>
3388
+ * </li>
3133
3389
  * </ul>
3134
3390
  * <p>The following attributes are supported by only Application Load Balancers:</p>
3135
3391
  * <ul>
@@ -3248,12 +3504,6 @@ export interface LoadBalancerAttribute {
3248
3504
  * <code>partial_availability_zone_affinity</code> with 85 percent zonal affinity,
3249
3505
  * and <code>any_availability_zone</code> with 0 percent zonal affinity.</p>
3250
3506
  * </li>
3251
- * <li>
3252
- * <p>
3253
- * <code>zonal_shift.config.enabled</code> - Indicates whether zonal shift is
3254
- * enabled. The possible values are <code>true</code> and <code>false</code>. The
3255
- * default is <code>false</code>.</p>
3256
- * </li>
3257
3507
  * </ul>
3258
3508
  * @public
3259
3509
  */
@@ -4229,6 +4479,77 @@ export interface GetTrustStoreRevocationContentOutput {
4229
4479
  */
4230
4480
  Location?: string | undefined;
4231
4481
  }
4482
+ /**
4483
+ * <p>There is insufficient capacity to reserve.</p>
4484
+ * @public
4485
+ */
4486
+ export declare class InsufficientCapacityException extends __BaseException {
4487
+ readonly name: "InsufficientCapacityException";
4488
+ readonly $fault: "server";
4489
+ Message?: string | undefined;
4490
+ /**
4491
+ * @internal
4492
+ */
4493
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
4494
+ }
4495
+ /**
4496
+ * @public
4497
+ */
4498
+ export interface ModifyCapacityReservationInput {
4499
+ /**
4500
+ * <p>The Amazon Resource Name (ARN) of the load balancer.</p>
4501
+ * @public
4502
+ */
4503
+ LoadBalancerArn: string | undefined;
4504
+ /**
4505
+ * <p>The minimum load balancer capacity reserved.</p>
4506
+ * @public
4507
+ */
4508
+ MinimumLoadBalancerCapacity?: MinimumLoadBalancerCapacity | undefined;
4509
+ /**
4510
+ * <p>Resets the capacity reservation.</p>
4511
+ * @public
4512
+ */
4513
+ ResetCapacityReservation?: boolean | undefined;
4514
+ }
4515
+ /**
4516
+ * @public
4517
+ */
4518
+ export interface ModifyCapacityReservationOutput {
4519
+ /**
4520
+ * <p>The last time the capacity reservation was modified.</p>
4521
+ * @public
4522
+ */
4523
+ LastModifiedTime?: Date | undefined;
4524
+ /**
4525
+ * <p>The amount of daily capacity decreases remaining.</p>
4526
+ * @public
4527
+ */
4528
+ DecreaseRequestsRemaining?: number | undefined;
4529
+ /**
4530
+ * <p>The requested minimum capacity reservation for the load balancer</p>
4531
+ * @public
4532
+ */
4533
+ MinimumLoadBalancerCapacity?: MinimumLoadBalancerCapacity | undefined;
4534
+ /**
4535
+ * <p>The state of the capacity reservation.</p>
4536
+ * @public
4537
+ */
4538
+ CapacityReservationState?: ZonalCapacityReservationState[] | undefined;
4539
+ }
4540
+ /**
4541
+ * <p>This operation is not allowed while a prior request has not been completed.</p>
4542
+ * @public
4543
+ */
4544
+ export declare class PriorRequestNotCompleteException extends __BaseException {
4545
+ readonly name: "PriorRequestNotCompleteException";
4546
+ readonly $fault: "client";
4547
+ Message?: string | undefined;
4548
+ /**
4549
+ * @internal
4550
+ */
4551
+ constructor(opts: __ExceptionOptionType<PriorRequestNotCompleteException, __BaseException>);
4552
+ }
4232
4553
  /**
4233
4554
  * @public
4234
4555
  */