amazonka-greengrass-1.6.0: 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.CreateSubscriptionDefinitionVersion

Contents

Description

Creates a version of a subscription definition which has already been defined.

Synopsis

Creating a Request

createSubscriptionDefinitionVersion Source #

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

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

data CreateSubscriptionDefinitionVersion Source #

See: createSubscriptionDefinitionVersion smart constructor.

Instances

Eq CreateSubscriptionDefinitionVersion Source # 
Data CreateSubscriptionDefinitionVersion Source # 

Methods

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

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

toConstr :: CreateSubscriptionDefinitionVersion -> Constr #

dataTypeOf :: CreateSubscriptionDefinitionVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSubscriptionDefinitionVersion Source # 
Show CreateSubscriptionDefinitionVersion Source # 
Generic CreateSubscriptionDefinitionVersion Source # 
Hashable CreateSubscriptionDefinitionVersion Source # 
ToJSON CreateSubscriptionDefinitionVersion Source # 
NFData CreateSubscriptionDefinitionVersion Source # 
AWSRequest CreateSubscriptionDefinitionVersion Source # 
ToHeaders CreateSubscriptionDefinitionVersion Source # 
ToPath CreateSubscriptionDefinitionVersion Source # 
ToQuery CreateSubscriptionDefinitionVersion Source # 
type Rep CreateSubscriptionDefinitionVersion Source # 
type Rep CreateSubscriptionDefinitionVersion = D1 * (MetaData "CreateSubscriptionDefinitionVersion" "Network.AWS.Greengrass.CreateSubscriptionDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "CreateSubscriptionDefinitionVersion'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_csdvAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csdvSubscriptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Subscription]))) (S1 * (MetaSel (Just Symbol "_csdvSubscriptionDefinitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateSubscriptionDefinitionVersion Source # 

Request Lenses

csdvAmznClientToken :: Lens' CreateSubscriptionDefinitionVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

Destructuring the Response

createSubscriptionDefinitionVersionResponse Source #

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

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

data CreateSubscriptionDefinitionVersionResponse Source #

Instances

Eq CreateSubscriptionDefinitionVersionResponse Source # 
Data CreateSubscriptionDefinitionVersionResponse Source # 

Methods

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

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

toConstr :: CreateSubscriptionDefinitionVersionResponse -> Constr #

dataTypeOf :: CreateSubscriptionDefinitionVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSubscriptionDefinitionVersionResponse Source # 
Show CreateSubscriptionDefinitionVersionResponse Source # 
Generic CreateSubscriptionDefinitionVersionResponse Source # 
NFData CreateSubscriptionDefinitionVersionResponse Source # 
type Rep CreateSubscriptionDefinitionVersionResponse Source # 
type Rep CreateSubscriptionDefinitionVersionResponse = D1 * (MetaData "CreateSubscriptionDefinitionVersionResponse" "Network.AWS.Greengrass.CreateSubscriptionDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "CreateSubscriptionDefinitionVersionResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_csdvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_csdvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csdvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_csdvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_csdvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

csdvrsCreationTimestamp :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text) Source #

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