get_deployment_target
¶
get_deployment_target(
deployment_id: DeploymentId,
target_id: TargetId,
*,
config_overrides: Optional[CodeDeployClientConfig] = 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/code_deploy.py
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 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 | |