Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns information about a specified notification rule.
Synopsis
- data DescribeNotificationRule = DescribeNotificationRule' {}
- newDescribeNotificationRule :: Text -> DescribeNotificationRule
- describeNotificationRule_arn :: Lens' DescribeNotificationRule Text
- data DescribeNotificationRuleResponse = DescribeNotificationRuleResponse' {
- createdBy :: Maybe Text
- createdTimestamp :: Maybe POSIX
- detailType :: Maybe DetailType
- eventTypes :: Maybe [EventTypeSummary]
- lastModifiedTimestamp :: Maybe POSIX
- name :: Maybe (Sensitive Text)
- resource :: Maybe Text
- status :: Maybe NotificationRuleStatus
- tags :: Maybe (HashMap Text Text)
- targets :: Maybe [TargetSummary]
- httpStatus :: Int
- arn :: Text
- newDescribeNotificationRuleResponse :: Int -> Text -> DescribeNotificationRuleResponse
- describeNotificationRuleResponse_createdBy :: Lens' DescribeNotificationRuleResponse (Maybe Text)
- describeNotificationRuleResponse_createdTimestamp :: Lens' DescribeNotificationRuleResponse (Maybe UTCTime)
- describeNotificationRuleResponse_detailType :: Lens' DescribeNotificationRuleResponse (Maybe DetailType)
- describeNotificationRuleResponse_eventTypes :: Lens' DescribeNotificationRuleResponse (Maybe [EventTypeSummary])
- describeNotificationRuleResponse_lastModifiedTimestamp :: Lens' DescribeNotificationRuleResponse (Maybe UTCTime)
- describeNotificationRuleResponse_name :: Lens' DescribeNotificationRuleResponse (Maybe Text)
- describeNotificationRuleResponse_resource :: Lens' DescribeNotificationRuleResponse (Maybe Text)
- describeNotificationRuleResponse_status :: Lens' DescribeNotificationRuleResponse (Maybe NotificationRuleStatus)
- describeNotificationRuleResponse_tags :: Lens' DescribeNotificationRuleResponse (Maybe (HashMap Text Text))
- describeNotificationRuleResponse_targets :: Lens' DescribeNotificationRuleResponse (Maybe [TargetSummary])
- describeNotificationRuleResponse_httpStatus :: Lens' DescribeNotificationRuleResponse Int
- describeNotificationRuleResponse_arn :: Lens' DescribeNotificationRuleResponse Text
Creating a Request
data DescribeNotificationRule Source #
See: newDescribeNotificationRule
smart constructor.
Instances
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.
DescribeNotificationRuleResponse' | |
|
Instances
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_name :: Lens' DescribeNotificationRuleResponse (Maybe Text) Source #
The name of the notification rule.
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_tags :: Lens' DescribeNotificationRuleResponse (Maybe (HashMap Text Text)) Source #
The tags associated with the notification rule.
describeNotificationRuleResponse_targets :: Lens' DescribeNotificationRuleResponse (Maybe [TargetSummary]) Source #
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
describeNotificationRuleResponse_httpStatus :: Lens' DescribeNotificationRuleResponse Int Source #
The response's http status code.
describeNotificationRuleResponse_arn :: Lens' DescribeNotificationRuleResponse Text Source #
The Amazon Resource Name (ARN) of the notification rule.