amazonka-greengrass-2.0: Amazon Greengrass SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Associated Types

type AWSResponse GetDeploymentStatus #

Generic GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Associated Types

type Rep GetDeploymentStatus :: Type -> Type #

Read GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Show GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

NFData GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Methods

rnf :: GetDeploymentStatus -> () #

Eq GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Hashable GetDeploymentStatus Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetDeploymentStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

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
Generic GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Associated Types

type Rep GetDeploymentStatusResponse :: Type -> Type #

Read GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Show GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

NFData GetDeploymentStatusResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeploymentStatus

Eq 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetDeploymentStatusResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deploymentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentType)) :*: S1 ('MetaSel ('Just "errorDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ErrorDetail])))) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updatedAt") '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:

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

GetDeploymentStatusResponse, getDeploymentStatusResponse_deploymentType - The type of the deployment.

GetDeploymentStatusResponse, getDeploymentStatusResponse_errorDetails - Error details

GetDeploymentStatusResponse, getDeploymentStatusResponse_errorMessage - Error message

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

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