amazonka-ssm-contacts-2.0: Amazon Systems Manager Incident Manager Contacts 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.SSMContacts.DeleteContact

Description

To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.

Synopsis

Creating a Request

data DeleteContact Source #

See: newDeleteContact smart constructor.

Constructors

DeleteContact' 

Fields

  • contactId :: Text

    The Amazon Resource Name (ARN) of the contact that you're deleting.

Instances

Instances details
ToJSON DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

ToHeaders DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

ToPath DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

ToQuery DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

AWSRequest DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Associated Types

type AWSResponse DeleteContact #

Generic DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Associated Types

type Rep DeleteContact :: Type -> Type #

Read DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Show DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

NFData DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Methods

rnf :: DeleteContact -> () #

Eq DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Hashable DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type AWSResponse DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type Rep DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type Rep DeleteContact = D1 ('MetaData "DeleteContact" "Amazonka.SSMContacts.DeleteContact" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "DeleteContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteContact Source #

Create a value of DeleteContact 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:

DeleteContact, deleteContact_contactId - The Amazon Resource Name (ARN) of the contact that you're deleting.

Request Lenses

deleteContact_contactId :: Lens' DeleteContact Text Source #

The Amazon Resource Name (ARN) of the contact that you're deleting.

Destructuring the Response

data DeleteContactResponse Source #

See: newDeleteContactResponse smart constructor.

Constructors

DeleteContactResponse' 

Fields

Instances

Instances details
Generic DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Associated Types

type Rep DeleteContactResponse :: Type -> Type #

Read DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Show DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

NFData DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Methods

rnf :: DeleteContactResponse -> () #

Eq DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type Rep DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type Rep DeleteContactResponse = D1 ('MetaData "DeleteContactResponse" "Amazonka.SSMContacts.DeleteContact" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "DeleteContactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteContactResponse Source #

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

Response Lenses