get_deployment_target
async
¶
get_deployment_target(
deployment_id: DeploymentId,
target_id: TargetId,
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = None,
) -> GetDeploymentTargetOutput
Returns information about a deployment target.
Parameters:
-
deployment_id(DeploymentId) –The unique ID of a deployment.
-
target_id(TargetId) –The unique ID of a deployment target.
Raises:
-
DeploymentDoesNotExistException–The deployment with the user or Amazon Web Services account does not exist.
-
DeploymentIdRequiredException–At least one deployment ID must be specified.
-
DeploymentNotStartedException–The specified deployment has not started.
-
DeploymentTargetDoesNotExistException–The provided target ID does not belong to the attempted deployment.
-
DeploymentTargetIdRequiredException–A deployment target ID was not provided.
-
InvalidDeploymentIdException–At least one of the deployment IDs was specified in an invalid format.
-
InvalidDeploymentTargetIdException–The target ID provided was not valid.
-
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
2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 | |