amazonka-cloudwatch-events-1.4.0: 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:

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:

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.