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

Description

Updates connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

Synopsis

Creating a Request

data UpdateConnectivityInfo Source #

See: newUpdateConnectivityInfo smart constructor.

Constructors

UpdateConnectivityInfo' 

Fields

Instances

Instances details
ToJSON UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

ToHeaders UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

ToPath UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

ToQuery UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

AWSRequest UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Associated Types

type AWSResponse UpdateConnectivityInfo #

Generic UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Associated Types

type Rep UpdateConnectivityInfo :: Type -> Type #

Read UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Show UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

NFData UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Methods

rnf :: UpdateConnectivityInfo -> () #

Eq UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Hashable UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

type AWSResponse UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

type Rep UpdateConnectivityInfo Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

type Rep UpdateConnectivityInfo = D1 ('MetaData "UpdateConnectivityInfo" "Amazonka.GreengrassV2.UpdateConnectivityInfo" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "UpdateConnectivityInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "connectivityInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ConnectivityInfo])))

newUpdateConnectivityInfo Source #

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

UpdateConnectivityInfo, updateConnectivityInfo_thingName - The name of the core device. This is also the name of the IoT thing.

$sel:connectivityInfo:UpdateConnectivityInfo', updateConnectivityInfo_connectivityInfo - The connectivity information for the core device.

Request Lenses

updateConnectivityInfo_thingName :: Lens' UpdateConnectivityInfo Text Source #

The name of the core device. This is also the name of the IoT thing.

Destructuring the Response

data UpdateConnectivityInfoResponse Source #

See: newUpdateConnectivityInfoResponse smart constructor.

Constructors

UpdateConnectivityInfoResponse' 

Fields

Instances

Instances details
Generic UpdateConnectivityInfoResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Associated Types

type Rep UpdateConnectivityInfoResponse :: Type -> Type #

Read UpdateConnectivityInfoResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Show UpdateConnectivityInfoResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

NFData UpdateConnectivityInfoResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

Eq UpdateConnectivityInfoResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

type Rep UpdateConnectivityInfoResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.UpdateConnectivityInfo

type Rep UpdateConnectivityInfoResponse = D1 ('MetaData "UpdateConnectivityInfoResponse" "Amazonka.GreengrassV2.UpdateConnectivityInfo" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "UpdateConnectivityInfoResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateConnectivityInfoResponse Source #

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

UpdateConnectivityInfoResponse, updateConnectivityInfoResponse_message - A message about the connectivity information update request.

$sel:version:UpdateConnectivityInfoResponse', updateConnectivityInfoResponse_version - The new version of the connectivity information for the core device.

$sel:httpStatus:UpdateConnectivityInfoResponse', updateConnectivityInfoResponse_httpStatus - The response's http status code.

Response Lenses

updateConnectivityInfoResponse_message :: Lens' UpdateConnectivityInfoResponse (Maybe Text) Source #

A message about the connectivity information update request.

updateConnectivityInfoResponse_version :: Lens' UpdateConnectivityInfoResponse (Maybe Text) Source #

The new version of the connectivity information for the core device.