@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,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAttachPointsCommandInput,
4
+ ListAttachPointsCommandOutput,
5
+ } from "../commands/ListAttachPointsCommand";
6
+ import { InterconnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAttachPoints: (
8
+ config: InterconnectPaginationConfiguration,
9
+ input: ListAttachPointsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAttachPointsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListConnectionsCommandInput,
4
+ ListConnectionsCommandOutput,
5
+ } from "../commands/ListConnectionsCommand";
6
+ import { InterconnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListConnections: (
8
+ config: InterconnectPaginationConfiguration,
9
+ input: ListConnectionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListConnectionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEnvironmentsCommandInput,
4
+ ListEnvironmentsCommandOutput,
5
+ } from "../commands/ListEnvironmentsCommand";
6
+ import { InterconnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEnvironments: (
8
+ config: InterconnectPaginationConfiguration,
9
+ input: ListEnvironmentsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEnvironmentsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAttachPointsPaginator";
3
+ export * from "./ListConnectionsPaginator";
4
+ export * from "./ListEnvironmentsPaginator";
@@ -0,0 +1,100 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { InterconnectClientConfig } from "./InterconnectClient";
3
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
+ defaultUserAgentProvider: (
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
+ cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: (_input: Uint8Array | string) => string;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ profile?: string;
47
+ logger: import("@smithy/types").Logger;
48
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
49
+ customUserAgent?: string | import("@smithy/types").UserAgent;
50
+ userAgentAppId?:
51
+ | string
52
+ | undefined
53
+ | import("@smithy/types").Provider<string | undefined>;
54
+ retryStrategy?:
55
+ | import("@smithy/types").RetryStrategy
56
+ | import("@smithy/types").RetryStrategyV2;
57
+ endpoint?:
58
+ | ((
59
+ | string
60
+ | import("@smithy/types").Endpoint
61
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
62
+ | import("@smithy/types").EndpointV2
63
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
64
+ ) &
65
+ (
66
+ | string
67
+ | import("@smithy/types").Provider<string>
68
+ | import("@smithy/types").Endpoint
69
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
70
+ | import("@smithy/types").EndpointV2
71
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
72
+ ))
73
+ | undefined;
74
+ endpointProvider: (
75
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
76
+ context?: {
77
+ logger?: import("@smithy/types").Logger;
78
+ }
79
+ ) => import("@smithy/types").EndpointV2;
80
+ tls?: boolean;
81
+ serviceConfiguredEndpoint?: never;
82
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
85
+ credentials?:
86
+ | import("@smithy/types").AwsCredentialIdentity
87
+ | import("@smithy/types").AwsCredentialIdentityProvider;
88
+ signer?:
89
+ | import("@smithy/types").RequestSigner
90
+ | ((
91
+ authScheme?: import("@smithy/types").AuthScheme
92
+ ) => Promise<import("@smithy/types").RequestSigner>);
93
+ signingEscapePath?: boolean;
94
+ systemClockOffset?: number;
95
+ signingRegion?: string;
96
+ signerConstructor?: new (
97
+ options: import("@smithy/signature-v4").SignatureV4Init &
98
+ import("@smithy/signature-v4").SignatureV4CryptoInit
99
+ ) => import("@smithy/types").RequestSigner;
100
+ };
@@ -0,0 +1,95 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { InterconnectClientConfig } from "./InterconnectClient";
3
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider:
11
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
+ | ((
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
+ defaultUserAgentProvider: (
16
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
17
+ ) => Promise<import("@smithy/types").UserAgent>;
18
+ maxAttempts: number | import("@smithy/types").Provider<number>;
19
+ region: string | import("@smithy/types").Provider<string>;
20
+ requestHandler:
21
+ | RequestHandler
22
+ | import("@smithy/protocol-http").HttpHandler<any>;
23
+ retryMode: string | import("@smithy/types").Provider<string>;
24
+ sha256: import("@smithy/types").HashConstructor;
25
+ streamCollector: import("@smithy/types").StreamCollector;
26
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
+ cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: (_input: Uint8Array | string) => string;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: (input: Uint8Array | string) => string;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ profile?: string;
47
+ logger: import("@smithy/types").Logger;
48
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
49
+ customUserAgent?: string | import("@smithy/types").UserAgent;
50
+ retryStrategy?:
51
+ | import("@smithy/types").RetryStrategy
52
+ | import("@smithy/types").RetryStrategyV2;
53
+ endpoint?:
54
+ | ((
55
+ | string
56
+ | import("@smithy/types").Endpoint
57
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
+ | import("@smithy/types").EndpointV2
59
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
60
+ ) &
61
+ (
62
+ | string
63
+ | import("@smithy/types").Provider<string>
64
+ | import("@smithy/types").Endpoint
65
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
66
+ | import("@smithy/types").EndpointV2
67
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
68
+ ))
69
+ | undefined;
70
+ endpointProvider: (
71
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
72
+ context?: {
73
+ logger?: import("@smithy/types").Logger;
74
+ }
75
+ ) => import("@smithy/types").EndpointV2;
76
+ tls?: boolean;
77
+ serviceConfiguredEndpoint?: never;
78
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
79
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
80
+ credentials?:
81
+ | import("@smithy/types").AwsCredentialIdentity
82
+ | import("@smithy/types").AwsCredentialIdentityProvider;
83
+ signer?:
84
+ | import("@smithy/types").RequestSigner
85
+ | ((
86
+ authScheme?: import("@smithy/types").AuthScheme
87
+ ) => Promise<import("@smithy/types").RequestSigner>);
88
+ signingEscapePath?: boolean;
89
+ systemClockOffset?: number;
90
+ signingRegion?: string;
91
+ signerConstructor?: new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner;
95
+ };
@@ -0,0 +1,104 @@
1
+ import { InterconnectClientConfig } from "./InterconnectClient";
2
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
10
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
+ cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
+ streamCollector: import("@smithy/types").StreamCollector;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: Uint8Array | string) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: Uint8Array | string) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
32
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
34
+ region: string | import("@smithy/types").Provider<any>;
35
+ profile?: string;
36
+ defaultUserAgentProvider: (
37
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
38
+ ) => Promise<import("@smithy/types").UserAgent>;
39
+ credentialDefaultProvider:
40
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
41
+ | ((
42
+ _: unknown
43
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
+ maxAttempts: number | import("@smithy/types").Provider<number>;
45
+ retryMode: string | import("@smithy/types").Provider<string>;
46
+ logger: import("@smithy/types").Logger;
47
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
48
+ defaultsMode:
49
+ | import("@smithy/smithy-client").DefaultsMode
50
+ | import("@smithy/types").Provider<
51
+ import("@smithy/smithy-client").DefaultsMode
52
+ >;
53
+ customUserAgent?: string | import("@smithy/types").UserAgent;
54
+ userAgentAppId?:
55
+ | string
56
+ | undefined
57
+ | import("@smithy/types").Provider<string | undefined>;
58
+ retryStrategy?:
59
+ | import("@smithy/types").RetryStrategy
60
+ | import("@smithy/types").RetryStrategyV2;
61
+ endpoint?:
62
+ | ((
63
+ | string
64
+ | import("@smithy/types").Endpoint
65
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
66
+ | import("@smithy/types").EndpointV2
67
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
68
+ ) &
69
+ (
70
+ | string
71
+ | import("@smithy/types").Provider<string>
72
+ | import("@smithy/types").Endpoint
73
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
74
+ | import("@smithy/types").EndpointV2
75
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
76
+ ))
77
+ | undefined;
78
+ endpointProvider: (
79
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
+ context?: {
81
+ logger?: import("@smithy/types").Logger;
82
+ }
83
+ ) => import("@smithy/types").EndpointV2;
84
+ tls?: boolean;
85
+ serviceConfiguredEndpoint?: never;
86
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
87
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
88
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
89
+ credentials?:
90
+ | import("@smithy/types").AwsCredentialIdentity
91
+ | import("@smithy/types").AwsCredentialIdentityProvider;
92
+ signer?:
93
+ | import("@smithy/types").RequestSigner
94
+ | ((
95
+ authScheme?: import("@smithy/types").AuthScheme
96
+ ) => Promise<import("@smithy/types").RequestSigner>);
97
+ signingEscapePath?: boolean;
98
+ systemClockOffset?: number;
99
+ signingRegion?: string;
100
+ signerConstructor?: new (
101
+ options: import("@smithy/signature-v4").SignatureV4Init &
102
+ import("@smithy/signature-v4").SignatureV4CryptoInit
103
+ ) => import("@smithy/types").RequestSigner;
104
+ };
@@ -0,0 +1,30 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
+ import { InterconnectClientConfig } from "./InterconnectClient";
3
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
4
+ apiVersion: string;
5
+ base64Decoder: import("@smithy/types").Decoder;
6
+ base64Encoder: (_input: Uint8Array | string) => string;
7
+ disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ }
13
+ ) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
26
+ serviceId: string;
27
+ urlParser: import("@smithy/types").UrlParser;
28
+ utf8Decoder: import("@smithy/types").Decoder;
29
+ utf8Encoder: (input: Uint8Array | string) => string;
30
+ };
@@ -0,0 +1,11 @@
1
+ import { InterconnectExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: InterconnectExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
@@ -0,0 +1,63 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import {
3
+ StaticErrorSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ StaticUnionSchema,
7
+ } from "@smithy/types";
8
+ export declare var InterconnectServiceException$: StaticErrorSchema;
9
+ export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var InterconnectClientException$: StaticErrorSchema;
11
+ export declare var InterconnectServerException$: StaticErrorSchema;
12
+ export declare var InterconnectValidationException$: StaticErrorSchema;
13
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
14
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
15
+ export declare var ThrottlingException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
17
+ export declare var AcceptConnectionProposalRequest$: StaticStructureSchema;
18
+ export declare var AcceptConnectionProposalResponse$: StaticStructureSchema;
19
+ export declare var AttachPointDescriptor$: StaticStructureSchema;
20
+ export declare var Bandwidths$: StaticStructureSchema;
21
+ export declare var Connection$: StaticStructureSchema;
22
+ export declare var ConnectionSummary$: StaticStructureSchema;
23
+ export declare var CreateConnectionRequest$: StaticStructureSchema;
24
+ export declare var CreateConnectionResponse$: StaticStructureSchema;
25
+ export declare var DeleteConnectionRequest$: StaticStructureSchema;
26
+ export declare var DeleteConnectionResponse$: StaticStructureSchema;
27
+ export declare var DescribeConnectionProposalRequest$: StaticStructureSchema;
28
+ export declare var DescribeConnectionProposalResponse$: StaticStructureSchema;
29
+ export declare var Environment$: StaticStructureSchema;
30
+ export declare var GetConnectionRequest$: StaticStructureSchema;
31
+ export declare var GetConnectionResponse$: StaticStructureSchema;
32
+ export declare var GetEnvironmentRequest$: StaticStructureSchema;
33
+ export declare var GetEnvironmentResponse$: StaticStructureSchema;
34
+ export declare var ListAttachPointsRequest$: StaticStructureSchema;
35
+ export declare var ListAttachPointsResponse$: StaticStructureSchema;
36
+ export declare var ListConnectionsRequest$: StaticStructureSchema;
37
+ export declare var ListConnectionsResponse$: StaticStructureSchema;
38
+ export declare var ListEnvironmentsRequest$: StaticStructureSchema;
39
+ export declare var ListEnvironmentsResponse$: StaticStructureSchema;
40
+ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
41
+ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
42
+ export declare var TagResourceRequest$: StaticStructureSchema;
43
+ export declare var TagResourceResponse$: StaticStructureSchema;
44
+ export declare var UntagResourceRequest$: StaticStructureSchema;
45
+ export declare var UntagResourceResponse$: StaticStructureSchema;
46
+ export declare var UpdateConnectionRequest$: StaticStructureSchema;
47
+ export declare var UpdateConnectionResponse$: StaticStructureSchema;
48
+ export declare var AttachPoint$: StaticUnionSchema;
49
+ export declare var Provider$: StaticUnionSchema;
50
+ export declare var RemoteAccountIdentifier$: StaticUnionSchema;
51
+ export declare var AcceptConnectionProposal$: StaticOperationSchema;
52
+ export declare var CreateConnection$: StaticOperationSchema;
53
+ export declare var DeleteConnection$: StaticOperationSchema;
54
+ export declare var DescribeConnectionProposal$: StaticOperationSchema;
55
+ export declare var GetConnection$: StaticOperationSchema;
56
+ export declare var GetEnvironment$: StaticOperationSchema;
57
+ export declare var ListAttachPoints$: StaticOperationSchema;
58
+ export declare var ListConnections$: StaticOperationSchema;
59
+ export declare var ListEnvironments$: StaticOperationSchema;
60
+ export declare var ListTagsForResource$: StaticOperationSchema;
61
+ export declare var TagResource$: StaticOperationSchema;
62
+ export declare var UntagResource$: StaticOperationSchema;
63
+ export declare var UpdateConnection$: StaticOperationSchema;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForConnectionAvailable";
2
+ export * from "./waitForConnectionDeleted";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetConnectionCommandInput } from "../commands/GetConnectionCommand";
3
+ import { InterconnectClient } from "../InterconnectClient";
4
+ export declare const waitForConnectionAvailable: (
5
+ params: WaiterConfiguration<InterconnectClient>,
6
+ input: GetConnectionCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilConnectionAvailable: (
9
+ params: WaiterConfiguration<InterconnectClient>,
10
+ input: GetConnectionCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { GetConnectionCommandInput } from "../commands/GetConnectionCommand";
3
+ import { InterconnectClient } from "../InterconnectClient";
4
+ export declare const waitForConnectionDeleted: (
5
+ params: WaiterConfiguration<InterconnectClient>,
6
+ input: GetConnectionCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilConnectionDeleted: (
9
+ params: WaiterConfiguration<InterconnectClient>,
10
+ input: GetConnectionCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,2 @@
1
+ export * from "./waitForConnectionAvailable";
2
+ export * from "./waitForConnectionDeleted";
@@ -0,0 +1,14 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type GetConnectionCommandInput } from "../commands/GetConnectionCommand";
3
+ import type { InterconnectClient } from "../InterconnectClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilConnectionAvailable instead. waitForConnectionAvailable does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForConnectionAvailable: (params: WaiterConfiguration<InterconnectClient>, input: GetConnectionCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetConnectionCommand for polling.
13
+ */
14
+ export declare const waitUntilConnectionAvailable: (params: WaiterConfiguration<InterconnectClient>, input: GetConnectionCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type GetConnectionCommandInput } from "../commands/GetConnectionCommand";
3
+ import type { InterconnectClient } from "../InterconnectClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilConnectionDeleted instead. waitForConnectionDeleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForConnectionDeleted: (params: WaiterConfiguration<InterconnectClient>, input: GetConnectionCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to GetConnectionCommand for polling.
13
+ */
14
+ export declare const waitUntilConnectionDeleted: (params: WaiterConfiguration<InterconnectClient>, input: GetConnectionCommandInput) => Promise<WaiterResult>;
package/package.json ADDED
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "@aws-sdk/client-interconnect",
3
+ "description": "AWS SDK for JavaScript Interconnect Client for Node.js, Browser and React Native",
4
+ "version": "3.1030.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-interconnect",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
14
+ "extract:docs": "api-extractor run --local",
15
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo interconnect"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
20
+ "sideEffects": false,
21
+ "dependencies": {
22
+ "@aws-crypto/sha256-browser": "5.2.0",
23
+ "@aws-crypto/sha256-js": "5.2.0",
24
+ "@aws-sdk/core": "^3.973.27",
25
+ "@aws-sdk/credential-provider-node": "^3.972.30",
26
+ "@aws-sdk/middleware-host-header": "^3.972.9",
27
+ "@aws-sdk/middleware-logger": "^3.972.9",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.10",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.29",
30
+ "@aws-sdk/region-config-resolver": "^3.972.11",
31
+ "@aws-sdk/types": "^3.973.7",
32
+ "@aws-sdk/util-endpoints": "^3.996.6",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.15",
35
+ "@smithy/config-resolver": "^4.4.14",
36
+ "@smithy/core": "^3.23.14",
37
+ "@smithy/fetch-http-handler": "^5.3.16",
38
+ "@smithy/hash-node": "^4.2.13",
39
+ "@smithy/invalid-dependency": "^4.2.13",
40
+ "@smithy/middleware-content-length": "^4.2.13",
41
+ "@smithy/middleware-endpoint": "^4.4.29",
42
+ "@smithy/middleware-retry": "^4.5.0",
43
+ "@smithy/middleware-serde": "^4.2.17",
44
+ "@smithy/middleware-stack": "^4.2.13",
45
+ "@smithy/node-config-provider": "^4.3.13",
46
+ "@smithy/node-http-handler": "^4.5.2",
47
+ "@smithy/protocol-http": "^5.3.13",
48
+ "@smithy/smithy-client": "^4.12.9",
49
+ "@smithy/types": "^4.14.0",
50
+ "@smithy/url-parser": "^4.2.13",
51
+ "@smithy/util-base64": "^4.3.2",
52
+ "@smithy/util-body-length-browser": "^4.2.2",
53
+ "@smithy/util-body-length-node": "^4.2.3",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.45",
55
+ "@smithy/util-defaults-mode-node": "^4.2.49",
56
+ "@smithy/util-endpoints": "^3.3.4",
57
+ "@smithy/util-middleware": "^4.2.13",
58
+ "@smithy/util-retry": "^4.3.0",
59
+ "@smithy/util-utf8": "^4.2.2",
60
+ "@smithy/util-waiter": "^4.2.15",
61
+ "tslib": "^2.6.2"
62
+ },
63
+ "devDependencies": {
64
+ "@tsconfig/node20": "20.1.8",
65
+ "@types/node": "^20.14.8",
66
+ "concurrently": "7.0.0",
67
+ "downlevel-dts": "0.10.1",
68
+ "premove": "4.0.0",
69
+ "typescript": "~5.8.3"
70
+ },
71
+ "engines": {
72
+ "node": ">=20.0.0"
73
+ },
74
+ "typesVersions": {
75
+ "<4.5": {
76
+ "dist-types/*": [
77
+ "dist-types/ts3.4/*"
78
+ ]
79
+ }
80
+ },
81
+ "files": [
82
+ "dist-*/**"
83
+ ],
84
+ "author": {
85
+ "name": "AWS SDK for JavaScript Team",
86
+ "url": "https://aws.amazon.com/javascript/"
87
+ },
88
+ "license": "Apache-2.0",
89
+ "browser": {
90
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
91
+ },
92
+ "react-native": {
93
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
94
+ },
95
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-interconnect",
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
99
+ "directory": "clients/client-interconnect"
100
+ }
101
+ }