register_application_revision
async
¶
register_application_revision(
application_name: ApplicationName,
revision: RevisionLocation,
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = None,
description: Optional[Description] = None,
) -> None
Registers with CodeDeploy a revision for the specified application.
Parameters:
-
application_name(ApplicationName) –The name of an CodeDeploy application associated with the user or Amazon Web Services account.
-
description(Optional[Description], default:None) –A comment about the revision.
-
revision(RevisionLocation) –Information about the application revision to register, 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.
-
DescriptionTooLongException–The description is too long.
-
InvalidApplicationNameException–The application name was specified in an invalid format.
-
InvalidRevisionException–The revision was specified in an invalid format.
-
RevisionRequiredException–The revision ID was not specified.
-
UnknownServiceError–The service returned an error code this client does not model.