aws-sdk 2.902.0 → 2.906.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 +23 -1
- package/README.md +1 -1
- package/apis/config-2014-11-12.paginators.json +196 -2
- package/apis/connect-2017-08-08.min.json +8 -2
- package/apis/eks-2017-11-01.min.json +39 -11
- package/apis/iotwireless-2020-11-22.min.json +46 -17
- package/apis/kinesisanalyticsv2-2018-05-23.min.json +64 -1
- package/apis/lakeformation-2017-03-31.min.json +465 -95
- package/apis/mediaconvert-2017-08-29.min.json +187 -107
- package/apis/metadata.json +8 -0
- package/apis/ssm-2014-11-06.min.json +461 -344
- package/apis/ssm-2014-11-06.paginators.json +6 -0
- package/apis/ssm-contacts-2021-05-03.examples.json +5 -0
- package/apis/ssm-contacts-2021-05-03.min.json +833 -0
- package/apis/ssm-contacts-2021-05-03.paginators.json +40 -0
- package/apis/ssm-incidents-2018-05-10.examples.json +5 -0
- package/apis/ssm-incidents-2018-05-10.min.json +1311 -0
- package/apis/ssm-incidents-2018-05-10.paginators.json +40 -0
- package/apis/ssm-incidents-2018-05-10.waiters2.json +53 -0
- package/clients/all.d.ts +2 -0
- package/clients/all.js +3 -1
- package/clients/codeartifact.d.ts +23 -23
- package/clients/connect.d.ts +36 -28
- package/clients/ec2.d.ts +3 -3
- package/clients/ecs.d.ts +8 -8
- package/clients/eks.d.ts +47 -7
- package/clients/iotwireless.d.ts +11 -0
- package/clients/kinesisanalyticsv2.d.ts +77 -8
- package/clients/lakeformation.d.ts +428 -4
- package/clients/lookoutmetrics.d.ts +16 -16
- package/clients/mediaconvert.d.ts +98 -3
- package/clients/s3control.d.ts +72 -72
- package/clients/ssm.d.ts +181 -3
- package/clients/ssmcontacts.d.ts +1079 -0
- package/clients/ssmcontacts.js +18 -0
- package/clients/ssmincidents.d.ts +1382 -0
- package/clients/ssmincidents.js +19 -0
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +94 -13
- package/dist/aws-sdk.js +682 -351
- package/dist/aws-sdk.min.js +68 -68
- package/lib/config_service_placeholders.d.ts +4 -0
- package/lib/core.js +1 -1
- package/lib/http/node.js +6 -2
- package/package.json +1 -1
- package/scripts/changelog/change-creator.js +1 -1
|
@@ -11,6 +11,14 @@ declare class LakeFormation extends Service {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(options?: LakeFormation.Types.ClientConfiguration)
|
|
13
13
|
config: Config & LakeFormation.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Attaches one or more tags to an existing resource.
|
|
16
|
+
*/
|
|
17
|
+
addLFTagsToResource(params: LakeFormation.Types.AddLFTagsToResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.AddLFTagsToResourceResponse) => void): Request<LakeFormation.Types.AddLFTagsToResourceResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Attaches one or more tags to an existing resource.
|
|
20
|
+
*/
|
|
21
|
+
addLFTagsToResource(callback?: (err: AWSError, data: LakeFormation.Types.AddLFTagsToResourceResponse) => void): Request<LakeFormation.Types.AddLFTagsToResourceResponse, AWSError>;
|
|
14
22
|
/**
|
|
15
23
|
* Batch operation to grant permissions to the principal.
|
|
16
24
|
*/
|
|
@@ -27,6 +35,22 @@ declare class LakeFormation extends Service {
|
|
|
27
35
|
* Batch operation to revoke permissions from the principal.
|
|
28
36
|
*/
|
|
29
37
|
batchRevokePermissions(callback?: (err: AWSError, data: LakeFormation.Types.BatchRevokePermissionsResponse) => void): Request<LakeFormation.Types.BatchRevokePermissionsResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a tag with the specified name and values.
|
|
40
|
+
*/
|
|
41
|
+
createLFTag(params: LakeFormation.Types.CreateLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.CreateLFTagResponse) => void): Request<LakeFormation.Types.CreateLFTagResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a tag with the specified name and values.
|
|
44
|
+
*/
|
|
45
|
+
createLFTag(callback?: (err: AWSError, data: LakeFormation.Types.CreateLFTagResponse) => void): Request<LakeFormation.Types.CreateLFTagResponse, AWSError>;
|
|
46
|
+
/**
|
|
47
|
+
* Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as the tag key is still attached with resources. You can consider untagging resources with this tag key.
|
|
48
|
+
*/
|
|
49
|
+
deleteLFTag(params: LakeFormation.Types.DeleteLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.DeleteLFTagResponse) => void): Request<LakeFormation.Types.DeleteLFTagResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as the tag key is still attached with resources. You can consider untagging resources with this tag key.
|
|
52
|
+
*/
|
|
53
|
+
deleteLFTag(callback?: (err: AWSError, data: LakeFormation.Types.DeleteLFTagResponse) => void): Request<LakeFormation.Types.DeleteLFTagResponse, AWSError>;
|
|
30
54
|
/**
|
|
31
55
|
* Deregisters the resource as managed by the Data Catalog. When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
|
|
32
56
|
*/
|
|
@@ -59,6 +83,22 @@ declare class LakeFormation extends Service {
|
|
|
59
83
|
* Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. GetEffectivePermissionsForPath will not return databases and tables if the catalog is encrypted.
|
|
60
84
|
*/
|
|
61
85
|
getEffectivePermissionsForPath(callback?: (err: AWSError, data: LakeFormation.Types.GetEffectivePermissionsForPathResponse) => void): Request<LakeFormation.Types.GetEffectivePermissionsForPathResponse, AWSError>;
|
|
86
|
+
/**
|
|
87
|
+
* Returns a tag definition.
|
|
88
|
+
*/
|
|
89
|
+
getLFTag(params: LakeFormation.Types.GetLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.GetLFTagResponse) => void): Request<LakeFormation.Types.GetLFTagResponse, AWSError>;
|
|
90
|
+
/**
|
|
91
|
+
* Returns a tag definition.
|
|
92
|
+
*/
|
|
93
|
+
getLFTag(callback?: (err: AWSError, data: LakeFormation.Types.GetLFTagResponse) => void): Request<LakeFormation.Types.GetLFTagResponse, AWSError>;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the tags applied to a resource.
|
|
96
|
+
*/
|
|
97
|
+
getResourceLFTags(params: LakeFormation.Types.GetResourceLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.GetResourceLFTagsResponse) => void): Request<LakeFormation.Types.GetResourceLFTagsResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Returns the tags applied to a resource.
|
|
100
|
+
*/
|
|
101
|
+
getResourceLFTags(callback?: (err: AWSError, data: LakeFormation.Types.GetResourceLFTagsResponse) => void): Request<LakeFormation.Types.GetResourceLFTagsResponse, AWSError>;
|
|
62
102
|
/**
|
|
63
103
|
* Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. For information about permissions, see Security and Access Control to Metadata and Data.
|
|
64
104
|
*/
|
|
@@ -67,6 +107,14 @@ declare class LakeFormation extends Service {
|
|
|
67
107
|
* Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. For information about permissions, see Security and Access Control to Metadata and Data.
|
|
68
108
|
*/
|
|
69
109
|
grantPermissions(callback?: (err: AWSError, data: LakeFormation.Types.GrantPermissionsResponse) => void): Request<LakeFormation.Types.GrantPermissionsResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Lists tags that the requester has permission to view.
|
|
112
|
+
*/
|
|
113
|
+
listLFTags(params: LakeFormation.Types.ListLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.ListLFTagsResponse) => void): Request<LakeFormation.Types.ListLFTagsResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Lists tags that the requester has permission to view.
|
|
116
|
+
*/
|
|
117
|
+
listLFTags(callback?: (err: AWSError, data: LakeFormation.Types.ListLFTagsResponse) => void): Request<LakeFormation.Types.ListLFTagsResponse, AWSError>;
|
|
70
118
|
/**
|
|
71
119
|
* Returns a list of the principal permissions on the resource, filtered by the permissions of the caller. For example, if you are granted an ALTER permission, you are able to see only the principal permissions for ALTER. This operation returns only those permissions that have been explicitly granted. For information about permissions, see Security and Access Control to Metadata and Data.
|
|
72
120
|
*/
|
|
@@ -99,6 +147,14 @@ declare class LakeFormation extends Service {
|
|
|
99
147
|
* Registers the resource as managed by the Data Catalog. To add or update data, Lake Formation needs read/write access to the chosen Amazon S3 path. Choose a role that you know has permission to do this, or choose the AWSServiceRoleForLakeFormationDataAccess service-linked role. When you register the first Amazon S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy. The following request registers a new location and gives AWS Lake Formation permission to use the service-linked role to access that location. ResourceArn = arn:aws:s3:::my-bucket UseServiceLinkedRole = true If UseServiceLinkedRole is not set to true, you must provide or set the RoleArn: arn:aws:iam::12345:role/my-data-access-role
|
|
100
148
|
*/
|
|
101
149
|
registerResource(callback?: (err: AWSError, data: LakeFormation.Types.RegisterResourceResponse) => void): Request<LakeFormation.Types.RegisterResourceResponse, AWSError>;
|
|
150
|
+
/**
|
|
151
|
+
* Removes a tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in tableWithColumns to specify column input.
|
|
152
|
+
*/
|
|
153
|
+
removeLFTagsFromResource(params: LakeFormation.Types.RemoveLFTagsFromResourceRequest, callback?: (err: AWSError, data: LakeFormation.Types.RemoveLFTagsFromResourceResponse) => void): Request<LakeFormation.Types.RemoveLFTagsFromResourceResponse, AWSError>;
|
|
154
|
+
/**
|
|
155
|
+
* Removes a tag from the resource. Only database, table, or tableWithColumns resource are allowed. To tag columns, use the column inclusion list in tableWithColumns to specify column input.
|
|
156
|
+
*/
|
|
157
|
+
removeLFTagsFromResource(callback?: (err: AWSError, data: LakeFormation.Types.RemoveLFTagsFromResourceResponse) => void): Request<LakeFormation.Types.RemoveLFTagsFromResourceResponse, AWSError>;
|
|
102
158
|
/**
|
|
103
159
|
* Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
|
|
104
160
|
*/
|
|
@@ -107,6 +163,30 @@ declare class LakeFormation extends Service {
|
|
|
107
163
|
* Revokes permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3.
|
|
108
164
|
*/
|
|
109
165
|
revokePermissions(callback?: (err: AWSError, data: LakeFormation.Types.RevokePermissionsResponse) => void): Request<LakeFormation.Types.RevokePermissionsResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* This operation allows a search on DATABASE resources by TagCondition. This operation is used by admins who want to grant user permissions on certain TagConditions. Before making a grant, the admin can use SearchDatabasesByTags to find all resources where the given TagConditions are valid to verify whether the returned resources can be shared.
|
|
168
|
+
*/
|
|
169
|
+
searchDatabasesByLFTags(params: LakeFormation.Types.SearchDatabasesByLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.SearchDatabasesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchDatabasesByLFTagsResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* This operation allows a search on DATABASE resources by TagCondition. This operation is used by admins who want to grant user permissions on certain TagConditions. Before making a grant, the admin can use SearchDatabasesByTags to find all resources where the given TagConditions are valid to verify whether the returned resources can be shared.
|
|
172
|
+
*/
|
|
173
|
+
searchDatabasesByLFTags(callback?: (err: AWSError, data: LakeFormation.Types.SearchDatabasesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchDatabasesByLFTagsResponse, AWSError>;
|
|
174
|
+
/**
|
|
175
|
+
* This operation allows a search on TABLE resources by LFTags. This will be used by admins who want to grant user permissions on certain LFTags. Before making a grant, the admin can use SearchTablesByLFTags to find all resources where the given LFTags are valid to verify whether the returned resources can be shared.
|
|
176
|
+
*/
|
|
177
|
+
searchTablesByLFTags(params: LakeFormation.Types.SearchTablesByLFTagsRequest, callback?: (err: AWSError, data: LakeFormation.Types.SearchTablesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchTablesByLFTagsResponse, AWSError>;
|
|
178
|
+
/**
|
|
179
|
+
* This operation allows a search on TABLE resources by LFTags. This will be used by admins who want to grant user permissions on certain LFTags. Before making a grant, the admin can use SearchTablesByLFTags to find all resources where the given LFTags are valid to verify whether the returned resources can be shared.
|
|
180
|
+
*/
|
|
181
|
+
searchTablesByLFTags(callback?: (err: AWSError, data: LakeFormation.Types.SearchTablesByLFTagsResponse) => void): Request<LakeFormation.Types.SearchTablesByLFTagsResponse, AWSError>;
|
|
182
|
+
/**
|
|
183
|
+
* Updates the list of possible values for the specified tag key. If the tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - "Update not allowed". Untag the attribute before deleting the tag key's value.
|
|
184
|
+
*/
|
|
185
|
+
updateLFTag(params: LakeFormation.Types.UpdateLFTagRequest, callback?: (err: AWSError, data: LakeFormation.Types.UpdateLFTagResponse) => void): Request<LakeFormation.Types.UpdateLFTagResponse, AWSError>;
|
|
186
|
+
/**
|
|
187
|
+
* Updates the list of possible values for the specified tag key. If the tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - "Update not allowed". Untag the attribute before deleting the tag key's value.
|
|
188
|
+
*/
|
|
189
|
+
updateLFTag(callback?: (err: AWSError, data: LakeFormation.Types.UpdateLFTagResponse) => void): Request<LakeFormation.Types.UpdateLFTagResponse, AWSError>;
|
|
110
190
|
/**
|
|
111
191
|
* Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
|
|
112
192
|
*/
|
|
@@ -117,6 +197,26 @@ declare class LakeFormation extends Service {
|
|
|
117
197
|
updateResource(callback?: (err: AWSError, data: LakeFormation.Types.UpdateResourceResponse) => void): Request<LakeFormation.Types.UpdateResourceResponse, AWSError>;
|
|
118
198
|
}
|
|
119
199
|
declare namespace LakeFormation {
|
|
200
|
+
export interface AddLFTagsToResourceRequest {
|
|
201
|
+
/**
|
|
202
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
203
|
+
*/
|
|
204
|
+
CatalogId?: CatalogIdString;
|
|
205
|
+
/**
|
|
206
|
+
* The resource to which to attach a tag.
|
|
207
|
+
*/
|
|
208
|
+
Resource: Resource;
|
|
209
|
+
/**
|
|
210
|
+
* The tags to attach to the resource.
|
|
211
|
+
*/
|
|
212
|
+
LFTags: LFTagsList;
|
|
213
|
+
}
|
|
214
|
+
export interface AddLFTagsToResourceResponse {
|
|
215
|
+
/**
|
|
216
|
+
* A list of failures to tag the resource.
|
|
217
|
+
*/
|
|
218
|
+
Failures?: LFTagErrors;
|
|
219
|
+
}
|
|
120
220
|
export interface BatchGrantPermissionsRequest {
|
|
121
221
|
/**
|
|
122
222
|
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
@@ -183,9 +283,21 @@ declare namespace LakeFormation {
|
|
|
183
283
|
*/
|
|
184
284
|
Failures?: BatchPermissionsFailureList;
|
|
185
285
|
}
|
|
286
|
+
export type BooleanNullable = boolean;
|
|
186
287
|
export type CatalogIdString = string;
|
|
187
288
|
export interface CatalogResource {
|
|
188
289
|
}
|
|
290
|
+
export interface ColumnLFTag {
|
|
291
|
+
/**
|
|
292
|
+
* The name of a column resource.
|
|
293
|
+
*/
|
|
294
|
+
Name?: NameString;
|
|
295
|
+
/**
|
|
296
|
+
* The tags attached to a column resource.
|
|
297
|
+
*/
|
|
298
|
+
LFTags?: LFTagsList;
|
|
299
|
+
}
|
|
300
|
+
export type ColumnLFTagsList = ColumnLFTag[];
|
|
189
301
|
export type ColumnNames = NameString[];
|
|
190
302
|
export interface ColumnWildcard {
|
|
191
303
|
/**
|
|
@@ -194,6 +306,22 @@ declare namespace LakeFormation {
|
|
|
194
306
|
ExcludedColumnNames?: ColumnNames;
|
|
195
307
|
}
|
|
196
308
|
export type ComparisonOperator = "EQ"|"NE"|"LE"|"LT"|"GE"|"GT"|"CONTAINS"|"NOT_CONTAINS"|"BEGINS_WITH"|"IN"|"BETWEEN"|string;
|
|
309
|
+
export interface CreateLFTagRequest {
|
|
310
|
+
/**
|
|
311
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
312
|
+
*/
|
|
313
|
+
CatalogId?: CatalogIdString;
|
|
314
|
+
/**
|
|
315
|
+
* The key-name for the tag.
|
|
316
|
+
*/
|
|
317
|
+
TagKey: LFTagKey;
|
|
318
|
+
/**
|
|
319
|
+
* A list of possible values an attribute can take.
|
|
320
|
+
*/
|
|
321
|
+
TagValues: TagValueList;
|
|
322
|
+
}
|
|
323
|
+
export interface CreateLFTagResponse {
|
|
324
|
+
}
|
|
197
325
|
export interface DataLakePrincipal {
|
|
198
326
|
/**
|
|
199
327
|
* An identifier for the AWS Lake Formation principal.
|
|
@@ -202,7 +330,7 @@ declare namespace LakeFormation {
|
|
|
202
330
|
}
|
|
203
331
|
export type DataLakePrincipalList = DataLakePrincipal[];
|
|
204
332
|
export type DataLakePrincipalString = string;
|
|
205
|
-
export type DataLakeResourceType = "CATALOG"|"DATABASE"|"TABLE"|"DATA_LOCATION"|string;
|
|
333
|
+
export type DataLakeResourceType = "CATALOG"|"DATABASE"|"TABLE"|"DATA_LOCATION"|"LF_TAG"|"LF_TAG_POLICY"|"LF_TAG_POLICY_DATABASE"|"LF_TAG_POLICY_TABLE"|string;
|
|
206
334
|
export interface DataLakeSettings {
|
|
207
335
|
/**
|
|
208
336
|
* A list of AWS Lake Formation principals. Supported principals are IAM users or IAM roles.
|
|
@@ -231,6 +359,7 @@ declare namespace LakeFormation {
|
|
|
231
359
|
*/
|
|
232
360
|
ResourceArn: ResourceArnString;
|
|
233
361
|
}
|
|
362
|
+
export type DatabaseLFTagsList = TaggedDatabase[];
|
|
234
363
|
export interface DatabaseResource {
|
|
235
364
|
/**
|
|
236
365
|
* The identifier for the Data Catalog. By default, it is the account ID of the caller.
|
|
@@ -241,6 +370,18 @@ declare namespace LakeFormation {
|
|
|
241
370
|
*/
|
|
242
371
|
Name: NameString;
|
|
243
372
|
}
|
|
373
|
+
export interface DeleteLFTagRequest {
|
|
374
|
+
/**
|
|
375
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
376
|
+
*/
|
|
377
|
+
CatalogId?: CatalogIdString;
|
|
378
|
+
/**
|
|
379
|
+
* The key-name for the tag to delete.
|
|
380
|
+
*/
|
|
381
|
+
TagKey: LFTagKey;
|
|
382
|
+
}
|
|
383
|
+
export interface DeleteLFTagResponse {
|
|
384
|
+
}
|
|
244
385
|
export interface DeregisterResourceRequest {
|
|
245
386
|
/**
|
|
246
387
|
* The Amazon Resource Name (ARN) of the resource that you want to deregister.
|
|
@@ -264,7 +405,7 @@ declare namespace LakeFormation {
|
|
|
264
405
|
export type DescriptionString = string;
|
|
265
406
|
export interface DetailsMap {
|
|
266
407
|
/**
|
|
267
|
-
* A share
|
|
408
|
+
* A resource share ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
|
|
268
409
|
*/
|
|
269
410
|
ResourceShare?: ResourceShareList;
|
|
270
411
|
}
|
|
@@ -278,6 +419,7 @@ declare namespace LakeFormation {
|
|
|
278
419
|
*/
|
|
279
420
|
ErrorMessage?: DescriptionString;
|
|
280
421
|
}
|
|
422
|
+
export type Expression = LFTag[];
|
|
281
423
|
export type FieldNameString = "RESOURCE_ARN"|"ROLE_ARN"|"LAST_MODIFIED"|string;
|
|
282
424
|
export interface FilterCondition {
|
|
283
425
|
/**
|
|
@@ -334,6 +476,58 @@ declare namespace LakeFormation {
|
|
|
334
476
|
*/
|
|
335
477
|
NextToken?: Token;
|
|
336
478
|
}
|
|
479
|
+
export interface GetLFTagRequest {
|
|
480
|
+
/**
|
|
481
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
482
|
+
*/
|
|
483
|
+
CatalogId?: CatalogIdString;
|
|
484
|
+
/**
|
|
485
|
+
* The key-name for the tag.
|
|
486
|
+
*/
|
|
487
|
+
TagKey: LFTagKey;
|
|
488
|
+
}
|
|
489
|
+
export interface GetLFTagResponse {
|
|
490
|
+
/**
|
|
491
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
492
|
+
*/
|
|
493
|
+
CatalogId?: CatalogIdString;
|
|
494
|
+
/**
|
|
495
|
+
* The key-name for the tag.
|
|
496
|
+
*/
|
|
497
|
+
TagKey?: LFTagKey;
|
|
498
|
+
/**
|
|
499
|
+
* A list of possible values an attribute can take.
|
|
500
|
+
*/
|
|
501
|
+
TagValues?: TagValueList;
|
|
502
|
+
}
|
|
503
|
+
export interface GetResourceLFTagsRequest {
|
|
504
|
+
/**
|
|
505
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
506
|
+
*/
|
|
507
|
+
CatalogId?: CatalogIdString;
|
|
508
|
+
/**
|
|
509
|
+
* The resource for which you want to return tags.
|
|
510
|
+
*/
|
|
511
|
+
Resource: Resource;
|
|
512
|
+
/**
|
|
513
|
+
* Indicates whether to show the assigned tags.
|
|
514
|
+
*/
|
|
515
|
+
ShowAssignedLFTags?: BooleanNullable;
|
|
516
|
+
}
|
|
517
|
+
export interface GetResourceLFTagsResponse {
|
|
518
|
+
/**
|
|
519
|
+
* A list of tags applied to a database resource.
|
|
520
|
+
*/
|
|
521
|
+
LFTagOnDatabase?: LFTagsList;
|
|
522
|
+
/**
|
|
523
|
+
* A list of tags applied to a table resource.
|
|
524
|
+
*/
|
|
525
|
+
LFTagsOnTable?: LFTagsList;
|
|
526
|
+
/**
|
|
527
|
+
* A list of tags applied to a column resource.
|
|
528
|
+
*/
|
|
529
|
+
LFTagsOnColumns?: ColumnLFTagsList;
|
|
530
|
+
}
|
|
337
531
|
export interface GrantPermissionsRequest {
|
|
338
532
|
/**
|
|
339
533
|
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
@@ -360,7 +554,101 @@ declare namespace LakeFormation {
|
|
|
360
554
|
}
|
|
361
555
|
export type IAMRoleArn = string;
|
|
362
556
|
export type Identifier = string;
|
|
557
|
+
export interface LFTag {
|
|
558
|
+
/**
|
|
559
|
+
* The key-name for the tag.
|
|
560
|
+
*/
|
|
561
|
+
TagKey: LFTagKey;
|
|
562
|
+
/**
|
|
563
|
+
* A list of possible values an attribute can take.
|
|
564
|
+
*/
|
|
565
|
+
TagValues: TagValueList;
|
|
566
|
+
}
|
|
567
|
+
export interface LFTagError {
|
|
568
|
+
/**
|
|
569
|
+
* The key-name of the tag.
|
|
570
|
+
*/
|
|
571
|
+
LFTag?: LFTagPair;
|
|
572
|
+
/**
|
|
573
|
+
* An error that occurred with the attachment or detachment of the tag.
|
|
574
|
+
*/
|
|
575
|
+
Error?: ErrorDetail;
|
|
576
|
+
}
|
|
577
|
+
export type LFTagErrors = LFTagError[];
|
|
578
|
+
export type LFTagKey = string;
|
|
579
|
+
export interface LFTagKeyResource {
|
|
580
|
+
/**
|
|
581
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
582
|
+
*/
|
|
583
|
+
CatalogId?: CatalogIdString;
|
|
584
|
+
/**
|
|
585
|
+
* The key-name for the tag.
|
|
586
|
+
*/
|
|
587
|
+
TagKey: NameString;
|
|
588
|
+
/**
|
|
589
|
+
* A list of possible values an attribute can take.
|
|
590
|
+
*/
|
|
591
|
+
TagValues: TagValueList;
|
|
592
|
+
}
|
|
593
|
+
export interface LFTagPair {
|
|
594
|
+
/**
|
|
595
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
596
|
+
*/
|
|
597
|
+
CatalogId?: CatalogIdString;
|
|
598
|
+
/**
|
|
599
|
+
* The key-name for the tag.
|
|
600
|
+
*/
|
|
601
|
+
TagKey: LFTagKey;
|
|
602
|
+
/**
|
|
603
|
+
* A list of possible values an attribute can take.
|
|
604
|
+
*/
|
|
605
|
+
TagValues: TagValueList;
|
|
606
|
+
}
|
|
607
|
+
export interface LFTagPolicyResource {
|
|
608
|
+
/**
|
|
609
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
610
|
+
*/
|
|
611
|
+
CatalogId?: CatalogIdString;
|
|
612
|
+
/**
|
|
613
|
+
* The resource type for which the tag policy applies.
|
|
614
|
+
*/
|
|
615
|
+
ResourceType: ResourceType;
|
|
616
|
+
/**
|
|
617
|
+
* A list of tag conditions that apply to the resource's tag policy.
|
|
618
|
+
*/
|
|
619
|
+
Expression: Expression;
|
|
620
|
+
}
|
|
621
|
+
export type LFTagValue = string;
|
|
622
|
+
export type LFTagsList = LFTagPair[];
|
|
363
623
|
export type LastModifiedTimestamp = Date;
|
|
624
|
+
export interface ListLFTagsRequest {
|
|
625
|
+
/**
|
|
626
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
627
|
+
*/
|
|
628
|
+
CatalogId?: CatalogIdString;
|
|
629
|
+
/**
|
|
630
|
+
* If resource share type is ALL, returns both in-account tags and shared tags that the requester has permission to view. If resource share type is FOREIGN, returns all share tags that the requester can view. If no resource share type is passed, lists tags in the given catalog ID that the requester has permission to view.
|
|
631
|
+
*/
|
|
632
|
+
ResourceShareType?: ResourceShareType;
|
|
633
|
+
/**
|
|
634
|
+
* The maximum number of results to return.
|
|
635
|
+
*/
|
|
636
|
+
MaxResults?: PageSize;
|
|
637
|
+
/**
|
|
638
|
+
* A continuation token, if this is not the first call to retrieve this list.
|
|
639
|
+
*/
|
|
640
|
+
NextToken?: Token;
|
|
641
|
+
}
|
|
642
|
+
export interface ListLFTagsResponse {
|
|
643
|
+
/**
|
|
644
|
+
* A list of tags that the requested has permission to view.
|
|
645
|
+
*/
|
|
646
|
+
LFTags?: LFTagsList;
|
|
647
|
+
/**
|
|
648
|
+
* A continuation token, present if the current list segment is not the last.
|
|
649
|
+
*/
|
|
650
|
+
NextToken?: Token;
|
|
651
|
+
}
|
|
364
652
|
export interface ListPermissionsRequest {
|
|
365
653
|
/**
|
|
366
654
|
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
@@ -424,7 +712,7 @@ declare namespace LakeFormation {
|
|
|
424
712
|
export type NameString = string;
|
|
425
713
|
export type NullableBoolean = boolean;
|
|
426
714
|
export type PageSize = number;
|
|
427
|
-
export type Permission = "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|string;
|
|
715
|
+
export type Permission = "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_TAG"|"ALTER_TAG"|"DELETE_TAG"|"DESCRIBE_TAG"|"ASSOCIATE_TAG"|string;
|
|
428
716
|
export type PermissionList = Permission[];
|
|
429
717
|
export interface PrincipalPermissions {
|
|
430
718
|
/**
|
|
@@ -455,7 +743,7 @@ declare namespace LakeFormation {
|
|
|
455
743
|
*/
|
|
456
744
|
PermissionsWithGrantOption?: PermissionList;
|
|
457
745
|
/**
|
|
458
|
-
* This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM share
|
|
746
|
+
* This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.
|
|
459
747
|
*/
|
|
460
748
|
AdditionalDetails?: DetailsMap;
|
|
461
749
|
}
|
|
@@ -489,6 +777,26 @@ declare namespace LakeFormation {
|
|
|
489
777
|
}
|
|
490
778
|
export interface RegisterResourceResponse {
|
|
491
779
|
}
|
|
780
|
+
export interface RemoveLFTagsFromResourceRequest {
|
|
781
|
+
/**
|
|
782
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
783
|
+
*/
|
|
784
|
+
CatalogId?: CatalogIdString;
|
|
785
|
+
/**
|
|
786
|
+
* The resource where you want to remove a tag.
|
|
787
|
+
*/
|
|
788
|
+
Resource: Resource;
|
|
789
|
+
/**
|
|
790
|
+
* The tags to be removed from the resource.
|
|
791
|
+
*/
|
|
792
|
+
LFTags: LFTagsList;
|
|
793
|
+
}
|
|
794
|
+
export interface RemoveLFTagsFromResourceResponse {
|
|
795
|
+
/**
|
|
796
|
+
* A list of failures to untag a resource.
|
|
797
|
+
*/
|
|
798
|
+
Failures?: LFTagErrors;
|
|
799
|
+
}
|
|
492
800
|
export interface Resource {
|
|
493
801
|
/**
|
|
494
802
|
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
@@ -510,6 +818,14 @@ declare namespace LakeFormation {
|
|
|
510
818
|
* The location of an Amazon S3 path where permissions are granted or revoked.
|
|
511
819
|
*/
|
|
512
820
|
DataLocation?: DataLocationResource;
|
|
821
|
+
/**
|
|
822
|
+
* The tag key and values attached to a resource.
|
|
823
|
+
*/
|
|
824
|
+
LFTag?: LFTagKeyResource;
|
|
825
|
+
/**
|
|
826
|
+
* A list of tag conditions that define a resource's tag policy.
|
|
827
|
+
*/
|
|
828
|
+
LFTagPolicy?: LFTagPolicyResource;
|
|
513
829
|
}
|
|
514
830
|
export type ResourceArnString = string;
|
|
515
831
|
export interface ResourceInfo {
|
|
@@ -528,6 +844,8 @@ declare namespace LakeFormation {
|
|
|
528
844
|
}
|
|
529
845
|
export type ResourceInfoList = ResourceInfo[];
|
|
530
846
|
export type ResourceShareList = RAMResourceShareArn[];
|
|
847
|
+
export type ResourceShareType = "FOREIGN"|"ALL"|string;
|
|
848
|
+
export type ResourceType = "DATABASE"|"TABLE"|string;
|
|
531
849
|
export interface RevokePermissionsRequest {
|
|
532
850
|
/**
|
|
533
851
|
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
@@ -552,8 +870,65 @@ declare namespace LakeFormation {
|
|
|
552
870
|
}
|
|
553
871
|
export interface RevokePermissionsResponse {
|
|
554
872
|
}
|
|
873
|
+
export interface SearchDatabasesByLFTagsRequest {
|
|
874
|
+
/**
|
|
875
|
+
* A continuation token, if this is not the first call to retrieve this list.
|
|
876
|
+
*/
|
|
877
|
+
NextToken?: Token;
|
|
878
|
+
/**
|
|
879
|
+
* The maximum number of results to return.
|
|
880
|
+
*/
|
|
881
|
+
MaxResults?: PageSize;
|
|
882
|
+
/**
|
|
883
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
884
|
+
*/
|
|
885
|
+
CatalogId?: CatalogIdString;
|
|
886
|
+
/**
|
|
887
|
+
* A list of conditions (LFTag structures) to search for in database resources.
|
|
888
|
+
*/
|
|
889
|
+
Expression: Expression;
|
|
890
|
+
}
|
|
891
|
+
export interface SearchDatabasesByLFTagsResponse {
|
|
892
|
+
/**
|
|
893
|
+
* A continuation token, present if the current list segment is not the last.
|
|
894
|
+
*/
|
|
895
|
+
NextToken?: Token;
|
|
896
|
+
/**
|
|
897
|
+
* A list of databases that meet the tag conditions.
|
|
898
|
+
*/
|
|
899
|
+
DatabaseList?: DatabaseLFTagsList;
|
|
900
|
+
}
|
|
901
|
+
export interface SearchTablesByLFTagsRequest {
|
|
902
|
+
/**
|
|
903
|
+
* A continuation token, if this is not the first call to retrieve this list.
|
|
904
|
+
*/
|
|
905
|
+
NextToken?: Token;
|
|
906
|
+
/**
|
|
907
|
+
* The maximum number of results to return.
|
|
908
|
+
*/
|
|
909
|
+
MaxResults?: PageSize;
|
|
910
|
+
/**
|
|
911
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
912
|
+
*/
|
|
913
|
+
CatalogId?: CatalogIdString;
|
|
914
|
+
/**
|
|
915
|
+
* A list of conditions (LFTag structures) to search for in table resources.
|
|
916
|
+
*/
|
|
917
|
+
Expression: Expression;
|
|
918
|
+
}
|
|
919
|
+
export interface SearchTablesByLFTagsResponse {
|
|
920
|
+
/**
|
|
921
|
+
* A continuation token, present if the current list segment is not the last.
|
|
922
|
+
*/
|
|
923
|
+
NextToken?: Token;
|
|
924
|
+
/**
|
|
925
|
+
* A list of tables that meet the tag conditions.
|
|
926
|
+
*/
|
|
927
|
+
TableList?: TableLFTagsList;
|
|
928
|
+
}
|
|
555
929
|
export type StringValue = string;
|
|
556
930
|
export type StringValueList = StringValue[];
|
|
931
|
+
export type TableLFTagsList = TaggedTable[];
|
|
557
932
|
export interface TableResource {
|
|
558
933
|
/**
|
|
559
934
|
* The identifier for the Data Catalog. By default, it is the account ID of the caller.
|
|
@@ -596,8 +971,57 @@ declare namespace LakeFormation {
|
|
|
596
971
|
*/
|
|
597
972
|
ColumnWildcard?: ColumnWildcard;
|
|
598
973
|
}
|
|
974
|
+
export type TagValueList = LFTagValue[];
|
|
975
|
+
export interface TaggedDatabase {
|
|
976
|
+
/**
|
|
977
|
+
* A database that has tags attached to it.
|
|
978
|
+
*/
|
|
979
|
+
Database?: DatabaseResource;
|
|
980
|
+
/**
|
|
981
|
+
* A list of tags attached to the database.
|
|
982
|
+
*/
|
|
983
|
+
LFTags?: LFTagsList;
|
|
984
|
+
}
|
|
985
|
+
export interface TaggedTable {
|
|
986
|
+
/**
|
|
987
|
+
* A table that has tags attached to it.
|
|
988
|
+
*/
|
|
989
|
+
Table?: TableResource;
|
|
990
|
+
/**
|
|
991
|
+
* A list of tags attached to the database where the table resides.
|
|
992
|
+
*/
|
|
993
|
+
LFTagOnDatabase?: LFTagsList;
|
|
994
|
+
/**
|
|
995
|
+
* A list of tags attached to the table.
|
|
996
|
+
*/
|
|
997
|
+
LFTagsOnTable?: LFTagsList;
|
|
998
|
+
/**
|
|
999
|
+
* A list of tags attached to columns in the table.
|
|
1000
|
+
*/
|
|
1001
|
+
LFTagsOnColumns?: ColumnLFTagsList;
|
|
1002
|
+
}
|
|
599
1003
|
export type Token = string;
|
|
600
1004
|
export type TrustedResourceOwners = CatalogIdString[];
|
|
1005
|
+
export interface UpdateLFTagRequest {
|
|
1006
|
+
/**
|
|
1007
|
+
* The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
|
|
1008
|
+
*/
|
|
1009
|
+
CatalogId?: CatalogIdString;
|
|
1010
|
+
/**
|
|
1011
|
+
* The key-name for the tag for which to add or delete values.
|
|
1012
|
+
*/
|
|
1013
|
+
TagKey: LFTagKey;
|
|
1014
|
+
/**
|
|
1015
|
+
* A list of tag values to delete from the tag.
|
|
1016
|
+
*/
|
|
1017
|
+
TagValuesToDelete?: TagValueList;
|
|
1018
|
+
/**
|
|
1019
|
+
* A list of tag values to add from the tag.
|
|
1020
|
+
*/
|
|
1021
|
+
TagValuesToAdd?: TagValueList;
|
|
1022
|
+
}
|
|
1023
|
+
export interface UpdateLFTagResponse {
|
|
1024
|
+
}
|
|
601
1025
|
export interface UpdateResourceRequest {
|
|
602
1026
|
/**
|
|
603
1027
|
* The new role to use for the given resource registered in AWS Lake Formation.
|