@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
|
@@ -17,124 +17,59 @@ import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./comma
|
|
|
17
17
|
export declare type ServiceInputTypes = DescribeReportCreationCommandInput | GetComplianceSummaryCommandInput | GetResourcesCommandInput | GetTagKeysCommandInput | GetTagValuesCommandInput | StartReportCreationCommandInput | TagResourcesCommandInput | UntagResourcesCommandInput;
|
|
18
18
|
export declare type ServiceOutputTypes = DescribeReportCreationCommandOutput | GetComplianceSummaryCommandOutput | GetResourcesCommandOutput | GetTagKeysCommandOutput | GetTagValuesCommandOutput | StartReportCreationCommandOutput | TagResourcesCommandOutput | UntagResourcesCommandOutput;
|
|
19
19
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
20
|
-
|
|
21
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
22
|
-
*/
|
|
20
|
+
|
|
23
21
|
requestHandler?: __HttpHandler;
|
|
24
|
-
|
|
25
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
26
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
22
|
+
|
|
29
23
|
sha256?: __HashConstructor;
|
|
30
|
-
|
|
31
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
24
|
+
|
|
34
25
|
urlParser?: __UrlParser;
|
|
35
|
-
|
|
36
|
-
* A function that can calculate the length of a request body.
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
26
|
+
|
|
39
27
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
40
|
-
|
|
41
|
-
* A function that converts a stream into an array of bytes.
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
28
|
+
|
|
44
29
|
streamCollector?: __StreamCollector;
|
|
45
|
-
|
|
46
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
30
|
+
|
|
49
31
|
base64Decoder?: __Decoder;
|
|
50
|
-
|
|
51
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
32
|
+
|
|
54
33
|
base64Encoder?: __Encoder;
|
|
55
|
-
|
|
56
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
34
|
+
|
|
59
35
|
utf8Decoder?: __Decoder;
|
|
60
|
-
|
|
61
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
36
|
+
|
|
64
37
|
utf8Encoder?: __Encoder;
|
|
65
|
-
|
|
66
|
-
* The runtime environment.
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
38
|
+
|
|
69
39
|
runtime?: string;
|
|
70
|
-
|
|
71
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
72
|
-
* trait of an operation.
|
|
73
|
-
*/
|
|
40
|
+
|
|
74
41
|
disableHostPrefix?: boolean;
|
|
75
|
-
|
|
76
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
77
|
-
*/
|
|
42
|
+
|
|
78
43
|
maxAttempts?: number | __Provider<number>;
|
|
79
|
-
|
|
80
|
-
* Specifies which retry algorithm to use.
|
|
81
|
-
*/
|
|
44
|
+
|
|
82
45
|
retryMode?: string | __Provider<string>;
|
|
83
|
-
|
|
84
|
-
* Optional logger for logging debug/info/warn/error.
|
|
85
|
-
*/
|
|
46
|
+
|
|
86
47
|
logger?: __Logger;
|
|
87
|
-
|
|
88
|
-
* Unique service identifier.
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
48
|
+
|
|
91
49
|
serviceId?: string;
|
|
92
|
-
|
|
93
|
-
* The AWS region to which this client will send requests
|
|
94
|
-
*/
|
|
50
|
+
|
|
95
51
|
region?: string | __Provider<string>;
|
|
96
|
-
|
|
97
|
-
* Default credentials provider; Not available in browser runtime.
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
52
|
+
|
|
100
53
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
101
|
-
|
|
102
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
54
|
+
|
|
105
55
|
regionInfoProvider?: RegionInfoProvider;
|
|
106
|
-
|
|
107
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
56
|
+
|
|
110
57
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
111
58
|
}
|
|
112
59
|
declare type ResourceGroupsTaggingAPIClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
113
|
-
|
|
114
|
-
* The configuration interface of ResourceGroupsTaggingAPIClient class constructor that set the region, credentials and other options.
|
|
115
|
-
*/
|
|
60
|
+
|
|
116
61
|
export interface ResourceGroupsTaggingAPIClientConfig extends ResourceGroupsTaggingAPIClientConfigType {
|
|
117
62
|
}
|
|
118
63
|
declare type ResourceGroupsTaggingAPIClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
119
|
-
|
|
120
|
-
* The resolved configuration interface of ResourceGroupsTaggingAPIClient class. This is resolved and normalized from the {@link ResourceGroupsTaggingAPIClientConfig | constructor configuration interface}.
|
|
121
|
-
*/
|
|
64
|
+
|
|
122
65
|
export interface ResourceGroupsTaggingAPIClientResolvedConfig extends ResourceGroupsTaggingAPIClientResolvedConfigType {
|
|
123
66
|
}
|
|
124
|
-
|
|
125
|
-
* <fullname>Resource Groups Tagging API</fullname>
|
|
126
|
-
*/
|
|
67
|
+
|
|
127
68
|
export declare class ResourceGroupsTaggingAPIClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
128
|
-
|
|
129
|
-
* The resolved configuration of ResourceGroupsTaggingAPIClient class. This is resolved and normalized from the {@link ResourceGroupsTaggingAPIClientConfig | constructor configuration interface}.
|
|
130
|
-
*/
|
|
69
|
+
|
|
131
70
|
readonly config: ResourceGroupsTaggingAPIClientResolvedConfig;
|
|
132
71
|
constructor(configuration: ResourceGroupsTaggingAPIClientConfig);
|
|
133
|
-
|
|
134
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
135
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
136
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
137
|
-
*/
|
|
72
|
+
|
|
138
73
|
destroy(): void;
|
|
139
74
|
}
|
|
140
75
|
export {};
|
|
@@ -6,31 +6,11 @@ export interface DescribeReportCreationCommandInput extends DescribeReportCreati
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeReportCreationCommandOutput extends DescribeReportCreationOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
|
|
11
|
-
* <p>You can call this operation only from the organization's
|
|
12
|
-
* management account and from the us-east-1 Region.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ResourceGroupsTaggingAPIClient, DescribeReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
17
|
-
* // const { ResourceGroupsTaggingAPIClient, DescribeReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
18
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
19
|
-
* const command = new DescribeReportCreationCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeReportCreationCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeReportCreationCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class DescribeReportCreationCommand extends $Command<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
29
11
|
readonly input: DescribeReportCreationCommandInput;
|
|
30
12
|
constructor(input: DescribeReportCreationCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,41 +6,11 @@ export interface GetComplianceSummaryCommandInput extends GetComplianceSummaryIn
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns a table that shows counts of resources that are noncompliant with their tag
|
|
11
|
-
* policies.</p>
|
|
12
|
-
* <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
|
|
13
|
-
* the <i>AWS Organizations User Guide.</i>
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>You can call this operation only from the organization's
|
|
16
|
-
* management account and from the us-east-1 Region.</p>
|
|
17
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
18
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
19
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
20
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
21
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
22
|
-
* there are no more results waiting to be returned.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
27
|
-
* // const { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
28
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
29
|
-
* const command = new GetComplianceSummaryCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link GetComplianceSummaryCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link GetComplianceSummaryCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
9
|
+
|
|
38
10
|
export declare class GetComplianceSummaryCommand extends $Command<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
39
11
|
readonly input: GetComplianceSummaryCommandInput;
|
|
40
12
|
constructor(input: GetComplianceSummaryCommandInput);
|
|
41
|
-
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
13
|
+
|
|
44
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput>;
|
|
45
15
|
private serialize;
|
|
46
16
|
private deserialize;
|
|
@@ -6,52 +6,11 @@ export interface GetResourcesCommandInput extends GetResourcesInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetResourcesCommandOutput extends GetResourcesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
11
|
-
* specified Region for the AWS account.</p>
|
|
12
|
-
* <p>Depending on what information you want returned, you can also specify the
|
|
13
|
-
* following:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <i>Filters</i> that specify what tags and resource types you
|
|
18
|
-
* want returned. The response includes all tags that are associated with the
|
|
19
|
-
* requested resources.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Information about compliance with the account's effective tag policy. For more
|
|
23
|
-
* information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag
|
|
24
|
-
* Policies</a> in the <i>AWS Organizations User Guide.</i>
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
29
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
30
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
31
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
32
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
33
|
-
* there are no more results waiting to be returned.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { ResourceGroupsTaggingAPIClient, GetResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
38
|
-
* // const { ResourceGroupsTaggingAPIClient, GetResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
39
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
40
|
-
* const command = new GetResourcesCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link GetResourcesCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link GetResourcesCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
9
|
+
|
|
49
10
|
export declare class GetResourcesCommand extends $Command<GetResourcesCommandInput, GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
50
11
|
readonly input: GetResourcesCommandInput;
|
|
51
12
|
constructor(input: GetResourcesCommandInput);
|
|
52
|
-
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
13
|
+
|
|
55
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcesCommandInput, GetResourcesCommandOutput>;
|
|
56
15
|
private serialize;
|
|
57
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface GetTagKeysCommandInput extends GetTagKeysInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns all tag keys currently in use in the specified Region for the calling AWS
|
|
11
|
-
* account.</p>
|
|
12
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
13
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
14
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
15
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
16
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
17
|
-
* there are no more results waiting to be returned.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
22
|
-
* // const { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
23
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
24
|
-
* const command = new GetTagKeysCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link GetTagKeysCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link GetTagKeysCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class GetTagKeysCommand extends $Command<GetTagKeysCommandInput, GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
34
11
|
readonly input: GetTagKeysCommandInput;
|
|
35
12
|
constructor(input: GetTagKeysCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTagKeysCommandInput, GetTagKeysCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface GetTagValuesCommandInput extends GetTagValuesInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns all tag values for the specified key that are used in the specified AWS
|
|
11
|
-
* Region for the calling AWS account.</p>
|
|
12
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
13
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
14
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
15
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
16
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
17
|
-
* there are no more results waiting to be returned.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
22
|
-
* // const { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
23
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
24
|
-
* const command = new GetTagValuesCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link GetTagValuesCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link GetTagValuesCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class GetTagValuesCommand extends $Command<GetTagValuesCommandInput, GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
34
11
|
readonly input: GetTagValuesCommandInput;
|
|
35
12
|
constructor(input: GetTagValuesCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTagValuesCommandInput, GetTagValuesCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,37 +6,11 @@ export interface StartReportCreationCommandInput extends StartReportCreationInpu
|
|
|
6
6
|
}
|
|
7
7
|
export interface StartReportCreationCommandOutput extends StartReportCreationOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Generates a report that lists all tagged resources in the accounts across your
|
|
11
|
-
* organization and tells whether each resource is compliant with the effective tag policy.
|
|
12
|
-
* Compliance data is refreshed daily. The report is generated asynchronously.</p>
|
|
13
|
-
* <p>The generated report is saved to the following location:</p>
|
|
14
|
-
* <p>
|
|
15
|
-
* <code>s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv</code>
|
|
16
|
-
* </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
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
23
|
-
* // const { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
24
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
25
|
-
* const command = new StartReportCreationCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link StartReportCreationCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link StartReportCreationCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
9
|
+
|
|
34
10
|
export declare class StartReportCreationCommand extends $Command<StartReportCreationCommandInput, StartReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
35
11
|
readonly input: StartReportCreationCommandInput;
|
|
36
12
|
constructor(input: StartReportCreationCommandInput);
|
|
37
|
-
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
13
|
+
|
|
40
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartReportCreationCommandInput, StartReportCreationCommandOutput>;
|
|
41
15
|
private serialize;
|
|
42
16
|
private deserialize;
|
|
@@ -6,56 +6,11 @@ export interface TagResourcesCommandInput extends TagResourcesInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TagResourcesCommandOutput extends TagResourcesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Applies one or more tags to the specified resources. Note the following:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>Not all resources can have tags. For a list of services with resources that
|
|
14
|
-
* support tagging using this operation, see <a href="https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html">Services that support the
|
|
15
|
-
* Resource Groups Tagging API</a>.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <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
|
|
19
|
-
* Reference.</i>
|
|
20
|
-
* </p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>You can only tag resources that are located in the specified AWS Region for
|
|
24
|
-
* the AWS account.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>To add tags to a resource, you need the necessary permissions for the service
|
|
28
|
-
* that the resource belongs to as well as permissions for adding tags. For more
|
|
29
|
-
* information, see the documentation for each service.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
* <important>
|
|
33
|
-
* <p>Do not store personally identifiable information (PII) or other confidential or
|
|
34
|
-
* sensitive information in tags. We use tags to provide you with billing and
|
|
35
|
-
* administration services. Tags are not intended to be used for private or sensitive
|
|
36
|
-
* data.</p>
|
|
37
|
-
* </important>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { ResourceGroupsTaggingAPIClient, TagResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
42
|
-
* // const { ResourceGroupsTaggingAPIClient, TagResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
43
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
44
|
-
* const command = new TagResourcesCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link TagResourcesCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link TagResourcesCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
9
|
+
|
|
53
10
|
export declare class TagResourcesCommand extends $Command<TagResourcesCommandInput, TagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
54
11
|
readonly input: TagResourcesCommandInput;
|
|
55
12
|
constructor(input: TagResourcesCommandInput);
|
|
56
|
-
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
13
|
+
|
|
59
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourcesCommandInput, TagResourcesCommandOutput>;
|
|
60
15
|
private serialize;
|
|
61
16
|
private deserialize;
|
|
@@ -6,44 +6,11 @@ export interface UntagResourcesCommandInput extends UntagResourcesInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Removes the specified tags from the specified resources. When you specify a tag key,
|
|
11
|
-
* the action removes both that key and its associated value. The operation succeeds even
|
|
12
|
-
* if you attempt to remove tags from a resource that were already removed. Note the
|
|
13
|
-
* following:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>To remove tags from a resource, you need the necessary permissions for the
|
|
17
|
-
* service that the resource belongs to as well as permissions for removing tags.
|
|
18
|
-
* For more information, see the documentation for the service whose resource you
|
|
19
|
-
* want to untag.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>You can only tag resources that are located in the specified AWS Region for
|
|
23
|
-
* the calling AWS account.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* </ul>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ResourceGroupsTaggingAPIClient, UntagResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
|
|
30
|
-
* // const { ResourceGroupsTaggingAPIClient, UntagResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
|
|
31
|
-
* const client = new ResourceGroupsTaggingAPIClient(config);
|
|
32
|
-
* const command = new UntagResourcesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UntagResourcesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UntagResourcesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
9
|
+
|
|
41
10
|
export declare class UntagResourcesCommand extends $Command<UntagResourcesCommandInput, UntagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
42
11
|
readonly input: UntagResourcesCommandInput;
|
|
43
12
|
constructor(input: UntagResourcesCommandInput);
|
|
44
|
-
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
13
|
+
|
|
47
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourcesCommandInput, UntagResourcesCommandOutput>;
|
|
48
15
|
private serialize;
|
|
49
16
|
private deserialize;
|