amazonka-greengrassv2-2.0: Amazon IoT Greengrass V2 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.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Description

Associates a list of client devices with a core device. Use this API operation to specify which client devices can discover a core device through cloud discovery. With cloud discovery, client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information and certificates. For more information, see Configure cloud discovery in the IoT Greengrass V2 Developer Guide.

Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core device over MQTT. You can connect client devices to a core device to sync MQTT messages and data to Amazon Web Services IoT Core and interact with client devices in Greengrass components. For more information, see Interact with local IoT devices in the IoT Greengrass V2 Developer Guide.

Synopsis

Creating a Request

data BatchAssociateClientDeviceWithCoreDevice Source #

Constructors

BatchAssociateClientDeviceWithCoreDevice' 

Fields

Instances

Instances details
ToJSON BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

ToHeaders BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

ToPath BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

ToQuery BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

AWSRequest BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Generic BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Read BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Show BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

NFData BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Eq BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Hashable BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

type AWSResponse BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

type Rep BatchAssociateClientDeviceWithCoreDevice Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

type Rep BatchAssociateClientDeviceWithCoreDevice = D1 ('MetaData "BatchAssociateClientDeviceWithCoreDevice" "Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "BatchAssociateClientDeviceWithCoreDevice'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty AssociateClientDeviceWithCoreDeviceEntry))) :*: S1 ('MetaSel ('Just "coreDeviceThingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBatchAssociateClientDeviceWithCoreDevice Source #

Create a value of BatchAssociateClientDeviceWithCoreDevice 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:entries:BatchAssociateClientDeviceWithCoreDevice', batchAssociateClientDeviceWithCoreDevice_entries - The list of client devices to associate.

BatchAssociateClientDeviceWithCoreDevice, batchAssociateClientDeviceWithCoreDevice_coreDeviceThingName - The name of the core device. This is also the name of the IoT thing.

Request Lenses

Destructuring the Response

data BatchAssociateClientDeviceWithCoreDeviceResponse Source #

Constructors

BatchAssociateClientDeviceWithCoreDeviceResponse' 

Fields

Instances

Instances details
Generic BatchAssociateClientDeviceWithCoreDeviceResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Read BatchAssociateClientDeviceWithCoreDeviceResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Show BatchAssociateClientDeviceWithCoreDeviceResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

NFData BatchAssociateClientDeviceWithCoreDeviceResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

Eq BatchAssociateClientDeviceWithCoreDeviceResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

type Rep BatchAssociateClientDeviceWithCoreDeviceResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice

type Rep BatchAssociateClientDeviceWithCoreDeviceResponse = D1 ('MetaData "BatchAssociateClientDeviceWithCoreDeviceResponse" "Amazonka.GreengrassV2.BatchAssociateClientDeviceWithCoreDevice" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "BatchAssociateClientDeviceWithCoreDeviceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssociateClientDeviceWithCoreDeviceErrorEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchAssociateClientDeviceWithCoreDeviceResponse Source #

Create a value of BatchAssociateClientDeviceWithCoreDeviceResponse 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:errorEntries:BatchAssociateClientDeviceWithCoreDeviceResponse', batchAssociateClientDeviceWithCoreDeviceResponse_errorEntries - The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.

$sel:httpStatus:BatchAssociateClientDeviceWithCoreDeviceResponse', batchAssociateClientDeviceWithCoreDeviceResponse_httpStatus - The response's http status code.

Response Lenses

batchAssociateClientDeviceWithCoreDeviceResponse_errorEntries :: Lens' BatchAssociateClientDeviceWithCoreDeviceResponse (Maybe [AssociateClientDeviceWithCoreDeviceErrorEntry]) Source #

The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.