amazonka-cloudwatch-events-1.6.1: Amazon CloudWatch Events 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.CloudWatchEvents.RemovePermission

Contents

Description

Revokes the permission of another AWS account to be able to put events to your default event bus. Specify the account to revoke by the StatementId value that you associated with the account when you granted it permission with PutPermission . You can find the StatementId by using DescribeEventBus .

Synopsis

Creating a Request

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:

  • rpStatementId - The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

data RemovePermission #

See: removePermission smart constructor.

Instances
Eq RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Data RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Show RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Generic RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Associated Types

type Rep RemovePermission :: Type -> Type #

Hashable RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

ToJSON RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

AWSRequest RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Associated Types

type Rs RemovePermission :: Type #

ToHeaders RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

ToPath RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

ToQuery RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

NFData RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Methods

rnf :: RemovePermission -> () #

type Rep RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

type Rep RemovePermission = D1 (MetaData "RemovePermission" "Network.AWS.CloudWatchEvents.RemovePermission" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" True) (C1 (MetaCons "RemovePermission'" PrefixI True) (S1 (MetaSel (Just "_rpStatementId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs RemovePermission # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Request Lenses

rpStatementId :: Lens' RemovePermission Text #

The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

Destructuring the Response

removePermissionResponse :: RemovePermissionResponse #

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

data RemovePermissionResponse #

See: removePermissionResponse smart constructor.

Instances
Eq RemovePermissionResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Data RemovePermissionResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.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 # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Show RemovePermissionResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Generic RemovePermissionResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

Associated Types

type Rep RemovePermissionResponse :: Type -> Type #

NFData RemovePermissionResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

type Rep RemovePermissionResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.RemovePermission

type Rep RemovePermissionResponse = D1 (MetaData "RemovePermissionResponse" "Network.AWS.CloudWatchEvents.RemovePermission" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "RemovePermissionResponse'" PrefixI False) (U1 :: Type -> Type))