| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LakeFormation.DescribeResource
Description
Retrieves the current data access role for the given resource registered in 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.
Constructors
| DescribeResource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeResource |
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:
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.
Constructors
| DescribeResourceResponse' | |
Fields
| |
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 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 Lake Formation resource.
describeResourceResponse_httpStatus :: Lens' DescribeResourceResponse Int Source #
The response's http status code.