libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeStarNotifications.DescribeNotificationRule

Description

Returns information about a specified notification rule.

Synopsis

Creating a Request

data DescribeNotificationRule Source #

See: newDescribeNotificationRule smart constructor.

Constructors

DescribeNotificationRule' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the notification rule.

Instances

Instances details
Eq DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Read DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Show DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Generic DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Associated Types

type Rep DescribeNotificationRule :: Type -> Type #

NFData DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Hashable DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

ToJSON DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

AWSRequest DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

ToHeaders DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

ToPath DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

ToQuery DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

type Rep DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

type Rep DescribeNotificationRule = D1 ('MetaData "DescribeNotificationRule" "Amazonka.CodeStarNotifications.DescribeNotificationRule" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "DescribeNotificationRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

newDescribeNotificationRule Source #

Create a value of DescribeNotificationRule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:DescribeNotificationRule', describeNotificationRule_arn - The Amazon Resource Name (ARN) of the notification rule.

Request Lenses

describeNotificationRule_arn :: Lens' DescribeNotificationRule Text Source #

The Amazon Resource Name (ARN) of the notification rule.

Destructuring the Response

data DescribeNotificationRuleResponse Source #

See: newDescribeNotificationRuleResponse smart constructor.

Constructors

DescribeNotificationRuleResponse' 

Fields

  • status :: Maybe NotificationRuleStatus

    The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).

  • eventTypes :: Maybe [EventTypeSummary]

    A list of the event types associated with the notification rule.

  • lastModifiedTimestamp :: Maybe POSIX

    The date and time the notification rule was most recently updated, in timestamp format.

  • createdBy :: Maybe Text

    The name or email alias of the person who created the notification rule.

  • detailType :: Maybe DetailType

    The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

  • name :: Maybe (Sensitive Text)

    The name of the notification rule.

  • targets :: Maybe [TargetSummary]

    A list of the SNS topics associated with the notification rule.

  • resource :: Maybe Text

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

  • createdTimestamp :: Maybe POSIX

    The date and time the notification rule was created, in timestamp format.

  • tags :: Maybe (HashMap Text Text)

    The tags associated with the notification rule.

  • httpStatus :: Int

    The response's http status code.

  • arn :: Text

    The Amazon Resource Name (ARN) of the notification rule.

Instances

Instances details
Eq DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Show DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Generic DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Associated Types

type Rep DescribeNotificationRuleResponse :: Type -> Type #

NFData DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

type Rep DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

type Rep DescribeNotificationRuleResponse = D1 ('MetaData "DescribeNotificationRuleResponse" "Amazonka.CodeStarNotifications.DescribeNotificationRule" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "DescribeNotificationRuleResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationRuleStatus)) :*: (S1 ('MetaSel ('Just "eventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventTypeSummary])) :*: S1 ('MetaSel ('Just "lastModifiedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detailType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetailType)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))) :*: ((S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetSummary])) :*: (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newDescribeNotificationRuleResponse Source #

Create a value of DescribeNotificationRuleResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:DescribeNotificationRuleResponse', describeNotificationRuleResponse_status - The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).

$sel:eventTypes:DescribeNotificationRuleResponse', describeNotificationRuleResponse_eventTypes - A list of the event types associated with the notification rule.

$sel:lastModifiedTimestamp:DescribeNotificationRuleResponse', describeNotificationRuleResponse_lastModifiedTimestamp - The date and time the notification rule was most recently updated, in timestamp format.

$sel:createdBy:DescribeNotificationRuleResponse', describeNotificationRuleResponse_createdBy - The name or email alias of the person who created the notification rule.

$sel:detailType:DescribeNotificationRuleResponse', describeNotificationRuleResponse_detailType - The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

$sel:name:DescribeNotificationRuleResponse', describeNotificationRuleResponse_name - The name of the notification rule.

$sel:targets:DescribeNotificationRuleResponse', describeNotificationRuleResponse_targets - A list of the SNS topics associated with the notification rule.

$sel:resource:DescribeNotificationRuleResponse', describeNotificationRuleResponse_resource - The Amazon Resource Name (ARN) of the resource associated with the notification rule.

$sel:createdTimestamp:DescribeNotificationRuleResponse', describeNotificationRuleResponse_createdTimestamp - The date and time the notification rule was created, in timestamp format.

$sel:tags:DescribeNotificationRuleResponse', describeNotificationRuleResponse_tags - The tags associated with the notification rule.

$sel:httpStatus:DescribeNotificationRuleResponse', describeNotificationRuleResponse_httpStatus - The response's http status code.

$sel:arn:DescribeNotificationRule', describeNotificationRuleResponse_arn - The Amazon Resource Name (ARN) of the notification rule.

Response Lenses

describeNotificationRuleResponse_status :: Lens' DescribeNotificationRuleResponse (Maybe NotificationRuleStatus) Source #

The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).

describeNotificationRuleResponse_eventTypes :: Lens' DescribeNotificationRuleResponse (Maybe [EventTypeSummary]) Source #

A list of the event types associated with the notification rule.

describeNotificationRuleResponse_lastModifiedTimestamp :: Lens' DescribeNotificationRuleResponse (Maybe UTCTime) Source #

The date and time the notification rule was most recently updated, in timestamp format.

describeNotificationRuleResponse_createdBy :: Lens' DescribeNotificationRuleResponse (Maybe Text) Source #

The name or email alias of the person who created the notification rule.

describeNotificationRuleResponse_detailType :: Lens' DescribeNotificationRuleResponse (Maybe DetailType) Source #

The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

describeNotificationRuleResponse_targets :: Lens' DescribeNotificationRuleResponse (Maybe [TargetSummary]) Source #

A list of the SNS topics associated with the notification rule.

describeNotificationRuleResponse_resource :: Lens' DescribeNotificationRuleResponse (Maybe Text) Source #

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

describeNotificationRuleResponse_createdTimestamp :: Lens' DescribeNotificationRuleResponse (Maybe UTCTime) Source #

The date and time the notification rule was created, in timestamp format.

describeNotificationRuleResponse_arn :: Lens' DescribeNotificationRuleResponse Text Source #

The Amazon Resource Name (ARN) of the notification rule.