get_application_revision
async
¶
get_application_revision(
application_name: ApplicationName,
revision: RevisionLocation,
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = None,
) -> GetApplicationRevisionOutput
Gets information about an application revision.
Parameters:
-
application_name(ApplicationName) –The name of the application that corresponds to the revision.
-
revision(RevisionLocation) –Information about the application revision to get, including type and location.
Raises:
-
ApplicationDoesNotExistException–The application does not exist with the user or Amazon Web Services account.
-
ApplicationNameRequiredException–The minimum number of required application names was not specified.
-
InvalidApplicationNameException–The application name was specified in an invalid format.
-
InvalidRevisionException–The revision was specified in an invalid format.
-
RevisionDoesNotExistException–The named revision does not exist with the user or Amazon Web Services account.
-
RevisionRequiredException–The revision ID was not specified.
-
UnknownServiceError–The service returned an error code this client does not model.