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.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
ToJSON CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.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

AWSRequest CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Associated Types

type AWSResponse CreateGroupVersion #

Generic CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Associated Types

type Rep CreateGroupVersion :: Type -> Type #

Read CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Show CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

NFData CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Methods

rnf :: CreateGroupVersion -> () #

Eq CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Hashable CreateGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "CreateGroupVersion'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectorDefinitionVersionArn") '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 "resourceDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptionDefinitionVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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.

CreateGroupVersion, createGroupVersion_connectorDefinitionVersionArn - The ARN of the connector definition version for this group.

CreateGroupVersion, createGroupVersion_coreDefinitionVersionArn - The ARN of the core definition version for this group.

CreateGroupVersion, createGroupVersion_deviceDefinitionVersionArn - The ARN of the device definition version for this group.

CreateGroupVersion, createGroupVersion_functionDefinitionVersionArn - The ARN of the function definition version for this group.

CreateGroupVersion, createGroupVersion_loggerDefinitionVersionArn - The ARN of the logger definition version for this group.

CreateGroupVersion, createGroupVersion_resourceDefinitionVersionArn - The ARN of the resource definition version for this group.

CreateGroupVersion, createGroupVersion_subscriptionDefinitionVersionArn - The ARN of the subscription 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_connectorDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #

The ARN of the connector 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_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.

Destructuring the Response

data CreateGroupVersionResponse Source #

See: newCreateGroupVersionResponse smart constructor.

Constructors

CreateGroupVersionResponse' 

Fields

Instances

Instances details
Generic CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Associated Types

type Rep CreateGroupVersionResponse :: Type -> Type #

Read CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Show CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

NFData CreateGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroupVersion

Eq 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" '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 "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)))))

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:

CreateGroupVersionResponse, createGroupVersionResponse_arn - The ARN of the version.

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

CreateGroupVersionResponse, createGroupVersionResponse_id - The ID of the parent definition that the version is associated with.

CreateGroupVersionResponse, createGroupVersionResponse_version - The ID of the version.

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