get_deployment_instance
async
¶
get_deployment_instance(
deployment_id: DeploymentId,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = 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/async_code_deploy.py
2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 | |