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.SNS.RemovePermission
Description
Removes a statement from a topic's access control policy.
Synopsis
- data RemovePermission = RemovePermission' {}
- newRemovePermission :: Text -> Text -> RemovePermission
- removePermission_topicArn :: Lens' RemovePermission Text
- removePermission_label :: Lens' RemovePermission Text
- data RemovePermissionResponse = RemovePermissionResponse' {
- newRemovePermissionResponse :: RemovePermissionResponse
Creating a Request
data RemovePermission Source #
Input for RemovePermission action.
See: newRemovePermission
smart constructor.
Constructors
RemovePermission' | |
Instances
Arguments
:: Text | |
-> Text | |
-> RemovePermission |
Create a value of RemovePermission
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:topicArn:RemovePermission'
, removePermission_topicArn
- The ARN of the topic whose access control policy you wish to modify.
$sel:label:RemovePermission'
, removePermission_label
- The unique label of the statement you want to remove.
Request Lenses
removePermission_topicArn :: Lens' RemovePermission Text Source #
The ARN of the topic whose access control policy you wish to modify.
removePermission_label :: Lens' RemovePermission Text Source #
The unique label of the statement you want to remove.
Destructuring the Response
data RemovePermissionResponse Source #
See: newRemovePermissionResponse
smart constructor.
Constructors
RemovePermissionResponse' | |
Instances
newRemovePermissionResponse :: RemovePermissionResponse Source #
Create a value of RemovePermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.