@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,8 @@
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
+ import { InterconnectClient } from "../InterconnectClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface InterconnectPaginationConfiguration extends PaginationConfiguration {
7
+ client: InterconnectClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListAttachPointsCommandInput, ListAttachPointsCommandOutput } from "../commands/ListAttachPointsCommand";
3
+ import type { InterconnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListAttachPoints: (config: InterconnectPaginationConfiguration, input: ListAttachPointsCommandInput, ...rest: any[]) => Paginator<ListAttachPointsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "../commands/ListConnectionsCommand";
3
+ import type { InterconnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListConnections: (config: InterconnectPaginationConfiguration, input: ListConnectionsCommandInput, ...rest: any[]) => Paginator<ListConnectionsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "../commands/ListEnvironmentsCommand";
3
+ import type { InterconnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListEnvironments: (config: InterconnectPaginationConfiguration, input: ListEnvironmentsCommandInput, ...rest: any[]) => 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,55 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import type { InterconnectClientConfig } from "./InterconnectClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
27
+ urlParser: import("@smithy/types").UrlParser;
28
+ base64Decoder: import("@smithy/types").Decoder;
29
+ base64Encoder: (_input: Uint8Array | string) => string;
30
+ utf8Decoder: import("@smithy/types").Decoder;
31
+ utf8Encoder: (input: Uint8Array | string) => string;
32
+ disableHostPrefix: boolean;
33
+ serviceId: string;
34
+ profile?: string;
35
+ logger: import("@smithy/types").Logger;
36
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
37
+ customUserAgent?: string | import("@smithy/types").UserAgent;
38
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
39
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
40
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
41
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
42
+ logger?: import("@smithy/types").Logger;
43
+ }) => import("@smithy/types").EndpointV2;
44
+ tls?: boolean;
45
+ serviceConfiguredEndpoint?: never;
46
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ };
@@ -0,0 +1,55 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import type { InterconnectClientConfig } from "./InterconnectClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
+ cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ profile?: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
40
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
42
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
+ logger?: import("@smithy/types").Logger;
44
+ }) => import("@smithy/types").EndpointV2;
45
+ tls?: boolean;
46
+ serviceConfiguredEndpoint?: never;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ };
@@ -0,0 +1,54 @@
1
+ import type { InterconnectClientConfig } from "./InterconnectClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: Uint8Array | string) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ profile?: string;
29
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
+ maxAttempts: number | import("@smithy/types").Provider<number>;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent;
37
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
39
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
40
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
41
+ logger?: import("@smithy/types").Logger;
42
+ }) => import("@smithy/types").EndpointV2;
43
+ tls?: boolean;
44
+ serviceConfiguredEndpoint?: never;
45
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
46
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
47
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InterconnectHttpAuthSchemeProvider;
48
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
49
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
50
+ signingEscapePath?: boolean;
51
+ systemClockOffset?: number;
52
+ signingRegion?: string;
53
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
54
+ };
@@ -0,0 +1,27 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
+ import type { InterconnectClientConfig } from "./InterconnectClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: InterconnectClientConfig) => {
7
+ apiVersion: string;
8
+ base64Decoder: import("@smithy/types").Decoder;
9
+ base64Encoder: (_input: Uint8Array | string) => string;
10
+ disableHostPrefix: boolean;
11
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
+ logger?: import("@smithy/types").Logger;
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: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_0Protocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
23
+ serviceId: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ };
@@ -0,0 +1,17 @@
1
+ import type { InterconnectExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: InterconnectExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,63 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var InterconnectServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InterconnectClientException$: StaticErrorSchema;
6
+ export declare var InterconnectServerException$: StaticErrorSchema;
7
+ export declare var InterconnectValidationException$: StaticErrorSchema;
8
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
9
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var ThrottlingException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
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,275 @@
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ WaiterConfiguration,
6
+ } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
8
+ import {
9
+ AcceptConnectionProposalCommandInput,
10
+ AcceptConnectionProposalCommandOutput,
11
+ } from "./commands/AcceptConnectionProposalCommand";
12
+ import {
13
+ CreateConnectionCommandInput,
14
+ CreateConnectionCommandOutput,
15
+ } from "./commands/CreateConnectionCommand";
16
+ import {
17
+ DeleteConnectionCommandInput,
18
+ DeleteConnectionCommandOutput,
19
+ } from "./commands/DeleteConnectionCommand";
20
+ import {
21
+ DescribeConnectionProposalCommandInput,
22
+ DescribeConnectionProposalCommandOutput,
23
+ } from "./commands/DescribeConnectionProposalCommand";
24
+ import {
25
+ GetConnectionCommandInput,
26
+ GetConnectionCommandOutput,
27
+ } from "./commands/GetConnectionCommand";
28
+ import {
29
+ GetEnvironmentCommandInput,
30
+ GetEnvironmentCommandOutput,
31
+ } from "./commands/GetEnvironmentCommand";
32
+ import {
33
+ ListAttachPointsCommandInput,
34
+ ListAttachPointsCommandOutput,
35
+ } from "./commands/ListAttachPointsCommand";
36
+ import {
37
+ ListConnectionsCommandInput,
38
+ ListConnectionsCommandOutput,
39
+ } from "./commands/ListConnectionsCommand";
40
+ import {
41
+ ListEnvironmentsCommandInput,
42
+ ListEnvironmentsCommandOutput,
43
+ } from "./commands/ListEnvironmentsCommand";
44
+ import {
45
+ ListTagsForResourceCommandInput,
46
+ ListTagsForResourceCommandOutput,
47
+ } from "./commands/ListTagsForResourceCommand";
48
+ import {
49
+ TagResourceCommandInput,
50
+ TagResourceCommandOutput,
51
+ } from "./commands/TagResourceCommand";
52
+ import {
53
+ UntagResourceCommandInput,
54
+ UntagResourceCommandOutput,
55
+ } from "./commands/UntagResourceCommand";
56
+ import {
57
+ UpdateConnectionCommandInput,
58
+ UpdateConnectionCommandOutput,
59
+ } from "./commands/UpdateConnectionCommand";
60
+ import { InterconnectClient } from "./InterconnectClient";
61
+ export interface Interconnect {
62
+ acceptConnectionProposal(
63
+ args: AcceptConnectionProposalCommandInput,
64
+ options?: __HttpHandlerOptions
65
+ ): Promise<AcceptConnectionProposalCommandOutput>;
66
+ acceptConnectionProposal(
67
+ args: AcceptConnectionProposalCommandInput,
68
+ cb: (err: any, data?: AcceptConnectionProposalCommandOutput) => void
69
+ ): void;
70
+ acceptConnectionProposal(
71
+ args: AcceptConnectionProposalCommandInput,
72
+ options: __HttpHandlerOptions,
73
+ cb: (err: any, data?: AcceptConnectionProposalCommandOutput) => void
74
+ ): void;
75
+ createConnection(
76
+ args: CreateConnectionCommandInput,
77
+ options?: __HttpHandlerOptions
78
+ ): Promise<CreateConnectionCommandOutput>;
79
+ createConnection(
80
+ args: CreateConnectionCommandInput,
81
+ cb: (err: any, data?: CreateConnectionCommandOutput) => void
82
+ ): void;
83
+ createConnection(
84
+ args: CreateConnectionCommandInput,
85
+ options: __HttpHandlerOptions,
86
+ cb: (err: any, data?: CreateConnectionCommandOutput) => void
87
+ ): void;
88
+ deleteConnection(
89
+ args: DeleteConnectionCommandInput,
90
+ options?: __HttpHandlerOptions
91
+ ): Promise<DeleteConnectionCommandOutput>;
92
+ deleteConnection(
93
+ args: DeleteConnectionCommandInput,
94
+ cb: (err: any, data?: DeleteConnectionCommandOutput) => void
95
+ ): void;
96
+ deleteConnection(
97
+ args: DeleteConnectionCommandInput,
98
+ options: __HttpHandlerOptions,
99
+ cb: (err: any, data?: DeleteConnectionCommandOutput) => void
100
+ ): void;
101
+ describeConnectionProposal(
102
+ args: DescribeConnectionProposalCommandInput,
103
+ options?: __HttpHandlerOptions
104
+ ): Promise<DescribeConnectionProposalCommandOutput>;
105
+ describeConnectionProposal(
106
+ args: DescribeConnectionProposalCommandInput,
107
+ cb: (err: any, data?: DescribeConnectionProposalCommandOutput) => void
108
+ ): void;
109
+ describeConnectionProposal(
110
+ args: DescribeConnectionProposalCommandInput,
111
+ options: __HttpHandlerOptions,
112
+ cb: (err: any, data?: DescribeConnectionProposalCommandOutput) => void
113
+ ): void;
114
+ getConnection(
115
+ args: GetConnectionCommandInput,
116
+ options?: __HttpHandlerOptions
117
+ ): Promise<GetConnectionCommandOutput>;
118
+ getConnection(
119
+ args: GetConnectionCommandInput,
120
+ cb: (err: any, data?: GetConnectionCommandOutput) => void
121
+ ): void;
122
+ getConnection(
123
+ args: GetConnectionCommandInput,
124
+ options: __HttpHandlerOptions,
125
+ cb: (err: any, data?: GetConnectionCommandOutput) => void
126
+ ): void;
127
+ getEnvironment(
128
+ args: GetEnvironmentCommandInput,
129
+ options?: __HttpHandlerOptions
130
+ ): Promise<GetEnvironmentCommandOutput>;
131
+ getEnvironment(
132
+ args: GetEnvironmentCommandInput,
133
+ cb: (err: any, data?: GetEnvironmentCommandOutput) => void
134
+ ): void;
135
+ getEnvironment(
136
+ args: GetEnvironmentCommandInput,
137
+ options: __HttpHandlerOptions,
138
+ cb: (err: any, data?: GetEnvironmentCommandOutput) => void
139
+ ): void;
140
+ listAttachPoints(
141
+ args: ListAttachPointsCommandInput,
142
+ options?: __HttpHandlerOptions
143
+ ): Promise<ListAttachPointsCommandOutput>;
144
+ listAttachPoints(
145
+ args: ListAttachPointsCommandInput,
146
+ cb: (err: any, data?: ListAttachPointsCommandOutput) => void
147
+ ): void;
148
+ listAttachPoints(
149
+ args: ListAttachPointsCommandInput,
150
+ options: __HttpHandlerOptions,
151
+ cb: (err: any, data?: ListAttachPointsCommandOutput) => void
152
+ ): void;
153
+ listConnections(): Promise<ListConnectionsCommandOutput>;
154
+ listConnections(
155
+ args: ListConnectionsCommandInput,
156
+ options?: __HttpHandlerOptions
157
+ ): Promise<ListConnectionsCommandOutput>;
158
+ listConnections(
159
+ args: ListConnectionsCommandInput,
160
+ cb: (err: any, data?: ListConnectionsCommandOutput) => void
161
+ ): void;
162
+ listConnections(
163
+ args: ListConnectionsCommandInput,
164
+ options: __HttpHandlerOptions,
165
+ cb: (err: any, data?: ListConnectionsCommandOutput) => void
166
+ ): void;
167
+ listEnvironments(): Promise<ListEnvironmentsCommandOutput>;
168
+ listEnvironments(
169
+ args: ListEnvironmentsCommandInput,
170
+ options?: __HttpHandlerOptions
171
+ ): Promise<ListEnvironmentsCommandOutput>;
172
+ listEnvironments(
173
+ args: ListEnvironmentsCommandInput,
174
+ cb: (err: any, data?: ListEnvironmentsCommandOutput) => void
175
+ ): void;
176
+ listEnvironments(
177
+ args: ListEnvironmentsCommandInput,
178
+ options: __HttpHandlerOptions,
179
+ cb: (err: any, data?: ListEnvironmentsCommandOutput) => void
180
+ ): void;
181
+ listTagsForResource(
182
+ args: ListTagsForResourceCommandInput,
183
+ options?: __HttpHandlerOptions
184
+ ): Promise<ListTagsForResourceCommandOutput>;
185
+ listTagsForResource(
186
+ args: ListTagsForResourceCommandInput,
187
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
188
+ ): void;
189
+ listTagsForResource(
190
+ args: ListTagsForResourceCommandInput,
191
+ options: __HttpHandlerOptions,
192
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
193
+ ): void;
194
+ tagResource(
195
+ args: TagResourceCommandInput,
196
+ options?: __HttpHandlerOptions
197
+ ): Promise<TagResourceCommandOutput>;
198
+ tagResource(
199
+ args: TagResourceCommandInput,
200
+ cb: (err: any, data?: TagResourceCommandOutput) => void
201
+ ): void;
202
+ tagResource(
203
+ args: TagResourceCommandInput,
204
+ options: __HttpHandlerOptions,
205
+ cb: (err: any, data?: TagResourceCommandOutput) => void
206
+ ): void;
207
+ untagResource(
208
+ args: UntagResourceCommandInput,
209
+ options?: __HttpHandlerOptions
210
+ ): Promise<UntagResourceCommandOutput>;
211
+ untagResource(
212
+ args: UntagResourceCommandInput,
213
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
214
+ ): void;
215
+ untagResource(
216
+ args: UntagResourceCommandInput,
217
+ options: __HttpHandlerOptions,
218
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
219
+ ): void;
220
+ updateConnection(
221
+ args: UpdateConnectionCommandInput,
222
+ options?: __HttpHandlerOptions
223
+ ): Promise<UpdateConnectionCommandOutput>;
224
+ updateConnection(
225
+ args: UpdateConnectionCommandInput,
226
+ cb: (err: any, data?: UpdateConnectionCommandOutput) => void
227
+ ): void;
228
+ updateConnection(
229
+ args: UpdateConnectionCommandInput,
230
+ options: __HttpHandlerOptions,
231
+ cb: (err: any, data?: UpdateConnectionCommandOutput) => void
232
+ ): void;
233
+ paginateListAttachPoints(
234
+ args: ListAttachPointsCommandInput,
235
+ paginationConfig?: Pick<
236
+ PaginationConfiguration,
237
+ Exclude<keyof PaginationConfiguration, "client">
238
+ >
239
+ ): Paginator<ListAttachPointsCommandOutput>;
240
+ paginateListConnections(
241
+ args?: ListConnectionsCommandInput,
242
+ paginationConfig?: Pick<
243
+ PaginationConfiguration,
244
+ Exclude<keyof PaginationConfiguration, "client">
245
+ >
246
+ ): Paginator<ListConnectionsCommandOutput>;
247
+ paginateListEnvironments(
248
+ args?: ListEnvironmentsCommandInput,
249
+ paginationConfig?: Pick<
250
+ PaginationConfiguration,
251
+ Exclude<keyof PaginationConfiguration, "client">
252
+ >
253
+ ): Paginator<ListEnvironmentsCommandOutput>;
254
+ waitUntilConnectionAvailable(
255
+ args: GetConnectionCommandInput,
256
+ waiterConfig:
257
+ | number
258
+ | Pick<
259
+ WaiterConfiguration<Interconnect>,
260
+ Exclude<keyof WaiterConfiguration<Interconnect>, "client">
261
+ >
262
+ ): Promise<WaiterResult>;
263
+ waitUntilConnectionDeleted(
264
+ args: GetConnectionCommandInput,
265
+ waiterConfig:
266
+ | number
267
+ | Pick<
268
+ WaiterConfiguration<Interconnect>,
269
+ Exclude<keyof WaiterConfiguration<Interconnect>, "client">
270
+ >
271
+ ): Promise<WaiterResult>;
272
+ }
273
+ export declare class Interconnect
274
+ extends InterconnectClient
275
+ implements Interconnect {}