@aws-sdk/client-resource-groups-tagging-api 3.295.0 → 3.297.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-types/ResourceGroupsTaggingAPI.d.ts +9 -0
- package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +24 -4
- package/dist-types/commands/DescribeReportCreationCommand.d.ts +16 -0
- package/dist-types/commands/GetComplianceSummaryCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +16 -0
- package/dist-types/commands/GetTagKeysCommand.d.ts +16 -0
- package/dist-types/commands/GetTagValuesCommand.d.ts +16 -0
- package/dist-types/commands/StartReportCreationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourcesCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourcesCommand.d.ts +16 -0
- package/dist-types/models/ResourceGroupsTaggingAPIServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +76 -7
- package/dist-types/pagination/GetComplianceSummaryPaginator.d.ts +3 -0
- package/dist-types/pagination/GetResourcesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetTagKeysPaginator.d.ts +3 -0
- package/dist-types/pagination/GetTagValuesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/package.json +29 -29
|
@@ -9,10 +9,12 @@ import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/
|
|
|
9
9
|
import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
|
|
10
10
|
import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
|
|
11
11
|
/**
|
|
12
|
+
* @public
|
|
12
13
|
* <fullname>Resource Groups Tagging API</fullname>
|
|
13
14
|
*/
|
|
14
15
|
export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
|
|
15
16
|
/**
|
|
17
|
+
* @public
|
|
16
18
|
* <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
|
|
17
19
|
* <p>You can call this operation only from the organization's
|
|
18
20
|
* management account and from the us-east-1 Region.</p>
|
|
@@ -21,6 +23,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
21
23
|
describeReportCreation(args: DescribeReportCreationCommandInput, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
|
|
22
24
|
describeReportCreation(args: DescribeReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
|
|
23
25
|
/**
|
|
26
|
+
* @public
|
|
24
27
|
* <p>Returns a table that shows counts of resources that are noncompliant with their tag
|
|
25
28
|
* policies.</p>
|
|
26
29
|
* <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
|
|
@@ -39,6 +42,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
39
42
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
|
|
40
43
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
|
|
41
44
|
/**
|
|
45
|
+
* @public
|
|
42
46
|
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
43
47
|
* specified Amazon Web Services Region for the account.</p>
|
|
44
48
|
* <p>Depending on what information you want returned, you can also specify the
|
|
@@ -68,6 +72,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
68
72
|
getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
69
73
|
getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
70
74
|
/**
|
|
75
|
+
* @public
|
|
71
76
|
* <p>Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling
|
|
72
77
|
* account.</p>
|
|
73
78
|
* <p>This operation supports pagination, where the response can be sent in
|
|
@@ -81,6 +86,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
81
86
|
getTagKeys(args: GetTagKeysCommandInput, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
82
87
|
getTagKeys(args: GetTagKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
83
88
|
/**
|
|
89
|
+
* @public
|
|
84
90
|
* <p>Returns all tag values for the specified key that are used in the specified Amazon Web Services
|
|
85
91
|
* Region for the calling account.</p>
|
|
86
92
|
* <p>This operation supports pagination, where the response can be sent in
|
|
@@ -94,6 +100,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
94
100
|
getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
95
101
|
getTagValues(args: GetTagValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
96
102
|
/**
|
|
103
|
+
* @public
|
|
97
104
|
* <p>Generates a report that lists all tagged resources in the accounts across your
|
|
98
105
|
* organization and tells whether each resource is compliant with the effective tag policy.
|
|
99
106
|
* Compliance data is refreshed daily. The report is generated asynchronously.</p>
|
|
@@ -108,6 +115,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
108
115
|
startReportCreation(args: StartReportCreationCommandInput, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
|
|
109
116
|
startReportCreation(args: StartReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReportCreationCommandOutput) => void): void;
|
|
110
117
|
/**
|
|
118
|
+
* @public
|
|
111
119
|
* <p>Applies one or more tags to the specified resources. Note the following:</p>
|
|
112
120
|
* <ul>
|
|
113
121
|
* <li>
|
|
@@ -163,6 +171,7 @@ export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPICl
|
|
|
163
171
|
tagResources(args: TagResourcesCommandInput, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
|
|
164
172
|
tagResources(args: TagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
|
|
165
173
|
/**
|
|
174
|
+
* @public
|
|
166
175
|
* <p>Removes the specified tags from the specified resources. When you specify a tag key,
|
|
167
176
|
* the action removes both that key and its associated value. The operation succeeds even
|
|
168
177
|
* if you attempt to remove tags from a resource that were already removed. Note the
|
|
@@ -16,15 +16,24 @@ import { StartReportCreationCommandInput, StartReportCreationCommandOutput } fro
|
|
|
16
16
|
import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
|
|
17
17
|
import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
|
|
18
18
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
19
22
|
export type ServiceInputTypes = DescribeReportCreationCommandInput | GetComplianceSummaryCommandInput | GetResourcesCommandInput | GetTagKeysCommandInput | GetTagValuesCommandInput | StartReportCreationCommandInput | TagResourcesCommandInput | UntagResourcesCommandInput;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
20
26
|
export type ServiceOutputTypes = DescribeReportCreationCommandOutput | GetComplianceSummaryCommandOutput | GetResourcesCommandOutput | GetTagKeysCommandOutput | GetTagValuesCommandOutput | StartReportCreationCommandOutput | TagResourcesCommandOutput | UntagResourcesCommandOutput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
21
30
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
31
|
/**
|
|
23
32
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
24
33
|
*/
|
|
25
34
|
requestHandler?: __HttpHandler;
|
|
26
35
|
/**
|
|
27
|
-
* A constructor for a class implementing the {@link
|
|
36
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
28
37
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
29
38
|
* @internal
|
|
30
39
|
*/
|
|
@@ -114,23 +123,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
114
123
|
*/
|
|
115
124
|
logger?: __Logger;
|
|
116
125
|
/**
|
|
117
|
-
* The {@link
|
|
126
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
118
127
|
*/
|
|
119
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
120
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
121
133
|
type ResourceGroupsTaggingAPIClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
122
134
|
/**
|
|
123
|
-
*
|
|
135
|
+
* @public
|
|
136
|
+
*
|
|
137
|
+
* The configuration interface of ResourceGroupsTaggingAPIClient class constructor that set the region, credentials and other options.
|
|
124
138
|
*/
|
|
125
139
|
export interface ResourceGroupsTaggingAPIClientConfig extends ResourceGroupsTaggingAPIClientConfigType {
|
|
126
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
127
144
|
type ResourceGroupsTaggingAPIClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
128
145
|
/**
|
|
129
|
-
*
|
|
146
|
+
* @public
|
|
147
|
+
*
|
|
148
|
+
* The resolved configuration interface of ResourceGroupsTaggingAPIClient class. This is resolved and normalized from the {@link ResourceGroupsTaggingAPIClientConfig | constructor configuration interface}.
|
|
130
149
|
*/
|
|
131
150
|
export interface ResourceGroupsTaggingAPIClientResolvedConfig extends ResourceGroupsTaggingAPIClientResolvedConfigType {
|
|
132
151
|
}
|
|
133
152
|
/**
|
|
153
|
+
* @public
|
|
134
154
|
* <fullname>Resource Groups Tagging API</fullname>
|
|
135
155
|
*/
|
|
136
156
|
export declare class ResourceGroupsTaggingAPIClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeReportCreationInput, DescribeReportCreationOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeReportCreationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeReportCreationCommandInput extends DescribeReportCreationInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeReportCreationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeReportCreationCommandOutput extends DescribeReportCreationOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
|
|
18
23
|
* <p>You can call this operation only from the organization's
|
|
19
24
|
* management account and from the us-east-1 Region.</p>
|
|
@@ -27,6 +32,8 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param DescribeReportCreationCommandInput - {@link DescribeReportCreationCommandInput}
|
|
36
|
+
* @returns {@link DescribeReportCreationCommandOutput}
|
|
30
37
|
* @see {@link DescribeReportCreationCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link DescribeReportCreationCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -88,11 +95,20 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat
|
|
|
88
95
|
export declare class DescribeReportCreationCommand extends $Command<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
89
96
|
readonly input: DescribeReportCreationCommandInput;
|
|
90
97
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
91
101
|
constructor(input: DescribeReportCreationCommandInput);
|
|
92
102
|
/**
|
|
93
103
|
* @internal
|
|
94
104
|
*/
|
|
95
105
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
96
109
|
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
97
113
|
private deserialize;
|
|
98
114
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetComplianceSummaryInput, GetComplianceSummaryOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetComplianceSummaryCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetComplianceSummaryCommandInput extends GetComplianceSummaryInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetComplianceSummaryCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns a table that shows counts of resources that are noncompliant with their tag
|
|
18
23
|
* policies.</p>
|
|
19
24
|
* <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
|
|
@@ -37,6 +42,8 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO
|
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
39
44
|
*
|
|
45
|
+
* @param GetComplianceSummaryCommandInput - {@link GetComplianceSummaryCommandInput}
|
|
46
|
+
* @returns {@link GetComplianceSummaryCommandOutput}
|
|
40
47
|
* @see {@link GetComplianceSummaryCommandInput} for command's `input` shape.
|
|
41
48
|
* @see {@link GetComplianceSummaryCommandOutput} for command's `response` shape.
|
|
42
49
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -98,11 +105,20 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO
|
|
|
98
105
|
export declare class GetComplianceSummaryCommand extends $Command<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
99
106
|
readonly input: GetComplianceSummaryCommandInput;
|
|
100
107
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
101
111
|
constructor(input: GetComplianceSummaryCommandInput);
|
|
102
112
|
/**
|
|
103
113
|
* @internal
|
|
104
114
|
*/
|
|
105
115
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
106
119
|
private serialize;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
107
123
|
private deserialize;
|
|
108
124
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetResourcesInput, GetResourcesOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetResourcesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetResourcesCommandInput extends GetResourcesInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetResourcesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetResourcesCommandOutput extends GetResourcesOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
18
23
|
* specified Amazon Web Services Region for the account.</p>
|
|
19
24
|
* <p>Depending on what information you want returned, you can also specify the
|
|
@@ -48,6 +53,8 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat
|
|
|
48
53
|
* const response = await client.send(command);
|
|
49
54
|
* ```
|
|
50
55
|
*
|
|
56
|
+
* @param GetResourcesCommandInput - {@link GetResourcesCommandInput}
|
|
57
|
+
* @returns {@link GetResourcesCommandOutput}
|
|
51
58
|
* @see {@link GetResourcesCommandInput} for command's `input` shape.
|
|
52
59
|
* @see {@link GetResourcesCommandOutput} for command's `response` shape.
|
|
53
60
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -91,11 +98,20 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat
|
|
|
91
98
|
export declare class GetResourcesCommand extends $Command<GetResourcesCommandInput, GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
92
99
|
readonly input: GetResourcesCommandInput;
|
|
93
100
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
94
104
|
constructor(input: GetResourcesCommandInput);
|
|
95
105
|
/**
|
|
96
106
|
* @internal
|
|
97
107
|
*/
|
|
98
108
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcesCommandInput, GetResourcesCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
99
112
|
private serialize;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
100
116
|
private deserialize;
|
|
101
117
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetTagKeysInput, GetTagKeysOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetTagKeysCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetTagKeysCommandInput extends GetTagKeysInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetTagKeysCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling
|
|
18
23
|
* account.</p>
|
|
19
24
|
* <p>This operation supports pagination, where the response can be sent in
|
|
@@ -32,6 +37,8 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param GetTagKeysCommandInput - {@link GetTagKeysCommandInput}
|
|
41
|
+
* @returns {@link GetTagKeysCommandOutput}
|
|
35
42
|
* @see {@link GetTagKeysCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link GetTagKeysCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -75,11 +82,20 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea
|
|
|
75
82
|
export declare class GetTagKeysCommand extends $Command<GetTagKeysCommandInput, GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
76
83
|
readonly input: GetTagKeysCommandInput;
|
|
77
84
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
78
88
|
constructor(input: GetTagKeysCommandInput);
|
|
79
89
|
/**
|
|
80
90
|
* @internal
|
|
81
91
|
*/
|
|
82
92
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTagKeysCommandInput, GetTagKeysCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
83
96
|
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
84
100
|
private deserialize;
|
|
85
101
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetTagValuesInput, GetTagValuesOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetTagValuesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetTagValuesCommandInput extends GetTagValuesInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetTagValuesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns all tag values for the specified key that are used in the specified Amazon Web Services
|
|
18
23
|
* Region for the calling account.</p>
|
|
19
24
|
* <p>This operation supports pagination, where the response can be sent in
|
|
@@ -32,6 +37,8 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param GetTagValuesCommandInput - {@link GetTagValuesCommandInput}
|
|
41
|
+
* @returns {@link GetTagValuesCommandOutput}
|
|
35
42
|
* @see {@link GetTagValuesCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link GetTagValuesCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -75,11 +82,20 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat
|
|
|
75
82
|
export declare class GetTagValuesCommand extends $Command<GetTagValuesCommandInput, GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
76
83
|
readonly input: GetTagValuesCommandInput;
|
|
77
84
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
78
88
|
constructor(input: GetTagValuesCommandInput);
|
|
79
89
|
/**
|
|
80
90
|
* @internal
|
|
81
91
|
*/
|
|
82
92
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTagValuesCommandInput, GetTagValuesCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
83
96
|
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
84
100
|
private deserialize;
|
|
85
101
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartReportCreationInput, StartReportCreationOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartReportCreationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartReportCreationCommandInput extends StartReportCreationInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartReportCreationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartReportCreationCommandOutput extends StartReportCreationOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Generates a report that lists all tagged resources in the accounts across your
|
|
18
23
|
* organization and tells whether each resource is compliant with the effective tag policy.
|
|
19
24
|
* Compliance data is refreshed daily. The report is generated asynchronously.</p>
|
|
@@ -33,6 +38,8 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param StartReportCreationCommandInput - {@link StartReportCreationCommandInput}
|
|
42
|
+
* @returns {@link StartReportCreationCommandOutput}
|
|
36
43
|
* @see {@link StartReportCreationCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link StartReportCreationCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -98,11 +105,20 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut
|
|
|
98
105
|
export declare class StartReportCreationCommand extends $Command<StartReportCreationCommandInput, StartReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
99
106
|
readonly input: StartReportCreationCommandInput;
|
|
100
107
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
101
111
|
constructor(input: StartReportCreationCommandInput);
|
|
102
112
|
/**
|
|
103
113
|
* @internal
|
|
104
114
|
*/
|
|
105
115
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartReportCreationCommandInput, StartReportCreationCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
106
119
|
private serialize;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
107
123
|
private deserialize;
|
|
108
124
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TagResourcesInput, TagResourcesOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourcesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourcesCommandInput extends TagResourcesInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourcesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourcesCommandOutput extends TagResourcesOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Applies one or more tags to the specified resources. Note the following:</p>
|
|
18
23
|
* <ul>
|
|
19
24
|
* <li>
|
|
@@ -74,6 +79,8 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat
|
|
|
74
79
|
* const response = await client.send(command);
|
|
75
80
|
* ```
|
|
76
81
|
*
|
|
82
|
+
* @param TagResourcesCommandInput - {@link TagResourcesCommandInput}
|
|
83
|
+
* @returns {@link TagResourcesCommandOutput}
|
|
77
84
|
* @see {@link TagResourcesCommandInput} for command's `input` shape.
|
|
78
85
|
* @see {@link TagResourcesCommandOutput} for command's `response` shape.
|
|
79
86
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -113,11 +120,20 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat
|
|
|
113
120
|
export declare class TagResourcesCommand extends $Command<TagResourcesCommandInput, TagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
114
121
|
readonly input: TagResourcesCommandInput;
|
|
115
122
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
116
126
|
constructor(input: TagResourcesCommandInput);
|
|
117
127
|
/**
|
|
118
128
|
* @internal
|
|
119
129
|
*/
|
|
120
130
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourcesCommandInput, TagResourcesCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
121
134
|
private serialize;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
122
138
|
private deserialize;
|
|
123
139
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UntagResourcesInput, UntagResourcesOutput } from "../models/models_0";
|
|
5
5
|
import { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourcesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourcesCommandInput extends UntagResourcesInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourcesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the specified tags from the specified resources. When you specify a tag key,
|
|
18
23
|
* the action removes both that key and its associated value. The operation succeeds even
|
|
19
24
|
* if you attempt to remove tags from a resource that were already removed. Note the
|
|
@@ -61,6 +66,8 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met
|
|
|
61
66
|
* const response = await client.send(command);
|
|
62
67
|
* ```
|
|
63
68
|
*
|
|
69
|
+
* @param UntagResourcesCommandInput - {@link UntagResourcesCommandInput}
|
|
70
|
+
* @returns {@link UntagResourcesCommandOutput}
|
|
64
71
|
* @see {@link UntagResourcesCommandInput} for command's `input` shape.
|
|
65
72
|
* @see {@link UntagResourcesCommandOutput} for command's `response` shape.
|
|
66
73
|
* @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for ResourceGroupsTaggingAPIClient's `config` shape.
|
|
@@ -100,11 +107,20 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met
|
|
|
100
107
|
export declare class UntagResourcesCommand extends $Command<UntagResourcesCommandInput, UntagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
101
108
|
readonly input: UntagResourcesCommandInput;
|
|
102
109
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
103
113
|
constructor(input: UntagResourcesCommandInput);
|
|
104
114
|
/**
|
|
105
115
|
* @internal
|
|
106
116
|
*/
|
|
107
117
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourcesCommandInput, UntagResourcesCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
108
121
|
private serialize;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
109
125
|
private deserialize;
|
|
110
126
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class ResourceGroupsTaggingAPIServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>Information that shows whether a resource is compliant with the effective tag policy,
|
|
5
6
|
* including details on any noncompliant tag keys.</p>
|
|
6
7
|
*/
|
|
@@ -20,6 +21,7 @@ export interface ComplianceDetails {
|
|
|
20
21
|
ComplianceStatus?: boolean;
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
24
|
+
* @public
|
|
23
25
|
* <p>The target of the operation is currently being modified by a different request. Try
|
|
24
26
|
* again later.</p>
|
|
25
27
|
*/
|
|
@@ -33,6 +35,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
33
35
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
34
36
|
}
|
|
35
37
|
/**
|
|
38
|
+
* @public
|
|
36
39
|
* <p>The request was denied because performing this operation violates a constraint. </p>
|
|
37
40
|
* <p>Some of the reasons in the following list might not apply to this specific
|
|
38
41
|
* operation.</p>
|
|
@@ -63,8 +66,14 @@ export declare class ConstraintViolationException extends __BaseException {
|
|
|
63
66
|
*/
|
|
64
67
|
constructor(opts: __ExceptionOptionType<ConstraintViolationException, __BaseException>);
|
|
65
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
66
72
|
export interface DescribeReportCreationInput {
|
|
67
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
68
77
|
export interface DescribeReportCreationOutput {
|
|
69
78
|
/**
|
|
70
79
|
* <p>Reports the status of the operation.</p>
|
|
@@ -106,6 +115,7 @@ export interface DescribeReportCreationOutput {
|
|
|
106
115
|
ErrorMessage?: string;
|
|
107
116
|
}
|
|
108
117
|
/**
|
|
118
|
+
* @public
|
|
109
119
|
* <p>The request processing failed because of an unknown error, exception, or failure. You
|
|
110
120
|
* can retry the request.</p>
|
|
111
121
|
*/
|
|
@@ -119,6 +129,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
119
129
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
120
130
|
}
|
|
121
131
|
/**
|
|
132
|
+
* @public
|
|
122
133
|
* <p>This error indicates one of the following:</p>
|
|
123
134
|
* <ul>
|
|
124
135
|
* <li>
|
|
@@ -151,6 +162,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
151
162
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
152
163
|
}
|
|
153
164
|
/**
|
|
165
|
+
* @public
|
|
154
166
|
* <p>The request was denied to limit the frequency of submitted requests.</p>
|
|
155
167
|
*/
|
|
156
168
|
export declare class ThrottledException extends __BaseException {
|
|
@@ -162,11 +174,15 @@ export declare class ThrottledException extends __BaseException {
|
|
|
162
174
|
*/
|
|
163
175
|
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
164
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
165
180
|
export declare enum ErrorCode {
|
|
166
181
|
INTERNAL_SERVICE_EXCEPTION = "InternalServiceException",
|
|
167
182
|
INVALID_PARAMETER_EXCEPTION = "InvalidParameterException"
|
|
168
183
|
}
|
|
169
184
|
/**
|
|
185
|
+
* @public
|
|
170
186
|
* <p>Information about the errors that are returned for each failed resource. This
|
|
171
187
|
* information can include <code>InternalServiceException</code> and
|
|
172
188
|
* <code>InvalidParameterException</code> errors. It can also include any valid error
|
|
@@ -216,11 +232,17 @@ export interface FailureInfo {
|
|
|
216
232
|
*/
|
|
217
233
|
ErrorMessage?: string;
|
|
218
234
|
}
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
219
238
|
export declare enum GroupByAttribute {
|
|
220
239
|
REGION = "REGION",
|
|
221
240
|
RESOURCE_TYPE = "RESOURCE_TYPE",
|
|
222
241
|
TARGET_ID = "TARGET_ID"
|
|
223
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
224
246
|
export interface GetComplianceSummaryInput {
|
|
225
247
|
/**
|
|
226
248
|
* <p>Specifies target identifiers (usually, specific account IDs) to limit the output by.
|
|
@@ -289,12 +311,16 @@ export interface GetComplianceSummaryInput {
|
|
|
289
311
|
*/
|
|
290
312
|
PaginationToken?: string;
|
|
291
313
|
}
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
292
317
|
export declare enum TargetIdType {
|
|
293
318
|
ACCOUNT = "ACCOUNT",
|
|
294
319
|
OU = "OU",
|
|
295
320
|
ROOT = "ROOT"
|
|
296
321
|
}
|
|
297
322
|
/**
|
|
323
|
+
* @public
|
|
298
324
|
* <p>A count of noncompliant resources.</p>
|
|
299
325
|
*/
|
|
300
326
|
export interface Summary {
|
|
@@ -324,6 +350,9 @@ export interface Summary {
|
|
|
324
350
|
*/
|
|
325
351
|
NonCompliantResources?: number;
|
|
326
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
327
356
|
export interface GetComplianceSummaryOutput {
|
|
328
357
|
/**
|
|
329
358
|
* <p>A table that shows counts of noncompliant resources.</p>
|
|
@@ -337,6 +366,7 @@ export interface GetComplianceSummaryOutput {
|
|
|
337
366
|
PaginationToken?: string;
|
|
338
367
|
}
|
|
339
368
|
/**
|
|
369
|
+
* @public
|
|
340
370
|
* <p>A list of tags (keys and values) that are used to specify the associated
|
|
341
371
|
* resources.</p>
|
|
342
372
|
*/
|
|
@@ -352,6 +382,9 @@ export interface TagFilter {
|
|
|
352
382
|
*/
|
|
353
383
|
Values?: string[];
|
|
354
384
|
}
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
355
388
|
export interface GetResourcesInput {
|
|
356
389
|
/**
|
|
357
390
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
@@ -384,31 +417,31 @@ export interface GetResourcesInput {
|
|
|
384
417
|
* <li>
|
|
385
418
|
* <p>If you don't specify a value for a key, the response returns all resources
|
|
386
419
|
* that are tagged with that key, with any or no value.</p>
|
|
387
|
-
* <p>For example, for the following filters: <code>filter1= {keyA
|
|
388
|
-
* <code>filter2
|
|
389
|
-
* {keyC}</code>:</p>
|
|
420
|
+
* <p>For example, for the following filters: <code>filter1= \{keyA,\{value1\}\}</code>,
|
|
421
|
+
* <code>filter2=\{keyB,\{value2,value3,value4\}\}</code>, <code>filter3=
|
|
422
|
+
* \{keyC\}</code>:</p>
|
|
390
423
|
* <ul>
|
|
391
424
|
* <li>
|
|
392
425
|
* <p>
|
|
393
|
-
* <code>GetResources({filter1})</code> returns resources tagged with
|
|
426
|
+
* <code>GetResources(\{filter1\})</code> returns resources tagged with
|
|
394
427
|
* <code>key1=value1</code>
|
|
395
428
|
* </p>
|
|
396
429
|
* </li>
|
|
397
430
|
* <li>
|
|
398
431
|
* <p>
|
|
399
|
-
* <code>GetResources({filter2})</code> returns resources tagged with
|
|
432
|
+
* <code>GetResources(\{filter2\})</code> returns resources tagged with
|
|
400
433
|
* <code>key2=value2</code> or <code>key2=value3</code> or
|
|
401
434
|
* <code>key2=value4</code>
|
|
402
435
|
* </p>
|
|
403
436
|
* </li>
|
|
404
437
|
* <li>
|
|
405
438
|
* <p>
|
|
406
|
-
* <code>GetResources({filter3})</code> returns resources tagged with any
|
|
439
|
+
* <code>GetResources(\{filter3\})</code> returns resources tagged with any
|
|
407
440
|
* tag with the key <code>key3</code>, and with any or no value</p>
|
|
408
441
|
* </li>
|
|
409
442
|
* <li>
|
|
410
443
|
* <p>
|
|
411
|
-
* <code>GetResources({filter1,filter2,filter3})</code> returns resources
|
|
444
|
+
* <code>GetResources(\{filter1,filter2,filter3\})</code> returns resources
|
|
412
445
|
* tagged with <code>(key1=value1) and (key2=value2 or key2=value3 or
|
|
413
446
|
* key2=value4) and (key3, any or no value)</code>
|
|
414
447
|
* </p>
|
|
@@ -492,6 +525,7 @@ export interface GetResourcesInput {
|
|
|
492
525
|
ResourceARNList?: string[];
|
|
493
526
|
}
|
|
494
527
|
/**
|
|
528
|
+
* @public
|
|
495
529
|
* <p>The metadata that you apply to Amazon Web Services resources to help you categorize and organize
|
|
496
530
|
* them. Each tag consists of a key and a value, both of which you define. For more
|
|
497
531
|
* information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
@@ -509,6 +543,7 @@ export interface Tag {
|
|
|
509
543
|
Value: string | undefined;
|
|
510
544
|
}
|
|
511
545
|
/**
|
|
546
|
+
* @public
|
|
512
547
|
* <p>A list of resource ARNs and the tags (keys and values) that are associated with
|
|
513
548
|
* each.</p>
|
|
514
549
|
*/
|
|
@@ -527,6 +562,9 @@ export interface ResourceTagMapping {
|
|
|
527
562
|
*/
|
|
528
563
|
ComplianceDetails?: ComplianceDetails;
|
|
529
564
|
}
|
|
565
|
+
/**
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
530
568
|
export interface GetResourcesOutput {
|
|
531
569
|
/**
|
|
532
570
|
* <p>A string that indicates that there is more data available than this
|
|
@@ -541,6 +579,7 @@ export interface GetResourcesOutput {
|
|
|
541
579
|
ResourceTagMappingList?: ResourceTagMapping[];
|
|
542
580
|
}
|
|
543
581
|
/**
|
|
582
|
+
* @public
|
|
544
583
|
* <p>A <code>PaginationToken</code> is valid for a maximum of 15 minutes. Your request was
|
|
545
584
|
* denied because the specified <code>PaginationToken</code> has expired.</p>
|
|
546
585
|
*/
|
|
@@ -553,6 +592,9 @@ export declare class PaginationTokenExpiredException extends __BaseException {
|
|
|
553
592
|
*/
|
|
554
593
|
constructor(opts: __ExceptionOptionType<PaginationTokenExpiredException, __BaseException>);
|
|
555
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
556
598
|
export interface GetTagKeysInput {
|
|
557
599
|
/**
|
|
558
600
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
@@ -561,6 +603,9 @@ export interface GetTagKeysInput {
|
|
|
561
603
|
*/
|
|
562
604
|
PaginationToken?: string;
|
|
563
605
|
}
|
|
606
|
+
/**
|
|
607
|
+
* @public
|
|
608
|
+
*/
|
|
564
609
|
export interface GetTagKeysOutput {
|
|
565
610
|
/**
|
|
566
611
|
* <p>A string that indicates that there is more data available than this
|
|
@@ -573,6 +618,9 @@ export interface GetTagKeysOutput {
|
|
|
573
618
|
*/
|
|
574
619
|
TagKeys?: string[];
|
|
575
620
|
}
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
576
624
|
export interface GetTagValuesInput {
|
|
577
625
|
/**
|
|
578
626
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
@@ -586,6 +634,9 @@ export interface GetTagValuesInput {
|
|
|
586
634
|
*/
|
|
587
635
|
Key: string | undefined;
|
|
588
636
|
}
|
|
637
|
+
/**
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
589
640
|
export interface GetTagValuesOutput {
|
|
590
641
|
/**
|
|
591
642
|
* <p>A string that indicates that there is more data available than this
|
|
@@ -599,6 +650,9 @@ export interface GetTagValuesOutput {
|
|
|
599
650
|
*/
|
|
600
651
|
TagValues?: string[];
|
|
601
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
602
656
|
export interface StartReportCreationInput {
|
|
603
657
|
/**
|
|
604
658
|
* <p>The name of the Amazon S3 bucket where the report will be stored; for example:</p>
|
|
@@ -610,8 +664,14 @@ export interface StartReportCreationInput {
|
|
|
610
664
|
*/
|
|
611
665
|
S3Bucket: string | undefined;
|
|
612
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
*/
|
|
613
670
|
export interface StartReportCreationOutput {
|
|
614
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* @public
|
|
674
|
+
*/
|
|
615
675
|
export interface TagResourcesInput {
|
|
616
676
|
/**
|
|
617
677
|
* <p>Specifies the list of ARNs of the resources that you want to apply tags to.</p>
|
|
@@ -627,6 +687,9 @@ export interface TagResourcesInput {
|
|
|
627
687
|
*/
|
|
628
688
|
Tags: Record<string, string> | undefined;
|
|
629
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
630
693
|
export interface TagResourcesOutput {
|
|
631
694
|
/**
|
|
632
695
|
* <p>A map containing a key-value pair for each failed item that couldn't be tagged. The
|
|
@@ -636,6 +699,9 @@ export interface TagResourcesOutput {
|
|
|
636
699
|
*/
|
|
637
700
|
FailedResourcesMap?: Record<string, FailureInfo>;
|
|
638
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
639
705
|
export interface UntagResourcesInput {
|
|
640
706
|
/**
|
|
641
707
|
* <p>Specifies a list of ARNs of the resources that you want to remove tags from.</p>
|
|
@@ -651,6 +717,9 @@ export interface UntagResourcesInput {
|
|
|
651
717
|
*/
|
|
652
718
|
TagKeys: string[] | undefined;
|
|
653
719
|
}
|
|
720
|
+
/**
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
654
723
|
export interface UntagResourcesOutput {
|
|
655
724
|
/**
|
|
656
725
|
* <p>A map containing a key-value pair for each failed item that couldn't be untagged. The
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } from "../commands/GetComplianceSummaryCommand";
|
|
3
3
|
import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateGetComplianceSummary(config: ResourceGroupsTaggingAPIPaginationConfiguration, input: GetComplianceSummaryCommandInput, ...additionalArguments: any): Paginator<GetComplianceSummaryCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "../commands/GetResourcesCommand";
|
|
3
3
|
import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateGetResources(config: ResourceGroupsTaggingAPIPaginationConfiguration, input: GetResourcesCommandInput, ...additionalArguments: any): Paginator<GetResourcesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { GetTagKeysCommandInput, GetTagKeysCommandOutput } from "../commands/GetTagKeysCommand";
|
|
3
3
|
import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateGetTagKeys(config: ResourceGroupsTaggingAPIPaginationConfiguration, input: GetTagKeysCommandInput, ...additionalArguments: any): Paginator<GetTagKeysCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { GetTagValuesCommandInput, GetTagValuesCommandOutput } from "../commands/GetTagValuesCommand";
|
|
3
3
|
import { ResourceGroupsTaggingAPIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateGetTagValues(config: ResourceGroupsTaggingAPIPaginationConfiguration, input: GetTagValuesCommandInput, ...additionalArguments: any): Paginator<GetTagValuesCommandOutput>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { ResourceGroupsTaggingAPIClient } from "../ResourceGroupsTaggingAPIClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface ResourceGroupsTaggingAPIPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: ResourceGroupsTaggingAPIClient;
|
|
5
8
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups-tagging-api",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Tagging Api Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|