|
1189 | 1189 | ],
|
1190 | 1190 | "documentation":"<p>Gets code to perform a specified mapping.</p>"
|
1191 | 1191 | },
|
| 1192 | + "GetResourcePolicies":{ |
| 1193 | + "name":"GetResourcePolicies", |
| 1194 | + "http":{ |
| 1195 | + "method":"POST", |
| 1196 | + "requestUri":"/" |
| 1197 | + }, |
| 1198 | + "input":{"shape":"GetResourcePoliciesRequest"}, |
| 1199 | + "output":{"shape":"GetResourcePoliciesResponse"}, |
| 1200 | + "errors":[ |
| 1201 | + {"shape":"InternalServiceException"}, |
| 1202 | + {"shape":"OperationTimeoutException"}, |
| 1203 | + {"shape":"InvalidInputException"}, |
| 1204 | + {"shape":"GlueEncryptionException"} |
| 1205 | + ], |
| 1206 | + "documentation":"<p>Retrieves the security configurations for the resource policies set on individual resources, and also the account-level policy.</p>" |
| 1207 | + }, |
1192 | 1208 | "GetResourcePolicy":{
|
1193 | 1209 | "name":"GetResourcePolicy",
|
1194 | 1210 | "http":{
|
|
3211 | 3227 | },
|
3212 | 3228 | "ConnectionType":{
|
3213 | 3229 | "shape":"ConnectionType",
|
3214 |
| - "documentation":"<p>The type of the connection. Currently, only JDBC is supported; SFTP is not supported.</p>" |
| 3230 | + "documentation":"<p>The type of the connection. Currently, SFTP is not supported.</p>" |
3215 | 3231 | },
|
3216 | 3232 | "MatchCriteria":{
|
3217 | 3233 | "shape":"MatchCriteria",
|
|
4508 | 4524 | "CreateTableDefaultPermissions":{
|
4509 | 4525 | "shape":"PrincipalPermissionsList",
|
4510 | 4526 | "documentation":"<p>Creates a set of default permissions on the table for principals. </p>"
|
| 4527 | + }, |
| 4528 | + "TargetDatabase":{ |
| 4529 | + "shape":"DatabaseIdentifier", |
| 4530 | + "documentation":"<p>A <code>DatabaseIdentifier</code> structure that describes a target database for resource linking.</p>" |
| 4531 | + }, |
| 4532 | + "CatalogId":{ |
| 4533 | + "shape":"CatalogIdString", |
| 4534 | + "documentation":"<p>The ID of the Data Catalog in which the database resides.</p>" |
4511 | 4535 | }
|
4512 | 4536 | },
|
4513 | 4537 | "documentation":"<p>The <code>Database</code> object represents a logical grouping of tables that might reside in a Hive metastore or an RDBMS.</p>"
|
4514 | 4538 | },
|
| 4539 | + "DatabaseIdentifier":{ |
| 4540 | + "type":"structure", |
| 4541 | + "members":{ |
| 4542 | + "CatalogId":{ |
| 4543 | + "shape":"CatalogIdString", |
| 4544 | + "documentation":"<p>The ID of the Data Catalog in which the database resides.</p>" |
| 4545 | + }, |
| 4546 | + "DatabaseName":{ |
| 4547 | + "shape":"NameString", |
| 4548 | + "documentation":"<p>The name of the catalog database.</p>" |
| 4549 | + } |
| 4550 | + }, |
| 4551 | + "documentation":"<p>A structure that describes a target database for resource linking.</p>" |
| 4552 | + }, |
4515 | 4553 | "DatabaseInput":{
|
4516 | 4554 | "type":"structure",
|
4517 | 4555 | "required":["Name"],
|
|
4535 | 4573 | "CreateTableDefaultPermissions":{
|
4536 | 4574 | "shape":"PrincipalPermissionsList",
|
4537 | 4575 | "documentation":"<p>Creates a set of default permissions on the table for principals. </p>"
|
| 4576 | + }, |
| 4577 | + "TargetDatabase":{ |
| 4578 | + "shape":"DatabaseIdentifier", |
| 4579 | + "documentation":"<p>A <code>DatabaseIdentifier</code> structure that describes a target database for resource linking.</p>" |
4538 | 4580 | }
|
4539 | 4581 | },
|
4540 | 4582 | "documentation":"<p>The structure used to create or update a database.</p>"
|
|
4853 | 4895 | "PolicyHashCondition":{
|
4854 | 4896 | "shape":"HashString",
|
4855 | 4897 | "documentation":"<p>The hash value returned when this policy was set.</p>"
|
| 4898 | + }, |
| 4899 | + "ResourceArn":{ |
| 4900 | + "shape":"GlueResourceArn", |
| 4901 | + "documentation":"<p>The ARN of the AWS Glue resource for the resource policy to be deleted.</p>" |
4856 | 4902 | }
|
4857 | 4903 | }
|
4858 | 4904 | },
|
|
5210 | 5256 | "type":"list",
|
5211 | 5257 | "member":{"shape":"Edge"}
|
5212 | 5258 | },
|
| 5259 | + "EnableHybridValues":{ |
| 5260 | + "type":"string", |
| 5261 | + "enum":[ |
| 5262 | + "TRUE", |
| 5263 | + "FALSE" |
| 5264 | + ] |
| 5265 | + }, |
5213 | 5266 | "EncryptionAtRest":{
|
5214 | 5267 | "type":"structure",
|
5215 | 5268 | "required":["CatalogEncryptionMode"],
|
|
5596 | 5649 | },
|
5597 | 5650 | "ConnectionType":{
|
5598 | 5651 | "shape":"ConnectionType",
|
5599 |
| - "documentation":"<p>The type of connections to return. Currently, only JDBC is supported; SFTP is not supported.</p>" |
| 5652 | + "documentation":"<p>The type of connections to return. Currently, SFTP is not supported.</p>" |
5600 | 5653 | }
|
5601 | 5654 | },
|
5602 | 5655 | "documentation":"<p>Filters the connection definitions that are returned by the <code>GetConnections</code> API operation.</p>"
|
|
5769 | 5822 | "MaxResults":{
|
5770 | 5823 | "shape":"PageSize",
|
5771 | 5824 | "documentation":"<p>The maximum number of databases to return in one response.</p>"
|
| 5825 | + }, |
| 5826 | + "ResourceShareType":{ |
| 5827 | + "shape":"ResourceShareType", |
| 5828 | + "documentation":"<p>Allows you to specify that you want to list the databases shared with your account. The allowable values are <code>FOREIGN</code> or <code>ALL</code>. </p> <ul> <li> <p>If set to <code>FOREIGN</code>, will list the databases shared with your account. </p> </li> <li> <p>If set to <code>ALL</code>, will list the databases shared with your account, as well as the databases in yor local account. </p> </li> </ul>" |
5772 | 5829 | }
|
5773 | 5830 | }
|
5774 | 5831 | },
|
|
6360 | 6417 | }
|
6361 | 6418 | }
|
6362 | 6419 | },
|
| 6420 | + "GetResourcePoliciesRequest":{ |
| 6421 | + "type":"structure", |
| 6422 | + "members":{ |
| 6423 | + "NextToken":{ |
| 6424 | + "shape":"Token", |
| 6425 | + "documentation":"<p>A continuation token, if this is a continuation request.</p>" |
| 6426 | + }, |
| 6427 | + "MaxResults":{ |
| 6428 | + "shape":"PageSize", |
| 6429 | + "documentation":"<p>The maximum size of a list to return.</p>" |
| 6430 | + } |
| 6431 | + } |
| 6432 | + }, |
| 6433 | + "GetResourcePoliciesResponse":{ |
| 6434 | + "type":"structure", |
| 6435 | + "members":{ |
| 6436 | + "GetResourcePoliciesResponseList":{ |
| 6437 | + "shape":"GetResourcePoliciesResponseList", |
| 6438 | + "documentation":"<p>A list of the individual resource policies and the account-level resource policy.</p>" |
| 6439 | + }, |
| 6440 | + "NextToken":{ |
| 6441 | + "shape":"Token", |
| 6442 | + "documentation":"<p>A continuation token, if the returned list does not contain the last resource policy available.</p>" |
| 6443 | + } |
| 6444 | + } |
| 6445 | + }, |
| 6446 | + "GetResourcePoliciesResponseList":{ |
| 6447 | + "type":"list", |
| 6448 | + "member":{"shape":"GluePolicy"} |
| 6449 | + }, |
6363 | 6450 | "GetResourcePolicyRequest":{
|
6364 | 6451 | "type":"structure",
|
6365 | 6452 | "members":{
|
| 6453 | + "ResourceArn":{ |
| 6454 | + "shape":"GlueResourceArn", |
| 6455 | + "documentation":"<p>The ARN of the AWS Glue resource for the resource policy to be retrieved. For more information about AWS Glue resource ARNs, see the <a href=\"https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id\">AWS Glue ARN string pattern</a> </p>" |
| 6456 | + } |
6366 | 6457 | }
|
6367 | 6458 | },
|
6368 | 6459 | "GetResourcePolicyResponse":{
|
|
6842 | 6933 | "documentation":"<p>An encryption operation failed.</p>",
|
6843 | 6934 | "exception":true
|
6844 | 6935 | },
|
| 6936 | + "GluePolicy":{ |
| 6937 | + "type":"structure", |
| 6938 | + "members":{ |
| 6939 | + "PolicyInJson":{ |
| 6940 | + "shape":"PolicyJsonString", |
| 6941 | + "documentation":"<p>Contains the requested policy document, in JSON format.</p>" |
| 6942 | + }, |
| 6943 | + "PolicyHash":{ |
| 6944 | + "shape":"HashString", |
| 6945 | + "documentation":"<p>Contains the hash value associated with this policy.</p>" |
| 6946 | + }, |
| 6947 | + "CreateTime":{ |
| 6948 | + "shape":"Timestamp", |
| 6949 | + "documentation":"<p>The date and time at which the policy was created.</p>" |
| 6950 | + }, |
| 6951 | + "UpdateTime":{ |
| 6952 | + "shape":"Timestamp", |
| 6953 | + "documentation":"<p>The date and time at which the policy was last updated.</p>" |
| 6954 | + } |
| 6955 | + }, |
| 6956 | + "documentation":"<p>A structure for returning a resource policy.</p>" |
| 6957 | + }, |
6845 | 6958 | "GlueResourceArn":{
|
6846 | 6959 | "type":"string",
|
6847 | 6960 | "max":10240,
|
|
8113 | 8226 | "LastAnalyzedTime":{
|
8114 | 8227 | "shape":"Timestamp",
|
8115 | 8228 | "documentation":"<p>The last time at which column statistics were computed for this partition.</p>"
|
| 8229 | + }, |
| 8230 | + "CatalogId":{ |
| 8231 | + "shape":"CatalogIdString", |
| 8232 | + "documentation":"<p>The ID of the Data Catalog in which the partition resides.</p>" |
8116 | 8233 | }
|
8117 | 8234 | },
|
8118 | 8235 | "documentation":"<p>Represents a slice of table data.</p>"
|
|
8342 | 8459 | "shape":"PolicyJsonString",
|
8343 | 8460 | "documentation":"<p>Contains the policy document to set, in JSON format.</p>"
|
8344 | 8461 | },
|
| 8462 | + "ResourceArn":{ |
| 8463 | + "shape":"GlueResourceArn", |
| 8464 | + "documentation":"<p>The ARN of the AWS Glue resource for the resource policy to be set. For more information about AWS Glue resource ARNs, see the <a href=\"https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html#aws-glue-api-regex-aws-glue-arn-id\">AWS Glue ARN string pattern</a> </p>" |
| 8465 | + }, |
8345 | 8466 | "PolicyHashCondition":{
|
8346 | 8467 | "shape":"HashString",
|
8347 | 8468 | "documentation":"<p>The hash value returned when the previous policy was set using <code>PutResourcePolicy</code>. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.</p>"
|
8348 | 8469 | },
|
8349 | 8470 | "PolicyExistsCondition":{
|
8350 | 8471 | "shape":"ExistCondition",
|
8351 | 8472 | "documentation":"<p>A value of <code>MUST_EXIST</code> is used to update a policy. A value of <code>NOT_EXIST</code> is used to create a new policy. If a value of <code>NONE</code> or a null value is used, the call will not depend on the existence of a policy.</p>"
|
| 8473 | + }, |
| 8474 | + "EnableHybrid":{ |
| 8475 | + "shape":"EnableHybridValues", |
| 8476 | + "documentation":"<p>Allows you to specify if you want to use both resource-level and account/catalog-level resource policies. A resource-level policy is a policy attached to an individual resource such as a database or a table.</p> <p>The default value of <code>NO</code> indicates that resource-level policies cannot co-exist with an account-level policy. A value of <code>YES</code> means the use of both resource-level and account/catalog-level resource policies is allowed.</p>" |
8352 | 8477 | }
|
8353 | 8478 | }
|
8354 | 8479 | },
|
|
8432 | 8557 | "documentation":"<p>A resource numerical limit was exceeded.</p>",
|
8433 | 8558 | "exception":true
|
8434 | 8559 | },
|
| 8560 | + "ResourceShareType":{ |
| 8561 | + "type":"string", |
| 8562 | + "enum":[ |
| 8563 | + "FOREIGN", |
| 8564 | + "ALL" |
| 8565 | + ] |
| 8566 | + }, |
8435 | 8567 | "ResourceType":{
|
8436 | 8568 | "type":"string",
|
8437 | 8569 | "enum":[
|
|
8628 | 8760 | "MaxResults":{
|
8629 | 8761 | "shape":"PageSize",
|
8630 | 8762 | "documentation":"<p>The maximum number of tables to return in a single response.</p>"
|
| 8763 | + }, |
| 8764 | + "ResourceShareType":{ |
| 8765 | + "shape":"ResourceShareType", |
| 8766 | + "documentation":"<p>Allows you to specify that you want to search the tables shared with your account. The allowable values are <code>FOREIGN</code> or <code>ALL</code>. </p> <ul> <li> <p>If set to <code>FOREIGN</code>, will search the tables shared with your account. </p> </li> <li> <p>If set to <code>ALL</code>, will search the tables shared with your account, as well as the tables in yor local account. </p> </li> </ul>" |
8631 | 8767 | }
|
8632 | 8768 | }
|
8633 | 8769 | },
|
|
9214 | 9350 | "IsRegisteredWithLakeFormation":{
|
9215 | 9351 | "shape":"Boolean",
|
9216 | 9352 | "documentation":"<p>Indicates whether the table has been registered with AWS Lake Formation.</p>"
|
| 9353 | + }, |
| 9354 | + "TargetTable":{ |
| 9355 | + "shape":"TableIdentifier", |
| 9356 | + "documentation":"<p>A <code>TableIdentifier</code> structure that describes a target table for resource linking.</p>" |
| 9357 | + }, |
| 9358 | + "CatalogId":{ |
| 9359 | + "shape":"CatalogIdString", |
| 9360 | + "documentation":"<p>The ID of the Data Catalog in which the table resides.</p>" |
9217 | 9361 | }
|
9218 | 9362 | },
|
9219 | 9363 | "documentation":"<p>Represents a collection of related data organized in columns and rows.</p>"
|
|
9236 | 9380 | "type":"list",
|
9237 | 9381 | "member":{"shape":"TableError"}
|
9238 | 9382 | },
|
| 9383 | + "TableIdentifier":{ |
| 9384 | + "type":"structure", |
| 9385 | + "members":{ |
| 9386 | + "CatalogId":{ |
| 9387 | + "shape":"CatalogIdString", |
| 9388 | + "documentation":"<p>The ID of the Data Catalog in which the table resides.</p>" |
| 9389 | + }, |
| 9390 | + "DatabaseName":{ |
| 9391 | + "shape":"NameString", |
| 9392 | + "documentation":"<p>The name of the catalog database that contains the target table.</p>" |
| 9393 | + }, |
| 9394 | + "Name":{ |
| 9395 | + "shape":"NameString", |
| 9396 | + "documentation":"<p>The name of the target table.</p>" |
| 9397 | + } |
| 9398 | + }, |
| 9399 | + "documentation":"<p>A structure that describes a target table for resource linking.</p>" |
| 9400 | + }, |
9239 | 9401 | "TableInput":{
|
9240 | 9402 | "type":"structure",
|
9241 | 9403 | "required":["Name"],
|
|
9287 | 9449 | "Parameters":{
|
9288 | 9450 | "shape":"ParametersMap",
|
9289 | 9451 | "documentation":"<p>These key-value pairs define properties associated with the table.</p>"
|
| 9452 | + }, |
| 9453 | + "TargetTable":{ |
| 9454 | + "shape":"TableIdentifier", |
| 9455 | + "documentation":"<p>A <code>TableIdentifier</code> structure that describes a target table for resource linking.</p>" |
9290 | 9456 | }
|
9291 | 9457 | },
|
9292 | 9458 | "documentation":"<p>A structure used to define a table.</p>"
|
|
10416 | 10582 | },
|
10417 | 10583 | "DatabaseName":{
|
10418 | 10584 | "shape":"NameString",
|
10419 |
| - "documentation":"<p>The name of the database where the function resides.</p>" |
| 10585 | + "documentation":"<p>The name of the catalog database that contains the function.</p>" |
10420 | 10586 | },
|
10421 | 10587 | "ClassName":{
|
10422 | 10588 | "shape":"NameString",
|
|
10437 | 10603 | "ResourceUris":{
|
10438 | 10604 | "shape":"ResourceUriList",
|
10439 | 10605 | "documentation":"<p>The resource URIs for the function.</p>"
|
| 10606 | + }, |
| 10607 | + "CatalogId":{ |
| 10608 | + "shape":"CatalogIdString", |
| 10609 | + "documentation":"<p>The ID of the Data Catalog in which the function resides.</p>" |
10440 | 10610 | }
|
10441 | 10611 | },
|
10442 | 10612 | "documentation":"<p>Represents the equivalent of a Hive user-defined function (<code>UDF</code>) definition.</p>"
|
|
0 commit comments