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

Description

Deletes a specified target for notifications.

Synopsis

Creating a Request

data DeleteTarget Source #

See: newDeleteTarget smart constructor.

Constructors

DeleteTarget' 

Fields

  • forceUnsubscribeAll :: Maybe Bool

    A Boolean value that can be used to delete all associations with this SNS topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your AWS account are deleted.

  • targetAddress :: Sensitive Text

    The Amazon Resource Name (ARN) of the SNS topic to delete.

Instances

Instances details
Eq DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Show DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Generic DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Associated Types

type Rep DeleteTarget :: Type -> Type #

NFData DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Methods

rnf :: DeleteTarget -> () #

Hashable DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

ToJSON DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

AWSRequest DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Associated Types

type AWSResponse DeleteTarget #

ToHeaders DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

ToPath DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

ToQuery DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

type Rep DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

type Rep DeleteTarget = D1 ('MetaData "DeleteTarget" "Amazonka.CodeStarNotifications.DeleteTarget" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "DeleteTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceUnsubscribeAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "targetAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))
type AWSResponse DeleteTarget Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

newDeleteTarget Source #

Create a value of DeleteTarget 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:forceUnsubscribeAll:DeleteTarget', deleteTarget_forceUnsubscribeAll - A Boolean value that can be used to delete all associations with this SNS topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your AWS account are deleted.

$sel:targetAddress:DeleteTarget', deleteTarget_targetAddress - The Amazon Resource Name (ARN) of the SNS topic to delete.

Request Lenses

deleteTarget_forceUnsubscribeAll :: Lens' DeleteTarget (Maybe Bool) Source #

A Boolean value that can be used to delete all associations with this SNS topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your AWS account are deleted.

deleteTarget_targetAddress :: Lens' DeleteTarget Text Source #

The Amazon Resource Name (ARN) of the SNS topic to delete.

Destructuring the Response

data DeleteTargetResponse Source #

See: newDeleteTargetResponse smart constructor.

Constructors

DeleteTargetResponse' 

Fields

Instances

Instances details
Eq DeleteTargetResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Read DeleteTargetResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Show DeleteTargetResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Generic DeleteTargetResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Associated Types

type Rep DeleteTargetResponse :: Type -> Type #

NFData DeleteTargetResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

Methods

rnf :: DeleteTargetResponse -> () #

type Rep DeleteTargetResponse Source # 
Instance details

Defined in Amazonka.CodeStarNotifications.DeleteTarget

type Rep DeleteTargetResponse = D1 ('MetaData "DeleteTargetResponse" "Amazonka.CodeStarNotifications.DeleteTarget" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" 'False) (C1 ('MetaCons "DeleteTargetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTargetResponse Source #

Create a value of DeleteTargetResponse 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:httpStatus:DeleteTargetResponse', deleteTargetResponse_httpStatus - The response's http status code.

Response Lenses