amazonka-greengrass-2.0: Amazon Greengrass 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.Greengrass.CreateDeviceDefinitionVersion

Description

Creates a version of a device definition that has already been defined.

Synopsis

Creating a Request

data CreateDeviceDefinitionVersion Source #

See: newCreateDeviceDefinitionVersion smart constructor.

Constructors

CreateDeviceDefinitionVersion' 

Fields

Instances

Instances details
ToJSON CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

ToHeaders CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

ToPath CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

ToQuery CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

AWSRequest CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Generic CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Associated Types

type Rep CreateDeviceDefinitionVersion :: Type -> Type #

Read CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Show CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

NFData CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Eq CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Hashable CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

type AWSResponse CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

type Rep CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

type Rep CreateDeviceDefinitionVersion = D1 ('MetaData "CreateDeviceDefinitionVersion" "Amazonka.Greengrass.CreateDeviceDefinitionVersion" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "CreateDeviceDefinitionVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Device])) :*: S1 ('MetaSel ('Just "deviceDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateDeviceDefinitionVersion Source #

Create a value of CreateDeviceDefinitionVersion 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:amznClientToken:CreateDeviceDefinitionVersion', createDeviceDefinitionVersion_amznClientToken - A client token used to correlate requests and responses.

CreateDeviceDefinitionVersion, createDeviceDefinitionVersion_devices - A list of devices in the definition version.

$sel:deviceDefinitionId:CreateDeviceDefinitionVersion', createDeviceDefinitionVersion_deviceDefinitionId - The ID of the device definition.

Request Lenses

createDeviceDefinitionVersion_amznClientToken :: Lens' CreateDeviceDefinitionVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

Destructuring the Response

data CreateDeviceDefinitionVersionResponse Source #

Constructors

CreateDeviceDefinitionVersionResponse' 

Fields

Instances

Instances details
Generic CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Read CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Show CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

NFData CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Eq CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

type Rep CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

type Rep CreateDeviceDefinitionVersionResponse = D1 ('MetaData "CreateDeviceDefinitionVersionResponse" "Amazonka.Greengrass.CreateDeviceDefinitionVersion" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "CreateDeviceDefinitionVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") '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)))))

newCreateDeviceDefinitionVersionResponse Source #

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

CreateDeviceDefinitionVersionResponse, createDeviceDefinitionVersionResponse_arn - The ARN of the version.

CreateDeviceDefinitionVersionResponse, createDeviceDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the version was created.

CreateDeviceDefinitionVersionResponse, createDeviceDefinitionVersionResponse_id - The ID of the parent definition that the version is associated with.

CreateDeviceDefinitionVersionResponse, createDeviceDefinitionVersionResponse_version - The ID of the version.

$sel:httpStatus:CreateDeviceDefinitionVersionResponse', createDeviceDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

createDeviceDefinitionVersionResponse_creationTimestamp :: Lens' CreateDeviceDefinitionVersionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the version was created.

createDeviceDefinitionVersionResponse_id :: Lens' CreateDeviceDefinitionVersionResponse (Maybe Text) Source #

The ID of the parent definition that the version is associated with.