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

Description

Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.

Synopsis

Creating a Request

data CreateCoreDefinitionVersion Source #

See: newCreateCoreDefinitionVersion smart constructor.

Constructors

CreateCoreDefinitionVersion' 

Fields

Instances

Instances details
Eq CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Read CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Show CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Generic CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Associated Types

type Rep CreateCoreDefinitionVersion :: Type -> Type #

NFData CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Hashable CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

ToJSON CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

AWSRequest CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

ToHeaders CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

ToPath CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

ToQuery CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

type Rep CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

type Rep CreateCoreDefinitionVersion = D1 ('MetaData "CreateCoreDefinitionVersion" "Amazonka.Greengrass.CreateCoreDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateCoreDefinitionVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Core])) :*: S1 ('MetaSel ('Just "coreDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

newCreateCoreDefinitionVersion Source #

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

$sel:cores:CreateCoreDefinitionVersion', createCoreDefinitionVersion_cores - A list of cores in the core definition version.

$sel:coreDefinitionId:CreateCoreDefinitionVersion', createCoreDefinitionVersion_coreDefinitionId - The ID of the core definition.

Request Lenses

createCoreDefinitionVersion_amznClientToken :: Lens' CreateCoreDefinitionVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

createCoreDefinitionVersion_cores :: Lens' CreateCoreDefinitionVersion (Maybe [Core]) Source #

A list of cores in the core definition version.

Destructuring the Response

data CreateCoreDefinitionVersionResponse Source #

Constructors

CreateCoreDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq CreateCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Read CreateCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Show CreateCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

Generic CreateCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

NFData CreateCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

type Rep CreateCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateCoreDefinitionVersion

type Rep CreateCoreDefinitionVersionResponse = D1 ('MetaData "CreateCoreDefinitionVersionResponse" "Amazonka.Greengrass.CreateCoreDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateCoreDefinitionVersionResponse'" '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)))))

newCreateCoreDefinitionVersionResponse Source #

Create a value of CreateCoreDefinitionVersionResponse 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:CreateCoreDefinitionVersionResponse', createCoreDefinitionVersionResponse_arn - The ARN of the version.

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

$sel:version:CreateCoreDefinitionVersionResponse', createCoreDefinitionVersionResponse_version - The ID of the version.

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

$sel:httpStatus:CreateCoreDefinitionVersionResponse', createCoreDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

createCoreDefinitionVersionResponse_creationTimestamp :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text) Source #

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

createCoreDefinitionVersionResponse_id :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text) Source #

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