libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.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
Eq CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Read CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Show 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 #

NFData CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

Hashable CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

ToJSON CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

AWSRequest 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

type Rep CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

type Rep CreateDeviceDefinitionVersion = D1 ('MetaData "CreateDeviceDefinitionVersion" "Amazonka.Greengrass.CreateDeviceDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" '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))))
type AWSResponse CreateDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

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.

$sel:devices: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
Eq 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

Generic CreateDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeviceDefinitionVersion

NFData 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" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" '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 "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") '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:

$sel:arn:CreateDeviceDefinitionVersionResponse', createDeviceDefinitionVersionResponse_arn - The ARN of the version.

$sel:creationTimestamp:CreateDeviceDefinitionVersionResponse', createDeviceDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the version was created.

$sel:version:CreateDeviceDefinitionVersionResponse', createDeviceDefinitionVersionResponse_version - The ID of the version.

$sel:id:CreateDeviceDefinitionVersionResponse', createDeviceDefinitionVersionResponse_id - The ID of the parent definition that the version is associated with.

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