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

Description

Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.

Synopsis

Creating a Request

data CreateGroup Source #

See: newCreateGroup smart constructor.

Constructors

CreateGroup' 

Fields

Instances

Instances details
Eq CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Read CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Methods

rnf :: CreateGroup -> () #

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Associated Types

type AWSResponse CreateGroup #

ToHeaders CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Methods

toHeaders :: CreateGroup -> [Header] #

ToPath CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

ToQuery CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

type Rep CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

type Rep CreateGroup = D1 ('MetaData "CreateGroup" "Amazonka.Greengrass.CreateGroup" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initialVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupVersion))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateGroup Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

newCreateGroup Source #

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

$sel:initialVersion:CreateGroup', createGroup_initialVersion - Information about the initial version of the group.

$sel:tags:CreateGroup', createGroup_tags - Tag(s) to add to the new resource.

$sel:name:CreateGroup', createGroup_name - The name of the group.

Request Lenses

createGroup_amznClientToken :: Lens' CreateGroup (Maybe Text) Source #

A client token used to correlate requests and responses.

createGroup_initialVersion :: Lens' CreateGroup (Maybe GroupVersion) Source #

Information about the initial version of the group.

createGroup_tags :: Lens' CreateGroup (Maybe (HashMap Text Text)) Source #

Tag(s) to add to the new resource.

createGroup_name :: Lens' CreateGroup Text Source #

The name of the group.

Destructuring the Response

data CreateGroupResponse Source #

See: newCreateGroupResponse smart constructor.

Constructors

CreateGroupResponse' 

Fields

Instances

Instances details
Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateGroup

type Rep CreateGroupResponse = D1 ('MetaData "CreateGroupResponse" "Amazonka.Greengrass.CreateGroup" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateGroupResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "latestVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") '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 "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateGroupResponse Source #

Create a value of CreateGroupResponse 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:latestVersionArn:CreateGroupResponse', createGroupResponse_latestVersionArn - The ARN of the latest version associated with the definition.

$sel:arn:CreateGroupResponse', createGroupResponse_arn - The ARN of the definition.

$sel:name:CreateGroup', createGroupResponse_name - The name of the definition.

$sel:creationTimestamp:CreateGroupResponse', createGroupResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was created.

$sel:id:CreateGroupResponse', createGroupResponse_id - The ID of the definition.

$sel:latestVersion:CreateGroupResponse', createGroupResponse_latestVersion - The ID of the latest version associated with the definition.

$sel:lastUpdatedTimestamp:CreateGroupResponse', createGroupResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last updated.

$sel:httpStatus:CreateGroupResponse', createGroupResponse_httpStatus - The response's http status code.

Response Lenses

createGroupResponse_latestVersionArn :: Lens' CreateGroupResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

createGroupResponse_creationTimestamp :: Lens' CreateGroupResponse (Maybe Text) Source #

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

createGroupResponse_latestVersion :: Lens' CreateGroupResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

createGroupResponse_lastUpdatedTimestamp :: Lens' CreateGroupResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was last updated.