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

Description

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

Synopsis

Creating a Request

data CreateResourceDefinitionVersion Source #

See: newCreateResourceDefinitionVersion smart constructor.

Constructors

CreateResourceDefinitionVersion' 

Fields

Instances

Instances details
Eq CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Read CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Show CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Generic CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Associated Types

type Rep CreateResourceDefinitionVersion :: Type -> Type #

NFData CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Hashable CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

ToJSON CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

AWSRequest CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

ToHeaders CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

ToPath CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

ToQuery CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

type Rep CreateResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

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

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

newCreateResourceDefinitionVersion Source #

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

$sel:resources:CreateResourceDefinitionVersion', createResourceDefinitionVersion_resources - A list of resources.

$sel:resourceDefinitionId:CreateResourceDefinitionVersion', createResourceDefinitionVersion_resourceDefinitionId - The ID of the resource definition.

Request Lenses

createResourceDefinitionVersion_amznClientToken :: Lens' CreateResourceDefinitionVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

Destructuring the Response

data CreateResourceDefinitionVersionResponse Source #

Constructors

CreateResourceDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq CreateResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Read CreateResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Show CreateResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

Generic CreateResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

NFData CreateResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

type Rep CreateResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateResourceDefinitionVersion

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

Response Lenses

createResourceDefinitionVersionResponse_creationTimestamp :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text) Source #

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

createResourceDefinitionVersionResponse_id :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text) Source #

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