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.
Source code in docs_src/capo_codedeploy/_services/code_deploy.py
2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 | |