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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • 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 the AddPermission action.

data RemovePermission Source #

See: removePermission smart constructor.

Instances
Eq RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Data RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RemovePermission -> c RemovePermission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RemovePermission #

toConstr :: RemovePermission -> Constr #

dataTypeOf :: RemovePermission -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RemovePermission) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RemovePermission) #

gmapT :: (forall b. Data b => b -> b) -> RemovePermission -> RemovePermission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RemovePermission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RemovePermission -> r #

gmapQ :: (forall d. Data d => d -> u) -> RemovePermission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RemovePermission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RemovePermission -> m RemovePermission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RemovePermission -> m RemovePermission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RemovePermission -> m RemovePermission #

Read RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Show RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Generic RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Associated Types

type Rep RemovePermission :: Type -> Type #

Hashable RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

AWSRequest RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Associated Types

type Rs RemovePermission :: Type #

ToHeaders RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

ToPath RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

ToQuery RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

NFData RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Methods

rnf :: RemovePermission -> () #

type Rep RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

type Rep RemovePermission = D1 (MetaData "RemovePermission" "Network.AWS.SQS.RemovePermission" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "RemovePermission'" PrefixI True) (S1 (MetaSel (Just "_rpQueueURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rpLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs RemovePermission Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

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 AddPermission action.

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.

Instances
Eq RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Data RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RemovePermissionResponse -> c RemovePermissionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RemovePermissionResponse #

toConstr :: RemovePermissionResponse -> Constr #

dataTypeOf :: RemovePermissionResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RemovePermissionResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RemovePermissionResponse) #

gmapT :: (forall b. Data b => b -> b) -> RemovePermissionResponse -> RemovePermissionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RemovePermissionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RemovePermissionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RemovePermissionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RemovePermissionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RemovePermissionResponse -> m RemovePermissionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RemovePermissionResponse -> m RemovePermissionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RemovePermissionResponse -> m RemovePermissionResponse #

Read RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Show RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Generic RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

Associated Types

type Rep RemovePermissionResponse :: Type -> Type #

NFData RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

type Rep RemovePermissionResponse Source # 
Instance details

Defined in Network.AWS.SQS.RemovePermission

type Rep RemovePermissionResponse = D1 (MetaData "RemovePermissionResponse" "Network.AWS.SQS.RemovePermission" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "RemovePermissionResponse'" PrefixI False) (U1 :: Type -> Type))