Module Values.BatchGetDeploymentTargetsOutputSource

Returns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25. The type of targets returned depends on the deployment's compute platform or deployment method: EC2/On-premises: Information about Amazon EC2 instance targets. Lambda: Information about Lambda functions targets. Amazon ECS: Information about Amazon ECS service targets. CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.

Sourcetype nonrec t = {
  1. deploymentTargets : DeploymentTargetList.t option;
    (*

    A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform. EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance. Lambda: The target object is a specific version of an Lambda function. Amazon ECS: The target object is an Amazon ECS service. CloudFormation: The target object is an CloudFormation blue/green deployment.

    *)
}
Sourcetype nonrec error = [
  1. | `DeploymentDoesNotExistException of DeploymentDoesNotExistException.t
  2. | `DeploymentIdRequiredException of DeploymentIdRequiredException.t
  3. | `DeploymentNotStartedException of DeploymentNotStartedException.t
  4. | `DeploymentTargetDoesNotExistException of DeploymentTargetDoesNotExistException.t
  5. | `DeploymentTargetIdRequiredException of DeploymentTargetIdRequiredException.t
  6. | `DeploymentTargetListSizeExceededException of DeploymentTargetListSizeExceededException.t
  7. | `InstanceDoesNotExistException of InstanceDoesNotExistException.t
  8. | `InvalidDeploymentIdException of InvalidDeploymentIdException.t
  9. | `InvalidDeploymentTargetIdException of InvalidDeploymentTargetIdException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?deploymentTargets:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DeploymentDoesNotExistException of unit | `DeploymentIdRequiredException of unit | `DeploymentNotStartedException of unit | `DeploymentTargetDoesNotExistException of unit | `DeploymentTargetIdRequiredException of unit | `DeploymentTargetListSizeExceededException of unit | `InstanceDoesNotExistException of unit | `InvalidDeploymentIdException of unit | `InvalidDeploymentTargetIdException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DeploymentDoesNotExistException of unit | `DeploymentIdRequiredException of unit | `DeploymentNotStartedException of unit | `DeploymentTargetDoesNotExistException of unit | `DeploymentTargetIdRequiredException of unit | `DeploymentTargetListSizeExceededException of unit | `InstanceDoesNotExistException of unit | `InvalidDeploymentIdException of unit | `InvalidDeploymentTargetIdException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Double of TrafficWeight.t | `Enum of string | `List of [> `Structure of (string * [> `Double of TrafficWeight.t | `Enum of string | `Long of ECSTaskSetCount.t | `String of LifecycleEventName.t | `Structure of (string * [> `Enum of string | `String of ScriptName.t ]) list | `Timestamp of Timestamp.t ]) list ] list | `String of DeploymentId.t | `Structure of (string * [> `Double of TrafficWeight.t | `String of LambdaFunctionName.t ]) list | `Timestamp of Time.t ]) list ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t