@aws-sdk/client-resource-groups-tagging-api 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/ResourceGroupsTaggingAPI.js +41 -34
- package/dist-es/ResourceGroupsTaggingAPIClient.js +28 -22
- package/dist-es/commands/DescribeReportCreationCommand.js +28 -21
- package/dist-es/commands/GetComplianceSummaryCommand.js +28 -21
- package/dist-es/commands/GetResourcesCommand.js +28 -21
- package/dist-es/commands/GetTagKeysCommand.js +28 -21
- package/dist-es/commands/GetTagValuesCommand.js +28 -21
- package/dist-es/commands/StartReportCreationCommand.js +28 -21
- package/dist-es/commands/TagResourcesCommand.js +28 -21
- package/dist-es/commands/UntagResourcesCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ResourceGroupsTaggingAPIServiceException.js +10 -5
- package/dist-es/models/models_0.js +95 -138
- package/dist-es/pagination/GetComplianceSummaryPaginator.js +68 -25
- package/dist-es/pagination/GetResourcesPaginator.js +68 -25
- package/dist-es/pagination/GetTagKeysPaginator.js +67 -24
- package/dist-es/pagination/GetTagValuesPaginator.js +67 -24
- package/dist-es/protocols/Aws_json1_1.js +823 -651
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-resource-groups-tagging-api
|
|
@@ -826,10 +826,10 @@ const deserializeAws_json1_1UntagResourcesOutput = (output, context) => {
|
|
|
826
826
|
};
|
|
827
827
|
};
|
|
828
828
|
const deserializeMetadata = (output) => {
|
|
829
|
-
var _a;
|
|
829
|
+
var _a, _b;
|
|
830
830
|
return ({
|
|
831
831
|
httpStatusCode: output.statusCode,
|
|
832
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
832
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
833
833
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
834
834
|
cfId: output.headers["x-amz-cf-id"],
|
|
835
835
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { DescribeReportCreationCommand, } from "./commands/DescribeReportCreationCommand";
|
|
2
3
|
import { GetComplianceSummaryCommand, } from "./commands/GetComplianceSummaryCommand";
|
|
3
4
|
import { GetResourcesCommand, } from "./commands/GetResourcesCommand";
|
|
@@ -7,117 +8,123 @@ import { StartReportCreationCommand, } from "./commands/StartReportCreationComma
|
|
|
7
8
|
import { TagResourcesCommand, } from "./commands/TagResourcesCommand";
|
|
8
9
|
import { UntagResourcesCommand, } from "./commands/UntagResourcesCommand";
|
|
9
10
|
import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
var ResourceGroupsTaggingAPI = (function (_super) {
|
|
12
|
+
__extends(ResourceGroupsTaggingAPI, _super);
|
|
13
|
+
function ResourceGroupsTaggingAPI() {
|
|
14
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
15
|
+
}
|
|
16
|
+
ResourceGroupsTaggingAPI.prototype.describeReportCreation = function (args, optionsOrCb, cb) {
|
|
17
|
+
var command = new DescribeReportCreationCommand(args);
|
|
13
18
|
if (typeof optionsOrCb === "function") {
|
|
14
19
|
this.send(command, optionsOrCb);
|
|
15
20
|
}
|
|
16
21
|
else if (typeof cb === "function") {
|
|
17
22
|
if (typeof optionsOrCb !== "object")
|
|
18
|
-
throw new Error(
|
|
23
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
19
24
|
this.send(command, optionsOrCb || {}, cb);
|
|
20
25
|
}
|
|
21
26
|
else {
|
|
22
27
|
return this.send(command, optionsOrCb);
|
|
23
28
|
}
|
|
24
|
-
}
|
|
25
|
-
getComplianceSummary(args, optionsOrCb, cb) {
|
|
26
|
-
|
|
29
|
+
};
|
|
30
|
+
ResourceGroupsTaggingAPI.prototype.getComplianceSummary = function (args, optionsOrCb, cb) {
|
|
31
|
+
var command = new GetComplianceSummaryCommand(args);
|
|
27
32
|
if (typeof optionsOrCb === "function") {
|
|
28
33
|
this.send(command, optionsOrCb);
|
|
29
34
|
}
|
|
30
35
|
else if (typeof cb === "function") {
|
|
31
36
|
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(
|
|
37
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
33
38
|
this.send(command, optionsOrCb || {}, cb);
|
|
34
39
|
}
|
|
35
40
|
else {
|
|
36
41
|
return this.send(command, optionsOrCb);
|
|
37
42
|
}
|
|
38
|
-
}
|
|
39
|
-
getResources(args, optionsOrCb, cb) {
|
|
40
|
-
|
|
43
|
+
};
|
|
44
|
+
ResourceGroupsTaggingAPI.prototype.getResources = function (args, optionsOrCb, cb) {
|
|
45
|
+
var command = new GetResourcesCommand(args);
|
|
41
46
|
if (typeof optionsOrCb === "function") {
|
|
42
47
|
this.send(command, optionsOrCb);
|
|
43
48
|
}
|
|
44
49
|
else if (typeof cb === "function") {
|
|
45
50
|
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(
|
|
51
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
47
52
|
this.send(command, optionsOrCb || {}, cb);
|
|
48
53
|
}
|
|
49
54
|
else {
|
|
50
55
|
return this.send(command, optionsOrCb);
|
|
51
56
|
}
|
|
52
|
-
}
|
|
53
|
-
getTagKeys(args, optionsOrCb, cb) {
|
|
54
|
-
|
|
57
|
+
};
|
|
58
|
+
ResourceGroupsTaggingAPI.prototype.getTagKeys = function (args, optionsOrCb, cb) {
|
|
59
|
+
var command = new GetTagKeysCommand(args);
|
|
55
60
|
if (typeof optionsOrCb === "function") {
|
|
56
61
|
this.send(command, optionsOrCb);
|
|
57
62
|
}
|
|
58
63
|
else if (typeof cb === "function") {
|
|
59
64
|
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
61
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
62
67
|
}
|
|
63
68
|
else {
|
|
64
69
|
return this.send(command, optionsOrCb);
|
|
65
70
|
}
|
|
66
|
-
}
|
|
67
|
-
getTagValues(args, optionsOrCb, cb) {
|
|
68
|
-
|
|
71
|
+
};
|
|
72
|
+
ResourceGroupsTaggingAPI.prototype.getTagValues = function (args, optionsOrCb, cb) {
|
|
73
|
+
var command = new GetTagValuesCommand(args);
|
|
69
74
|
if (typeof optionsOrCb === "function") {
|
|
70
75
|
this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
77
|
else if (typeof cb === "function") {
|
|
73
78
|
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
75
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
76
81
|
}
|
|
77
82
|
else {
|
|
78
83
|
return this.send(command, optionsOrCb);
|
|
79
84
|
}
|
|
80
|
-
}
|
|
81
|
-
startReportCreation(args, optionsOrCb, cb) {
|
|
82
|
-
|
|
85
|
+
};
|
|
86
|
+
ResourceGroupsTaggingAPI.prototype.startReportCreation = function (args, optionsOrCb, cb) {
|
|
87
|
+
var command = new StartReportCreationCommand(args);
|
|
83
88
|
if (typeof optionsOrCb === "function") {
|
|
84
89
|
this.send(command, optionsOrCb);
|
|
85
90
|
}
|
|
86
91
|
else if (typeof cb === "function") {
|
|
87
92
|
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
89
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
90
95
|
}
|
|
91
96
|
else {
|
|
92
97
|
return this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
|
-
}
|
|
95
|
-
tagResources(args, optionsOrCb, cb) {
|
|
96
|
-
|
|
99
|
+
};
|
|
100
|
+
ResourceGroupsTaggingAPI.prototype.tagResources = function (args, optionsOrCb, cb) {
|
|
101
|
+
var command = new TagResourcesCommand(args);
|
|
97
102
|
if (typeof optionsOrCb === "function") {
|
|
98
103
|
this.send(command, optionsOrCb);
|
|
99
104
|
}
|
|
100
105
|
else if (typeof cb === "function") {
|
|
101
106
|
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
103
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
104
109
|
}
|
|
105
110
|
else {
|
|
106
111
|
return this.send(command, optionsOrCb);
|
|
107
112
|
}
|
|
108
|
-
}
|
|
109
|
-
untagResources(args, optionsOrCb, cb) {
|
|
110
|
-
|
|
113
|
+
};
|
|
114
|
+
ResourceGroupsTaggingAPI.prototype.untagResources = function (args, optionsOrCb, cb) {
|
|
115
|
+
var command = new UntagResourcesCommand(args);
|
|
111
116
|
if (typeof optionsOrCb === "function") {
|
|
112
117
|
this.send(command, optionsOrCb);
|
|
113
118
|
}
|
|
114
119
|
else if (typeof cb === "function") {
|
|
115
120
|
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
117
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
118
123
|
}
|
|
119
124
|
else {
|
|
120
125
|
return this.send(command, optionsOrCb);
|
|
121
126
|
}
|
|
122
|
-
}
|
|
123
|
-
|
|
127
|
+
};
|
|
128
|
+
return ResourceGroupsTaggingAPI;
|
|
129
|
+
}(ResourceGroupsTaggingAPIClient));
|
|
130
|
+
export { ResourceGroupsTaggingAPI };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var ResourceGroupsTaggingAPIClient = (function (_super) {
|
|
13
|
+
__extends(ResourceGroupsTaggingAPIClient, _super);
|
|
14
|
+
function ResourceGroupsTaggingAPIClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
ResourceGroupsTaggingAPIClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ResourceGroupsTaggingAPIClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ResourceGroupsTaggingAPIClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeReportCreationInputFilterSensitiveLog, DescribeReportCreationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeReportCreationCommand, serializeAws_json1_1DescribeReportCreationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeReportCreationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeReportCreationCommand, _super);
|
|
8
|
+
function DescribeReportCreationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeReportCreationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsTaggingAPIClient";
|
|
18
|
+
var commandName = "DescribeReportCreationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeReportCreationInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeReportCreationOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeReportCreationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeReportCreationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeReportCreationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeReportCreationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeReportCreationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeReportCreationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetComplianceSummaryInputFilterSensitiveLog, GetComplianceSummaryOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetComplianceSummaryCommand, serializeAws_json1_1GetComplianceSummaryCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetComplianceSummaryCommand = (function (_super) {
|
|
7
|
+
__extends(GetComplianceSummaryCommand, _super);
|
|
8
|
+
function GetComplianceSummaryCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetComplianceSummaryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsTaggingAPIClient";
|
|
18
|
+
var commandName = "GetComplianceSummaryCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetComplianceSummaryInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetComplianceSummaryOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetComplianceSummaryCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetComplianceSummaryCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetComplianceSummaryCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetComplianceSummaryCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetComplianceSummaryCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetComplianceSummaryCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetResourcesInputFilterSensitiveLog, GetResourcesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetResourcesCommand, serializeAws_json1_1GetResourcesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(GetResourcesCommand, _super);
|
|
8
|
+
function GetResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsTaggingAPIClient";
|
|
18
|
+
var commandName = "GetResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetResourcesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetResourcesOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetResourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetResourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetResourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetResourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetResourcesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetTagKeysInputFilterSensitiveLog, GetTagKeysOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetTagKeysCommand, serializeAws_json1_1GetTagKeysCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetTagKeysCommand = (function (_super) {
|
|
7
|
+
__extends(GetTagKeysCommand, _super);
|
|
8
|
+
function GetTagKeysCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTagKeysCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsTaggingAPIClient";
|
|
18
|
+
var commandName = "GetTagKeysCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTagKeysInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetTagKeysOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTagKeysCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetTagKeysCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTagKeysCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetTagKeysCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTagKeysCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTagKeysCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetTagValuesInputFilterSensitiveLog, GetTagValuesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetTagValuesCommand, serializeAws_json1_1GetTagValuesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetTagValuesCommand = (function (_super) {
|
|
7
|
+
__extends(GetTagValuesCommand, _super);
|
|
8
|
+
function GetTagValuesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTagValuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsTaggingAPIClient";
|
|
18
|
+
var commandName = "GetTagValuesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTagValuesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetTagValuesOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTagValuesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetTagValuesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTagValuesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetTagValuesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTagValuesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTagValuesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartReportCreationInputFilterSensitiveLog, StartReportCreationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StartReportCreationCommand, serializeAws_json1_1StartReportCreationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartReportCreationCommand = (function (_super) {
|
|
7
|
+
__extends(StartReportCreationCommand, _super);
|
|
8
|
+
function StartReportCreationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartReportCreationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ResourceGroupsTaggingAPIClient";
|
|
18
|
+
var commandName = "StartReportCreationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartReportCreationInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartReportCreationOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartReportCreationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StartReportCreationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartReportCreationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StartReportCreationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartReportCreationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartReportCreationCommand };
|