@aws-sdk/client-rbin 3.54.1 → 3.58.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/RbinClient.js +13 -13
- package/dist-cjs/commands/CreateRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteRuleCommand.js +3 -3
- package/dist-cjs/commands/GetRuleCommand.js +3 -3
- package/dist-cjs/commands/ListRulesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateRuleCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +51 -51
- 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/Rbin.js +8 -8
- package/dist-es/pagination/ListRulesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +8 -8
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- 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.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-rbin
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-rbin
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-rbin
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-rbin
|
package/dist-cjs/RbinClient.js
CHANGED
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class RbinClient 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 CreateRuleCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class CreateRuleCommand 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_restJson1CreateRuleCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateRuleCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateRuleCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateRuleCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateRuleCommand = CreateRuleCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteRuleCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class DeleteRuleCommand 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_restJson1DeleteRuleCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteRuleCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteRuleCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteRuleCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteRuleCommand = DeleteRuleCommand;
|
|
@@ -11,7 +11,7 @@ class GetRuleCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class GetRuleCommand 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_restJson1GetRuleCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetRuleCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetRuleCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetRuleCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetRuleCommand = GetRuleCommand;
|
|
@@ -11,7 +11,7 @@ class ListRulesCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class ListRulesCommand 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_restJson1ListRulesCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListRulesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListRulesCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListRulesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListRulesCommand = ListRulesCommand;
|
|
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand 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_restJson1ListTagsForResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -11,7 +11,7 @@ class TagResourceCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class TagResourceCommand 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_restJson1TagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UntagResourceCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourceCommand 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_restJson1UntagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateRuleCommand 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 = "RbinClient";
|
|
@@ -27,10 +27,10 @@ class UpdateRuleCommand 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_restJson1UpdateRuleCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateRuleCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateRuleCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateRuleCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateRuleCommand = UpdateRuleCommand;
|
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: "rbin",
|
|
128
128
|
regionHash,
|
|
@@ -44,7 +44,7 @@ const serializeAws_restJson1DeleteRuleCommand = async (input, context) => {
|
|
|
44
44
|
if (labelValue.length <= 0) {
|
|
45
45
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
46
46
|
}
|
|
47
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
47
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
50
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -70,7 +70,7 @@ const serializeAws_restJson1GetRuleCommand = async (input, context) => {
|
|
|
70
70
|
if (labelValue.length <= 0) {
|
|
71
71
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
72
72
|
}
|
|
73
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
73
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
74
74
|
}
|
|
75
75
|
else {
|
|
76
76
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -121,7 +121,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
121
121
|
if (labelValue.length <= 0) {
|
|
122
122
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
123
123
|
}
|
|
124
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
124
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
127
127
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -149,7 +149,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
149
149
|
if (labelValue.length <= 0) {
|
|
150
150
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
151
151
|
}
|
|
152
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
152
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
155
155
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -179,7 +179,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
179
179
|
if (labelValue.length <= 0) {
|
|
180
180
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
181
181
|
}
|
|
182
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
182
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
183
183
|
}
|
|
184
184
|
else {
|
|
185
185
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -211,7 +211,7 @@ const serializeAws_restJson1UpdateRuleCommand = async (input, context) => {
|
|
|
211
211
|
if (labelValue.length <= 0) {
|
|
212
212
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
213
213
|
}
|
|
214
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
214
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
217
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -252,24 +252,24 @@ const deserializeAws_restJson1CreateRuleCommand = async (output, context) => {
|
|
|
252
252
|
Status: undefined,
|
|
253
253
|
Tags: undefined,
|
|
254
254
|
};
|
|
255
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
255
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
256
256
|
if (data.Description !== undefined && data.Description !== null) {
|
|
257
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
257
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
258
258
|
}
|
|
259
259
|
if (data.Identifier !== undefined && data.Identifier !== null) {
|
|
260
|
-
contents.Identifier = smithy_client_1.expectString(data.Identifier);
|
|
260
|
+
contents.Identifier = (0, smithy_client_1.expectString)(data.Identifier);
|
|
261
261
|
}
|
|
262
262
|
if (data.ResourceTags !== undefined && data.ResourceTags !== null) {
|
|
263
263
|
contents.ResourceTags = deserializeAws_restJson1ResourceTags(data.ResourceTags, context);
|
|
264
264
|
}
|
|
265
265
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
266
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
266
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
267
267
|
}
|
|
268
268
|
if (data.RetentionPeriod !== undefined && data.RetentionPeriod !== null) {
|
|
269
269
|
contents.RetentionPeriod = deserializeAws_restJson1RetentionPeriod(data.RetentionPeriod, context);
|
|
270
270
|
}
|
|
271
271
|
if (data.Status !== undefined && data.Status !== null) {
|
|
272
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
272
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
273
273
|
}
|
|
274
274
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
275
275
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
@@ -302,7 +302,7 @@ const deserializeAws_restJson1CreateRuleCommandError = async (output, context) =
|
|
|
302
302
|
$fault: "client",
|
|
303
303
|
$metadata: deserializeMetadata(output),
|
|
304
304
|
});
|
|
305
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
305
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
const deserializeAws_restJson1DeleteRuleCommand = async (output, context) => {
|
|
@@ -341,7 +341,7 @@ const deserializeAws_restJson1DeleteRuleCommandError = async (output, context) =
|
|
|
341
341
|
$fault: "client",
|
|
342
342
|
$metadata: deserializeMetadata(output),
|
|
343
343
|
});
|
|
344
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
344
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
const deserializeAws_restJson1GetRuleCommand = async (output, context) => {
|
|
@@ -357,24 +357,24 @@ const deserializeAws_restJson1GetRuleCommand = async (output, context) => {
|
|
|
357
357
|
RetentionPeriod: undefined,
|
|
358
358
|
Status: undefined,
|
|
359
359
|
};
|
|
360
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
360
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
361
361
|
if (data.Description !== undefined && data.Description !== null) {
|
|
362
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
362
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
363
363
|
}
|
|
364
364
|
if (data.Identifier !== undefined && data.Identifier !== null) {
|
|
365
|
-
contents.Identifier = smithy_client_1.expectString(data.Identifier);
|
|
365
|
+
contents.Identifier = (0, smithy_client_1.expectString)(data.Identifier);
|
|
366
366
|
}
|
|
367
367
|
if (data.ResourceTags !== undefined && data.ResourceTags !== null) {
|
|
368
368
|
contents.ResourceTags = deserializeAws_restJson1ResourceTags(data.ResourceTags, context);
|
|
369
369
|
}
|
|
370
370
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
371
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
371
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
372
372
|
}
|
|
373
373
|
if (data.RetentionPeriod !== undefined && data.RetentionPeriod !== null) {
|
|
374
374
|
contents.RetentionPeriod = deserializeAws_restJson1RetentionPeriod(data.RetentionPeriod, context);
|
|
375
375
|
}
|
|
376
376
|
if (data.Status !== undefined && data.Status !== null) {
|
|
377
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
377
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
378
378
|
}
|
|
379
379
|
return Promise.resolve(contents);
|
|
380
380
|
};
|
|
@@ -404,7 +404,7 @@ const deserializeAws_restJson1GetRuleCommandError = async (output, context) => {
|
|
|
404
404
|
$fault: "client",
|
|
405
405
|
$metadata: deserializeMetadata(output),
|
|
406
406
|
});
|
|
407
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
407
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
const deserializeAws_restJson1ListRulesCommand = async (output, context) => {
|
|
@@ -416,9 +416,9 @@ const deserializeAws_restJson1ListRulesCommand = async (output, context) => {
|
|
|
416
416
|
NextToken: undefined,
|
|
417
417
|
Rules: undefined,
|
|
418
418
|
};
|
|
419
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
419
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
420
420
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
421
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
421
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
422
422
|
}
|
|
423
423
|
if (data.Rules !== undefined && data.Rules !== null) {
|
|
424
424
|
contents.Rules = deserializeAws_restJson1RuleSummaryList(data.Rules, context);
|
|
@@ -448,7 +448,7 @@ const deserializeAws_restJson1ListRulesCommandError = async (output, context) =>
|
|
|
448
448
|
$fault: "client",
|
|
449
449
|
$metadata: deserializeMetadata(output),
|
|
450
450
|
});
|
|
451
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
451
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
454
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -459,7 +459,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
459
459
|
$metadata: deserializeMetadata(output),
|
|
460
460
|
Tags: undefined,
|
|
461
461
|
};
|
|
462
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
462
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
463
463
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
464
464
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
465
465
|
}
|
|
@@ -491,7 +491,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
491
491
|
$fault: "client",
|
|
492
492
|
$metadata: deserializeMetadata(output),
|
|
493
493
|
});
|
|
494
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
494
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
497
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -533,7 +533,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
533
533
|
$fault: "client",
|
|
534
534
|
$metadata: deserializeMetadata(output),
|
|
535
535
|
});
|
|
536
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
536
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
537
537
|
}
|
|
538
538
|
};
|
|
539
539
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -572,7 +572,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
572
572
|
$fault: "client",
|
|
573
573
|
$metadata: deserializeMetadata(output),
|
|
574
574
|
});
|
|
575
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
575
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
578
|
const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => {
|
|
@@ -588,24 +588,24 @@ const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => {
|
|
|
588
588
|
RetentionPeriod: undefined,
|
|
589
589
|
Status: undefined,
|
|
590
590
|
};
|
|
591
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
591
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
592
592
|
if (data.Description !== undefined && data.Description !== null) {
|
|
593
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
593
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
594
594
|
}
|
|
595
595
|
if (data.Identifier !== undefined && data.Identifier !== null) {
|
|
596
|
-
contents.Identifier = smithy_client_1.expectString(data.Identifier);
|
|
596
|
+
contents.Identifier = (0, smithy_client_1.expectString)(data.Identifier);
|
|
597
597
|
}
|
|
598
598
|
if (data.ResourceTags !== undefined && data.ResourceTags !== null) {
|
|
599
599
|
contents.ResourceTags = deserializeAws_restJson1ResourceTags(data.ResourceTags, context);
|
|
600
600
|
}
|
|
601
601
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
602
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
602
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
603
603
|
}
|
|
604
604
|
if (data.RetentionPeriod !== undefined && data.RetentionPeriod !== null) {
|
|
605
605
|
contents.RetentionPeriod = deserializeAws_restJson1RetentionPeriod(data.RetentionPeriod, context);
|
|
606
606
|
}
|
|
607
607
|
if (data.Status !== undefined && data.Status !== null) {
|
|
608
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
608
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
609
609
|
}
|
|
610
610
|
return Promise.resolve(contents);
|
|
611
611
|
};
|
|
@@ -635,65 +635,65 @@ const deserializeAws_restJson1UpdateRuleCommandError = async (output, context) =
|
|
|
635
635
|
$fault: "client",
|
|
636
636
|
$metadata: deserializeMetadata(output),
|
|
637
637
|
});
|
|
638
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
638
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
639
639
|
}
|
|
640
640
|
};
|
|
641
641
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
642
642
|
const contents = {};
|
|
643
643
|
const data = parsedOutput.body;
|
|
644
644
|
if (data.Message !== undefined && data.Message !== null) {
|
|
645
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
645
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
646
646
|
}
|
|
647
647
|
const exception = new models_0_1.InternalServerException({
|
|
648
648
|
$metadata: deserializeMetadata(parsedOutput),
|
|
649
649
|
...contents,
|
|
650
650
|
});
|
|
651
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
651
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
652
652
|
};
|
|
653
653
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
654
654
|
const contents = {};
|
|
655
655
|
const data = parsedOutput.body;
|
|
656
656
|
if (data.Message !== undefined && data.Message !== null) {
|
|
657
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
657
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
658
658
|
}
|
|
659
659
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
660
|
-
contents.Reason = smithy_client_1.expectString(data.Reason);
|
|
660
|
+
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
661
661
|
}
|
|
662
662
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
663
663
|
$metadata: deserializeMetadata(parsedOutput),
|
|
664
664
|
...contents,
|
|
665
665
|
});
|
|
666
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
666
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
667
667
|
};
|
|
668
668
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
669
669
|
const contents = {};
|
|
670
670
|
const data = parsedOutput.body;
|
|
671
671
|
if (data.Message !== undefined && data.Message !== null) {
|
|
672
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
672
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
673
673
|
}
|
|
674
674
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
675
|
-
contents.Reason = smithy_client_1.expectString(data.Reason);
|
|
675
|
+
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
676
676
|
}
|
|
677
677
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
678
678
|
$metadata: deserializeMetadata(parsedOutput),
|
|
679
679
|
...contents,
|
|
680
680
|
});
|
|
681
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
681
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
682
682
|
};
|
|
683
683
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
684
684
|
const contents = {};
|
|
685
685
|
const data = parsedOutput.body;
|
|
686
686
|
if (data.Message !== undefined && data.Message !== null) {
|
|
687
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
687
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
688
688
|
}
|
|
689
689
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
690
|
-
contents.Reason = smithy_client_1.expectString(data.Reason);
|
|
690
|
+
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
691
691
|
}
|
|
692
692
|
const exception = new models_0_1.ValidationException({
|
|
693
693
|
$metadata: deserializeMetadata(parsedOutput),
|
|
694
694
|
...contents,
|
|
695
695
|
});
|
|
696
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
696
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
697
697
|
};
|
|
698
698
|
const serializeAws_restJson1ResourceTag = (input, context) => {
|
|
699
699
|
return {
|
|
@@ -739,8 +739,8 @@ const serializeAws_restJson1TagList = (input, context) => {
|
|
|
739
739
|
};
|
|
740
740
|
const deserializeAws_restJson1ResourceTag = (output, context) => {
|
|
741
741
|
return {
|
|
742
|
-
ResourceTagKey: smithy_client_1.expectString(output.ResourceTagKey),
|
|
743
|
-
ResourceTagValue: smithy_client_1.expectString(output.ResourceTagValue),
|
|
742
|
+
ResourceTagKey: (0, smithy_client_1.expectString)(output.ResourceTagKey),
|
|
743
|
+
ResourceTagValue: (0, smithy_client_1.expectString)(output.ResourceTagValue),
|
|
744
744
|
};
|
|
745
745
|
};
|
|
746
746
|
const deserializeAws_restJson1ResourceTags = (output, context) => {
|
|
@@ -756,14 +756,14 @@ const deserializeAws_restJson1ResourceTags = (output, context) => {
|
|
|
756
756
|
};
|
|
757
757
|
const deserializeAws_restJson1RetentionPeriod = (output, context) => {
|
|
758
758
|
return {
|
|
759
|
-
RetentionPeriodUnit: smithy_client_1.expectString(output.RetentionPeriodUnit),
|
|
760
|
-
RetentionPeriodValue: smithy_client_1.expectInt32(output.RetentionPeriodValue),
|
|
759
|
+
RetentionPeriodUnit: (0, smithy_client_1.expectString)(output.RetentionPeriodUnit),
|
|
760
|
+
RetentionPeriodValue: (0, smithy_client_1.expectInt32)(output.RetentionPeriodValue),
|
|
761
761
|
};
|
|
762
762
|
};
|
|
763
763
|
const deserializeAws_restJson1RuleSummary = (output, context) => {
|
|
764
764
|
return {
|
|
765
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
766
|
-
Identifier: smithy_client_1.expectString(output.Identifier),
|
|
765
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
766
|
+
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
767
767
|
RetentionPeriod: output.RetentionPeriod !== undefined && output.RetentionPeriod !== null
|
|
768
768
|
? deserializeAws_restJson1RetentionPeriod(output.RetentionPeriod, context)
|
|
769
769
|
: undefined,
|
|
@@ -782,8 +782,8 @@ const deserializeAws_restJson1RuleSummaryList = (output, context) => {
|
|
|
782
782
|
};
|
|
783
783
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
784
784
|
return {
|
|
785
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
786
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
785
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
786
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
789
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -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,
|
package/dist-es/Rbin.js
CHANGED
|
@@ -20,7 +20,7 @@ var Rbin = (function (_super) {
|
|
|
20
20
|
}
|
|
21
21
|
else if (typeof cb === "function") {
|
|
22
22
|
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error("Expect http options but get "
|
|
23
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
24
24
|
this.send(command, optionsOrCb || {}, cb);
|
|
25
25
|
}
|
|
26
26
|
else {
|
|
@@ -34,7 +34,7 @@ var Rbin = (function (_super) {
|
|
|
34
34
|
}
|
|
35
35
|
else if (typeof cb === "function") {
|
|
36
36
|
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error("Expect http options but get "
|
|
37
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
38
38
|
this.send(command, optionsOrCb || {}, cb);
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
@@ -48,7 +48,7 @@ var Rbin = (function (_super) {
|
|
|
48
48
|
}
|
|
49
49
|
else if (typeof cb === "function") {
|
|
50
50
|
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error("Expect http options but get "
|
|
51
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
52
52
|
this.send(command, optionsOrCb || {}, cb);
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
@@ -62,7 +62,7 @@ var Rbin = (function (_super) {
|
|
|
62
62
|
}
|
|
63
63
|
else if (typeof cb === "function") {
|
|
64
64
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error("Expect http options but get "
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
66
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
@@ -76,7 +76,7 @@ var Rbin = (function (_super) {
|
|
|
76
76
|
}
|
|
77
77
|
else if (typeof cb === "function") {
|
|
78
78
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error("Expect http options but get "
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
@@ -90,7 +90,7 @@ var Rbin = (function (_super) {
|
|
|
90
90
|
}
|
|
91
91
|
else if (typeof cb === "function") {
|
|
92
92
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error("Expect http options but get "
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
@@ -104,7 +104,7 @@ var Rbin = (function (_super) {
|
|
|
104
104
|
}
|
|
105
105
|
else if (typeof cb === "function") {
|
|
106
106
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error("Expect http options but get "
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
109
|
}
|
|
110
110
|
else {
|
|
@@ -118,7 +118,7 @@ var Rbin = (function (_super) {
|
|
|
118
118
|
}
|
|
119
119
|
else if (typeof cb === "function") {
|
|
120
120
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error("Expect http options but get "
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
123
|
}
|
|
124
124
|
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 ListRulesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRulesCommand(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.listRules.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listRules.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 paginateListRules(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Rbin)) 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 RbinClient)) 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];
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateRuleCommand = function (input, context) {
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rules";
|
|
17
17
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.ResourceTags !== undefined &&
|
|
18
18
|
input.ResourceTags !== null && { ResourceTags: serializeAws_restJson1ResourceTags(input.ResourceTags, context) })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })), (input.RetentionPeriod !== undefined &&
|
|
19
19
|
input.RetentionPeriod !== null && {
|
|
@@ -40,7 +40,7 @@ export var serializeAws_restJson1DeleteRuleCommand = function (input, context) {
|
|
|
40
40
|
case 1:
|
|
41
41
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
42
42
|
headers = {};
|
|
43
|
-
resolvedPath = ""
|
|
43
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rules/{Identifier}";
|
|
44
44
|
if (input.Identifier !== undefined) {
|
|
45
45
|
labelValue = input.Identifier;
|
|
46
46
|
if (labelValue.length <= 0) {
|
|
@@ -71,7 +71,7 @@ export var serializeAws_restJson1GetRuleCommand = function (input, context) { re
|
|
|
71
71
|
case 1:
|
|
72
72
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
73
73
|
headers = {};
|
|
74
|
-
resolvedPath = ""
|
|
74
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rules/{Identifier}";
|
|
75
75
|
if (input.Identifier !== undefined) {
|
|
76
76
|
labelValue = input.Identifier;
|
|
77
77
|
if (labelValue.length <= 0) {
|
|
@@ -104,7 +104,7 @@ export var serializeAws_restJson1ListRulesCommand = function (input, context) {
|
|
|
104
104
|
headers = {
|
|
105
105
|
"content-type": "application/json",
|
|
106
106
|
};
|
|
107
|
-
resolvedPath = ""
|
|
107
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-rules";
|
|
108
108
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceTags !== undefined &&
|
|
109
109
|
input.ResourceTags !== null && { ResourceTags: serializeAws_restJson1ResourceTags(input.ResourceTags, context) })), (input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType })));
|
|
110
110
|
return [2, new __HttpRequest({
|
|
@@ -127,7 +127,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
127
127
|
case 1:
|
|
128
128
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
129
129
|
headers = {};
|
|
130
|
-
resolvedPath = ""
|
|
130
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
131
131
|
if (input.ResourceArn !== undefined) {
|
|
132
132
|
labelValue = input.ResourceArn;
|
|
133
133
|
if (labelValue.length <= 0) {
|
|
@@ -160,7 +160,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
160
160
|
headers = {
|
|
161
161
|
"content-type": "application/json",
|
|
162
162
|
};
|
|
163
|
-
resolvedPath = ""
|
|
163
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
164
164
|
if (input.ResourceArn !== undefined) {
|
|
165
165
|
labelValue = input.ResourceArn;
|
|
166
166
|
if (labelValue.length <= 0) {
|
|
@@ -193,7 +193,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
193
193
|
case 1:
|
|
194
194
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
195
195
|
headers = {};
|
|
196
|
-
resolvedPath = ""
|
|
196
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
197
197
|
if (input.ResourceArn !== undefined) {
|
|
198
198
|
labelValue = input.ResourceArn;
|
|
199
199
|
if (labelValue.length <= 0) {
|
|
@@ -228,7 +228,7 @@ export var serializeAws_restJson1UpdateRuleCommand = function (input, context) {
|
|
|
228
228
|
headers = {
|
|
229
229
|
"content-type": "application/json",
|
|
230
230
|
};
|
|
231
|
-
resolvedPath = ""
|
|
231
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rules/{Identifier}";
|
|
232
232
|
if (input.Identifier !== undefined) {
|
|
233
233
|
labelValue = input.Identifier;
|
|
234
234
|
if (labelValue.length <= 0) {
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
|
|
|
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;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: RbinClientConfig) => {
|
|
|
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-rbin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.58.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.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.58.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.58.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.58.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.58.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.58.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"
|