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 |
Retrieves the current data access role for the given resource registered in AWS Lake Formation.
Synopsis
- data DescribeResource = DescribeResource' {
- resourceArn :: Text
- newDescribeResource :: Text -> DescribeResource
- describeResource_resourceArn :: Lens' DescribeResource Text
- data DescribeResourceResponse = DescribeResourceResponse' {}
- newDescribeResourceResponse :: Int -> DescribeResourceResponse
- describeResourceResponse_resourceInfo :: Lens' DescribeResourceResponse (Maybe ResourceInfo)
- describeResourceResponse_httpStatus :: Lens' DescribeResourceResponse Int
Creating a Request
data DescribeResource Source #
See: newDescribeResource
smart constructor.
DescribeResource' | |
|
Instances
Create a value of DescribeResource
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:resourceArn:DescribeResource'
, describeResource_resourceArn
- The resource ARN.
Request Lenses
describeResource_resourceArn :: Lens' DescribeResource Text Source #
The resource ARN.
Destructuring the Response
data DescribeResourceResponse Source #
See: newDescribeResourceResponse
smart constructor.
DescribeResourceResponse' | |
|
Instances
newDescribeResourceResponse Source #
Create a value of DescribeResourceResponse
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:resourceInfo:DescribeResourceResponse'
, describeResourceResponse_resourceInfo
- A structure containing information about an AWS Lake Formation resource.
$sel:httpStatus:DescribeResourceResponse'
, describeResourceResponse_httpStatus
- The response's http status code.
Response Lenses
describeResourceResponse_resourceInfo :: Lens' DescribeResourceResponse (Maybe ResourceInfo) Source #
A structure containing information about an AWS Lake Formation resource.
describeResourceResponse_httpStatus :: Lens' DescribeResourceResponse Int Source #
The response's http status code.