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

Description

Deletes a notification rule for a resource.

Synopsis

Creating a Request

data DeleteNotificationRule Source #

See: newDeleteNotificationRule smart constructor.

Constructors

DeleteNotificationRule' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the notification rule you want to delete.

Instances

Instances details
Eq DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Read DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Show DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Generic DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Associated Types

type Rep DeleteNotificationRule :: Type -> Type #

NFData DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Methods

rnf :: DeleteNotificationRule -> () #

Hashable DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

ToJSON DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

AWSRequest DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Associated Types

type AWSResponse DeleteNotificationRule #

ToHeaders DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

ToPath DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

ToQuery DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

type Rep DeleteNotificationRule Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

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

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

newDeleteNotificationRule Source #

Create a value of DeleteNotificationRule 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:DeleteNotificationRule', deleteNotificationRule_arn - The Amazon Resource Name (ARN) of the notification rule you want to delete.

Request Lenses

deleteNotificationRule_arn :: Lens' DeleteNotificationRule Text Source #

The Amazon Resource Name (ARN) of the notification rule you want to delete.

Destructuring the Response

data DeleteNotificationRuleResponse Source #

See: newDeleteNotificationRuleResponse smart constructor.

Constructors

DeleteNotificationRuleResponse' 

Fields

  • arn :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Read DeleteNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Show DeleteNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Generic DeleteNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

Associated Types

type Rep DeleteNotificationRuleResponse :: Type -> Type #

NFData DeleteNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

type Rep DeleteNotificationRuleResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule

type Rep DeleteNotificationRuleResponse = D1 ('MetaData "DeleteNotificationRuleResponse" "Amazonka.CodeStarNotifications.DeleteNotificationRule" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "DeleteNotificationRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteNotificationRuleResponse Source #

Create a value of DeleteNotificationRuleResponse 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:DeleteNotificationRule', deleteNotificationRuleResponse_arn - The Amazon Resource Name (ARN) of the deleted notification rule.

$sel:httpStatus:DeleteNotificationRuleResponse', deleteNotificationRuleResponse_httpStatus - The response's http status code.

Response Lenses

deleteNotificationRuleResponse_arn :: Lens' DeleteNotificationRuleResponse (Maybe Text) Source #

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