@aws-sdk/client-resource-groups-tagging-api 3.32.0 → 3.36.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/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/ResourceGroupsTaggingAPI.js +1 -2
- package/{dist/cjs → dist-cjs}/ResourceGroupsTaggingAPIClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/DescribeReportCreationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetComplianceSummaryCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetResourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetTagKeysCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetTagValuesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartReportCreationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/GetComplianceSummaryPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/GetResourcesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/GetTagKeysPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/GetTagValuesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/ResourceGroupsTaggingAPI.js +2 -6
- package/{dist/es → dist-es}/ResourceGroupsTaggingAPIClient.js +2 -11
- package/{dist/es → dist-es}/commands/DescribeReportCreationCommand.js +4 -32
- package/dist-es/commands/GetComplianceSummaryCommand.js +39 -0
- package/dist-es/commands/GetResourcesCommand.js +39 -0
- package/dist-es/commands/GetTagKeysCommand.js +39 -0
- package/dist-es/commands/GetTagValuesCommand.js +39 -0
- package/{dist/es → dist-es}/commands/StartReportCreationCommand.js +4 -38
- package/dist-es/commands/TagResourcesCommand.js +39 -0
- package/dist-es/commands/UntagResourcesCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -85
- package/{dist/es → dist-es}/pagination/GetComplianceSummaryPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/GetResourcesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/GetTagKeysPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/GetTagValuesPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +188 -194
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/ResourceGroupsTaggingAPI.d.ts +2 -2
- package/{dist/types → dist-types}/ResourceGroupsTaggingAPIClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/DescribeReportCreationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetComplianceSummaryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetTagKeysCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetTagValuesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartReportCreationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetComplianceSummaryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetTagKeysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetTagValuesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ResourceGroupsTaggingAPI.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/ResourceGroupsTaggingAPIClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/DescribeReportCreationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetComplianceSummaryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetTagKeysCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetTagValuesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/StartReportCreationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetComplianceSummaryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetTagKeysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetTagValuesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/ResourceGroupsTaggingAPI.ts +0 -385
- package/ResourceGroupsTaggingAPIClient.ts +0 -269
- package/commands/DescribeReportCreationCommand.ts +0 -100
- package/commands/GetComplianceSummaryCommand.ts +0 -110
- package/commands/GetResourcesCommand.ts +0 -121
- package/commands/GetTagKeysCommand.ts +0 -105
- package/commands/GetTagValuesCommand.ts +0 -105
- package/commands/StartReportCreationCommand.ts +0 -106
- package/commands/TagResourcesCommand.ts +0 -125
- package/commands/UntagResourcesCommand.ts +0 -113
- package/dist/cjs/ResourceGroupsTaggingAPI.js.map +0 -1
- package/dist/cjs/ResourceGroupsTaggingAPIClient.js.map +0 -1
- package/dist/cjs/commands/DescribeReportCreationCommand.js.map +0 -1
- package/dist/cjs/commands/GetComplianceSummaryCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/GetTagKeysCommand.js.map +0 -1
- package/dist/cjs/commands/GetTagValuesCommand.js.map +0 -1
- package/dist/cjs/commands/StartReportCreationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourcesCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetComplianceSummaryPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetTagKeysPaginator.js.map +0 -1
- package/dist/cjs/pagination/GetTagValuesPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ResourceGroupsTaggingAPI.js.map +0 -1
- package/dist/es/ResourceGroupsTaggingAPIClient.js.map +0 -1
- package/dist/es/commands/DescribeReportCreationCommand.js.map +0 -1
- package/dist/es/commands/GetComplianceSummaryCommand.js +0 -77
- package/dist/es/commands/GetComplianceSummaryCommand.js.map +0 -1
- package/dist/es/commands/GetResourcesCommand.js +0 -88
- package/dist/es/commands/GetResourcesCommand.js.map +0 -1
- package/dist/es/commands/GetTagKeysCommand.js +0 -72
- package/dist/es/commands/GetTagKeysCommand.js.map +0 -1
- package/dist/es/commands/GetTagValuesCommand.js +0 -72
- package/dist/es/commands/GetTagValuesCommand.js.map +0 -1
- package/dist/es/commands/StartReportCreationCommand.js.map +0 -1
- package/dist/es/commands/TagResourcesCommand.js +0 -92
- package/dist/es/commands/TagResourcesCommand.js.map +0 -1
- package/dist/es/commands/UntagResourcesCommand.js +0 -80
- package/dist/es/commands/UntagResourcesCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -17
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetComplianceSummaryPaginator.js.map +0 -1
- package/dist/es/pagination/GetResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/GetTagKeysPaginator.js.map +0 -1
- package/dist/es/pagination/GetTagValuesPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -947
- package/pagination/GetComplianceSummaryPaginator.ts +0 -58
- package/pagination/GetResourcesPaginator.ts +0 -58
- package/pagination/GetTagKeysPaginator.ts +0 -53
- package/pagination/GetTagValuesPaginator.ts +0 -57
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_json1_1.ts +0 -1448
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/models/models_0.ts
DELETED
|
@@ -1,947 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* <p>Information that shows whether a resource is compliant with the effective tag policy,
|
|
5
|
-
* including details on any noncompliant tag keys.</p>
|
|
6
|
-
*/
|
|
7
|
-
export interface ComplianceDetails {
|
|
8
|
-
/**
|
|
9
|
-
* <p>These tag keys on the resource are noncompliant with the effective tag policy.</p>
|
|
10
|
-
*/
|
|
11
|
-
NoncompliantKeys?: string[];
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* <p>These are keys defined in the effective policy that are on the resource with either
|
|
15
|
-
* incorrect case treatment or noncompliant values. </p>
|
|
16
|
-
*/
|
|
17
|
-
KeysWithNoncompliantValues?: string[];
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* <p>Whether a resource is compliant with the effective tag policy.</p>
|
|
21
|
-
*/
|
|
22
|
-
ComplianceStatus?: boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export namespace ComplianceDetails {
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
29
|
-
export const filterSensitiveLog = (obj: ComplianceDetails): any => ({
|
|
30
|
-
...obj,
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* <p>The target of the operation is currently being modified by a different request. Try
|
|
36
|
-
* again later.</p>
|
|
37
|
-
*/
|
|
38
|
-
export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
|
|
39
|
-
name: "ConcurrentModificationException";
|
|
40
|
-
$fault: "client";
|
|
41
|
-
Message?: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export namespace ConcurrentModificationException {
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
|
-
export const filterSensitiveLog = (obj: ConcurrentModificationException): any => ({
|
|
49
|
-
...obj,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* <p>The request was denied because performing this operation violates a constraint. </p>
|
|
55
|
-
* <p>Some of the reasons in the following list might not apply to this specific
|
|
56
|
-
* operation.</p>
|
|
57
|
-
* <ul>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>You must meet the prerequisites for using tag policies. For information, see
|
|
60
|
-
* <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html">Prerequisites and Permissions for Using Tag Policies</a> in the
|
|
61
|
-
* <i>AWS Organizations User Guide.</i>
|
|
62
|
-
* </p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>You must enable the tag policies service principal
|
|
66
|
-
* (<code>tagpolicies.tag.amazonaws.com</code>) to integrate with AWS Organizations For
|
|
67
|
-
* information, see <a href="http://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html">EnableAWSServiceAccess</a>.</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>You must have a tag policy attached to the organization root, an OU, or an
|
|
71
|
-
* account.</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* </ul>
|
|
74
|
-
*/
|
|
75
|
-
export interface ConstraintViolationException extends __SmithyException, $MetadataBearer {
|
|
76
|
-
name: "ConstraintViolationException";
|
|
77
|
-
$fault: "client";
|
|
78
|
-
Message?: string;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export namespace ConstraintViolationException {
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
export const filterSensitiveLog = (obj: ConstraintViolationException): any => ({
|
|
86
|
-
...obj,
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export interface DescribeReportCreationInput {}
|
|
91
|
-
|
|
92
|
-
export namespace DescribeReportCreationInput {
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
export const filterSensitiveLog = (obj: DescribeReportCreationInput): any => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export interface DescribeReportCreationOutput {
|
|
102
|
-
/**
|
|
103
|
-
* <p>Reports the status of the operation.</p>
|
|
104
|
-
* <p>The operation status can be one of the following:</p>
|
|
105
|
-
* <ul>
|
|
106
|
-
* <li>
|
|
107
|
-
* <p>
|
|
108
|
-
* <code>RUNNING</code> - Report creation is in progress.</p>
|
|
109
|
-
* </li>
|
|
110
|
-
* <li>
|
|
111
|
-
* <p>
|
|
112
|
-
* <code>SUCCEEDED</code> - Report creation is complete. You can open the report
|
|
113
|
-
* from the Amazon S3 bucket that you specified when you ran
|
|
114
|
-
* <code>StartReportCreation</code>.</p>
|
|
115
|
-
* </li>
|
|
116
|
-
* <li>
|
|
117
|
-
* <p>
|
|
118
|
-
* <code>FAILED</code> - Report creation timed out or the Amazon S3 bucket is not
|
|
119
|
-
* accessible. </p>
|
|
120
|
-
* </li>
|
|
121
|
-
* <li>
|
|
122
|
-
* <p>
|
|
123
|
-
* <code>NO REPORT</code> - No report was generated in the last 90 days.</p>
|
|
124
|
-
* </li>
|
|
125
|
-
* </ul>
|
|
126
|
-
*/
|
|
127
|
-
Status?: string;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* <p>The path to the Amazon S3 bucket where the report was stored on creation.</p>
|
|
131
|
-
*/
|
|
132
|
-
S3Location?: string;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* <p>The date and time that the report was started. </p>
|
|
136
|
-
*/
|
|
137
|
-
StartDate?: string;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* <p>Details of the common errors that all operations return.</p>
|
|
141
|
-
*/
|
|
142
|
-
ErrorMessage?: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export namespace DescribeReportCreationOutput {
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
export const filterSensitiveLog = (obj: DescribeReportCreationOutput): any => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* <p>The request processing failed because of an unknown error, exception, or failure. You
|
|
156
|
-
* can retry the request.</p>
|
|
157
|
-
*/
|
|
158
|
-
export interface InternalServiceException extends __SmithyException, $MetadataBearer {
|
|
159
|
-
name: "InternalServiceException";
|
|
160
|
-
$fault: "server";
|
|
161
|
-
Message?: string;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
export namespace InternalServiceException {
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
export const filterSensitiveLog = (obj: InternalServiceException): any => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* <p>This error indicates one of the following:</p>
|
|
175
|
-
* <ul>
|
|
176
|
-
* <li>
|
|
177
|
-
* <p>A parameter is missing.</p>
|
|
178
|
-
* </li>
|
|
179
|
-
* <li>
|
|
180
|
-
* <p>A malformed string was supplied for the request parameter.</p>
|
|
181
|
-
* </li>
|
|
182
|
-
* <li>
|
|
183
|
-
* <p>An out-of-range value was supplied for the request parameter.</p>
|
|
184
|
-
* </li>
|
|
185
|
-
* <li>
|
|
186
|
-
* <p>The target ID is invalid, unsupported, or doesn't exist.</p>
|
|
187
|
-
* </li>
|
|
188
|
-
* <li>
|
|
189
|
-
* <p>You can't access the Amazon S3 bucket for report storage. For more information, see
|
|
190
|
-
* <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report">Additional Requirements for Organization-wide Tag Compliance
|
|
191
|
-
* Reports</a> in the <i>AWS Organizations User Guide.</i>
|
|
192
|
-
* </p>
|
|
193
|
-
* </li>
|
|
194
|
-
* </ul>
|
|
195
|
-
*/
|
|
196
|
-
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
197
|
-
name: "InvalidParameterException";
|
|
198
|
-
$fault: "client";
|
|
199
|
-
Message?: string;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
export namespace InvalidParameterException {
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
export const filterSensitiveLog = (obj: InvalidParameterException): any => ({
|
|
207
|
-
...obj,
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* <p>The request was denied to limit the frequency of submitted requests.</p>
|
|
213
|
-
*/
|
|
214
|
-
export interface ThrottledException extends __SmithyException, $MetadataBearer {
|
|
215
|
-
name: "ThrottledException";
|
|
216
|
-
$fault: "client";
|
|
217
|
-
Message?: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export namespace ThrottledException {
|
|
221
|
-
/**
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
export const filterSensitiveLog = (obj: ThrottledException): any => ({
|
|
225
|
-
...obj,
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export enum ErrorCode {
|
|
230
|
-
INTERNAL_SERVICE_EXCEPTION = "InternalServiceException",
|
|
231
|
-
INVALID_PARAMETER_EXCEPTION = "InvalidParameterException",
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* <p>Information about the errors that are returned for each failed resource. This
|
|
236
|
-
* information can include <code>InternalServiceException</code> and
|
|
237
|
-
* <code>InvalidParameterException</code> errors. It can also include any valid error
|
|
238
|
-
* code returned by the AWS service that hosts the resource that the ARN key
|
|
239
|
-
* represents.</p>
|
|
240
|
-
* <p>The following are common error codes that you might receive from other AWS
|
|
241
|
-
* services:</p>
|
|
242
|
-
* <ul>
|
|
243
|
-
* <li>
|
|
244
|
-
* <p>
|
|
245
|
-
* <b>InternalServiceException</b> – This can
|
|
246
|
-
* mean that the Resource Groups Tagging API didn't receive a response from another
|
|
247
|
-
* AWS service. It can also mean the the resource type in the request is not
|
|
248
|
-
* supported by the Resource Groups Tagging API. In these cases, it's safe to retry
|
|
249
|
-
* the request and then call <a href="http://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html">GetResources</a> to verify the changes.</p>
|
|
250
|
-
* </li>
|
|
251
|
-
* <li>
|
|
252
|
-
* <p>
|
|
253
|
-
* <b>AccessDeniedException</b> – This can mean
|
|
254
|
-
* that you need permission to calling tagging operations in the AWS service that
|
|
255
|
-
* contains the resource. For example, to use the Resource Groups Tagging API to
|
|
256
|
-
* tag a CloudWatch alarm resource, you need permission to call <a href="http://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html">
|
|
257
|
-
* <code>TagResources</code>
|
|
258
|
-
* </a>
|
|
259
|
-
* <i>and</i>
|
|
260
|
-
* <a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html">
|
|
261
|
-
* <code>TagResource</code>
|
|
262
|
-
* </a> in the CloudWatch API. </p>
|
|
263
|
-
* </li>
|
|
264
|
-
* </ul>
|
|
265
|
-
* <p>For more information on errors that are generated from other AWS services, see the
|
|
266
|
-
* documentation for that service. </p>
|
|
267
|
-
*/
|
|
268
|
-
export interface FailureInfo {
|
|
269
|
-
/**
|
|
270
|
-
* <p>The HTTP status code of the common error.</p>
|
|
271
|
-
*/
|
|
272
|
-
StatusCode?: number;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* <p>The code of the common error. Valid values include
|
|
276
|
-
* <code>InternalServiceException</code>, <code>InvalidParameterException</code>, and
|
|
277
|
-
* any valid error code returned by the AWS service that hosts the resource that you want
|
|
278
|
-
* to tag.</p>
|
|
279
|
-
*/
|
|
280
|
-
ErrorCode?: ErrorCode | string;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* <p>The message of the common error.</p>
|
|
284
|
-
*/
|
|
285
|
-
ErrorMessage?: string;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export namespace FailureInfo {
|
|
289
|
-
/**
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
|
-
export const filterSensitiveLog = (obj: FailureInfo): any => ({
|
|
293
|
-
...obj,
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export enum GroupByAttribute {
|
|
298
|
-
REGION = "REGION",
|
|
299
|
-
RESOURCE_TYPE = "RESOURCE_TYPE",
|
|
300
|
-
TARGET_ID = "TARGET_ID",
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export interface GetComplianceSummaryInput {
|
|
304
|
-
/**
|
|
305
|
-
* <p>Specifies target identifiers (usually, specific account IDs) to limit the output by.
|
|
306
|
-
* If you use this parameter, the count of returned noncompliant resources includes only
|
|
307
|
-
* resources with the specified target IDs.</p>
|
|
308
|
-
*/
|
|
309
|
-
TargetIdFilters?: string[];
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* <p>Specifies a list of AWS Regions to limit the output by. If you use this parameter,
|
|
313
|
-
* the count of returned noncompliant resources includes only resources in the specified
|
|
314
|
-
* Regions.</p>
|
|
315
|
-
*/
|
|
316
|
-
RegionFilters?: string[];
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* <p>Specifies that you want the response to include information for only resources of the
|
|
320
|
-
* specified types. The format of each resource type is
|
|
321
|
-
* <code>service[:resourceType]</code>. For example, specifying a resource type of
|
|
322
|
-
* <code>ec2</code> returns all Amazon EC2 resources (which includes EC2 instances).
|
|
323
|
-
* Specifying a resource type of <code>ec2:instance</code> returns only EC2 instances. </p>
|
|
324
|
-
* <p>The string for each service name and resource type is the same as that embedded in a
|
|
325
|
-
* resource's Amazon Resource Name (ARN). Consult the <i>AWS General
|
|
326
|
-
* Reference</i> for the following:</p>
|
|
327
|
-
* <ul>
|
|
328
|
-
* <li>
|
|
329
|
-
* <p>For a list of service name strings, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces">AWS Service Namespaces</a>.</p>
|
|
330
|
-
* </li>
|
|
331
|
-
* <li>
|
|
332
|
-
* <p>For resource type strings, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-syntax">Example
|
|
333
|
-
* ARNs</a>.</p>
|
|
334
|
-
* </li>
|
|
335
|
-
* <li>
|
|
336
|
-
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names
|
|
337
|
-
* (ARNs) and AWS Service Namespaces</a>.</p>
|
|
338
|
-
* </li>
|
|
339
|
-
* </ul>
|
|
340
|
-
* <p>You can specify multiple resource types by using a comma separated array. The array
|
|
341
|
-
* can include up to 100 items. Note that the length constraint requirement applies to each
|
|
342
|
-
* resource type filter. </p>
|
|
343
|
-
*/
|
|
344
|
-
ResourceTypeFilters?: string[];
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* <p>Specifies that you want the response to include information for only resources that
|
|
348
|
-
* have tags with the specified tag keys. If you use this parameter, the count of returned
|
|
349
|
-
* noncompliant resources includes only resources that have the specified tag keys.</p>
|
|
350
|
-
*/
|
|
351
|
-
TagKeyFilters?: string[];
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* <p>Specifies a list of attributes to group the counts of noncompliant resources by. If
|
|
355
|
-
* supplied, the counts are sorted by those attributes.</p>
|
|
356
|
-
*/
|
|
357
|
-
GroupBy?: (GroupByAttribute | string)[];
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* <p>Specifies the maximum number of results to be returned in each page. A
|
|
361
|
-
* query can return fewer than this maximum, even if there are more results still to return. You
|
|
362
|
-
* should always check the <code>PaginationToken</code> response value to see if there are more
|
|
363
|
-
* results. You can specify a minimum of 1 and a maximum value of 100.</p>
|
|
364
|
-
*/
|
|
365
|
-
MaxResults?: number;
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
369
|
-
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
370
|
-
* in your initial request.</p>
|
|
371
|
-
*/
|
|
372
|
-
PaginationToken?: string;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export namespace GetComplianceSummaryInput {
|
|
376
|
-
/**
|
|
377
|
-
* @internal
|
|
378
|
-
*/
|
|
379
|
-
export const filterSensitiveLog = (obj: GetComplianceSummaryInput): any => ({
|
|
380
|
-
...obj,
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export enum TargetIdType {
|
|
385
|
-
ACCOUNT = "ACCOUNT",
|
|
386
|
-
OU = "OU",
|
|
387
|
-
ROOT = "ROOT",
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* <p>A count of noncompliant resources.</p>
|
|
392
|
-
*/
|
|
393
|
-
export interface Summary {
|
|
394
|
-
/**
|
|
395
|
-
* <p>The timestamp that shows when this summary was generated in this Region. </p>
|
|
396
|
-
*/
|
|
397
|
-
LastUpdated?: string;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* <p>The account identifier or the root identifier of the organization. If you don't know
|
|
401
|
-
* the root ID, you can call the AWS Organizations <a href="http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html">ListRoots</a> API.</p>
|
|
402
|
-
*/
|
|
403
|
-
TargetId?: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* <p>Whether the target is an account, an OU, or the organization root.</p>
|
|
407
|
-
*/
|
|
408
|
-
TargetIdType?: TargetIdType | string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* <p>The AWS Region that the summary applies to.</p>
|
|
412
|
-
*/
|
|
413
|
-
Region?: string;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* <p>The AWS resource type.</p>
|
|
417
|
-
*/
|
|
418
|
-
ResourceType?: string;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* <p>The count of noncompliant resources.</p>
|
|
422
|
-
*/
|
|
423
|
-
NonCompliantResources?: number;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
export namespace Summary {
|
|
427
|
-
/**
|
|
428
|
-
* @internal
|
|
429
|
-
*/
|
|
430
|
-
export const filterSensitiveLog = (obj: Summary): any => ({
|
|
431
|
-
...obj,
|
|
432
|
-
});
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export interface GetComplianceSummaryOutput {
|
|
436
|
-
/**
|
|
437
|
-
* <p>A table that shows counts of noncompliant resources.</p>
|
|
438
|
-
*/
|
|
439
|
-
SummaryList?: Summary[];
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* <p>A string that indicates that there is more data available than this
|
|
443
|
-
* response contains. To receive the next part of the response, specify this response value
|
|
444
|
-
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
445
|
-
*/
|
|
446
|
-
PaginationToken?: string;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export namespace GetComplianceSummaryOutput {
|
|
450
|
-
/**
|
|
451
|
-
* @internal
|
|
452
|
-
*/
|
|
453
|
-
export const filterSensitiveLog = (obj: GetComplianceSummaryOutput): any => ({
|
|
454
|
-
...obj,
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* <p>A list of tags (keys and values) that are used to specify the associated
|
|
460
|
-
* resources.</p>
|
|
461
|
-
*/
|
|
462
|
-
export interface TagFilter {
|
|
463
|
-
/**
|
|
464
|
-
* <p>One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.</p>
|
|
465
|
-
*/
|
|
466
|
-
Key?: string;
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* <p>One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.</p>
|
|
470
|
-
*/
|
|
471
|
-
Values?: string[];
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
export namespace TagFilter {
|
|
475
|
-
/**
|
|
476
|
-
* @internal
|
|
477
|
-
*/
|
|
478
|
-
export const filterSensitiveLog = (obj: TagFilter): any => ({
|
|
479
|
-
...obj,
|
|
480
|
-
});
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
export interface GetResourcesInput {
|
|
484
|
-
/**
|
|
485
|
-
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
486
|
-
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
487
|
-
* in your initial request.</p>
|
|
488
|
-
*/
|
|
489
|
-
PaginationToken?: string;
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* <p>Specifies a list of TagFilters (keys and values) to restrict the output to only those
|
|
493
|
-
* resources that have the specified tag and, if included, the specified value. Each
|
|
494
|
-
* <code>TagFilter</code> must contain a key with values optional. A request can
|
|
495
|
-
* include up to 50 keys, and each key can include up to 20 values. </p>
|
|
496
|
-
* <p>Note the following when deciding how to use TagFilters:</p>
|
|
497
|
-
* <ul>
|
|
498
|
-
* <li>
|
|
499
|
-
* <p>If you <i>don't</i> specify a <code>TagFilter</code>, the
|
|
500
|
-
* response includes all resources that are currently tagged or ever had a tag.
|
|
501
|
-
* Resources that currently don't have tags are shown with an empty tag set, like
|
|
502
|
-
* this: <code>"Tags": []</code>.</p>
|
|
503
|
-
* </li>
|
|
504
|
-
* <li>
|
|
505
|
-
* <p>If you specify more than one filter in a single request, the response returns
|
|
506
|
-
* only those resources that satisfy all filters.</p>
|
|
507
|
-
* </li>
|
|
508
|
-
* <li>
|
|
509
|
-
* <p>If you specify a filter that contains more than one value for a key, the
|
|
510
|
-
* response returns resources that match any of the specified values for that
|
|
511
|
-
* key.</p>
|
|
512
|
-
* </li>
|
|
513
|
-
* <li>
|
|
514
|
-
* <p>If you don't specify any values for a key, the response returns resources that
|
|
515
|
-
* are tagged with that key and any or no value.</p>
|
|
516
|
-
* <p>For example, for the following filters: <code>filter1= {keyA,{value1}}</code>,
|
|
517
|
-
* <code>filter2={keyB,{value2,value3,value4}}</code>, <code>filter3=
|
|
518
|
-
* {keyC}</code>:</p>
|
|
519
|
-
* <ul>
|
|
520
|
-
* <li>
|
|
521
|
-
* <p>
|
|
522
|
-
* <code>GetResources({filter1})</code> returns resources tagged with
|
|
523
|
-
* <code>key1=value1</code>
|
|
524
|
-
* </p>
|
|
525
|
-
* </li>
|
|
526
|
-
* <li>
|
|
527
|
-
* <p>
|
|
528
|
-
* <code>GetResources({filter2})</code> returns resources tagged with
|
|
529
|
-
* <code>key2=value2</code> or <code>key2=value3</code> or
|
|
530
|
-
* <code>key2=value4</code>
|
|
531
|
-
* </p>
|
|
532
|
-
* </li>
|
|
533
|
-
* <li>
|
|
534
|
-
* <p>
|
|
535
|
-
* <code>GetResources({filter3})</code> returns resources tagged with any
|
|
536
|
-
* tag with the key <code>key3</code>, and with any or no value</p>
|
|
537
|
-
* </li>
|
|
538
|
-
* <li>
|
|
539
|
-
* <p>
|
|
540
|
-
* <code>GetResources({filter1,filter2,filter3})</code> returns resources
|
|
541
|
-
* tagged with <code>(key1=value1) and (key2=value2 or key2=value3 or
|
|
542
|
-
* key2=value4) and (key3, any or no value)</code>
|
|
543
|
-
* </p>
|
|
544
|
-
* </li>
|
|
545
|
-
* </ul>
|
|
546
|
-
* </li>
|
|
547
|
-
* </ul>
|
|
548
|
-
*/
|
|
549
|
-
TagFilters?: TagFilter[];
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* <p>Specifies the maximum number of results to be returned in each page. A
|
|
553
|
-
* query can return fewer than this maximum, even if there are more results still to return. You
|
|
554
|
-
* should always check the <code>PaginationToken</code> response value to see if there are more
|
|
555
|
-
* results. You can specify a minimum of 1 and a maximum value of 100.</p>
|
|
556
|
-
*/
|
|
557
|
-
ResourcesPerPage?: number;
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* <p>AWS recommends using <code>ResourcesPerPage</code> instead of this parameter.</p>
|
|
561
|
-
* <p>A limit that restricts the number of tags (key and value pairs) returned by
|
|
562
|
-
* <code>GetResources</code> in paginated output. A resource with no tags is counted as
|
|
563
|
-
* having one tag (one key and value pair).</p>
|
|
564
|
-
* <p>
|
|
565
|
-
* <code>GetResources</code> does not split a resource and its associated tags across
|
|
566
|
-
* pages. If the specified <code>TagsPerPage</code> would cause such a break, a
|
|
567
|
-
* <code>PaginationToken</code> is returned in place of the affected resource and its
|
|
568
|
-
* tags. Use that token in another request to get the remaining data. For example, if you
|
|
569
|
-
* specify a <code>TagsPerPage</code> of <code>100</code> and the account has 22 resources
|
|
570
|
-
* with 10 tags each (meaning that each resource has 10 key and value pairs), the output
|
|
571
|
-
* will consist of three pages. The first page displays the first 10 resources, each with
|
|
572
|
-
* its 10 tags. The second page displays the next 10 resources, each with its 10 tags. The
|
|
573
|
-
* third page displays the remaining 2 resources, each with its 10 tags.</p>
|
|
574
|
-
* <p>You can set <code>TagsPerPage</code> to a minimum of 100 items up to a maximum of 500
|
|
575
|
-
* items.</p>
|
|
576
|
-
*/
|
|
577
|
-
TagsPerPage?: number;
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* <p>Specifies the resource types that you want included in the response. The format of
|
|
581
|
-
* each resource type is <code>service[:resourceType]</code>. For example, specifying a
|
|
582
|
-
* resource type of <code>ec2</code> returns all Amazon EC2 resources (which includes EC2
|
|
583
|
-
* instances). Specifying a resource type of <code>ec2:instance</code> returns only EC2
|
|
584
|
-
* instances. </p>
|
|
585
|
-
* <p>The string for each service name and resource type is the same as that embedded in a
|
|
586
|
-
* resource's Amazon Resource Name (ARN). Consult the <i>AWS General
|
|
587
|
-
* Reference</i> for the following:</p>
|
|
588
|
-
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
|
|
589
|
-
* AWS Service Namespaces</a>.</p>
|
|
590
|
-
* <p>You can specify multiple resource types by using an array. The array can include up to
|
|
591
|
-
* 100 items. Note that the length constraint requirement applies to each resource type
|
|
592
|
-
* filter. </p>
|
|
593
|
-
*/
|
|
594
|
-
ResourceTypeFilters?: string[];
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* <p>Specifies whether to include details regarding the compliance with the effective tag
|
|
598
|
-
* policy. Set this to <code>true</code> to determine whether resources are compliant with
|
|
599
|
-
* the tag policy and to get details.</p>
|
|
600
|
-
*/
|
|
601
|
-
IncludeComplianceDetails?: boolean;
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* <p>Specifies whether to exclude resources that are compliant with the tag policy. Set
|
|
605
|
-
* this to <code>true</code> if you are interested in retrieving information on
|
|
606
|
-
* noncompliant resources only.</p>
|
|
607
|
-
* <p>You can use this parameter only if the <code>IncludeComplianceDetails</code> parameter
|
|
608
|
-
* is also set to <code>true</code>.</p>
|
|
609
|
-
*/
|
|
610
|
-
ExcludeCompliantResources?: boolean;
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* <p>Specifies a list of ARNs of resources for which you want to retrieve tag data. You
|
|
614
|
-
* can't specify both this parameter and any of the pagination parameters
|
|
615
|
-
* (<code>ResourcesPerPage</code>, <code>TagsPerPage</code>,
|
|
616
|
-
* <code>PaginationToken</code>) in the same request. If you specify both, you get an
|
|
617
|
-
* <code>Invalid Parameter</code> exception.</p>
|
|
618
|
-
* <p>If a resource specified by this parameter doesn't exist, it doesn't generate an error;
|
|
619
|
-
* it simply isn't included in the response.</p>
|
|
620
|
-
* <p>An ARN (Amazon Resource Name) uniquely identifies a resource. For more information,
|
|
621
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
622
|
-
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS
|
|
623
|
-
* General Reference</i>.</p>
|
|
624
|
-
*/
|
|
625
|
-
ResourceARNList?: string[];
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
export namespace GetResourcesInput {
|
|
629
|
-
/**
|
|
630
|
-
* @internal
|
|
631
|
-
*/
|
|
632
|
-
export const filterSensitiveLog = (obj: GetResourcesInput): any => ({
|
|
633
|
-
...obj,
|
|
634
|
-
});
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* <p>The metadata that you apply to AWS resources to help you categorize and organize
|
|
639
|
-
* them. Each tag consists of a key and a value, both of which you define. For more
|
|
640
|
-
* information, see <a href="http://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
|
|
641
|
-
* Resources</a> in the <i>AWS General Reference</i>.</p>
|
|
642
|
-
*/
|
|
643
|
-
export interface Tag {
|
|
644
|
-
/**
|
|
645
|
-
* <p>One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.</p>
|
|
646
|
-
*/
|
|
647
|
-
Key: string | undefined;
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* <p>One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.</p>
|
|
651
|
-
*/
|
|
652
|
-
Value: string | undefined;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
export namespace Tag {
|
|
656
|
-
/**
|
|
657
|
-
* @internal
|
|
658
|
-
*/
|
|
659
|
-
export const filterSensitiveLog = (obj: Tag): any => ({
|
|
660
|
-
...obj,
|
|
661
|
-
});
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* <p>A list of resource ARNs and the tags (keys and values) that are associated with
|
|
666
|
-
* each.</p>
|
|
667
|
-
*/
|
|
668
|
-
export interface ResourceTagMapping {
|
|
669
|
-
/**
|
|
670
|
-
* <p>The ARN of the resource.</p>
|
|
671
|
-
*/
|
|
672
|
-
ResourceARN?: string;
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* <p>The tags that have been applied to one or more AWS resources.</p>
|
|
676
|
-
*/
|
|
677
|
-
Tags?: Tag[];
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* <p>Information that shows whether a resource is compliant with the effective tag policy,
|
|
681
|
-
* including details on any noncompliant tag keys.</p>
|
|
682
|
-
*/
|
|
683
|
-
ComplianceDetails?: ComplianceDetails;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
export namespace ResourceTagMapping {
|
|
687
|
-
/**
|
|
688
|
-
* @internal
|
|
689
|
-
*/
|
|
690
|
-
export const filterSensitiveLog = (obj: ResourceTagMapping): any => ({
|
|
691
|
-
...obj,
|
|
692
|
-
});
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export interface GetResourcesOutput {
|
|
696
|
-
/**
|
|
697
|
-
* <p>A string that indicates that there is more data available than this
|
|
698
|
-
* response contains. To receive the next part of the response, specify this response value
|
|
699
|
-
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
700
|
-
*/
|
|
701
|
-
PaginationToken?: string;
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* <p>A list of resource ARNs and the tags (keys and values) associated with
|
|
705
|
-
* those ARNs.</p>
|
|
706
|
-
*/
|
|
707
|
-
ResourceTagMappingList?: ResourceTagMapping[];
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
export namespace GetResourcesOutput {
|
|
711
|
-
/**
|
|
712
|
-
* @internal
|
|
713
|
-
*/
|
|
714
|
-
export const filterSensitiveLog = (obj: GetResourcesOutput): any => ({
|
|
715
|
-
...obj,
|
|
716
|
-
});
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* <p>A <code>PaginationToken</code> is valid for a maximum of 15 minutes. Your request was
|
|
721
|
-
* denied because the specified <code>PaginationToken</code> has expired.</p>
|
|
722
|
-
*/
|
|
723
|
-
export interface PaginationTokenExpiredException extends __SmithyException, $MetadataBearer {
|
|
724
|
-
name: "PaginationTokenExpiredException";
|
|
725
|
-
$fault: "client";
|
|
726
|
-
Message?: string;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export namespace PaginationTokenExpiredException {
|
|
730
|
-
/**
|
|
731
|
-
* @internal
|
|
732
|
-
*/
|
|
733
|
-
export const filterSensitiveLog = (obj: PaginationTokenExpiredException): any => ({
|
|
734
|
-
...obj,
|
|
735
|
-
});
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
export interface GetTagKeysInput {
|
|
739
|
-
/**
|
|
740
|
-
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
741
|
-
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
742
|
-
* in your initial request.</p>
|
|
743
|
-
*/
|
|
744
|
-
PaginationToken?: string;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
export namespace GetTagKeysInput {
|
|
748
|
-
/**
|
|
749
|
-
* @internal
|
|
750
|
-
*/
|
|
751
|
-
export const filterSensitiveLog = (obj: GetTagKeysInput): any => ({
|
|
752
|
-
...obj,
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
export interface GetTagKeysOutput {
|
|
757
|
-
/**
|
|
758
|
-
* <p>A string that indicates that there is more data available than this
|
|
759
|
-
* response contains. To receive the next part of the response, specify this response value
|
|
760
|
-
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
761
|
-
*/
|
|
762
|
-
PaginationToken?: string;
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
* <p>A list of all tag keys in the AWS account.</p>
|
|
766
|
-
*/
|
|
767
|
-
TagKeys?: string[];
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
export namespace GetTagKeysOutput {
|
|
771
|
-
/**
|
|
772
|
-
* @internal
|
|
773
|
-
*/
|
|
774
|
-
export const filterSensitiveLog = (obj: GetTagKeysOutput): any => ({
|
|
775
|
-
...obj,
|
|
776
|
-
});
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
export interface GetTagValuesInput {
|
|
780
|
-
/**
|
|
781
|
-
* <p>Specifies a <code>PaginationToken</code> response value from a
|
|
782
|
-
* previous request to indicate that you want the next page of results. Leave this parameter empty
|
|
783
|
-
* in your initial request.</p>
|
|
784
|
-
*/
|
|
785
|
-
PaginationToken?: string;
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* <p>Specifies the tag key for which you want to list all existing values that are
|
|
789
|
-
* currently used in the specified AWS Region for the calling AWS account.</p>
|
|
790
|
-
*/
|
|
791
|
-
Key: string | undefined;
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
export namespace GetTagValuesInput {
|
|
795
|
-
/**
|
|
796
|
-
* @internal
|
|
797
|
-
*/
|
|
798
|
-
export const filterSensitiveLog = (obj: GetTagValuesInput): any => ({
|
|
799
|
-
...obj,
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
export interface GetTagValuesOutput {
|
|
804
|
-
/**
|
|
805
|
-
* <p>A string that indicates that there is more data available than this
|
|
806
|
-
* response contains. To receive the next part of the response, specify this response value
|
|
807
|
-
* as the <code>PaginationToken</code> value in the request for the next page.</p>
|
|
808
|
-
*/
|
|
809
|
-
PaginationToken?: string;
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* <p>A list of all tag values for the specified key currently used in the specified AWS
|
|
813
|
-
* Region for the calling AWS account.</p>
|
|
814
|
-
*/
|
|
815
|
-
TagValues?: string[];
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
export namespace GetTagValuesOutput {
|
|
819
|
-
/**
|
|
820
|
-
* @internal
|
|
821
|
-
*/
|
|
822
|
-
export const filterSensitiveLog = (obj: GetTagValuesOutput): any => ({
|
|
823
|
-
...obj,
|
|
824
|
-
});
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
export interface StartReportCreationInput {
|
|
828
|
-
/**
|
|
829
|
-
* <p>The name of the Amazon S3 bucket where the report will be stored; for example:</p>
|
|
830
|
-
* <p>
|
|
831
|
-
* <code>awsexamplebucket</code>
|
|
832
|
-
* </p>
|
|
833
|
-
* <p>For more information on S3 bucket requirements, including an example bucket policy,
|
|
834
|
-
* see the example S3 bucket policy on this page.</p>
|
|
835
|
-
*/
|
|
836
|
-
S3Bucket: string | undefined;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export namespace StartReportCreationInput {
|
|
840
|
-
/**
|
|
841
|
-
* @internal
|
|
842
|
-
*/
|
|
843
|
-
export const filterSensitiveLog = (obj: StartReportCreationInput): any => ({
|
|
844
|
-
...obj,
|
|
845
|
-
});
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
export interface StartReportCreationOutput {}
|
|
849
|
-
|
|
850
|
-
export namespace StartReportCreationOutput {
|
|
851
|
-
/**
|
|
852
|
-
* @internal
|
|
853
|
-
*/
|
|
854
|
-
export const filterSensitiveLog = (obj: StartReportCreationOutput): any => ({
|
|
855
|
-
...obj,
|
|
856
|
-
});
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
export interface TagResourcesInput {
|
|
860
|
-
/**
|
|
861
|
-
* <p>Specifies the list of ARNs of the resources that you want to apply tags to.</p>
|
|
862
|
-
* <p>An ARN (Amazon Resource Name) uniquely identifies a resource. For more information,
|
|
863
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
864
|
-
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS
|
|
865
|
-
* General Reference</i>.</p>
|
|
866
|
-
*/
|
|
867
|
-
ResourceARNList: string[] | undefined;
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* <p>Specifies a list of tags that you want to add to the specified resources. A tag
|
|
871
|
-
* consists of a key and a value that you define.</p>
|
|
872
|
-
*/
|
|
873
|
-
Tags: { [key: string]: string } | undefined;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
export namespace TagResourcesInput {
|
|
877
|
-
/**
|
|
878
|
-
* @internal
|
|
879
|
-
*/
|
|
880
|
-
export const filterSensitiveLog = (obj: TagResourcesInput): any => ({
|
|
881
|
-
...obj,
|
|
882
|
-
});
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
export interface TagResourcesOutput {
|
|
886
|
-
/**
|
|
887
|
-
* <p>A map containing a key-value pair for each failed item that couldn't be tagged. The
|
|
888
|
-
* key is the ARN of the failed resource. The value is a <code>FailureInfo</code> object
|
|
889
|
-
* that contains an error code, a status code, and an error message. If there are no
|
|
890
|
-
* errors, the <code>FailedResourcesMap</code> is empty.</p>
|
|
891
|
-
*/
|
|
892
|
-
FailedResourcesMap?: { [key: string]: FailureInfo };
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
export namespace TagResourcesOutput {
|
|
896
|
-
/**
|
|
897
|
-
* @internal
|
|
898
|
-
*/
|
|
899
|
-
export const filterSensitiveLog = (obj: TagResourcesOutput): any => ({
|
|
900
|
-
...obj,
|
|
901
|
-
});
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
export interface UntagResourcesInput {
|
|
905
|
-
/**
|
|
906
|
-
* <p>Specifies a list of ARNs of the resources that you want to remove tags from.</p>
|
|
907
|
-
* <p>An ARN (Amazon Resource Name) uniquely identifies a resource. For more information,
|
|
908
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
|
|
909
|
-
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS
|
|
910
|
-
* General Reference</i>.</p>
|
|
911
|
-
*/
|
|
912
|
-
ResourceARNList: string[] | undefined;
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* <p>Specifies a list of tag keys that you want to remove from the specified
|
|
916
|
-
* resources.</p>
|
|
917
|
-
*/
|
|
918
|
-
TagKeys: string[] | undefined;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
export namespace UntagResourcesInput {
|
|
922
|
-
/**
|
|
923
|
-
* @internal
|
|
924
|
-
*/
|
|
925
|
-
export const filterSensitiveLog = (obj: UntagResourcesInput): any => ({
|
|
926
|
-
...obj,
|
|
927
|
-
});
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
export interface UntagResourcesOutput {
|
|
931
|
-
/**
|
|
932
|
-
* <p>A map containing a key-value pair for each failed item that couldn't be untagged. The
|
|
933
|
-
* key is the ARN of the failed resource. The value is a <code>FailureInfo</code> object
|
|
934
|
-
* that contains an error code, a status code, and an error message. If there are no
|
|
935
|
-
* errors, the <code>FailedResourcesMap</code> is empty.</p>
|
|
936
|
-
*/
|
|
937
|
-
FailedResourcesMap?: { [key: string]: FailureInfo };
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
export namespace UntagResourcesOutput {
|
|
941
|
-
/**
|
|
942
|
-
* @internal
|
|
943
|
-
*/
|
|
944
|
-
export const filterSensitiveLog = (obj: UntagResourcesOutput): any => ({
|
|
945
|
-
...obj,
|
|
946
|
-
});
|
|
947
|
-
}
|