Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets a deployment. Deployments define the components that run on Greengrass core devices.
Synopsis
- data GetDeployment = GetDeployment' {
- deploymentId :: Text
- newGetDeployment :: Text -> GetDeployment
- getDeployment_deploymentId :: Lens' GetDeployment Text
- data GetDeploymentResponse = GetDeploymentResponse' {
- components :: Maybe (HashMap Text ComponentDeploymentSpecification)
- creationTimestamp :: Maybe POSIX
- deploymentId :: Maybe Text
- deploymentName :: Maybe Text
- deploymentPolicies :: Maybe DeploymentPolicies
- deploymentStatus :: Maybe DeploymentStatus
- iotJobArn :: Maybe Text
- iotJobConfiguration :: Maybe DeploymentIoTJobConfiguration
- iotJobId :: Maybe Text
- isLatestForTarget :: Maybe Bool
- parentTargetArn :: Maybe Text
- revisionId :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- targetArn :: Maybe Text
- httpStatus :: Int
- newGetDeploymentResponse :: Int -> GetDeploymentResponse
- getDeploymentResponse_components :: Lens' GetDeploymentResponse (Maybe (HashMap Text ComponentDeploymentSpecification))
- getDeploymentResponse_creationTimestamp :: Lens' GetDeploymentResponse (Maybe UTCTime)
- getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_deploymentName :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_deploymentPolicies :: Lens' GetDeploymentResponse (Maybe DeploymentPolicies)
- getDeploymentResponse_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus)
- getDeploymentResponse_iotJobArn :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_iotJobConfiguration :: Lens' GetDeploymentResponse (Maybe DeploymentIoTJobConfiguration)
- getDeploymentResponse_iotJobId :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_isLatestForTarget :: Lens' GetDeploymentResponse (Maybe Bool)
- getDeploymentResponse_parentTargetArn :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_revisionId :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_tags :: Lens' GetDeploymentResponse (Maybe (HashMap Text Text))
- getDeploymentResponse_targetArn :: Lens' GetDeploymentResponse (Maybe Text)
- getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int
Creating a Request
data GetDeployment Source #
See: newGetDeployment
smart constructor.
GetDeployment' | |
|
Instances
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:
GetDeployment
, getDeployment_deploymentId
- The ID of the deployment.
Request Lenses
getDeployment_deploymentId :: Lens' GetDeployment Text Source #
The ID of the deployment.
Destructuring the Response
data GetDeploymentResponse Source #
See: newGetDeploymentResponse
smart constructor.
GetDeploymentResponse' | |
|
Instances
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: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.
GetDeploymentResponse
, getDeploymentResponse_creationTimestamp
- The time at which the deployment was created, expressed in ISO 8601
format.
GetDeployment
, getDeploymentResponse_deploymentId
- The ID of the deployment.
GetDeploymentResponse
, getDeploymentResponse_deploymentName
- The name of the deployment.
$sel:deploymentPolicies:GetDeploymentResponse'
, getDeploymentResponse_deploymentPolicies
- The deployment policies for the deployment. These policies define how
the deployment updates components and handles failure.
GetDeploymentResponse
, getDeploymentResponse_deploymentStatus
- The status of the deployment.
GetDeploymentResponse
, getDeploymentResponse_iotJobArn
- The
ARN
of the IoT job that applies the deployment to target devices.
$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.
GetDeploymentResponse
, getDeploymentResponse_iotJobId
- The ID of the IoT job that applies the deployment to target devices.
GetDeploymentResponse
, getDeploymentResponse_isLatestForTarget
- Whether or not the deployment is the latest revision for its target.
GetDeploymentResponse
, getDeploymentResponse_parentTargetArn
- The parent deployment's target
ARN
within a subdeployment.
GetDeploymentResponse
, getDeploymentResponse_revisionId
- The revision number 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.
GetDeploymentResponse
, getDeploymentResponse_targetArn
- The
ARN
of the target IoT thing or thing group.
$sel:httpStatus:GetDeploymentResponse'
, getDeploymentResponse_httpStatus
- The response's http status code.
Response Lenses
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_creationTimestamp :: Lens' GetDeploymentResponse (Maybe UTCTime) Source #
The time at which the deployment was created, expressed in ISO 8601 format.
getDeploymentResponse_deploymentId :: Lens' GetDeploymentResponse (Maybe Text) Source #
The ID of the deployment.
getDeploymentResponse_deploymentName :: Lens' GetDeploymentResponse (Maybe Text) Source #
The name of the deployment.
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_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus) Source #
The status of the deployment.
getDeploymentResponse_iotJobArn :: Lens' GetDeploymentResponse (Maybe Text) Source #
The ARN of the IoT job that applies the deployment to target devices.
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_iotJobId :: Lens' GetDeploymentResponse (Maybe Text) Source #
The ID of the IoT job that applies the deployment to target devices.
getDeploymentResponse_isLatestForTarget :: Lens' GetDeploymentResponse (Maybe Bool) Source #
Whether or not the deployment is the latest revision for its target.
getDeploymentResponse_parentTargetArn :: Lens' GetDeploymentResponse (Maybe Text) Source #
The parent deployment's target ARN within a subdeployment.
getDeploymentResponse_revisionId :: Lens' GetDeploymentResponse (Maybe Text) Source #
The revision number of the deployment.
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.
getDeploymentResponse_targetArn :: Lens' GetDeploymentResponse (Maybe Text) Source #
The ARN of the target IoT thing or thing group.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int Source #
The response's http status code.