| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.SQS.RemovePermission
Description
Revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> RemovePermission |
Creates a value of RemovePermission with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpQueueURL- The URL of the Amazon SQS queue from which permissions are removed. Queue URLs are case-sensitive.rpLabel- The identification of the permission to remove. This is the label added using theaction.AddPermission
data RemovePermission Source #
See: removePermission smart constructor.
Instances
Request Lenses
rpQueueURL :: Lens' RemovePermission Text Source #
The URL of the Amazon SQS queue from which permissions are removed. Queue URLs are case-sensitive.
rpLabel :: Lens' RemovePermission Text Source #
The identification of the permission to remove. This is the label added using the action.AddPermission
Destructuring the Response
removePermissionResponse :: RemovePermissionResponse Source #
Creates a value of RemovePermissionResponse with the minimum fields required to make a request.
data RemovePermissionResponse Source #
See: removePermissionResponse smart constructor.