update_application
async
¶
update_application(
application_id: Identifier,
current_application_version: Version,
*,
config_overrides: Optional[Asyncm2ClientConfig] = None,
description: Optional[EntityDescription] = None,
definition: Optional[Definition] = None,
) -> UpdateApplicationResponse
Updates an application and creates a new version.
Parameters:
-
application_id(Identifier) –The unique identifier of the application you want to update.
-
description(Optional[EntityDescription], default:None) –The description of the application to update.
-
current_application_version(Version) –The current version of the application to update.
-
definition(Optional[Definition], default:None) –The application definition for this application. You can specify either inline JSON or an S3 bucket location.
Raises:
-
AccessDeniedException–The account or role doesn't have the right permissions to make the request.
-
ConflictException–The parameters provided in the request conflict with existing resources.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The number of requests made exceeds the limit.
-
ValidationException–One or more parameters provided in the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.