Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data GetEffectivePermissionsForPath = GetEffectivePermissionsForPath' {}
- newGetEffectivePermissionsForPath :: Text -> GetEffectivePermissionsForPath
- getEffectivePermissionsForPath_catalogId :: Lens' GetEffectivePermissionsForPath (Maybe Text)
- getEffectivePermissionsForPath_nextToken :: Lens' GetEffectivePermissionsForPath (Maybe Text)
- getEffectivePermissionsForPath_maxResults :: Lens' GetEffectivePermissionsForPath (Maybe Natural)
- getEffectivePermissionsForPath_resourceArn :: Lens' GetEffectivePermissionsForPath Text
- data GetEffectivePermissionsForPathResponse = GetEffectivePermissionsForPathResponse' {}
- newGetEffectivePermissionsForPathResponse :: Int -> GetEffectivePermissionsForPathResponse
- getEffectivePermissionsForPathResponse_nextToken :: Lens' GetEffectivePermissionsForPathResponse (Maybe Text)
- getEffectivePermissionsForPathResponse_permissions :: Lens' GetEffectivePermissionsForPathResponse (Maybe [PrincipalResourcePermissions])
- getEffectivePermissionsForPathResponse_httpStatus :: Lens' GetEffectivePermissionsForPathResponse Int
Creating a Request
data GetEffectivePermissionsForPath Source #
See: newGetEffectivePermissionsForPath
smart constructor.
GetEffectivePermissionsForPath' | |
|
Instances
newGetEffectivePermissionsForPath Source #
Create a value of GetEffectivePermissionsForPath
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:catalogId:GetEffectivePermissionsForPath'
, getEffectivePermissionsForPath_catalogId
- 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.
$sel:nextToken:GetEffectivePermissionsForPath'
, getEffectivePermissionsForPath_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
$sel:maxResults:GetEffectivePermissionsForPath'
, getEffectivePermissionsForPath_maxResults
- The maximum number of results to return.
$sel:resourceArn:GetEffectivePermissionsForPath'
, getEffectivePermissionsForPath_resourceArn
- The Amazon Resource Name (ARN) of the resource for which you want to get
permissions.
Request Lenses
getEffectivePermissionsForPath_catalogId :: Lens' GetEffectivePermissionsForPath (Maybe Text) Source #
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.
getEffectivePermissionsForPath_nextToken :: Lens' GetEffectivePermissionsForPath (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
getEffectivePermissionsForPath_maxResults :: Lens' GetEffectivePermissionsForPath (Maybe Natural) Source #
The maximum number of results to return.
getEffectivePermissionsForPath_resourceArn :: Lens' GetEffectivePermissionsForPath Text Source #
The Amazon Resource Name (ARN) of the resource for which you want to get permissions.
Destructuring the Response
data GetEffectivePermissionsForPathResponse Source #
See: newGetEffectivePermissionsForPathResponse
smart constructor.
GetEffectivePermissionsForPathResponse' | |
|
Instances
newGetEffectivePermissionsForPathResponse Source #
Create a value of GetEffectivePermissionsForPathResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetEffectivePermissionsForPath'
, getEffectivePermissionsForPathResponse_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
$sel:permissions:GetEffectivePermissionsForPathResponse'
, getEffectivePermissionsForPathResponse_permissions
- A list of the permissions for the specified table or database resource
located at the path in Amazon S3.
$sel:httpStatus:GetEffectivePermissionsForPathResponse'
, getEffectivePermissionsForPathResponse_httpStatus
- The response's http status code.
Response Lenses
getEffectivePermissionsForPathResponse_nextToken :: Lens' GetEffectivePermissionsForPathResponse (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
getEffectivePermissionsForPathResponse_permissions :: Lens' GetEffectivePermissionsForPathResponse (Maybe [PrincipalResourcePermissions]) Source #
A list of the permissions for the specified table or database resource located at the path in Amazon S3.
getEffectivePermissionsForPathResponse_httpStatus :: Lens' GetEffectivePermissionsForPathResponse Int Source #
The response's http status code.