@aws-sdk/client-direct-connect 3.1132.0 → 3.1133.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.
Files changed (62) hide show
  1. package/README.md +70 -7
  2. package/dist-cjs/index.js +329 -11
  3. package/dist-es/DirectConnect.js +18 -0
  4. package/dist-es/commands/AssociateConnectionsToResiliencyGroupCommand.js +4 -0
  5. package/dist-es/commands/CreateResiliencyGroupCommand.js +4 -0
  6. package/dist-es/commands/DeleteResiliencyGroupCommand.js +4 -0
  7. package/dist-es/commands/DisassociateConnectionsFromResiliencyGroupCommand.js +4 -0
  8. package/dist-es/commands/GetResiliencyGroupCommand.js +4 -0
  9. package/dist-es/commands/ListResiliencyGroupAssociationsCommand.js +4 -0
  10. package/dist-es/commands/ListResiliencyGroupsCommand.js +4 -0
  11. package/dist-es/commands/UpdateConnectionsBillingModeCommand.js +4 -0
  12. package/dist-es/commands/UpdateResiliencyGroupCommand.js +4 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/models/enums.js +41 -0
  15. package/dist-es/schemas/schemas_0.js +208 -10
  16. package/dist-types/DirectConnect.d.ts +64 -0
  17. package/dist-types/DirectConnectClient.d.ts +11 -2
  18. package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +1 -0
  19. package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +1 -0
  20. package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +1 -0
  21. package/dist-types/commands/AssociateConnectionsToResiliencyGroupCommand.d.ts +92 -0
  22. package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateConnectionCommand.d.ts +2 -0
  24. package/dist-types/commands/CreateLagCommand.d.ts +3 -0
  25. package/dist-types/commands/CreateResiliencyGroupCommand.d.ts +108 -0
  26. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -0
  27. package/dist-types/commands/DeleteLagCommand.d.ts +2 -0
  28. package/dist-types/commands/DeleteResiliencyGroupCommand.d.ts +93 -0
  29. package/dist-types/commands/DescribeConnectionsCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +1 -0
  31. package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeLagsCommand.d.ts +2 -0
  33. package/dist-types/commands/DescribeLocationsCommand.d.ts +11 -0
  34. package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +1 -0
  35. package/dist-types/commands/DisassociateConnectionsFromResiliencyGroupCommand.d.ts +89 -0
  36. package/dist-types/commands/GetResiliencyGroupCommand.d.ts +90 -0
  37. package/dist-types/commands/ListResiliencyGroupAssociationsCommand.d.ts +86 -0
  38. package/dist-types/commands/ListResiliencyGroupsCommand.d.ts +89 -0
  39. package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -0
  40. package/dist-types/commands/UpdateConnectionsBillingModeCommand.d.ts +131 -0
  41. package/dist-types/commands/UpdateLagCommand.d.ts +2 -0
  42. package/dist-types/commands/UpdateResiliencyGroupCommand.d.ts +92 -0
  43. package/dist-types/commands/index.d.ts +9 -0
  44. package/dist-types/models/enums.d.ts +89 -0
  45. package/dist-types/models/models_0.d.ts +423 -1
  46. package/dist-types/schemas/schemas_0.d.ts +31 -0
  47. package/dist-types/ts3.4/DirectConnect.d.ts +154 -0
  48. package/dist-types/ts3.4/DirectConnectClient.d.ts +54 -0
  49. package/dist-types/ts3.4/commands/AssociateConnectionsToResiliencyGroupCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/CreateResiliencyGroupCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/DeleteResiliencyGroupCommand.d.ts +39 -0
  52. package/dist-types/ts3.4/commands/DisassociateConnectionsFromResiliencyGroupCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/GetResiliencyGroupCommand.d.ts +39 -0
  54. package/dist-types/ts3.4/commands/ListResiliencyGroupAssociationsCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/ListResiliencyGroupsCommand.d.ts +39 -0
  56. package/dist-types/ts3.4/commands/UpdateConnectionsBillingModeCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/UpdateResiliencyGroupCommand.d.ts +39 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  59. package/dist-types/ts3.4/models/enums.d.ts +48 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +108 -0
  61. package/dist-types/ts3.4/schemas/schemas_0.d.ts +31 -0
  62. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateConnectionsFromResiliencyGroupRequest, DisassociateConnectionsFromResiliencyGroupResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateConnectionsFromResiliencyGroupCommand}.
11
+ */
12
+ export interface DisassociateConnectionsFromResiliencyGroupCommandInput extends DisassociateConnectionsFromResiliencyGroupRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateConnectionsFromResiliencyGroupCommand}.
18
+ */
19
+ export interface DisassociateConnectionsFromResiliencyGroupCommandOutput extends DisassociateConnectionsFromResiliencyGroupResult, __MetadataBearer {
20
+ }
21
+ declare const DisassociateConnectionsFromResiliencyGroupCommand_base: {
22
+ new (input: DisassociateConnectionsFromResiliencyGroupCommandInput): import("@smithy/core/client").CommandImpl<DisassociateConnectionsFromResiliencyGroupCommandInput, DisassociateConnectionsFromResiliencyGroupCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateConnectionsFromResiliencyGroupCommandInput): import("@smithy/core/client").CommandImpl<DisassociateConnectionsFromResiliencyGroupCommandInput, DisassociateConnectionsFromResiliencyGroupCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Disassociates one or more connections from the specified resiliency group. This operation
28
+ * is atomic: either all of the specified connections are disassociated, or the operation fails
29
+ * and no changes are made.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { DirectConnectClient, DisassociateConnectionsFromResiliencyGroupCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
34
+ * // const { DirectConnectClient, DisassociateConnectionsFromResiliencyGroupCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
35
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
36
+ * const config = {}; // type is DirectConnectClientConfig
37
+ * const client = new DirectConnectClient(config);
38
+ * const input = { // DisassociateConnectionsFromResiliencyGroupRequest
39
+ * connectionIdentifiers: [ // ConnectionIdentifierList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * resiliencyGroupId: "STRING_VALUE", // required
43
+ * clientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new DisassociateConnectionsFromResiliencyGroupCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // DisassociateConnectionsFromResiliencyGroupResult
48
+ * // resiliencyGroupAssociations: [ // ResiliencyGroupAssociationList
49
+ * // { // ResiliencyGroupAssociation
50
+ * // resiliencyGroupId: "STRING_VALUE",
51
+ * // connectionArn: "STRING_VALUE",
52
+ * // state: "associating" || "associated" || "disassociating" || "disassociated",
53
+ * // },
54
+ * // ],
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param DisassociateConnectionsFromResiliencyGroupCommandInput - {@link DisassociateConnectionsFromResiliencyGroupCommandInput}
60
+ * @returns {@link DisassociateConnectionsFromResiliencyGroupCommandOutput}
61
+ * @see {@link DisassociateConnectionsFromResiliencyGroupCommandInput} for command's `input` shape.
62
+ * @see {@link DisassociateConnectionsFromResiliencyGroupCommandOutput} for command's `response` shape.
63
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
64
+ *
65
+ * @throws {@link DirectConnectClientException} (client fault)
66
+ * <p>One or more parameters are not valid.</p>
67
+ *
68
+ * @throws {@link DirectConnectServerException} (server fault)
69
+ * <p>A server-side error occurred.</p>
70
+ *
71
+ * @throws {@link DirectConnectServiceException}
72
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DisassociateConnectionsFromResiliencyGroupCommand extends DisassociateConnectionsFromResiliencyGroupCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DisassociateConnectionsFromResiliencyGroupRequest;
82
+ output: DisassociateConnectionsFromResiliencyGroupResult;
83
+ };
84
+ sdk: {
85
+ input: DisassociateConnectionsFromResiliencyGroupCommandInput;
86
+ output: DisassociateConnectionsFromResiliencyGroupCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,90 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetResiliencyGroupRequest, GetResiliencyGroupResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetResiliencyGroupCommand}.
11
+ */
12
+ export interface GetResiliencyGroupCommandInput extends GetResiliencyGroupRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetResiliencyGroupCommand}.
18
+ */
19
+ export interface GetResiliencyGroupCommandOutput extends GetResiliencyGroupResult, __MetadataBearer {
20
+ }
21
+ declare const GetResiliencyGroupCommand_base: {
22
+ new (input: GetResiliencyGroupCommandInput): import("@smithy/core/client").CommandImpl<GetResiliencyGroupCommandInput, GetResiliencyGroupCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetResiliencyGroupCommandInput): import("@smithy/core/client").CommandImpl<GetResiliencyGroupCommandInput, GetResiliencyGroupCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Gets information about the specified resiliency group.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DirectConnectClient, GetResiliencyGroupCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
32
+ * // const { DirectConnectClient, GetResiliencyGroupCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
33
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
34
+ * const config = {}; // type is DirectConnectClientConfig
35
+ * const client = new DirectConnectClient(config);
36
+ * const input = { // GetResiliencyGroupRequest
37
+ * resiliencyGroupId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetResiliencyGroupCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetResiliencyGroupResult
42
+ * // resiliencyGroup: { // ResiliencyGroup
43
+ * // resiliencyGroupId: "STRING_VALUE",
44
+ * // resiliencyGroupArn: "STRING_VALUE",
45
+ * // resiliencyGroupName: "STRING_VALUE",
46
+ * // resiliencyGroupType: "Managed",
47
+ * // ownerAccount: "STRING_VALUE",
48
+ * // state: "pending" || "available" || "deleting" || "deleted",
49
+ * // tags: [ // TagList
50
+ * // { // Tag
51
+ * // key: "STRING_VALUE", // required
52
+ * // value: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetResiliencyGroupCommandInput - {@link GetResiliencyGroupCommandInput}
61
+ * @returns {@link GetResiliencyGroupCommandOutput}
62
+ * @see {@link GetResiliencyGroupCommandInput} for command's `input` shape.
63
+ * @see {@link GetResiliencyGroupCommandOutput} for command's `response` shape.
64
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
65
+ *
66
+ * @throws {@link DirectConnectClientException} (client fault)
67
+ * <p>One or more parameters are not valid.</p>
68
+ *
69
+ * @throws {@link DirectConnectServerException} (server fault)
70
+ * <p>A server-side error occurred.</p>
71
+ *
72
+ * @throws {@link DirectConnectServiceException}
73
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class GetResiliencyGroupCommand extends GetResiliencyGroupCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: GetResiliencyGroupRequest;
83
+ output: GetResiliencyGroupResult;
84
+ };
85
+ sdk: {
86
+ input: GetResiliencyGroupCommandInput;
87
+ output: GetResiliencyGroupCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,86 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListResiliencyGroupAssociationsRequest, ListResiliencyGroupAssociationsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListResiliencyGroupAssociationsCommand}.
11
+ */
12
+ export interface ListResiliencyGroupAssociationsCommandInput extends ListResiliencyGroupAssociationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListResiliencyGroupAssociationsCommand}.
18
+ */
19
+ export interface ListResiliencyGroupAssociationsCommandOutput extends ListResiliencyGroupAssociationsResult, __MetadataBearer {
20
+ }
21
+ declare const ListResiliencyGroupAssociationsCommand_base: {
22
+ new (input: ListResiliencyGroupAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListResiliencyGroupAssociationsCommandInput, ListResiliencyGroupAssociationsCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListResiliencyGroupAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListResiliencyGroupAssociationsCommandInput, ListResiliencyGroupAssociationsCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the connection associations for the specified resiliency group.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DirectConnectClient, ListResiliencyGroupAssociationsCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
32
+ * // const { DirectConnectClient, ListResiliencyGroupAssociationsCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
33
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
34
+ * const config = {}; // type is DirectConnectClientConfig
35
+ * const client = new DirectConnectClient(config);
36
+ * const input = { // ListResiliencyGroupAssociationsRequest
37
+ * resiliencyGroupId: "STRING_VALUE", // required
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListResiliencyGroupAssociationsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListResiliencyGroupAssociationsResult
44
+ * // items: [ // ResiliencyGroupAssociationList
45
+ * // { // ResiliencyGroupAssociation
46
+ * // resiliencyGroupId: "STRING_VALUE",
47
+ * // connectionArn: "STRING_VALUE",
48
+ * // state: "associating" || "associated" || "disassociating" || "disassociated",
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListResiliencyGroupAssociationsCommandInput - {@link ListResiliencyGroupAssociationsCommandInput}
57
+ * @returns {@link ListResiliencyGroupAssociationsCommandOutput}
58
+ * @see {@link ListResiliencyGroupAssociationsCommandInput} for command's `input` shape.
59
+ * @see {@link ListResiliencyGroupAssociationsCommandOutput} for command's `response` shape.
60
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
61
+ *
62
+ * @throws {@link DirectConnectClientException} (client fault)
63
+ * <p>One or more parameters are not valid.</p>
64
+ *
65
+ * @throws {@link DirectConnectServerException} (server fault)
66
+ * <p>A server-side error occurred.</p>
67
+ *
68
+ * @throws {@link DirectConnectServiceException}
69
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class ListResiliencyGroupAssociationsCommand extends ListResiliencyGroupAssociationsCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: ListResiliencyGroupAssociationsRequest;
79
+ output: ListResiliencyGroupAssociationsResult;
80
+ };
81
+ sdk: {
82
+ input: ListResiliencyGroupAssociationsCommandInput;
83
+ output: ListResiliencyGroupAssociationsCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -0,0 +1,89 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListResiliencyGroupsRequest, ListResiliencyGroupsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListResiliencyGroupsCommand}.
11
+ */
12
+ export interface ListResiliencyGroupsCommandInput extends ListResiliencyGroupsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListResiliencyGroupsCommand}.
18
+ */
19
+ export interface ListResiliencyGroupsCommandOutput extends ListResiliencyGroupsResult, __MetadataBearer {
20
+ }
21
+ declare const ListResiliencyGroupsCommand_base: {
22
+ new (input: ListResiliencyGroupsCommandInput): import("@smithy/core/client").CommandImpl<ListResiliencyGroupsCommandInput, ListResiliencyGroupsCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListResiliencyGroupsCommandInput]): import("@smithy/core/client").CommandImpl<ListResiliencyGroupsCommandInput, ListResiliencyGroupsCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the resiliency groups owned by your Amazon Web Services account in the current
28
+ * Amazon Web Services Region.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { DirectConnectClient, ListResiliencyGroupsCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
33
+ * // const { DirectConnectClient, ListResiliencyGroupsCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
34
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
35
+ * const config = {}; // type is DirectConnectClientConfig
36
+ * const client = new DirectConnectClient(config);
37
+ * const input = { // ListResiliencyGroupsRequest
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListResiliencyGroupsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListResiliencyGroupsResult
44
+ * // items: [ // ResiliencyGroupSummaryList
45
+ * // { // ResiliencyGroupSummary
46
+ * // resiliencyGroupId: "STRING_VALUE",
47
+ * // resiliencyGroupArn: "STRING_VALUE",
48
+ * // resiliencyGroupName: "STRING_VALUE",
49
+ * // resiliencyGroupType: "Managed",
50
+ * // ownerAccount: "STRING_VALUE",
51
+ * // state: "pending" || "available" || "deleting" || "deleted",
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListResiliencyGroupsCommandInput - {@link ListResiliencyGroupsCommandInput}
60
+ * @returns {@link ListResiliencyGroupsCommandOutput}
61
+ * @see {@link ListResiliencyGroupsCommandInput} for command's `input` shape.
62
+ * @see {@link ListResiliencyGroupsCommandOutput} for command's `response` shape.
63
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
64
+ *
65
+ * @throws {@link DirectConnectClientException} (client fault)
66
+ * <p>One or more parameters are not valid.</p>
67
+ *
68
+ * @throws {@link DirectConnectServerException} (server fault)
69
+ * <p>A server-side error occurred.</p>
70
+ *
71
+ * @throws {@link DirectConnectServiceException}
72
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class ListResiliencyGroupsCommand extends ListResiliencyGroupsCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: ListResiliencyGroupsRequest;
82
+ output: ListResiliencyGroupsResult;
83
+ };
84
+ sdk: {
85
+ input: ListResiliencyGroupsCommandInput;
86
+ output: ListResiliencyGroupsCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -95,6 +95,7 @@ declare const UpdateConnectionCommand_base: {
95
95
  * // prefixPoolSizeIpv6: Number("int"),
96
96
  * // prefixPoolUnallocatedCountIpv4: Number("int"),
97
97
  * // prefixPoolUnallocatedCountIpv6: Number("int"),
98
+ * // billingMode: "PayAsYouGo" || "FlatRateTier1" || "FlatRateTier2" || "FlatRateTier3" || "FlatRateTier4" || "FlatRateTier5" || "PortPairFlatRateTier1" || "PortPairFlatRateTier2" || "PortPairFlatRateTier3" || "PortPairFlatRateTier4" || "PortPairFlatRateTier5",
98
99
  * // };
99
100
  *
100
101
  * ```
@@ -0,0 +1,131 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateConnectionsBillingModeRequest, UpdateConnectionsBillingModeResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateConnectionsBillingModeCommand}.
11
+ */
12
+ export interface UpdateConnectionsBillingModeCommandInput extends UpdateConnectionsBillingModeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateConnectionsBillingModeCommand}.
18
+ */
19
+ export interface UpdateConnectionsBillingModeCommandOutput extends UpdateConnectionsBillingModeResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateConnectionsBillingModeCommand_base: {
22
+ new (input: UpdateConnectionsBillingModeCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectionsBillingModeCommandInput, UpdateConnectionsBillingModeCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateConnectionsBillingModeCommandInput): import("@smithy/core/client").CommandImpl<UpdateConnectionsBillingModeCommandInput, UpdateConnectionsBillingModeCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the billing mode for the specified Direct Connect connections. You can update the billing
28
+ * mode for up to 200 connections in a single request.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { DirectConnectClient, UpdateConnectionsBillingModeCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
33
+ * // const { DirectConnectClient, UpdateConnectionsBillingModeCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
34
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
35
+ * const config = {}; // type is DirectConnectClientConfig
36
+ * const client = new DirectConnectClient(config);
37
+ * const input = { // UpdateConnectionsBillingModeRequest
38
+ * connectionIds: [ // ConnectionIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * billingMode: "PayAsYouGo" || "FlatRateTier1" || "FlatRateTier2" || "FlatRateTier3" || "FlatRateTier4" || "FlatRateTier5", // required
42
+ * };
43
+ * const command = new UpdateConnectionsBillingModeCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateConnectionsBillingModeResponse
46
+ * // billingMode: "PayAsYouGo" || "FlatRateTier1" || "FlatRateTier2" || "FlatRateTier3" || "FlatRateTier4" || "FlatRateTier5" || "PortPairFlatRateTier1" || "PortPairFlatRateTier2" || "PortPairFlatRateTier3" || "PortPairFlatRateTier4" || "PortPairFlatRateTier5",
47
+ * // connections: [ // ConnectionList
48
+ * // { // Connection
49
+ * // ownerAccount: "STRING_VALUE",
50
+ * // connectionId: "STRING_VALUE",
51
+ * // connectionName: "STRING_VALUE",
52
+ * // connectionState: "ordering" || "requested" || "pending" || "available" || "down" || "deleting" || "deleted" || "rejected" || "unknown",
53
+ * // region: "STRING_VALUE",
54
+ * // location: "STRING_VALUE",
55
+ * // bandwidth: "STRING_VALUE",
56
+ * // vlan: Number("int"),
57
+ * // partnerName: "STRING_VALUE",
58
+ * // loaIssueTime: new Date("TIMESTAMP"),
59
+ * // lagId: "STRING_VALUE",
60
+ * // awsDevice: "STRING_VALUE",
61
+ * // jumboFrameCapable: true || false,
62
+ * // awsDeviceV2: "STRING_VALUE",
63
+ * // awsLogicalDeviceId: "STRING_VALUE",
64
+ * // hasLogicalRedundancy: "unknown" || "yes" || "no",
65
+ * // tags: [ // TagList
66
+ * // { // Tag
67
+ * // key: "STRING_VALUE", // required
68
+ * // value: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // providerName: "STRING_VALUE",
72
+ * // macSecCapable: true || false,
73
+ * // portEncryptionStatus: "STRING_VALUE",
74
+ * // encryptionMode: "STRING_VALUE",
75
+ * // macSecKeys: [ // MacSecKeyList
76
+ * // { // MacSecKey
77
+ * // secretARN: "STRING_VALUE",
78
+ * // ckn: "STRING_VALUE",
79
+ * // state: "STRING_VALUE",
80
+ * // startOn: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // rateLimiterStatus: { // RateLimiterStatus
84
+ * // maxAllowed: Number("int"),
85
+ * // inUse: Number("int"),
86
+ * // remaining: Number("int"),
87
+ * // totalBandwidth: "STRING_VALUE",
88
+ * // },
89
+ * // partnerInterconnectMacSecCapable: true || false,
90
+ * // prefixPoolSizeIpv4: Number("int"),
91
+ * // prefixPoolSizeIpv6: Number("int"),
92
+ * // prefixPoolUnallocatedCountIpv4: Number("int"),
93
+ * // prefixPoolUnallocatedCountIpv6: Number("int"),
94
+ * // billingMode: "PayAsYouGo" || "FlatRateTier1" || "FlatRateTier2" || "FlatRateTier3" || "FlatRateTier4" || "FlatRateTier5" || "PortPairFlatRateTier1" || "PortPairFlatRateTier2" || "PortPairFlatRateTier3" || "PortPairFlatRateTier4" || "PortPairFlatRateTier5",
95
+ * // },
96
+ * // ],
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param UpdateConnectionsBillingModeCommandInput - {@link UpdateConnectionsBillingModeCommandInput}
102
+ * @returns {@link UpdateConnectionsBillingModeCommandOutput}
103
+ * @see {@link UpdateConnectionsBillingModeCommandInput} for command's `input` shape.
104
+ * @see {@link UpdateConnectionsBillingModeCommandOutput} for command's `response` shape.
105
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
106
+ *
107
+ * @throws {@link DirectConnectClientException} (client fault)
108
+ * <p>One or more parameters are not valid.</p>
109
+ *
110
+ * @throws {@link DirectConnectServerException} (server fault)
111
+ * <p>A server-side error occurred.</p>
112
+ *
113
+ * @throws {@link DirectConnectServiceException}
114
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
115
+ *
116
+ *
117
+ * @public
118
+ */
119
+ export declare class UpdateConnectionsBillingModeCommand extends UpdateConnectionsBillingModeCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: UpdateConnectionsBillingModeRequest;
124
+ output: UpdateConnectionsBillingModeResponse;
125
+ };
126
+ sdk: {
127
+ input: UpdateConnectionsBillingModeCommandInput;
128
+ output: UpdateConnectionsBillingModeCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -123,6 +123,7 @@ declare const UpdateLagCommand_base: {
123
123
  * // prefixPoolSizeIpv6: Number("int"),
124
124
  * // prefixPoolUnallocatedCountIpv4: Number("int"),
125
125
  * // prefixPoolUnallocatedCountIpv6: Number("int"),
126
+ * // billingMode: "PayAsYouGo" || "FlatRateTier1" || "FlatRateTier2" || "FlatRateTier3" || "FlatRateTier4" || "FlatRateTier5" || "PortPairFlatRateTier1" || "PortPairFlatRateTier2" || "PortPairFlatRateTier3" || "PortPairFlatRateTier4" || "PortPairFlatRateTier5",
126
127
  * // },
127
128
  * // ],
128
129
  * // allowsHostedConnections: true || false,
@@ -155,6 +156,7 @@ declare const UpdateLagCommand_base: {
155
156
  * // remaining: Number("int"),
156
157
  * // totalBandwidth: "STRING_VALUE",
157
158
  * // },
159
+ * // billingMode: "PayAsYouGo" || "FlatRateTier1" || "FlatRateTier2" || "FlatRateTier3" || "FlatRateTier4" || "FlatRateTier5" || "PortPairFlatRateTier1" || "PortPairFlatRateTier2" || "PortPairFlatRateTier3" || "PortPairFlatRateTier4" || "PortPairFlatRateTier5",
158
160
  * // };
159
161
  *
160
162
  * ```
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateResiliencyGroupRequest, UpdateResiliencyGroupResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateResiliencyGroupCommand}.
11
+ */
12
+ export interface UpdateResiliencyGroupCommandInput extends UpdateResiliencyGroupRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateResiliencyGroupCommand}.
18
+ */
19
+ export interface UpdateResiliencyGroupCommandOutput extends UpdateResiliencyGroupResult, __MetadataBearer {
20
+ }
21
+ declare const UpdateResiliencyGroupCommand_base: {
22
+ new (input: UpdateResiliencyGroupCommandInput): import("@smithy/core/client").CommandImpl<UpdateResiliencyGroupCommandInput, UpdateResiliencyGroupCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateResiliencyGroupCommandInput): import("@smithy/core/client").CommandImpl<UpdateResiliencyGroupCommandInput, UpdateResiliencyGroupCommandOutput, import("..").DirectConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the name of the specified resiliency group.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { DirectConnectClient, UpdateResiliencyGroupCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
32
+ * // const { DirectConnectClient, UpdateResiliencyGroupCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
33
+ * // import type { DirectConnectClientConfig } from "@aws-sdk/client-direct-connect";
34
+ * const config = {}; // type is DirectConnectClientConfig
35
+ * const client = new DirectConnectClient(config);
36
+ * const input = { // UpdateResiliencyGroupRequest
37
+ * resiliencyGroupId: "STRING_VALUE", // required
38
+ * resiliencyGroupName: "STRING_VALUE", // required
39
+ * clientToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new UpdateResiliencyGroupCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // UpdateResiliencyGroupResult
44
+ * // resiliencyGroup: { // ResiliencyGroup
45
+ * // resiliencyGroupId: "STRING_VALUE",
46
+ * // resiliencyGroupArn: "STRING_VALUE",
47
+ * // resiliencyGroupName: "STRING_VALUE",
48
+ * // resiliencyGroupType: "Managed",
49
+ * // ownerAccount: "STRING_VALUE",
50
+ * // state: "pending" || "available" || "deleting" || "deleted",
51
+ * // tags: [ // TagList
52
+ * // { // Tag
53
+ * // key: "STRING_VALUE", // required
54
+ * // value: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param UpdateResiliencyGroupCommandInput - {@link UpdateResiliencyGroupCommandInput}
63
+ * @returns {@link UpdateResiliencyGroupCommandOutput}
64
+ * @see {@link UpdateResiliencyGroupCommandInput} for command's `input` shape.
65
+ * @see {@link UpdateResiliencyGroupCommandOutput} for command's `response` shape.
66
+ * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
67
+ *
68
+ * @throws {@link DirectConnectClientException} (client fault)
69
+ * <p>One or more parameters are not valid.</p>
70
+ *
71
+ * @throws {@link DirectConnectServerException} (server fault)
72
+ * <p>A server-side error occurred.</p>
73
+ *
74
+ * @throws {@link DirectConnectServiceException}
75
+ * <p>Base exception class for all service exceptions from DirectConnect service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class UpdateResiliencyGroupCommand extends UpdateResiliencyGroupCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: UpdateResiliencyGroupRequest;
85
+ output: UpdateResiliencyGroupResult;
86
+ };
87
+ sdk: {
88
+ input: UpdateResiliencyGroupCommandInput;
89
+ output: UpdateResiliencyGroupCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -5,6 +5,7 @@ export * from "./AllocatePrivateVirtualInterfaceCommand";
5
5
  export * from "./AllocatePublicVirtualInterfaceCommand";
6
6
  export * from "./AllocateTransitVirtualInterfaceCommand";
7
7
  export * from "./AssociateConnectionWithLagCommand";
8
+ export * from "./AssociateConnectionsToResiliencyGroupCommand";
8
9
  export * from "./AssociateHostedConnectionCommand";
9
10
  export * from "./AssociateMacSecKeyCommand";
10
11
  export * from "./AssociateVirtualInterfaceCommand";
@@ -22,6 +23,7 @@ export * from "./CreateInterconnectCommand";
22
23
  export * from "./CreateLagCommand";
23
24
  export * from "./CreatePrivateVirtualInterfaceCommand";
24
25
  export * from "./CreatePublicVirtualInterfaceCommand";
26
+ export * from "./CreateResiliencyGroupCommand";
25
27
  export * from "./CreateTransitVirtualInterfaceCommand";
26
28
  export * from "./DeleteBGPPeerCommand";
27
29
  export * from "./DeleteConnectionCommand";
@@ -30,6 +32,7 @@ export * from "./DeleteDirectConnectGatewayAssociationProposalCommand";
30
32
  export * from "./DeleteDirectConnectGatewayCommand";
31
33
  export * from "./DeleteInterconnectCommand";
32
34
  export * from "./DeleteLagCommand";
35
+ export * from "./DeleteResiliencyGroupCommand";
33
36
  export * from "./DeleteVirtualInterfaceCommand";
34
37
  export * from "./DescribeConnectionLoaCommand";
35
38
  export * from "./DescribeConnectionsCommand";
@@ -50,7 +53,11 @@ export * from "./DescribeTagsCommand";
50
53
  export * from "./DescribeVirtualGatewaysCommand";
51
54
  export * from "./DescribeVirtualInterfacesCommand";
52
55
  export * from "./DisassociateConnectionFromLagCommand";
56
+ export * from "./DisassociateConnectionsFromResiliencyGroupCommand";
53
57
  export * from "./DisassociateMacSecKeyCommand";
58
+ export * from "./GetResiliencyGroupCommand";
59
+ export * from "./ListResiliencyGroupAssociationsCommand";
60
+ export * from "./ListResiliencyGroupsCommand";
54
61
  export * from "./ListVirtualInterfaceRoutesCommand";
55
62
  export * from "./ListVirtualInterfaceTestHistoryCommand";
56
63
  export * from "./StartBgpFailoverTestCommand";
@@ -58,7 +65,9 @@ export * from "./StopBgpFailoverTestCommand";
58
65
  export * from "./TagResourceCommand";
59
66
  export * from "./UntagResourceCommand";
60
67
  export * from "./UpdateConnectionCommand";
68
+ export * from "./UpdateConnectionsBillingModeCommand";
61
69
  export * from "./UpdateDirectConnectGatewayAssociationCommand";
62
70
  export * from "./UpdateDirectConnectGatewayCommand";
63
71
  export * from "./UpdateLagCommand";
72
+ export * from "./UpdateResiliencyGroupCommand";
64
73
  export * from "./UpdateVirtualInterfaceAttributesCommand";