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

Description

Returns the status of a deployment.

Synopsis

Creating a Request

data GetDeploymentStatus Source #

See: newGetDeploymentStatus smart constructor.

Constructors

GetDeploymentStatus' 

Fields

Instances

Instances details
Eq GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Read GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Show GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Generic GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Associated Types

type Rep GetDeploymentStatus :: Type -> Type #

NFData GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Methods

rnf :: GetDeploymentStatus -> () #

Hashable GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

AWSRequest GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Associated Types

type AWSResponse GetDeploymentStatus #

ToHeaders GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

ToPath GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

ToQuery GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

type Rep GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

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

Defined in Amazonka.Greengrass.GetDeploymentStatus

newGetDeploymentStatus Source #

Create a value of GetDeploymentStatus 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:groupId:GetDeploymentStatus', getDeploymentStatus_groupId - The ID of the Greengrass group.

$sel:deploymentId:GetDeploymentStatus', getDeploymentStatus_deploymentId - The ID of the deployment.

Request Lenses

Destructuring the Response

data GetDeploymentStatusResponse Source #

See: newGetDeploymentStatusResponse smart constructor.

Constructors

GetDeploymentStatusResponse' 

Fields

Instances

Instances details
Eq GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Read GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Show GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Generic GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Associated Types

type Rep GetDeploymentStatusResponse :: Type -> Type #

NFData GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

type Rep GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

type Rep GetDeploymentStatusResponse = D1 ('MetaData "GetDeploymentStatusResponse" "Amazonka.Greengrass.GetDeploymentStatus" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetDeploymentStatusResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentType)) :*: (S1 ('MetaSel ('Just "errorDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ErrorDetail])) :*: S1 ('MetaSel ('Just "deploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetDeploymentStatusResponse Source #

Create a value of GetDeploymentStatusResponse 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:deploymentType:GetDeploymentStatusResponse', getDeploymentStatusResponse_deploymentType - The type of the deployment.

$sel:errorDetails:GetDeploymentStatusResponse', getDeploymentStatusResponse_errorDetails - Error details

$sel:deploymentStatus:GetDeploymentStatusResponse', getDeploymentStatusResponse_deploymentStatus - The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.

$sel:updatedAt:GetDeploymentStatusResponse', getDeploymentStatusResponse_updatedAt - The time, in milliseconds since the epoch, when the deployment status was updated.

$sel:errorMessage:GetDeploymentStatusResponse', getDeploymentStatusResponse_errorMessage - Error message

$sel:httpStatus:GetDeploymentStatusResponse', getDeploymentStatusResponse_httpStatus - The response's http status code.

Response Lenses

getDeploymentStatusResponse_deploymentStatus :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #

The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.

getDeploymentStatusResponse_updatedAt :: Lens' GetDeploymentStatusResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the deployment status was updated.