Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

M2

import { M2 } from "https://aws-api.deno.dev/v0.4/services/m2.ts?docs=full";
class M2 {
constructor(apiFactory: client.ApiFactory);
async cancelBatchJobExecution(params: CancelBatchJobExecutionRequest, opts?: client.RequestOptions): Promise<void>;
async createApplication(params: CreateApplicationRequest, opts?: client.RequestOptions): Promise<CreateApplicationResponse>;
async createDataSetImportTask(params: CreateDataSetImportTaskRequest, opts?: client.RequestOptions): Promise<CreateDataSetImportTaskResponse>;
async createDeployment(params: CreateDeploymentRequest, opts?: client.RequestOptions): Promise<CreateDeploymentResponse>;
async createEnvironment(params: CreateEnvironmentRequest, opts?: client.RequestOptions): Promise<CreateEnvironmentResponse>;
async deleteApplication(params: DeleteApplicationRequest, opts?: client.RequestOptions): Promise<void>;
async deleteApplicationFromEnvironment(params: DeleteApplicationFromEnvironmentRequest, opts?: client.RequestOptions): Promise<void>;
async deleteEnvironment(params: DeleteEnvironmentRequest, opts?: client.RequestOptions): Promise<void>;
async getApplication(params: GetApplicationRequest, opts?: client.RequestOptions): Promise<GetApplicationResponse>;
async getApplicationVersion(params: GetApplicationVersionRequest, opts?: client.RequestOptions): Promise<GetApplicationVersionResponse>;
async getBatchJobExecution(params: GetBatchJobExecutionRequest, opts?: client.RequestOptions): Promise<GetBatchJobExecutionResponse>;
async getDataSetDetails(params: GetDataSetDetailsRequest, opts?: client.RequestOptions): Promise<GetDataSetDetailsResponse>;
async getDataSetImportTask(params: GetDataSetImportTaskRequest, opts?: client.RequestOptions): Promise<GetDataSetImportTaskResponse>;
async getDeployment(params: GetDeploymentRequest, opts?: client.RequestOptions): Promise<GetDeploymentResponse>;
async getEnvironment(params: GetEnvironmentRequest, opts?: client.RequestOptions): Promise<GetEnvironmentResponse>;
async listApplications(params?: ListApplicationsRequest, opts?: client.RequestOptions): Promise<ListApplicationsResponse>;
async listApplicationVersions(params: ListApplicationVersionsRequest, opts?: client.RequestOptions): Promise<ListApplicationVersionsResponse>;
async listBatchJobDefinitions(params: ListBatchJobDefinitionsRequest, opts?: client.RequestOptions): Promise<ListBatchJobDefinitionsResponse>;
async listBatchJobExecutions(params: ListBatchJobExecutionsRequest, opts?: client.RequestOptions): Promise<ListBatchJobExecutionsResponse>;
async listDataSetImportHistory(params: ListDataSetImportHistoryRequest, opts?: client.RequestOptions): Promise<ListDataSetImportHistoryResponse>;
async listDataSets(params: ListDataSetsRequest, opts?: client.RequestOptions): Promise<ListDataSetsResponse>;
async listDeployments(params: ListDeploymentsRequest, opts?: client.RequestOptions): Promise<ListDeploymentsResponse>;
async listEngineVersions(params?: ListEngineVersionsRequest, opts?: client.RequestOptions): Promise<ListEngineVersionsResponse>;
async listEnvironments(params?: ListEnvironmentsRequest, opts?: client.RequestOptions): Promise<ListEnvironmentsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async startApplication(params: StartApplicationRequest, opts?: client.RequestOptions): Promise<void>;
async startBatchJob(params: StartBatchJobRequest, opts?: client.RequestOptions): Promise<StartBatchJobResponse>;
async stopApplication(params: StopApplicationRequest, opts?: client.RequestOptions): Promise<void>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateApplication(params: UpdateApplicationRequest, opts?: client.RequestOptions): Promise<UpdateApplicationResponse>;
async updateEnvironment(params: UpdateEnvironmentRequest, opts?: client.RequestOptions): Promise<UpdateEnvironmentResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new M2(apiFactory: client.ApiFactory)
[src]

§Methods

§
cancelBatchJobExecution(params: CancelBatchJobExecutionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Cancels the running of a specific batch job execution.

§

Creates a new application with given parameters. Requires an existing runtime environment and application definition file.

§

Starts a data set import task for a specific application.

§

Creates and starts a deployment to deploy an application into a runtime environment.

§

Creates a runtime environment for a given runtime engine.

§
deleteApplication(params: DeleteApplicationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a specific application. You cannot delete a running application.

§
deleteApplicationFromEnvironment(params: DeleteApplicationFromEnvironmentRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a specific application from the specific runtime environment where it was previously deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has ever been deployed to it. This API removes the association of the application with the runtime environment so you can delete the environment smoothly.

§
deleteEnvironment(params: DeleteEnvironmentRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a specific runtime environment. The environment cannot contain deployed applications. If it does, you must delete those applications before you delete the environment.

§

Describes the details of a specific application.

§

Returns details about a specific version of a specific application.

§

Gets the details of a specific batch job execution for a specific application.

§

Gets the details of a specific data set.

§

Gets the status of a data set import task initiated with the "CreateDataSetImportTask" operation.

§

Gets details of a specific deployment with a given deployment identifier.

§

Describes a specific runtime environment.

§

Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.

§

Returns a list of the application versions for a specific application.

§

Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.

§

Lists historical, current, and scheduled batch job executions for a specific application.

§

Lists the data set imports for the specified application.

§

Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.

§

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.

§

Lists the available engine versions.

§

Lists the runtime environments.

§

Lists the tags for the specified resource.

§
startApplication(params: StartApplicationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Starts an application that is currently stopped.

§

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.

§
stopApplication(params: StopApplicationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Stops a running application.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds one or more tags to the specified resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes one or more tags from the specified resource.

§

Updates an application and creates a new version.

§

Updates the configuration details for a specific runtime environment.

§Static Properties