Smaws_Client_CodeDeploy.BatchGetDeploymentTargetsReturns 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:
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DeploymentDoesNotExistException of
Types.deployment_does_not_exist_exception
| `DeploymentIdRequiredException of Types.deployment_id_required_exception
| `DeploymentNotStartedException of Types.deployment_not_started_exception
| `DeploymentTargetDoesNotExistException of
Types.deployment_target_does_not_exist_exception
| `DeploymentTargetIdRequiredException of
Types.deployment_target_id_required_exception
| `DeploymentTargetListSizeExceededException of
Types.deployment_target_list_size_exceeded_exception
| `InstanceDoesNotExistException of Types.instance_does_not_exist_exception
| `InvalidDeploymentIdException of Types.invalid_deployment_id_exception
| `InvalidDeploymentTargetIdException of
Types.invalid_deployment_target_id_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_get_deployment_targets_input ->
(Types.batch_get_deployment_targets_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `DeploymentDoesNotExistException of
Types.deployment_does_not_exist_exception
| `DeploymentIdRequiredException of Types.deployment_id_required_exception
| `DeploymentNotStartedException of Types.deployment_not_started_exception
| `DeploymentTargetDoesNotExistException of
Types.deployment_target_does_not_exist_exception
| `DeploymentTargetIdRequiredException of
Types.deployment_target_id_required_exception
| `DeploymentTargetListSizeExceededException of
Types.deployment_target_list_size_exceeded_exception
| `InstanceDoesNotExistException of Types.instance_does_not_exist_exception
| `InvalidDeploymentIdException of Types.invalid_deployment_id_exception
| `InvalidDeploymentTargetIdException of
Types.invalid_deployment_target_id_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_get_deployment_targets_input ->
(Types.batch_get_deployment_targets_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DeploymentDoesNotExistException of
Types.deployment_does_not_exist_exception
| `DeploymentIdRequiredException of Types.deployment_id_required_exception
| `DeploymentNotStartedException of Types.deployment_not_started_exception
| `DeploymentTargetDoesNotExistException of
Types.deployment_target_does_not_exist_exception
| `DeploymentTargetIdRequiredException of
Types.deployment_target_id_required_exception
| `DeploymentTargetListSizeExceededException of
Types.deployment_target_list_size_exceeded_exception
| `InstanceDoesNotExistException of Types.instance_does_not_exist_exception
| `InvalidDeploymentIdException of Types.invalid_deployment_id_exception
| `InvalidDeploymentTargetIdException of
Types.invalid_deployment_target_id_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result