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

Contents

Description

Describes the details of the specified rule.

Synopsis

Creating a Request

describeRule Source #

Arguments

:: Text

desName

-> DescribeRule 

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

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

  • desName - The name of the rule you want to describe details for.

data DescribeRule Source #

Container for the parameters to the DescribeRule operation.

See: describeRule smart constructor.

Instances

Eq DescribeRule Source # 
Data DescribeRule Source # 

Methods

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

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

toConstr :: DescribeRule -> Constr #

dataTypeOf :: DescribeRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRule Source # 
Show DescribeRule Source # 
Generic DescribeRule Source # 

Associated Types

type Rep DescribeRule :: * -> * #

Hashable DescribeRule Source # 
ToJSON DescribeRule Source # 
NFData DescribeRule Source # 

Methods

rnf :: DescribeRule -> () #

AWSRequest DescribeRule Source # 
ToPath DescribeRule Source # 
ToHeaders DescribeRule Source # 
ToQuery DescribeRule Source # 
type Rep DescribeRule Source # 
type Rep DescribeRule = D1 (MetaData "DescribeRule" "Network.AWS.CloudWatchEvents.DescribeRule" "amazonka-cloudwatch-events-1.4.5-C1rNKxAlYdGGYs6EYwCVVS" True) (C1 (MetaCons "DescribeRule'" PrefixI True) (S1 (MetaSel (Just Symbol "_desName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeRule Source # 

Request Lenses

desName :: Lens' DescribeRule Text Source #

The name of the rule you want to describe details for.

Destructuring the Response

describeRuleResponse Source #

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

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

data DescribeRuleResponse Source #

The result of the DescribeRule operation.

See: describeRuleResponse smart constructor.

Instances

Eq DescribeRuleResponse Source # 
Data DescribeRuleResponse Source # 

Methods

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

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

toConstr :: DescribeRuleResponse -> Constr #

dataTypeOf :: DescribeRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRuleResponse Source # 
Show DescribeRuleResponse Source # 
Generic DescribeRuleResponse Source # 
NFData DescribeRuleResponse Source # 

Methods

rnf :: DescribeRuleResponse -> () #

type Rep DescribeRuleResponse Source # 
type Rep DescribeRuleResponse = D1 (MetaData "DescribeRuleResponse" "Network.AWS.CloudWatchEvents.DescribeRule" "amazonka-cloudwatch-events-1.4.5-C1rNKxAlYdGGYs6EYwCVVS" False) (C1 (MetaCons "DescribeRuleResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drrsEventPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drrsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RuleState)))) ((:*:) (S1 (MetaSel (Just Symbol "_drrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drrsScheduleExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_drrsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses

drrsState :: Lens' DescribeRuleResponse (Maybe RuleState) Source #

Specifies whether the rule is enabled or disabled.

drrsARN :: Lens' DescribeRuleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the rule.

drrsScheduleExpression :: Lens' DescribeRuleResponse (Maybe Text) Source #

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".

drrsRoleARN :: Lens' DescribeRuleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role associated with the rule.

drrsResponseStatus :: Lens' DescribeRuleResponse Int Source #

  • - | The response status code.