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

Description

Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to IoT SiteWise. For more information, see Ingesting data using a gateway in the IoT SiteWise User Guide.

Synopsis

Creating a Request

data CreateGateway Source #

See: newCreateGateway smart constructor.

Constructors

CreateGateway' 

Fields

Instances

Instances details
Eq CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Read CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Show CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Generic CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Associated Types

type Rep CreateGateway :: Type -> Type #

NFData CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Methods

rnf :: CreateGateway -> () #

Hashable CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

ToJSON CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

AWSRequest CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Associated Types

type AWSResponse CreateGateway #

ToHeaders CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

ToPath CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

ToQuery CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

type Rep CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

type Rep CreateGateway = D1 ('MetaData "CreateGateway" "Amazonka.IoTSiteWise.CreateGateway" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "CreateGateway'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "gatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "gatewayPlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayPlatform))))
type AWSResponse CreateGateway Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

newCreateGateway Source #

Create a value of CreateGateway 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:tags:CreateGateway', createGateway_tags - A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

$sel:gatewayName:CreateGateway', createGateway_gatewayName - A unique, friendly name for the gateway.

$sel:gatewayPlatform:CreateGateway', createGateway_gatewayPlatform - The gateway's platform. You can only specify one platform in a gateway.

Request Lenses

createGateway_tags :: Lens' CreateGateway (Maybe (HashMap Text Text)) Source #

A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

createGateway_gatewayName :: Lens' CreateGateway Text Source #

A unique, friendly name for the gateway.

createGateway_gatewayPlatform :: Lens' CreateGateway GatewayPlatform Source #

The gateway's platform. You can only specify one platform in a gateway.

Destructuring the Response

data CreateGatewayResponse Source #

See: newCreateGatewayResponse smart constructor.

Constructors

CreateGatewayResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • gatewayId :: Text

    The ID of the gateway device. You can use this ID when you call other IoT SiteWise APIs.

  • gatewayArn :: Text

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

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

Instances

Instances details
Eq CreateGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Read CreateGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Show CreateGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Generic CreateGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Associated Types

type Rep CreateGatewayResponse :: Type -> Type #

NFData CreateGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

Methods

rnf :: CreateGatewayResponse -> () #

type Rep CreateGatewayResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.CreateGateway

type Rep CreateGatewayResponse = D1 ('MetaData "CreateGatewayResponse" "Amazonka.IoTSiteWise.CreateGateway" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "CreateGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "gatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateGatewayResponse Source #

Create a value of CreateGatewayResponse 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:httpStatus:CreateGatewayResponse', createGatewayResponse_httpStatus - The response's http status code.

$sel:gatewayId:CreateGatewayResponse', createGatewayResponse_gatewayId - The ID of the gateway device. You can use this ID when you call other IoT SiteWise APIs.

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

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

Response Lenses

createGatewayResponse_gatewayId :: Lens' CreateGatewayResponse Text Source #

The ID of the gateway device. You can use this ID when you call other IoT SiteWise APIs.

createGatewayResponse_gatewayArn :: Lens' CreateGatewayResponse Text Source #

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

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