@aws-sdk/client-resource-groups-tagging-api 3.533.0 → 3.535.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 +5 -1
- package/dist-types/ResourceGroupsTaggingAPIClient.d.ts +1 -1
- package/dist-types/commands/DescribeReportCreationCommand.d.ts +2 -1
- package/dist-types/commands/GetComplianceSummaryCommand.d.ts +2 -1
- package/dist-types/commands/GetResourcesCommand.d.ts +2 -1
- package/dist-types/commands/GetTagKeysCommand.d.ts +2 -1
- package/dist-types/commands/GetTagValuesCommand.d.ts +2 -1
- package/dist-types/commands/StartReportCreationCommand.d.ts +2 -1
- package/dist-types/commands/TagResourcesCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourcesCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +68 -68
- package/dist-types/ts3.4/ResourceGroupsTaggingAPI.d.ts +4 -0
- package/dist-types/ts3.4/commands/DescribeReportCreationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetComplianceSummaryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetTagKeysCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetTagValuesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartReportCreationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourcesCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -12,24 +12,28 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
12
12
|
/**
|
|
13
13
|
* @see {@link DescribeReportCreationCommand}
|
|
14
14
|
*/
|
|
15
|
+
describeReportCreation(): Promise<DescribeReportCreationCommandOutput>;
|
|
15
16
|
describeReportCreation(args: DescribeReportCreationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReportCreationCommandOutput>;
|
|
16
17
|
describeReportCreation(args: DescribeReportCreationCommandInput, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
|
|
17
18
|
describeReportCreation(args: DescribeReportCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReportCreationCommandOutput) => void): void;
|
|
18
19
|
/**
|
|
19
20
|
* @see {@link GetComplianceSummaryCommand}
|
|
20
21
|
*/
|
|
22
|
+
getComplianceSummary(): Promise<GetComplianceSummaryCommandOutput>;
|
|
21
23
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetComplianceSummaryCommandOutput>;
|
|
22
24
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
|
|
23
25
|
getComplianceSummary(args: GetComplianceSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void): void;
|
|
24
26
|
/**
|
|
25
27
|
* @see {@link GetResourcesCommand}
|
|
26
28
|
*/
|
|
29
|
+
getResources(): Promise<GetResourcesCommandOutput>;
|
|
27
30
|
getResources(args: GetResourcesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcesCommandOutput>;
|
|
28
31
|
getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
29
32
|
getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
30
33
|
/**
|
|
31
34
|
* @see {@link GetTagKeysCommand}
|
|
32
35
|
*/
|
|
36
|
+
getTagKeys(): Promise<GetTagKeysCommandOutput>;
|
|
33
37
|
getTagKeys(args: GetTagKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetTagKeysCommandOutput>;
|
|
34
38
|
getTagKeys(args: GetTagKeysCommandInput, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
35
39
|
getTagKeys(args: GetTagKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
@@ -59,8 +63,8 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
59
63
|
untagResources(args: UntagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
|
|
60
64
|
}
|
|
61
65
|
/**
|
|
62
|
-
* @public
|
|
63
66
|
* <fullname>Resource Groups Tagging API</fullname>
|
|
67
|
+
* @public
|
|
64
68
|
*/
|
|
65
69
|
export declare class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient implements ResourceGroupsTaggingAPI {
|
|
66
70
|
}
|
|
@@ -159,8 +159,8 @@ export type ResourceGroupsTaggingAPIClientResolvedConfigType = __SmithyResolvedC
|
|
|
159
159
|
export interface ResourceGroupsTaggingAPIClientResolvedConfig extends ResourceGroupsTaggingAPIClientResolvedConfigType {
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* <fullname>Resource Groups Tagging API</fullname>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
export declare class ResourceGroupsTaggingAPIClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ResourceGroupsTaggingAPIClientResolvedConfig> {
|
|
166
166
|
/**
|
|
@@ -22,10 +22,10 @@ export interface DescribeReportCreationCommandOutput extends DescribeReportCreat
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeReportCreationCommand_base: {
|
|
24
24
|
new (input: DescribeReportCreationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [DescribeReportCreationCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
|
|
30
30
|
* <p>You can call this operation only from the organization's
|
|
31
31
|
* management account and from the us-east-1 Region.</p>
|
|
@@ -108,6 +108,7 @@ declare const DescribeReportCreationCommand_base: {
|
|
|
108
108
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
110
110
|
*
|
|
111
|
+
* @public
|
|
111
112
|
*/
|
|
112
113
|
export declare class DescribeReportCreationCommand extends DescribeReportCreationCommand_base {
|
|
113
114
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryO
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetComplianceSummaryCommand_base: {
|
|
24
24
|
new (input: GetComplianceSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetComplianceSummaryCommandInput]): import("@smithy/smithy-client").CommandImpl<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a table that shows counts of resources that are noncompliant with their tag
|
|
30
30
|
* policies.</p>
|
|
31
31
|
* <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
|
|
@@ -143,6 +143,7 @@ declare const GetComplianceSummaryCommand_base: {
|
|
|
143
143
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
144
144
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
145
145
|
*
|
|
146
|
+
* @public
|
|
146
147
|
*/
|
|
147
148
|
export declare class GetComplianceSummaryCommand extends GetComplianceSummaryCommand_base {
|
|
148
149
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetResourcesCommandOutput extends GetResourcesOutput, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetResourcesCommand_base: {
|
|
24
24
|
new (input: GetResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcesCommandInput, GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetResourcesCommandInput]): import("@smithy/smithy-client").CommandImpl<GetResourcesCommandInput, GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
30
30
|
* specified Amazon Web Services Region for the account.</p>
|
|
31
31
|
* <p>Depending on what information you want returned, you can also specify the
|
|
@@ -148,6 +148,7 @@ declare const GetResourcesCommand_base: {
|
|
|
148
148
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
149
149
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
150
150
|
*
|
|
151
|
+
* @public
|
|
151
152
|
*/
|
|
152
153
|
export declare class GetResourcesCommand extends GetResourcesCommand_base {
|
|
153
154
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetTagKeysCommand_base: {
|
|
24
24
|
new (input: GetTagKeysCommandInput): import("@smithy/smithy-client").CommandImpl<GetTagKeysCommandInput, GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetTagKeysCommandInput]): import("@smithy/smithy-client").CommandImpl<GetTagKeysCommandInput, GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling
|
|
30
30
|
* account.</p>
|
|
31
31
|
* <p>This operation supports pagination, where the response can be sent in
|
|
@@ -97,6 +97,7 @@ declare const GetTagKeysCommand_base: {
|
|
|
97
97
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
99
99
|
*
|
|
100
|
+
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class GetTagKeysCommand extends GetTagKeysCommand_base {
|
|
102
103
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetTagValuesCommand_base: {
|
|
24
24
|
new (input: GetTagValuesCommandInput): import("@smithy/smithy-client").CommandImpl<GetTagValuesCommandInput, GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetTagValuesCommandInput): import("@smithy/smithy-client").CommandImpl<GetTagValuesCommandInput, GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns all tag values for the specified key that are used in the specified Amazon Web Services
|
|
30
30
|
* Region for the calling account.</p>
|
|
31
31
|
* <p>This operation supports pagination, where the response can be sent in
|
|
@@ -98,6 +98,7 @@ declare const GetTagValuesCommand_base: {
|
|
|
98
98
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
100
100
|
*
|
|
101
|
+
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class GetTagValuesCommand extends GetTagValuesCommand_base {
|
|
103
104
|
}
|
|
@@ -22,10 +22,10 @@ export interface StartReportCreationCommandOutput extends StartReportCreationOut
|
|
|
22
22
|
}
|
|
23
23
|
declare const StartReportCreationCommand_base: {
|
|
24
24
|
new (input: StartReportCreationCommandInput): import("@smithy/smithy-client").CommandImpl<StartReportCreationCommandInput, StartReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: StartReportCreationCommandInput): import("@smithy/smithy-client").CommandImpl<StartReportCreationCommandInput, StartReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Generates a report that lists all tagged resources in the accounts across your
|
|
30
30
|
* organization and tells whether each resource is compliant with the effective tag policy.
|
|
31
31
|
* Compliance data is refreshed daily. The report is generated asynchronously.</p>
|
|
@@ -115,6 +115,7 @@ declare const StartReportCreationCommand_base: {
|
|
|
115
115
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
117
117
|
*
|
|
118
|
+
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class StartReportCreationCommand extends StartReportCreationCommand_base {
|
|
120
121
|
}
|
|
@@ -22,10 +22,10 @@ export interface TagResourcesCommandOutput extends TagResourcesOutput, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const TagResourcesCommand_base: {
|
|
24
24
|
new (input: TagResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourcesCommandInput, TagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourcesCommandInput, TagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Applies one or more tags to the specified resources. Note the following:</p>
|
|
30
30
|
* <ul>
|
|
31
31
|
* <li>
|
|
@@ -143,6 +143,7 @@ declare const TagResourcesCommand_base: {
|
|
|
143
143
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
144
144
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
145
145
|
*
|
|
146
|
+
* @public
|
|
146
147
|
*/
|
|
147
148
|
export declare class TagResourcesCommand extends TagResourcesCommand_base {
|
|
148
149
|
}
|
|
@@ -22,10 +22,10 @@ export interface UntagResourcesCommandOutput extends UntagResourcesOutput, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const UntagResourcesCommand_base: {
|
|
24
24
|
new (input: UntagResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourcesCommandInput, UntagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourcesCommandInput, UntagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Removes the specified tags from the specified resources. When you specify a tag key,
|
|
30
30
|
* the action removes both that key and its associated value. The operation succeeds even
|
|
31
31
|
* if you attempt to remove tags from a resource that were already removed. Note the
|
|
@@ -129,6 +129,7 @@ declare const UntagResourcesCommand_base: {
|
|
|
129
129
|
* @throws {@link ResourceGroupsTaggingAPIServiceException}
|
|
130
130
|
* <p>Base exception class for all service exceptions from ResourceGroupsTaggingAPI service.</p>
|
|
131
131
|
*
|
|
132
|
+
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class UntagResourcesCommand extends UntagResourcesCommand_base {
|
|
134
135
|
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ResourceGroupsTaggingAPIServiceException as __BaseException } from "./ResourceGroupsTaggingAPIServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>Information that shows whether a resource is compliant with the effective tag policy,
|
|
6
5
|
* including details on any noncompliant tag keys.</p>
|
|
6
|
+
* @public
|
|
7
7
|
*/
|
|
8
8
|
export interface ComplianceDetails {
|
|
9
9
|
/**
|
|
10
|
-
* @public
|
|
11
10
|
* <p>These tag keys on the resource are noncompliant with the effective tag policy.</p>
|
|
11
|
+
* @public
|
|
12
12
|
*/
|
|
13
13
|
NoncompliantKeys?: string[];
|
|
14
14
|
/**
|
|
15
|
-
* @public
|
|
16
15
|
* <p>These are keys defined in the effective policy that are on the resource with either
|
|
17
16
|
* incorrect case treatment or noncompliant values. </p>
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
KeysWithNoncompliantValues?: string[];
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>Whether a resource is compliant with the effective tag policy.</p>
|
|
22
|
+
* @public
|
|
23
23
|
*/
|
|
24
24
|
ComplianceStatus?: boolean;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* @public
|
|
28
27
|
* <p>The target of the operation is currently being modified by a different request. Try
|
|
29
28
|
* again later.</p>
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
32
32
|
readonly name: "ConcurrentModificationException";
|
|
@@ -38,7 +38,6 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
38
38
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* @public
|
|
42
41
|
* <p>The request was denied because performing this operation violates a constraint. </p>
|
|
43
42
|
* <p>Some of the reasons in the following list might not apply to this specific
|
|
44
43
|
* operation.</p>
|
|
@@ -59,6 +58,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
59
58
|
* account.</p>
|
|
60
59
|
* </li>
|
|
61
60
|
* </ul>
|
|
61
|
+
* @public
|
|
62
62
|
*/
|
|
63
63
|
export declare class ConstraintViolationException extends __BaseException {
|
|
64
64
|
readonly name: "ConstraintViolationException";
|
|
@@ -79,7 +79,6 @@ export interface DescribeReportCreationInput {
|
|
|
79
79
|
*/
|
|
80
80
|
export interface DescribeReportCreationOutput {
|
|
81
81
|
/**
|
|
82
|
-
* @public
|
|
83
82
|
* <p>Reports the status of the operation.</p>
|
|
84
83
|
* <p>The operation status can be one of the following:</p>
|
|
85
84
|
* <ul>
|
|
@@ -103,28 +102,29 @@ export interface DescribeReportCreationOutput {
|
|
|
103
102
|
* <code>NO REPORT</code> - No report was generated in the last 90 days.</p>
|
|
104
103
|
* </li>
|
|
105
104
|
* </ul>
|
|
105
|
+
* @public
|
|
106
106
|
*/
|
|
107
107
|
Status?: string;
|
|
108
108
|
/**
|
|
109
|
-
* @public
|
|
110
109
|
* <p>The path to the Amazon S3 bucket where the report was stored on creation.</p>
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
S3Location?: string;
|
|
113
113
|
/**
|
|
114
|
-
* @public
|
|
115
114
|
* <p>The date and time that the report was started. </p>
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
StartDate?: string;
|
|
118
118
|
/**
|
|
119
|
-
* @public
|
|
120
119
|
* <p>Details of the common errors that all operations return.</p>
|
|
120
|
+
* @public
|
|
121
121
|
*/
|
|
122
122
|
ErrorMessage?: string;
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
|
-
* @public
|
|
126
125
|
* <p>The request processing failed because of an unknown error, exception, or failure. You
|
|
127
126
|
* can retry the request.</p>
|
|
127
|
+
* @public
|
|
128
128
|
*/
|
|
129
129
|
export declare class InternalServiceException extends __BaseException {
|
|
130
130
|
readonly name: "InternalServiceException";
|
|
@@ -136,7 +136,6 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
136
136
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
* @public
|
|
140
139
|
* <p>This error indicates one of the following:</p>
|
|
141
140
|
* <ul>
|
|
142
141
|
* <li>
|
|
@@ -158,6 +157,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
158
157
|
* </p>
|
|
159
158
|
* </li>
|
|
160
159
|
* </ul>
|
|
160
|
+
* @public
|
|
161
161
|
*/
|
|
162
162
|
export declare class InvalidParameterException extends __BaseException {
|
|
163
163
|
readonly name: "InvalidParameterException";
|
|
@@ -169,8 +169,8 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
169
169
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* <p>The request was denied to limit the frequency of submitted requests.</p>
|
|
173
|
+
* @public
|
|
174
174
|
*/
|
|
175
175
|
export declare class ThrottledException extends __BaseException {
|
|
176
176
|
readonly name: "ThrottledException";
|
|
@@ -194,7 +194,6 @@ export declare const ErrorCode: {
|
|
|
194
194
|
*/
|
|
195
195
|
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
196
196
|
/**
|
|
197
|
-
* @public
|
|
198
197
|
* <p>Information about the errors that are returned for each failed resource. This
|
|
199
198
|
* information can include <code>InternalServiceException</code> and
|
|
200
199
|
* <code>InvalidParameterException</code> errors. It can also include any valid error
|
|
@@ -226,24 +225,25 @@ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
|
226
225
|
* </ul>
|
|
227
226
|
* <p>For more information on errors that are generated from other Amazon Web Services services, see the
|
|
228
227
|
* documentation for that service. </p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
export interface FailureInfo {
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>The HTTP status code of the common error.</p>
|
|
233
|
+
* @public
|
|
234
234
|
*/
|
|
235
235
|
StatusCode?: number;
|
|
236
236
|
/**
|
|
237
|
-
* @public
|
|
238
237
|
* <p>The code of the common error. Valid values include
|
|
239
238
|
* <code>InternalServiceException</code>, <code>InvalidParameterException</code>, and
|
|
240
239
|
* any valid error code returned by the Amazon Web Services service that hosts the resource that you want
|
|
241
240
|
* to tag.</p>
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
ErrorCode?: ErrorCode;
|
|
244
244
|
/**
|
|
245
|
-
* @public
|
|
246
245
|
* <p>The message of the common error.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
ErrorMessage?: string;
|
|
249
249
|
}
|
|
@@ -265,21 +265,20 @@ export type GroupByAttribute = (typeof GroupByAttribute)[keyof typeof GroupByAtt
|
|
|
265
265
|
*/
|
|
266
266
|
export interface GetComplianceSummaryInput {
|
|
267
267
|
/**
|
|
268
|
-
* @public
|
|
269
268
|
* <p>Specifies target identifiers (usually, specific account IDs) to limit the output by.
|
|
270
269
|
* If you use this parameter, the count of returned noncompliant resources includes only
|
|
271
270
|
* resources with the specified target IDs.</p>
|
|
271
|
+
* @public
|
|
272
272
|
*/
|
|
273
273
|
TargetIdFilters?: string[];
|
|
274
274
|
/**
|
|
275
|
-
* @public
|
|
276
275
|
* <p>Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter,
|
|
277
276
|
* the count of returned noncompliant resources includes only resources in the specified
|
|
278
277
|
* Regions.</p>
|
|
278
|
+
* @public
|
|
279
279
|
*/
|
|
280
280
|
RegionFilters?: string[];
|
|
281
281
|
/**
|
|
282
|
-
* @public
|
|
283
282
|
* <p>Specifies that you want the response to include information for only resources of the
|
|
284
283
|
* specified types. The format of each resource type is
|
|
285
284
|
* <code>service[:resourceType]</code>. For example, specifying a resource type of
|
|
@@ -307,34 +306,35 @@ export interface GetComplianceSummaryInput {
|
|
|
307
306
|
* <p>You can specify multiple resource types by using a comma separated array. The array
|
|
308
307
|
* can include up to 100 items. Note that the length constraint requirement applies to each
|
|
309
308
|
* resource type filter. </p>
|
|
309
|
+
* @public
|
|
310
310
|
*/
|
|
311
311
|
ResourceTypeFilters?: string[];
|
|
312
312
|
/**
|
|
313
|
-
* @public
|
|
314
313
|
* <p>Specifies that you want the response to include information for only resources that
|
|
315
314
|
* have tags with the specified tag keys. If you use this parameter, the count of returned
|
|
316
315
|
* noncompliant resources includes only resources that have the specified tag keys.</p>
|
|
316
|
+
* @public
|
|
317
317
|
*/
|
|
318
318
|
TagKeyFilters?: string[];
|
|
319
319
|
/**
|
|
320
|
-
* @public
|
|
321
320
|
* <p>Specifies a list of attributes to group the counts of noncompliant resources by. If
|
|
322
321
|
* supplied, the counts are sorted by those attributes.</p>
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
GroupBy?: GroupByAttribute[];
|
|
325
325
|
/**
|
|
326
|
-
* @public
|
|
327
326
|
* <p>Specifies the maximum number of results to be returned in each page. A
|
|
328
327
|
* query can return fewer than this maximum, even if there are more results still to return. You
|
|
329
328
|
* should always check the <code>PaginationToken</code> response value to see if there are more
|
|
330
329
|
* results. You can specify a minimum of 1 and a maximum value of 100.</p>
|
|
330
|
+
* @public
|
|
331
331
|
*/
|
|
332
332
|
MaxResults?: number;
|
|
333
333
|
/**
|
|
334
|
-
* @public
|
|
335
334
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
336
335
|
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
337
336
|
* in your initial request.</p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
PaginationToken?: string;
|
|
340
340
|
}
|
|
@@ -352,39 +352,39 @@ export declare const TargetIdType: {
|
|
|
352
352
|
*/
|
|
353
353
|
export type TargetIdType = (typeof TargetIdType)[keyof typeof TargetIdType];
|
|
354
354
|
/**
|
|
355
|
-
* @public
|
|
356
355
|
* <p>A count of noncompliant resources.</p>
|
|
356
|
+
* @public
|
|
357
357
|
*/
|
|
358
358
|
export interface Summary {
|
|
359
359
|
/**
|
|
360
|
-
* @public
|
|
361
360
|
* <p>The timestamp that shows when this summary was generated in this Region. </p>
|
|
361
|
+
* @public
|
|
362
362
|
*/
|
|
363
363
|
LastUpdated?: string;
|
|
364
364
|
/**
|
|
365
|
-
* @public
|
|
366
365
|
* <p>The account identifier or the root identifier of the organization. If you don't know
|
|
367
366
|
* the root ID, you can call the Organizations <a href="https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html">ListRoots</a> API.</p>
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
TargetId?: string;
|
|
370
370
|
/**
|
|
371
|
-
* @public
|
|
372
371
|
* <p>Whether the target is an account, an OU, or the organization root.</p>
|
|
372
|
+
* @public
|
|
373
373
|
*/
|
|
374
374
|
TargetIdType?: TargetIdType;
|
|
375
375
|
/**
|
|
376
|
-
* @public
|
|
377
376
|
* <p>The Amazon Web Services Region that the summary applies to.</p>
|
|
377
|
+
* @public
|
|
378
378
|
*/
|
|
379
379
|
Region?: string;
|
|
380
380
|
/**
|
|
381
|
-
* @public
|
|
382
381
|
* <p>The Amazon Web Services resource type.</p>
|
|
382
|
+
* @public
|
|
383
383
|
*/
|
|
384
384
|
ResourceType?: string;
|
|
385
385
|
/**
|
|
386
|
-
* @public
|
|
387
386
|
* <p>The count of noncompliant resources.</p>
|
|
387
|
+
* @public
|
|
388
388
|
*/
|
|
389
389
|
NonCompliantResources?: number;
|
|
390
390
|
}
|
|
@@ -393,34 +393,34 @@ export interface Summary {
|
|
|
393
393
|
*/
|
|
394
394
|
export interface GetComplianceSummaryOutput {
|
|
395
395
|
/**
|
|
396
|
-
* @public
|
|
397
396
|
* <p>A table that shows counts of noncompliant resources.</p>
|
|
397
|
+
* @public
|
|
398
398
|
*/
|
|
399
399
|
SummaryList?: Summary[];
|
|
400
400
|
/**
|
|
401
|
-
* @public
|
|
402
401
|
* <p>A string that indicates that there is more data available than this
|
|
403
402
|
* response contains. To receive the next part of the response, specify this response value
|
|
404
403
|
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
404
|
+
* @public
|
|
405
405
|
*/
|
|
406
406
|
PaginationToken?: string;
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
|
-
* @public
|
|
410
409
|
* <p>A list of tags (keys and values) that are used to specify the associated
|
|
411
410
|
* resources.</p>
|
|
411
|
+
* @public
|
|
412
412
|
*/
|
|
413
413
|
export interface TagFilter {
|
|
414
414
|
/**
|
|
415
|
-
* @public
|
|
416
415
|
* <p>One part of a key-value pair that makes up a tag. A key is a general label
|
|
417
416
|
* that acts like a category for more specific tag values.</p>
|
|
417
|
+
* @public
|
|
418
418
|
*/
|
|
419
419
|
Key?: string;
|
|
420
420
|
/**
|
|
421
|
-
* @public
|
|
422
421
|
* <p>One part of a key-value pair that make up a tag. A value acts as a
|
|
423
422
|
* descriptor within a tag category (key). The value can be empty or null.</p>
|
|
423
|
+
* @public
|
|
424
424
|
*/
|
|
425
425
|
Values?: string[];
|
|
426
426
|
}
|
|
@@ -429,14 +429,13 @@ export interface TagFilter {
|
|
|
429
429
|
*/
|
|
430
430
|
export interface GetResourcesInput {
|
|
431
431
|
/**
|
|
432
|
-
* @public
|
|
433
432
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
434
433
|
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
435
434
|
* in your initial request.</p>
|
|
435
|
+
* @public
|
|
436
436
|
*/
|
|
437
437
|
PaginationToken?: string;
|
|
438
438
|
/**
|
|
439
|
-
* @public
|
|
440
439
|
* <p>Specifies a list of TagFilters (keys and values) to restrict the output to only those
|
|
441
440
|
* resources that have tags with the specified keys and, if included, the specified values.
|
|
442
441
|
* Each <code>TagFilter</code> must contain a key with values optional. A request can
|
|
@@ -493,18 +492,18 @@ export interface GetResourcesInput {
|
|
|
493
492
|
* </ul>
|
|
494
493
|
* </li>
|
|
495
494
|
* </ul>
|
|
495
|
+
* @public
|
|
496
496
|
*/
|
|
497
497
|
TagFilters?: TagFilter[];
|
|
498
498
|
/**
|
|
499
|
-
* @public
|
|
500
499
|
* <p>Specifies the maximum number of results to be returned in each page. A
|
|
501
500
|
* query can return fewer than this maximum, even if there are more results still to return. You
|
|
502
501
|
* should always check the <code>PaginationToken</code> response value to see if there are more
|
|
503
502
|
* results. You can specify a minimum of 1 and a maximum value of 100.</p>
|
|
503
|
+
* @public
|
|
504
504
|
*/
|
|
505
505
|
ResourcesPerPage?: number;
|
|
506
506
|
/**
|
|
507
|
-
* @public
|
|
508
507
|
* <p>Amazon Web Services recommends using <code>ResourcesPerPage</code> instead of this parameter.</p>
|
|
509
508
|
* <p>A limit that restricts the number of tags (key and value pairs) returned by
|
|
510
509
|
* <code>GetResources</code> in paginated output. A resource with no tags is counted as
|
|
@@ -521,10 +520,10 @@ export interface GetResourcesInput {
|
|
|
521
520
|
* third page displays the remaining 2 resources, each with its 10 tags.</p>
|
|
522
521
|
* <p>You can set <code>TagsPerPage</code> to a minimum of 100 items up to a maximum of 500
|
|
523
522
|
* items.</p>
|
|
523
|
+
* @public
|
|
524
524
|
*/
|
|
525
525
|
TagsPerPage?: number;
|
|
526
526
|
/**
|
|
527
|
-
* @public
|
|
528
527
|
* <p>Specifies the resource types that you want included in the response. The format of
|
|
529
528
|
* each resource type is <code>service[:resourceType]</code>. For example, specifying a
|
|
530
529
|
* resource type of <code>ec2</code> returns all Amazon EC2 resources (which includes EC2
|
|
@@ -540,26 +539,26 @@ export interface GetResourcesInput {
|
|
|
540
539
|
* <p>
|
|
541
540
|
* <code>ec2:instance,s3:bucket,auditmanager</code>
|
|
542
541
|
* </p>
|
|
542
|
+
* @public
|
|
543
543
|
*/
|
|
544
544
|
ResourceTypeFilters?: string[];
|
|
545
545
|
/**
|
|
546
|
-
* @public
|
|
547
546
|
* <p>Specifies whether to include details regarding the compliance with the effective tag
|
|
548
547
|
* policy. Set this to <code>true</code> to determine whether resources are compliant with
|
|
549
548
|
* the tag policy and to get details.</p>
|
|
549
|
+
* @public
|
|
550
550
|
*/
|
|
551
551
|
IncludeComplianceDetails?: boolean;
|
|
552
552
|
/**
|
|
553
|
-
* @public
|
|
554
553
|
* <p>Specifies whether to exclude resources that are compliant with the tag policy. Set
|
|
555
554
|
* this to <code>true</code> if you are interested in retrieving information on
|
|
556
555
|
* noncompliant resources only.</p>
|
|
557
556
|
* <p>You can use this parameter only if the <code>IncludeComplianceDetails</code> parameter
|
|
558
557
|
* is also set to <code>true</code>.</p>
|
|
558
|
+
* @public
|
|
559
559
|
*/
|
|
560
560
|
ExcludeCompliantResources?: boolean;
|
|
561
561
|
/**
|
|
562
|
-
* @public
|
|
563
562
|
* <p>Specifies a list of ARNs of resources for which you want to retrieve tag data. You
|
|
564
563
|
* can't specify both this parameter and any of the pagination parameters
|
|
565
564
|
* (<code>ResourcesPerPage</code>, <code>TagsPerPage</code>,
|
|
@@ -571,49 +570,50 @@ export interface GetResourcesInput {
|
|
|
571
570
|
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
572
571
|
* Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the
|
|
573
572
|
* <i>Amazon Web Services General Reference</i>.</p>
|
|
573
|
+
* @public
|
|
574
574
|
*/
|
|
575
575
|
ResourceARNList?: string[];
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
|
-
* @public
|
|
579
578
|
* <p>The metadata that you apply to Amazon Web Services resources to help you categorize and organize
|
|
580
579
|
* them. Each tag consists of a key and a value, both of which you define. For more
|
|
581
580
|
* 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>
|
|
581
|
+
* @public
|
|
582
582
|
*/
|
|
583
583
|
export interface Tag {
|
|
584
584
|
/**
|
|
585
|
-
* @public
|
|
586
585
|
* <p>One part of a key-value pair that makes up a tag. A key is a general label
|
|
587
586
|
* that acts like a category for more specific tag values.</p>
|
|
587
|
+
* @public
|
|
588
588
|
*/
|
|
589
589
|
Key: string | undefined;
|
|
590
590
|
/**
|
|
591
|
-
* @public
|
|
592
591
|
* <p>One part of a key-value pair that make up a tag. A value acts as a
|
|
593
592
|
* descriptor within a tag category (key). The value can be empty or null.</p>
|
|
593
|
+
* @public
|
|
594
594
|
*/
|
|
595
595
|
Value: string | undefined;
|
|
596
596
|
}
|
|
597
597
|
/**
|
|
598
|
-
* @public
|
|
599
598
|
* <p>A list of resource ARNs and the tags (keys and values) that are associated with
|
|
600
599
|
* each.</p>
|
|
600
|
+
* @public
|
|
601
601
|
*/
|
|
602
602
|
export interface ResourceTagMapping {
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>The ARN of the resource.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
ResourceARN?: string;
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>The tags that have been applied to one or more Amazon Web Services resources.</p>
|
|
610
|
+
* @public
|
|
611
611
|
*/
|
|
612
612
|
Tags?: Tag[];
|
|
613
613
|
/**
|
|
614
|
-
* @public
|
|
615
614
|
* <p>Information that shows whether a resource is compliant with the effective tag policy,
|
|
616
615
|
* including details on any noncompliant tag keys.</p>
|
|
616
|
+
* @public
|
|
617
617
|
*/
|
|
618
618
|
ComplianceDetails?: ComplianceDetails;
|
|
619
619
|
}
|
|
@@ -622,23 +622,23 @@ export interface ResourceTagMapping {
|
|
|
622
622
|
*/
|
|
623
623
|
export interface GetResourcesOutput {
|
|
624
624
|
/**
|
|
625
|
-
* @public
|
|
626
625
|
* <p>A string that indicates that there is more data available than this
|
|
627
626
|
* response contains. To receive the next part of the response, specify this response value
|
|
628
627
|
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
628
|
+
* @public
|
|
629
629
|
*/
|
|
630
630
|
PaginationToken?: string;
|
|
631
631
|
/**
|
|
632
|
-
* @public
|
|
633
632
|
* <p>A list of resource ARNs and the tags (keys and values) associated with
|
|
634
633
|
* each.</p>
|
|
634
|
+
* @public
|
|
635
635
|
*/
|
|
636
636
|
ResourceTagMappingList?: ResourceTagMapping[];
|
|
637
637
|
}
|
|
638
638
|
/**
|
|
639
|
-
* @public
|
|
640
639
|
* <p>A <code>PaginationToken</code> is valid for a maximum of 15 minutes. Your request was
|
|
641
640
|
* denied because the specified <code>PaginationToken</code> has expired.</p>
|
|
641
|
+
* @public
|
|
642
642
|
*/
|
|
643
643
|
export declare class PaginationTokenExpiredException extends __BaseException {
|
|
644
644
|
readonly name: "PaginationTokenExpiredException";
|
|
@@ -654,10 +654,10 @@ export declare class PaginationTokenExpiredException extends __BaseException {
|
|
|
654
654
|
*/
|
|
655
655
|
export interface GetTagKeysInput {
|
|
656
656
|
/**
|
|
657
|
-
* @public
|
|
658
657
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
659
658
|
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
660
659
|
* in your initial request.</p>
|
|
660
|
+
* @public
|
|
661
661
|
*/
|
|
662
662
|
PaginationToken?: string;
|
|
663
663
|
}
|
|
@@ -666,15 +666,15 @@ export interface GetTagKeysInput {
|
|
|
666
666
|
*/
|
|
667
667
|
export interface GetTagKeysOutput {
|
|
668
668
|
/**
|
|
669
|
-
* @public
|
|
670
669
|
* <p>A string that indicates that there is more data available than this
|
|
671
670
|
* response contains. To receive the next part of the response, specify this response value
|
|
672
671
|
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
672
|
+
* @public
|
|
673
673
|
*/
|
|
674
674
|
PaginationToken?: string;
|
|
675
675
|
/**
|
|
676
|
-
* @public
|
|
677
676
|
* <p>A list of all tag keys in the Amazon Web Services account.</p>
|
|
677
|
+
* @public
|
|
678
678
|
*/
|
|
679
679
|
TagKeys?: string[];
|
|
680
680
|
}
|
|
@@ -683,16 +683,16 @@ export interface GetTagKeysOutput {
|
|
|
683
683
|
*/
|
|
684
684
|
export interface GetTagValuesInput {
|
|
685
685
|
/**
|
|
686
|
-
* @public
|
|
687
686
|
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
688
687
|
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
689
688
|
* in your initial request.</p>
|
|
689
|
+
* @public
|
|
690
690
|
*/
|
|
691
691
|
PaginationToken?: string;
|
|
692
692
|
/**
|
|
693
|
-
* @public
|
|
694
693
|
* <p>Specifies the tag key for which you want to list all existing values that are
|
|
695
694
|
* currently used in the specified Amazon Web Services Region for the calling account.</p>
|
|
695
|
+
* @public
|
|
696
696
|
*/
|
|
697
697
|
Key: string | undefined;
|
|
698
698
|
}
|
|
@@ -701,16 +701,16 @@ export interface GetTagValuesInput {
|
|
|
701
701
|
*/
|
|
702
702
|
export interface GetTagValuesOutput {
|
|
703
703
|
/**
|
|
704
|
-
* @public
|
|
705
704
|
* <p>A string that indicates that there is more data available than this
|
|
706
705
|
* response contains. To receive the next part of the response, specify this response value
|
|
707
706
|
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
707
|
+
* @public
|
|
708
708
|
*/
|
|
709
709
|
PaginationToken?: string;
|
|
710
710
|
/**
|
|
711
|
-
* @public
|
|
712
711
|
* <p>A list of all tag values for the specified key currently used in the specified Amazon Web Services
|
|
713
712
|
* Region for the calling account.</p>
|
|
713
|
+
* @public
|
|
714
714
|
*/
|
|
715
715
|
TagValues?: string[];
|
|
716
716
|
}
|
|
@@ -719,13 +719,13 @@ export interface GetTagValuesOutput {
|
|
|
719
719
|
*/
|
|
720
720
|
export interface StartReportCreationInput {
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>The name of the Amazon S3 bucket where the report will be stored; for example:</p>
|
|
724
723
|
* <p>
|
|
725
724
|
* <code>awsexamplebucket</code>
|
|
726
725
|
* </p>
|
|
727
726
|
* <p>For more information on S3 bucket requirements, including an example bucket policy,
|
|
728
727
|
* see the example S3 bucket policy on this page.</p>
|
|
728
|
+
* @public
|
|
729
729
|
*/
|
|
730
730
|
S3Bucket: string | undefined;
|
|
731
731
|
}
|
|
@@ -739,18 +739,18 @@ export interface StartReportCreationOutput {
|
|
|
739
739
|
*/
|
|
740
740
|
export interface TagResourcesInput {
|
|
741
741
|
/**
|
|
742
|
-
* @public
|
|
743
742
|
* <p>Specifies the list of ARNs of the resources that you want to apply tags to.</p>
|
|
744
743
|
* <p>An ARN (Amazon Resource Name) uniquely identifies a resource. For more information,
|
|
745
744
|
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
746
745
|
* Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the <i>Amazon Web Services
|
|
747
746
|
* General Reference</i>.</p>
|
|
747
|
+
* @public
|
|
748
748
|
*/
|
|
749
749
|
ResourceARNList: string[] | undefined;
|
|
750
750
|
/**
|
|
751
|
-
* @public
|
|
752
751
|
* <p>Specifies a list of tags that you want to add to the specified resources. A tag
|
|
753
752
|
* consists of a key and a value that you define.</p>
|
|
753
|
+
* @public
|
|
754
754
|
*/
|
|
755
755
|
Tags: Record<string, string> | undefined;
|
|
756
756
|
}
|
|
@@ -759,11 +759,11 @@ export interface TagResourcesInput {
|
|
|
759
759
|
*/
|
|
760
760
|
export interface TagResourcesOutput {
|
|
761
761
|
/**
|
|
762
|
-
* @public
|
|
763
762
|
* <p>A map containing a key-value pair for each failed item that couldn't be tagged. The
|
|
764
763
|
* key is the ARN of the failed resource. The value is a <code>FailureInfo</code> object
|
|
765
764
|
* that contains an error code, a status code, and an error message. If there are no
|
|
766
765
|
* errors, the <code>FailedResourcesMap</code> is empty.</p>
|
|
766
|
+
* @public
|
|
767
767
|
*/
|
|
768
768
|
FailedResourcesMap?: Record<string, FailureInfo>;
|
|
769
769
|
}
|
|
@@ -772,18 +772,18 @@ export interface TagResourcesOutput {
|
|
|
772
772
|
*/
|
|
773
773
|
export interface UntagResourcesInput {
|
|
774
774
|
/**
|
|
775
|
-
* @public
|
|
776
775
|
* <p>Specifies a list of ARNs of the resources that you want to remove tags from.</p>
|
|
777
776
|
* <p>An ARN (Amazon Resource Name) uniquely identifies a resource. For more information,
|
|
778
777
|
* see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
779
778
|
* Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the <i>Amazon Web Services
|
|
780
779
|
* General Reference</i>.</p>
|
|
780
|
+
* @public
|
|
781
781
|
*/
|
|
782
782
|
ResourceARNList: string[] | undefined;
|
|
783
783
|
/**
|
|
784
|
-
* @public
|
|
785
784
|
* <p>Specifies a list of tag keys that you want to remove from the specified
|
|
786
785
|
* resources.</p>
|
|
786
|
+
* @public
|
|
787
787
|
*/
|
|
788
788
|
TagKeys: string[] | undefined;
|
|
789
789
|
}
|
|
@@ -792,11 +792,11 @@ export interface UntagResourcesInput {
|
|
|
792
792
|
*/
|
|
793
793
|
export interface UntagResourcesOutput {
|
|
794
794
|
/**
|
|
795
|
-
* @public
|
|
796
795
|
* <p>A map containing a key-value pair for each failed item that couldn't be untagged. The
|
|
797
796
|
* key is the ARN of the failed resource. The value is a <code>FailureInfo</code> object
|
|
798
797
|
* that contains an error code, a status code, and an error message. If there are no
|
|
799
798
|
* errors, the <code>FailedResourcesMap</code> is empty.</p>
|
|
799
|
+
* @public
|
|
800
800
|
*/
|
|
801
801
|
FailedResourcesMap?: Record<string, FailureInfo>;
|
|
802
802
|
}
|
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
} from "./commands/UntagResourcesCommand";
|
|
34
34
|
import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
|
|
35
35
|
export interface ResourceGroupsTaggingAPI {
|
|
36
|
+
describeReportCreation(): Promise<DescribeReportCreationCommandOutput>;
|
|
36
37
|
describeReportCreation(
|
|
37
38
|
args: DescribeReportCreationCommandInput,
|
|
38
39
|
options?: __HttpHandlerOptions
|
|
@@ -46,6 +47,7 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
46
47
|
options: __HttpHandlerOptions,
|
|
47
48
|
cb: (err: any, data?: DescribeReportCreationCommandOutput) => void
|
|
48
49
|
): void;
|
|
50
|
+
getComplianceSummary(): Promise<GetComplianceSummaryCommandOutput>;
|
|
49
51
|
getComplianceSummary(
|
|
50
52
|
args: GetComplianceSummaryCommandInput,
|
|
51
53
|
options?: __HttpHandlerOptions
|
|
@@ -59,6 +61,7 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
59
61
|
options: __HttpHandlerOptions,
|
|
60
62
|
cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void
|
|
61
63
|
): void;
|
|
64
|
+
getResources(): Promise<GetResourcesCommandOutput>;
|
|
62
65
|
getResources(
|
|
63
66
|
args: GetResourcesCommandInput,
|
|
64
67
|
options?: __HttpHandlerOptions
|
|
@@ -72,6 +75,7 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
72
75
|
options: __HttpHandlerOptions,
|
|
73
76
|
cb: (err: any, data?: GetResourcesCommandOutput) => void
|
|
74
77
|
): void;
|
|
78
|
+
getTagKeys(): Promise<GetTagKeysCommandOutput>;
|
|
75
79
|
getTagKeys(
|
|
76
80
|
args: GetTagKeysCommandInput,
|
|
77
81
|
options?: __HttpHandlerOptions
|
|
@@ -25,6 +25,15 @@ declare const DescribeReportCreationCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [DescribeReportCreationCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeReportCreationCommandInput,
|
|
32
|
+
DescribeReportCreationCommandOutput,
|
|
33
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class DescribeReportCreationCommand extends DescribeReportCreationCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const GetComplianceSummaryCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [GetComplianceSummaryCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetComplianceSummaryCommandInput,
|
|
32
|
+
GetComplianceSummaryCommandOutput,
|
|
33
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetComplianceSummaryCommand extends GetComplianceSummaryCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const GetResourcesCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
...[input]: [] | [GetResourcesCommandInput]
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
GetResourcesCommandInput,
|
|
28
|
+
GetResourcesCommandOutput,
|
|
29
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class GetResourcesCommand extends GetResourcesCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const GetTagKeysCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
...[input]: [] | [GetTagKeysCommandInput]
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
GetTagKeysCommandInput,
|
|
28
|
+
GetTagKeysCommandOutput,
|
|
29
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class GetTagKeysCommand extends GetTagKeysCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const GetTagValuesCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: GetTagValuesCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
GetTagValuesCommandInput,
|
|
28
|
+
GetTagValuesCommandOutput,
|
|
29
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class GetTagValuesCommand extends GetTagValuesCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const StartReportCreationCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: StartReportCreationCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
StartReportCreationCommandInput,
|
|
32
|
+
StartReportCreationCommandOutput,
|
|
33
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class StartReportCreationCommand extends StartReportCreationCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const TagResourcesCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: TagResourcesCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
TagResourcesCommandInput,
|
|
28
|
+
TagResourcesCommandOutput,
|
|
29
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class TagResourcesCommand extends TagResourcesCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const UntagResourcesCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: UntagResourcesCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
UntagResourcesCommandInput,
|
|
28
|
+
UntagResourcesCommandOutput,
|
|
29
|
+
ResourceGroupsTaggingAPIClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class UntagResourcesCommand extends UntagResourcesCommand_base {}
|
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.535.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-resource-groups-tagging-api",
|
|
@@ -20,47 +20,47 @@
|
|
|
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/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.535.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|