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

Contents

Description

Creates a deployment.

Synopsis

Creating a Request

createDeployment Source #

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

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

  • cdDeploymentId - The ID of the deployment if you wish to redeploy a previous deployment.
  • cdAmznClientToken - A client token used to correlate requests and responses.
  • cdDeploymentType - The type of deployment. When used in 'CreateDeployment', only 'NewDeployment' and 'Redeployment' are valid.
  • cdGroupVersionId - The ID of the group version to be deployed.
  • cdGroupId - The ID of the AWS Greengrass group.

data CreateDeployment Source #

See: createDeployment smart constructor.

Instances
Eq CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Data CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Methods

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

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

toConstr :: CreateDeployment -> Constr #

dataTypeOf :: CreateDeployment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Show CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Generic CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Associated Types

type Rep CreateDeployment :: Type -> Type #

Hashable CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

ToJSON CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

AWSRequest CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Associated Types

type Rs CreateDeployment :: Type #

ToHeaders CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

ToPath CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

ToQuery CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

NFData CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Methods

rnf :: CreateDeployment -> () #

type Rep CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

type Rep CreateDeployment = D1 (MetaData "CreateDeployment" "Network.AWS.Greengrass.CreateDeployment" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateDeployment'" PrefixI True) ((S1 (MetaSel (Just "_cdDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cdDeploymentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeploymentType)) :*: (S1 (MetaSel (Just "_cdGroupVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateDeployment Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Request Lenses

cdDeploymentId :: Lens' CreateDeployment (Maybe Text) Source #

The ID of the deployment if you wish to redeploy a previous deployment.

cdAmznClientToken :: Lens' CreateDeployment (Maybe Text) Source #

A client token used to correlate requests and responses.

cdDeploymentType :: Lens' CreateDeployment (Maybe DeploymentType) Source #

The type of deployment. When used in 'CreateDeployment', only 'NewDeployment' and 'Redeployment' are valid.

cdGroupVersionId :: Lens' CreateDeployment (Maybe Text) Source #

The ID of the group version to be deployed.

cdGroupId :: Lens' CreateDeployment Text Source #

The ID of the AWS Greengrass group.

Destructuring the Response

createDeploymentResponse Source #

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

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

data CreateDeploymentResponse Source #

See: createDeploymentResponse smart constructor.

Instances
Eq CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Data CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Methods

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

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

toConstr :: CreateDeploymentResponse -> Constr #

dataTypeOf :: CreateDeploymentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Show CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Generic CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

Associated Types

type Rep CreateDeploymentResponse :: Type -> Type #

NFData CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

type Rep CreateDeploymentResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateDeployment

type Rep CreateDeploymentResponse = D1 (MetaData "CreateDeploymentResponse" "Network.AWS.Greengrass.CreateDeployment" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateDeploymentResponse'" PrefixI True) (S1 (MetaSel (Just "_cdrsDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cdrsDeploymentARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses