| 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.UpdateResource
Description
Updates the data access role used for vending access to the given (registered) resource in 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.
Constructors
| UpdateResource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateResource |
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:
UpdateResource, updateResource_roleArn - The new role to use for the given resource registered in Lake Formation.
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 Lake Formation.
updateResource_resourceArn :: Lens' UpdateResource Text Source #
The resource ARN.
Destructuring the Response
data UpdateResourceResponse Source #
See: newUpdateResourceResponse smart constructor.
Constructors
| UpdateResourceResponse' | |
Fields
| |
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.