@aws-sdk/client-resource-groups-tagging-api 3.1075.0 → 3.1076.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/dist-cjs/index.js +629 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ResourceGroupsTaggingAPIServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -85
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -357
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultResourceGroupsTaggingAPIHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "tagging",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultResourceGroupsTaggingAPIHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,535 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://tagging-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://tagging-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://tagging.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://tagging.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class ResourceGroupsTaggingAPIServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, ResourceGroupsTaggingAPIServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class ConcurrentModificationException extends ResourceGroupsTaggingAPIServiceException {
|
|
140
|
+
name = "ConcurrentModificationException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
Message;
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "ConcurrentModificationException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
150
|
+
this.Message = opts.Message;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class ConstraintViolationException extends ResourceGroupsTaggingAPIServiceException {
|
|
154
|
+
name = "ConstraintViolationException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
Message;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "ConstraintViolationException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, ConstraintViolationException.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
class InternalServiceException extends ResourceGroupsTaggingAPIServiceException {
|
|
168
|
+
name = "InternalServiceException";
|
|
169
|
+
$fault = "server";
|
|
170
|
+
Message;
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServiceException",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
178
|
+
this.Message = opts.Message;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
class InvalidParameterException extends ResourceGroupsTaggingAPIServiceException {
|
|
182
|
+
name = "InvalidParameterException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
Message;
|
|
185
|
+
constructor(opts) {
|
|
186
|
+
super({
|
|
187
|
+
name: "InvalidParameterException",
|
|
188
|
+
$fault: "client",
|
|
189
|
+
...opts,
|
|
190
|
+
});
|
|
191
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
192
|
+
this.Message = opts.Message;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class ThrottledException extends ResourceGroupsTaggingAPIServiceException {
|
|
196
|
+
name = "ThrottledException";
|
|
197
|
+
$fault = "client";
|
|
198
|
+
Message;
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ThrottledException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
206
|
+
this.Message = opts.Message;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
class PaginationTokenExpiredException extends ResourceGroupsTaggingAPIServiceException {
|
|
210
|
+
name = "PaginationTokenExpiredException";
|
|
211
|
+
$fault = "client";
|
|
212
|
+
Message;
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "PaginationTokenExpiredException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
Object.setPrototypeOf(this, PaginationTokenExpiredException.prototype);
|
|
220
|
+
this.Message = opts.Message;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
const _CD = "ComplianceDetails";
|
|
225
|
+
const _CFRT = "CloudFormationResourceTypes";
|
|
226
|
+
const _CME = "ConcurrentModificationException";
|
|
227
|
+
const _CS = "ComplianceStatus";
|
|
228
|
+
const _CVE = "ConstraintViolationException";
|
|
229
|
+
const _DRC = "DescribeReportCreation";
|
|
230
|
+
const _DRCI = "DescribeReportCreationInput";
|
|
231
|
+
const _DRCO = "DescribeReportCreationOutput";
|
|
232
|
+
const _EC = "ErrorCode";
|
|
233
|
+
const _ECR = "ExcludeCompliantResources";
|
|
234
|
+
const _EM = "ErrorMessage";
|
|
235
|
+
const _FI = "FailureInfo";
|
|
236
|
+
const _FRM = "FailedResourcesMap";
|
|
237
|
+
const _GB = "GroupBy";
|
|
238
|
+
const _GCS = "GetComplianceSummary";
|
|
239
|
+
const _GCSI = "GetComplianceSummaryInput";
|
|
240
|
+
const _GCSO = "GetComplianceSummaryOutput";
|
|
241
|
+
const _GR = "GetResources";
|
|
242
|
+
const _GRI = "GetResourcesInput";
|
|
243
|
+
const _GRO = "GetResourcesOutput";
|
|
244
|
+
const _GTK = "GetTagKeys";
|
|
245
|
+
const _GTKI = "GetTagKeysInput";
|
|
246
|
+
const _GTKO = "GetTagKeysOutput";
|
|
247
|
+
const _GTV = "GetTagValues";
|
|
248
|
+
const _GTVI = "GetTagValuesInput";
|
|
249
|
+
const _GTVO = "GetTagValuesOutput";
|
|
250
|
+
const _ICD = "IncludeComplianceDetails";
|
|
251
|
+
const _IPE = "InvalidParameterException";
|
|
252
|
+
const _ISE = "InternalServiceException";
|
|
253
|
+
const _K = "Key";
|
|
254
|
+
const _KWNV = "KeysWithNoncompliantValues";
|
|
255
|
+
const _LRT = "ListRequiredTags";
|
|
256
|
+
const _LRTI = "ListRequiredTagsInput";
|
|
257
|
+
const _LRTO = "ListRequiredTagsOutput";
|
|
258
|
+
const _LU = "LastUpdated";
|
|
259
|
+
const _M = "Message";
|
|
260
|
+
const _MR = "MaxResults";
|
|
261
|
+
const _MTK = "MissingTagKeys";
|
|
262
|
+
const _NCR = "NonCompliantResources";
|
|
263
|
+
const _NK = "NoncompliantKeys";
|
|
264
|
+
const _NT = "NextToken";
|
|
265
|
+
const _PT = "PaginationToken";
|
|
266
|
+
const _PTEE = "PaginationTokenExpiredException";
|
|
267
|
+
const _R = "Region";
|
|
268
|
+
const _RARN = "ResourceARN";
|
|
269
|
+
const _RARNL = "ResourceARNList";
|
|
270
|
+
const _RF = "RegionFilters";
|
|
271
|
+
const _RPP = "ResourcesPerPage";
|
|
272
|
+
const _RT = "RequiredTags";
|
|
273
|
+
const _RTF = "ResourceTypeFilters";
|
|
274
|
+
const _RTFLRT = "RequiredTagsForListRequiredTags";
|
|
275
|
+
const _RTK = "ReportingTagKeys";
|
|
276
|
+
const _RTM = "ResourceTagMapping";
|
|
277
|
+
const _RTML = "ResourceTagMappingList";
|
|
278
|
+
const _RTe = "RequiredTag";
|
|
279
|
+
const _RTes = "ResourceType";
|
|
280
|
+
const _S = "Status";
|
|
281
|
+
const _SB = "S3Bucket";
|
|
282
|
+
const _SC = "StatusCode";
|
|
283
|
+
const _SD = "StartDate";
|
|
284
|
+
const _SL = "S3Location";
|
|
285
|
+
const _SLu = "SummaryList";
|
|
286
|
+
const _SRC = "StartReportCreation";
|
|
287
|
+
const _SRCI = "StartReportCreationInput";
|
|
288
|
+
const _SRCO = "StartReportCreationOutput";
|
|
289
|
+
const _Su = "Summary";
|
|
290
|
+
const _T = "Tags";
|
|
291
|
+
const _TE = "ThrottledException";
|
|
292
|
+
const _TF = "TagFilters";
|
|
293
|
+
const _TFL = "TagFilterList";
|
|
294
|
+
const _TFa = "TagFilter";
|
|
295
|
+
const _TI = "TargetId";
|
|
296
|
+
const _TIF = "TargetIdFilters";
|
|
297
|
+
const _TIT = "TargetIdType";
|
|
298
|
+
const _TK = "TagKeys";
|
|
299
|
+
const _TKF = "TagKeyFilters";
|
|
300
|
+
const _TL = "TagList";
|
|
301
|
+
const _TPP = "TagsPerPage";
|
|
302
|
+
const _TR = "TagResources";
|
|
303
|
+
const _TRI = "TagResourcesInput";
|
|
304
|
+
const _TRO = "TagResourcesOutput";
|
|
305
|
+
const _TV = "TagValues";
|
|
306
|
+
const _Ta = "Tag";
|
|
307
|
+
const _UR = "UntagResources";
|
|
308
|
+
const _URI = "UntagResourcesInput";
|
|
309
|
+
const _URO = "UntagResourcesOutput";
|
|
310
|
+
const _V = "Value";
|
|
311
|
+
const _Va = "Values";
|
|
312
|
+
const _c = "client";
|
|
313
|
+
const _e = "error";
|
|
314
|
+
const _h = "http";
|
|
315
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
|
|
316
|
+
const _se = "server";
|
|
317
|
+
const n0 = "com.amazonaws.resourcegroupstaggingapi";
|
|
318
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
319
|
+
var ResourceGroupsTaggingAPIServiceException$ = [-3, _s, "ResourceGroupsTaggingAPIServiceException", 0, [], []];
|
|
320
|
+
_s_registry.registerError(ResourceGroupsTaggingAPIServiceException$, ResourceGroupsTaggingAPIServiceException);
|
|
321
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
322
|
+
var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
323
|
+
{ [_e]: _c },
|
|
324
|
+
[_M],
|
|
325
|
+
[0]
|
|
326
|
+
];
|
|
327
|
+
n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
328
|
+
var ConstraintViolationException$ = [-3, n0, _CVE,
|
|
329
|
+
{ [_e]: _c },
|
|
330
|
+
[_M],
|
|
331
|
+
[0]
|
|
332
|
+
];
|
|
333
|
+
n0_registry.registerError(ConstraintViolationException$, ConstraintViolationException);
|
|
334
|
+
var InternalServiceException$ = [-3, n0, _ISE,
|
|
335
|
+
{ [_e]: _se },
|
|
336
|
+
[_M],
|
|
337
|
+
[0]
|
|
338
|
+
];
|
|
339
|
+
n0_registry.registerError(InternalServiceException$, InternalServiceException);
|
|
340
|
+
var InvalidParameterException$ = [-3, n0, _IPE,
|
|
341
|
+
{ [_e]: _c },
|
|
342
|
+
[_M],
|
|
343
|
+
[0]
|
|
344
|
+
];
|
|
345
|
+
n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
|
|
346
|
+
var PaginationTokenExpiredException$ = [-3, n0, _PTEE,
|
|
347
|
+
{ [_e]: _c },
|
|
348
|
+
[_M],
|
|
349
|
+
[0]
|
|
350
|
+
];
|
|
351
|
+
n0_registry.registerError(PaginationTokenExpiredException$, PaginationTokenExpiredException);
|
|
352
|
+
var ThrottledException$ = [-3, n0, _TE,
|
|
353
|
+
{ [_e]: _c },
|
|
354
|
+
[_M],
|
|
355
|
+
[0]
|
|
356
|
+
];
|
|
357
|
+
n0_registry.registerError(ThrottledException$, ThrottledException);
|
|
358
|
+
const errorTypeRegistries = [
|
|
359
|
+
_s_registry,
|
|
360
|
+
n0_registry,
|
|
361
|
+
];
|
|
362
|
+
var ComplianceDetails$ = [3, n0, _CD,
|
|
363
|
+
0,
|
|
364
|
+
[_NK, _KWNV, _MTK, _CS],
|
|
365
|
+
[64 | 0, 64 | 0, 64 | 0, 2]
|
|
366
|
+
];
|
|
367
|
+
var DescribeReportCreationInput$ = [3, n0, _DRCI,
|
|
368
|
+
0,
|
|
369
|
+
[],
|
|
370
|
+
[]
|
|
371
|
+
];
|
|
372
|
+
var DescribeReportCreationOutput$ = [3, n0, _DRCO,
|
|
373
|
+
0,
|
|
374
|
+
[_S, _SL, _SD, _EM],
|
|
375
|
+
[0, 0, 0, 0]
|
|
376
|
+
];
|
|
377
|
+
var FailureInfo$ = [3, n0, _FI,
|
|
378
|
+
0,
|
|
379
|
+
[_SC, _EC, _EM],
|
|
380
|
+
[1, 0, 0]
|
|
381
|
+
];
|
|
382
|
+
var GetComplianceSummaryInput$ = [3, n0, _GCSI,
|
|
383
|
+
0,
|
|
384
|
+
[_TIF, _RF, _RTF, _TKF, _GB, _MR, _PT],
|
|
385
|
+
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1, 0]
|
|
386
|
+
];
|
|
387
|
+
var GetComplianceSummaryOutput$ = [3, n0, _GCSO,
|
|
388
|
+
0,
|
|
389
|
+
[_SLu, _PT],
|
|
390
|
+
[() => SummaryList, 0]
|
|
391
|
+
];
|
|
392
|
+
var GetResourcesInput$ = [3, n0, _GRI,
|
|
393
|
+
0,
|
|
394
|
+
[_PT, _TF, _RPP, _TPP, _RTF, _ICD, _ECR, _RARNL],
|
|
395
|
+
[0, () => TagFilterList, 1, 1, 64 | 0, 2, 2, 64 | 0]
|
|
396
|
+
];
|
|
397
|
+
var GetResourcesOutput$ = [3, n0, _GRO,
|
|
398
|
+
0,
|
|
399
|
+
[_PT, _RTML],
|
|
400
|
+
[0, () => ResourceTagMappingList]
|
|
401
|
+
];
|
|
402
|
+
var GetTagKeysInput$ = [3, n0, _GTKI,
|
|
403
|
+
0,
|
|
404
|
+
[_PT],
|
|
405
|
+
[0]
|
|
406
|
+
];
|
|
407
|
+
var GetTagKeysOutput$ = [3, n0, _GTKO,
|
|
408
|
+
0,
|
|
409
|
+
[_PT, _TK],
|
|
410
|
+
[0, 64 | 0]
|
|
411
|
+
];
|
|
412
|
+
var GetTagValuesInput$ = [3, n0, _GTVI,
|
|
413
|
+
0,
|
|
414
|
+
[_K, _PT],
|
|
415
|
+
[0, 0], 1
|
|
416
|
+
];
|
|
417
|
+
var GetTagValuesOutput$ = [3, n0, _GTVO,
|
|
418
|
+
0,
|
|
419
|
+
[_PT, _TV],
|
|
420
|
+
[0, 64 | 0]
|
|
421
|
+
];
|
|
422
|
+
var ListRequiredTagsInput$ = [3, n0, _LRTI,
|
|
423
|
+
0,
|
|
424
|
+
[_NT, _MR],
|
|
425
|
+
[0, 1]
|
|
426
|
+
];
|
|
427
|
+
var ListRequiredTagsOutput$ = [3, n0, _LRTO,
|
|
428
|
+
0,
|
|
429
|
+
[_RT, _NT],
|
|
430
|
+
[() => RequiredTagsForListRequiredTags, 0]
|
|
431
|
+
];
|
|
432
|
+
var RequiredTag$ = [3, n0, _RTe,
|
|
433
|
+
0,
|
|
434
|
+
[_RTes, _CFRT, _RTK],
|
|
435
|
+
[0, 64 | 0, 64 | 0]
|
|
436
|
+
];
|
|
437
|
+
var ResourceTagMapping$ = [3, n0, _RTM,
|
|
438
|
+
0,
|
|
439
|
+
[_RARN, _T, _CD],
|
|
440
|
+
[0, () => TagList, () => ComplianceDetails$]
|
|
441
|
+
];
|
|
442
|
+
var StartReportCreationInput$ = [3, n0, _SRCI,
|
|
443
|
+
0,
|
|
444
|
+
[_SB],
|
|
445
|
+
[0], 1
|
|
446
|
+
];
|
|
447
|
+
var StartReportCreationOutput$ = [3, n0, _SRCO,
|
|
448
|
+
0,
|
|
449
|
+
[],
|
|
450
|
+
[]
|
|
451
|
+
];
|
|
452
|
+
var Summary$ = [3, n0, _Su,
|
|
453
|
+
0,
|
|
454
|
+
[_LU, _TI, _TIT, _R, _RTes, _NCR],
|
|
455
|
+
[0, 0, 0, 0, 0, 1]
|
|
456
|
+
];
|
|
457
|
+
var Tag$ = [3, n0, _Ta,
|
|
458
|
+
0,
|
|
459
|
+
[_K, _V],
|
|
460
|
+
[0, 0], 2
|
|
461
|
+
];
|
|
462
|
+
var TagFilter$ = [3, n0, _TFa,
|
|
463
|
+
0,
|
|
464
|
+
[_K, _Va],
|
|
465
|
+
[0, 64 | 0]
|
|
466
|
+
];
|
|
467
|
+
var TagResourcesInput$ = [3, n0, _TRI,
|
|
468
|
+
0,
|
|
469
|
+
[_RARNL, _T],
|
|
470
|
+
[64 | 0, 128 | 0], 2
|
|
471
|
+
];
|
|
472
|
+
var TagResourcesOutput$ = [3, n0, _TRO,
|
|
473
|
+
0,
|
|
474
|
+
[_FRM],
|
|
475
|
+
[() => FailedResourcesMap]
|
|
476
|
+
];
|
|
477
|
+
var UntagResourcesInput$ = [3, n0, _URI,
|
|
478
|
+
0,
|
|
479
|
+
[_RARNL, _TK],
|
|
480
|
+
[64 | 0, 64 | 0], 2
|
|
481
|
+
];
|
|
482
|
+
var UntagResourcesOutput$ = [3, n0, _URO,
|
|
483
|
+
0,
|
|
484
|
+
[_FRM],
|
|
485
|
+
[() => FailedResourcesMap]
|
|
486
|
+
];
|
|
487
|
+
var RequiredTagsForListRequiredTags = [1, n0, _RTFLRT,
|
|
488
|
+
0, () => RequiredTag$
|
|
489
|
+
];
|
|
490
|
+
var ResourceTagMappingList = [1, n0, _RTML,
|
|
491
|
+
0, () => ResourceTagMapping$
|
|
492
|
+
];
|
|
493
|
+
var SummaryList = [1, n0, _SLu,
|
|
494
|
+
0, () => Summary$
|
|
495
|
+
];
|
|
496
|
+
var TagFilterList = [1, n0, _TFL,
|
|
497
|
+
0, () => TagFilter$
|
|
498
|
+
];
|
|
499
|
+
var TagList = [1, n0, _TL,
|
|
500
|
+
0, () => Tag$
|
|
501
|
+
];
|
|
502
|
+
var FailedResourcesMap = [2, n0, _FRM,
|
|
503
|
+
0, 0, () => FailureInfo$
|
|
504
|
+
];
|
|
505
|
+
var DescribeReportCreation$ = [9, n0, _DRC,
|
|
506
|
+
{ [_h]: ["POST", "/DescribeReportCreation", 200] }, () => DescribeReportCreationInput$, () => DescribeReportCreationOutput$
|
|
507
|
+
];
|
|
508
|
+
var GetComplianceSummary$ = [9, n0, _GCS,
|
|
509
|
+
{ [_h]: ["POST", "/GetComplianceSummary", 200] }, () => GetComplianceSummaryInput$, () => GetComplianceSummaryOutput$
|
|
510
|
+
];
|
|
511
|
+
var GetResources$ = [9, n0, _GR,
|
|
512
|
+
{ [_h]: ["POST", "/GetResources", 200] }, () => GetResourcesInput$, () => GetResourcesOutput$
|
|
513
|
+
];
|
|
514
|
+
var GetTagKeys$ = [9, n0, _GTK,
|
|
515
|
+
{ [_h]: ["POST", "/GetTagKeys", 200] }, () => GetTagKeysInput$, () => GetTagKeysOutput$
|
|
516
|
+
];
|
|
517
|
+
var GetTagValues$ = [9, n0, _GTV,
|
|
518
|
+
{ [_h]: ["POST", "/GetTagValues", 200] }, () => GetTagValuesInput$, () => GetTagValuesOutput$
|
|
519
|
+
];
|
|
520
|
+
var ListRequiredTags$ = [9, n0, _LRT,
|
|
521
|
+
{ [_h]: ["POST", "/ListRequiredTags", 200] }, () => ListRequiredTagsInput$, () => ListRequiredTagsOutput$
|
|
522
|
+
];
|
|
523
|
+
var StartReportCreation$ = [9, n0, _SRC,
|
|
524
|
+
{ [_h]: ["POST", "/StartReportCreation", 200] }, () => StartReportCreationInput$, () => StartReportCreationOutput$
|
|
525
|
+
];
|
|
526
|
+
var TagResources$ = [9, n0, _TR,
|
|
527
|
+
{ [_h]: ["POST", "/TagResources", 200] }, () => TagResourcesInput$, () => TagResourcesOutput$
|
|
528
|
+
];
|
|
529
|
+
var UntagResources$ = [9, n0, _UR,
|
|
530
|
+
{ [_h]: ["POST", "/UntagResources", 200] }, () => UntagResourcesInput$, () => UntagResourcesOutput$
|
|
531
|
+
];
|
|
532
|
+
|
|
533
|
+
const getRuntimeConfig$1 = (config) => {
|
|
534
|
+
return {
|
|
535
|
+
apiVersion: "2017-01-26",
|
|
536
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
537
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
538
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
539
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
540
|
+
extensions: config?.extensions ?? [],
|
|
541
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultResourceGroupsTaggingAPIHttpAuthSchemeProvider,
|
|
542
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
543
|
+
{
|
|
544
|
+
schemeId: "aws.auth#sigv4",
|
|
545
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
546
|
+
signer: new AwsSdkSigV4Signer(),
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
550
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
551
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
552
|
+
defaultNamespace: "com.amazonaws.resourcegroupstaggingapi",
|
|
553
|
+
errorTypeRegistries,
|
|
554
|
+
version: "2017-01-26",
|
|
555
|
+
serviceTarget: "ResourceGroupsTaggingAPI_20170126",
|
|
556
|
+
},
|
|
557
|
+
serviceId: config?.serviceId ?? "Resource Groups Tagging API",
|
|
558
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
559
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
560
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
const getRuntimeConfig = (config) => {
|
|
565
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
566
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
567
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
568
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
569
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
570
|
+
const loaderConfig = {
|
|
571
|
+
profile: config?.profile,
|
|
572
|
+
logger: clientSharedValues.logger,
|
|
573
|
+
};
|
|
574
|
+
return {
|
|
575
|
+
...clientSharedValues,
|
|
576
|
+
...config,
|
|
577
|
+
runtime: "node",
|
|
578
|
+
defaultsMode,
|
|
579
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
580
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
581
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
582
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
583
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
584
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
585
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
586
|
+
retryMode: config?.retryMode ??
|
|
587
|
+
loadConfig({
|
|
588
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
589
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
590
|
+
}, config),
|
|
591
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
592
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
593
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
594
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
595
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
|
|
34
599
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
600
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
601
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -266,20 +831,69 @@ const TargetIdType = {
|
|
|
266
831
|
ROOT: "ROOT",
|
|
267
832
|
};
|
|
268
833
|
|
|
834
|
+
exports.ComplianceDetails$ = ComplianceDetails$;
|
|
835
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
836
|
+
exports.ConcurrentModificationException$ = ConcurrentModificationException$;
|
|
837
|
+
exports.ConstraintViolationException = ConstraintViolationException;
|
|
838
|
+
exports.ConstraintViolationException$ = ConstraintViolationException$;
|
|
839
|
+
exports.DescribeReportCreation$ = DescribeReportCreation$;
|
|
269
840
|
exports.DescribeReportCreationCommand = DescribeReportCreationCommand;
|
|
841
|
+
exports.DescribeReportCreationInput$ = DescribeReportCreationInput$;
|
|
842
|
+
exports.DescribeReportCreationOutput$ = DescribeReportCreationOutput$;
|
|
270
843
|
exports.ErrorCode = ErrorCode;
|
|
844
|
+
exports.FailureInfo$ = FailureInfo$;
|
|
845
|
+
exports.GetComplianceSummary$ = GetComplianceSummary$;
|
|
271
846
|
exports.GetComplianceSummaryCommand = GetComplianceSummaryCommand;
|
|
847
|
+
exports.GetComplianceSummaryInput$ = GetComplianceSummaryInput$;
|
|
848
|
+
exports.GetComplianceSummaryOutput$ = GetComplianceSummaryOutput$;
|
|
849
|
+
exports.GetResources$ = GetResources$;
|
|
272
850
|
exports.GetResourcesCommand = GetResourcesCommand;
|
|
851
|
+
exports.GetResourcesInput$ = GetResourcesInput$;
|
|
852
|
+
exports.GetResourcesOutput$ = GetResourcesOutput$;
|
|
853
|
+
exports.GetTagKeys$ = GetTagKeys$;
|
|
273
854
|
exports.GetTagKeysCommand = GetTagKeysCommand;
|
|
855
|
+
exports.GetTagKeysInput$ = GetTagKeysInput$;
|
|
856
|
+
exports.GetTagKeysOutput$ = GetTagKeysOutput$;
|
|
857
|
+
exports.GetTagValues$ = GetTagValues$;
|
|
274
858
|
exports.GetTagValuesCommand = GetTagValuesCommand;
|
|
859
|
+
exports.GetTagValuesInput$ = GetTagValuesInput$;
|
|
860
|
+
exports.GetTagValuesOutput$ = GetTagValuesOutput$;
|
|
275
861
|
exports.GroupByAttribute = GroupByAttribute;
|
|
862
|
+
exports.InternalServiceException = InternalServiceException;
|
|
863
|
+
exports.InternalServiceException$ = InternalServiceException$;
|
|
864
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
865
|
+
exports.InvalidParameterException$ = InvalidParameterException$;
|
|
866
|
+
exports.ListRequiredTags$ = ListRequiredTags$;
|
|
276
867
|
exports.ListRequiredTagsCommand = ListRequiredTagsCommand;
|
|
868
|
+
exports.ListRequiredTagsInput$ = ListRequiredTagsInput$;
|
|
869
|
+
exports.ListRequiredTagsOutput$ = ListRequiredTagsOutput$;
|
|
870
|
+
exports.PaginationTokenExpiredException = PaginationTokenExpiredException;
|
|
871
|
+
exports.PaginationTokenExpiredException$ = PaginationTokenExpiredException$;
|
|
872
|
+
exports.RequiredTag$ = RequiredTag$;
|
|
277
873
|
exports.ResourceGroupsTaggingAPI = ResourceGroupsTaggingAPI;
|
|
278
874
|
exports.ResourceGroupsTaggingAPIClient = ResourceGroupsTaggingAPIClient;
|
|
875
|
+
exports.ResourceGroupsTaggingAPIServiceException = ResourceGroupsTaggingAPIServiceException;
|
|
876
|
+
exports.ResourceGroupsTaggingAPIServiceException$ = ResourceGroupsTaggingAPIServiceException$;
|
|
877
|
+
exports.ResourceTagMapping$ = ResourceTagMapping$;
|
|
878
|
+
exports.StartReportCreation$ = StartReportCreation$;
|
|
279
879
|
exports.StartReportCreationCommand = StartReportCreationCommand;
|
|
880
|
+
exports.StartReportCreationInput$ = StartReportCreationInput$;
|
|
881
|
+
exports.StartReportCreationOutput$ = StartReportCreationOutput$;
|
|
882
|
+
exports.Summary$ = Summary$;
|
|
883
|
+
exports.Tag$ = Tag$;
|
|
884
|
+
exports.TagFilter$ = TagFilter$;
|
|
885
|
+
exports.TagResources$ = TagResources$;
|
|
280
886
|
exports.TagResourcesCommand = TagResourcesCommand;
|
|
887
|
+
exports.TagResourcesInput$ = TagResourcesInput$;
|
|
888
|
+
exports.TagResourcesOutput$ = TagResourcesOutput$;
|
|
281
889
|
exports.TargetIdType = TargetIdType;
|
|
890
|
+
exports.ThrottledException = ThrottledException;
|
|
891
|
+
exports.ThrottledException$ = ThrottledException$;
|
|
892
|
+
exports.UntagResources$ = UntagResources$;
|
|
282
893
|
exports.UntagResourcesCommand = UntagResourcesCommand;
|
|
894
|
+
exports.UntagResourcesInput$ = UntagResourcesInput$;
|
|
895
|
+
exports.UntagResourcesOutput$ = UntagResourcesOutput$;
|
|
896
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
283
897
|
exports.paginateGetComplianceSummary = paginateGetComplianceSummary;
|
|
284
898
|
exports.paginateGetResources = paginateGetResources;
|
|
285
899
|
exports.paginateGetTagKeys = paginateGetTagKeys;
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
-
streamCollector: import("
|
|
17
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
cacheMiddleware?: boolean | undefined;
|