Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a deployment.
- createDeployment :: Text -> CreateDeployment
- data CreateDeployment
- cdDeploymentId :: Lens' CreateDeployment (Maybe Text)
- cdAmznClientToken :: Lens' CreateDeployment (Maybe Text)
- cdDeploymentType :: Lens' CreateDeployment (Maybe DeploymentType)
- cdGroupVersionId :: Lens' CreateDeployment (Maybe Text)
- cdGroupId :: Lens' CreateDeployment Text
- createDeploymentResponse :: Int -> CreateDeploymentResponse
- data CreateDeploymentResponse
- cdrsDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text)
- cdrsDeploymentARN :: Lens' CreateDeploymentResponse (Maybe Text)
- cdrsResponseStatus :: Lens' CreateDeploymentResponse Int
Creating a Request
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
- Id of the deployment if you wish to redeploy a previous deployment.cdAmznClientToken
- The client token used to request idempotent operations.cdDeploymentType
- Type of deployment. When used in CreateDeployment, only NewDeployment and Redeployment are valid.cdGroupVersionId
- Group Version you wish to deploy.cdGroupId
- The unique Id of the AWS Greengrass Group
data CreateDeployment Source #
See: createDeployment
smart constructor.
Request Lenses
cdDeploymentId :: Lens' CreateDeployment (Maybe Text) Source #
Id of the deployment if you wish to redeploy a previous deployment.
cdAmznClientToken :: Lens' CreateDeployment (Maybe Text) Source #
The client token used to request idempotent operations.
cdDeploymentType :: Lens' CreateDeployment (Maybe DeploymentType) Source #
Type of deployment. When used in CreateDeployment, only NewDeployment and Redeployment are valid.
cdGroupVersionId :: Lens' CreateDeployment (Maybe Text) Source #
Group Version you wish to deploy.
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:
cdrsDeploymentId
- The id of the deployment.cdrsDeploymentARN
- The arn of the deployment.cdrsResponseStatus
- -- | The response status code.
data CreateDeploymentResponse Source #
See: createDeploymentResponse
smart constructor.
Response Lenses
cdrsDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text) Source #
The id of the deployment.
cdrsDeploymentARN :: Lens' CreateDeploymentResponse (Maybe Text) Source #
The arn of the deployment.
cdrsResponseStatus :: Lens' CreateDeploymentResponse Int Source #
- - | The response status code.