@aws-sdk/client-interconnect 3.1067.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.
@@ -1,36 +1,32 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const client_1 = require("@aws-sdk/core/client");
8
- const client_2 = require("@smithy/core/client");
9
- const config_1 = require("@smithy/core/config");
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 = (0, config_1.resolveDefaultsModeConfig)(config);
16
- const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
17
- const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
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 ?? serde_1.calculateBodyLength,
19
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
24
20
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
25
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
26
- maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
27
- region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
28
- requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
29
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
30
- sha256: config?.sha256 ?? sha256_browser_1.Sha256,
31
- streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
32
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
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
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const client_1 = require("@aws-sdk/core/client");
7
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
- const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const client_2 = require("@smithy/core/client");
10
- const config_1 = require("@smithy/core/config");
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
- (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
17
- const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
18
- const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
19
- const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
- (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
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 ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
- bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
32
- credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
- maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
35
- region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
- requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
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
- (0, config_1.loadConfig)({
39
- ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
- default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
41
37
  }, config),
42
- sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
43
- streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
- userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
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
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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 = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
8
5
  return {
9
6
  ...browserDefaults,
10
7
  ...config,
11
8
  runtime: "react-native",
12
- sha256: config?.sha256 ?? sha256_js_1.Sha256,
9
+ sha256: config?.sha256 ?? Sha256,
13
10
  };
14
11
  };
15
12
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,42 +1,38 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const protocols_1 = require("@aws-sdk/core/protocols");
6
- const client_1 = require("@smithy/core/client");
7
- const protocols_2 = require("@smithy/core/protocols");
8
- const serde_1 = require("@smithy/core/serde");
9
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
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 ?? serde_1.fromBase64,
16
- base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
12
+ base64Decoder: config?.base64Decoder ?? fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? toBase64,
17
14
  disableHostPrefix: config?.disableHostPrefix ?? false,
18
- endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
15
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
19
16
  extensions: config?.extensions ?? [],
20
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultInterconnectHttpAuthSchemeProvider,
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 httpAuthSchemes_1.AwsSdkSigV4Signer(),
22
+ signer: new AwsSdkSigV4Signer(),
26
23
  },
27
24
  ],
28
- logger: config?.logger ?? new client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
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: schemas_0_1.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 ?? protocols_2.parseUrl,
38
- utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
39
- utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
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 schema_1 = require("@smithy/core/schema");
106
- const errors_1 = require("../models/errors");
107
- const InterconnectServiceException_1 = require("../models/InterconnectServiceException");
108
- const _s_registry = schema_1.TypeRegistry.for(_s);
109
- exports.InterconnectServiceException$ = [-3, _s, "InterconnectServiceException", 0, [], []];
110
- _s_registry.registerError(exports.InterconnectServiceException$, InterconnectServiceException_1.InterconnectServiceException);
111
- const n0_registry = schema_1.TypeRegistry.for(n0);
112
- exports.AccessDeniedException$ = [-3, n0, _ADE,
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
- n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
118
- exports.InterconnectClientException$ = [-3, n0, _ICE,
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
- n0_registry.registerError(exports.InterconnectClientException$, errors_1.InterconnectClientException);
124
- exports.InterconnectServerException$ = [-3, n0, _ISE,
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
- n0_registry.registerError(exports.InterconnectServerException$, errors_1.InterconnectServerException);
130
- exports.InterconnectValidationException$ = [-3, n0, _IVE,
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
- n0_registry.registerError(exports.InterconnectValidationException$, errors_1.InterconnectValidationException);
136
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
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
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
142
- exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
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
- n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
148
- exports.ThrottlingException$ = [-3, n0, _TE,
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
- n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
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
- exports.AcceptConnectionProposalRequest$ = [3, n0, _ACPR,
163
+ const AcceptConnectionProposalRequest$ = [3, n0, _ACPR,
160
164
  0,
161
165
  [_aP, _aK, _d, _t, _cT],
162
- [() => exports.AttachPoint$, [() => ActivationKey, 0], 0, 128 | 0, [0, 4]], 2
166
+ [() => AttachPoint$, [() => ActivationKey, 0], 0, 128 | 0, [0, 4]], 2
163
167
  ];
164
- exports.AcceptConnectionProposalResponse$ = [3, n0, _ACPRc,
168
+ exports.AcceptConnectionProposalRequest$ = AcceptConnectionProposalRequest$;
169
+ const AcceptConnectionProposalResponse$ = [3, n0, _ACPRc,
165
170
  0,
166
171
  [_co],
167
- [[() => exports.Connection$, 0]]
172
+ [[() => Connection$, 0]]
168
173
  ];
169
- exports.AttachPointDescriptor$ = [3, n0, _APD,
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.Bandwidths$ = [3, n0, _B,
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.Connection$ = [3, n0, _C,
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, () => exports.AttachPoint$, 0, () => exports.Provider$, 0, 0, 0, 0, 0, [() => ActivationKey, 0], 1, 128 | 0], 13
190
+ [0, 0, 0, 0, () => AttachPoint$, 0, () => Provider$, 0, 0, 0, 0, 0, [() => ActivationKey, 0], 1, 128 | 0], 13
183
191
  ];
184
- exports.ConnectionSummary$ = [3, n0, _CS,
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, () => exports.AttachPoint$, 0, () => exports.Provider$, 0, 0, 0, 0, 1], 11
196
+ [0, 0, 0, 0, () => AttachPoint$, 0, () => Provider$, 0, 0, 0, 0, 1], 11
188
197
  ];
189
- exports.CreateConnectionRequest$ = [3, n0, _CCR,
198
+ exports.ConnectionSummary$ = ConnectionSummary$;
199
+ const CreateConnectionRequest$ = [3, n0, _CCR,
190
200
  0,
191
201
  [_b, _aP, _eI, _d, _rA, _t, _cT],
192
- [0, () => exports.AttachPoint$, 0, 0, () => exports.RemoteAccountIdentifier$, 128 | 0, [0, 4]], 3
202
+ [0, () => AttachPoint$, 0, 0, () => RemoteAccountIdentifier$, 128 | 0, [0, 4]], 3
193
203
  ];
194
- exports.CreateConnectionResponse$ = [3, n0, _CCRr,
204
+ exports.CreateConnectionRequest$ = CreateConnectionRequest$;
205
+ const CreateConnectionResponse$ = [3, n0, _CCRr,
195
206
  0,
196
207
  [_co],
197
- [[() => exports.Connection$, 0]]
208
+ [[() => Connection$, 0]]
198
209
  ];
199
- exports.DeleteConnectionRequest$ = [3, n0, _DCR,
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.DeleteConnectionResponse$ = [3, n0, _DCRe,
216
+ exports.DeleteConnectionRequest$ = DeleteConnectionRequest$;
217
+ const DeleteConnectionResponse$ = [3, n0, _DCRe,
205
218
  0,
206
219
  [_co],
207
- [[() => exports.Connection$, 0]], 1
220
+ [[() => Connection$, 0]], 1
208
221
  ];
209
- exports.DescribeConnectionProposalRequest$ = [3, n0, _DCPR,
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.DescribeConnectionProposalResponse$ = [3, n0, _DCPRe,
228
+ exports.DescribeConnectionProposalRequest$ = DescribeConnectionProposalRequest$;
229
+ const DescribeConnectionProposalResponse$ = [3, n0, _DCPRe,
215
230
  0,
216
231
  [_b, _eI, _p, _l],
217
- [0, 0, () => exports.Provider$, 0], 4
232
+ [0, 0, () => Provider$, 0], 4
218
233
  ];
219
- exports.Environment$ = [3, n0, _E,
234
+ exports.DescribeConnectionProposalResponse$ = DescribeConnectionProposalResponse$;
235
+ const Environment$ = [3, n0, _E,
220
236
  0,
221
237
  [_p, _l, _eI, _st, _ba, _ty, _aPU, _rIT],
222
- [() => exports.Provider$, 0, 0, 0, () => exports.Bandwidths$, 0, 0, 0], 6
238
+ [() => Provider$, 0, 0, 0, () => Bandwidths$, 0, 0, 0], 6
223
239
  ];
224
- exports.GetConnectionRequest$ = [3, n0, _GCR,
240
+ exports.Environment$ = Environment$;
241
+ const GetConnectionRequest$ = [3, n0, _GCR,
225
242
  0,
226
243
  [_i],
227
244
  [0], 1
228
245
  ];
229
- exports.GetConnectionResponse$ = [3, n0, _GCRe,
246
+ exports.GetConnectionRequest$ = GetConnectionRequest$;
247
+ const GetConnectionResponse$ = [3, n0, _GCRe,
230
248
  0,
231
249
  [_co],
232
- [[() => exports.Connection$, 0]]
250
+ [[() => Connection$, 0]]
233
251
  ];
234
- exports.GetEnvironmentRequest$ = [3, n0, _GER,
252
+ exports.GetConnectionResponse$ = GetConnectionResponse$;
253
+ const GetEnvironmentRequest$ = [3, n0, _GER,
235
254
  0,
236
255
  [_id],
237
256
  [0], 1
238
257
  ];
239
- exports.GetEnvironmentResponse$ = [3, n0, _GERe,
258
+ exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
259
+ const GetEnvironmentResponse$ = [3, n0, _GERe,
240
260
  0,
241
261
  [_en],
242
- [() => exports.Environment$], 1
262
+ [() => Environment$], 1
243
263
  ];
244
- exports.ListAttachPointsRequest$ = [3, n0, _LAPR,
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.ListAttachPointsResponse$ = [3, n0, _LAPRi,
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.ListConnectionsRequest$ = [3, n0, _LCR,
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, () => exports.Provider$, () => exports.AttachPoint$]
280
+ [1, 0, 0, 0, () => Provider$, () => AttachPoint$]
258
281
  ];
259
- exports.ListConnectionsResponse$ = [3, n0, _LCRi,
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.ListEnvironmentsRequest$ = [3, n0, _LER,
288
+ exports.ListConnectionsResponse$ = ListConnectionsResponse$;
289
+ const ListEnvironmentsRequest$ = [3, n0, _LER,
265
290
  0,
266
291
  [_mR, _nT, _p, _l],
267
- [1, 0, () => exports.Provider$, 0]
292
+ [1, 0, () => Provider$, 0]
268
293
  ];
269
- exports.ListEnvironmentsResponse$ = [3, n0, _LERi,
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.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
300
+ exports.ListEnvironmentsResponse$ = ListEnvironmentsResponse$;
301
+ const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
275
302
  0,
276
303
  [_ar],
277
304
  [0], 1
278
305
  ];
279
- exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
306
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
307
+ const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
280
308
  0,
281
309
  [_t],
282
310
  [128 | 0]
283
311
  ];
284
- exports.TagResourceRequest$ = [3, n0, _TRR,
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.TagResourceResponse$ = [3, n0, _TRRa,
318
+ exports.TagResourceRequest$ = TagResourceRequest$;
319
+ const TagResourceResponse$ = [3, n0, _TRRa,
290
320
  0,
291
321
  [],
292
322
  []
293
323
  ];
294
- exports.UntagResourceRequest$ = [3, n0, _URR,
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.UntagResourceResponse$ = [3, n0, _URRn,
330
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
331
+ const UntagResourceResponse$ = [3, n0, _URRn,
300
332
  0,
301
333
  [],
302
334
  []
303
335
  ];
304
- exports.UpdateConnectionRequest$ = [3, n0, _UCR,
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.UpdateConnectionResponse$ = [3, n0, _UCRp,
342
+ exports.UpdateConnectionRequest$ = UpdateConnectionRequest$;
343
+ const UpdateConnectionResponse$ = [3, n0, _UCRp,
310
344
  0,
311
345
  [_co],
312
- [[() => exports.Connection$, 0]]
346
+ [[() => Connection$, 0]]
313
347
  ];
348
+ exports.UpdateConnectionResponse$ = UpdateConnectionResponse$;
314
349
  var AttachPointDescriptorList = [1, n0, _APDL,
315
- 0, () => exports.AttachPointDescriptor$
350
+ 0, () => AttachPointDescriptor$
316
351
  ];
317
352
  var BandwidthList = 64 | 0;
318
353
  var ConnectionSummariesList = [1, n0, _CSL,
319
- 0, () => exports.ConnectionSummary$
354
+ 0, () => ConnectionSummary$
320
355
  ];
321
356
  var EnvironmentList = [1, n0, _EL,
322
- 0, () => exports.Environment$
357
+ 0, () => Environment$
323
358
  ];
324
359
  var TagKeyList = 64 | 0;
325
360
  var TagMap = 128 | 0;
326
- exports.AttachPoint$ = [4, n0, _AP,
361
+ const AttachPoint$ = [4, n0, _AP,
327
362
  0,
328
363
  [_dCG, _ar],
329
364
  [0, 0]
330
365
  ];
331
- exports.Provider$ = [4, n0, _P,
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.RemoteAccountIdentifier$ = [4, n0, _RAI,
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, () => exports.AcceptConnectionProposalRequest$, () => exports.AcceptConnectionProposalResponse$
380
+ 2, () => AcceptConnectionProposalRequest$, () => AcceptConnectionProposalResponse$
343
381
  ];
344
382
  exports.CreateConnection$ = [9, n0, _CC,
345
- 2, () => exports.CreateConnectionRequest$, () => exports.CreateConnectionResponse$
383
+ 2, () => CreateConnectionRequest$, () => CreateConnectionResponse$
346
384
  ];
347
385
  exports.DeleteConnection$ = [9, n0, _DC,
348
- 2, () => exports.DeleteConnectionRequest$, () => exports.DeleteConnectionResponse$
386
+ 2, () => DeleteConnectionRequest$, () => DeleteConnectionResponse$
349
387
  ];
350
388
  exports.DescribeConnectionProposal$ = [9, n0, _DCP,
351
- 0, () => exports.DescribeConnectionProposalRequest$, () => exports.DescribeConnectionProposalResponse$
389
+ 0, () => DescribeConnectionProposalRequest$, () => DescribeConnectionProposalResponse$
352
390
  ];
353
391
  exports.GetConnection$ = [9, n0, _GC,
354
- 0, () => exports.GetConnectionRequest$, () => exports.GetConnectionResponse$
392
+ 0, () => GetConnectionRequest$, () => GetConnectionResponse$
355
393
  ];
356
394
  exports.GetEnvironment$ = [9, n0, _GE,
357
- 0, () => exports.GetEnvironmentRequest$, () => exports.GetEnvironmentResponse$
395
+ 0, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
358
396
  ];
359
397
  exports.ListAttachPoints$ = [9, n0, _LAP,
360
- 0, () => exports.ListAttachPointsRequest$, () => exports.ListAttachPointsResponse$
398
+ 0, () => ListAttachPointsRequest$, () => ListAttachPointsResponse$
361
399
  ];
362
400
  exports.ListConnections$ = [9, n0, _LC,
363
- 0, () => exports.ListConnectionsRequest$, () => exports.ListConnectionsResponse$
401
+ 0, () => ListConnectionsRequest$, () => ListConnectionsResponse$
364
402
  ];
365
403
  exports.ListEnvironments$ = [9, n0, _LE,
366
- 0, () => exports.ListEnvironmentsRequest$, () => exports.ListEnvironmentsResponse$
404
+ 0, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
367
405
  ];
368
406
  exports.ListTagsForResource$ = [9, n0, _LTFR,
369
- 0, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
407
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
370
408
  ];
371
409
  exports.TagResource$ = [9, n0, _TR,
372
- 0, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
410
+ 0, () => TagResourceRequest$, () => TagResourceResponse$
373
411
  ];
374
412
  exports.UntagResource$ = [9, n0, _UR,
375
- 0, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
413
+ 0, () => UntagResourceRequest$, () => UntagResourceResponse$
376
414
  ];
377
415
  exports.UpdateConnection$ = [9, n0, _UC,
378
- 2, () => exports.UpdateConnectionRequest$, () => exports.UpdateConnectionResponse$
416
+ 2, () => UpdateConnectionRequest$, () => UpdateConnectionResponse$
379
417
  ];