list_deployments
async
¶
list_deployments(
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
next_token: Optional[NextToken] = None,
environment_name: Optional[ResourceName] = None,
service_name: Optional[ResourceName] = None,
service_instance_name: Optional[ResourceName] = None,
component_name: Optional[ResourceName] = None,
max_results: Optional[MaxPageResults] = None,
) -> ListDeploymentsOutput
List deployments. You can filter the result list by environment, service, or a single service instance.
Parameters:
-
next_token(Optional[NextToken], default:None) –A token that indicates the location of the next deployment in the array of deployment, after the list of deployment that was previously requested.
-
environment_name(Optional[ResourceName], default:None) –The name of an environment for result list filtering. Proton returns deployments associated with the environment.
-
service_name(Optional[ResourceName], default:None) –The name of a service for result list filtering. Proton returns deployments associated with service instances of the service.
-
service_instance_name(Optional[ResourceName], default:None) –The name of a service instance for result list filtering. Proton returns the deployments associated with the service instance.
-
component_name(Optional[ResourceName], default:None) –The name of a component for result list filtering. Proton returns deployments associated with that component.
-
max_results(Optional[MaxPageResults], default:None) –The maximum number of deployments to list.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
InternalServerException–The request failed to register with the service.
-
ResourceNotFoundException–The requested resource wasn't found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/async_proton.py
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 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 | |