get_deployment_instance
¶
get_deployment_instance(
deployment_id: DeploymentId,
instance_id: InstanceId,
*,
config_overrides: Optional[CodeDeployClientConfig] = None,
) -> GetDeploymentInstanceOutput
Gets information about an instance as part of a deployment.
Parameters:
-
deployment_id(DeploymentId) –The unique ID of a deployment.
-
instance_id(InstanceId) –The unique ID of an instance in the deployment group.
Raises:
-
DeploymentDoesNotExistException–The deployment with the user or Amazon Web Services account does not exist.
-
DeploymentIdRequiredException–At least one deployment ID must be specified.
-
InstanceDoesNotExistException–The specified instance does not exist in the deployment group.
-
InstanceIdRequiredException–The instance ID was not specified.
-
InvalidComputePlatformException–The computePlatform is invalid. The computePlatform should be
Lambda,Server, orECS. -
InvalidDeploymentIdException–At least one of the deployment IDs was specified in an invalid format.
-
InvalidInstanceNameException–The on-premises instance name was specified in an invalid format.
-
UnknownServiceError–The service returned an error code this client does not model.