amazonka-alexa-business-2.0: Amazon Alexa For Business 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.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
ToJSON GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.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

AWSRequest GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Associated Types

type AWSResponse GetContact #

Generic GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Associated Types

type Rep GetContact :: Type -> Type #

Read GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Show GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

NFData GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Methods

rnf :: GetContact -> () #

Eq GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Hashable GetContact Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

type AWSResponse 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" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "GetContact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetContact Source #

Arguments

:: Text

GetContact

-> GetContact 

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:

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
Generic GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Associated Types

type Rep GetContactResponse :: Type -> Type #

Show GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

NFData GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

Methods

rnf :: GetContactResponse -> () #

Eq GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

type Rep GetContactResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.GetContact

type Rep GetContactResponse = D1 ('MetaData "GetContactResponse" "Amazonka.AlexaBusiness.GetContact" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" '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.