libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.DescribeGateway

Description

Retrieves information about a gateway.

Synopsis

Creating a Request

data DescribeGateway Source #

See: newDescribeGateway smart constructor.

Constructors

DescribeGateway' 

Fields

Instances

Instances details
Eq DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Read DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Show DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Generic DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Associated Types

type Rep DescribeGateway :: Type -> Type #

NFData DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Methods

rnf :: DescribeGateway -> () #

Hashable DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

AWSRequest DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Associated Types

type AWSResponse DescribeGateway #

ToHeaders DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

ToPath DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

ToQuery DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

type Rep DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

type Rep DescribeGateway = D1 ('MetaData "DescribeGateway" "Amazonka.IoTSiteWise.DescribeGateway" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DescribeGateway'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

newDescribeGateway Source #

Create a value of DescribeGateway 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:gatewayId:DescribeGateway', describeGateway_gatewayId - The ID of the gateway device.

Request Lenses

Destructuring the Response

data DescribeGatewayResponse Source #

See: newDescribeGatewayResponse smart constructor.

Constructors

DescribeGatewayResponse' 

Fields

Instances

Instances details
Eq DescribeGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Read DescribeGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Show DescribeGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Generic DescribeGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Associated Types

type Rep DescribeGatewayResponse :: Type -> Type #

NFData DescribeGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

Methods

rnf :: DescribeGatewayResponse -> () #

type Rep DescribeGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeGateway

type Rep DescribeGatewayResponse = D1 ('MetaData "DescribeGatewayResponse" "Amazonka.IoTSiteWise.DescribeGateway" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DescribeGatewayResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "gatewayPlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayPlatform)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "gatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "gatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "gatewayCapabilitySummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GatewayCapabilitySummary])) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "lastUpdateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newDescribeGatewayResponse Source #

Create a value of DescribeGatewayResponse 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:gatewayPlatform:DescribeGatewayResponse', describeGatewayResponse_gatewayPlatform - The gateway's platform.

$sel:httpStatus:DescribeGatewayResponse', describeGatewayResponse_httpStatus - The response's http status code.

$sel:gatewayId:DescribeGateway', describeGatewayResponse_gatewayId - The ID of the gateway device.

$sel:gatewayName:DescribeGatewayResponse', describeGatewayResponse_gatewayName - The name of the gateway.

$sel:gatewayArn:DescribeGatewayResponse', describeGatewayResponse_gatewayArn - The ARN of the gateway, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}

$sel:gatewayCapabilitySummaries:DescribeGatewayResponse', describeGatewayResponse_gatewayCapabilitySummaries - A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.

$sel:creationDate:DescribeGatewayResponse', describeGatewayResponse_creationDate - The date the gateway was created, in Unix epoch time.

$sel:lastUpdateDate:DescribeGatewayResponse', describeGatewayResponse_lastUpdateDate - The date the gateway was last updated, in Unix epoch time.

Response Lenses

describeGatewayResponse_gatewayArn :: Lens' DescribeGatewayResponse Text Source #

The ARN of the gateway, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}

describeGatewayResponse_gatewayCapabilitySummaries :: Lens' DescribeGatewayResponse [GatewayCapabilitySummary] Source #

A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.

describeGatewayResponse_creationDate :: Lens' DescribeGatewayResponse UTCTime Source #

The date the gateway was created, in Unix epoch time.

describeGatewayResponse_lastUpdateDate :: Lens' DescribeGatewayResponse UTCTime Source #

The date the gateway was last updated, in Unix epoch time.