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

Description

Updates the contact or escalation plan specified.

Synopsis

Creating a Request

data UpdateContact Source #

See: newUpdateContact smart constructor.

Constructors

UpdateContact' 

Fields

  • plan :: Maybe Plan

    A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.

  • displayName :: Maybe Text

    The full name of the contact or escalation plan.

  • contactId :: Text

    The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.

Instances

Instances details
Eq UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Read UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Show UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Generic UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Associated Types

type Rep UpdateContact :: Type -> Type #

NFData UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Methods

rnf :: UpdateContact -> () #

Hashable UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

ToJSON UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

AWSRequest UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Associated Types

type AWSResponse UpdateContact #

ToHeaders UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

ToPath UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

ToQuery UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

type Rep UpdateContact Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

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

Defined in Amazonka.SSMContacts.UpdateContact

newUpdateContact Source #

Create a value of UpdateContact 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:plan:UpdateContact', updateContact_plan - A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.

$sel:displayName:UpdateContact', updateContact_displayName - The full name of the contact or escalation plan.

$sel:contactId:UpdateContact', updateContact_contactId - The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.

Request Lenses

updateContact_plan :: Lens' UpdateContact (Maybe Plan) Source #

A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.

updateContact_displayName :: Lens' UpdateContact (Maybe Text) Source #

The full name of the contact or escalation plan.

updateContact_contactId :: Lens' UpdateContact Text Source #

The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.

Destructuring the Response

data UpdateContactResponse Source #

See: newUpdateContactResponse smart constructor.

Constructors

UpdateContactResponse' 

Fields

Instances

Instances details
Eq UpdateContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Read UpdateContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Show UpdateContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Generic UpdateContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Associated Types

type Rep UpdateContactResponse :: Type -> Type #

NFData UpdateContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

Methods

rnf :: UpdateContactResponse -> () #

type Rep UpdateContactResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.UpdateContact

type Rep UpdateContactResponse = D1 ('MetaData "UpdateContactResponse" "Amazonka.SSMContacts.UpdateContact" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "UpdateContactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateContactResponse Source #

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

Response Lenses