2022/06/08 - AWSMainframeModernization - 32 new api methods
Changes AWS Mainframe Modernization service is a managed mainframe service and set of tools for planning, migrating, modernizing, and running mainframe workloads on AWS
Stops a running application.
See also: AWS API Documentation
Request Syntax
client.stop_application( applicationId='string', forceStop=True|False )
string
[REQUIRED]
The unique identifier of the application you want to stop.
boolean
Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.
dict
Response Syntax
{}
Response Structure
(dict) --
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
See also: AWS API Documentation
Request Syntax
client.get_data_set_import_task( applicationId='string', taskId='string' )
string
[REQUIRED]
The application identifier.
string
[REQUIRED]
The task identifier returned by the CreateDataSetImportTask operation.
dict
Response Syntax
{ 'status': 'Creating'|'Running'|'Completed', 'summary': { 'failed': 123, 'inProgress': 123, 'pending': 123, 'succeeded': 123, 'total': 123 }, 'taskId': 'string' }
Response Structure
(dict) --
status (string) --
The status of the task.
summary (dict) --
A summary of the status of the task.
failed (integer) --
The number of data set imports that have failed.
inProgress (integer) --
The number of data set imports that are in progress.
pending (integer) --
The number of data set imports that are pending.
succeeded (integer) --
The number of data set imports that have succeeded.
total (integer) --
The total number of data set imports.
taskId (string) --
The task identifier.
Gets the details of a specific batch job execution for a specific application.
See also: AWS API Documentation
Request Syntax
client.get_batch_job_execution( applicationId='string', executionId='string' )
string
[REQUIRED]
The identifier of the application.
string
[REQUIRED]
The unique identifier of the batch job execution.
dict
Response Syntax
{ 'applicationId': 'string', 'endTime': datetime(2015, 1, 1), 'executionId': 'string', 'jobId': 'string', 'jobName': 'string', 'jobType': 'VSE'|'JES2'|'JES3', 'jobUser': 'string', 'startTime': datetime(2015, 1, 1), 'status': 'Submitting'|'Holding'|'Dispatching'|'Running'|'Cancelling'|'Cancelled'|'Succeeded'|'Failed'|'Succeeded With Warning', 'statusReason': 'string' }
Response Structure
(dict) --
applicationId (string) --
The identifier of the application.
endTime (datetime) --
The timestamp when the batch job execution ended.
executionId (string) --
The unique identifier for this batch job execution.
jobId (string) --
The unique identifier for this batch job.
jobName (string) --
The name of this batch job.
jobType (string) --
The type of job.
jobUser (string) --
The user for the job.
startTime (datetime) --
The timestamp when the batch job execution started.
status (string) --
The status of the batch job execution.
statusReason (string) --
The reason for the reported status.
Lists the runtime environments.
See also: AWS API Documentation
Request Syntax
client.list_environments( engineType='microfocus'|'bluage', maxResults=123, names=[ 'string', ], nextToken='string' )
string
The engine type for the environment.
integer
The maximum number of environments to return.
list
The name of the environment.
(string) --
string
A pagination token to control the number of environments displayed in the list.
dict
Response Syntax
{ 'environments': [ { 'creationTime': datetime(2015, 1, 1), 'engineType': 'microfocus'|'bluage', 'engineVersion': 'string', 'environmentArn': 'string', 'environmentId': 'string', 'instanceType': 'string', 'name': 'string', 'status': 'Creating'|'Available'|'Deleting'|'Failed' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
environments (list) --
Returns a list of summary details for all the environments in your account.
(dict) --
Contains a subset of the possible environment attributes. Used in the environment list.
creationTime (datetime) --
The timestamp when the environment was created.
engineType (string) --
The target platform for the environment.
engineVersion (string) --
The version of the runtime engine.
environmentArn (string) --
The Amazon Resource Name (ARN) of a particular runtime environment.
environmentId (string) --
The unique identifier of a particular runtime environment.
instanceType (string) --
The instance type of the environment.
name (string) --
The name of the environment.
status (string) --
The status of the environment
nextToken (string) --
A pagination token that's returned when the response doesn't contain all the environments.
Gets details of a specific deployment with a given deployment identifier.
See also: AWS API Documentation
Request Syntax
client.get_deployment( applicationId='string', deploymentId='string' )
string
[REQUIRED]
The unique identifier of the application.
string
[REQUIRED]
The unique identifier for the deployment.
dict
Response Syntax
{ 'applicationId': 'string', 'applicationVersion': 123, 'creationTime': datetime(2015, 1, 1), 'deploymentId': 'string', 'environmentId': 'string', 'status': 'Deploying'|'Succeeded'|'Failed', 'statusReason': 'string' }
Response Structure
(dict) --
applicationId (string) --
The unique identifier of the application.
applicationVersion (integer) --
The application version.
creationTime (datetime) --
The timestamp when the deployment was created.
deploymentId (string) --
The unique identifier of the deployment.
environmentId (string) --
The unique identifier of the runtime environment.
status (string) --
The status of the deployment.
statusReason (string) --
The reason for the reported status.
Starts an application that is currently stopped.
See also: AWS API Documentation
Request Syntax
client.start_application( applicationId='string' )
string
[REQUIRED]
The unique identifier of the application you want to start.
dict
Response Syntax
{}
Response Structure
(dict) --
Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific environment in a query parameter to see all applications associated with that environment.
See also: AWS API Documentation
Request Syntax
client.list_applications( environmentId='string', maxResults=123, names=[ 'string', ], nextToken='string' )
string
The unique identifier of the runtime environment where the applications are deployed.
integer
The maximum number of applications to return.
list
The names of the applications.
(string) --
string
A pagination token to control the number of applications displayed in the list.
dict
Response Syntax
{ 'applications': [ { 'applicationArn': 'string', 'applicationId': 'string', 'applicationVersion': 123, 'creationTime': datetime(2015, 1, 1), 'deploymentStatus': 'Deploying'|'Deployed', 'description': 'string', 'engineType': 'microfocus'|'bluage', 'environmentId': 'string', 'lastStartTime': datetime(2015, 1, 1), 'name': 'string', 'status': 'Creating'|'Created'|'Available'|'Ready'|'Starting'|'Running'|'Stopping'|'Stopped'|'Failed'|'Deleting', 'versionStatus': 'Creating'|'Available'|'Failed' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
applications (list) --
Returns a list of summary details for all the applications in an environment.
(dict) --
A subset of the possible application attributes. Used in the application list.
applicationArn (string) --
The Amazon Resource Name (ARN) of the application.
applicationId (string) --
The unique identifier of the application.
applicationVersion (integer) --
The version of the application.
creationTime (datetime) --
The timestamp when the application was created.
deploymentStatus (string) --
Indicates whether there is an ongoing deployment or if the application has ever deployed successfully.
description (string) --
The description of the application.
engineType (string) --
The type of the target platform for this application.
environmentId (string) --
The unique identifier of the runtime environment that hosts this application.
lastStartTime (datetime) --
The timestamp when the application was last started. Null until the application has started running for the first time.
name (string) --
The name of the application.
status (string) --
The status of the application.
versionStatus (string) --
Indicates the status of the latest version of the application.
nextToken (string) --
A pagination token that's returned when the response doesn't contain all applications.
Returns details about a specific version of a specific application.
See also: AWS API Documentation
Request Syntax
client.get_application_version( applicationId='string', applicationVersion=123 )
string
[REQUIRED]
The unique identifier of the application.
integer
[REQUIRED]
The specific version of the application.
dict
Response Syntax
{ 'applicationVersion': 123, 'creationTime': datetime(2015, 1, 1), 'definitionContent': 'string', 'description': 'string', 'name': 'string', 'status': 'Creating'|'Available'|'Failed', 'statusReason': 'string' }
Response Structure
(dict) --
applicationVersion (integer) --
The specific version of the application.
creationTime (datetime) --
The timestamp when the application version was created.
definitionContent (string) --
The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.
description (string) --
The application description.
name (string) --
The name of the application version.
status (string) --
The status of the application version.
statusReason (string) --
The reason for the reported status.
Creates and starts a deployment to deploy an application into an environment.
See also: AWS API Documentation
Request Syntax
client.create_deployment( applicationId='string', applicationVersion=123, clientToken='string', environmentId='string' )
string
[REQUIRED]
The application identifier.
integer
[REQUIRED]
The version of the application to deploy.
string
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
This field is autopopulated if not provided.
string
[REQUIRED]
The identifier of the environment where this application will be deployed.
dict
Response Syntax
{ 'deploymentId': 'string' }
Response Structure
(dict) --
deploymentId (string) --
The unique identifier of the deployment.
Starts a batch job and returns the unique identifier of this execution of the batch job. The associated application must be running in order to start the batch job.
See also: AWS API Documentation
Request Syntax
client.start_batch_job( applicationId='string', batchJobIdentifier={ 'fileBatchJobIdentifier': { 'fileName': 'string', 'folderPath': 'string' }, 'scriptBatchJobIdentifier': { 'scriptName': 'string' } }, jobParams={ 'string': 'string' } )
string
[REQUIRED]
The unique identifier of the application associated with this batch job.
dict
[REQUIRED]
The unique identifier of the batch job.
fileBatchJobIdentifier (dict) --
Specifies a file associated with a specific batch job.
fileName (string) -- [REQUIRED]
The file name for the batch job identifier.
folderPath (string) --
The relative path to the file name for the batch job identifier.
scriptBatchJobIdentifier (dict) --
A batch job identifier in which the batch job to run is identified by the script name.
scriptName (string) -- [REQUIRED]
The name of the script containing the batch job definition.
dict
The collection of batch job parameters. For details about limits for keys and values, see Coding variables in JCL.
(string) --
Parameter key: the first character must be alphabetic. Can be of up to 8 alphanumeric characters.
(string) --
Parameter value can be of up to 44 alphanumeric characters.
dict
Response Syntax
{ 'executionId': 'string' }
Response Structure
(dict) --
executionId (string) --
The unique identifier of this execution of the batch job.
Lists historical, current, and scheduled batch job executions for a specific application.
See also: AWS API Documentation
Request Syntax
client.list_batch_job_executions( applicationId='string', executionIds=[ 'string', ], jobName='string', maxResults=123, nextToken='string', startedAfter=datetime(2015, 1, 1), startedBefore=datetime(2015, 1, 1), status='Submitting'|'Holding'|'Dispatching'|'Running'|'Cancelling'|'Cancelled'|'Succeeded'|'Failed'|'Succeeded With Warning' )
string
[REQUIRED]
The unique identifier of the application.
list
The unique identifier of each batch job execution.
(string) --
string
The name of each batch job execution.
integer
The maximum number of batch job executions to return.
string
A pagination token to control the number of batch job executions displayed in the list.
datetime
The time after which the batch job executions started.
datetime
The time before the batch job executions started.
string
The status of the batch job executions.
dict
Response Syntax
{ 'batchJobExecutions': [ { 'applicationId': 'string', 'endTime': datetime(2015, 1, 1), 'executionId': 'string', 'jobId': 'string', 'jobName': 'string', 'jobType': 'VSE'|'JES2'|'JES3', 'startTime': datetime(2015, 1, 1), 'status': 'Submitting'|'Holding'|'Dispatching'|'Running'|'Cancelling'|'Cancelled'|'Succeeded'|'Failed'|'Succeeded With Warning' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
batchJobExecutions (list) --
Returns a list of batch job executions for an application.
(dict) --
A subset of the possible batch job attributes. Used in the batch job list.
applicationId (string) --
The unique identifier of the application that hosts this batch job.
endTime (datetime) --
The timestamp when this batch job execution ended.
executionId (string) --
The unique identifier of this execution of the batch job.
jobId (string) --
The unique identifier of a particular batch job.
jobName (string) --
The name of a particular batch job.
jobType (string) --
The type of a particular batch job execution.
startTime (datetime) --
The timestamp when a particular batch job execution started.
status (string) --
The status of a particular batch job execution.
nextToken (string) --
A pagination token that's returned when the response doesn't contain all batch job executions.
Updates an application and creates a new version.
See also: AWS API Documentation
Request Syntax
client.update_application( applicationId='string', currentApplicationVersion=123, definition={ 'content': 'string', 's3Location': 'string' }, description='string' )
string
[REQUIRED]
The unique identifier of the application you want to update.
integer
[REQUIRED]
The current version of the application to update.
dict
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
content (string) --
The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.
s3Location (string) --
The S3 bucket that contains the application definition.
string
The description of the application to update.
dict
Response Syntax
{ 'applicationVersion': 123 }
Response Structure
(dict) --
applicationVersion (integer) --
The new version of the application.
Gets the details of a specific data set.
See also: AWS API Documentation
Request Syntax
client.get_data_set_details( applicationId='string', dataSetName='string' )
string
[REQUIRED]
The unique identifier of the application that this data set is associated with.
string
[REQUIRED]
The name of the data set.
dict
Response Syntax
{ 'blocksize': 123, 'creationTime': datetime(2015, 1, 1), 'dataSetName': 'string', 'dataSetOrg': { 'gdg': { 'limit': 123, 'rollDisposition': 'string' }, 'vsam': { 'alternateKeys': [ { 'allowDuplicates': True|False, 'length': 123, 'name': 'string', 'offset': 123 }, ], 'cacheAtStartup': True|False, 'compressed': True|False, 'encoding': 'string', 'primaryKey': { 'length': 123, 'name': 'string', 'offset': 123 }, 'recordFormat': 'string' } }, 'lastReferencedTime': datetime(2015, 1, 1), 'lastUpdatedTime': datetime(2015, 1, 1), 'location': 'string', 'recordLength': 123 }
Response Structure
(dict) --
blocksize (integer) --
The size of the block on disk.
creationTime (datetime) --
The timestamp when the data set was created.
dataSetName (string) --
The name of the data set.
dataSetOrg (dict) --
The type of data set. Possible values include VSAM, IS, PS, GDG, PO, PS, or unknown.
gdg (dict) --
The generation data group of the data set.
limit (integer) --
The maximum number of generation data sets, up to 255, in a GDG.
rollDisposition (string) --
The disposition of the data set in the catalog.
vsam (dict) --
The details of a VSAM data set.
alternateKeys (list) --
The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
(dict) --
Defines an alternate key. This value is optional. A legacy data set might not have any alternate key defined but if those alternate keys definitions exist, provide them, as some applications will make use of them.
allowDuplicates (boolean) --
Indicates whether the alternate key values are supposed to be unique for the given data set.
length (integer) --
A strictly positive integer value representing the length of the alternate key.
name (string) --
The name of the alternate key.
offset (integer) --
A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.
cacheAtStartup (boolean) --
If set to True, enforces loading the data set into cache before it’s used by the application.
compressed (boolean) --
Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
encoding (string) --
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
primaryKey (dict) --
The primary key of the data set.
length (integer) --
A strictly positive integer value representing the length of the primary key.
name (string) --
A name for the Primary Key.
offset (integer) --
A positive integer value representing the offset to mark the start of the primary key in the record byte array.
recordFormat (string) --
The record format of the data set.
lastReferencedTime (datetime) --
The last time the data set was referenced.
lastUpdatedTime (datetime) --
The last time the data set was updated.
location (string) --
The locaion where the data set is stored.
recordLength (integer) --
The length of records in the data set.
Deletes a specific application. You cannot delete a running application.
See also: AWS API Documentation
Request Syntax
client.delete_application( applicationId='string' )
string
[REQUIRED]
The unique identifier of the application you want to delete.
dict
Response Syntax
{}
Response Structure
(dict) --
Starts a data set import task for a specific application.
See also: AWS API Documentation
Request Syntax
client.create_data_set_import_task( applicationId='string', clientToken='string', importConfig={ 'dataSets': [ { 'dataSet': { 'datasetName': 'string', 'datasetOrg': { 'gdg': { 'limit': 123, 'rollDisposition': 'string' }, 'vsam': { 'alternateKeys': [ { 'allowDuplicates': True|False, 'length': 123, 'name': 'string', 'offset': 123 }, ], 'compressed': True|False, 'encoding': 'string', 'format': 'string', 'primaryKey': { 'length': 123, 'name': 'string', 'offset': 123 } } }, 'recordLength': { 'max': 123, 'min': 123 }, 'relativePath': 'string', 'storageType': 'string' }, 'externalLocation': { 's3Location': 'string' } }, ], 's3Location': 'string' } )
string
[REQUIRED]
The unique identifier of the application for which you want to import data sets.
string
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a data set import. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
This field is autopopulated if not provided.
dict
[REQUIRED]
The data set import task configuration.
dataSets (list) --
The data sets.
(dict) --
Identifies a specific data set to import from an external location.
dataSet (dict) -- [REQUIRED]
The data set.
datasetName (string) -- [REQUIRED]
The logical identifier for a specific data set (in mainframe format).
datasetOrg (dict) -- [REQUIRED]
The type of dataset. Possible values include VSAM, IS, PS, GDG, PO, PS, UNKNOWN etc.
gdg (dict) --
The generation data group of the data set.
limit (integer) --
The maximum number of generation data sets, up to 255, in a GDG.
rollDisposition (string) --
The disposition of the data set in the catalog.
vsam (dict) --
The details of a VSAM data set.
alternateKeys (list) --
The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
(dict) --
Defines an alternate key. This value is optional. A legacy data set might not have any alternate key defined but if those alternate keys definitions exist, provide them, as some applications will make use of them.
allowDuplicates (boolean) --
Indicates whether the alternate key values are supposed to be unique for the given data set.
length (integer) -- [REQUIRED]
A strictly positive integer value representing the length of the alternate key.
name (string) --
The name of the alternate key.
offset (integer) -- [REQUIRED]
A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.
compressed (boolean) --
Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
encoding (string) --
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
format (string) -- [REQUIRED]
The record format of the data set.
primaryKey (dict) --
The primary key of the data set.
length (integer) -- [REQUIRED]
A strictly positive integer value representing the length of the primary key.
name (string) --
A name for the Primary Key.
offset (integer) -- [REQUIRED]
A positive integer value representing the offset to mark the start of the primary key in the record byte array.
recordLength (dict) -- [REQUIRED]
The length of a record.
max (integer) -- [REQUIRED]
The maximum record length. In case of fixed, both minimum and maximum are the same.
min (integer) -- [REQUIRED]
The minimum record length of a record.
relativePath (string) --
The relative location of the data set in the database or file system.
storageType (string) --
The storage type of the data set: database or file system. For Micro Focus, database corresponds to datastore and file system corresponds to EFS/FSX. For Blu Age, there is no support of file system and database corresponds to Blusam.
externalLocation (dict) -- [REQUIRED]
The location of the data set.
s3Location (string) --
The URI of the Amazon S3 bucket.
s3Location (string) --
The Amazon S3 location of the data sets.
dict
Response Syntax
{ 'taskId': 'string' }
Response Structure
(dict) --
taskId (string) --
The task identifier. This operation is asynchronous. Use this identifier with the GetDataSetImportTask operation to obtain the status of this task.
Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. The listed batch job definitions can then be used to start a batch job.
See also: AWS API Documentation
Request Syntax
client.list_batch_job_definitions( applicationId='string', maxResults=123, nextToken='string', prefix='string' )
string
[REQUIRED]
The identifier of the application.
integer
The maximum number of batch job definitions to return.
string
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
string
If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.
dict
Response Syntax
{ 'batchJobDefinitions': [ { 'fileBatchJobDefinition': { 'fileName': 'string', 'folderPath': 'string' }, 'scriptBatchJobDefinition': { 'scriptName': 'string' } }, ], 'nextToken': 'string' }
Response Structure
(dict) --
batchJobDefinitions (list) --
The list of batch job definitions.
(dict) --
Defines the details of a batch job.
fileBatchJobDefinition (dict) --
Specifies a file containing a batch job definition.
fileName (string) --
The name of the file containing the batch job definition.
folderPath (string) --
The path to the file containing the batch job definition.
scriptBatchJobDefinition (dict) --
A script containing a batch job definition.
scriptName (string) --
The name of the script containing the batch job definition.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Describes a specific runtime environment.
See also: AWS API Documentation
Request Syntax
client.get_environment( environmentId='string' )
string
[REQUIRED]
The unique identifier of the runtime environment.
dict
Response Syntax
{ 'actualCapacity': 123, 'creationTime': datetime(2015, 1, 1), 'description': 'string', 'engineType': 'microfocus'|'bluage', 'engineVersion': 'string', 'environmentArn': 'string', 'environmentId': 'string', 'highAvailabilityConfig': { 'desiredCapacity': 123 }, 'instanceType': 'string', 'loadBalancerArn': 'string', 'name': 'string', 'pendingMaintenance': { 'engineVersion': 'string', 'schedule': { 'endTime': datetime(2015, 1, 1), 'startTime': datetime(2015, 1, 1) } }, 'preferredMaintenanceWindow': 'string', 'publiclyAccessible': True|False, 'securityGroupIds': [ 'string', ], 'status': 'Creating'|'Available'|'Deleting'|'Failed', 'statusReason': 'string', 'storageConfigurations': [ { 'efs': { 'fileSystemId': 'string', 'mountPoint': 'string' }, 'fsx': { 'fileSystemId': 'string', 'mountPoint': 'string' } }, ], 'subnetIds': [ 'string', ], 'tags': { 'string': 'string' }, 'vpcId': 'string' }
Response Structure
(dict) --
actualCapacity (integer) --
The number of instances included in the runtime environment. A standalone runtime environment has a maxiumum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
creationTime (datetime) --
The timestamp when the runtime environment was created.
description (string) --
The description of the runtime environment.
engineType (string) --
The target platform for the runtime environment.
engineVersion (string) --
The version of the runtime engine.
environmentArn (string) --
The Amazon Resource Name (ARN) of the runtime environment.
environmentId (string) --
The unique identifier of the runtime environment.
highAvailabilityConfig (dict) --
The desired capacity of the high availability configuration for the runtime environment.
desiredCapacity (integer) --
The number of instances in a high availability configuration.
instanceType (string) --
The type of instance underlying the runtime environment.
loadBalancerArn (string) --
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
name (string) --
The name of the runtime environment.
pendingMaintenance (dict) --
Indicates the pending maintenance scheduled on this environment.
engineVersion (string) --
The specific runtime engine that the maintenance schedule applies to.
schedule (dict) --
The maintenance schedule for the engine version.
endTime (datetime) --
The time the scheduled maintenance is to end.
startTime (datetime) --
The time the scheduled maintenance is to start.
preferredMaintenanceWindow (string) --
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
publiclyAccessible (boolean) --
Whether applications running in this runtime environment are publicly accessible.
securityGroupIds (list) --
The unique identifiers of the security groups assigned to this runtime environment.
(string) --
status (string) --
The status of the runtime environment.
statusReason (string) --
The reason for the reported status.
storageConfigurations (list) --
The storage configurations defined for the runtime environment.
(dict) --
Defines the storage configuration for an environment.
efs (dict) --
Defines the storage configuration for an Amazon EFS file system.
fileSystemId (string) --
The file system identifier.
mountPoint (string) --
The mount point for the file system.
fsx (dict) --
Defines the storage configuration for an Amazon FSx file system.
fileSystemId (string) --
The file system identifier.
mountPoint (string) --
The mount point for the file system.
subnetIds (list) --
The unique identifiers of the subnets assigned to this runtime environment.
(string) --
tags (dict) --
The tags defined for this runtime environment.
(string) --
(string) --
vpcId (string) --
The unique identifier for the VPC used with this runtime environment.
Adds one or more tags to the specified resource.
See also: AWS API Documentation
Request Syntax
client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
[REQUIRED]
The tags to add to the resource.
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Lists the available engine versions.
See also: AWS API Documentation
Request Syntax
client.list_engine_versions( engineType='microfocus'|'bluage', maxResults=123, nextToken='string' )
string
The type of target platform.
integer
The maximum number of objects to return.
string
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
dict
Response Syntax
{ 'engineVersions': [ { 'engineType': 'string', 'engineVersion': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
engineVersions (list) --
Returns the engine versions.
(dict) --
A subset of information about the engine version for a specific application.
engineType (string) --
The type of target platform for the application.
engineVersion (string) --
The version of the engine type used by the application.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Updates the configuration details for a specific environment.
See also: AWS API Documentation
Request Syntax
client.update_environment( applyDuringMaintenanceWindow=True|False, desiredCapacity=123, engineVersion='string', environmentId='string', instanceType='string', preferredMaintenanceWindow='string' )
boolean
Indicates whether to update the environment during the maintenance window. The default is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is provided in UpdateEnvironmentRequest, it will fail if applyDuringMaintenanceWindow is set to true.
integer
The desired capacity for the environment to update.
string
The version of the runtime engine for the environment.
string
[REQUIRED]
The unique identifier of the runtime environment that you want to update.
string
The instance type for the environment to update.
string
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
dict
Response Syntax
{ 'environmentId': 'string' }
Response Structure
(dict) --
environmentId (string) --
The unique identifier of the runtime environment that was updated.
Lists the data set imports for the specified application.
See also: AWS API Documentation
Request Syntax
client.list_data_set_import_history( applicationId='string', maxResults=123, nextToken='string' )
string
[REQUIRED]
The unique identifier of the application.
integer
The maximum number of objects to return.
string
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
dict
Response Syntax
{ 'dataSetImportTasks': [ { 'status': 'Creating'|'Running'|'Completed', 'summary': { 'failed': 123, 'inProgress': 123, 'pending': 123, 'succeeded': 123, 'total': 123 }, 'taskId': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
dataSetImportTasks (list) --
The data set import tasks.
(dict) --
Contains information about a data set import task.
status (string) --
The status of the data set import task.
summary (dict) --
A summary of the data set import task.
failed (integer) --
The number of data set imports that have failed.
inProgress (integer) --
The number of data set imports that are in progress.
pending (integer) --
The number of data set imports that are pending.
succeeded (integer) --
The number of data set imports that have succeeded.
total (integer) --
The total number of data set imports.
taskId (string) --
The identifier of the data set import task.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Lists the tags for the specified resource.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( resourceArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) --
tags (dict) --
The tags for the resource.
(string) --
(string) --
Creates a runtime environment for a given runtime engine.
See also: AWS API Documentation
Request Syntax
client.create_environment( clientToken='string', description='string', engineType='microfocus'|'bluage', engineVersion='string', highAvailabilityConfig={ 'desiredCapacity': 123 }, instanceType='string', name='string', preferredMaintenanceWindow='string', publiclyAccessible=True|False, securityGroupIds=[ 'string', ], storageConfigurations=[ { 'efs': { 'fileSystemId': 'string', 'mountPoint': 'string' }, 'fsx': { 'fileSystemId': 'string', 'mountPoint': 'string' } }, ], subnetIds=[ 'string', ], tags={ 'string': 'string' } )
string
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create an environment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
This field is autopopulated if not provided.
string
The description of the environment.
string
[REQUIRED]
The engine type for the environment.
string
The version of the engine type for the environment.
dict
The details of a high availability configuration for this runtime environment.
desiredCapacity (integer) -- [REQUIRED]
The number of instances in a high availability configuration.
string
[REQUIRED]
The type of instance for the environment.
string
[REQUIRED]
The unique identifier of the environment.
string
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
boolean
Specifies whether the environment is publicly accessible.
list
The list of security groups for the VPC associated with this environment.
(string) --
list
Optional. The storage configurations for this environment.
(dict) --
Defines the storage configuration for an environment.
efs (dict) --
Defines the storage configuration for an Amazon EFS file system.
fileSystemId (string) -- [REQUIRED]
The file system identifier.
mountPoint (string) -- [REQUIRED]
The mount point for the file system.
fsx (dict) --
Defines the storage configuration for an Amazon FSx file system.
fileSystemId (string) -- [REQUIRED]
The file system identifier.
mountPoint (string) -- [REQUIRED]
The mount point for the file system.
list
The list of subnets associated with the VPC for this environment.
(string) --
dict
The tags for the environment.
(string) --
(string) --
dict
Response Syntax
{ 'environmentId': 'string' }
Response Structure
(dict) --
environmentId (string) --
The identifier of this environment.
Deletes a specific environment. The environment cannot contain deployed applications. If it does, you must delete those applications before you delete the environment.
See also: AWS API Documentation
Request Syntax
client.delete_environment( environmentId='string' )
string
[REQUIRED]
The unique identifier of the runtime environment you want to delete.
dict
Response Syntax
{}
Response Structure
(dict) --
Creates a new application with given parameters. Requires an existing environment and application definition file.
See also: AWS API Documentation
Request Syntax
client.create_application( clientToken='string', definition={ 'content': 'string', 's3Location': 'string' }, description='string', engineType='microfocus'|'bluage', name='string', tags={ 'string': 'string' } )
string
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
This field is autopopulated if not provided.
dict
[REQUIRED]
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
content (string) --
The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.
s3Location (string) --
The S3 bucket that contains the application definition.
string
The description of the application.
string
[REQUIRED]
The type of the target platform for this application.
string
[REQUIRED]
The unique identifier of the application.
dict
A list of tags to apply to the application.
(string) --
(string) --
dict
Response Syntax
{ 'applicationArn': 'string', 'applicationId': 'string', 'applicationVersion': 123 }
Response Structure
(dict) --
applicationArn (string) --
The Amazon Resource Name (ARN) of the application.
applicationId (string) --
The unique application identifier.
applicationVersion (integer) --
The version number of the application.
Returns a list of the application versions for a specific application.
See also: AWS API Documentation
Request Syntax
client.list_application_versions( applicationId='string', maxResults=123, nextToken='string' )
string
[REQUIRED]
The unique identifier of the application.
integer
The maximum number of application versions to return.
string
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
dict
Response Syntax
{ 'applicationVersions': [ { 'applicationVersion': 123, 'creationTime': datetime(2015, 1, 1), 'status': 'Creating'|'Available'|'Failed', 'statusReason': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
applicationVersions (list) --
The list of application versions.
(dict) --
Defines an application version summary.
applicationVersion (integer) --
The application version.
creationTime (datetime) --
The timestamp when the application version was created.
status (string) --
The status of the application.
statusReason (string) --
The reason for the reported status.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Describes the details of a specific application.
See also: AWS API Documentation
Request Syntax
client.get_application( applicationId='string' )
string
[REQUIRED]
The identifier of the application.
dict
Response Syntax
{ 'applicationArn': 'string', 'applicationId': 'string', 'creationTime': datetime(2015, 1, 1), 'deployedVersion': { 'applicationVersion': 123, 'status': 'Deploying'|'Succeeded'|'Failed', 'statusReason': 'string' }, 'description': 'string', 'engineType': 'microfocus'|'bluage', 'environmentId': 'string', 'lastStartTime': datetime(2015, 1, 1), 'latestVersion': { 'applicationVersion': 123, 'creationTime': datetime(2015, 1, 1), 'status': 'Creating'|'Available'|'Failed', 'statusReason': 'string' }, 'listenerArns': [ 'string', ], 'listenerPorts': [ 123, ], 'loadBalancerDnsName': 'string', 'logGroups': [ { 'logGroupName': 'string', 'logType': 'string' }, ], 'name': 'string', 'status': 'Creating'|'Created'|'Available'|'Ready'|'Starting'|'Running'|'Stopping'|'Stopped'|'Failed'|'Deleting', 'statusReason': 'string', 'tags': { 'string': 'string' }, 'targetGroupArns': [ 'string', ] }
Response Structure
(dict) --
applicationArn (string) --
The Amazon Resource Name (ARN) of the application.
applicationId (string) --
The identifier of the application.
creationTime (datetime) --
The timestamp when this application was created.
deployedVersion (dict) --
The version of the application that is deployed.
applicationVersion (integer) --
The version of the deployed application.
status (string) --
The status of the deployment.
statusReason (string) --
The reason for the reported status.
description (string) --
The description of the application.
engineType (string) --
The type of the target platform for the application.
environmentId (string) --
The identifier of the environment where the application will be deployed.
lastStartTime (datetime) --
The timestamp when the application was last started. Null until the application has started running for the first time.
latestVersion (dict) --
The latest version of the application.
applicationVersion (integer) --
The application version.
creationTime (datetime) --
The timestamp when the application version was created.
status (string) --
The status of the application.
statusReason (string) --
The reason for the reported status.
listenerArns (list) --
The Amazon Resource Name (ARN) for the network load balancer listener created in your Amazon Web Services account. Amazon Web Services Mainframe Modernization creates this listener on your behalf the first time you deploy an application.
(string) --
listenerPorts (list) --
The port associated with the network load balancer listener created in your Amazon Web Services account.
(integer) --
loadBalancerDnsName (string) --
The public DNS name of the load balancer created in your Amazon Web Services account.
logGroups (list) --
The list of log summaries. Each log summary includes the log type as well as the log group identifier. These are CloudWatch logs. The Amazon Web Services Mainframe Modernization application log is pushed to CloudWatch under the customer's account.
(dict) --
A subset of the attributes about a log group. In CloudWatch a log group is a group of log streams that share the same retention, monitoring, and access control settings.
logGroupName (string) --
The name of the log group.
logType (string) --
The type of log.
name (string) --
The unique identifier of the application.
status (string) --
The status of the application.
statusReason (string) --
The reason for the reported status.
tags (dict) --
A list of tags associated with the application.
(string) --
(string) --
targetGroupArns (list) --
Returns the Amazon Resource Names (ARNs) of the target groups that are attached to the network load balancer.
(string) --
Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
See also: AWS API Documentation
Request Syntax
client.list_deployments( applicationId='string', maxResults=123, nextToken='string' )
string
[REQUIRED]
The application identifier.
integer
The maximum number of objects to return.
string
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
dict
Response Syntax
{ 'deployments': [ { 'applicationId': 'string', 'applicationVersion': 123, 'creationTime': datetime(2015, 1, 1), 'deploymentId': 'string', 'environmentId': 'string', 'status': 'Deploying'|'Succeeded'|'Failed', 'statusReason': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
deployments (list) --
The list of deployments that is returned.
(dict) --
A subset of information about a specific deployment.
applicationId (string) --
The unique identifier of the application.
applicationVersion (integer) --
The version of the application.
creationTime (datetime) --
The timestamp when the deployment was created.
deploymentId (string) --
The unique identifier of the deployment.
environmentId (string) --
The unique identifier of the environment.
status (string) --
The current status of the deployment.
statusReason (string) --
The reason for the reported status.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Cancels the running of a specific batch job execution.
See also: AWS API Documentation
Request Syntax
client.cancel_batch_job_execution( applicationId='string', executionId='string' )
string
[REQUIRED]
The unique identifier of the application.
string
[REQUIRED]
The unique identifier of the batch job execution.
dict
Response Syntax
{}
Response Structure
(dict) --
Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
See also: AWS API Documentation
Request Syntax
client.list_data_sets( applicationId='string', maxResults=123, nextToken='string', prefix='string' )
string
[REQUIRED]
The unique identifier of the application for which you want to list the associated data sets.
integer
The maximum number of objects to return.
string
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
string
The prefix of the data set name, which you can use to filter the list of data sets.
dict
Response Syntax
{ 'dataSets': [ { 'creationTime': datetime(2015, 1, 1), 'dataSetName': 'string', 'dataSetOrg': 'string', 'format': 'string', 'lastReferencedTime': datetime(2015, 1, 1), 'lastUpdatedTime': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) --
dataSets (list) --
The list of data sets, containing ionformation including the creating time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
(dict) --
A subset of the possible data set attributes.
creationTime (datetime) --
The timestamp when the data set was created.
dataSetName (string) --
The name of the data set.
dataSetOrg (string) --
The type of data set. Possible values include VSAM, IS, PS, GDG, PO, PS, or unknown.
format (string) --
The format of the data set.
lastReferencedTime (datetime) --
The last time the data set was referenced.
lastUpdatedTime (datetime) --
The last time the data set was updated.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Removes one or more tags from the specified resource.
See also: AWS API Documentation
Request Syntax
client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
list
[REQUIRED]
The keys of the tags to remove.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Deletes a specific application from a specified environment where it has been previously deployed. You cannot delete an environment using DeleteEnvironment, if any application has ever been deployed to it. This API removes the association of the application with the environment so you can delete the environment smoothly.
See also: AWS API Documentation
Request Syntax
client.delete_application_from_environment( applicationId='string', environmentId='string' )
string
[REQUIRED]
The unique identifier of the application you want to delete.
string
[REQUIRED]
The unique identifier of the runtime environment where the application was previously deployed.
dict
Response Syntax
{}
Response Structure
(dict) --