@aws-sdk/client-interconnect 3.1068.0 → 3.1069.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/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +98 -118
- package/dist-cjs/models/InterconnectServiceException.js +4 -8
- package/dist-cjs/models/errors.js +15 -25
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +127 -89
- package/package.json +8 -8
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const retry_1 = require("@smithy/core/retry");
|
|
11
|
-
const serde_1 = require("@smithy/core/serde");
|
|
12
|
-
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
13
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
+
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
+
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
+
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
+
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
+
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
+
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
14
10
|
const getRuntimeConfig = (config) => {
|
|
15
|
-
const defaultsMode =
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
-
const clientSharedValues = (
|
|
11
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
14
|
return {
|
|
19
15
|
...clientSharedValues,
|
|
20
16
|
...config,
|
|
21
17
|
runtime: "browser",
|
|
22
18
|
defaultsMode,
|
|
23
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
19
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
20
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
-
maxAttempts: config?.maxAttempts ??
|
|
27
|
-
region: config?.region ??
|
|
28
|
-
requestHandler:
|
|
29
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
30
|
-
sha256: config?.sha256 ??
|
|
31
|
-
streamCollector: config?.streamCollector ??
|
|
32
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
33
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
21
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
+
sha256: config?.sha256 ?? Sha256,
|
|
27
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
30
|
};
|
|
35
31
|
};
|
|
36
32
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const retry_1 = require("@smithy/core/retry");
|
|
12
|
-
const serde_1 = require("@smithy/core/serde");
|
|
13
|
-
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
|
|
3
|
+
const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
4
|
+
const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
5
|
+
const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
6
|
+
const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
7
|
+
const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
|
|
8
|
+
const { calculateBodyLength, Hash } = require("@smithy/core/serde");
|
|
9
|
+
const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
|
|
10
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
15
11
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
|
|
17
|
-
const defaultsMode =
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
-
const clientSharedValues = (
|
|
20
|
-
(
|
|
12
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
awsCheckVersion(process.version);
|
|
21
17
|
const loaderConfig = {
|
|
22
18
|
profile: config?.profile,
|
|
23
19
|
logger: clientSharedValues.logger,
|
|
@@ -27,23 +23,23 @@ const getRuntimeConfig = (config) => {
|
|
|
27
23
|
...config,
|
|
28
24
|
runtime: "node",
|
|
29
25
|
defaultsMode,
|
|
30
|
-
authSchemePreference: config?.authSchemePreference ?? (
|
|
31
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
32
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ??
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
maxAttempts: config?.maxAttempts ?? (
|
|
35
|
-
region: config?.region ?? (
|
|
36
|
-
requestHandler:
|
|
26
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
33
|
retryMode: config?.retryMode ??
|
|
38
|
-
(
|
|
39
|
-
...
|
|
40
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
41
37
|
}, config),
|
|
42
|
-
sha256: config?.sha256 ??
|
|
43
|
-
streamCollector: config?.streamCollector ??
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? (
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
43
|
};
|
|
48
44
|
};
|
|
49
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
1
|
+
const { Sha256 } = require("@aws-crypto/sha256-js");
|
|
2
|
+
const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
|
|
6
3
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
const browserDefaults = (
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
8
5
|
return {
|
|
9
6
|
...browserDefaults,
|
|
10
7
|
...config,
|
|
11
8
|
runtime: "react-native",
|
|
12
|
-
sha256: config?.sha256 ??
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
13
10
|
};
|
|
14
11
|
};
|
|
15
12
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
11
|
-
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
|
-
const getRuntimeConfig = (config) => {
|
|
1
|
+
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
3
|
+
const { NoOpLogger } = require("@smithy/core/client");
|
|
4
|
+
const { parseUrl } = require("@smithy/core/protocols");
|
|
5
|
+
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
6
|
+
const { defaultInterconnectHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
7
|
+
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
8
|
+
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
9
|
+
exports.getRuntimeConfig = (config) => {
|
|
13
10
|
return {
|
|
14
11
|
apiVersion: "2022-07-26",
|
|
15
|
-
base64Decoder: config?.base64Decoder ??
|
|
16
|
-
base64Encoder: config?.base64Encoder ??
|
|
12
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
17
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
18
|
-
endpointProvider: config?.endpointProvider ??
|
|
15
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
19
16
|
extensions: config?.extensions ?? [],
|
|
20
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
17
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultInterconnectHttpAuthSchemeProvider,
|
|
21
18
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
22
19
|
{
|
|
23
20
|
schemeId: "aws.auth#sigv4",
|
|
24
21
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
25
|
-
signer: new
|
|
22
|
+
signer: new AwsSdkSigV4Signer(),
|
|
26
23
|
},
|
|
27
24
|
],
|
|
28
|
-
logger: config?.logger ?? new
|
|
29
|
-
protocol: config?.protocol ??
|
|
25
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
30
27
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
28
|
defaultNamespace: "com.amazonaws.interconnect",
|
|
32
|
-
errorTypeRegistries
|
|
29
|
+
errorTypeRegistries,
|
|
33
30
|
version: "2022-07-26",
|
|
34
31
|
serviceTarget: "Interconnect",
|
|
35
32
|
},
|
|
36
33
|
serviceId: config?.serviceId ?? "Interconnect",
|
|
37
|
-
urlParser: config?.urlParser ??
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
34
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
35
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListAttachPoints$ = exports.GetEnvironment$ = exports.GetConnection$ = exports.DescribeConnectionProposal$ = exports.DeleteConnection$ = exports.CreateConnection$ = exports.AcceptConnectionProposal$ = exports.RemoteAccountIdentifier$ = exports.Provider$ = exports.AttachPoint$ = exports.UpdateConnectionResponse$ = exports.UpdateConnectionRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListEnvironmentsResponse$ = exports.ListEnvironmentsRequest$ = exports.ListConnectionsResponse$ = exports.ListConnectionsRequest$ = exports.ListAttachPointsResponse$ = exports.ListAttachPointsRequest$ = exports.GetEnvironmentResponse$ = exports.GetEnvironmentRequest$ = exports.GetConnectionResponse$ = exports.GetConnectionRequest$ = exports.Environment$ = exports.DescribeConnectionProposalResponse$ = exports.DescribeConnectionProposalRequest$ = exports.DeleteConnectionResponse$ = exports.DeleteConnectionRequest$ = exports.CreateConnectionResponse$ = exports.CreateConnectionRequest$ = exports.ConnectionSummary$ = exports.Connection$ = exports.Bandwidths$ = exports.AttachPointDescriptor$ = exports.AcceptConnectionProposalResponse$ = exports.AcceptConnectionProposalRequest$ = exports.errorTypeRegistries = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InterconnectValidationException$ = exports.InterconnectServerException$ = exports.InterconnectClientException$ = exports.AccessDeniedException$ = exports.InterconnectServiceException$ = void 0;
|
|
4
|
-
exports.UpdateConnection$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListEnvironments$ = exports.ListConnections$ = void 0;
|
|
5
1
|
const _ACP = "AcceptConnectionProposal";
|
|
6
2
|
const _ACPR = "AcceptConnectionProposalRequest";
|
|
7
3
|
const _ACPRc = "AcceptConnectionProposalResponse";
|
|
@@ -102,278 +98,320 @@ const _t = "tags";
|
|
|
102
98
|
const _tK = "tagKeys";
|
|
103
99
|
const _ty = "type";
|
|
104
100
|
const n0 = "com.amazonaws.interconnect";
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
const _s_registry =
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
101
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
102
|
+
const { AccessDeniedException, InterconnectClientException, InterconnectServerException, InterconnectValidationException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException } = require("../models/errors");
|
|
103
|
+
const { InterconnectServiceException } = require("../models/InterconnectServiceException");
|
|
104
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
105
|
+
const InterconnectServiceException$ = [-3, _s, "InterconnectServiceException", 0, [], []];
|
|
106
|
+
exports.InterconnectServiceException$ = InterconnectServiceException$;
|
|
107
|
+
_s_registry.registerError(InterconnectServiceException$, InterconnectServiceException);
|
|
108
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
109
|
+
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
113
110
|
{ [_e]: _c, [_hE]: 403 },
|
|
114
111
|
[_m],
|
|
115
112
|
[0]
|
|
116
113
|
];
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
115
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
116
|
+
const InterconnectClientException$ = [-3, n0, _ICE,
|
|
119
117
|
{ [_e]: _c, [_hE]: 400 },
|
|
120
118
|
[_m],
|
|
121
119
|
[0], 1
|
|
122
120
|
];
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
exports.InterconnectClientException$ = InterconnectClientException$;
|
|
122
|
+
n0_registry.registerError(InterconnectClientException$, InterconnectClientException);
|
|
123
|
+
const InterconnectServerException$ = [-3, n0, _ISE,
|
|
125
124
|
{ [_e]: _se, [_hE]: 500 },
|
|
126
125
|
[_m],
|
|
127
126
|
[0], 1
|
|
128
127
|
];
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
exports.InterconnectServerException$ = InterconnectServerException$;
|
|
129
|
+
n0_registry.registerError(InterconnectServerException$, InterconnectServerException);
|
|
130
|
+
const InterconnectValidationException$ = [-3, n0, _IVE,
|
|
131
131
|
{ [_e]: _c, [_hE]: 400 },
|
|
132
132
|
[_m],
|
|
133
133
|
[0], 1
|
|
134
134
|
];
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
exports.InterconnectValidationException$ = InterconnectValidationException$;
|
|
136
|
+
n0_registry.registerError(InterconnectValidationException$, InterconnectValidationException);
|
|
137
|
+
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
137
138
|
{ [_e]: _c, [_hE]: 404 },
|
|
138
139
|
[_m],
|
|
139
140
|
[0]
|
|
140
141
|
];
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
143
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
144
|
+
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
143
145
|
{ [_e]: _c, [_hE]: 402 },
|
|
144
146
|
[_m],
|
|
145
147
|
[0]
|
|
146
148
|
];
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
150
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
151
|
+
const ThrottlingException$ = [-3, n0, _TE,
|
|
149
152
|
{ [_e]: _c, [_hE]: 429 },
|
|
150
153
|
[_m],
|
|
151
154
|
[0]
|
|
152
155
|
];
|
|
153
|
-
|
|
156
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
157
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
154
158
|
exports.errorTypeRegistries = [
|
|
155
159
|
_s_registry,
|
|
156
160
|
n0_registry,
|
|
157
161
|
];
|
|
158
162
|
var ActivationKey = [0, n0, _AK, 8, 0];
|
|
159
|
-
|
|
163
|
+
const AcceptConnectionProposalRequest$ = [3, n0, _ACPR,
|
|
160
164
|
0,
|
|
161
165
|
[_aP, _aK, _d, _t, _cT],
|
|
162
|
-
[() =>
|
|
166
|
+
[() => AttachPoint$, [() => ActivationKey, 0], 0, 128 | 0, [0, 4]], 2
|
|
163
167
|
];
|
|
164
|
-
exports.
|
|
168
|
+
exports.AcceptConnectionProposalRequest$ = AcceptConnectionProposalRequest$;
|
|
169
|
+
const AcceptConnectionProposalResponse$ = [3, n0, _ACPRc,
|
|
165
170
|
0,
|
|
166
171
|
[_co],
|
|
167
|
-
[[() =>
|
|
172
|
+
[[() => Connection$, 0]]
|
|
168
173
|
];
|
|
169
|
-
exports.
|
|
174
|
+
exports.AcceptConnectionProposalResponse$ = AcceptConnectionProposalResponse$;
|
|
175
|
+
const AttachPointDescriptor$ = [3, n0, _APD,
|
|
170
176
|
0,
|
|
171
177
|
[_ty, _i, _n],
|
|
172
178
|
[0, 0, 0], 3
|
|
173
179
|
];
|
|
174
|
-
exports.
|
|
180
|
+
exports.AttachPointDescriptor$ = AttachPointDescriptor$;
|
|
181
|
+
const Bandwidths$ = [3, n0, _B,
|
|
175
182
|
0,
|
|
176
183
|
[_a, _su],
|
|
177
184
|
[64 | 0, 64 | 0]
|
|
178
185
|
];
|
|
179
|
-
exports.
|
|
186
|
+
exports.Bandwidths$ = Bandwidths$;
|
|
187
|
+
const Connection$ = [3, n0, _C,
|
|
180
188
|
0,
|
|
181
189
|
[_id, _ar, _d, _b, _aP, _eI, _p, _l, _ty, _st, _sI, _oA, _aK, _bT, _t],
|
|
182
|
-
[0, 0, 0, 0, () =>
|
|
190
|
+
[0, 0, 0, 0, () => AttachPoint$, 0, () => Provider$, 0, 0, 0, 0, 0, [() => ActivationKey, 0], 1, 128 | 0], 13
|
|
183
191
|
];
|
|
184
|
-
exports.
|
|
192
|
+
exports.Connection$ = Connection$;
|
|
193
|
+
const ConnectionSummary$ = [3, n0, _CS,
|
|
185
194
|
0,
|
|
186
195
|
[_id, _ar, _d, _b, _aP, _eI, _p, _l, _ty, _st, _sI, _bT],
|
|
187
|
-
[0, 0, 0, 0, () =>
|
|
196
|
+
[0, 0, 0, 0, () => AttachPoint$, 0, () => Provider$, 0, 0, 0, 0, 1], 11
|
|
188
197
|
];
|
|
189
|
-
exports.
|
|
198
|
+
exports.ConnectionSummary$ = ConnectionSummary$;
|
|
199
|
+
const CreateConnectionRequest$ = [3, n0, _CCR,
|
|
190
200
|
0,
|
|
191
201
|
[_b, _aP, _eI, _d, _rA, _t, _cT],
|
|
192
|
-
[0, () =>
|
|
202
|
+
[0, () => AttachPoint$, 0, 0, () => RemoteAccountIdentifier$, 128 | 0, [0, 4]], 3
|
|
193
203
|
];
|
|
194
|
-
exports.
|
|
204
|
+
exports.CreateConnectionRequest$ = CreateConnectionRequest$;
|
|
205
|
+
const CreateConnectionResponse$ = [3, n0, _CCRr,
|
|
195
206
|
0,
|
|
196
207
|
[_co],
|
|
197
|
-
[[() =>
|
|
208
|
+
[[() => Connection$, 0]]
|
|
198
209
|
];
|
|
199
|
-
exports.
|
|
210
|
+
exports.CreateConnectionResponse$ = CreateConnectionResponse$;
|
|
211
|
+
const DeleteConnectionRequest$ = [3, n0, _DCR,
|
|
200
212
|
0,
|
|
201
213
|
[_i, _cT],
|
|
202
214
|
[0, [0, 4]], 1
|
|
203
215
|
];
|
|
204
|
-
exports.
|
|
216
|
+
exports.DeleteConnectionRequest$ = DeleteConnectionRequest$;
|
|
217
|
+
const DeleteConnectionResponse$ = [3, n0, _DCRe,
|
|
205
218
|
0,
|
|
206
219
|
[_co],
|
|
207
|
-
[[() =>
|
|
220
|
+
[[() => Connection$, 0]], 1
|
|
208
221
|
];
|
|
209
|
-
exports.
|
|
222
|
+
exports.DeleteConnectionResponse$ = DeleteConnectionResponse$;
|
|
223
|
+
const DescribeConnectionProposalRequest$ = [3, n0, _DCPR,
|
|
210
224
|
0,
|
|
211
225
|
[_aK],
|
|
212
226
|
[[() => ActivationKey, 0]], 1
|
|
213
227
|
];
|
|
214
|
-
exports.
|
|
228
|
+
exports.DescribeConnectionProposalRequest$ = DescribeConnectionProposalRequest$;
|
|
229
|
+
const DescribeConnectionProposalResponse$ = [3, n0, _DCPRe,
|
|
215
230
|
0,
|
|
216
231
|
[_b, _eI, _p, _l],
|
|
217
|
-
[0, 0, () =>
|
|
232
|
+
[0, 0, () => Provider$, 0], 4
|
|
218
233
|
];
|
|
219
|
-
exports.
|
|
234
|
+
exports.DescribeConnectionProposalResponse$ = DescribeConnectionProposalResponse$;
|
|
235
|
+
const Environment$ = [3, n0, _E,
|
|
220
236
|
0,
|
|
221
237
|
[_p, _l, _eI, _st, _ba, _ty, _aPU, _rIT],
|
|
222
|
-
[() =>
|
|
238
|
+
[() => Provider$, 0, 0, 0, () => Bandwidths$, 0, 0, 0], 6
|
|
223
239
|
];
|
|
224
|
-
exports.
|
|
240
|
+
exports.Environment$ = Environment$;
|
|
241
|
+
const GetConnectionRequest$ = [3, n0, _GCR,
|
|
225
242
|
0,
|
|
226
243
|
[_i],
|
|
227
244
|
[0], 1
|
|
228
245
|
];
|
|
229
|
-
exports.
|
|
246
|
+
exports.GetConnectionRequest$ = GetConnectionRequest$;
|
|
247
|
+
const GetConnectionResponse$ = [3, n0, _GCRe,
|
|
230
248
|
0,
|
|
231
249
|
[_co],
|
|
232
|
-
[[() =>
|
|
250
|
+
[[() => Connection$, 0]]
|
|
233
251
|
];
|
|
234
|
-
exports.
|
|
252
|
+
exports.GetConnectionResponse$ = GetConnectionResponse$;
|
|
253
|
+
const GetEnvironmentRequest$ = [3, n0, _GER,
|
|
235
254
|
0,
|
|
236
255
|
[_id],
|
|
237
256
|
[0], 1
|
|
238
257
|
];
|
|
239
|
-
exports.
|
|
258
|
+
exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
|
|
259
|
+
const GetEnvironmentResponse$ = [3, n0, _GERe,
|
|
240
260
|
0,
|
|
241
261
|
[_en],
|
|
242
|
-
[() =>
|
|
262
|
+
[() => Environment$], 1
|
|
243
263
|
];
|
|
244
|
-
exports.
|
|
264
|
+
exports.GetEnvironmentResponse$ = GetEnvironmentResponse$;
|
|
265
|
+
const ListAttachPointsRequest$ = [3, n0, _LAPR,
|
|
245
266
|
0,
|
|
246
267
|
[_eI, _mR, _nT],
|
|
247
268
|
[0, 1, 0], 1
|
|
248
269
|
];
|
|
249
|
-
exports.
|
|
270
|
+
exports.ListAttachPointsRequest$ = ListAttachPointsRequest$;
|
|
271
|
+
const ListAttachPointsResponse$ = [3, n0, _LAPRi,
|
|
250
272
|
0,
|
|
251
273
|
[_aPt, _nT],
|
|
252
274
|
[() => AttachPointDescriptorList, 0], 1
|
|
253
275
|
];
|
|
254
|
-
exports.
|
|
276
|
+
exports.ListAttachPointsResponse$ = ListAttachPointsResponse$;
|
|
277
|
+
const ListConnectionsRequest$ = [3, n0, _LCR,
|
|
255
278
|
0,
|
|
256
279
|
[_mR, _nT, _st, _eI, _p, _aP],
|
|
257
|
-
[1, 0, 0, 0, () =>
|
|
280
|
+
[1, 0, 0, 0, () => Provider$, () => AttachPoint$]
|
|
258
281
|
];
|
|
259
|
-
exports.
|
|
282
|
+
exports.ListConnectionsRequest$ = ListConnectionsRequest$;
|
|
283
|
+
const ListConnectionsResponse$ = [3, n0, _LCRi,
|
|
260
284
|
0,
|
|
261
285
|
[_con, _nT],
|
|
262
286
|
[() => ConnectionSummariesList, 0]
|
|
263
287
|
];
|
|
264
|
-
exports.
|
|
288
|
+
exports.ListConnectionsResponse$ = ListConnectionsResponse$;
|
|
289
|
+
const ListEnvironmentsRequest$ = [3, n0, _LER,
|
|
265
290
|
0,
|
|
266
291
|
[_mR, _nT, _p, _l],
|
|
267
|
-
[1, 0, () =>
|
|
292
|
+
[1, 0, () => Provider$, 0]
|
|
268
293
|
];
|
|
269
|
-
exports.
|
|
294
|
+
exports.ListEnvironmentsRequest$ = ListEnvironmentsRequest$;
|
|
295
|
+
const ListEnvironmentsResponse$ = [3, n0, _LERi,
|
|
270
296
|
0,
|
|
271
297
|
[_env, _nT],
|
|
272
298
|
[() => EnvironmentList, 0], 1
|
|
273
299
|
];
|
|
274
|
-
exports.
|
|
300
|
+
exports.ListEnvironmentsResponse$ = ListEnvironmentsResponse$;
|
|
301
|
+
const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
275
302
|
0,
|
|
276
303
|
[_ar],
|
|
277
304
|
[0], 1
|
|
278
305
|
];
|
|
279
|
-
exports.
|
|
306
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
307
|
+
const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
280
308
|
0,
|
|
281
309
|
[_t],
|
|
282
310
|
[128 | 0]
|
|
283
311
|
];
|
|
284
|
-
exports.
|
|
312
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
313
|
+
const TagResourceRequest$ = [3, n0, _TRR,
|
|
285
314
|
0,
|
|
286
315
|
[_ar, _t],
|
|
287
316
|
[0, 128 | 0], 2
|
|
288
317
|
];
|
|
289
|
-
exports.
|
|
318
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
319
|
+
const TagResourceResponse$ = [3, n0, _TRRa,
|
|
290
320
|
0,
|
|
291
321
|
[],
|
|
292
322
|
[]
|
|
293
323
|
];
|
|
294
|
-
exports.
|
|
324
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
325
|
+
const UntagResourceRequest$ = [3, n0, _URR,
|
|
295
326
|
0,
|
|
296
327
|
[_ar, _tK],
|
|
297
328
|
[0, 64 | 0], 2
|
|
298
329
|
];
|
|
299
|
-
exports.
|
|
330
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
331
|
+
const UntagResourceResponse$ = [3, n0, _URRn,
|
|
300
332
|
0,
|
|
301
333
|
[],
|
|
302
334
|
[]
|
|
303
335
|
];
|
|
304
|
-
exports.
|
|
336
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
337
|
+
const UpdateConnectionRequest$ = [3, n0, _UCR,
|
|
305
338
|
0,
|
|
306
339
|
[_i, _d, _b, _cT],
|
|
307
340
|
[0, 0, 0, [0, 4]], 1
|
|
308
341
|
];
|
|
309
|
-
exports.
|
|
342
|
+
exports.UpdateConnectionRequest$ = UpdateConnectionRequest$;
|
|
343
|
+
const UpdateConnectionResponse$ = [3, n0, _UCRp,
|
|
310
344
|
0,
|
|
311
345
|
[_co],
|
|
312
|
-
[[() =>
|
|
346
|
+
[[() => Connection$, 0]]
|
|
313
347
|
];
|
|
348
|
+
exports.UpdateConnectionResponse$ = UpdateConnectionResponse$;
|
|
314
349
|
var AttachPointDescriptorList = [1, n0, _APDL,
|
|
315
|
-
0, () =>
|
|
350
|
+
0, () => AttachPointDescriptor$
|
|
316
351
|
];
|
|
317
352
|
var BandwidthList = 64 | 0;
|
|
318
353
|
var ConnectionSummariesList = [1, n0, _CSL,
|
|
319
|
-
0, () =>
|
|
354
|
+
0, () => ConnectionSummary$
|
|
320
355
|
];
|
|
321
356
|
var EnvironmentList = [1, n0, _EL,
|
|
322
|
-
0, () =>
|
|
357
|
+
0, () => Environment$
|
|
323
358
|
];
|
|
324
359
|
var TagKeyList = 64 | 0;
|
|
325
360
|
var TagMap = 128 | 0;
|
|
326
|
-
|
|
361
|
+
const AttachPoint$ = [4, n0, _AP,
|
|
327
362
|
0,
|
|
328
363
|
[_dCG, _ar],
|
|
329
364
|
[0, 0]
|
|
330
365
|
];
|
|
331
|
-
exports.
|
|
366
|
+
exports.AttachPoint$ = AttachPoint$;
|
|
367
|
+
const Provider$ = [4, n0, _P,
|
|
332
368
|
0,
|
|
333
369
|
[_cSP, _lMP],
|
|
334
370
|
[0, 0]
|
|
335
371
|
];
|
|
336
|
-
exports.
|
|
372
|
+
exports.Provider$ = Provider$;
|
|
373
|
+
const RemoteAccountIdentifier$ = [4, n0, _RAI,
|
|
337
374
|
0,
|
|
338
375
|
[_i],
|
|
339
376
|
[0]
|
|
340
377
|
];
|
|
378
|
+
exports.RemoteAccountIdentifier$ = RemoteAccountIdentifier$;
|
|
341
379
|
exports.AcceptConnectionProposal$ = [9, n0, _ACP,
|
|
342
|
-
2, () =>
|
|
380
|
+
2, () => AcceptConnectionProposalRequest$, () => AcceptConnectionProposalResponse$
|
|
343
381
|
];
|
|
344
382
|
exports.CreateConnection$ = [9, n0, _CC,
|
|
345
|
-
2, () =>
|
|
383
|
+
2, () => CreateConnectionRequest$, () => CreateConnectionResponse$
|
|
346
384
|
];
|
|
347
385
|
exports.DeleteConnection$ = [9, n0, _DC,
|
|
348
|
-
2, () =>
|
|
386
|
+
2, () => DeleteConnectionRequest$, () => DeleteConnectionResponse$
|
|
349
387
|
];
|
|
350
388
|
exports.DescribeConnectionProposal$ = [9, n0, _DCP,
|
|
351
|
-
0, () =>
|
|
389
|
+
0, () => DescribeConnectionProposalRequest$, () => DescribeConnectionProposalResponse$
|
|
352
390
|
];
|
|
353
391
|
exports.GetConnection$ = [9, n0, _GC,
|
|
354
|
-
0, () =>
|
|
392
|
+
0, () => GetConnectionRequest$, () => GetConnectionResponse$
|
|
355
393
|
];
|
|
356
394
|
exports.GetEnvironment$ = [9, n0, _GE,
|
|
357
|
-
0, () =>
|
|
395
|
+
0, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
|
|
358
396
|
];
|
|
359
397
|
exports.ListAttachPoints$ = [9, n0, _LAP,
|
|
360
|
-
0, () =>
|
|
398
|
+
0, () => ListAttachPointsRequest$, () => ListAttachPointsResponse$
|
|
361
399
|
];
|
|
362
400
|
exports.ListConnections$ = [9, n0, _LC,
|
|
363
|
-
0, () =>
|
|
401
|
+
0, () => ListConnectionsRequest$, () => ListConnectionsResponse$
|
|
364
402
|
];
|
|
365
403
|
exports.ListEnvironments$ = [9, n0, _LE,
|
|
366
|
-
0, () =>
|
|
404
|
+
0, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
|
|
367
405
|
];
|
|
368
406
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
369
|
-
0, () =>
|
|
407
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
370
408
|
];
|
|
371
409
|
exports.TagResource$ = [9, n0, _TR,
|
|
372
|
-
0, () =>
|
|
410
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
373
411
|
];
|
|
374
412
|
exports.UntagResource$ = [9, n0, _UR,
|
|
375
|
-
0, () =>
|
|
413
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
376
414
|
];
|
|
377
415
|
exports.UpdateConnection$ = [9, n0, _UC,
|
|
378
|
-
2, () =>
|
|
416
|
+
2, () => UpdateConnectionRequest$, () => UpdateConnectionResponse$
|
|
379
417
|
];
|