@aws-sdk/client-resource-groups-tagging-api 3.36.0 → 3.36.1
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 +11 -0
- package/dist-cjs/ResourceGroupsTaggingAPI.js +0 -3
- package/dist-cjs/ResourceGroupsTaggingAPIClient.js +0 -8
- package/dist-cjs/commands/DescribeReportCreationCommand.js +0 -26
- package/dist-cjs/commands/GetComplianceSummaryCommand.js +0 -36
- package/dist-cjs/commands/GetResourcesCommand.js +0 -47
- package/dist-cjs/commands/GetTagKeysCommand.js +0 -31
- package/dist-cjs/commands/GetTagValuesCommand.js +0 -31
- package/dist-cjs/commands/StartReportCreationCommand.js +0 -32
- package/dist-cjs/commands/TagResourcesCommand.js +0 -51
- package/dist-cjs/commands/UntagResourcesCommand.js +0 -39
- package/dist-cjs/models/models_0.js +0 -84
- package/dist-cjs/pagination/GetComplianceSummaryPaginator.js +0 -10
- package/dist-cjs/pagination/GetResourcesPaginator.js +0 -10
- package/dist-cjs/pagination/GetTagKeysPaginator.js +0 -10
- package/dist-cjs/pagination/GetTagValuesPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/ResourceGroupsTaggingAPI.d.ts +9 -128
- package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/DescribeReportCreationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetComplianceSummaryCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/GetTagKeysCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetTagValuesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/StartReportCreationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourcesCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/UntagResourcesCommand.d.ts +2 -35
- package/dist-types/ts3.4/models/models_0.d.ts +96 -569
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
|
@@ -3,72 +3,48 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UntagResourcesOutput = exports.UntagResourcesInput = exports.TagResourcesOutput = exports.TagResourcesInput = exports.StartReportCreationOutput = exports.StartReportCreationInput = exports.GetTagValuesOutput = exports.GetTagValuesInput = exports.GetTagKeysOutput = exports.GetTagKeysInput = exports.PaginationTokenExpiredException = exports.GetResourcesOutput = exports.ResourceTagMapping = exports.Tag = exports.GetResourcesInput = exports.TagFilter = exports.GetComplianceSummaryOutput = exports.Summary = exports.TargetIdType = exports.GetComplianceSummaryInput = exports.GroupByAttribute = exports.FailureInfo = exports.ErrorCode = exports.ThrottledException = exports.InvalidParameterException = exports.InternalServiceException = exports.DescribeReportCreationOutput = exports.DescribeReportCreationInput = exports.ConstraintViolationException = exports.ConcurrentModificationException = exports.ComplianceDetails = void 0;
|
|
4
4
|
var ComplianceDetails;
|
|
5
5
|
(function (ComplianceDetails) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
ComplianceDetails.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(ComplianceDetails = exports.ComplianceDetails || (exports.ComplianceDetails = {}));
|
|
13
10
|
var ConcurrentModificationException;
|
|
14
11
|
(function (ConcurrentModificationException) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
ConcurrentModificationException.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
21
15
|
})(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
|
|
22
16
|
var ConstraintViolationException;
|
|
23
17
|
(function (ConstraintViolationException) {
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
18
|
ConstraintViolationException.filterSensitiveLog = (obj) => ({
|
|
28
19
|
...obj,
|
|
29
20
|
});
|
|
30
21
|
})(ConstraintViolationException = exports.ConstraintViolationException || (exports.ConstraintViolationException = {}));
|
|
31
22
|
var DescribeReportCreationInput;
|
|
32
23
|
(function (DescribeReportCreationInput) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
24
|
DescribeReportCreationInput.filterSensitiveLog = (obj) => ({
|
|
37
25
|
...obj,
|
|
38
26
|
});
|
|
39
27
|
})(DescribeReportCreationInput = exports.DescribeReportCreationInput || (exports.DescribeReportCreationInput = {}));
|
|
40
28
|
var DescribeReportCreationOutput;
|
|
41
29
|
(function (DescribeReportCreationOutput) {
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
30
|
DescribeReportCreationOutput.filterSensitiveLog = (obj) => ({
|
|
46
31
|
...obj,
|
|
47
32
|
});
|
|
48
33
|
})(DescribeReportCreationOutput = exports.DescribeReportCreationOutput || (exports.DescribeReportCreationOutput = {}));
|
|
49
34
|
var InternalServiceException;
|
|
50
35
|
(function (InternalServiceException) {
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
36
|
InternalServiceException.filterSensitiveLog = (obj) => ({
|
|
55
37
|
...obj,
|
|
56
38
|
});
|
|
57
39
|
})(InternalServiceException = exports.InternalServiceException || (exports.InternalServiceException = {}));
|
|
58
40
|
var InvalidParameterException;
|
|
59
41
|
(function (InvalidParameterException) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
42
|
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
64
43
|
...obj,
|
|
65
44
|
});
|
|
66
45
|
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
67
46
|
var ThrottledException;
|
|
68
47
|
(function (ThrottledException) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
48
|
ThrottledException.filterSensitiveLog = (obj) => ({
|
|
73
49
|
...obj,
|
|
74
50
|
});
|
|
@@ -80,9 +56,6 @@ var ErrorCode;
|
|
|
80
56
|
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
|
|
81
57
|
var FailureInfo;
|
|
82
58
|
(function (FailureInfo) {
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
59
|
FailureInfo.filterSensitiveLog = (obj) => ({
|
|
87
60
|
...obj,
|
|
88
61
|
});
|
|
@@ -95,9 +68,6 @@ var GroupByAttribute;
|
|
|
95
68
|
})(GroupByAttribute = exports.GroupByAttribute || (exports.GroupByAttribute = {}));
|
|
96
69
|
var GetComplianceSummaryInput;
|
|
97
70
|
(function (GetComplianceSummaryInput) {
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
71
|
GetComplianceSummaryInput.filterSensitiveLog = (obj) => ({
|
|
102
72
|
...obj,
|
|
103
73
|
});
|
|
@@ -110,162 +80,108 @@ var TargetIdType;
|
|
|
110
80
|
})(TargetIdType = exports.TargetIdType || (exports.TargetIdType = {}));
|
|
111
81
|
var Summary;
|
|
112
82
|
(function (Summary) {
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
83
|
Summary.filterSensitiveLog = (obj) => ({
|
|
117
84
|
...obj,
|
|
118
85
|
});
|
|
119
86
|
})(Summary = exports.Summary || (exports.Summary = {}));
|
|
120
87
|
var GetComplianceSummaryOutput;
|
|
121
88
|
(function (GetComplianceSummaryOutput) {
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
89
|
GetComplianceSummaryOutput.filterSensitiveLog = (obj) => ({
|
|
126
90
|
...obj,
|
|
127
91
|
});
|
|
128
92
|
})(GetComplianceSummaryOutput = exports.GetComplianceSummaryOutput || (exports.GetComplianceSummaryOutput = {}));
|
|
129
93
|
var TagFilter;
|
|
130
94
|
(function (TagFilter) {
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
95
|
TagFilter.filterSensitiveLog = (obj) => ({
|
|
135
96
|
...obj,
|
|
136
97
|
});
|
|
137
98
|
})(TagFilter = exports.TagFilter || (exports.TagFilter = {}));
|
|
138
99
|
var GetResourcesInput;
|
|
139
100
|
(function (GetResourcesInput) {
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
101
|
GetResourcesInput.filterSensitiveLog = (obj) => ({
|
|
144
102
|
...obj,
|
|
145
103
|
});
|
|
146
104
|
})(GetResourcesInput = exports.GetResourcesInput || (exports.GetResourcesInput = {}));
|
|
147
105
|
var Tag;
|
|
148
106
|
(function (Tag) {
|
|
149
|
-
/**
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
107
|
Tag.filterSensitiveLog = (obj) => ({
|
|
153
108
|
...obj,
|
|
154
109
|
});
|
|
155
110
|
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
156
111
|
var ResourceTagMapping;
|
|
157
112
|
(function (ResourceTagMapping) {
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
113
|
ResourceTagMapping.filterSensitiveLog = (obj) => ({
|
|
162
114
|
...obj,
|
|
163
115
|
});
|
|
164
116
|
})(ResourceTagMapping = exports.ResourceTagMapping || (exports.ResourceTagMapping = {}));
|
|
165
117
|
var GetResourcesOutput;
|
|
166
118
|
(function (GetResourcesOutput) {
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
119
|
GetResourcesOutput.filterSensitiveLog = (obj) => ({
|
|
171
120
|
...obj,
|
|
172
121
|
});
|
|
173
122
|
})(GetResourcesOutput = exports.GetResourcesOutput || (exports.GetResourcesOutput = {}));
|
|
174
123
|
var PaginationTokenExpiredException;
|
|
175
124
|
(function (PaginationTokenExpiredException) {
|
|
176
|
-
/**
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
125
|
PaginationTokenExpiredException.filterSensitiveLog = (obj) => ({
|
|
180
126
|
...obj,
|
|
181
127
|
});
|
|
182
128
|
})(PaginationTokenExpiredException = exports.PaginationTokenExpiredException || (exports.PaginationTokenExpiredException = {}));
|
|
183
129
|
var GetTagKeysInput;
|
|
184
130
|
(function (GetTagKeysInput) {
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
131
|
GetTagKeysInput.filterSensitiveLog = (obj) => ({
|
|
189
132
|
...obj,
|
|
190
133
|
});
|
|
191
134
|
})(GetTagKeysInput = exports.GetTagKeysInput || (exports.GetTagKeysInput = {}));
|
|
192
135
|
var GetTagKeysOutput;
|
|
193
136
|
(function (GetTagKeysOutput) {
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
137
|
GetTagKeysOutput.filterSensitiveLog = (obj) => ({
|
|
198
138
|
...obj,
|
|
199
139
|
});
|
|
200
140
|
})(GetTagKeysOutput = exports.GetTagKeysOutput || (exports.GetTagKeysOutput = {}));
|
|
201
141
|
var GetTagValuesInput;
|
|
202
142
|
(function (GetTagValuesInput) {
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
143
|
GetTagValuesInput.filterSensitiveLog = (obj) => ({
|
|
207
144
|
...obj,
|
|
208
145
|
});
|
|
209
146
|
})(GetTagValuesInput = exports.GetTagValuesInput || (exports.GetTagValuesInput = {}));
|
|
210
147
|
var GetTagValuesOutput;
|
|
211
148
|
(function (GetTagValuesOutput) {
|
|
212
|
-
/**
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
149
|
GetTagValuesOutput.filterSensitiveLog = (obj) => ({
|
|
216
150
|
...obj,
|
|
217
151
|
});
|
|
218
152
|
})(GetTagValuesOutput = exports.GetTagValuesOutput || (exports.GetTagValuesOutput = {}));
|
|
219
153
|
var StartReportCreationInput;
|
|
220
154
|
(function (StartReportCreationInput) {
|
|
221
|
-
/**
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
155
|
StartReportCreationInput.filterSensitiveLog = (obj) => ({
|
|
225
156
|
...obj,
|
|
226
157
|
});
|
|
227
158
|
})(StartReportCreationInput = exports.StartReportCreationInput || (exports.StartReportCreationInput = {}));
|
|
228
159
|
var StartReportCreationOutput;
|
|
229
160
|
(function (StartReportCreationOutput) {
|
|
230
|
-
/**
|
|
231
|
-
* @internal
|
|
232
|
-
*/
|
|
233
161
|
StartReportCreationOutput.filterSensitiveLog = (obj) => ({
|
|
234
162
|
...obj,
|
|
235
163
|
});
|
|
236
164
|
})(StartReportCreationOutput = exports.StartReportCreationOutput || (exports.StartReportCreationOutput = {}));
|
|
237
165
|
var TagResourcesInput;
|
|
238
166
|
(function (TagResourcesInput) {
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
167
|
TagResourcesInput.filterSensitiveLog = (obj) => ({
|
|
243
168
|
...obj,
|
|
244
169
|
});
|
|
245
170
|
})(TagResourcesInput = exports.TagResourcesInput || (exports.TagResourcesInput = {}));
|
|
246
171
|
var TagResourcesOutput;
|
|
247
172
|
(function (TagResourcesOutput) {
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
173
|
TagResourcesOutput.filterSensitiveLog = (obj) => ({
|
|
252
174
|
...obj,
|
|
253
175
|
});
|
|
254
176
|
})(TagResourcesOutput = exports.TagResourcesOutput || (exports.TagResourcesOutput = {}));
|
|
255
177
|
var UntagResourcesInput;
|
|
256
178
|
(function (UntagResourcesInput) {
|
|
257
|
-
/**
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
179
|
UntagResourcesInput.filterSensitiveLog = (obj) => ({
|
|
261
180
|
...obj,
|
|
262
181
|
});
|
|
263
182
|
})(UntagResourcesInput = exports.UntagResourcesInput || (exports.UntagResourcesInput = {}));
|
|
264
183
|
var UntagResourcesOutput;
|
|
265
184
|
(function (UntagResourcesOutput) {
|
|
266
|
-
/**
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
185
|
UntagResourcesOutput.filterSensitiveLog = (obj) => ({
|
|
270
186
|
...obj,
|
|
271
187
|
});
|
|
@@ -4,22 +4,13 @@ exports.paginateGetComplianceSummary = void 0;
|
|
|
4
4
|
const GetComplianceSummaryCommand_1 = require("../commands/GetComplianceSummaryCommand");
|
|
5
5
|
const ResourceGroupsTaggingAPI_1 = require("../ResourceGroupsTaggingAPI");
|
|
6
6
|
const ResourceGroupsTaggingAPIClient_1 = require("../ResourceGroupsTaggingAPIClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetComplianceSummaryCommand_1.GetComplianceSummaryCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getComplianceSummary(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetComplianceSummary(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.PaginationToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateGetComplianceSummary(config, input, ...additionalArgumen
|
|
|
39
30
|
token = page.PaginationToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetComplianceSummary = paginateGetComplianceSummary;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetResources = void 0;
|
|
|
4
4
|
const GetResourcesCommand_1 = require("../commands/GetResourcesCommand");
|
|
5
5
|
const ResourceGroupsTaggingAPI_1 = require("../ResourceGroupsTaggingAPI");
|
|
6
6
|
const ResourceGroupsTaggingAPIClient_1 = require("../ResourceGroupsTaggingAPIClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetResourcesCommand_1.GetResourcesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getResources(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetResources(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.PaginationToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateGetResources(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.PaginationToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateGetResources = paginateGetResources;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetTagKeys = void 0;
|
|
|
4
4
|
const GetTagKeysCommand_1 = require("../commands/GetTagKeysCommand");
|
|
5
5
|
const ResourceGroupsTaggingAPI_1 = require("../ResourceGroupsTaggingAPI");
|
|
6
6
|
const ResourceGroupsTaggingAPIClient_1 = require("../ResourceGroupsTaggingAPIClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetTagKeysCommand_1.GetTagKeysCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getTagKeys(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetTagKeys(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.PaginationToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -38,7 +29,6 @@ async function* paginateGetTagKeys(config, input, ...additionalArguments) {
|
|
|
38
29
|
token = page.PaginationToken;
|
|
39
30
|
hasNext = !!token;
|
|
40
31
|
}
|
|
41
|
-
// @ts-ignore
|
|
42
32
|
return undefined;
|
|
43
33
|
}
|
|
44
34
|
exports.paginateGetTagKeys = paginateGetTagKeys;
|
|
@@ -4,22 +4,13 @@ exports.paginateGetTagValues = void 0;
|
|
|
4
4
|
const GetTagValuesCommand_1 = require("../commands/GetTagValuesCommand");
|
|
5
5
|
const ResourceGroupsTaggingAPI_1 = require("../ResourceGroupsTaggingAPI");
|
|
6
6
|
const ResourceGroupsTaggingAPIClient_1 = require("../ResourceGroupsTaggingAPIClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new GetTagValuesCommand_1.GetTagValuesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.getTagValues(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateGetTagValues(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.PaginationToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -38,7 +29,6 @@ async function* paginateGetTagValues(config, input, ...additionalArguments) {
|
|
|
38
29
|
token = page.PaginationToken;
|
|
39
30
|
hasNext = !!token;
|
|
40
31
|
}
|
|
41
|
-
// @ts-ignore
|
|
42
32
|
return undefined;
|
|
43
33
|
}
|
|
44
34
|
exports.paginateGetTagValues = paginateGetTagValues;
|
|
@@ -1117,14 +1117,12 @@ const deserializeMetadata = (output) => {
|
|
|
1117
1117
|
cfId: output.headers["x-amz-cf-id"],
|
|
1118
1118
|
});
|
|
1119
1119
|
};
|
|
1120
|
-
// Collect low-level response body stream to Uint8Array.
|
|
1121
1120
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
1122
1121
|
if (streamBody instanceof Uint8Array) {
|
|
1123
1122
|
return Promise.resolve(streamBody);
|
|
1124
1123
|
}
|
|
1125
1124
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
1126
1125
|
};
|
|
1127
|
-
// Encode Uint8Array data into string with utf-8.
|
|
1128
1126
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1129
1127
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1130
1128
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1150,9 +1148,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
1150
1148
|
}
|
|
1151
1149
|
return {};
|
|
1152
1150
|
});
|
|
1153
|
-
/**
|
|
1154
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
1155
|
-
*/
|
|
1156
1151
|
const loadRestJsonErrorCode = (output, data) => {
|
|
1157
1152
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1158
1153
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -8,156 +8,37 @@ import { StartReportCreationCommandInput, StartReportCreationCommandOutput } fro
|
|
|
8
8
|
import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
|
|
9
9
|
import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
|
|
10
10
|
import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
|
|
11
|
-
|
|
12
|
-
* <fullname>Resource Groups Tagging API</fullname>
|
|
13
|
-
*/
|
|
11
|
+
|
|
14
12
|
export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
|
|
15
|
-
|
|
16
|
-
* <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
|
|
17
|
-
* <p>You can call this operation only from the organization's
|
|
18
|
-
* management account and from the us-east-1 Region.</p>
|
|
19
|
-
*/
|
|
13
|
+
|
|
20
14
|
describeReportCreation(args: DescribeReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReportCreationCommandOutput>;
|
|
21
15
|
describeReportCreation(args: DescribeReportCreationCommandInput, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
|
|
22
16
|
describeReportCreation(args: DescribeReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
|
|
23
|
-
|
|
24
|
-
* <p>Returns a table that shows counts of resources that are noncompliant with their tag
|
|
25
|
-
* policies.</p>
|
|
26
|
-
* <p>For more information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag Policies</a> in
|
|
27
|
-
* the <i>AWS Organizations User Guide.</i>
|
|
28
|
-
* </p>
|
|
29
|
-
* <p>You can call this operation only from the organization's
|
|
30
|
-
* management account and from the us-east-1 Region.</p>
|
|
31
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
32
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
33
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
34
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
35
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
36
|
-
* there are no more results waiting to be returned.</p>
|
|
37
|
-
*/
|
|
17
|
+
|
|
38
18
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetComplianceSummaryCommandOutput>;
|
|
39
19
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
|
|
40
20
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
|
|
41
|
-
|
|
42
|
-
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
43
|
-
* specified Region for the AWS account.</p>
|
|
44
|
-
* <p>Depending on what information you want returned, you can also specify the
|
|
45
|
-
* following:</p>
|
|
46
|
-
* <ul>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
* <i>Filters</i> that specify what tags and resource types you
|
|
50
|
-
* want returned. The response includes all tags that are associated with the
|
|
51
|
-
* requested resources.</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>Information about compliance with the account's effective tag policy. For more
|
|
55
|
-
* information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag
|
|
56
|
-
* Policies</a> in the <i>AWS Organizations User Guide.</i>
|
|
57
|
-
* </p>
|
|
58
|
-
* </li>
|
|
59
|
-
* </ul>
|
|
60
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
61
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
62
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
63
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
64
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
65
|
-
* there are no more results waiting to be returned.</p>
|
|
66
|
-
*/
|
|
21
|
+
|
|
67
22
|
getResources(args: GetResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesCommandOutput>;
|
|
68
23
|
getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
69
24
|
getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
70
|
-
|
|
71
|
-
* <p>Returns all tag keys currently in use in the specified Region for the calling AWS
|
|
72
|
-
* account.</p>
|
|
73
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
74
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
75
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
76
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
77
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
78
|
-
* there are no more results waiting to be returned.</p>
|
|
79
|
-
*/
|
|
25
|
+
|
|
80
26
|
getTagKeys(args: GetTagKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetTagKeysCommandOutput>;
|
|
81
27
|
getTagKeys(args: GetTagKeysCommandInput, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
82
28
|
getTagKeys(args: GetTagKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
83
|
-
|
|
84
|
-
* <p>Returns all tag values for the specified key that are used in the specified AWS
|
|
85
|
-
* Region for the calling AWS account.</p>
|
|
86
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
87
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
88
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
89
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
90
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
91
|
-
* there are no more results waiting to be returned.</p>
|
|
92
|
-
*/
|
|
29
|
+
|
|
93
30
|
getTagValues(args: GetTagValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetTagValuesCommandOutput>;
|
|
94
31
|
getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
95
32
|
getTagValues(args: GetTagValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
96
|
-
|
|
97
|
-
* <p>Generates a report that lists all tagged resources in the accounts across your
|
|
98
|
-
* organization and tells whether each resource is compliant with the effective tag policy.
|
|
99
|
-
* Compliance data is refreshed daily. The report is generated asynchronously.</p>
|
|
100
|
-
* <p>The generated report is saved to the following location:</p>
|
|
101
|
-
* <p>
|
|
102
|
-
* <code>s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv</code>
|
|
103
|
-
* </p>
|
|
104
|
-
* <p>You can call this operation only from the organization's
|
|
105
|
-
* management account and from the us-east-1 Region.</p>
|
|
106
|
-
*/
|
|
33
|
+
|
|
107
34
|
startReportCreation(args: StartReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<StartReportCreationCommandOutput>;
|
|
108
35
|
startReportCreation(args: StartReportCreationCommandInput, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
|
|
109
36
|
startReportCreation(args: StartReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
|
|
110
|
-
|
|
111
|
-
* <p>Applies one or more tags to the specified resources. Note the following:</p>
|
|
112
|
-
* <ul>
|
|
113
|
-
* <li>
|
|
114
|
-
* <p>Not all resources can have tags. For a list of services with resources that
|
|
115
|
-
* support tagging using this operation, see <a href="https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html">Services that support the
|
|
116
|
-
* Resource Groups Tagging API</a>.</p>
|
|
117
|
-
* </li>
|
|
118
|
-
* <li>
|
|
119
|
-
* <p>Each resource can have up to 50 tags. For other limits, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions">Tag Naming and Usage Conventions</a> in the <i>AWS General
|
|
120
|
-
* Reference.</i>
|
|
121
|
-
* </p>
|
|
122
|
-
* </li>
|
|
123
|
-
* <li>
|
|
124
|
-
* <p>You can only tag resources that are located in the specified AWS Region for
|
|
125
|
-
* the AWS account.</p>
|
|
126
|
-
* </li>
|
|
127
|
-
* <li>
|
|
128
|
-
* <p>To add tags to a resource, you need the necessary permissions for the service
|
|
129
|
-
* that the resource belongs to as well as permissions for adding tags. For more
|
|
130
|
-
* information, see the documentation for each service.</p>
|
|
131
|
-
* </li>
|
|
132
|
-
* </ul>
|
|
133
|
-
* <important>
|
|
134
|
-
* <p>Do not store personally identifiable information (PII) or other confidential or
|
|
135
|
-
* sensitive information in tags. We use tags to provide you with billing and
|
|
136
|
-
* administration services. Tags are not intended to be used for private or sensitive
|
|
137
|
-
* data.</p>
|
|
138
|
-
* </important>
|
|
139
|
-
*/
|
|
37
|
+
|
|
140
38
|
tagResources(args: TagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<TagResourcesCommandOutput>;
|
|
141
39
|
tagResources(args: TagResourcesCommandInput, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
|
|
142
40
|
tagResources(args: TagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
|
|
143
|
-
|
|
144
|
-
* <p>Removes the specified tags from the specified resources. When you specify a tag key,
|
|
145
|
-
* the action removes both that key and its associated value. The operation succeeds even
|
|
146
|
-
* if you attempt to remove tags from a resource that were already removed. Note the
|
|
147
|
-
* following:</p>
|
|
148
|
-
* <ul>
|
|
149
|
-
* <li>
|
|
150
|
-
* <p>To remove tags from a resource, you need the necessary permissions for the
|
|
151
|
-
* service that the resource belongs to as well as permissions for removing tags.
|
|
152
|
-
* For more information, see the documentation for the service whose resource you
|
|
153
|
-
* want to untag.</p>
|
|
154
|
-
* </li>
|
|
155
|
-
* <li>
|
|
156
|
-
* <p>You can only tag resources that are located in the specified AWS Region for
|
|
157
|
-
* the calling AWS account.</p>
|
|
158
|
-
* </li>
|
|
159
|
-
* </ul>
|
|
160
|
-
*/
|
|
41
|
+
|
|
161
42
|
untagResources(args: UntagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourcesCommandOutput>;
|
|
162
43
|
untagResources(args: UntagResourcesCommandInput, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
|
|
163
44
|
untagResources(args: UntagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
|