amazonka-codestar-notifications-2.0: Amazon CodeStar Notifications SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Show DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

NFData DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Eq DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Hashable DescribeNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

type AWSResponse 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" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "DescribeNotificationRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

  • createdBy :: Maybe Text

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

  • createdTimestamp :: Maybe POSIX

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

  • 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 Amazon 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.

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

  • name :: Maybe (Sensitive Text)

    The name of the notification rule.

  • resource :: Maybe Text

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

  • status :: Maybe NotificationRuleStatus

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

  • tags :: Maybe (HashMap Text Text)

    The tags associated with the notification rule.

  • targets :: Maybe [TargetSummary]

    A list of the Chatbot topics and Chatbot clients 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
Generic DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Associated Types

type Rep DescribeNotificationRuleResponse :: Type -> Type #

Show DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

NFData DescribeNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DescribeNotificationRule

Eq 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" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "DescribeNotificationRuleResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "detailType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetailType)))) :*: (S1 ('MetaSel ('Just "eventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventTypeSummary])) :*: (S1 ('MetaSel ('Just "lastModifiedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))) :*: ((S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationRuleStatus)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetSummary])) :*: (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:createdBy:DescribeNotificationRuleResponse', describeNotificationRuleResponse_createdBy - The name or email alias of the person who created the notification rule.

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

$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 Amazon 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: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.

DescribeNotificationRuleResponse, describeNotificationRuleResponse_name - The name of the notification rule.

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

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

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

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

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

DescribeNotificationRule, describeNotificationRuleResponse_arn - The Amazon Resource Name (ARN) of the notification rule.

Response Lenses

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

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

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

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

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 Amazon 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_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_resource :: Lens' DescribeNotificationRuleResponse (Maybe Text) Source #

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

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_targets :: Lens' DescribeNotificationRuleResponse (Maybe [TargetSummary]) Source #

A list of the Chatbot topics and Chatbot clients associated with the notification rule.

describeNotificationRuleResponse_arn :: Lens' DescribeNotificationRuleResponse Text Source #

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