| 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 |
Amazonka.LakeFormation.DeregisterResource
Description
Deregisters the resource as managed by the Data Catalog.
When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.
Synopsis
- data DeregisterResource = DeregisterResource' {
- resourceArn :: Text
- newDeregisterResource :: Text -> DeregisterResource
- deregisterResource_resourceArn :: Lens' DeregisterResource Text
- data DeregisterResourceResponse = DeregisterResourceResponse' {
- httpStatus :: Int
- newDeregisterResourceResponse :: Int -> DeregisterResourceResponse
- deregisterResourceResponse_httpStatus :: Lens' DeregisterResourceResponse Int
Creating a Request
data DeregisterResource Source #
See: newDeregisterResource smart constructor.
Constructors
| DeregisterResource' | |
Fields
| |
Instances
newDeregisterResource Source #
Arguments
| :: Text | |
| -> DeregisterResource |
Create a value of DeregisterResource 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:DeregisterResource', deregisterResource_resourceArn - The Amazon Resource Name (ARN) of the resource that you want to
deregister.
Request Lenses
deregisterResource_resourceArn :: Lens' DeregisterResource Text Source #
The Amazon Resource Name (ARN) of the resource that you want to deregister.
Destructuring the Response
data DeregisterResourceResponse Source #
See: newDeregisterResourceResponse smart constructor.
Constructors
| DeregisterResourceResponse' | |
Fields
| |
Instances
newDeregisterResourceResponse Source #
Create a value of DeregisterResourceResponse 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:DeregisterResourceResponse', deregisterResourceResponse_httpStatus - The response's http status code.
Response Lenses
deregisterResourceResponse_httpStatus :: Lens' DeregisterResourceResponse Int Source #
The response's http status code.