amazonka-greengrass-1.6.1: Amazon Greengrass SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Greengrass.CreateGroup

Contents

Description

Creates a group. You may provide the initial version of the group or use 'CreateGroupVersion' at a later time.

Synopsis

Creating a Request

createGroup :: CreateGroup Source #

Creates a value of CreateGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateGroup Source #

See: createGroup smart constructor.

Instances
Eq CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Data CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateGroup -> c CreateGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateGroup #

toConstr :: CreateGroup -> Constr #

dataTypeOf :: CreateGroup -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateGroup) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateGroup) #

gmapT :: (forall b. Data b => b -> b) -> CreateGroup -> CreateGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateGroup -> m CreateGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGroup -> m CreateGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGroup -> m CreateGroup #

Read CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Generic CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

Hashable CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

ToJSON CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Associated Types

type Rs CreateGroup :: Type #

ToHeaders CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Methods

toHeaders :: CreateGroup -> [Header] #

ToPath CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

ToQuery CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

NFData CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Methods

rnf :: CreateGroup -> () #

type Rep CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

type Rep CreateGroup = D1 (MetaData "CreateGroup" "Network.AWS.Greengrass.CreateGroup" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateGroup'" PrefixI True) (S1 (MetaSel (Just "_cgAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cgInitialVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GroupVersion)) :*: S1 (MetaSel (Just "_cgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs CreateGroup Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Request Lenses

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

A client token used to correlate requests and responses.

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

Information about the initial version of the group.

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

The name of the group.

Destructuring the Response

createGroupResponse Source #

Creates a value of CreateGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateGroupResponse Source #

See: createGroupResponse smart constructor.

Instances
Eq CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Data CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateGroupResponse -> c CreateGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateGroupResponse #

toConstr :: CreateGroupResponse -> Constr #

dataTypeOf :: CreateGroupResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateGroupResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateGroupResponse -> CreateGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateGroupResponse -> m CreateGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGroupResponse -> m CreateGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGroupResponse -> m CreateGroupResponse #

Read CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Generic CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

NFData CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

type Rep CreateGroupResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateGroup

type Rep CreateGroupResponse = D1 (MetaData "CreateGroupResponse" "Network.AWS.Greengrass.CreateGroup" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateGroupResponse'" PrefixI True) (((S1 (MetaSel (Just "_cgrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cgrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cgrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cgrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

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

The ARN of the latest version of the definition.

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

The ARN of the definition.

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

The name of the definition.

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

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

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

The ID of the definition.

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

The latest version of the definition.

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

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

cgrsResponseStatus :: Lens' CreateGroupResponse Int Source #

  • - | The response status code.