@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.
- package/LICENSE +201 -0
- package/README.md +311 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +454 -0
- package/dist-cjs/models/InterconnectServiceException.js +12 -0
- package/dist-cjs/models/errors.js +95 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +54 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +379 -0
- package/dist-es/Interconnect.js +47 -0
- package/dist-es/InterconnectClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AcceptConnectionProposalCommand.js +16 -0
- package/dist-es/commands/CreateConnectionCommand.js +16 -0
- package/dist-es/commands/DeleteConnectionCommand.js +16 -0
- package/dist-es/commands/DescribeConnectionProposalCommand.js +16 -0
- package/dist-es/commands/GetConnectionCommand.js +16 -0
- package/dist-es/commands/GetEnvironmentCommand.js +16 -0
- package/dist-es/commands/ListAttachPointsCommand.js +16 -0
- package/dist-es/commands/ListConnectionsCommand.js +16 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateConnectionCommand.js +16 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/InterconnectServiceException.js +8 -0
- package/dist-es/models/enums.js +22 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAttachPointsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +49 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +375 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForConnectionAvailable.js +49 -0
- package/dist-es/waiters/waitForConnectionDeleted.js +31 -0
- package/dist-types/Interconnect.d.ts +137 -0
- package/dist-types/InterconnectClient.d.ts +200 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AcceptConnectionProposalCommand.d.ts +164 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +172 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +153 -0
- package/dist-types/commands/DescribeConnectionProposalCommand.d.ts +121 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +152 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +146 -0
- package/dist-types/commands/ListAttachPointsCommand.d.ts +125 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +242 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +173 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +115 -0
- package/dist-types/commands/TagResourceCommand.d.ts +113 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +113 -0
- package/dist-types/commands/UpdateConnectionCommand.d.ts +190 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/InterconnectServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +54 -0
- package/dist-types/models/errors.d.ts +86 -0
- package/dist-types/models/models_0.d.ts +764 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAttachPointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/Interconnect.d.ts +275 -0
- package/dist-types/ts3.4/InterconnectClient.d.ts +197 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AcceptConnectionProposalCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeConnectionProposalCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAttachPointsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/InterconnectServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/errors.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +231 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAttachPointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForConnectionAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForConnectionDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForConnectionAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForConnectionDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
InterconnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../InterconnectClient";
|
|
8
|
+
import {
|
|
9
|
+
ListEnvironmentsRequest,
|
|
10
|
+
ListEnvironmentsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListEnvironmentsCommandInput extends ListEnvironmentsRequest {}
|
|
15
|
+
export interface ListEnvironmentsCommandOutput
|
|
16
|
+
extends ListEnvironmentsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListEnvironmentsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListEnvironmentsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListEnvironmentsCommandInput,
|
|
23
|
+
ListEnvironmentsCommandOutput,
|
|
24
|
+
InterconnectClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListEnvironmentsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListEnvironmentsCommandInput,
|
|
32
|
+
ListEnvironmentsCommandOutput,
|
|
33
|
+
InterconnectClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListEnvironmentsCommand extends ListEnvironmentsCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListEnvironmentsRequest;
|
|
43
|
+
output: ListEnvironmentsResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListEnvironmentsCommandInput;
|
|
47
|
+
output: ListEnvironmentsCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
InterconnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../InterconnectClient";
|
|
8
|
+
import {
|
|
9
|
+
ListTagsForResourceRequest,
|
|
10
|
+
ListTagsForResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListTagsForResourceCommandInput
|
|
15
|
+
extends ListTagsForResourceRequest {}
|
|
16
|
+
export interface ListTagsForResourceCommandOutput
|
|
17
|
+
extends ListTagsForResourceResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListTagsForResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListTagsForResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListTagsForResourceCommandInput,
|
|
24
|
+
ListTagsForResourceCommandOutput,
|
|
25
|
+
InterconnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListTagsForResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListTagsForResourceCommandInput,
|
|
33
|
+
ListTagsForResourceCommandOutput,
|
|
34
|
+
InterconnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListTagsForResourceRequest;
|
|
44
|
+
output: ListTagsForResourceResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListTagsForResourceCommandInput;
|
|
48
|
+
output: ListTagsForResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
InterconnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../InterconnectClient";
|
|
8
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
12
|
+
export interface TagResourceCommandOutput
|
|
13
|
+
extends TagResourceResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const TagResourceCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: TagResourceCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
TagResourceCommandInput,
|
|
20
|
+
TagResourceCommandOutput,
|
|
21
|
+
InterconnectClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: TagResourceCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
TagResourceCommandInput,
|
|
29
|
+
TagResourceCommandOutput,
|
|
30
|
+
InterconnectClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: TagResourceRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: TagResourceCommandInput;
|
|
44
|
+
output: TagResourceCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
InterconnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../InterconnectClient";
|
|
8
|
+
import {
|
|
9
|
+
UntagResourceRequest,
|
|
10
|
+
UntagResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
15
|
+
export interface UntagResourceCommandOutput
|
|
16
|
+
extends UntagResourceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UntagResourceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UntagResourceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UntagResourceCommandInput,
|
|
23
|
+
UntagResourceCommandOutput,
|
|
24
|
+
InterconnectClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UntagResourceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UntagResourceCommandInput,
|
|
32
|
+
UntagResourceCommandOutput,
|
|
33
|
+
InterconnectClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UntagResourceRequest;
|
|
43
|
+
output: {};
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UntagResourceCommandInput;
|
|
47
|
+
output: UntagResourceCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
InterconnectClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../InterconnectClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateConnectionRequest,
|
|
10
|
+
UpdateConnectionResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateConnectionCommandInput extends UpdateConnectionRequest {}
|
|
15
|
+
export interface UpdateConnectionCommandOutput
|
|
16
|
+
extends UpdateConnectionResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateConnectionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateConnectionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateConnectionCommandInput,
|
|
23
|
+
UpdateConnectionCommandOutput,
|
|
24
|
+
InterconnectClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UpdateConnectionCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateConnectionCommandInput,
|
|
32
|
+
UpdateConnectionCommandOutput,
|
|
33
|
+
InterconnectClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateConnectionCommand extends UpdateConnectionCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateConnectionRequest;
|
|
43
|
+
output: UpdateConnectionResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateConnectionCommandInput;
|
|
47
|
+
output: UpdateConnectionCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
19
|
+
ClientInputEndpointParameters,
|
|
20
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
21
|
+
> & {
|
|
22
|
+
defaultSigningName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
+
options: T & ClientInputEndpointParameters
|
|
26
|
+
) => T & ClientResolvedEndpointParameters;
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
UseFIPS?: boolean | undefined;
|
|
43
|
+
Endpoint?: string | undefined;
|
|
44
|
+
Region?: string | undefined;
|
|
45
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface InterconnectExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./InterconnectClient";
|
|
2
|
+
export * from "./Interconnect";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { InterconnectExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./pagination";
|
|
9
|
+
export * from "./waiters";
|
|
10
|
+
export * from "./models/enums";
|
|
11
|
+
export * from "./models/errors";
|
|
12
|
+
export * from "./models/models_0";
|
|
13
|
+
export { InterconnectServiceException } from "./models/InterconnectServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
|
+
ServiceException as __ServiceException,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class InterconnectServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const ConnectionState: {
|
|
2
|
+
readonly AVAILABLE: "available";
|
|
3
|
+
readonly DELETED: "deleted";
|
|
4
|
+
readonly DELETING: "deleting";
|
|
5
|
+
readonly DOWN: "down";
|
|
6
|
+
readonly FAILED: "failed";
|
|
7
|
+
readonly PENDING: "pending";
|
|
8
|
+
readonly REQUESTED: "requested";
|
|
9
|
+
readonly UPDATING: "updating";
|
|
10
|
+
};
|
|
11
|
+
export type ConnectionState =
|
|
12
|
+
(typeof ConnectionState)[keyof typeof ConnectionState];
|
|
13
|
+
export declare const AttachPointType: {
|
|
14
|
+
readonly DirectConnectGateway: "DirectConnectGateway";
|
|
15
|
+
};
|
|
16
|
+
export type AttachPointType =
|
|
17
|
+
(typeof AttachPointType)[keyof typeof AttachPointType];
|
|
18
|
+
export declare const RemoteAccountIdentifierType: {
|
|
19
|
+
readonly ACCOUNT: "account";
|
|
20
|
+
readonly EMAIL: "email";
|
|
21
|
+
};
|
|
22
|
+
export type RemoteAccountIdentifierType =
|
|
23
|
+
(typeof RemoteAccountIdentifierType)[keyof typeof RemoteAccountIdentifierType];
|
|
24
|
+
export declare const EnvironmentState: {
|
|
25
|
+
readonly AVAILABLE: "available";
|
|
26
|
+
readonly LIMITED: "limited";
|
|
27
|
+
readonly UNAVAILABLE: "unavailable";
|
|
28
|
+
};
|
|
29
|
+
export type EnvironmentState =
|
|
30
|
+
(typeof EnvironmentState)[keyof typeof EnvironmentState];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { InterconnectServiceException as __BaseException } from "./InterconnectServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InterconnectClientException extends __BaseException {
|
|
11
|
+
readonly name: "InterconnectClientException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<InterconnectClientException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class InterconnectServerException extends __BaseException {
|
|
18
|
+
readonly name: "InterconnectServerException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InterconnectServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class InterconnectValidationException extends __BaseException {
|
|
25
|
+
readonly name: "InterconnectValidationException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<
|
|
29
|
+
InterconnectValidationException,
|
|
30
|
+
__BaseException
|
|
31
|
+
>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
readonly name: "ResourceNotFoundException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
42
|
+
readonly name: "ServiceQuotaExceededException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export declare class ThrottlingException extends __BaseException {
|
|
49
|
+
readonly name: "ThrottlingException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AttachPointType,
|
|
3
|
+
ConnectionState,
|
|
4
|
+
EnvironmentState,
|
|
5
|
+
RemoteAccountIdentifierType,
|
|
6
|
+
} from "./enums";
|
|
7
|
+
export type AttachPoint =
|
|
8
|
+
| AttachPoint.ArnMember
|
|
9
|
+
| AttachPoint.DirectConnectGatewayMember
|
|
10
|
+
| AttachPoint.$UnknownMember;
|
|
11
|
+
export declare namespace AttachPoint {
|
|
12
|
+
interface DirectConnectGatewayMember {
|
|
13
|
+
directConnectGateway: string;
|
|
14
|
+
arn?: never;
|
|
15
|
+
$unknown?: never;
|
|
16
|
+
}
|
|
17
|
+
interface ArnMember {
|
|
18
|
+
directConnectGateway?: never;
|
|
19
|
+
arn: string;
|
|
20
|
+
$unknown?: never;
|
|
21
|
+
}
|
|
22
|
+
interface $UnknownMember {
|
|
23
|
+
directConnectGateway?: never;
|
|
24
|
+
arn?: never;
|
|
25
|
+
$unknown: [string, any];
|
|
26
|
+
}
|
|
27
|
+
interface Visitor<T> {
|
|
28
|
+
directConnectGateway: (value: string) => T;
|
|
29
|
+
arn: (value: string) => T;
|
|
30
|
+
_: (name: string, value: any) => T;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export interface AcceptConnectionProposalRequest {
|
|
34
|
+
attachPoint: AttachPoint | undefined;
|
|
35
|
+
activationKey: string | undefined;
|
|
36
|
+
description?: string | undefined;
|
|
37
|
+
tags?: Record<string, string> | undefined;
|
|
38
|
+
clientToken?: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export type Provider =
|
|
41
|
+
| Provider.CloudServiceProviderMember
|
|
42
|
+
| Provider.LastMileProviderMember
|
|
43
|
+
| Provider.$UnknownMember;
|
|
44
|
+
export declare namespace Provider {
|
|
45
|
+
interface CloudServiceProviderMember {
|
|
46
|
+
cloudServiceProvider: string;
|
|
47
|
+
lastMileProvider?: never;
|
|
48
|
+
$unknown?: never;
|
|
49
|
+
}
|
|
50
|
+
interface LastMileProviderMember {
|
|
51
|
+
cloudServiceProvider?: never;
|
|
52
|
+
lastMileProvider: string;
|
|
53
|
+
$unknown?: never;
|
|
54
|
+
}
|
|
55
|
+
interface $UnknownMember {
|
|
56
|
+
cloudServiceProvider?: never;
|
|
57
|
+
lastMileProvider?: never;
|
|
58
|
+
$unknown: [string, any];
|
|
59
|
+
}
|
|
60
|
+
interface Visitor<T> {
|
|
61
|
+
cloudServiceProvider: (value: string) => T;
|
|
62
|
+
lastMileProvider: (value: string) => T;
|
|
63
|
+
_: (name: string, value: any) => T;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export interface Connection {
|
|
67
|
+
id: string | undefined;
|
|
68
|
+
arn: string | undefined;
|
|
69
|
+
description: string | undefined;
|
|
70
|
+
bandwidth: string | undefined;
|
|
71
|
+
attachPoint: AttachPoint | undefined;
|
|
72
|
+
environmentId: string | undefined;
|
|
73
|
+
provider: Provider | undefined;
|
|
74
|
+
location: string | undefined;
|
|
75
|
+
type: string | undefined;
|
|
76
|
+
state: ConnectionState | undefined;
|
|
77
|
+
sharedId: string | undefined;
|
|
78
|
+
billingTier?: number | undefined;
|
|
79
|
+
ownerAccount: string | undefined;
|
|
80
|
+
activationKey: string | undefined;
|
|
81
|
+
tags?: Record<string, string> | undefined;
|
|
82
|
+
}
|
|
83
|
+
export interface AcceptConnectionProposalResponse {
|
|
84
|
+
connection?: Connection | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface AttachPointDescriptor {
|
|
87
|
+
type: AttachPointType | undefined;
|
|
88
|
+
identifier: string | undefined;
|
|
89
|
+
name: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface Bandwidths {
|
|
92
|
+
available?: string[] | undefined;
|
|
93
|
+
supported?: string[] | undefined;
|
|
94
|
+
}
|
|
95
|
+
export type RemoteAccountIdentifier =
|
|
96
|
+
| RemoteAccountIdentifier.IdentifierMember
|
|
97
|
+
| RemoteAccountIdentifier.$UnknownMember;
|
|
98
|
+
export declare namespace RemoteAccountIdentifier {
|
|
99
|
+
interface IdentifierMember {
|
|
100
|
+
identifier: string;
|
|
101
|
+
$unknown?: never;
|
|
102
|
+
}
|
|
103
|
+
interface $UnknownMember {
|
|
104
|
+
identifier?: never;
|
|
105
|
+
$unknown: [string, any];
|
|
106
|
+
}
|
|
107
|
+
interface Visitor<T> {
|
|
108
|
+
identifier: (value: string) => T;
|
|
109
|
+
_: (name: string, value: any) => T;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export interface CreateConnectionRequest {
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
bandwidth: string | undefined;
|
|
115
|
+
attachPoint: AttachPoint | undefined;
|
|
116
|
+
environmentId: string | undefined;
|
|
117
|
+
remoteAccount?: RemoteAccountIdentifier | undefined;
|
|
118
|
+
tags?: Record<string, string> | undefined;
|
|
119
|
+
clientToken?: string | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface CreateConnectionResponse {
|
|
122
|
+
connection?: Connection | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface DeleteConnectionRequest {
|
|
125
|
+
identifier: string | undefined;
|
|
126
|
+
clientToken?: string | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface DeleteConnectionResponse {
|
|
129
|
+
connection: Connection | undefined;
|
|
130
|
+
}
|
|
131
|
+
export interface GetConnectionRequest {
|
|
132
|
+
identifier: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface GetConnectionResponse {
|
|
135
|
+
connection?: Connection | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface ListConnectionsRequest {
|
|
138
|
+
maxResults?: number | undefined;
|
|
139
|
+
nextToken?: string | undefined;
|
|
140
|
+
state?: ConnectionState | undefined;
|
|
141
|
+
environmentId?: string | undefined;
|
|
142
|
+
provider?: Provider | undefined;
|
|
143
|
+
attachPoint?: AttachPoint | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface ConnectionSummary {
|
|
146
|
+
id: string | undefined;
|
|
147
|
+
arn: string | undefined;
|
|
148
|
+
description: string | undefined;
|
|
149
|
+
bandwidth: string | undefined;
|
|
150
|
+
attachPoint: AttachPoint | undefined;
|
|
151
|
+
environmentId: string | undefined;
|
|
152
|
+
provider: Provider | undefined;
|
|
153
|
+
location: string | undefined;
|
|
154
|
+
type: string | undefined;
|
|
155
|
+
state: ConnectionState | undefined;
|
|
156
|
+
sharedId: string | undefined;
|
|
157
|
+
billingTier?: number | undefined;
|
|
158
|
+
}
|
|
159
|
+
export interface ListConnectionsResponse {
|
|
160
|
+
connections?: ConnectionSummary[] | undefined;
|
|
161
|
+
nextToken?: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface UpdateConnectionRequest {
|
|
164
|
+
identifier: string | undefined;
|
|
165
|
+
description?: string | undefined;
|
|
166
|
+
bandwidth?: string | undefined;
|
|
167
|
+
clientToken?: string | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface UpdateConnectionResponse {
|
|
170
|
+
connection?: Connection | undefined;
|
|
171
|
+
}
|
|
172
|
+
export interface DescribeConnectionProposalRequest {
|
|
173
|
+
activationKey: string | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface DescribeConnectionProposalResponse {
|
|
176
|
+
bandwidth: string | undefined;
|
|
177
|
+
environmentId: string | undefined;
|
|
178
|
+
provider: Provider | undefined;
|
|
179
|
+
location: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export interface Environment {
|
|
182
|
+
provider: Provider | undefined;
|
|
183
|
+
location: string | undefined;
|
|
184
|
+
environmentId: string | undefined;
|
|
185
|
+
state: EnvironmentState | undefined;
|
|
186
|
+
bandwidths: Bandwidths | undefined;
|
|
187
|
+
type: string | undefined;
|
|
188
|
+
activationPageUrl?: string | undefined;
|
|
189
|
+
remoteIdentifierType?: RemoteAccountIdentifierType | undefined;
|
|
190
|
+
}
|
|
191
|
+
export interface GetEnvironmentRequest {
|
|
192
|
+
id: string | undefined;
|
|
193
|
+
}
|
|
194
|
+
export interface GetEnvironmentResponse {
|
|
195
|
+
environment: Environment | undefined;
|
|
196
|
+
}
|
|
197
|
+
export interface ListEnvironmentsRequest {
|
|
198
|
+
maxResults?: number | undefined;
|
|
199
|
+
nextToken?: string | undefined;
|
|
200
|
+
provider?: Provider | undefined;
|
|
201
|
+
location?: string | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface ListEnvironmentsResponse {
|
|
204
|
+
environments: Environment[] | undefined;
|
|
205
|
+
nextToken?: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface ListAttachPointsRequest {
|
|
208
|
+
environmentId: string | undefined;
|
|
209
|
+
maxResults?: number | undefined;
|
|
210
|
+
nextToken?: string | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface ListAttachPointsResponse {
|
|
213
|
+
attachPoints: AttachPointDescriptor[] | undefined;
|
|
214
|
+
nextToken?: string | undefined;
|
|
215
|
+
}
|
|
216
|
+
export interface ListTagsForResourceRequest {
|
|
217
|
+
arn: string | undefined;
|
|
218
|
+
}
|
|
219
|
+
export interface ListTagsForResourceResponse {
|
|
220
|
+
tags?: Record<string, string> | undefined;
|
|
221
|
+
}
|
|
222
|
+
export interface TagResourceRequest {
|
|
223
|
+
arn: string | undefined;
|
|
224
|
+
tags: Record<string, string> | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface TagResourceResponse {}
|
|
227
|
+
export interface UntagResourceRequest {
|
|
228
|
+
arn: string | undefined;
|
|
229
|
+
tagKeys: string[] | undefined;
|
|
230
|
+
}
|
|
231
|
+
export interface UntagResourceResponse {}
|