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

Description

Creates a version of a group which has already been defined.

Synopsis

Creating a Request

data CreateGroupVersion Source #

See: newCreateGroupVersion smart constructor.

Constructors

CreateGroupVersion' 

Fields

Instances

Instances details
Eq CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Read CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Show CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Generic CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Associated Types

type Rep CreateGroupVersion :: Type -> Type #

NFData CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Methods

rnf :: CreateGroupVersion -> () #

Hashable CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

ToJSON CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

AWSRequest CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Associated Types

type AWSResponse CreateGroupVersion #

ToHeaders CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

ToPath CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

ToQuery CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

type Rep CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

type Rep CreateGroupVersion = D1 ('MetaData "CreateGroupVersion" "Amazonka.Greengrass.CreateGroupVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateGroupVersion'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subscriptionDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "coreDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "deviceDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "loggerDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectorDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

newCreateGroupVersion Source #

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

$sel:resourceDefinitionVersionArn:CreateGroupVersion', createGroupVersion_resourceDefinitionVersionArn - The ARN of the resource definition version for this group.

$sel:subscriptionDefinitionVersionArn:CreateGroupVersion', createGroupVersion_subscriptionDefinitionVersionArn - The ARN of the subscription definition version for this group.

$sel:coreDefinitionVersionArn:CreateGroupVersion', createGroupVersion_coreDefinitionVersionArn - The ARN of the core definition version for this group.

$sel:deviceDefinitionVersionArn:CreateGroupVersion', createGroupVersion_deviceDefinitionVersionArn - The ARN of the device definition version for this group.

$sel:functionDefinitionVersionArn:CreateGroupVersion', createGroupVersion_functionDefinitionVersionArn - The ARN of the function definition version for this group.

$sel:loggerDefinitionVersionArn:CreateGroupVersion', createGroupVersion_loggerDefinitionVersionArn - The ARN of the logger definition version for this group.

$sel:connectorDefinitionVersionArn:CreateGroupVersion', createGroupVersion_connectorDefinitionVersionArn - The ARN of the connector definition version for this group.

$sel:groupId:CreateGroupVersion', createGroupVersion_groupId - The ID of the Greengrass group.

Request Lenses

createGroupVersion_amznClientToken :: Lens' CreateGroupVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

createGroupVersion_resourceDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the resource definition version for this group.

createGroupVersion_subscriptionDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the subscription definition version for this group.

createGroupVersion_coreDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the core definition version for this group.

createGroupVersion_deviceDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the device definition version for this group.

createGroupVersion_functionDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the function definition version for this group.

createGroupVersion_loggerDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the logger definition version for this group.

createGroupVersion_connectorDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the connector definition version for this group.

Destructuring the Response

data CreateGroupVersionResponse Source #

See: newCreateGroupVersionResponse smart constructor.

Constructors

CreateGroupVersionResponse' 

Fields

Instances

Instances details
Eq CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Read CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Show CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Generic CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Associated Types

type Rep CreateGroupVersionResponse :: Type -> Type #

NFData CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

type Rep CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

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

newCreateGroupVersionResponse Source #

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

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

$sel:version:CreateGroupVersionResponse', createGroupVersionResponse_version - The ID of the version.

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

$sel:httpStatus:CreateGroupVersionResponse', createGroupVersionResponse_httpStatus - The response's http status code.

Response Lenses

createGroupVersionResponse_creationTimestamp :: Lens' CreateGroupVersionResponse (Maybe Text) Source #

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

createGroupVersionResponse_id :: Lens' CreateGroupVersionResponse (Maybe Text) Source #

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