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 |
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.
Instances
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.
Instances
Eq RemovePermissionResponse Source # | |
Defined in Amazonka.SNS.RemovePermission | |
Read RemovePermissionResponse Source # | |
Show RemovePermissionResponse Source # | |
Defined in Amazonka.SNS.RemovePermission showsPrec :: Int -> RemovePermissionResponse -> ShowS # show :: RemovePermissionResponse -> String # showList :: [RemovePermissionResponse] -> ShowS # | |
Generic RemovePermissionResponse Source # | |
Defined in Amazonka.SNS.RemovePermission type Rep RemovePermissionResponse :: Type -> Type # | |
NFData RemovePermissionResponse Source # | |
Defined in Amazonka.SNS.RemovePermission rnf :: RemovePermissionResponse -> () # | |
type Rep RemovePermissionResponse Source # | |
newRemovePermissionResponse :: RemovePermissionResponse Source #
Create a value of RemovePermissionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.