amazonka-iotwireless-2.0: Amazon IoT Wireless 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.IoTWireless.GetDeviceProfile

Description

Gets information about a device profile.

Synopsis

Creating a Request

data GetDeviceProfile Source #

See: newGetDeviceProfile smart constructor.

Constructors

GetDeviceProfile' 

Fields

  • id :: Text

    The ID of the resource to get.

Instances

Instances details
ToHeaders GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

ToPath GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

ToQuery GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

AWSRequest GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Associated Types

type AWSResponse GetDeviceProfile #

Generic GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Associated Types

type Rep GetDeviceProfile :: Type -> Type #

Read GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Show GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

NFData GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Methods

rnf :: GetDeviceProfile -> () #

Eq GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Hashable GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

type AWSResponse GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

type Rep GetDeviceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

type Rep GetDeviceProfile = D1 ('MetaData "GetDeviceProfile" "Amazonka.IoTWireless.GetDeviceProfile" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetDeviceProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetDeviceProfile Source #

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

GetDeviceProfile, getDeviceProfile_id - The ID of the resource to get.

Request Lenses

getDeviceProfile_id :: Lens' GetDeviceProfile Text Source #

The ID of the resource to get.

Destructuring the Response

data GetDeviceProfileResponse Source #

See: newGetDeviceProfileResponse smart constructor.

Constructors

GetDeviceProfileResponse' 

Fields

Instances

Instances details
Generic GetDeviceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Associated Types

type Rep GetDeviceProfileResponse :: Type -> Type #

Read GetDeviceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Show GetDeviceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

NFData GetDeviceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

Eq GetDeviceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

type Rep GetDeviceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDeviceProfile

type Rep GetDeviceProfileResponse = D1 ('MetaData "GetDeviceProfileResponse" "Amazonka.IoTWireless.GetDeviceProfile" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetDeviceProfileResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "loRaWAN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoRaWANDeviceProfile)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetDeviceProfileResponse Source #

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

GetDeviceProfileResponse, getDeviceProfileResponse_arn - The Amazon Resource Name of the resource.

GetDeviceProfile, getDeviceProfileResponse_id - The ID of the device profile.

GetDeviceProfileResponse, getDeviceProfileResponse_loRaWAN - Information about the device profile.

GetDeviceProfileResponse, getDeviceProfileResponse_name - The name of the resource.

$sel:httpStatus:GetDeviceProfileResponse', getDeviceProfileResponse_httpStatus - The response's http status code.

Response Lenses

getDeviceProfileResponse_arn :: Lens' GetDeviceProfileResponse (Maybe Text) Source #

The Amazon Resource Name of the resource.