libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.GetContact

Description

Gets the contact details by the contact ARN.

Synopsis

Creating a Request

data GetContact Source #

See: newGetContact smart constructor.

Constructors

GetContact' 

Fields

  • contactArn :: Text

    The ARN of the contact for which to request details.

Instances

Instances details
Eq GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Read GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Show GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Generic GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Associated Types

type Rep GetContact :: Type -> Type #

NFData GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Methods

rnf :: GetContact -> () #

Hashable GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

ToJSON GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

AWSRequest GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Associated Types

type AWSResponse GetContact #

ToHeaders GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Methods

toHeaders :: GetContact -> [Header] #

ToPath GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

ToQuery GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

type Rep GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

type Rep GetContact = D1 ('MetaData "GetContact" "Amazonka.AlexaBusiness.GetContact" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "GetContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

newGetContact Source #

Create a value of GetContact 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:contactArn:GetContact', getContact_contactArn - The ARN of the contact for which to request details.

Request Lenses

getContact_contactArn :: Lens' GetContact Text Source #

The ARN of the contact for which to request details.

Destructuring the Response

data GetContactResponse Source #

See: newGetContactResponse smart constructor.

Constructors

GetContactResponse' 

Fields

Instances

Instances details
Eq GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Show GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Generic GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Associated Types

type Rep GetContactResponse :: Type -> Type #

NFData GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Methods

rnf :: GetContactResponse -> () #

type Rep GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

type Rep GetContactResponse = D1 ('MetaData "GetContactResponse" "Amazonka.AlexaBusiness.GetContact" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "GetContactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Contact)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetContactResponse Source #

Create a value of GetContactResponse 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:contact:GetContactResponse', getContactResponse_contact - The details of the requested contact.

$sel:httpStatus:GetContactResponse', getContactResponse_httpStatus - The response's http status code.

Response Lenses

getContactResponse_contact :: Lens' GetContactResponse (Maybe Contact) Source #

The details of the requested contact.