list_deployments
¶
list_deployments(
*,
config_overrides: Optional[ProtonClientConfig] = 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/proton.py
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 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 | |