@aws-sdk/client-appconfigdata 3.901.0 → 3.907.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +402 -562
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -1,592 +1,432 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AppConfigData: () => AppConfigData,
25
- AppConfigDataClient: () => AppConfigDataClient,
26
- AppConfigDataServiceException: () => AppConfigDataServiceException,
27
- BadRequestDetails: () => BadRequestDetails,
28
- BadRequestException: () => BadRequestException,
29
- BadRequestReason: () => BadRequestReason,
30
- GetLatestConfigurationCommand: () => GetLatestConfigurationCommand,
31
- GetLatestConfigurationResponseFilterSensitiveLog: () => GetLatestConfigurationResponseFilterSensitiveLog,
32
- InternalServerException: () => InternalServerException,
33
- InvalidParameterProblem: () => InvalidParameterProblem,
34
- ResourceNotFoundException: () => ResourceNotFoundException,
35
- ResourceType: () => ResourceType,
36
- StartConfigurationSessionCommand: () => StartConfigurationSessionCommand,
37
- ThrottlingException: () => ThrottlingException,
38
- __Client: () => import_smithy_client.Client
39
- });
40
- module.exports = __toCommonJS(index_exports);
1
+ 'use strict';
41
2
 
42
- // src/AppConfigDataClient.ts
43
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
44
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
45
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
46
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
47
- var import_config_resolver = require("@smithy/config-resolver");
48
- var import_core = require("@smithy/core");
49
- var import_middleware_content_length = require("@smithy/middleware-content-length");
50
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
51
- var import_middleware_retry = require("@smithy/middleware-retry");
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
52
19
 
53
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
54
-
55
- // src/endpoint/EndpointParameters.ts
56
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
57
- return Object.assign(options, {
58
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
59
- useFipsEndpoint: options.useFipsEndpoint ?? false,
60
- defaultSigningName: "appconfig"
61
- });
62
- }, "resolveClientEndpointParameters");
63
- var commonParams = {
64
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
65
- Endpoint: { type: "builtInParams", name: "endpoint" },
66
- Region: { type: "builtInParams", name: "region" },
67
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "appconfig",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
32
  };
69
33
 
70
- // src/AppConfigDataClient.ts
71
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
72
72
 
73
- // src/runtimeExtensions.ts
74
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
75
- var import_protocol_http = require("@smithy/protocol-http");
76
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
77
78
 
78
- // src/auth/httpAuthExtensionConfiguration.ts
79
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
80
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
81
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
82
- let _credentials = runtimeConfig.credentials;
83
- return {
84
- setHttpAuthScheme(httpAuthScheme) {
85
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
86
- if (index === -1) {
87
- _httpAuthSchemes.push(httpAuthScheme);
88
- } else {
89
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
90
- }
91
- },
92
- httpAuthSchemes() {
93
- return _httpAuthSchemes;
94
- },
95
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
96
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
97
- },
98
- httpAuthSchemeProvider() {
99
- return _httpAuthSchemeProvider;
100
- },
101
- setCredentials(credentials) {
102
- _credentials = credentials;
103
- },
104
- credentials() {
105
- return _credentials;
79
+ class AppConfigDataClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultAppConfigDataHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
106
107
  }
107
- };
108
- }, "getHttpAuthExtensionConfiguration");
109
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
110
- return {
111
- httpAuthSchemes: config.httpAuthSchemes(),
112
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
113
- credentials: config.credentials()
114
- };
115
- }, "resolveHttpAuthRuntimeConfig");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
116
112
 
117
- // src/runtimeExtensions.ts
118
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
119
- const extensionConfiguration = Object.assign(
120
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
121
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
122
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
123
- getHttpAuthExtensionConfiguration(runtimeConfig)
124
- );
125
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
126
- return Object.assign(
127
- runtimeConfig,
128
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
129
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
130
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
131
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
132
- );
133
- }, "resolveRuntimeExtensions");
113
+ class AppConfigDataServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, AppConfigDataServiceException.prototype);
117
+ }
118
+ }
134
119
 
135
- // src/AppConfigDataClient.ts
136
- var AppConfigDataClient = class extends import_smithy_client.Client {
137
- static {
138
- __name(this, "AppConfigDataClient");
139
- }
140
- /**
141
- * The resolved configuration of AppConfigDataClient class. This is resolved and normalized from the {@link AppConfigDataClientConfig | constructor configuration interface}.
142
- */
143
- config;
144
- constructor(...[configuration]) {
145
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
146
- super(_config_0);
147
- this.initConfig = _config_0;
148
- const _config_1 = resolveClientEndpointParameters(_config_0);
149
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
150
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
151
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
152
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
153
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
154
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
155
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
156
- this.config = _config_8;
157
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
158
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
159
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
160
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
161
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
162
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
163
- this.middlewareStack.use(
164
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
165
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultAppConfigDataHttpAuthSchemeParametersProvider,
166
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
167
- "aws.auth#sigv4": config.credentials
168
- }), "identityProviderConfigProvider")
169
- })
170
- );
171
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
172
- }
173
- /**
174
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
175
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
176
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
177
- */
178
- destroy() {
179
- super.destroy();
180
- }
120
+ const InvalidParameterProblem = {
121
+ CORRUPTED: "Corrupted",
122
+ EXPIRED: "Expired",
123
+ POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied",
181
124
  };
182
-
183
- // src/AppConfigData.ts
184
-
185
-
186
- // src/commands/GetLatestConfigurationCommand.ts
187
-
188
- var import_middleware_serde = require("@smithy/middleware-serde");
189
-
190
-
191
- // src/models/models_0.ts
192
-
193
-
194
- // src/models/AppConfigDataServiceException.ts
195
-
196
- var AppConfigDataServiceException = class _AppConfigDataServiceException extends import_smithy_client.ServiceException {
197
- static {
198
- __name(this, "AppConfigDataServiceException");
199
- }
200
- /**
201
- * @internal
202
- */
203
- constructor(options) {
204
- super(options);
205
- Object.setPrototypeOf(this, _AppConfigDataServiceException.prototype);
206
- }
125
+ exports.BadRequestDetails = void 0;
126
+ (function (BadRequestDetails) {
127
+ BadRequestDetails.visit = (value, visitor) => {
128
+ if (value.InvalidParameters !== undefined)
129
+ return visitor.InvalidParameters(value.InvalidParameters);
130
+ return visitor._(value.$unknown[0], value.$unknown[1]);
131
+ };
132
+ })(exports.BadRequestDetails || (exports.BadRequestDetails = {}));
133
+ const BadRequestReason = {
134
+ INVALID_PARAMETERS: "InvalidParameters",
135
+ };
136
+ class BadRequestException extends AppConfigDataServiceException {
137
+ name = "BadRequestException";
138
+ $fault = "client";
139
+ Message;
140
+ Reason;
141
+ Details;
142
+ constructor(opts) {
143
+ super({
144
+ name: "BadRequestException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, BadRequestException.prototype);
149
+ this.Message = opts.Message;
150
+ this.Reason = opts.Reason;
151
+ this.Details = opts.Details;
152
+ }
153
+ }
154
+ class InternalServerException extends AppConfigDataServiceException {
155
+ name = "InternalServerException";
156
+ $fault = "server";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "InternalServerException",
161
+ $fault: "server",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, InternalServerException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ const ResourceType = {
169
+ APPLICATION: "Application",
170
+ CONFIGURATION: "Configuration",
171
+ CONFIGURATION_PROFILE: "ConfigurationProfile",
172
+ DEPLOYMENT: "Deployment",
173
+ ENVIRONMENT: "Environment",
207
174
  };
175
+ class ResourceNotFoundException extends AppConfigDataServiceException {
176
+ name = "ResourceNotFoundException";
177
+ $fault = "client";
178
+ Message;
179
+ ResourceType;
180
+ ReferencedBy;
181
+ constructor(opts) {
182
+ super({
183
+ name: "ResourceNotFoundException",
184
+ $fault: "client",
185
+ ...opts,
186
+ });
187
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
188
+ this.Message = opts.Message;
189
+ this.ResourceType = opts.ResourceType;
190
+ this.ReferencedBy = opts.ReferencedBy;
191
+ }
192
+ }
193
+ class ThrottlingException extends AppConfigDataServiceException {
194
+ name = "ThrottlingException";
195
+ $fault = "client";
196
+ Message;
197
+ constructor(opts) {
198
+ super({
199
+ name: "ThrottlingException",
200
+ $fault: "client",
201
+ ...opts,
202
+ });
203
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
204
+ this.Message = opts.Message;
205
+ }
206
+ }
207
+ const GetLatestConfigurationResponseFilterSensitiveLog = (obj) => ({
208
+ ...obj,
209
+ ...(obj.Configuration && { Configuration: smithyClient.SENSITIVE_STRING }),
210
+ });
208
211
 
209
- // src/models/models_0.ts
210
- var InvalidParameterProblem = {
211
- /**
212
- * The parameter was corrupted and could not be understood by the service.
213
- */
214
- CORRUPTED: "Corrupted",
215
- /**
216
- * The parameter was expired and can no longer be used.
217
- */
218
- EXPIRED: "Expired",
219
- /**
220
- * The client called the service before the time specified in the poll interval.
221
- */
222
- POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied"
212
+ const se_GetLatestConfigurationCommand = async (input, context) => {
213
+ const b = core.requestBuilder(input, context);
214
+ const headers = {};
215
+ b.bp("/configuration");
216
+ const query = smithyClient.map({
217
+ [_ct]: [, smithyClient.expectNonNull(input[_CT], `ConfigurationToken`)],
218
+ });
219
+ let body;
220
+ b.m("GET").h(headers).q(query).b(body);
221
+ return b.build();
223
222
  };
224
- var BadRequestDetails;
225
- ((BadRequestDetails2) => {
226
- BadRequestDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
227
- if (value.InvalidParameters !== void 0) return visitor.InvalidParameters(value.InvalidParameters);
228
- return visitor._(value.$unknown[0], value.$unknown[1]);
229
- }, "visit");
230
- })(BadRequestDetails || (BadRequestDetails = {}));
231
- var BadRequestReason = {
232
- /**
233
- * Indicates there was a problem with one or more of the parameters.
234
- * See InvalidParameters in the BadRequestDetails for more information.
235
- */
236
- INVALID_PARAMETERS: "InvalidParameters"
223
+ const se_StartConfigurationSessionCommand = async (input, context) => {
224
+ const b = core.requestBuilder(input, context);
225
+ const headers = {
226
+ "content-type": "application/json",
227
+ };
228
+ b.bp("/configurationsessions");
229
+ let body;
230
+ body = JSON.stringify(smithyClient.take(input, {
231
+ ApplicationIdentifier: [],
232
+ ConfigurationProfileIdentifier: [],
233
+ EnvironmentIdentifier: [],
234
+ RequiredMinimumPollIntervalInSeconds: [],
235
+ }));
236
+ b.m("POST").h(headers).b(body);
237
+ return b.build();
237
238
  };
238
- var BadRequestException = class _BadRequestException extends AppConfigDataServiceException {
239
- static {
240
- __name(this, "BadRequestException");
241
- }
242
- name = "BadRequestException";
243
- $fault = "client";
244
- Message;
245
- /**
246
- * <p>Code indicating the reason the request was invalid.</p>
247
- * @public
248
- */
249
- Reason;
250
- /**
251
- * <p>Details describing why the request was invalid.</p>
252
- * @public
253
- */
254
- Details;
255
- /**
256
- * @internal
257
- */
258
- constructor(opts) {
259
- super({
260
- name: "BadRequestException",
261
- $fault: "client",
262
- ...opts
239
+ const de_GetLatestConfigurationCommand = async (output, context) => {
240
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
241
+ return de_CommandError(output, context);
242
+ }
243
+ const contents = smithyClient.map({
244
+ $metadata: deserializeMetadata(output),
245
+ [_NPCT]: [, output.headers[_npct]],
246
+ [_NPIIS]: [() => void 0 !== output.headers[_npiis], () => smithyClient.strictParseInt32(output.headers[_npiis])],
247
+ [_CTo]: [, output.headers[_ct_]],
248
+ [_VL]: [, output.headers[_vl]],
263
249
  });
264
- Object.setPrototypeOf(this, _BadRequestException.prototype);
265
- this.Message = opts.Message;
266
- this.Reason = opts.Reason;
267
- this.Details = opts.Details;
268
- }
250
+ const data = await smithyClient.collectBody(output.body, context);
251
+ contents.Configuration = data;
252
+ return contents;
269
253
  };
270
- var InternalServerException = class _InternalServerException extends AppConfigDataServiceException {
271
- static {
272
- __name(this, "InternalServerException");
273
- }
274
- name = "InternalServerException";
275
- $fault = "server";
276
- Message;
277
- /**
278
- * @internal
279
- */
280
- constructor(opts) {
281
- super({
282
- name: "InternalServerException",
283
- $fault: "server",
284
- ...opts
254
+ const de_StartConfigurationSessionCommand = async (output, context) => {
255
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
256
+ return de_CommandError(output, context);
257
+ }
258
+ const contents = smithyClient.map({
259
+ $metadata: deserializeMetadata(output),
260
+ });
261
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
262
+ const doc = smithyClient.take(data, {
263
+ InitialConfigurationToken: smithyClient.expectString,
285
264
  });
286
- Object.setPrototypeOf(this, _InternalServerException.prototype);
287
- this.Message = opts.Message;
288
- }
265
+ Object.assign(contents, doc);
266
+ return contents;
289
267
  };
290
- var ResourceType = {
291
- /**
292
- * Resource type value for the Application resource.
293
- */
294
- APPLICATION: "Application",
295
- /**
296
- * Resource type value for the Configuration resource.
297
- */
298
- CONFIGURATION: "Configuration",
299
- /**
300
- * Resource type value for the ConfigurationProfile resource.
301
- */
302
- CONFIGURATION_PROFILE: "ConfigurationProfile",
303
- /**
304
- * Resource type value for the Deployment resource.
305
- */
306
- DEPLOYMENT: "Deployment",
307
- /**
308
- * Resource type value for the Environment resource.
309
- */
310
- ENVIRONMENT: "Environment"
268
+ const de_CommandError = async (output, context) => {
269
+ const parsedOutput = {
270
+ ...output,
271
+ body: await core$1.parseJsonErrorBody(output.body, context),
272
+ };
273
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
274
+ switch (errorCode) {
275
+ case "BadRequestException":
276
+ case "com.amazonaws.appconfigdata#BadRequestException":
277
+ throw await de_BadRequestExceptionRes(parsedOutput);
278
+ case "InternalServerException":
279
+ case "com.amazonaws.appconfigdata#InternalServerException":
280
+ throw await de_InternalServerExceptionRes(parsedOutput);
281
+ case "ResourceNotFoundException":
282
+ case "com.amazonaws.appconfigdata#ResourceNotFoundException":
283
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
284
+ case "ThrottlingException":
285
+ case "com.amazonaws.appconfigdata#ThrottlingException":
286
+ throw await de_ThrottlingExceptionRes(parsedOutput);
287
+ default:
288
+ const parsedBody = parsedOutput.body;
289
+ return throwDefaultError({
290
+ output,
291
+ parsedBody,
292
+ errorCode,
293
+ });
294
+ }
311
295
  };
312
- var ResourceNotFoundException = class _ResourceNotFoundException extends AppConfigDataServiceException {
313
- static {
314
- __name(this, "ResourceNotFoundException");
315
- }
316
- name = "ResourceNotFoundException";
317
- $fault = "client";
318
- Message;
319
- /**
320
- * <p>The type of resource that was not found.</p>
321
- * @public
322
- */
323
- ResourceType;
324
- /**
325
- * <p>A map indicating which parameters in the request reference the resource that was not
326
- * found.</p>
327
- * @public
328
- */
329
- ReferencedBy;
330
- /**
331
- * @internal
332
- */
333
- constructor(opts) {
334
- super({
335
- name: "ResourceNotFoundException",
336
- $fault: "client",
337
- ...opts
296
+ const throwDefaultError = smithyClient.withBaseException(AppConfigDataServiceException);
297
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
298
+ const contents = smithyClient.map({});
299
+ const data = parsedOutput.body;
300
+ const doc = smithyClient.take(data, {
301
+ Details: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
302
+ Message: smithyClient.expectString,
303
+ Reason: smithyClient.expectString,
338
304
  });
339
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
340
- this.Message = opts.Message;
341
- this.ResourceType = opts.ResourceType;
342
- this.ReferencedBy = opts.ReferencedBy;
343
- }
305
+ Object.assign(contents, doc);
306
+ const exception = new BadRequestException({
307
+ $metadata: deserializeMetadata(parsedOutput),
308
+ ...contents,
309
+ });
310
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
344
311
  };
345
- var ThrottlingException = class _ThrottlingException extends AppConfigDataServiceException {
346
- static {
347
- __name(this, "ThrottlingException");
348
- }
349
- name = "ThrottlingException";
350
- $fault = "client";
351
- Message;
352
- /**
353
- * @internal
354
- */
355
- constructor(opts) {
356
- super({
357
- name: "ThrottlingException",
358
- $fault: "client",
359
- ...opts
312
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
313
+ const contents = smithyClient.map({});
314
+ const data = parsedOutput.body;
315
+ const doc = smithyClient.take(data, {
316
+ Message: smithyClient.expectString,
317
+ });
318
+ Object.assign(contents, doc);
319
+ const exception = new InternalServerException({
320
+ $metadata: deserializeMetadata(parsedOutput),
321
+ ...contents,
360
322
  });
361
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
362
- this.Message = opts.Message;
363
- }
323
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
364
324
  };
365
- var GetLatestConfigurationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
366
- ...obj,
367
- ...obj.Configuration && { Configuration: import_smithy_client.SENSITIVE_STRING }
368
- }), "GetLatestConfigurationResponseFilterSensitiveLog");
369
-
370
- // src/protocols/Aws_restJson1.ts
371
- var import_core2 = require("@aws-sdk/core");
372
-
373
-
374
- var se_GetLatestConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
375
- const b = (0, import_core.requestBuilder)(input, context);
376
- const headers = {};
377
- b.bp("/configuration");
378
- const query = (0, import_smithy_client.map)({
379
- [_ct]: [, (0, import_smithy_client.expectNonNull)(input[_CT], `ConfigurationToken`)]
380
- });
381
- let body;
382
- b.m("GET").h(headers).q(query).b(body);
383
- return b.build();
384
- }, "se_GetLatestConfigurationCommand");
385
- var se_StartConfigurationSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
386
- const b = (0, import_core.requestBuilder)(input, context);
387
- const headers = {
388
- "content-type": "application/json"
389
- };
390
- b.bp("/configurationsessions");
391
- let body;
392
- body = JSON.stringify(
393
- (0, import_smithy_client.take)(input, {
394
- ApplicationIdentifier: [],
395
- ConfigurationProfileIdentifier: [],
396
- EnvironmentIdentifier: [],
397
- RequiredMinimumPollIntervalInSeconds: []
398
- })
399
- );
400
- b.m("POST").h(headers).b(body);
401
- return b.build();
402
- }, "se_StartConfigurationSessionCommand");
403
- var de_GetLatestConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
404
- if (output.statusCode !== 200 && output.statusCode >= 300) {
405
- return de_CommandError(output, context);
406
- }
407
- const contents = (0, import_smithy_client.map)({
408
- $metadata: deserializeMetadata(output),
409
- [_NPCT]: [, output.headers[_npct]],
410
- [_NPIIS]: [() => void 0 !== output.headers[_npiis], () => (0, import_smithy_client.strictParseInt32)(output.headers[_npiis])],
411
- [_CTo]: [, output.headers[_ct_]],
412
- [_VL]: [, output.headers[_vl]]
413
- });
414
- const data = await (0, import_smithy_client.collectBody)(output.body, context);
415
- contents.Configuration = data;
416
- return contents;
417
- }, "de_GetLatestConfigurationCommand");
418
- var de_StartConfigurationSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
419
- if (output.statusCode !== 201 && output.statusCode >= 300) {
420
- return de_CommandError(output, context);
421
- }
422
- const contents = (0, import_smithy_client.map)({
423
- $metadata: deserializeMetadata(output)
424
- });
425
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
426
- const doc = (0, import_smithy_client.take)(data, {
427
- InitialConfigurationToken: import_smithy_client.expectString
428
- });
429
- Object.assign(contents, doc);
430
- return contents;
431
- }, "de_StartConfigurationSessionCommand");
432
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
433
- const parsedOutput = {
434
- ...output,
435
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
436
- };
437
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
438
- switch (errorCode) {
439
- case "BadRequestException":
440
- case "com.amazonaws.appconfigdata#BadRequestException":
441
- throw await de_BadRequestExceptionRes(parsedOutput, context);
442
- case "InternalServerException":
443
- case "com.amazonaws.appconfigdata#InternalServerException":
444
- throw await de_InternalServerExceptionRes(parsedOutput, context);
445
- case "ResourceNotFoundException":
446
- case "com.amazonaws.appconfigdata#ResourceNotFoundException":
447
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
448
- case "ThrottlingException":
449
- case "com.amazonaws.appconfigdata#ThrottlingException":
450
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
451
- default:
452
- const parsedBody = parsedOutput.body;
453
- return throwDefaultError({
454
- output,
455
- parsedBody,
456
- errorCode
457
- });
458
- }
459
- }, "de_CommandError");
460
- var throwDefaultError = (0, import_smithy_client.withBaseException)(AppConfigDataServiceException);
461
- var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
462
- const contents = (0, import_smithy_client.map)({});
463
- const data = parsedOutput.body;
464
- const doc = (0, import_smithy_client.take)(data, {
465
- Details: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Details"),
466
- Message: import_smithy_client.expectString,
467
- Reason: import_smithy_client.expectString
468
- });
469
- Object.assign(contents, doc);
470
- const exception = new BadRequestException({
471
- $metadata: deserializeMetadata(parsedOutput),
472
- ...contents
473
- });
474
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
475
- }, "de_BadRequestExceptionRes");
476
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
477
- const contents = (0, import_smithy_client.map)({});
478
- const data = parsedOutput.body;
479
- const doc = (0, import_smithy_client.take)(data, {
480
- Message: import_smithy_client.expectString
481
- });
482
- Object.assign(contents, doc);
483
- const exception = new InternalServerException({
484
- $metadata: deserializeMetadata(parsedOutput),
485
- ...contents
486
- });
487
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
488
- }, "de_InternalServerExceptionRes");
489
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
490
- const contents = (0, import_smithy_client.map)({});
491
- const data = parsedOutput.body;
492
- const doc = (0, import_smithy_client.take)(data, {
493
- Message: import_smithy_client.expectString,
494
- ReferencedBy: import_smithy_client._json,
495
- ResourceType: import_smithy_client.expectString
496
- });
497
- Object.assign(contents, doc);
498
- const exception = new ResourceNotFoundException({
499
- $metadata: deserializeMetadata(parsedOutput),
500
- ...contents
501
- });
502
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
503
- }, "de_ResourceNotFoundExceptionRes");
504
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
505
- const contents = (0, import_smithy_client.map)({});
506
- const data = parsedOutput.body;
507
- const doc = (0, import_smithy_client.take)(data, {
508
- Message: import_smithy_client.expectString
509
- });
510
- Object.assign(contents, doc);
511
- const exception = new ThrottlingException({
512
- $metadata: deserializeMetadata(parsedOutput),
513
- ...contents
514
- });
515
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
516
- }, "de_ThrottlingExceptionRes");
517
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
518
- httpStatusCode: output.statusCode,
519
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
520
- extendedRequestId: output.headers["x-amz-id-2"],
521
- cfId: output.headers["x-amz-cf-id"]
522
- }), "deserializeMetadata");
523
- var _CT = "ConfigurationToken";
524
- var _CTo = "ContentType";
525
- var _NPCT = "NextPollConfigurationToken";
526
- var _NPIIS = "NextPollIntervalInSeconds";
527
- var _VL = "VersionLabel";
528
- var _ct = "configuration_token";
529
- var _ct_ = "content-type";
530
- var _npct = "next-poll-configuration-token";
531
- var _npiis = "next-poll-interval-in-seconds";
532
- var _vl = "version-label";
533
-
534
- // src/commands/GetLatestConfigurationCommand.ts
535
- var GetLatestConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
536
- return [
537
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
538
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
539
- ];
540
- }).s("AppConfigData", "GetLatestConfiguration", {}).n("AppConfigDataClient", "GetLatestConfigurationCommand").f(void 0, GetLatestConfigurationResponseFilterSensitiveLog).ser(se_GetLatestConfigurationCommand).de(de_GetLatestConfigurationCommand).build() {
541
- static {
542
- __name(this, "GetLatestConfigurationCommand");
543
- }
325
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
326
+ const contents = smithyClient.map({});
327
+ const data = parsedOutput.body;
328
+ const doc = smithyClient.take(data, {
329
+ Message: smithyClient.expectString,
330
+ ReferencedBy: smithyClient._json,
331
+ ResourceType: smithyClient.expectString,
332
+ });
333
+ Object.assign(contents, doc);
334
+ const exception = new ResourceNotFoundException({
335
+ $metadata: deserializeMetadata(parsedOutput),
336
+ ...contents,
337
+ });
338
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
544
339
  };
340
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
341
+ const contents = smithyClient.map({});
342
+ const data = parsedOutput.body;
343
+ const doc = smithyClient.take(data, {
344
+ Message: smithyClient.expectString,
345
+ });
346
+ Object.assign(contents, doc);
347
+ const exception = new ThrottlingException({
348
+ $metadata: deserializeMetadata(parsedOutput),
349
+ ...contents,
350
+ });
351
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
352
+ };
353
+ const deserializeMetadata = (output) => ({
354
+ httpStatusCode: output.statusCode,
355
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
356
+ extendedRequestId: output.headers["x-amz-id-2"],
357
+ cfId: output.headers["x-amz-cf-id"],
358
+ });
359
+ const _CT = "ConfigurationToken";
360
+ const _CTo = "ContentType";
361
+ const _NPCT = "NextPollConfigurationToken";
362
+ const _NPIIS = "NextPollIntervalInSeconds";
363
+ const _VL = "VersionLabel";
364
+ const _ct = "configuration_token";
365
+ const _ct_ = "content-type";
366
+ const _npct = "next-poll-configuration-token";
367
+ const _npiis = "next-poll-interval-in-seconds";
368
+ const _vl = "version-label";
545
369
 
546
- // src/commands/StartConfigurationSessionCommand.ts
547
-
548
-
370
+ class GetLatestConfigurationCommand extends smithyClient.Command
371
+ .classBuilder()
372
+ .ep(commonParams)
373
+ .m(function (Command, cs, config, o) {
374
+ return [
375
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
376
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
377
+ ];
378
+ })
379
+ .s("AppConfigData", "GetLatestConfiguration", {})
380
+ .n("AppConfigDataClient", "GetLatestConfigurationCommand")
381
+ .f(void 0, GetLatestConfigurationResponseFilterSensitiveLog)
382
+ .ser(se_GetLatestConfigurationCommand)
383
+ .de(de_GetLatestConfigurationCommand)
384
+ .build() {
385
+ }
549
386
 
550
- var StartConfigurationSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
551
- return [
552
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
553
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
554
- ];
555
- }).s("AppConfigData", "StartConfigurationSession", {}).n("AppConfigDataClient", "StartConfigurationSessionCommand").f(void 0, void 0).ser(se_StartConfigurationSessionCommand).de(de_StartConfigurationSessionCommand).build() {
556
- static {
557
- __name(this, "StartConfigurationSessionCommand");
558
- }
559
- };
387
+ class StartConfigurationSessionCommand extends smithyClient.Command
388
+ .classBuilder()
389
+ .ep(commonParams)
390
+ .m(function (Command, cs, config, o) {
391
+ return [
392
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
393
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
394
+ ];
395
+ })
396
+ .s("AppConfigData", "StartConfigurationSession", {})
397
+ .n("AppConfigDataClient", "StartConfigurationSessionCommand")
398
+ .f(void 0, void 0)
399
+ .ser(se_StartConfigurationSessionCommand)
400
+ .de(de_StartConfigurationSessionCommand)
401
+ .build() {
402
+ }
560
403
 
561
- // src/AppConfigData.ts
562
- var commands = {
563
- GetLatestConfigurationCommand,
564
- StartConfigurationSessionCommand
404
+ const commands = {
405
+ GetLatestConfigurationCommand,
406
+ StartConfigurationSessionCommand,
565
407
  };
566
- var AppConfigData = class extends AppConfigDataClient {
567
- static {
568
- __name(this, "AppConfigData");
569
- }
570
- };
571
- (0, import_smithy_client.createAggregatedClient)(commands, AppConfigData);
572
- // Annotate the CommonJS export names for ESM import in node:
408
+ class AppConfigData extends AppConfigDataClient {
409
+ }
410
+ smithyClient.createAggregatedClient(commands, AppConfigData);
573
411
 
574
- 0 && (module.exports = {
575
- AppConfigDataServiceException,
576
- __Client,
577
- AppConfigDataClient,
578
- AppConfigData,
579
- $Command,
580
- GetLatestConfigurationCommand,
581
- StartConfigurationSessionCommand,
582
- InvalidParameterProblem,
583
- BadRequestDetails,
584
- BadRequestReason,
585
- BadRequestException,
586
- InternalServerException,
587
- ResourceType,
588
- ResourceNotFoundException,
589
- ThrottlingException,
590
- GetLatestConfigurationResponseFilterSensitiveLog
412
+ Object.defineProperty(exports, "$Command", {
413
+ enumerable: true,
414
+ get: function () { return smithyClient.Command; }
591
415
  });
592
-
416
+ Object.defineProperty(exports, "__Client", {
417
+ enumerable: true,
418
+ get: function () { return smithyClient.Client; }
419
+ });
420
+ exports.AppConfigData = AppConfigData;
421
+ exports.AppConfigDataClient = AppConfigDataClient;
422
+ exports.AppConfigDataServiceException = AppConfigDataServiceException;
423
+ exports.BadRequestException = BadRequestException;
424
+ exports.BadRequestReason = BadRequestReason;
425
+ exports.GetLatestConfigurationCommand = GetLatestConfigurationCommand;
426
+ exports.GetLatestConfigurationResponseFilterSensitiveLog = GetLatestConfigurationResponseFilterSensitiveLog;
427
+ exports.InternalServerException = InternalServerException;
428
+ exports.InvalidParameterProblem = InvalidParameterProblem;
429
+ exports.ResourceNotFoundException = ResourceNotFoundException;
430
+ exports.ResourceType = ResourceType;
431
+ exports.StartConfigurationSessionCommand = StartConfigurationSessionCommand;
432
+ exports.ThrottlingException = ThrottlingException;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfigdata",
3
3
  "description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
4
- "version": "3.901.0",
4
+ "version": "3.907.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appconfigdata",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.901.0",
24
- "@aws-sdk/credential-provider-node": "3.901.0",
23
+ "@aws-sdk/core": "3.907.0",
24
+ "@aws-sdk/credential-provider-node": "3.907.0",
25
25
  "@aws-sdk/middleware-host-header": "3.901.0",
26
26
  "@aws-sdk/middleware-logger": "3.901.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
- "@aws-sdk/middleware-user-agent": "3.901.0",
28
+ "@aws-sdk/middleware-user-agent": "3.907.0",
29
29
  "@aws-sdk/region-config-resolver": "3.901.0",
30
30
  "@aws-sdk/types": "3.901.0",
31
31
  "@aws-sdk/util-endpoints": "3.901.0",
32
- "@aws-sdk/util-user-agent-browser": "3.901.0",
33
- "@aws-sdk/util-user-agent-node": "3.901.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.907.0",
33
+ "@aws-sdk/util-user-agent-node": "3.907.0",
34
34
  "@smithy/config-resolver": "^4.3.0",
35
35
  "@smithy/core": "^3.14.0",
36
36
  "@smithy/fetch-http-handler": "^5.3.0",