@aws-sdk/client-marketplace-catalog 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/MarketplaceCatalogClient.js +13 -13
- package/dist-cjs/commands/CancelChangeSetCommand.js +3 -3
- package/dist-cjs/commands/DescribeChangeSetCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntityCommand.js +3 -3
- package/dist-cjs/commands/ListChangeSetsCommand.js +3 -3
- package/dist-cjs/commands/ListEntitiesCommand.js +3 -3
- package/dist-cjs/commands/StartChangeSetCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +68 -68
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/MarketplaceCatalog.js +6 -6
- package/dist-es/pagination/ListChangeSetsPaginator.js +4 -4
- package/dist-es/pagination/ListEntitiesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +6 -6
- package/dist-types/MarketplaceCatalogClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/MarketplaceCatalogClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-marketplace-catalog
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-marketplace-catalog
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-marketplace-catalog
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class MarketplaceCatalogClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class CancelChangeSetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MarketplaceCatalogClient";
|
|
@@ -27,10 +27,10 @@ class CancelChangeSetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CancelChangeSetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CancelChangeSetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CancelChangeSetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CancelChangeSetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CancelChangeSetCommand = CancelChangeSetCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeChangeSetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MarketplaceCatalogClient";
|
|
@@ -27,10 +27,10 @@ class DescribeChangeSetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DescribeChangeSetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeChangeSetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DescribeChangeSetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeChangeSetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeChangeSetCommand = DescribeChangeSetCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeEntityCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MarketplaceCatalogClient";
|
|
@@ -27,10 +27,10 @@ class DescribeEntityCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DescribeEntityCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeEntityCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DescribeEntityCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeEntityCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeEntityCommand = DescribeEntityCommand;
|
|
@@ -11,7 +11,7 @@ class ListChangeSetsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MarketplaceCatalogClient";
|
|
@@ -27,10 +27,10 @@ class ListChangeSetsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListChangeSetsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListChangeSetsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListChangeSetsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListChangeSetsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListChangeSetsCommand = ListChangeSetsCommand;
|
|
@@ -11,7 +11,7 @@ class ListEntitiesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MarketplaceCatalogClient";
|
|
@@ -27,10 +27,10 @@ class ListEntitiesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListEntitiesCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListEntitiesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListEntitiesCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListEntitiesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListEntitiesCommand = ListEntitiesCommand;
|
|
@@ -11,7 +11,7 @@ class StartChangeSetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MarketplaceCatalogClient";
|
|
@@ -27,10 +27,10 @@ class StartChangeSetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1StartChangeSetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StartChangeSetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1StartChangeSetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StartChangeSetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartChangeSetCommand = StartChangeSetCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "aws-marketplace",
|
|
128
128
|
regionHash,
|
|
@@ -156,12 +156,12 @@ const deserializeAws_restJson1CancelChangeSetCommand = async (output, context) =
|
|
|
156
156
|
ChangeSetArn: undefined,
|
|
157
157
|
ChangeSetId: undefined,
|
|
158
158
|
};
|
|
159
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
159
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
160
160
|
if (data.ChangeSetArn !== undefined && data.ChangeSetArn !== null) {
|
|
161
|
-
contents.ChangeSetArn = smithy_client_1.expectString(data.ChangeSetArn);
|
|
161
|
+
contents.ChangeSetArn = (0, smithy_client_1.expectString)(data.ChangeSetArn);
|
|
162
162
|
}
|
|
163
163
|
if (data.ChangeSetId !== undefined && data.ChangeSetId !== null) {
|
|
164
|
-
contents.ChangeSetId = smithy_client_1.expectString(data.ChangeSetId);
|
|
164
|
+
contents.ChangeSetId = (0, smithy_client_1.expectString)(data.ChangeSetId);
|
|
165
165
|
}
|
|
166
166
|
return Promise.resolve(contents);
|
|
167
167
|
};
|
|
@@ -200,7 +200,7 @@ const deserializeAws_restJson1CancelChangeSetCommandError = async (output, conte
|
|
|
200
200
|
$fault: "client",
|
|
201
201
|
$metadata: deserializeMetadata(output),
|
|
202
202
|
});
|
|
203
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
203
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
206
|
const deserializeAws_restJson1DescribeChangeSetCommand = async (output, context) => {
|
|
@@ -219,33 +219,33 @@ const deserializeAws_restJson1DescribeChangeSetCommand = async (output, context)
|
|
|
219
219
|
StartTime: undefined,
|
|
220
220
|
Status: undefined,
|
|
221
221
|
};
|
|
222
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
222
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
223
223
|
if (data.ChangeSet !== undefined && data.ChangeSet !== null) {
|
|
224
224
|
contents.ChangeSet = deserializeAws_restJson1ChangeSetDescription(data.ChangeSet, context);
|
|
225
225
|
}
|
|
226
226
|
if (data.ChangeSetArn !== undefined && data.ChangeSetArn !== null) {
|
|
227
|
-
contents.ChangeSetArn = smithy_client_1.expectString(data.ChangeSetArn);
|
|
227
|
+
contents.ChangeSetArn = (0, smithy_client_1.expectString)(data.ChangeSetArn);
|
|
228
228
|
}
|
|
229
229
|
if (data.ChangeSetId !== undefined && data.ChangeSetId !== null) {
|
|
230
|
-
contents.ChangeSetId = smithy_client_1.expectString(data.ChangeSetId);
|
|
230
|
+
contents.ChangeSetId = (0, smithy_client_1.expectString)(data.ChangeSetId);
|
|
231
231
|
}
|
|
232
232
|
if (data.ChangeSetName !== undefined && data.ChangeSetName !== null) {
|
|
233
|
-
contents.ChangeSetName = smithy_client_1.expectString(data.ChangeSetName);
|
|
233
|
+
contents.ChangeSetName = (0, smithy_client_1.expectString)(data.ChangeSetName);
|
|
234
234
|
}
|
|
235
235
|
if (data.EndTime !== undefined && data.EndTime !== null) {
|
|
236
|
-
contents.EndTime = smithy_client_1.expectString(data.EndTime);
|
|
236
|
+
contents.EndTime = (0, smithy_client_1.expectString)(data.EndTime);
|
|
237
237
|
}
|
|
238
238
|
if (data.FailureCode !== undefined && data.FailureCode !== null) {
|
|
239
|
-
contents.FailureCode = smithy_client_1.expectString(data.FailureCode);
|
|
239
|
+
contents.FailureCode = (0, smithy_client_1.expectString)(data.FailureCode);
|
|
240
240
|
}
|
|
241
241
|
if (data.FailureDescription !== undefined && data.FailureDescription !== null) {
|
|
242
|
-
contents.FailureDescription = smithy_client_1.expectString(data.FailureDescription);
|
|
242
|
+
contents.FailureDescription = (0, smithy_client_1.expectString)(data.FailureDescription);
|
|
243
243
|
}
|
|
244
244
|
if (data.StartTime !== undefined && data.StartTime !== null) {
|
|
245
|
-
contents.StartTime = smithy_client_1.expectString(data.StartTime);
|
|
245
|
+
contents.StartTime = (0, smithy_client_1.expectString)(data.StartTime);
|
|
246
246
|
}
|
|
247
247
|
if (data.Status !== undefined && data.Status !== null) {
|
|
248
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
248
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
249
249
|
}
|
|
250
250
|
return Promise.resolve(contents);
|
|
251
251
|
};
|
|
@@ -281,7 +281,7 @@ const deserializeAws_restJson1DescribeChangeSetCommandError = async (output, con
|
|
|
281
281
|
$fault: "client",
|
|
282
282
|
$metadata: deserializeMetadata(output),
|
|
283
283
|
});
|
|
284
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
284
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
const deserializeAws_restJson1DescribeEntityCommand = async (output, context) => {
|
|
@@ -296,21 +296,21 @@ const deserializeAws_restJson1DescribeEntityCommand = async (output, context) =>
|
|
|
296
296
|
EntityType: undefined,
|
|
297
297
|
LastModifiedDate: undefined,
|
|
298
298
|
};
|
|
299
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
299
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
300
300
|
if (data.Details !== undefined && data.Details !== null) {
|
|
301
|
-
contents.Details = smithy_client_1.expectString(data.Details);
|
|
301
|
+
contents.Details = (0, smithy_client_1.expectString)(data.Details);
|
|
302
302
|
}
|
|
303
303
|
if (data.EntityArn !== undefined && data.EntityArn !== null) {
|
|
304
|
-
contents.EntityArn = smithy_client_1.expectString(data.EntityArn);
|
|
304
|
+
contents.EntityArn = (0, smithy_client_1.expectString)(data.EntityArn);
|
|
305
305
|
}
|
|
306
306
|
if (data.EntityIdentifier !== undefined && data.EntityIdentifier !== null) {
|
|
307
|
-
contents.EntityIdentifier = smithy_client_1.expectString(data.EntityIdentifier);
|
|
307
|
+
contents.EntityIdentifier = (0, smithy_client_1.expectString)(data.EntityIdentifier);
|
|
308
308
|
}
|
|
309
309
|
if (data.EntityType !== undefined && data.EntityType !== null) {
|
|
310
|
-
contents.EntityType = smithy_client_1.expectString(data.EntityType);
|
|
310
|
+
contents.EntityType = (0, smithy_client_1.expectString)(data.EntityType);
|
|
311
311
|
}
|
|
312
312
|
if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
|
|
313
|
-
contents.LastModifiedDate = smithy_client_1.expectString(data.LastModifiedDate);
|
|
313
|
+
contents.LastModifiedDate = (0, smithy_client_1.expectString)(data.LastModifiedDate);
|
|
314
314
|
}
|
|
315
315
|
return Promise.resolve(contents);
|
|
316
316
|
};
|
|
@@ -349,7 +349,7 @@ const deserializeAws_restJson1DescribeEntityCommandError = async (output, contex
|
|
|
349
349
|
$fault: "client",
|
|
350
350
|
$metadata: deserializeMetadata(output),
|
|
351
351
|
});
|
|
352
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
352
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
355
|
const deserializeAws_restJson1ListChangeSetsCommand = async (output, context) => {
|
|
@@ -361,12 +361,12 @@ const deserializeAws_restJson1ListChangeSetsCommand = async (output, context) =>
|
|
|
361
361
|
ChangeSetSummaryList: undefined,
|
|
362
362
|
NextToken: undefined,
|
|
363
363
|
};
|
|
364
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
364
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
365
365
|
if (data.ChangeSetSummaryList !== undefined && data.ChangeSetSummaryList !== null) {
|
|
366
366
|
contents.ChangeSetSummaryList = deserializeAws_restJson1ChangeSetSummaryList(data.ChangeSetSummaryList, context);
|
|
367
367
|
}
|
|
368
368
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
369
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
369
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
370
370
|
}
|
|
371
371
|
return Promise.resolve(contents);
|
|
372
372
|
};
|
|
@@ -399,7 +399,7 @@ const deserializeAws_restJson1ListChangeSetsCommandError = async (output, contex
|
|
|
399
399
|
$fault: "client",
|
|
400
400
|
$metadata: deserializeMetadata(output),
|
|
401
401
|
});
|
|
402
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
402
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
const deserializeAws_restJson1ListEntitiesCommand = async (output, context) => {
|
|
@@ -411,12 +411,12 @@ const deserializeAws_restJson1ListEntitiesCommand = async (output, context) => {
|
|
|
411
411
|
EntitySummaryList: undefined,
|
|
412
412
|
NextToken: undefined,
|
|
413
413
|
};
|
|
414
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
414
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
415
415
|
if (data.EntitySummaryList !== undefined && data.EntitySummaryList !== null) {
|
|
416
416
|
contents.EntitySummaryList = deserializeAws_restJson1EntitySummaryList(data.EntitySummaryList, context);
|
|
417
417
|
}
|
|
418
418
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
419
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
419
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
420
420
|
}
|
|
421
421
|
return Promise.resolve(contents);
|
|
422
422
|
};
|
|
@@ -452,7 +452,7 @@ const deserializeAws_restJson1ListEntitiesCommandError = async (output, context)
|
|
|
452
452
|
$fault: "client",
|
|
453
453
|
$metadata: deserializeMetadata(output),
|
|
454
454
|
});
|
|
455
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
455
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
456
456
|
}
|
|
457
457
|
};
|
|
458
458
|
const deserializeAws_restJson1StartChangeSetCommand = async (output, context) => {
|
|
@@ -464,12 +464,12 @@ const deserializeAws_restJson1StartChangeSetCommand = async (output, context) =>
|
|
|
464
464
|
ChangeSetArn: undefined,
|
|
465
465
|
ChangeSetId: undefined,
|
|
466
466
|
};
|
|
467
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
467
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
468
468
|
if (data.ChangeSetArn !== undefined && data.ChangeSetArn !== null) {
|
|
469
|
-
contents.ChangeSetArn = smithy_client_1.expectString(data.ChangeSetArn);
|
|
469
|
+
contents.ChangeSetArn = (0, smithy_client_1.expectString)(data.ChangeSetArn);
|
|
470
470
|
}
|
|
471
471
|
if (data.ChangeSetId !== undefined && data.ChangeSetId !== null) {
|
|
472
|
-
contents.ChangeSetId = smithy_client_1.expectString(data.ChangeSetId);
|
|
472
|
+
contents.ChangeSetId = (0, smithy_client_1.expectString)(data.ChangeSetId);
|
|
473
473
|
}
|
|
474
474
|
return Promise.resolve(contents);
|
|
475
475
|
};
|
|
@@ -511,104 +511,104 @@ const deserializeAws_restJson1StartChangeSetCommandError = async (output, contex
|
|
|
511
511
|
$fault: "client",
|
|
512
512
|
$metadata: deserializeMetadata(output),
|
|
513
513
|
});
|
|
514
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
514
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
517
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
518
518
|
const contents = {};
|
|
519
519
|
const data = parsedOutput.body;
|
|
520
520
|
if (data.Message !== undefined && data.Message !== null) {
|
|
521
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
521
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
522
522
|
}
|
|
523
523
|
const exception = new models_0_1.AccessDeniedException({
|
|
524
524
|
$metadata: deserializeMetadata(parsedOutput),
|
|
525
525
|
...contents,
|
|
526
526
|
});
|
|
527
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
527
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
528
528
|
};
|
|
529
529
|
const deserializeAws_restJson1InternalServiceExceptionResponse = async (parsedOutput, context) => {
|
|
530
530
|
const contents = {};
|
|
531
531
|
const data = parsedOutput.body;
|
|
532
532
|
if (data.Message !== undefined && data.Message !== null) {
|
|
533
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
533
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
534
534
|
}
|
|
535
535
|
const exception = new models_0_1.InternalServiceException({
|
|
536
536
|
$metadata: deserializeMetadata(parsedOutput),
|
|
537
537
|
...contents,
|
|
538
538
|
});
|
|
539
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
539
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
540
540
|
};
|
|
541
541
|
const deserializeAws_restJson1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
542
542
|
const contents = {};
|
|
543
543
|
const data = parsedOutput.body;
|
|
544
544
|
if (data.Message !== undefined && data.Message !== null) {
|
|
545
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
545
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
546
546
|
}
|
|
547
547
|
const exception = new models_0_1.ResourceInUseException({
|
|
548
548
|
$metadata: deserializeMetadata(parsedOutput),
|
|
549
549
|
...contents,
|
|
550
550
|
});
|
|
551
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
551
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
552
552
|
};
|
|
553
553
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
554
554
|
const contents = {};
|
|
555
555
|
const data = parsedOutput.body;
|
|
556
556
|
if (data.Message !== undefined && data.Message !== null) {
|
|
557
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
557
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
558
558
|
}
|
|
559
559
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
560
560
|
$metadata: deserializeMetadata(parsedOutput),
|
|
561
561
|
...contents,
|
|
562
562
|
});
|
|
563
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
563
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
564
564
|
};
|
|
565
565
|
const deserializeAws_restJson1ResourceNotSupportedExceptionResponse = async (parsedOutput, context) => {
|
|
566
566
|
const contents = {};
|
|
567
567
|
const data = parsedOutput.body;
|
|
568
568
|
if (data.Message !== undefined && data.Message !== null) {
|
|
569
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
569
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
570
570
|
}
|
|
571
571
|
const exception = new models_0_1.ResourceNotSupportedException({
|
|
572
572
|
$metadata: deserializeMetadata(parsedOutput),
|
|
573
573
|
...contents,
|
|
574
574
|
});
|
|
575
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
575
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
576
576
|
};
|
|
577
577
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
578
578
|
const contents = {};
|
|
579
579
|
const data = parsedOutput.body;
|
|
580
580
|
if (data.Message !== undefined && data.Message !== null) {
|
|
581
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
581
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
582
582
|
}
|
|
583
583
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
584
584
|
$metadata: deserializeMetadata(parsedOutput),
|
|
585
585
|
...contents,
|
|
586
586
|
});
|
|
587
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
587
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
588
588
|
};
|
|
589
589
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
590
590
|
const contents = {};
|
|
591
591
|
const data = parsedOutput.body;
|
|
592
592
|
if (data.Message !== undefined && data.Message !== null) {
|
|
593
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
593
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
594
594
|
}
|
|
595
595
|
const exception = new models_0_1.ThrottlingException({
|
|
596
596
|
$metadata: deserializeMetadata(parsedOutput),
|
|
597
597
|
...contents,
|
|
598
598
|
});
|
|
599
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
599
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
600
600
|
};
|
|
601
601
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
602
602
|
const contents = {};
|
|
603
603
|
const data = parsedOutput.body;
|
|
604
604
|
if (data.Message !== undefined && data.Message !== null) {
|
|
605
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
605
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
606
606
|
}
|
|
607
607
|
const exception = new models_0_1.ValidationException({
|
|
608
608
|
$metadata: deserializeMetadata(parsedOutput),
|
|
609
609
|
...contents,
|
|
610
610
|
});
|
|
611
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
611
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
612
612
|
};
|
|
613
613
|
const serializeAws_restJson1Change = (input, context) => {
|
|
614
614
|
return {
|
|
@@ -692,23 +692,23 @@ const deserializeAws_restJson1ChangeSetSummaryList = (output, context) => {
|
|
|
692
692
|
};
|
|
693
693
|
const deserializeAws_restJson1ChangeSetSummaryListItem = (output, context) => {
|
|
694
694
|
return {
|
|
695
|
-
ChangeSetArn: smithy_client_1.expectString(output.ChangeSetArn),
|
|
696
|
-
ChangeSetId: smithy_client_1.expectString(output.ChangeSetId),
|
|
697
|
-
ChangeSetName: smithy_client_1.expectString(output.ChangeSetName),
|
|
698
|
-
EndTime: smithy_client_1.expectString(output.EndTime),
|
|
695
|
+
ChangeSetArn: (0, smithy_client_1.expectString)(output.ChangeSetArn),
|
|
696
|
+
ChangeSetId: (0, smithy_client_1.expectString)(output.ChangeSetId),
|
|
697
|
+
ChangeSetName: (0, smithy_client_1.expectString)(output.ChangeSetName),
|
|
698
|
+
EndTime: (0, smithy_client_1.expectString)(output.EndTime),
|
|
699
699
|
EntityIdList: output.EntityIdList !== undefined && output.EntityIdList !== null
|
|
700
700
|
? deserializeAws_restJson1ResourceIdList(output.EntityIdList, context)
|
|
701
701
|
: undefined,
|
|
702
|
-
FailureCode: smithy_client_1.expectString(output.FailureCode),
|
|
703
|
-
StartTime: smithy_client_1.expectString(output.StartTime),
|
|
704
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
702
|
+
FailureCode: (0, smithy_client_1.expectString)(output.FailureCode),
|
|
703
|
+
StartTime: (0, smithy_client_1.expectString)(output.StartTime),
|
|
704
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
705
705
|
};
|
|
706
706
|
};
|
|
707
707
|
const deserializeAws_restJson1ChangeSummary = (output, context) => {
|
|
708
708
|
return {
|
|
709
|
-
ChangeName: smithy_client_1.expectString(output.ChangeName),
|
|
710
|
-
ChangeType: smithy_client_1.expectString(output.ChangeType),
|
|
711
|
-
Details: smithy_client_1.expectString(output.Details),
|
|
709
|
+
ChangeName: (0, smithy_client_1.expectString)(output.ChangeName),
|
|
710
|
+
ChangeType: (0, smithy_client_1.expectString)(output.ChangeType),
|
|
711
|
+
Details: (0, smithy_client_1.expectString)(output.Details),
|
|
712
712
|
Entity: output.Entity !== undefined && output.Entity !== null
|
|
713
713
|
? deserializeAws_restJson1Entity(output.Entity, context)
|
|
714
714
|
: undefined,
|
|
@@ -719,18 +719,18 @@ const deserializeAws_restJson1ChangeSummary = (output, context) => {
|
|
|
719
719
|
};
|
|
720
720
|
const deserializeAws_restJson1Entity = (output, context) => {
|
|
721
721
|
return {
|
|
722
|
-
Identifier: smithy_client_1.expectString(output.Identifier),
|
|
723
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
722
|
+
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
723
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
724
724
|
};
|
|
725
725
|
};
|
|
726
726
|
const deserializeAws_restJson1EntitySummary = (output, context) => {
|
|
727
727
|
return {
|
|
728
|
-
EntityArn: smithy_client_1.expectString(output.EntityArn),
|
|
729
|
-
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
730
|
-
EntityType: smithy_client_1.expectString(output.EntityType),
|
|
731
|
-
LastModifiedDate: smithy_client_1.expectString(output.LastModifiedDate),
|
|
732
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
733
|
-
Visibility: smithy_client_1.expectString(output.Visibility),
|
|
728
|
+
EntityArn: (0, smithy_client_1.expectString)(output.EntityArn),
|
|
729
|
+
EntityId: (0, smithy_client_1.expectString)(output.EntityId),
|
|
730
|
+
EntityType: (0, smithy_client_1.expectString)(output.EntityType),
|
|
731
|
+
LastModifiedDate: (0, smithy_client_1.expectString)(output.LastModifiedDate),
|
|
732
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
733
|
+
Visibility: (0, smithy_client_1.expectString)(output.Visibility),
|
|
734
734
|
};
|
|
735
735
|
};
|
|
736
736
|
const deserializeAws_restJson1EntitySummaryList = (output, context) => {
|
|
@@ -746,8 +746,8 @@ const deserializeAws_restJson1EntitySummaryList = (output, context) => {
|
|
|
746
746
|
};
|
|
747
747
|
const deserializeAws_restJson1ErrorDetail = (output, context) => {
|
|
748
748
|
return {
|
|
749
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
750
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
749
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
750
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
751
751
|
};
|
|
752
752
|
};
|
|
753
753
|
const deserializeAws_restJson1ErrorDetailList = (output, context) => {
|
|
@@ -768,7 +768,7 @@ const deserializeAws_restJson1ResourceIdList = (output, context) => {
|
|
|
768
768
|
if (entry === null) {
|
|
769
769
|
return null;
|
|
770
770
|
}
|
|
771
|
-
return smithy_client_1.expectString(entry);
|
|
771
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
772
772
|
});
|
|
773
773
|
return retVal;
|
|
774
774
|
};
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -18,7 +18,7 @@ var MarketplaceCatalog = (function (_super) {
|
|
|
18
18
|
}
|
|
19
19
|
else if (typeof cb === "function") {
|
|
20
20
|
if (typeof optionsOrCb !== "object")
|
|
21
|
-
throw new Error("Expect http options but get "
|
|
21
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
22
22
|
this.send(command, optionsOrCb || {}, cb);
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
@@ -32,7 +32,7 @@ var MarketplaceCatalog = (function (_super) {
|
|
|
32
32
|
}
|
|
33
33
|
else if (typeof cb === "function") {
|
|
34
34
|
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error("Expect http options but get "
|
|
35
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
36
36
|
this.send(command, optionsOrCb || {}, cb);
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
@@ -46,7 +46,7 @@ var MarketplaceCatalog = (function (_super) {
|
|
|
46
46
|
}
|
|
47
47
|
else if (typeof cb === "function") {
|
|
48
48
|
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error("Expect http options but get "
|
|
49
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
50
50
|
this.send(command, optionsOrCb || {}, cb);
|
|
51
51
|
}
|
|
52
52
|
else {
|
|
@@ -60,7 +60,7 @@ var MarketplaceCatalog = (function (_super) {
|
|
|
60
60
|
}
|
|
61
61
|
else if (typeof cb === "function") {
|
|
62
62
|
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error("Expect http options but get "
|
|
63
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
64
64
|
this.send(command, optionsOrCb || {}, cb);
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
@@ -74,7 +74,7 @@ var MarketplaceCatalog = (function (_super) {
|
|
|
74
74
|
}
|
|
75
75
|
else if (typeof cb === "function") {
|
|
76
76
|
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error("Expect http options but get "
|
|
77
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
78
78
|
this.send(command, optionsOrCb || {}, cb);
|
|
79
79
|
}
|
|
80
80
|
else {
|
|
@@ -88,7 +88,7 @@ var MarketplaceCatalog = (function (_super) {
|
|
|
88
88
|
}
|
|
89
89
|
else if (typeof cb === "function") {
|
|
90
90
|
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error("Expect http options but get "
|
|
91
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
92
92
|
this.send(command, optionsOrCb || {}, cb);
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListChangeSetsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListChangeSetsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listChangeSets.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listChangeSets.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListChangeSets(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MarketplaceCatalog)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof MarketplaceCatalogClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntitiesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEntitiesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listEntities.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEntities.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListEntities(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MarketplaceCatalog)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof MarketplaceCatalogClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -11,7 +11,7 @@ export var serializeAws_restJson1CancelChangeSetCommand = function (input, conte
|
|
|
11
11
|
case 1:
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = {};
|
|
14
|
-
resolvedPath = ""
|
|
14
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CancelChangeSet";
|
|
15
15
|
query = __assign(__assign({}, (input.Catalog !== undefined && { catalog: input.Catalog })), (input.ChangeSetId !== undefined && { changeSetId: input.ChangeSetId }));
|
|
16
16
|
return [2, new __HttpRequest({
|
|
17
17
|
protocol: protocol,
|
|
@@ -34,7 +34,7 @@ export var serializeAws_restJson1DescribeChangeSetCommand = function (input, con
|
|
|
34
34
|
case 1:
|
|
35
35
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
36
36
|
headers = {};
|
|
37
|
-
resolvedPath = ""
|
|
37
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeChangeSet";
|
|
38
38
|
query = __assign(__assign({}, (input.Catalog !== undefined && { catalog: input.Catalog })), (input.ChangeSetId !== undefined && { changeSetId: input.ChangeSetId }));
|
|
39
39
|
return [2, new __HttpRequest({
|
|
40
40
|
protocol: protocol,
|
|
@@ -57,7 +57,7 @@ export var serializeAws_restJson1DescribeEntityCommand = function (input, contex
|
|
|
57
57
|
case 1:
|
|
58
58
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
59
59
|
headers = {};
|
|
60
|
-
resolvedPath = ""
|
|
60
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeEntity";
|
|
61
61
|
query = __assign(__assign({}, (input.Catalog !== undefined && { catalog: input.Catalog })), (input.EntityId !== undefined && { entityId: input.EntityId }));
|
|
62
62
|
return [2, new __HttpRequest({
|
|
63
63
|
protocol: protocol,
|
|
@@ -82,7 +82,7 @@ export var serializeAws_restJson1ListChangeSetsCommand = function (input, contex
|
|
|
82
82
|
headers = {
|
|
83
83
|
"content-type": "application/json",
|
|
84
84
|
};
|
|
85
|
-
resolvedPath = ""
|
|
85
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListChangeSets";
|
|
86
86
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.FilterList !== undefined &&
|
|
87
87
|
input.FilterList !== null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Sort !== undefined && input.Sort !== null && { Sort: serializeAws_restJson1Sort(input.Sort, context) })));
|
|
88
88
|
return [2, new __HttpRequest({
|
|
@@ -107,7 +107,7 @@ export var serializeAws_restJson1ListEntitiesCommand = function (input, context)
|
|
|
107
107
|
headers = {
|
|
108
108
|
"content-type": "application/json",
|
|
109
109
|
};
|
|
110
|
-
resolvedPath = ""
|
|
110
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ListEntities";
|
|
111
111
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.EntityType !== undefined && input.EntityType !== null && { EntityType: input.EntityType })), (input.FilterList !== undefined &&
|
|
112
112
|
input.FilterList !== null && { FilterList: serializeAws_restJson1FilterList(input.FilterList, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Sort !== undefined && input.Sort !== null && { Sort: serializeAws_restJson1Sort(input.Sort, context) })));
|
|
113
113
|
return [2, new __HttpRequest({
|
|
@@ -132,7 +132,7 @@ export var serializeAws_restJson1StartChangeSetCommand = function (input, contex
|
|
|
132
132
|
headers = {
|
|
133
133
|
"content-type": "application/json",
|
|
134
134
|
};
|
|
135
|
-
resolvedPath = ""
|
|
135
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartChangeSet";
|
|
136
136
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Catalog !== undefined && input.Catalog !== null && { Catalog: input.Catalog })), (input.ChangeSet !== undefined &&
|
|
137
137
|
input.ChangeSet !== null && { ChangeSet: serializeAws_restJson1RequestedChangeList(input.ChangeSet, context) })), (input.ChangeSetName !== undefined && input.ChangeSetName !== null && { ChangeSetName: input.ChangeSetName })), (input.ClientRequestToken !== undefined &&
|
|
138
138
|
input.ClientRequestToken !== null && { ClientRequestToken: input.ClientRequestToken })));
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelChangeSetCommandInput, CancelChangeSetCommandOutput } from "./commands/CancelChangeSetCommand";
|
|
10
10
|
import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "./commands/DescribeChangeSetCommand";
|
|
11
11
|
import { DescribeEntityCommandInput, DescribeEntityCommandOutput } from "./commands/DescribeEntityCommand";
|
|
@@ -34,7 +34,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
34
34
|
* A function that can calculate the length of a request body.
|
|
35
35
|
* @internal
|
|
36
36
|
*/
|
|
37
|
-
bodyLengthChecker?:
|
|
37
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
38
38
|
/**
|
|
39
39
|
* A function that converts a stream into an array of bytes.
|
|
40
40
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CancelChangeSetCommandInput, CancelChangeSetCommandOutput } from "./commands/CancelChangeSetCommand";
|
|
10
10
|
import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "./commands/DescribeChangeSetCommand";
|
|
11
11
|
import { DescribeEntityCommandInput, DescribeEntityCommandOutput } from "./commands/DescribeEntityCommand";
|
|
@@ -22,7 +22,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
22
22
|
|
|
23
23
|
urlParser?: __UrlParser;
|
|
24
24
|
|
|
25
|
-
bodyLengthChecker?:
|
|
25
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
26
26
|
|
|
27
27
|
streamCollector?: __StreamCollector;
|
|
28
28
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MarketplaceCatalogClientConfig)
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-catalog",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Catalog Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|