Values.CreateDeploymentRequestSourceCreates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device. You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices. Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment. For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide.
type nonrec t = {targetArn : TargetARN.t;The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
*)deploymentName : DeploymentNameString.t option;The name of the deployment.
*)components : ComponentDeploymentSpecifications.t option;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.
*)iotJobConfiguration : DeploymentIoTJobConfiguration.t option;The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
*)deploymentPolicies : DeploymentPolicies.t option;The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
*)parentTargetArn : ThingGroupARN.t option;The parent deployment's target ARN within a subdeployment.
*)clientToken : ClientTokenString.t option;A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
*)}val make :
?deploymentName:??? ->
?components:??? ->
?iotJobConfiguration:??? ->
?deploymentPolicies:??? ->
?parentTargetArn:??? ->
?tags:??? ->
?clientToken:??? ->
targetArn:TargetARN.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of NonEmptyString.t ]
* [> `String of TagValue.t
| `Structure of
(string
* [> `String of ComponentVersionString.t
| `Structure of
(string
* [> `List of
[> `String of ComponentConfigurationPath.t ]
list
| `String of ComponentConfigurationString.t
| `Structure of
(string
* [> `Double of CPU.t | `Long of Memory.t ])
list ])
list ])
list ])
list
| `String of TargetARN.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `Integer of IoTJobMaxExecutionsPerMin.t
| `List of
[> `Structure of
(string
* [> `Double of IoTJobAbortThresholdPercentage.t
| `Enum of string
| `Integer of
IoTJobMinimumNumberOfExecutedThings.t ])
list ]
list
| `Long of IoTJobInProgressTimeoutInMinutes.t
| `Structure of
(string
* [> `Double of IoTJobRolloutIncrementFactor.t
| `Integer of IoTJobRolloutBaseRatePerMinute.t
| `Structure of
(string * [> `Integer of IoTJobNumberOfThings.t ])
list ])
list ])
list ])
list ])
list ]