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.DescribeEventBus

Contents

Description

Displays the external AWS accounts that are permitted to write events to your account using your account's event bus, and the associated policy. To enable your account to receive events from other accounts, use PutPermission .

Synopsis

Creating a Request

describeEventBus :: DescribeEventBus #

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

data DescribeEventBus #

See: describeEventBus smart constructor.

Instances
Eq DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Data DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Methods

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

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

toConstr :: DescribeEventBus -> Constr #

dataTypeOf :: DescribeEventBus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Show DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Generic DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Associated Types

type Rep DescribeEventBus :: Type -> Type #

Hashable DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

ToJSON DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

AWSRequest DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Associated Types

type Rs DescribeEventBus :: Type #

ToHeaders DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

ToPath DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

ToQuery DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

NFData DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Methods

rnf :: DescribeEventBus -> () #

type Rep DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

type Rep DescribeEventBus = D1 (MetaData "DescribeEventBus" "Network.AWS.CloudWatchEvents.DescribeEventBus" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "DescribeEventBus'" PrefixI False) (U1 :: Type -> Type))
type Rs DescribeEventBus # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Destructuring the Response

describeEventBusResponse #

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

Use one of the following lenses to modify other fields as desired:

  • debrsARN - The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
  • debrsName - The name of the event bus. Currently, this is always default .
  • debrsPolicy - The policy that enables the external account to send events to your account.
  • debrsResponseStatus - -- | The response status code.

data DescribeEventBusResponse #

See: describeEventBusResponse smart constructor.

Instances
Eq DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Data DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Methods

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

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

toConstr :: DescribeEventBusResponse -> Constr #

dataTypeOf :: DescribeEventBusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Show DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Generic DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

Associated Types

type Rep DescribeEventBusResponse :: Type -> Type #

NFData DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

type Rep DescribeEventBusResponse # 
Instance details

Defined in Network.AWS.CloudWatchEvents.DescribeEventBus

type Rep DescribeEventBusResponse = D1 (MetaData "DescribeEventBusResponse" "Network.AWS.CloudWatchEvents.DescribeEventBus" "amazonka-cloudwatch-events-1.6.1-CoHMjgQmalEK7ihh8e5m1B" False) (C1 (MetaCons "DescribeEventBusResponse'" PrefixI True) ((S1 (MetaSel (Just "_debrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_debrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_debrsPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_debrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

debrsARN :: Lens' DescribeEventBusResponse (Maybe Text) #

The Amazon Resource Name (ARN) of the account permitted to write events to the current account.

debrsName :: Lens' DescribeEventBusResponse (Maybe Text) #

The name of the event bus. Currently, this is always default .

debrsPolicy :: Lens' DescribeEventBusResponse (Maybe Text) #

The policy that enables the external account to send events to your account.

debrsResponseStatus :: Lens' DescribeEventBusResponse Int #

  • - | The response status code.