libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.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
Eq DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Read DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Show DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Generic DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Associated Types

type Rep DeleteContact :: Type -> Type #

NFData DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Methods

rnf :: DeleteContact -> () #

Hashable DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

ToJSON DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

AWSRequest DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Associated Types

type AWSResponse 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

type Rep DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type Rep DeleteContact = D1 ('MetaData "DeleteContact" "Amazonka.SSMContacts.DeleteContact" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "DeleteContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteContact Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

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:

$sel:contactId: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
Eq DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Read DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Show DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Generic DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Associated Types

type Rep DeleteContactResponse :: Type -> Type #

NFData DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

Methods

rnf :: DeleteContactResponse -> () #

type Rep DeleteContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.DeleteContact

type Rep DeleteContactResponse = D1 ('MetaData "DeleteContactResponse" "Amazonka.SSMContacts.DeleteContact" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" '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