libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.GetDeployment

Description

Gets a deployment. Deployments define the components that run on Greengrass core devices.

Synopsis

Creating a Request

data GetDeployment Source #

See: newGetDeployment smart constructor.

Constructors

GetDeployment' 

Fields

Instances

Instances details
Eq GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Read GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Show GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Generic GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Associated Types

type Rep GetDeployment :: Type -> Type #

NFData GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Methods

rnf :: GetDeployment -> () #

Hashable GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

AWSRequest GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Associated Types

type AWSResponse GetDeployment #

ToHeaders GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

ToPath GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

ToQuery GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

type Rep GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

type Rep GetDeployment = D1 ('MetaData "GetDeployment" "Amazonka.GreengrassV2.GetDeployment" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "GetDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDeployment Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

newGetDeployment Source #

Create a value of GetDeployment 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:GetDeployment', getDeployment_deploymentId - The ID of the deployment.

Request Lenses

Destructuring the Response

data GetDeploymentResponse Source #

See: newGetDeploymentResponse smart constructor.

Constructors

GetDeploymentResponse' 

Fields

Instances

Instances details
Eq GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Read GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Show GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Generic GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Associated Types

type Rep GetDeploymentResponse :: Type -> Type #

NFData GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

Methods

rnf :: GetDeploymentResponse -> () #

type Rep GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetDeployment

type Rep GetDeploymentResponse = D1 ('MetaData "GetDeploymentResponse" "Amazonka.GreengrassV2.GetDeployment" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "GetDeploymentResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "components") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ComponentDeploymentSpecification))) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "iotJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iotJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deploymentPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentPolicies)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "iotJobConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentIoTJobConfiguration)) :*: (S1 ('MetaSel ('Just "deploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentStatus)) :*: S1 ('MetaSel ('Just "isLatestForTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deploymentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetDeploymentResponse Source #

Create a value of GetDeploymentResponse 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:targetArn:GetDeploymentResponse', getDeploymentResponse_targetArn - The ARN of the target IoT thing or thing group.

$sel:components:GetDeploymentResponse', getDeploymentResponse_components - The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.

$sel:deploymentId:GetDeployment', getDeploymentResponse_deploymentId - The ID of the deployment.

$sel:iotJobId:GetDeploymentResponse', getDeploymentResponse_iotJobId - The ID of the IoT job that applies the deployment to target devices.

$sel:iotJobArn:GetDeploymentResponse', getDeploymentResponse_iotJobArn - The ARN of the IoT job that applies the deployment to target devices.

$sel:deploymentPolicies:GetDeploymentResponse', getDeploymentResponse_deploymentPolicies - The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.

$sel:creationTimestamp:GetDeploymentResponse', getDeploymentResponse_creationTimestamp - The time at which the deployment was created, expressed in ISO 8601 format.

$sel:iotJobConfiguration:GetDeploymentResponse', getDeploymentResponse_iotJobConfiguration - The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.

$sel:deploymentStatus:GetDeploymentResponse', getDeploymentResponse_deploymentStatus - The status of the deployment.

$sel:isLatestForTarget:GetDeploymentResponse', getDeploymentResponse_isLatestForTarget - Whether or not the deployment is the latest revision for its target.

$sel:revisionId:GetDeploymentResponse', getDeploymentResponse_revisionId - The revision number of the deployment.

$sel:deploymentName:GetDeploymentResponse', getDeploymentResponse_deploymentName - The name of the deployment.

$sel:tags:GetDeploymentResponse', getDeploymentResponse_tags - A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.

$sel:httpStatus:GetDeploymentResponse', getDeploymentResponse_httpStatus - The response's http status code.

Response Lenses

getDeploymentResponse_targetArn :: Lens' GetDeploymentResponse (Maybe Text) Source #

The ARN of the target IoT thing or thing group.

getDeploymentResponse_components :: Lens' GetDeploymentResponse (Maybe (HashMap Text ComponentDeploymentSpecification)) Source #

The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.

getDeploymentResponse_iotJobId :: Lens' GetDeploymentResponse (Maybe Text) Source #

The ID of the IoT job that applies the deployment to target devices.

getDeploymentResponse_iotJobArn :: Lens' GetDeploymentResponse (Maybe Text) Source #

The ARN of the IoT job that applies the deployment to target devices.

getDeploymentResponse_deploymentPolicies :: Lens' GetDeploymentResponse (Maybe DeploymentPolicies) Source #

The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.

getDeploymentResponse_creationTimestamp :: Lens' GetDeploymentResponse (Maybe UTCTime) Source #

The time at which the deployment was created, expressed in ISO 8601 format.

getDeploymentResponse_iotJobConfiguration :: Lens' GetDeploymentResponse (Maybe DeploymentIoTJobConfiguration) Source #

The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.

getDeploymentResponse_isLatestForTarget :: Lens' GetDeploymentResponse (Maybe Bool) Source #

Whether or not the deployment is the latest revision for its target.

getDeploymentResponse_tags :: Lens' GetDeploymentResponse (Maybe (HashMap Text Text)) Source #

A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.