@aws-sdk/client-resource-groups-tagging-api 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/ResourceGroupsTaggingAPIClient.js +13 -13
- package/dist-cjs/commands/DescribeReportCreationCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetResourcesCommand.js +3 -3
- package/dist-cjs/commands/GetTagKeysCommand.js +3 -3
- package/dist-cjs/commands/GetTagValuesCommand.js +3 -3
- package/dist-cjs/commands/StartReportCreationCommand.js +3 -3
- package/dist-cjs/commands/TagResourcesCommand.js +3 -3
- package/dist-cjs/commands/UntagResourcesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +43 -43
- 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/ResourceGroupsTaggingAPI.js +8 -8
- package/dist-es/pagination/GetComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetResourcesPaginator.js +4 -4
- package/dist-es/pagination/GetTagKeysPaginator.js +4 -4
- package/dist-es/pagination/GetTagValuesPaginator.js +4 -4
- package/dist-types/ResourceGroupsTaggingAPIClient.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/ResourceGroupsTaggingAPIClient.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-resource-groups-tagging-api
|
|
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-resource-groups-tagging-api
|
|
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-resource-groups-tagging-api
|
|
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 ResourceGroupsTaggingAPIClient 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 DescribeReportCreationCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class DescribeReportCreationCommand 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_json1_1_1.serializeAws_json1_1DescribeReportCreationCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeReportCreationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1DescribeReportCreationCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeReportCreationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeReportCreationCommand = DescribeReportCreationCommand;
|
|
@@ -11,7 +11,7 @@ class GetComplianceSummaryCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class GetComplianceSummaryCommand 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_json1_1_1.serializeAws_json1_1GetComplianceSummaryCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetComplianceSummaryCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetComplianceSummaryCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetComplianceSummaryCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetComplianceSummaryCommand = GetComplianceSummaryCommand;
|
|
@@ -11,7 +11,7 @@ class GetResourcesCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class GetResourcesCommand 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_json1_1_1.serializeAws_json1_1GetResourcesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetResourcesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetResourcesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetResourcesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetResourcesCommand = GetResourcesCommand;
|
|
@@ -11,7 +11,7 @@ class GetTagKeysCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class GetTagKeysCommand 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_json1_1_1.serializeAws_json1_1GetTagKeysCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetTagKeysCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetTagKeysCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetTagKeysCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetTagKeysCommand = GetTagKeysCommand;
|
|
@@ -11,7 +11,7 @@ class GetTagValuesCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class GetTagValuesCommand 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_json1_1_1.serializeAws_json1_1GetTagValuesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetTagValuesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetTagValuesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetTagValuesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetTagValuesCommand = GetTagValuesCommand;
|
|
@@ -11,7 +11,7 @@ class StartReportCreationCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class StartReportCreationCommand 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_json1_1_1.serializeAws_json1_1StartReportCreationCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartReportCreationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1StartReportCreationCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartReportCreationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartReportCreationCommand = StartReportCreationCommand;
|
|
@@ -11,7 +11,7 @@ class TagResourcesCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class TagResourcesCommand 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_json1_1_1.serializeAws_json1_1TagResourcesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1TagResourcesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1TagResourcesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourcesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagResourcesCommand = TagResourcesCommand;
|
|
@@ -11,7 +11,7 @@ class UntagResourcesCommand 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 = "ResourceGroupsTaggingAPIClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourcesCommand 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_json1_1_1.serializeAws_json1_1UntagResourcesCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourcesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UntagResourcesCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourcesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourcesCommand = UntagResourcesCommand;
|
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: "tagging",
|
|
128
128
|
regionHash,
|
|
@@ -127,7 +127,7 @@ const deserializeAws_json1_1DescribeReportCreationCommandError = async (output,
|
|
|
127
127
|
$fault: "client",
|
|
128
128
|
$metadata: deserializeMetadata(output),
|
|
129
129
|
});
|
|
130
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
130
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
const deserializeAws_json1_1GetComplianceSummaryCommand = async (output, context) => {
|
|
@@ -172,7 +172,7 @@ const deserializeAws_json1_1GetComplianceSummaryCommandError = async (output, co
|
|
|
172
172
|
$fault: "client",
|
|
173
173
|
$metadata: deserializeMetadata(output),
|
|
174
174
|
});
|
|
175
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
175
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
const deserializeAws_json1_1GetResourcesCommand = async (output, context) => {
|
|
@@ -217,7 +217,7 @@ const deserializeAws_json1_1GetResourcesCommandError = async (output, context) =
|
|
|
217
217
|
$fault: "client",
|
|
218
218
|
$metadata: deserializeMetadata(output),
|
|
219
219
|
});
|
|
220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
const deserializeAws_json1_1GetTagKeysCommand = async (output, context) => {
|
|
@@ -262,7 +262,7 @@ const deserializeAws_json1_1GetTagKeysCommandError = async (output, context) =>
|
|
|
262
262
|
$fault: "client",
|
|
263
263
|
$metadata: deserializeMetadata(output),
|
|
264
264
|
});
|
|
265
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
265
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
const deserializeAws_json1_1GetTagValuesCommand = async (output, context) => {
|
|
@@ -307,7 +307,7 @@ const deserializeAws_json1_1GetTagValuesCommandError = async (output, context) =
|
|
|
307
307
|
$fault: "client",
|
|
308
308
|
$metadata: deserializeMetadata(output),
|
|
309
309
|
});
|
|
310
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
310
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
const deserializeAws_json1_1StartReportCreationCommand = async (output, context) => {
|
|
@@ -355,7 +355,7 @@ const deserializeAws_json1_1StartReportCreationCommandError = async (output, con
|
|
|
355
355
|
$fault: "client",
|
|
356
356
|
$metadata: deserializeMetadata(output),
|
|
357
357
|
});
|
|
358
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
358
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
const deserializeAws_json1_1TagResourcesCommand = async (output, context) => {
|
|
@@ -397,7 +397,7 @@ const deserializeAws_json1_1TagResourcesCommandError = async (output, context) =
|
|
|
397
397
|
$fault: "client",
|
|
398
398
|
$metadata: deserializeMetadata(output),
|
|
399
399
|
});
|
|
400
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
400
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
401
401
|
}
|
|
402
402
|
};
|
|
403
403
|
const deserializeAws_json1_1UntagResourcesCommand = async (output, context) => {
|
|
@@ -439,7 +439,7 @@ const deserializeAws_json1_1UntagResourcesCommandError = async (output, context)
|
|
|
439
439
|
$fault: "client",
|
|
440
440
|
$metadata: deserializeMetadata(output),
|
|
441
441
|
});
|
|
442
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
445
|
const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -449,7 +449,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
|
|
|
449
449
|
$metadata: deserializeMetadata(parsedOutput),
|
|
450
450
|
...deserialized,
|
|
451
451
|
});
|
|
452
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
452
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
453
453
|
};
|
|
454
454
|
const deserializeAws_json1_1ConstraintViolationExceptionResponse = async (parsedOutput, context) => {
|
|
455
455
|
const body = parsedOutput.body;
|
|
@@ -458,7 +458,7 @@ const deserializeAws_json1_1ConstraintViolationExceptionResponse = async (parsed
|
|
|
458
458
|
$metadata: deserializeMetadata(parsedOutput),
|
|
459
459
|
...deserialized,
|
|
460
460
|
});
|
|
461
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
461
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
462
462
|
};
|
|
463
463
|
const deserializeAws_json1_1InternalServiceExceptionResponse = async (parsedOutput, context) => {
|
|
464
464
|
const body = parsedOutput.body;
|
|
@@ -467,7 +467,7 @@ const deserializeAws_json1_1InternalServiceExceptionResponse = async (parsedOutp
|
|
|
467
467
|
$metadata: deserializeMetadata(parsedOutput),
|
|
468
468
|
...deserialized,
|
|
469
469
|
});
|
|
470
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
470
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
471
471
|
};
|
|
472
472
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
473
473
|
const body = parsedOutput.body;
|
|
@@ -476,7 +476,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
|
|
|
476
476
|
$metadata: deserializeMetadata(parsedOutput),
|
|
477
477
|
...deserialized,
|
|
478
478
|
});
|
|
479
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
479
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
480
480
|
};
|
|
481
481
|
const deserializeAws_json1_1PaginationTokenExpiredExceptionResponse = async (parsedOutput, context) => {
|
|
482
482
|
const body = parsedOutput.body;
|
|
@@ -485,7 +485,7 @@ const deserializeAws_json1_1PaginationTokenExpiredExceptionResponse = async (par
|
|
|
485
485
|
$metadata: deserializeMetadata(parsedOutput),
|
|
486
486
|
...deserialized,
|
|
487
487
|
});
|
|
488
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
488
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
489
489
|
};
|
|
490
490
|
const deserializeAws_json1_1ThrottledExceptionResponse = async (parsedOutput, context) => {
|
|
491
491
|
const body = parsedOutput.body;
|
|
@@ -494,7 +494,7 @@ const deserializeAws_json1_1ThrottledExceptionResponse = async (parsedOutput, co
|
|
|
494
494
|
$metadata: deserializeMetadata(parsedOutput),
|
|
495
495
|
...deserialized,
|
|
496
496
|
});
|
|
497
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
497
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
498
498
|
};
|
|
499
499
|
const serializeAws_json1_1DescribeReportCreationInput = (input, context) => {
|
|
500
500
|
return {};
|
|
@@ -704,7 +704,7 @@ const serializeAws_json1_1UntagResourcesInput = (input, context) => {
|
|
|
704
704
|
};
|
|
705
705
|
const deserializeAws_json1_1ComplianceDetails = (output, context) => {
|
|
706
706
|
return {
|
|
707
|
-
ComplianceStatus: smithy_client_1.expectBoolean(output.ComplianceStatus),
|
|
707
|
+
ComplianceStatus: (0, smithy_client_1.expectBoolean)(output.ComplianceStatus),
|
|
708
708
|
KeysWithNoncompliantValues: output.KeysWithNoncompliantValues !== undefined && output.KeysWithNoncompliantValues !== null
|
|
709
709
|
? deserializeAws_json1_1TagKeyList(output.KeysWithNoncompliantValues, context)
|
|
710
710
|
: undefined,
|
|
@@ -715,20 +715,20 @@ const deserializeAws_json1_1ComplianceDetails = (output, context) => {
|
|
|
715
715
|
};
|
|
716
716
|
const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
|
|
717
717
|
return {
|
|
718
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
718
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
719
719
|
};
|
|
720
720
|
};
|
|
721
721
|
const deserializeAws_json1_1ConstraintViolationException = (output, context) => {
|
|
722
722
|
return {
|
|
723
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
723
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
724
724
|
};
|
|
725
725
|
};
|
|
726
726
|
const deserializeAws_json1_1DescribeReportCreationOutput = (output, context) => {
|
|
727
727
|
return {
|
|
728
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
729
|
-
S3Location: smithy_client_1.expectString(output.S3Location),
|
|
730
|
-
StartDate: smithy_client_1.expectString(output.StartDate),
|
|
731
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
728
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
729
|
+
S3Location: (0, smithy_client_1.expectString)(output.S3Location),
|
|
730
|
+
StartDate: (0, smithy_client_1.expectString)(output.StartDate),
|
|
731
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
732
732
|
};
|
|
733
733
|
};
|
|
734
734
|
const deserializeAws_json1_1FailedResourcesMap = (output, context) => {
|
|
@@ -744,14 +744,14 @@ const deserializeAws_json1_1FailedResourcesMap = (output, context) => {
|
|
|
744
744
|
};
|
|
745
745
|
const deserializeAws_json1_1FailureInfo = (output, context) => {
|
|
746
746
|
return {
|
|
747
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
748
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
749
|
-
StatusCode: smithy_client_1.expectInt32(output.StatusCode),
|
|
747
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
748
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
749
|
+
StatusCode: (0, smithy_client_1.expectInt32)(output.StatusCode),
|
|
750
750
|
};
|
|
751
751
|
};
|
|
752
752
|
const deserializeAws_json1_1GetComplianceSummaryOutput = (output, context) => {
|
|
753
753
|
return {
|
|
754
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
754
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
755
755
|
SummaryList: output.SummaryList !== undefined && output.SummaryList !== null
|
|
756
756
|
? deserializeAws_json1_1SummaryList(output.SummaryList, context)
|
|
757
757
|
: undefined,
|
|
@@ -759,7 +759,7 @@ const deserializeAws_json1_1GetComplianceSummaryOutput = (output, context) => {
|
|
|
759
759
|
};
|
|
760
760
|
const deserializeAws_json1_1GetResourcesOutput = (output, context) => {
|
|
761
761
|
return {
|
|
762
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
762
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
763
763
|
ResourceTagMappingList: output.ResourceTagMappingList !== undefined && output.ResourceTagMappingList !== null
|
|
764
764
|
? deserializeAws_json1_1ResourceTagMappingList(output.ResourceTagMappingList, context)
|
|
765
765
|
: undefined,
|
|
@@ -767,7 +767,7 @@ const deserializeAws_json1_1GetResourcesOutput = (output, context) => {
|
|
|
767
767
|
};
|
|
768
768
|
const deserializeAws_json1_1GetTagKeysOutput = (output, context) => {
|
|
769
769
|
return {
|
|
770
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
770
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
771
771
|
TagKeys: output.TagKeys !== undefined && output.TagKeys !== null
|
|
772
772
|
? deserializeAws_json1_1TagKeyList(output.TagKeys, context)
|
|
773
773
|
: undefined,
|
|
@@ -775,7 +775,7 @@ const deserializeAws_json1_1GetTagKeysOutput = (output, context) => {
|
|
|
775
775
|
};
|
|
776
776
|
const deserializeAws_json1_1GetTagValuesOutput = (output, context) => {
|
|
777
777
|
return {
|
|
778
|
-
PaginationToken: smithy_client_1.expectString(output.PaginationToken),
|
|
778
|
+
PaginationToken: (0, smithy_client_1.expectString)(output.PaginationToken),
|
|
779
779
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
780
780
|
? deserializeAws_json1_1TagValuesOutputList(output.TagValues, context)
|
|
781
781
|
: undefined,
|
|
@@ -783,17 +783,17 @@ const deserializeAws_json1_1GetTagValuesOutput = (output, context) => {
|
|
|
783
783
|
};
|
|
784
784
|
const deserializeAws_json1_1InternalServiceException = (output, context) => {
|
|
785
785
|
return {
|
|
786
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
786
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
789
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
790
790
|
return {
|
|
791
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
791
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
792
792
|
};
|
|
793
793
|
};
|
|
794
794
|
const deserializeAws_json1_1PaginationTokenExpiredException = (output, context) => {
|
|
795
795
|
return {
|
|
796
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
796
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
797
797
|
};
|
|
798
798
|
};
|
|
799
799
|
const deserializeAws_json1_1ResourceTagMapping = (output, context) => {
|
|
@@ -801,7 +801,7 @@ const deserializeAws_json1_1ResourceTagMapping = (output, context) => {
|
|
|
801
801
|
ComplianceDetails: output.ComplianceDetails !== undefined && output.ComplianceDetails !== null
|
|
802
802
|
? deserializeAws_json1_1ComplianceDetails(output.ComplianceDetails, context)
|
|
803
803
|
: undefined,
|
|
804
|
-
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
804
|
+
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
805
805
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
806
806
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
807
807
|
: undefined,
|
|
@@ -823,12 +823,12 @@ const deserializeAws_json1_1StartReportCreationOutput = (output, context) => {
|
|
|
823
823
|
};
|
|
824
824
|
const deserializeAws_json1_1Summary = (output, context) => {
|
|
825
825
|
return {
|
|
826
|
-
LastUpdated: smithy_client_1.expectString(output.LastUpdated),
|
|
827
|
-
NonCompliantResources: smithy_client_1.expectLong(output.NonCompliantResources),
|
|
828
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
829
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
830
|
-
TargetId: smithy_client_1.expectString(output.TargetId),
|
|
831
|
-
TargetIdType: smithy_client_1.expectString(output.TargetIdType),
|
|
826
|
+
LastUpdated: (0, smithy_client_1.expectString)(output.LastUpdated),
|
|
827
|
+
NonCompliantResources: (0, smithy_client_1.expectLong)(output.NonCompliantResources),
|
|
828
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
829
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
830
|
+
TargetId: (0, smithy_client_1.expectString)(output.TargetId),
|
|
831
|
+
TargetIdType: (0, smithy_client_1.expectString)(output.TargetIdType),
|
|
832
832
|
};
|
|
833
833
|
};
|
|
834
834
|
const deserializeAws_json1_1SummaryList = (output, context) => {
|
|
@@ -844,8 +844,8 @@ const deserializeAws_json1_1SummaryList = (output, context) => {
|
|
|
844
844
|
};
|
|
845
845
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
846
846
|
return {
|
|
847
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
848
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
847
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
848
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
849
849
|
};
|
|
850
850
|
};
|
|
851
851
|
const deserializeAws_json1_1TagKeyList = (output, context) => {
|
|
@@ -855,7 +855,7 @@ const deserializeAws_json1_1TagKeyList = (output, context) => {
|
|
|
855
855
|
if (entry === null) {
|
|
856
856
|
return null;
|
|
857
857
|
}
|
|
858
|
-
return smithy_client_1.expectString(entry);
|
|
858
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
859
859
|
});
|
|
860
860
|
return retVal;
|
|
861
861
|
};
|
|
@@ -884,13 +884,13 @@ const deserializeAws_json1_1TagValuesOutputList = (output, context) => {
|
|
|
884
884
|
if (entry === null) {
|
|
885
885
|
return null;
|
|
886
886
|
}
|
|
887
|
-
return smithy_client_1.expectString(entry);
|
|
887
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
888
888
|
});
|
|
889
889
|
return retVal;
|
|
890
890
|
};
|
|
891
891
|
const deserializeAws_json1_1ThrottledException = (output, context) => {
|
|
892
892
|
return {
|
|
893
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
893
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
894
894
|
};
|
|
895
895
|
};
|
|
896
896
|
const deserializeAws_json1_1UntagResourcesOutput = (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,
|
|
@@ -20,7 +20,7 @@ var ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 ResourceGroupsTaggingAPI = (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 GetComplianceSummaryCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetComplianceSummaryCommand(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.getComplianceSummary.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getComplianceSummary.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 paginateGetComplianceSummary(config, input) {
|
|
|
48
48
|
input.PaginationToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ResourceGroupsTaggingAPI)) 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 ResourceGroupsTaggingAPIClient)) 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 GetResourcesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetResourcesCommand(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.getResources.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getResources.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 paginateGetResources(config, input) {
|
|
|
48
48
|
input.PaginationToken = token;
|
|
49
49
|
input["ResourcesPerPage"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ResourceGroupsTaggingAPI)) 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 ResourceGroupsTaggingAPIClient)) 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 GetTagKeysCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetTagKeysCommand(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.getTagKeys.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getTagKeys.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetTagKeys(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.PaginationToken = token;
|
|
49
49
|
if (!(config.client instanceof ResourceGroupsTaggingAPI)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof ResourceGroupsTaggingAPIClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
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 GetTagValuesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetTagValuesCommand(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.getTagValues.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getTagValues.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetTagValues(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.PaginationToken = token;
|
|
49
49
|
if (!(config.client instanceof ResourceGroupsTaggingAPI)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof ResourceGroupsTaggingAPIClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|
|
@@ -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 { DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput } from "./commands/DescribeReportCreationCommand";
|
|
10
10
|
import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } from "./commands/GetComplianceSummaryCommand";
|
|
11
11
|
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
|
|
@@ -36,7 +36,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
36
36
|
* A function that can calculate the length of a request body.
|
|
37
37
|
* @internal
|
|
38
38
|
*/
|
|
39
|
-
bodyLengthChecker?:
|
|
39
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
40
40
|
/**
|
|
41
41
|
* A function that converts a stream into an array of bytes.
|
|
42
42
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
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: ResourceGroupsTaggingAPIClientCo
|
|
|
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: ResourceGroupsTaggingAPIClientCo
|
|
|
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: ResourceGroupsTaggingAPIClientCo
|
|
|
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 { DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput } from "./commands/DescribeReportCreationCommand";
|
|
10
10
|
import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } from "./commands/GetComplianceSummaryCommand";
|
|
11
11
|
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
|
|
@@ -24,7 +24,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
24
24
|
|
|
25
25
|
urlParser?: __UrlParser;
|
|
26
26
|
|
|
27
|
-
bodyLengthChecker?:
|
|
27
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
28
28
|
|
|
29
29
|
streamCollector?: __StreamCollector;
|
|
30
30
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
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: ResourceGroupsTaggingAPIClientCo
|
|
|
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: ResourceGroupsTaggingAPIClientCo
|
|
|
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: ResourceGroupsTaggingAPIClientCo
|
|
|
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-resource-groups-tagging-api",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Tagging Api 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"
|