get_deployment
async
¶
get_deployment(
app_name: AppName,
environment_name: EnvironmentName,
deployment_id: DeploymentId,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
) -> GetDeploymentResponse
Retrieves a deployment for an environment of a Gen 3 app.
Parameters:
-
app_name(AppName) –The name of the app.
-
environment_name(EnvironmentName) –The name of the environment.
-
deployment_id(DeploymentId) –The ID of the deployment.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifygen3/_services/async_amplify_gen3.py
4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 | |