@aws-sdk/client-interconnect 3.1030.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 (137) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +311 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +454 -0
  7. package/dist-cjs/models/InterconnectServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +95 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +54 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +379 -0
  14. package/dist-es/Interconnect.js +47 -0
  15. package/dist-es/InterconnectClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AcceptConnectionProposalCommand.js +16 -0
  19. package/dist-es/commands/CreateConnectionCommand.js +16 -0
  20. package/dist-es/commands/DeleteConnectionCommand.js +16 -0
  21. package/dist-es/commands/DescribeConnectionProposalCommand.js +16 -0
  22. package/dist-es/commands/GetConnectionCommand.js +16 -0
  23. package/dist-es/commands/GetEnvironmentCommand.js +16 -0
  24. package/dist-es/commands/ListAttachPointsCommand.js +16 -0
  25. package/dist-es/commands/ListConnectionsCommand.js +16 -0
  26. package/dist-es/commands/ListEnvironmentsCommand.js +16 -0
  27. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  28. package/dist-es/commands/TagResourceCommand.js +16 -0
  29. package/dist-es/commands/UntagResourceCommand.js +16 -0
  30. package/dist-es/commands/UpdateConnectionCommand.js +16 -0
  31. package/dist-es/commands/index.js +13 -0
  32. package/dist-es/endpoint/EndpointParameters.js +11 -0
  33. package/dist-es/endpoint/endpointResolver.js +14 -0
  34. package/dist-es/endpoint/ruleset.js +4 -0
  35. package/dist-es/extensionConfiguration.js +1 -0
  36. package/dist-es/index.js +10 -0
  37. package/dist-es/models/InterconnectServiceException.js +8 -0
  38. package/dist-es/models/enums.js +22 -0
  39. package/dist-es/models/errors.js +85 -0
  40. package/dist-es/models/models_0.js +1 -0
  41. package/dist-es/pagination/Interfaces.js +1 -0
  42. package/dist-es/pagination/ListAttachPointsPaginator.js +4 -0
  43. package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
  44. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +4 -0
  46. package/dist-es/runtimeConfig.browser.js +33 -0
  47. package/dist-es/runtimeConfig.js +49 -0
  48. package/dist-es/runtimeConfig.native.js +11 -0
  49. package/dist-es/runtimeConfig.shared.js +39 -0
  50. package/dist-es/runtimeExtensions.js +9 -0
  51. package/dist-es/schemas/schemas_0.js +375 -0
  52. package/dist-es/waiters/index.js +2 -0
  53. package/dist-es/waiters/waitForConnectionAvailable.js +49 -0
  54. package/dist-es/waiters/waitForConnectionDeleted.js +31 -0
  55. package/dist-types/Interconnect.d.ts +137 -0
  56. package/dist-types/InterconnectClient.d.ts +200 -0
  57. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  58. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  59. package/dist-types/commands/AcceptConnectionProposalCommand.d.ts +164 -0
  60. package/dist-types/commands/CreateConnectionCommand.d.ts +172 -0
  61. package/dist-types/commands/DeleteConnectionCommand.d.ts +153 -0
  62. package/dist-types/commands/DescribeConnectionProposalCommand.d.ts +121 -0
  63. package/dist-types/commands/GetConnectionCommand.d.ts +152 -0
  64. package/dist-types/commands/GetEnvironmentCommand.d.ts +146 -0
  65. package/dist-types/commands/ListAttachPointsCommand.d.ts +125 -0
  66. package/dist-types/commands/ListConnectionsCommand.d.ts +242 -0
  67. package/dist-types/commands/ListEnvironmentsCommand.d.ts +173 -0
  68. package/dist-types/commands/ListTagsForResourceCommand.d.ts +115 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +113 -0
  70. package/dist-types/commands/UntagResourceCommand.d.ts +113 -0
  71. package/dist-types/commands/UpdateConnectionCommand.d.ts +190 -0
  72. package/dist-types/commands/index.d.ts +13 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  74. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  75. package/dist-types/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/index.d.ts +18 -0
  78. package/dist-types/models/InterconnectServiceException.d.ts +14 -0
  79. package/dist-types/models/enums.d.ts +54 -0
  80. package/dist-types/models/errors.d.ts +86 -0
  81. package/dist-types/models/models_0.d.ts +764 -0
  82. package/dist-types/pagination/Interfaces.d.ts +8 -0
  83. package/dist-types/pagination/ListAttachPointsPaginator.d.ts +7 -0
  84. package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/index.d.ts +4 -0
  87. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  88. package/dist-types/runtimeConfig.d.ts +55 -0
  89. package/dist-types/runtimeConfig.native.d.ts +54 -0
  90. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  91. package/dist-types/runtimeExtensions.d.ts +17 -0
  92. package/dist-types/schemas/schemas_0.d.ts +63 -0
  93. package/dist-types/ts3.4/Interconnect.d.ts +275 -0
  94. package/dist-types/ts3.4/InterconnectClient.d.ts +197 -0
  95. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  96. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  97. package/dist-types/ts3.4/commands/AcceptConnectionProposalCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +50 -0
  99. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +50 -0
  100. package/dist-types/ts3.4/commands/DescribeConnectionProposalCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +50 -0
  102. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
  103. package/dist-types/ts3.4/commands/ListAttachPointsCommand.d.ts +50 -0
  104. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +50 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  112. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  113. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  114. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  115. package/dist-types/ts3.4/index.d.ts +13 -0
  116. package/dist-types/ts3.4/models/InterconnectServiceException.d.ts +9 -0
  117. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  118. package/dist-types/ts3.4/models/errors.d.ts +54 -0
  119. package/dist-types/ts3.4/models/models_0.d.ts +231 -0
  120. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  121. package/dist-types/ts3.4/pagination/ListAttachPointsPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  125. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  126. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  127. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  128. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  129. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  130. package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
  131. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  132. package/dist-types/ts3.4/waiters/waitForConnectionAvailable.d.ts +11 -0
  133. package/dist-types/ts3.4/waiters/waitForConnectionDeleted.d.ts +11 -0
  134. package/dist-types/waiters/index.d.ts +2 -0
  135. package/dist-types/waiters/waitForConnectionAvailable.d.ts +14 -0
  136. package/dist-types/waiters/waitForConnectionDeleted.d.ts +14 -0
  137. package/package.json +101 -0
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
4
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Add new tags to the specified resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { InterconnectClient, TagResourceCommand } from "@aws-sdk/client-interconnect"; // ES Modules import
35
+ * // const { InterconnectClient, TagResourceCommand } = require("@aws-sdk/client-interconnect"); // CommonJS import
36
+ * // import type { InterconnectClientConfig } from "@aws-sdk/client-interconnect";
37
+ * const config = {}; // type is InterconnectClientConfig
38
+ * const client = new InterconnectClient(config);
39
+ * const input = { // TagResourceRequest
40
+ * arn: "STRING_VALUE", // required
41
+ * tags: { // TagMap // required
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new TagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
52
+ * @returns {@link TagResourceCommandOutput}
53
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link InterconnectClientResolvedConfig | config} for InterconnectClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The calling principal is not allowed to access the specified resource, or the resource does not exist.</p>
59
+ *
60
+ * @throws {@link InterconnectClientException} (client fault)
61
+ * <p>The request was denied due to incorrect client supplied parameters.</p>
62
+ *
63
+ * @throws {@link InterconnectServerException} (server fault)
64
+ * <p>The request resulted in an exception internal to the service.</p>
65
+ *
66
+ * @throws {@link InterconnectValidationException} (client fault)
67
+ * <p>The input fails to satisfy the constraints specified.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The request specifies a resource that does not exist on the server.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The requested operation would result in the calling principal exceeding their allotted quota.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link InterconnectServiceException}
79
+ * <p>Base exception class for all service exceptions from Interconnect service.</p>
80
+ *
81
+ *
82
+ * @example Apply Tags
83
+ * ```javascript
84
+ * //
85
+ * const input = {
86
+ * arn: "arn:aws:interconnect:us-east-1:000000000000:connection/mcc-abc12345",
87
+ * tags: {
88
+ * TagKey1: "TagValue1",
89
+ * TagKey2: "TagValue2"
90
+ * }
91
+ * };
92
+ * const command = new TagResourceCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * { /* empty *\/ }
96
+ * *\/
97
+ * ```
98
+ *
99
+ * @public
100
+ */
101
+ export declare class TagResourceCommand extends TagResourceCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: TagResourceRequest;
106
+ output: {};
107
+ };
108
+ sdk: {
109
+ input: TagResourceCommandInput;
110
+ output: TagResourceCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,113 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
4
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes tags from the specified resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { InterconnectClient, UntagResourceCommand } from "@aws-sdk/client-interconnect"; // ES Modules import
35
+ * // const { InterconnectClient, UntagResourceCommand } = require("@aws-sdk/client-interconnect"); // CommonJS import
36
+ * // import type { InterconnectClientConfig } from "@aws-sdk/client-interconnect";
37
+ * const config = {}; // type is InterconnectClientConfig
38
+ * const client = new InterconnectClient(config);
39
+ * const input = { // UntagResourceRequest
40
+ * arn: "STRING_VALUE", // required
41
+ * tagKeys: [ // TagKeyList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new UntagResourceCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
52
+ * @returns {@link UntagResourceCommandOutput}
53
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
54
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link InterconnectClientResolvedConfig | config} for InterconnectClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The calling principal is not allowed to access the specified resource, or the resource does not exist.</p>
59
+ *
60
+ * @throws {@link InterconnectClientException} (client fault)
61
+ * <p>The request was denied due to incorrect client supplied parameters.</p>
62
+ *
63
+ * @throws {@link InterconnectServerException} (server fault)
64
+ * <p>The request resulted in an exception internal to the service.</p>
65
+ *
66
+ * @throws {@link InterconnectValidationException} (client fault)
67
+ * <p>The input fails to satisfy the constraints specified.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The request specifies a resource that does not exist on the server.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The requested operation would result in the calling principal exceeding their allotted quota.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link InterconnectServiceException}
79
+ * <p>Base exception class for all service exceptions from Interconnect service.</p>
80
+ *
81
+ *
82
+ * @example Remove Tags
83
+ * ```javascript
84
+ * //
85
+ * const input = {
86
+ * arn: "arn:aws:interconnect:us-east-1:000000000000:connection/mcc-abc12345",
87
+ * tagKeys: [
88
+ * "TagKey1",
89
+ * "TagKey2"
90
+ * ]
91
+ * };
92
+ * const command = new UntagResourceCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * { /* empty *\/ }
96
+ * *\/
97
+ * ```
98
+ *
99
+ * @public
100
+ */
101
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: UntagResourceRequest;
106
+ output: {};
107
+ };
108
+ sdk: {
109
+ input: UntagResourceCommandInput;
110
+ output: UntagResourceCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,190 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
4
+ import type { UpdateConnectionRequest, UpdateConnectionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateConnectionCommand}.
14
+ */
15
+ export interface UpdateConnectionCommandInput extends UpdateConnectionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateConnectionCommand}.
21
+ */
22
+ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateConnectionCommand_base: {
25
+ new (input: UpdateConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConnectionCommandInput, UpdateConnectionCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateConnectionCommandInput, UpdateConnectionCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modifies an existing connection. Currently we support modifications to the connection's description and/or bandwidth.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { InterconnectClient, UpdateConnectionCommand } from "@aws-sdk/client-interconnect"; // ES Modules import
35
+ * // const { InterconnectClient, UpdateConnectionCommand } = require("@aws-sdk/client-interconnect"); // CommonJS import
36
+ * // import type { InterconnectClientConfig } from "@aws-sdk/client-interconnect";
37
+ * const config = {}; // type is InterconnectClientConfig
38
+ * const client = new InterconnectClient(config);
39
+ * const input = { // UpdateConnectionRequest
40
+ * identifier: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * bandwidth: "STRING_VALUE",
43
+ * clientToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new UpdateConnectionCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateConnectionResponse
48
+ * // connection: { // Connection
49
+ * // id: "STRING_VALUE", // required
50
+ * // arn: "STRING_VALUE", // required
51
+ * // description: "STRING_VALUE", // required
52
+ * // bandwidth: "STRING_VALUE", // required
53
+ * // attachPoint: { // AttachPoint Union: only one key present
54
+ * // directConnectGateway: "STRING_VALUE",
55
+ * // arn: "STRING_VALUE",
56
+ * // },
57
+ * // environmentId: "STRING_VALUE", // required
58
+ * // provider: { // Provider Union: only one key present
59
+ * // cloudServiceProvider: "STRING_VALUE",
60
+ * // lastMileProvider: "STRING_VALUE",
61
+ * // },
62
+ * // location: "STRING_VALUE", // required
63
+ * // type: "STRING_VALUE", // required
64
+ * // state: "available" || "requested" || "pending" || "down" || "deleting" || "deleted" || "failed" || "updating", // required
65
+ * // sharedId: "STRING_VALUE", // required
66
+ * // billingTier: Number("int"),
67
+ * // ownerAccount: "STRING_VALUE", // required
68
+ * // activationKey: "STRING_VALUE", // required
69
+ * // tags: { // TagMap
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param UpdateConnectionCommandInput - {@link UpdateConnectionCommandInput}
78
+ * @returns {@link UpdateConnectionCommandOutput}
79
+ * @see {@link UpdateConnectionCommandInput} for command's `input` shape.
80
+ * @see {@link UpdateConnectionCommandOutput} for command's `response` shape.
81
+ * @see {@link InterconnectClientResolvedConfig | config} for InterconnectClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>The calling principal is not allowed to access the specified resource, or the resource does not exist.</p>
85
+ *
86
+ * @throws {@link InterconnectClientException} (client fault)
87
+ * <p>The request was denied due to incorrect client supplied parameters.</p>
88
+ *
89
+ * @throws {@link InterconnectServerException} (server fault)
90
+ * <p>The request resulted in an exception internal to the service.</p>
91
+ *
92
+ * @throws {@link InterconnectValidationException} (client fault)
93
+ * <p>The input fails to satisfy the constraints specified.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>The request specifies a resource that does not exist on the server.</p>
97
+ *
98
+ * @throws {@link ServiceQuotaExceededException} (client fault)
99
+ * <p>The requested operation would result in the calling principal exceeding their allotted quota.</p>
100
+ *
101
+ * @throws {@link ThrottlingException} (client fault)
102
+ * <p>The request was denied due to request throttling.</p>
103
+ *
104
+ * @throws {@link InterconnectServiceException}
105
+ * <p>Base exception class for all service exceptions from Interconnect service.</p>
106
+ *
107
+ *
108
+ * @example Update Connection Description
109
+ * ```javascript
110
+ * //
111
+ * const input = {
112
+ * description: "Changed Description",
113
+ * identifier: "mcc-abc12345"
114
+ * };
115
+ * const command = new UpdateConnectionCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response is
118
+ * {
119
+ * connection: {
120
+ * activationKey: "<Activation Key Data>",
121
+ * arn: "arn:aws:interconnect:us-east-1:000000000000:connection/mcc-abc12345",
122
+ * attachPoint: {
123
+ * directConnectGateway: "90392BE3-219C-47FD-BBA5-03DF76D2542A"
124
+ * },
125
+ * bandwidth: "1Gbps",
126
+ * description: "changed Description",
127
+ * environmentId: "mce-aws-acme-1",
128
+ * id: "mcc-abc12345",
129
+ * location: "acme-east",
130
+ * ownerAccount: "000000000000",
131
+ * provider: {
132
+ * cloudServiceProvider: "acme"
133
+ * },
134
+ * sharedId: "B0615F4D-E588-47AD-9D04-1449EAA61C91",
135
+ * state: "available",
136
+ * type: "Multicloud"
137
+ * }
138
+ * }
139
+ * *\/
140
+ * ```
141
+ *
142
+ * @example Update Connection Bandwidth
143
+ * ```javascript
144
+ * //
145
+ * const input = {
146
+ * bandwidth: "2Gbps",
147
+ * identifier: "mcc-abc12345"
148
+ * };
149
+ * const command = new UpdateConnectionCommand(input);
150
+ * const response = await client.send(command);
151
+ * /* response is
152
+ * {
153
+ * connection: {
154
+ * activationKey: "<Activation Key Data>",
155
+ * arn: "arn:aws:interconnect:us-east-1:000000000000:connection/mcc-abc12345",
156
+ * attachPoint: {
157
+ * directConnectGateway: "90392BE3-219C-47FD-BBA5-03DF76D2542A"
158
+ * },
159
+ * bandwidth: "2Gbps",
160
+ * description: "changed Description",
161
+ * environmentId: "mce-aws-acme-1",
162
+ * id: "mcc-abc12345",
163
+ * location: "acme-east",
164
+ * ownerAccount: "000000000000",
165
+ * provider: {
166
+ * cloudServiceProvider: "acme"
167
+ * },
168
+ * sharedId: "B0615F4D-E588-47AD-9D04-1449EAA61C91",
169
+ * state: "updating",
170
+ * type: "Multicloud"
171
+ * }
172
+ * }
173
+ * *\/
174
+ * ```
175
+ *
176
+ * @public
177
+ */
178
+ export declare class UpdateConnectionCommand extends UpdateConnectionCommand_base {
179
+ /** @internal type navigation helper, not in runtime. */
180
+ protected static __types: {
181
+ api: {
182
+ input: UpdateConnectionRequest;
183
+ output: UpdateConnectionResponse;
184
+ };
185
+ sdk: {
186
+ input: UpdateConnectionCommandInput;
187
+ output: UpdateConnectionCommandOutput;
188
+ };
189
+ };
190
+ }
@@ -0,0 +1,13 @@
1
+ export * from "./AcceptConnectionProposalCommand";
2
+ export * from "./CreateConnectionCommand";
3
+ export * from "./DeleteConnectionCommand";
4
+ export * from "./DescribeConnectionProposalCommand";
5
+ export * from "./GetConnectionCommand";
6
+ export * from "./GetEnvironmentCommand";
7
+ export * from "./ListAttachPointsCommand";
8
+ export * from "./ListConnectionsCommand";
9
+ export * from "./ListEnvironmentsCommand";
10
+ export * from "./ListTagsForResourceCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
13
+ export * from "./UpdateConnectionCommand";
@@ -0,0 +1,44 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ /**
11
+ * @public
12
+ */
13
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
14
+ defaultSigningName: string;
15
+ };
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const commonParams: {
24
+ readonly UseFIPS: {
25
+ readonly type: "builtInParams";
26
+ readonly name: "useFipsEndpoint";
27
+ };
28
+ readonly Endpoint: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "endpoint";
31
+ };
32
+ readonly Region: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "region";
35
+ };
36
+ };
37
+ /**
38
+ * @internal
39
+ */
40
+ export interface EndpointParameters extends __EndpointParameters {
41
+ UseFIPS?: boolean | undefined;
42
+ Endpoint?: string | undefined;
43
+ Region?: string | undefined;
44
+ }
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface InterconnectExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * <p>Provides managed connections between your AWS network resources and select partner network resources.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./InterconnectClient";
7
+ export * from "./Interconnect";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { InterconnectExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./schemas/schemas_0";
13
+ export * from "./pagination";
14
+ export * from "./waiters";
15
+ export * from "./models/enums";
16
+ export * from "./models/errors";
17
+ export * from "./models/models_0";
18
+ export { InterconnectServiceException } from "./models/InterconnectServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from Interconnect service.
8
+ */
9
+ export declare class InterconnectServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ConnectionState: {
6
+ readonly AVAILABLE: "available";
7
+ readonly DELETED: "deleted";
8
+ readonly DELETING: "deleting";
9
+ readonly DOWN: "down";
10
+ readonly FAILED: "failed";
11
+ readonly PENDING: "pending";
12
+ readonly REQUESTED: "requested";
13
+ readonly UPDATING: "updating";
14
+ };
15
+ /**
16
+ * @public
17
+ */
18
+ export type ConnectionState = (typeof ConnectionState)[keyof typeof ConnectionState];
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const AttachPointType: {
24
+ readonly DirectConnectGateway: "DirectConnectGateway";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type AttachPointType = (typeof AttachPointType)[keyof typeof AttachPointType];
30
+ /**
31
+ * @public
32
+ * @enum
33
+ */
34
+ export declare const RemoteAccountIdentifierType: {
35
+ readonly ACCOUNT: "account";
36
+ readonly EMAIL: "email";
37
+ };
38
+ /**
39
+ * @public
40
+ */
41
+ export type RemoteAccountIdentifierType = (typeof RemoteAccountIdentifierType)[keyof typeof RemoteAccountIdentifierType];
42
+ /**
43
+ * @public
44
+ * @enum
45
+ */
46
+ export declare const EnvironmentState: {
47
+ readonly AVAILABLE: "available";
48
+ readonly LIMITED: "limited";
49
+ readonly UNAVAILABLE: "unavailable";
50
+ };
51
+ /**
52
+ * @public
53
+ */
54
+ export type EnvironmentState = (typeof EnvironmentState)[keyof typeof EnvironmentState];
@@ -0,0 +1,86 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { InterconnectServiceException as __BaseException } from "./InterconnectServiceException";
3
+ /**
4
+ * <p>The calling principal is not allowed to access the specified resource, or the resource does not exist.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The request was denied due to incorrect client supplied parameters.</p>
17
+ * @public
18
+ */
19
+ export declare class InterconnectClientException extends __BaseException {
20
+ readonly name: "InterconnectClientException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InterconnectClientException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The request resulted in an exception internal to the service.</p>
29
+ * @public
30
+ */
31
+ export declare class InterconnectServerException extends __BaseException {
32
+ readonly name: "InterconnectServerException";
33
+ readonly $fault: "server";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<InterconnectServerException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The input fails to satisfy the constraints specified.</p>
41
+ * @public
42
+ */
43
+ export declare class InterconnectValidationException extends __BaseException {
44
+ readonly name: "InterconnectValidationException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<InterconnectValidationException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The request specifies a resource that does not exist on the server.</p>
53
+ * @public
54
+ */
55
+ export declare class ResourceNotFoundException extends __BaseException {
56
+ readonly name: "ResourceNotFoundException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p>The requested operation would result in the calling principal exceeding their allotted quota.</p>
65
+ * @public
66
+ */
67
+ export declare class ServiceQuotaExceededException extends __BaseException {
68
+ readonly name: "ServiceQuotaExceededException";
69
+ readonly $fault: "client";
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The request was denied due to request throttling.</p>
77
+ * @public
78
+ */
79
+ export declare class ThrottlingException extends __BaseException {
80
+ readonly name: "ThrottlingException";
81
+ readonly $fault: "client";
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
86
+ }