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 |
Deletes a specified policy.
Synopsis
- data DeleteResourcePolicy = DeleteResourcePolicy' {}
- newDeleteResourcePolicy :: DeleteResourcePolicy
- deleteResourcePolicy_policyHashCondition :: Lens' DeleteResourcePolicy (Maybe Text)
- deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy (Maybe Text)
- data DeleteResourcePolicyResponse = DeleteResourcePolicyResponse' {
- httpStatus :: Int
- newDeleteResourcePolicyResponse :: Int -> DeleteResourcePolicyResponse
- deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int
Creating a Request
data DeleteResourcePolicy Source #
See: newDeleteResourcePolicy
smart constructor.
DeleteResourcePolicy' | |
|
Instances
newDeleteResourcePolicy :: DeleteResourcePolicy Source #
Create a value of DeleteResourcePolicy
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:policyHashCondition:DeleteResourcePolicy'
, deleteResourcePolicy_policyHashCondition
- The hash value returned when this policy was set.
$sel:resourceArn:DeleteResourcePolicy'
, deleteResourcePolicy_resourceArn
- The ARN of the Glue resource for the resource policy to be deleted.
Request Lenses
deleteResourcePolicy_policyHashCondition :: Lens' DeleteResourcePolicy (Maybe Text) Source #
The hash value returned when this policy was set.
deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy (Maybe Text) Source #
The ARN of the Glue resource for the resource policy to be deleted.
Destructuring the Response
data DeleteResourcePolicyResponse Source #
See: newDeleteResourcePolicyResponse
smart constructor.
DeleteResourcePolicyResponse' | |
|
Instances
newDeleteResourcePolicyResponse Source #
Create a value of DeleteResourcePolicyResponse
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:DeleteResourcePolicyResponse'
, deleteResourcePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int Source #
The response's http status code.