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

Description

Gets information about a destination.

Synopsis

Creating a Request

data GetDestination Source #

See: newGetDestination smart constructor.

Constructors

GetDestination' 

Fields

  • name :: Text

    The name of the resource to get.

Instances

Instances details
ToHeaders GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

ToPath GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

ToQuery GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

AWSRequest GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Associated Types

type AWSResponse GetDestination #

Generic GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Associated Types

type Rep GetDestination :: Type -> Type #

Read GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Show GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

NFData GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Methods

rnf :: GetDestination -> () #

Eq GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Hashable GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

type AWSResponse GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

type Rep GetDestination Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

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

newGetDestination Source #

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

GetDestination, getDestination_name - The name of the resource to get.

Request Lenses

getDestination_name :: Lens' GetDestination Text Source #

The name of the resource to get.

Destructuring the Response

data GetDestinationResponse Source #

See: newGetDestinationResponse smart constructor.

Constructors

GetDestinationResponse' 

Fields

Instances

Instances details
Generic GetDestinationResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Associated Types

type Rep GetDestinationResponse :: Type -> Type #

Read GetDestinationResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Show GetDestinationResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

NFData GetDestinationResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

Methods

rnf :: GetDestinationResponse -> () #

Eq GetDestinationResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

type Rep GetDestinationResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetDestination

newGetDestinationResponse Source #

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

GetDestinationResponse, getDestinationResponse_arn - The Amazon Resource Name of the resource.

GetDestinationResponse, getDestinationResponse_description - The description of the resource.

GetDestinationResponse, getDestinationResponse_expression - The rule name or topic rule to send messages to.

GetDestinationResponse, getDestinationResponse_expressionType - The type of value in Expression.

GetDestination, getDestinationResponse_name - The name of the resource.

GetDestinationResponse, getDestinationResponse_roleArn - The ARN of the IAM Role that authorizes the destination.

$sel:httpStatus:GetDestinationResponse', getDestinationResponse_httpStatus - The response's http status code.

Response Lenses

getDestinationResponse_arn :: Lens' GetDestinationResponse (Maybe Text) Source #

The Amazon Resource Name of the resource.

getDestinationResponse_expression :: Lens' GetDestinationResponse (Maybe Text) Source #

The rule name or topic rule to send messages to.

getDestinationResponse_roleArn :: Lens' GetDestinationResponse (Maybe Text) Source #

The ARN of the IAM Role that authorizes the destination.