@aws-sdk/client-oam 3.1068.0 → 3.1070.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,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 { AwsRestJsonProtocol } = 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 { defaultOAMHttpAuthSchemeProvider } = 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-06-10",
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.defaultOAMHttpAuthSchemeProvider,
17
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultOAMHttpAuthSchemeProvider,
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.AwsRestJsonProtocol,
25
+ logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
30
27
  protocolSettings: config?.protocolSettings ?? {
31
28
  defaultNamespace: "com.amazonaws.oam",
32
- errorTypeRegistries: schemas_0_1.errorTypeRegistries,
29
+ errorTypeRegistries,
33
30
  version: "2022-06-10",
34
31
  serviceTarget: "oamservice",
35
32
  },
36
33
  serviceId: config?.serviceId ?? "OAM",
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.DeleteSink$ = exports.DeleteLink$ = exports.CreateSink$ = exports.CreateLink$ = exports.UpdateLinkOutput$ = exports.UpdateLinkInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.PutSinkPolicyOutput$ = exports.PutSinkPolicyInput$ = exports.MetricConfiguration$ = exports.LogGroupConfiguration$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListSinksOutput$ = exports.ListSinksItem$ = exports.ListSinksInput$ = exports.ListLinksOutput$ = exports.ListLinksItem$ = exports.ListLinksInput$ = exports.ListAttachedLinksOutput$ = exports.ListAttachedLinksItem$ = exports.ListAttachedLinksInput$ = exports.LinkConfiguration$ = exports.GetSinkPolicyOutput$ = exports.GetSinkPolicyInput$ = exports.GetSinkOutput$ = exports.GetSinkInput$ = exports.GetLinkOutput$ = exports.GetLinkInput$ = exports.DeleteSinkOutput$ = exports.DeleteSinkInput$ = exports.DeleteLinkOutput$ = exports.DeleteLinkInput$ = exports.CreateSinkOutput$ = exports.CreateSinkInput$ = exports.CreateLinkOutput$ = exports.CreateLinkInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyTagsException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.MissingRequiredParameterException$ = exports.InvalidParameterException$ = exports.InternalServiceFault$ = exports.ConflictException$ = exports.OAMServiceException$ = void 0;
4
- exports.UpdateLink$ = exports.UntagResource$ = exports.TagResource$ = exports.PutSinkPolicy$ = exports.ListTagsForResource$ = exports.ListSinks$ = exports.ListLinks$ = exports.ListAttachedLinks$ = exports.GetSinkPolicy$ = exports.GetSink$ = exports.GetLink$ = void 0;
5
1
  const _A = "Arn";
6
2
  const _CE = "ConflictException";
7
3
  const _CL = "CreateLink";
@@ -98,253 +94,298 @@ const _se = "server";
98
94
  const _tK = "tagKeys";
99
95
  const _xaE = "x-amzn-ErrorType";
100
96
  const n0 = "com.amazonaws.oam";
101
- const schema_1 = require("@smithy/core/schema");
102
- const errors_1 = require("../models/errors");
103
- const OAMServiceException_1 = require("../models/OAMServiceException");
104
- const _s_registry = schema_1.TypeRegistry.for(_s);
105
- exports.OAMServiceException$ = [-3, _s, "OAMServiceException", 0, [], []];
106
- _s_registry.registerError(exports.OAMServiceException$, OAMServiceException_1.OAMServiceException);
107
- const n0_registry = schema_1.TypeRegistry.for(n0);
108
- exports.ConflictException$ = [-3, n0, _CE,
97
+ const { TypeRegistry } = require("@smithy/core/schema");
98
+ const { ConflictException, InternalServiceFault, InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyTagsException, ValidationException } = require("../models/errors");
99
+ const { OAMServiceException } = require("../models/OAMServiceException");
100
+ const _s_registry = TypeRegistry.for(_s);
101
+ const OAMServiceException$ = [-3, _s, "OAMServiceException", 0, [], []];
102
+ exports.OAMServiceException$ = OAMServiceException$;
103
+ _s_registry.registerError(OAMServiceException$, OAMServiceException);
104
+ const n0_registry = TypeRegistry.for(n0);
105
+ const ConflictException$ = [-3, n0, _CE,
109
106
  { [_e]: _c, [_hE]: 409 },
110
107
  [_M, _aET],
111
108
  [0, [0, { [_hH]: _xaE }]]
112
109
  ];
113
- n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
114
- exports.InternalServiceFault$ = [-3, n0, _ISF,
110
+ exports.ConflictException$ = ConflictException$;
111
+ n0_registry.registerError(ConflictException$, ConflictException);
112
+ const InternalServiceFault$ = [-3, n0, _ISF,
115
113
  { [_e]: _se, [_hE]: 500 },
116
114
  [_M, _aET],
117
115
  [0, [0, { [_hH]: _xaE }]]
118
116
  ];
119
- n0_registry.registerError(exports.InternalServiceFault$, errors_1.InternalServiceFault);
120
- exports.InvalidParameterException$ = [-3, n0, _IPE,
117
+ exports.InternalServiceFault$ = InternalServiceFault$;
118
+ n0_registry.registerError(InternalServiceFault$, InternalServiceFault);
119
+ const InvalidParameterException$ = [-3, n0, _IPE,
121
120
  { [_e]: _c, [_hE]: 400 },
122
121
  [_m, _aET],
123
122
  [0, [0, { [_hH]: _xaE }]]
124
123
  ];
125
- n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
126
- exports.MissingRequiredParameterException$ = [-3, n0, _MRPE,
124
+ exports.InvalidParameterException$ = InvalidParameterException$;
125
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
126
+ const MissingRequiredParameterException$ = [-3, n0, _MRPE,
127
127
  { [_e]: _c, [_hE]: 400 },
128
128
  [_m, _aET],
129
129
  [0, [0, { [_hH]: _xaE }]]
130
130
  ];
131
- n0_registry.registerError(exports.MissingRequiredParameterException$, errors_1.MissingRequiredParameterException);
132
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
131
+ exports.MissingRequiredParameterException$ = MissingRequiredParameterException$;
132
+ n0_registry.registerError(MissingRequiredParameterException$, MissingRequiredParameterException);
133
+ const ResourceNotFoundException$ = [-3, n0, _RNFE,
133
134
  { [_e]: _c, [_hE]: 404 },
134
135
  [_M, _aET],
135
136
  [0, [0, { [_hH]: _xaE }]]
136
137
  ];
137
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
138
- exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
138
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
139
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
140
+ const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
139
141
  { [_e]: _c, [_hE]: 429 },
140
142
  [_M, _aET],
141
143
  [0, [0, { [_hH]: _xaE }]]
142
144
  ];
143
- n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
144
- exports.TooManyTagsException$ = [-3, n0, _TMTE,
145
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
146
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
147
+ const TooManyTagsException$ = [-3, n0, _TMTE,
145
148
  { [_e]: _c, [_hE]: 400 },
146
149
  [_M],
147
150
  [0]
148
151
  ];
149
- n0_registry.registerError(exports.TooManyTagsException$, errors_1.TooManyTagsException);
150
- exports.ValidationException$ = [-3, n0, _VE,
152
+ exports.TooManyTagsException$ = TooManyTagsException$;
153
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
154
+ const ValidationException$ = [-3, n0, _VE,
151
155
  { [_e]: _c, [_hE]: 400 },
152
156
  [_M],
153
157
  [0]
154
158
  ];
155
- n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
159
+ exports.ValidationException$ = ValidationException$;
160
+ n0_registry.registerError(ValidationException$, ValidationException);
156
161
  exports.errorTypeRegistries = [
157
162
  _s_registry,
158
163
  n0_registry,
159
164
  ];
160
- exports.CreateLinkInput$ = [3, n0, _CLI,
165
+ const CreateLinkInput$ = [3, n0, _CLI,
161
166
  0,
162
167
  [_LT, _RT, _SI, _T, _LC],
163
- [0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$], 3
168
+ [0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$], 3
164
169
  ];
165
- exports.CreateLinkOutput$ = [3, n0, _CLO,
170
+ exports.CreateLinkInput$ = CreateLinkInput$;
171
+ const CreateLinkOutput$ = [3, n0, _CLO,
166
172
  0,
167
173
  [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
168
- [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$]
174
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
169
175
  ];
170
- exports.CreateSinkInput$ = [3, n0, _CSI,
176
+ exports.CreateLinkOutput$ = CreateLinkOutput$;
177
+ const CreateSinkInput$ = [3, n0, _CSI,
171
178
  0,
172
179
  [_N, _T],
173
180
  [0, 128 | 0], 1
174
181
  ];
175
- exports.CreateSinkOutput$ = [3, n0, _CSO,
182
+ exports.CreateSinkInput$ = CreateSinkInput$;
183
+ const CreateSinkOutput$ = [3, n0, _CSO,
176
184
  0,
177
185
  [_A, _I, _N, _T],
178
186
  [0, 0, 0, 128 | 0]
179
187
  ];
180
- exports.DeleteLinkInput$ = [3, n0, _DLI,
188
+ exports.CreateSinkOutput$ = CreateSinkOutput$;
189
+ const DeleteLinkInput$ = [3, n0, _DLI,
181
190
  0,
182
191
  [_Id],
183
192
  [0], 1
184
193
  ];
185
- exports.DeleteLinkOutput$ = [3, n0, _DLO,
194
+ exports.DeleteLinkInput$ = DeleteLinkInput$;
195
+ const DeleteLinkOutput$ = [3, n0, _DLO,
186
196
  0,
187
197
  [],
188
198
  []
189
199
  ];
190
- exports.DeleteSinkInput$ = [3, n0, _DSI,
200
+ exports.DeleteLinkOutput$ = DeleteLinkOutput$;
201
+ const DeleteSinkInput$ = [3, n0, _DSI,
191
202
  0,
192
203
  [_Id],
193
204
  [0], 1
194
205
  ];
195
- exports.DeleteSinkOutput$ = [3, n0, _DSO,
206
+ exports.DeleteSinkInput$ = DeleteSinkInput$;
207
+ const DeleteSinkOutput$ = [3, n0, _DSO,
196
208
  0,
197
209
  [],
198
210
  []
199
211
  ];
200
- exports.GetLinkInput$ = [3, n0, _GLI,
212
+ exports.DeleteSinkOutput$ = DeleteSinkOutput$;
213
+ const GetLinkInput$ = [3, n0, _GLI,
201
214
  0,
202
215
  [_Id, _IT],
203
216
  [0, 2], 1
204
217
  ];
205
- exports.GetLinkOutput$ = [3, n0, _GLO,
218
+ exports.GetLinkInput$ = GetLinkInput$;
219
+ const GetLinkOutput$ = [3, n0, _GLO,
206
220
  0,
207
221
  [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
208
- [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$]
222
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
209
223
  ];
210
- exports.GetSinkInput$ = [3, n0, _GSI,
224
+ exports.GetLinkOutput$ = GetLinkOutput$;
225
+ const GetSinkInput$ = [3, n0, _GSI,
211
226
  0,
212
227
  [_Id, _IT],
213
228
  [0, 2], 1
214
229
  ];
215
- exports.GetSinkOutput$ = [3, n0, _GSO,
230
+ exports.GetSinkInput$ = GetSinkInput$;
231
+ const GetSinkOutput$ = [3, n0, _GSO,
216
232
  0,
217
233
  [_A, _I, _N, _T],
218
234
  [0, 0, 0, 128 | 0]
219
235
  ];
220
- exports.GetSinkPolicyInput$ = [3, n0, _GSPI,
236
+ exports.GetSinkOutput$ = GetSinkOutput$;
237
+ const GetSinkPolicyInput$ = [3, n0, _GSPI,
221
238
  0,
222
239
  [_SI],
223
240
  [0], 1
224
241
  ];
225
- exports.GetSinkPolicyOutput$ = [3, n0, _GSPO,
242
+ exports.GetSinkPolicyInput$ = GetSinkPolicyInput$;
243
+ const GetSinkPolicyOutput$ = [3, n0, _GSPO,
226
244
  0,
227
245
  [_SA, _SIi, _P],
228
246
  [0, 0, 0]
229
247
  ];
230
- exports.LinkConfiguration$ = [3, n0, _LC,
248
+ exports.GetSinkPolicyOutput$ = GetSinkPolicyOutput$;
249
+ const LinkConfiguration$ = [3, n0, _LC,
231
250
  0,
232
251
  [_LGC, _MC],
233
- [() => exports.LogGroupConfiguration$, () => exports.MetricConfiguration$]
252
+ [() => LogGroupConfiguration$, () => MetricConfiguration$]
234
253
  ];
235
- exports.ListAttachedLinksInput$ = [3, n0, _LALI,
254
+ exports.LinkConfiguration$ = LinkConfiguration$;
255
+ const ListAttachedLinksInput$ = [3, n0, _LALI,
236
256
  0,
237
257
  [_SI, _MR, _NT],
238
258
  [0, 1, 0], 1
239
259
  ];
240
- exports.ListAttachedLinksItem$ = [3, n0, _LALIi,
260
+ exports.ListAttachedLinksInput$ = ListAttachedLinksInput$;
261
+ const ListAttachedLinksItem$ = [3, n0, _LALIi,
241
262
  0,
242
263
  [_L, _LA, _RT],
243
264
  [0, 0, 64 | 0]
244
265
  ];
245
- exports.ListAttachedLinksOutput$ = [3, n0, _LALO,
266
+ exports.ListAttachedLinksItem$ = ListAttachedLinksItem$;
267
+ const ListAttachedLinksOutput$ = [3, n0, _LALO,
246
268
  0,
247
269
  [_It, _NT],
248
270
  [() => ListAttachedLinksItems, 0], 1
249
271
  ];
250
- exports.ListLinksInput$ = [3, n0, _LLI,
272
+ exports.ListAttachedLinksOutput$ = ListAttachedLinksOutput$;
273
+ const ListLinksInput$ = [3, n0, _LLI,
251
274
  0,
252
275
  [_MR, _NT],
253
276
  [1, 0]
254
277
  ];
255
- exports.ListLinksItem$ = [3, n0, _LLIi,
278
+ exports.ListLinksInput$ = ListLinksInput$;
279
+ const ListLinksItem$ = [3, n0, _LLIi,
256
280
  0,
257
281
  [_A, _I, _L, _RT, _SA],
258
282
  [0, 0, 0, 64 | 0, 0]
259
283
  ];
260
- exports.ListLinksOutput$ = [3, n0, _LLO,
284
+ exports.ListLinksItem$ = ListLinksItem$;
285
+ const ListLinksOutput$ = [3, n0, _LLO,
261
286
  0,
262
287
  [_It, _NT],
263
288
  [() => ListLinksItems, 0], 1
264
289
  ];
265
- exports.ListSinksInput$ = [3, n0, _LSI,
290
+ exports.ListLinksOutput$ = ListLinksOutput$;
291
+ const ListSinksInput$ = [3, n0, _LSI,
266
292
  0,
267
293
  [_MR, _NT],
268
294
  [1, 0]
269
295
  ];
270
- exports.ListSinksItem$ = [3, n0, _LSIi,
296
+ exports.ListSinksInput$ = ListSinksInput$;
297
+ const ListSinksItem$ = [3, n0, _LSIi,
271
298
  0,
272
299
  [_A, _I, _N],
273
300
  [0, 0, 0]
274
301
  ];
275
- exports.ListSinksOutput$ = [3, n0, _LSO,
302
+ exports.ListSinksItem$ = ListSinksItem$;
303
+ const ListSinksOutput$ = [3, n0, _LSO,
276
304
  0,
277
305
  [_It, _NT],
278
306
  [() => ListSinksItems, 0], 1
279
307
  ];
280
- exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
308
+ exports.ListSinksOutput$ = ListSinksOutput$;
309
+ const ListTagsForResourceInput$ = [3, n0, _LTFRI,
281
310
  0,
282
311
  [_RA],
283
312
  [[0, 1]], 1
284
313
  ];
285
- exports.ListTagsForResourceOutput$ = [3, n0, _LTFRO,
314
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
315
+ const ListTagsForResourceOutput$ = [3, n0, _LTFRO,
286
316
  0,
287
317
  [_T],
288
318
  [128 | 0]
289
319
  ];
290
- exports.LogGroupConfiguration$ = [3, n0, _LGC,
320
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
321
+ const LogGroupConfiguration$ = [3, n0, _LGC,
291
322
  0,
292
323
  [_F],
293
324
  [0], 1
294
325
  ];
295
- exports.MetricConfiguration$ = [3, n0, _MC,
326
+ exports.LogGroupConfiguration$ = LogGroupConfiguration$;
327
+ const MetricConfiguration$ = [3, n0, _MC,
296
328
  0,
297
329
  [_F],
298
330
  [0], 1
299
331
  ];
300
- exports.PutSinkPolicyInput$ = [3, n0, _PSPI,
332
+ exports.MetricConfiguration$ = MetricConfiguration$;
333
+ const PutSinkPolicyInput$ = [3, n0, _PSPI,
301
334
  0,
302
335
  [_SI, _P],
303
336
  [0, 0], 2
304
337
  ];
305
- exports.PutSinkPolicyOutput$ = [3, n0, _PSPO,
338
+ exports.PutSinkPolicyInput$ = PutSinkPolicyInput$;
339
+ const PutSinkPolicyOutput$ = [3, n0, _PSPO,
306
340
  0,
307
341
  [_SA, _SIi, _P],
308
342
  [0, 0, 0]
309
343
  ];
310
- exports.TagResourceInput$ = [3, n0, _TRI,
344
+ exports.PutSinkPolicyOutput$ = PutSinkPolicyOutput$;
345
+ const TagResourceInput$ = [3, n0, _TRI,
311
346
  0,
312
347
  [_RA, _T],
313
348
  [[0, 1], 128 | 0], 2
314
349
  ];
315
- exports.TagResourceOutput$ = [3, n0, _TRO,
350
+ exports.TagResourceInput$ = TagResourceInput$;
351
+ const TagResourceOutput$ = [3, n0, _TRO,
316
352
  0,
317
353
  [],
318
354
  []
319
355
  ];
320
- exports.UntagResourceInput$ = [3, n0, _URI,
356
+ exports.TagResourceOutput$ = TagResourceOutput$;
357
+ const UntagResourceInput$ = [3, n0, _URI,
321
358
  0,
322
359
  [_RA, _TK],
323
360
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
324
361
  ];
325
- exports.UntagResourceOutput$ = [3, n0, _URO,
362
+ exports.UntagResourceInput$ = UntagResourceInput$;
363
+ const UntagResourceOutput$ = [3, n0, _URO,
326
364
  0,
327
365
  [],
328
366
  []
329
367
  ];
330
- exports.UpdateLinkInput$ = [3, n0, _ULI,
368
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
369
+ const UpdateLinkInput$ = [3, n0, _ULI,
331
370
  0,
332
371
  [_Id, _RT, _LC, _IT],
333
- [0, 64 | 0, () => exports.LinkConfiguration$, 2], 2
372
+ [0, 64 | 0, () => LinkConfiguration$, 2], 2
334
373
  ];
335
- exports.UpdateLinkOutput$ = [3, n0, _ULO,
374
+ exports.UpdateLinkInput$ = UpdateLinkInput$;
375
+ const UpdateLinkOutput$ = [3, n0, _ULO,
336
376
  0,
337
377
  [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
338
- [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => exports.LinkConfiguration$]
378
+ [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
339
379
  ];
380
+ exports.UpdateLinkOutput$ = UpdateLinkOutput$;
340
381
  var ListAttachedLinksItems = [1, n0, _LALIis,
341
- 0, () => exports.ListAttachedLinksItem$
382
+ 0, () => ListAttachedLinksItem$
342
383
  ];
343
384
  var ListLinksItems = [1, n0, _LLIis,
344
- 0, () => exports.ListLinksItem$
385
+ 0, () => ListLinksItem$
345
386
  ];
346
387
  var ListSinksItems = [1, n0, _LSIis,
347
- 0, () => exports.ListSinksItem$
388
+ 0, () => ListSinksItem$
348
389
  ];
349
390
  var ResourceTypesInput = 64 | 0;
350
391
  var ResourceTypesOutput = 64 | 0;
@@ -352,47 +393,47 @@ var TagKeys = 64 | 0;
352
393
  var TagMapInput = 128 | 0;
353
394
  var TagMapOutput = 128 | 0;
354
395
  exports.CreateLink$ = [9, n0, _CL,
355
- { [_h]: ["POST", "/CreateLink", 200] }, () => exports.CreateLinkInput$, () => exports.CreateLinkOutput$
396
+ { [_h]: ["POST", "/CreateLink", 200] }, () => CreateLinkInput$, () => CreateLinkOutput$
356
397
  ];
357
398
  exports.CreateSink$ = [9, n0, _CS,
358
- { [_h]: ["POST", "/CreateSink", 200] }, () => exports.CreateSinkInput$, () => exports.CreateSinkOutput$
399
+ { [_h]: ["POST", "/CreateSink", 200] }, () => CreateSinkInput$, () => CreateSinkOutput$
359
400
  ];
360
401
  exports.DeleteLink$ = [9, n0, _DL,
361
- { [_h]: ["POST", "/DeleteLink", 200] }, () => exports.DeleteLinkInput$, () => exports.DeleteLinkOutput$
402
+ { [_h]: ["POST", "/DeleteLink", 200] }, () => DeleteLinkInput$, () => DeleteLinkOutput$
362
403
  ];
363
404
  exports.DeleteSink$ = [9, n0, _DS,
364
- { [_h]: ["POST", "/DeleteSink", 200] }, () => exports.DeleteSinkInput$, () => exports.DeleteSinkOutput$
405
+ { [_h]: ["POST", "/DeleteSink", 200] }, () => DeleteSinkInput$, () => DeleteSinkOutput$
365
406
  ];
366
407
  exports.GetLink$ = [9, n0, _GL,
367
- { [_h]: ["POST", "/GetLink", 200] }, () => exports.GetLinkInput$, () => exports.GetLinkOutput$
408
+ { [_h]: ["POST", "/GetLink", 200] }, () => GetLinkInput$, () => GetLinkOutput$
368
409
  ];
369
410
  exports.GetSink$ = [9, n0, _GS,
370
- { [_h]: ["POST", "/GetSink", 200] }, () => exports.GetSinkInput$, () => exports.GetSinkOutput$
411
+ { [_h]: ["POST", "/GetSink", 200] }, () => GetSinkInput$, () => GetSinkOutput$
371
412
  ];
372
413
  exports.GetSinkPolicy$ = [9, n0, _GSP,
373
- { [_h]: ["POST", "/GetSinkPolicy", 200] }, () => exports.GetSinkPolicyInput$, () => exports.GetSinkPolicyOutput$
414
+ { [_h]: ["POST", "/GetSinkPolicy", 200] }, () => GetSinkPolicyInput$, () => GetSinkPolicyOutput$
374
415
  ];
375
416
  exports.ListAttachedLinks$ = [9, n0, _LAL,
376
- { [_h]: ["POST", "/ListAttachedLinks", 200] }, () => exports.ListAttachedLinksInput$, () => exports.ListAttachedLinksOutput$
417
+ { [_h]: ["POST", "/ListAttachedLinks", 200] }, () => ListAttachedLinksInput$, () => ListAttachedLinksOutput$
377
418
  ];
378
419
  exports.ListLinks$ = [9, n0, _LL,
379
- { [_h]: ["POST", "/ListLinks", 200] }, () => exports.ListLinksInput$, () => exports.ListLinksOutput$
420
+ { [_h]: ["POST", "/ListLinks", 200] }, () => ListLinksInput$, () => ListLinksOutput$
380
421
  ];
381
422
  exports.ListSinks$ = [9, n0, _LS,
382
- { [_h]: ["POST", "/ListSinks", 200] }, () => exports.ListSinksInput$, () => exports.ListSinksOutput$
423
+ { [_h]: ["POST", "/ListSinks", 200] }, () => ListSinksInput$, () => ListSinksOutput$
383
424
  ];
384
425
  exports.ListTagsForResource$ = [9, n0, _LTFR,
385
- { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceOutput$
426
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
386
427
  ];
387
428
  exports.PutSinkPolicy$ = [9, n0, _PSP,
388
- { [_h]: ["POST", "/PutSinkPolicy", 200] }, () => exports.PutSinkPolicyInput$, () => exports.PutSinkPolicyOutput$
429
+ { [_h]: ["POST", "/PutSinkPolicy", 200] }, () => PutSinkPolicyInput$, () => PutSinkPolicyOutput$
389
430
  ];
390
431
  exports.TagResource$ = [9, n0, _TR,
391
- { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceInput$, () => exports.TagResourceOutput$
432
+ { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
392
433
  ];
393
434
  exports.UntagResource$ = [9, n0, _UR,
394
- { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => exports.UntagResourceInput$, () => exports.UntagResourceOutput$
435
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
395
436
  ];
396
437
  exports.UpdateLink$ = [9, n0, _UL,
397
- { [_h]: ["POST", "/UpdateLink", 200] }, () => exports.UpdateLinkInput$, () => exports.UpdateLinkOutput$
438
+ { [_h]: ["POST", "/UpdateLink", 200] }, () => UpdateLinkInput$, () => UpdateLinkOutput$
398
439
  ];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-oam",
3
3
  "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
- "version": "3.1068.0",
4
+ "version": "3.1070.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo oam",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
16
  },
17
17
  "main": "./dist-cjs/index.js",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.20",
25
- "@aws-sdk/credential-provider-node": "^3.972.55",
26
- "@aws-sdk/types": "^3.973.12",
24
+ "@aws-sdk/core": "^3.974.21",
25
+ "@aws-sdk/credential-provider-node": "^3.972.56",
26
+ "@aws-sdk/types": "^3.973.13",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",
29
29
  "@smithy/node-http-handler": "^4.7.6",