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 |
Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.
Synopsis
- data UpdateResource = UpdateResource' {
- roleArn :: Text
- resourceArn :: Text
- newUpdateResource :: Text -> Text -> UpdateResource
- updateResource_roleArn :: Lens' UpdateResource Text
- updateResource_resourceArn :: Lens' UpdateResource Text
- data UpdateResourceResponse = UpdateResourceResponse' {
- httpStatus :: Int
- newUpdateResourceResponse :: Int -> UpdateResourceResponse
- updateResourceResponse_httpStatus :: Lens' UpdateResourceResponse Int
Creating a Request
data UpdateResource Source #
See: newUpdateResource
smart constructor.
UpdateResource' | |
|
Instances
Create a value of UpdateResource
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:roleArn:UpdateResource'
, updateResource_roleArn
- The new role to use for the given resource registered in AWS Lake
Formation.
$sel:resourceArn:UpdateResource'
, updateResource_resourceArn
- The resource ARN.
Request Lenses
updateResource_roleArn :: Lens' UpdateResource Text Source #
The new role to use for the given resource registered in AWS Lake Formation.
updateResource_resourceArn :: Lens' UpdateResource Text Source #
The resource ARN.
Destructuring the Response
data UpdateResourceResponse Source #
See: newUpdateResourceResponse
smart constructor.
UpdateResourceResponse' | |
|
Instances
newUpdateResourceResponse Source #
Create a value of UpdateResourceResponse
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:httpStatus:UpdateResourceResponse'
, updateResourceResponse_httpStatus
- The response's http status code.
Response Lenses
updateResourceResponse_httpStatus :: Lens' UpdateResourceResponse Int Source #
The response's http status code.