amazonka-greengrass-1.5.0: Amazon Greengrass SDK.

Copyright(c) 2013-2017 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.CreateGroupVersion

Contents

Description

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

Synopsis

Creating a Request

createGroupVersion Source #

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

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

data CreateGroupVersion Source #

See: createGroupVersion smart constructor.

Instances

Eq CreateGroupVersion Source # 
Data CreateGroupVersion Source # 

Methods

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

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

toConstr :: CreateGroupVersion -> Constr #

dataTypeOf :: CreateGroupVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateGroupVersion Source # 
Show CreateGroupVersion Source # 
Generic CreateGroupVersion Source # 
Hashable CreateGroupVersion Source # 
ToJSON CreateGroupVersion Source # 
NFData CreateGroupVersion Source # 

Methods

rnf :: CreateGroupVersion -> () #

AWSRequest CreateGroupVersion Source # 
ToQuery CreateGroupVersion Source # 
ToPath CreateGroupVersion Source # 
ToHeaders CreateGroupVersion Source # 
type Rep CreateGroupVersion Source # 
type Rep CreateGroupVersion = D1 (MetaData "CreateGroupVersion" "Network.AWS.Greengrass.CreateGroupVersion" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "CreateGroupVersion'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cgvAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cgvSubscriptionDefinitionVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cgvCoreDefinitionVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cgvDeviceDefinitionVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cgvFunctionDefinitionVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cgvLoggerDefinitionVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cgvGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateGroupVersion Source # 

Request Lenses

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

The client token used to request idempotent operations.

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

Subscription definition version arn for this group.

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

Core definition version arn for this group.

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

Device definition version arn for this group.

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

Function definition version arn for this group.

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

Logger definitionv ersion arn for this group.

cgvGroupId :: Lens' CreateGroupVersion Text Source #

The unique Id of the AWS Greengrass Group

Destructuring the Response

createGroupVersionResponse Source #

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

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

data CreateGroupVersionResponse Source #

See: createGroupVersionResponse smart constructor.

Instances

Eq CreateGroupVersionResponse Source # 
Data CreateGroupVersionResponse Source # 

Methods

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

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

toConstr :: CreateGroupVersionResponse -> Constr #

dataTypeOf :: CreateGroupVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateGroupVersionResponse Source # 
Show CreateGroupVersionResponse Source # 
Generic CreateGroupVersionResponse Source # 
NFData CreateGroupVersionResponse Source # 
type Rep CreateGroupVersionResponse Source # 
type Rep CreateGroupVersionResponse = D1 (MetaData "CreateGroupVersionResponse" "Network.AWS.Greengrass.CreateGroupVersion" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "CreateGroupVersionResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cgvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cgvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cgvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cgvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cgvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

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

Timestamp of when the version was created.

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

Id of the resource container.