@aws-sdk/client-resource-groups-tagging-api 3.927.0 → 3.929.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 +288 -347
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ResourceGroupsTaggingAPIClient.js +2 -0
- package/dist-es/commands/DescribeReportCreationCommand.js +3 -9
- package/dist-es/commands/GetComplianceSummaryCommand.js +3 -9
- package/dist-es/commands/GetResourcesCommand.js +3 -9
- package/dist-es/commands/GetTagKeysCommand.js +3 -9
- package/dist-es/commands/GetTagValuesCommand.js +3 -9
- package/dist-es/commands/StartReportCreationCommand.js +3 -9
- package/dist-es/commands/TagResourcesCommand.js +3 -9
- package/dist-es/commands/UntagResourcesCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +265 -0
- package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +56 -0
- package/dist-types/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -277
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -74
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -101
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.resourcegroupstaggingapi",
|
|
32
|
+
serviceTarget: "ResourceGroupsTaggingAPI_20170126",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Resource Groups Tagging API",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class ResourceGroupsTaggingAPIClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeReportCreation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeReportCreationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "DescribeReportCreation", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "DescribeReportCreationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeReportCreationCommand)
|
|
20
|
-
.de(de_DescribeReportCreationCommand)
|
|
14
|
+
.sc(DescribeReportCreation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetComplianceSummary } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetComplianceSummaryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "GetComplianceSummary", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "GetComplianceSummaryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetComplianceSummaryCommand)
|
|
20
|
-
.de(de_GetComplianceSummaryCommand)
|
|
14
|
+
.sc(GetComplianceSummary)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "GetResources", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "GetResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetResourcesCommand)
|
|
20
|
-
.de(de_GetResourcesCommand)
|
|
14
|
+
.sc(GetResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetTagKeys } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetTagKeysCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "GetTagKeys", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "GetTagKeysCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetTagKeysCommand)
|
|
20
|
-
.de(de_GetTagKeysCommand)
|
|
14
|
+
.sc(GetTagKeys)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetTagValues } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetTagValuesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "GetTagValues", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "GetTagValuesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetTagValuesCommand)
|
|
20
|
-
.de(de_GetTagValuesCommand)
|
|
14
|
+
.sc(GetTagValues)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartReportCreation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartReportCreationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "StartReportCreation", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "StartReportCreationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartReportCreationCommand)
|
|
20
|
-
.de(de_StartReportCreationCommand)
|
|
14
|
+
.sc(StartReportCreation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "TagResources", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "TagResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourcesCommand)
|
|
20
|
-
.de(de_TagResourcesCommand)
|
|
14
|
+
.sc(TagResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ResourceGroupsTaggingAPI_20170126", "UntagResources", {})
|
|
17
13
|
.n("ResourceGroupsTaggingAPIClient", "UntagResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourcesCommand)
|
|
20
|
-
.de(de_UntagResourcesCommand)
|
|
14
|
+
.sc(UntagResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.resourcegroupstaggingapi",
|
|
29
|
+
serviceTarget: "ResourceGroupsTaggingAPI_20170126",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Resource Groups Tagging API",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
const _CD = "ComplianceDetails";
|
|
2
|
+
const _CME = "ConcurrentModificationException";
|
|
3
|
+
const _CS = "ComplianceStatus";
|
|
4
|
+
const _CVE = "ConstraintViolationException";
|
|
5
|
+
const _DRC = "DescribeReportCreation";
|
|
6
|
+
const _DRCI = "DescribeReportCreationInput";
|
|
7
|
+
const _DRCO = "DescribeReportCreationOutput";
|
|
8
|
+
const _EC = "ErrorCode";
|
|
9
|
+
const _ECR = "ExcludeCompliantResources";
|
|
10
|
+
const _EM = "ErrorMessage";
|
|
11
|
+
const _FI = "FailureInfo";
|
|
12
|
+
const _FRM = "FailedResourcesMap";
|
|
13
|
+
const _GB = "GroupBy";
|
|
14
|
+
const _GCS = "GetComplianceSummary";
|
|
15
|
+
const _GCSI = "GetComplianceSummaryInput";
|
|
16
|
+
const _GCSO = "GetComplianceSummaryOutput";
|
|
17
|
+
const _GR = "GetResources";
|
|
18
|
+
const _GRI = "GetResourcesInput";
|
|
19
|
+
const _GRO = "GetResourcesOutput";
|
|
20
|
+
const _GTK = "GetTagKeys";
|
|
21
|
+
const _GTKI = "GetTagKeysInput";
|
|
22
|
+
const _GTKO = "GetTagKeysOutput";
|
|
23
|
+
const _GTV = "GetTagValues";
|
|
24
|
+
const _GTVI = "GetTagValuesInput";
|
|
25
|
+
const _GTVO = "GetTagValuesOutput";
|
|
26
|
+
const _ICD = "IncludeComplianceDetails";
|
|
27
|
+
const _IPE = "InvalidParameterException";
|
|
28
|
+
const _ISE = "InternalServiceException";
|
|
29
|
+
const _K = "Key";
|
|
30
|
+
const _KWNV = "KeysWithNoncompliantValues";
|
|
31
|
+
const _LU = "LastUpdated";
|
|
32
|
+
const _M = "Message";
|
|
33
|
+
const _MR = "MaxResults";
|
|
34
|
+
const _NCR = "NonCompliantResources";
|
|
35
|
+
const _NK = "NoncompliantKeys";
|
|
36
|
+
const _PT = "PaginationToken";
|
|
37
|
+
const _PTEE = "PaginationTokenExpiredException";
|
|
38
|
+
const _R = "Region";
|
|
39
|
+
const _RARN = "ResourceARN";
|
|
40
|
+
const _RARNL = "ResourceARNList";
|
|
41
|
+
const _RF = "RegionFilters";
|
|
42
|
+
const _RPP = "ResourcesPerPage";
|
|
43
|
+
const _RT = "ResourceType";
|
|
44
|
+
const _RTF = "ResourceTypeFilters";
|
|
45
|
+
const _RTM = "ResourceTagMapping";
|
|
46
|
+
const _RTML = "ResourceTagMappingList";
|
|
47
|
+
const _S = "Status";
|
|
48
|
+
const _SB = "S3Bucket";
|
|
49
|
+
const _SC = "StatusCode";
|
|
50
|
+
const _SD = "StartDate";
|
|
51
|
+
const _SL = "S3Location";
|
|
52
|
+
const _SLu = "SummaryList";
|
|
53
|
+
const _SRC = "StartReportCreation";
|
|
54
|
+
const _SRCI = "StartReportCreationInput";
|
|
55
|
+
const _SRCO = "StartReportCreationOutput";
|
|
56
|
+
const _Su = "Summary";
|
|
57
|
+
const _T = "Tags";
|
|
58
|
+
const _TE = "ThrottledException";
|
|
59
|
+
const _TF = "TagFilters";
|
|
60
|
+
const _TFL = "TagFilterList";
|
|
61
|
+
const _TFa = "TagFilter";
|
|
62
|
+
const _TI = "TargetId";
|
|
63
|
+
const _TIF = "TargetIdFilters";
|
|
64
|
+
const _TIT = "TargetIdType";
|
|
65
|
+
const _TK = "TagKeys";
|
|
66
|
+
const _TKF = "TagKeyFilters";
|
|
67
|
+
const _TL = "TagList";
|
|
68
|
+
const _TPP = "TagsPerPage";
|
|
69
|
+
const _TR = "TagResources";
|
|
70
|
+
const _TRI = "TagResourcesInput";
|
|
71
|
+
const _TRO = "TagResourcesOutput";
|
|
72
|
+
const _TV = "TagValues";
|
|
73
|
+
const _Ta = "Tag";
|
|
74
|
+
const _UR = "UntagResources";
|
|
75
|
+
const _URI = "UntagResourcesInput";
|
|
76
|
+
const _URO = "UntagResourcesOutput";
|
|
77
|
+
const _V = "Value";
|
|
78
|
+
const _Va = "Values";
|
|
79
|
+
const _c = "client";
|
|
80
|
+
const _e = "error";
|
|
81
|
+
const _s = "server";
|
|
82
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.resourcegroupstaggingapi";
|
|
83
|
+
const n0 = "com.amazonaws.resourcegroupstaggingapi";
|
|
84
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
85
|
+
import { ConcurrentModificationException as __ConcurrentModificationException, ConstraintViolationException as __ConstraintViolationException, InternalServiceException as __InternalServiceException, InvalidParameterException as __InvalidParameterException, PaginationTokenExpiredException as __PaginationTokenExpiredException, ThrottledException as __ThrottledException, } from "../models/index";
|
|
86
|
+
import { ResourceGroupsTaggingAPIServiceException as __ResourceGroupsTaggingAPIServiceException } from "../models/ResourceGroupsTaggingAPIServiceException";
|
|
87
|
+
export var ComplianceDetails = [3, n0, _CD, 0, [_NK, _KWNV, _CS], [64 | 0, 64 | 0, 2]];
|
|
88
|
+
export var ConcurrentModificationException = [
|
|
89
|
+
-3,
|
|
90
|
+
n0,
|
|
91
|
+
_CME,
|
|
92
|
+
{
|
|
93
|
+
[_e]: _c,
|
|
94
|
+
},
|
|
95
|
+
[_M],
|
|
96
|
+
[0],
|
|
97
|
+
];
|
|
98
|
+
TypeRegistry.for(n0).registerError(ConcurrentModificationException, __ConcurrentModificationException);
|
|
99
|
+
export var ConstraintViolationException = [
|
|
100
|
+
-3,
|
|
101
|
+
n0,
|
|
102
|
+
_CVE,
|
|
103
|
+
{
|
|
104
|
+
[_e]: _c,
|
|
105
|
+
},
|
|
106
|
+
[_M],
|
|
107
|
+
[0],
|
|
108
|
+
];
|
|
109
|
+
TypeRegistry.for(n0).registerError(ConstraintViolationException, __ConstraintViolationException);
|
|
110
|
+
export var DescribeReportCreationInput = [3, n0, _DRCI, 0, [], []];
|
|
111
|
+
export var DescribeReportCreationOutput = [3, n0, _DRCO, 0, [_S, _SL, _SD, _EM], [0, 0, 0, 0]];
|
|
112
|
+
export var FailureInfo = [3, n0, _FI, 0, [_SC, _EC, _EM], [1, 0, 0]];
|
|
113
|
+
export var GetComplianceSummaryInput = [
|
|
114
|
+
3,
|
|
115
|
+
n0,
|
|
116
|
+
_GCSI,
|
|
117
|
+
0,
|
|
118
|
+
[_TIF, _RF, _RTF, _TKF, _GB, _MR, _PT],
|
|
119
|
+
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1, 0],
|
|
120
|
+
];
|
|
121
|
+
export var GetComplianceSummaryOutput = [3, n0, _GCSO, 0, [_SLu, _PT], [() => SummaryList, 0]];
|
|
122
|
+
export var GetResourcesInput = [
|
|
123
|
+
3,
|
|
124
|
+
n0,
|
|
125
|
+
_GRI,
|
|
126
|
+
0,
|
|
127
|
+
[_PT, _TF, _RPP, _TPP, _RTF, _ICD, _ECR, _RARNL],
|
|
128
|
+
[0, () => TagFilterList, 1, 1, 64 | 0, 2, 2, 64 | 0],
|
|
129
|
+
];
|
|
130
|
+
export var GetResourcesOutput = [
|
|
131
|
+
3,
|
|
132
|
+
n0,
|
|
133
|
+
_GRO,
|
|
134
|
+
0,
|
|
135
|
+
[_PT, _RTML],
|
|
136
|
+
[0, () => ResourceTagMappingList],
|
|
137
|
+
];
|
|
138
|
+
export var GetTagKeysInput = [3, n0, _GTKI, 0, [_PT], [0]];
|
|
139
|
+
export var GetTagKeysOutput = [3, n0, _GTKO, 0, [_PT, _TK], [0, 64 | 0]];
|
|
140
|
+
export var GetTagValuesInput = [3, n0, _GTVI, 0, [_PT, _K], [0, 0]];
|
|
141
|
+
export var GetTagValuesOutput = [3, n0, _GTVO, 0, [_PT, _TV], [0, 64 | 0]];
|
|
142
|
+
export var InternalServiceException = [
|
|
143
|
+
-3,
|
|
144
|
+
n0,
|
|
145
|
+
_ISE,
|
|
146
|
+
{
|
|
147
|
+
[_e]: _s,
|
|
148
|
+
},
|
|
149
|
+
[_M],
|
|
150
|
+
[0],
|
|
151
|
+
];
|
|
152
|
+
TypeRegistry.for(n0).registerError(InternalServiceException, __InternalServiceException);
|
|
153
|
+
export var InvalidParameterException = [
|
|
154
|
+
-3,
|
|
155
|
+
n0,
|
|
156
|
+
_IPE,
|
|
157
|
+
{
|
|
158
|
+
[_e]: _c,
|
|
159
|
+
},
|
|
160
|
+
[_M],
|
|
161
|
+
[0],
|
|
162
|
+
];
|
|
163
|
+
TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
|
|
164
|
+
export var PaginationTokenExpiredException = [
|
|
165
|
+
-3,
|
|
166
|
+
n0,
|
|
167
|
+
_PTEE,
|
|
168
|
+
{
|
|
169
|
+
[_e]: _c,
|
|
170
|
+
},
|
|
171
|
+
[_M],
|
|
172
|
+
[0],
|
|
173
|
+
];
|
|
174
|
+
TypeRegistry.for(n0).registerError(PaginationTokenExpiredException, __PaginationTokenExpiredException);
|
|
175
|
+
export var ResourceTagMapping = [
|
|
176
|
+
3,
|
|
177
|
+
n0,
|
|
178
|
+
_RTM,
|
|
179
|
+
0,
|
|
180
|
+
[_RARN, _T, _CD],
|
|
181
|
+
[0, () => TagList, () => ComplianceDetails],
|
|
182
|
+
];
|
|
183
|
+
export var StartReportCreationInput = [3, n0, _SRCI, 0, [_SB], [0]];
|
|
184
|
+
export var StartReportCreationOutput = [3, n0, _SRCO, 0, [], []];
|
|
185
|
+
export var Summary = [3, n0, _Su, 0, [_LU, _TI, _TIT, _R, _RT, _NCR], [0, 0, 0, 0, 0, 1]];
|
|
186
|
+
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
187
|
+
export var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
|
|
188
|
+
export var TagResourcesInput = [3, n0, _TRI, 0, [_RARNL, _T], [64 | 0, 128 | 0]];
|
|
189
|
+
export var TagResourcesOutput = [3, n0, _TRO, 0, [_FRM], [() => FailedResourcesMap]];
|
|
190
|
+
export var ThrottledException = [
|
|
191
|
+
-3,
|
|
192
|
+
n0,
|
|
193
|
+
_TE,
|
|
194
|
+
{
|
|
195
|
+
[_e]: _c,
|
|
196
|
+
},
|
|
197
|
+
[_M],
|
|
198
|
+
[0],
|
|
199
|
+
];
|
|
200
|
+
TypeRegistry.for(n0).registerError(ThrottledException, __ThrottledException);
|
|
201
|
+
export var UntagResourcesInput = [3, n0, _URI, 0, [_RARNL, _TK], [64 | 0, 64 | 0]];
|
|
202
|
+
export var UntagResourcesOutput = [3, n0, _URO, 0, [_FRM], [() => FailedResourcesMap]];
|
|
203
|
+
export var __Unit = "unit";
|
|
204
|
+
export var ResourceGroupsTaggingAPIServiceException = [
|
|
205
|
+
-3,
|
|
206
|
+
_sm,
|
|
207
|
+
"ResourceGroupsTaggingAPIServiceException",
|
|
208
|
+
0,
|
|
209
|
+
[],
|
|
210
|
+
[],
|
|
211
|
+
];
|
|
212
|
+
TypeRegistry.for(_sm).registerError(ResourceGroupsTaggingAPIServiceException, __ResourceGroupsTaggingAPIServiceException);
|
|
213
|
+
export var GroupBy = 64 | 0;
|
|
214
|
+
export var RegionFilterList = 64 | 0;
|
|
215
|
+
export var ResourceARNListForGet = 64 | 0;
|
|
216
|
+
export var ResourceARNListForTagUntag = 64 | 0;
|
|
217
|
+
export var ResourceTagMappingList = [1, n0, _RTML, 0, () => ResourceTagMapping];
|
|
218
|
+
export var ResourceTypeFilterList = 64 | 0;
|
|
219
|
+
export var SummaryList = [1, n0, _SLu, 0, () => Summary];
|
|
220
|
+
export var TagFilterList = [1, n0, _TFL, 0, () => TagFilter];
|
|
221
|
+
export var TagKeyFilterList = 64 | 0;
|
|
222
|
+
export var TagKeyList = 64 | 0;
|
|
223
|
+
export var TagKeyListForUntag = 64 | 0;
|
|
224
|
+
export var TagList = [1, n0, _TL, 0, () => Tag];
|
|
225
|
+
export var TagValueList = 64 | 0;
|
|
226
|
+
export var TagValuesOutputList = 64 | 0;
|
|
227
|
+
export var TargetIdFilterList = 64 | 0;
|
|
228
|
+
export var FailedResourcesMap = [2, n0, _FRM, 0, 0, () => FailureInfo];
|
|
229
|
+
export var TagMap = 128 | 0;
|
|
230
|
+
export var DescribeReportCreation = [
|
|
231
|
+
9,
|
|
232
|
+
n0,
|
|
233
|
+
_DRC,
|
|
234
|
+
0,
|
|
235
|
+
() => DescribeReportCreationInput,
|
|
236
|
+
() => DescribeReportCreationOutput,
|
|
237
|
+
];
|
|
238
|
+
export var GetComplianceSummary = [
|
|
239
|
+
9,
|
|
240
|
+
n0,
|
|
241
|
+
_GCS,
|
|
242
|
+
0,
|
|
243
|
+
() => GetComplianceSummaryInput,
|
|
244
|
+
() => GetComplianceSummaryOutput,
|
|
245
|
+
];
|
|
246
|
+
export var GetResources = [9, n0, _GR, 0, () => GetResourcesInput, () => GetResourcesOutput];
|
|
247
|
+
export var GetTagKeys = [9, n0, _GTK, 0, () => GetTagKeysInput, () => GetTagKeysOutput];
|
|
248
|
+
export var GetTagValues = [9, n0, _GTV, 0, () => GetTagValuesInput, () => GetTagValuesOutput];
|
|
249
|
+
export var StartReportCreation = [
|
|
250
|
+
9,
|
|
251
|
+
n0,
|
|
252
|
+
_SRC,
|
|
253
|
+
0,
|
|
254
|
+
() => StartReportCreationInput,
|
|
255
|
+
() => StartReportCreationOutput,
|
|
256
|
+
];
|
|
257
|
+
export var TagResources = [9, n0, _TR, 0, () => TagResourcesInput, () => TagResourcesOutput];
|
|
258
|
+
export var UntagResources = [
|
|
259
|
+
9,
|
|
260
|
+
n0,
|
|
261
|
+
_UR,
|
|
262
|
+
0,
|
|
263
|
+
() => UntagResourcesInput,
|
|
264
|
+
() => UntagResourcesOutput,
|
|
265
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput } from "./commands/DescribeReportCreationCommand";
|
|
11
11
|
import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } from "./commands/GetComplianceSummaryCommand";
|
|
@@ -149,6 +149,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
149
149
|
* Optional extensions
|
|
150
150
|
*/
|
|
151
151
|
extensions?: RuntimeExtension[];
|
|
152
|
+
/**
|
|
153
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
154
|
+
* may be overridden. A default will always be set by the client.
|
|
155
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
156
|
+
* the client.
|
|
157
|
+
* @alpha
|
|
158
|
+
*
|
|
159
|
+
*/
|
|
160
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
152
161
|
/**
|
|
153
162
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
154
163
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: ResourceGroupsTaggingAPIClientCo
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ResourceGroupsTaggingAPIHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var ComplianceDetails: StaticStructureSchema;
|
|
3
|
+
export declare var ConcurrentModificationException: StaticErrorSchema;
|
|
4
|
+
export declare var ConstraintViolationException: StaticErrorSchema;
|
|
5
|
+
export declare var DescribeReportCreationInput: StaticStructureSchema;
|
|
6
|
+
export declare var DescribeReportCreationOutput: StaticStructureSchema;
|
|
7
|
+
export declare var FailureInfo: StaticStructureSchema;
|
|
8
|
+
export declare var GetComplianceSummaryInput: StaticStructureSchema;
|
|
9
|
+
export declare var GetComplianceSummaryOutput: StaticStructureSchema;
|
|
10
|
+
export declare var GetResourcesInput: StaticStructureSchema;
|
|
11
|
+
export declare var GetResourcesOutput: StaticStructureSchema;
|
|
12
|
+
export declare var GetTagKeysInput: StaticStructureSchema;
|
|
13
|
+
export declare var GetTagKeysOutput: StaticStructureSchema;
|
|
14
|
+
export declare var GetTagValuesInput: StaticStructureSchema;
|
|
15
|
+
export declare var GetTagValuesOutput: StaticStructureSchema;
|
|
16
|
+
export declare var InternalServiceException: StaticErrorSchema;
|
|
17
|
+
export declare var InvalidParameterException: StaticErrorSchema;
|
|
18
|
+
export declare var PaginationTokenExpiredException: StaticErrorSchema;
|
|
19
|
+
export declare var ResourceTagMapping: StaticStructureSchema;
|
|
20
|
+
export declare var StartReportCreationInput: StaticStructureSchema;
|
|
21
|
+
export declare var StartReportCreationOutput: StaticStructureSchema;
|
|
22
|
+
export declare var Summary: StaticStructureSchema;
|
|
23
|
+
export declare var Tag: StaticStructureSchema;
|
|
24
|
+
export declare var TagFilter: StaticStructureSchema;
|
|
25
|
+
export declare var TagResourcesInput: StaticStructureSchema;
|
|
26
|
+
export declare var TagResourcesOutput: StaticStructureSchema;
|
|
27
|
+
export declare var ThrottledException: StaticErrorSchema;
|
|
28
|
+
export declare var UntagResourcesInput: StaticStructureSchema;
|
|
29
|
+
export declare var UntagResourcesOutput: StaticStructureSchema;
|
|
30
|
+
export declare var __Unit: "unit";
|
|
31
|
+
export declare var ResourceGroupsTaggingAPIServiceException: StaticErrorSchema;
|
|
32
|
+
export declare var GroupBy: number;
|
|
33
|
+
export declare var RegionFilterList: number;
|
|
34
|
+
export declare var ResourceARNListForGet: number;
|
|
35
|
+
export declare var ResourceARNListForTagUntag: number;
|
|
36
|
+
export declare var ResourceTagMappingList: StaticListSchema;
|
|
37
|
+
export declare var ResourceTypeFilterList: number;
|
|
38
|
+
export declare var SummaryList: StaticListSchema;
|
|
39
|
+
export declare var TagFilterList: StaticListSchema;
|
|
40
|
+
export declare var TagKeyFilterList: number;
|
|
41
|
+
export declare var TagKeyList: number;
|
|
42
|
+
export declare var TagKeyListForUntag: number;
|
|
43
|
+
export declare var TagList: StaticListSchema;
|
|
44
|
+
export declare var TagValueList: number;
|
|
45
|
+
export declare var TagValuesOutputList: number;
|
|
46
|
+
export declare var TargetIdFilterList: number;
|
|
47
|
+
export declare var FailedResourcesMap: StaticMapSchema;
|
|
48
|
+
export declare var TagMap: number;
|
|
49
|
+
export declare var DescribeReportCreation: StaticOperationSchema;
|
|
50
|
+
export declare var GetComplianceSummary: StaticOperationSchema;
|
|
51
|
+
export declare var GetResources: StaticOperationSchema;
|
|
52
|
+
export declare var GetTagKeys: StaticOperationSchema;
|
|
53
|
+
export declare var GetTagValues: StaticOperationSchema;
|
|
54
|
+
export declare var StartReportCreation: StaticOperationSchema;
|
|
55
|
+
export declare var TagResources: StaticOperationSchema;
|
|
56
|
+
export declare var UntagResources: StaticOperationSchema;
|