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

Amazonka.Greengrass.CreateDeployment

Description

Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.

Synopsis

Creating a Request

data CreateDeployment Source #

See: newCreateDeployment smart constructor.

Constructors

CreateDeployment' 

Fields

Instances

Instances details
Eq CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Read CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Show CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Generic CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Associated Types

type Rep CreateDeployment :: Type -> Type #

NFData CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Methods

rnf :: CreateDeployment -> () #

Hashable CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

ToJSON CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

AWSRequest CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Associated Types

type AWSResponse CreateDeployment #

ToHeaders CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

ToPath CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

ToQuery CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

type Rep CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

type Rep CreateDeployment = D1 ('MetaData "CreateDeployment" "Amazonka.Greengrass.CreateDeployment" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateDeployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "groupVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeploymentType)))))
type AWSResponse CreateDeployment Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

newCreateDeployment Source #

Create a value of CreateDeployment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deploymentId:CreateDeployment', createDeployment_deploymentId - The ID of the deployment if you wish to redeploy a previous deployment.

$sel:amznClientToken:CreateDeployment', createDeployment_amznClientToken - A client token used to correlate requests and responses.

$sel:groupVersionId:CreateDeployment', createDeployment_groupVersionId - The ID of the group version to be deployed.

$sel:groupId:CreateDeployment', createDeployment_groupId - The ID of the Greengrass group.

$sel:deploymentType:CreateDeployment', createDeployment_deploymentType - The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.

Request Lenses

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

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

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

A client token used to correlate requests and responses.

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

The ID of the group version to be deployed.

createDeployment_groupId :: Lens' CreateDeployment Text Source #

The ID of the Greengrass group.

createDeployment_deploymentType :: Lens' CreateDeployment DeploymentType Source #

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

Destructuring the Response

data CreateDeploymentResponse Source #

See: newCreateDeploymentResponse smart constructor.

Constructors

CreateDeploymentResponse' 

Fields

Instances

Instances details
Eq CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Read CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Show CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Generic CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

Associated Types

type Rep CreateDeploymentResponse :: Type -> Type #

NFData CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

type Rep CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateDeployment

type Rep CreateDeploymentResponse = D1 ('MetaData "CreateDeploymentResponse" "Amazonka.Greengrass.CreateDeployment" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deploymentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateDeploymentResponse Source #

Create a value of CreateDeploymentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deploymentId:CreateDeployment', createDeploymentResponse_deploymentId - The ID of the deployment.

$sel:deploymentArn:CreateDeploymentResponse', createDeploymentResponse_deploymentArn - The ARN of the deployment.

$sel:httpStatus:CreateDeploymentResponse', createDeploymentResponse_httpStatus - The response's http status code.

Response Lenses