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 resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.
Synopsis
- data DeleteResourcePolicy = DeleteResourcePolicy' {
- policyName :: Maybe Text
- newDeleteResourcePolicy :: DeleteResourcePolicy
- deleteResourcePolicy_policyName :: Lens' DeleteResourcePolicy (Maybe Text)
- data DeleteResourcePolicyResponse = DeleteResourcePolicyResponse' {
- newDeleteResourcePolicyResponse :: DeleteResourcePolicyResponse
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:policyName:DeleteResourcePolicy'
, deleteResourcePolicy_policyName
- The name of the policy to be revoked. This parameter is required.
Request Lenses
deleteResourcePolicy_policyName :: Lens' DeleteResourcePolicy (Maybe Text) Source #
The name of the policy to be revoked. This parameter is required.
Destructuring the Response
data DeleteResourcePolicyResponse Source #
See: newDeleteResourcePolicyResponse
smart constructor.
Instances
newDeleteResourcePolicyResponse :: DeleteResourcePolicyResponse Source #
Create a value of DeleteResourcePolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.