list_deployments
¶
list_deployments(
application_id: Name,
environment_id: Name,
*,
config_overrides: Optional[AppConfigClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> Deployments
Lists the deployments for an environment in descending deployment number order.
Parameters:
-
application_id(Name) –The application ID.
-
environment_id(Name) –The environment ID.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null
NextTokenthat you can provide in a subsequent call to get the next set of results. -
next_token(Optional[NextToken], default:None) –The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results.
Raises:
-
BadRequestException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
InternalServerException–There was an internal failure in the AppConfig service.
-
ResourceNotFoundException–The requested resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.