update_application
(**kwargs)¶Updates an application and creates a new version.
See also: AWS API Documentation
Request Syntax
response = client.update_application(
applicationId='string',
currentApplicationVersion=123,
definition={
'content': 'string',
's3Location': 'string'
},
description='string'
)
[REQUIRED]
The unique identifier of the application you want to update.
[REQUIRED]
The current version of the application to update.
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set: content
, s3Location
.
The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.
The S3 bucket that contains the application definition.
dict
Response Syntax
{
'applicationVersion': 123
}
Response Structure
(dict) --
applicationVersion (integer) --
The new version of the application.
Exceptions
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.ConflictException
MainframeModernization.Client.exceptions.InternalServerException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.ResourceNotFoundException