amazonka-sqs-1.4.0: Amazon Simple Queue Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SQS.RemovePermission

Contents

Description

Revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions.

Synopsis

Creating a Request

removePermission Source

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:

Request Lenses

rpQueueURL :: Lens' RemovePermission Text Source

The URL of the Amazon SQS queue to take action on.

rpLabel :: Lens' RemovePermission Text Source

The identification of the permission to remove. This is the label added with the AddPermission action.

Destructuring the Response

removePermissionResponse :: RemovePermissionResponse Source

Creates a value of RemovePermissionResponse with the minimum fields required to make a request.