Skip to content

MainframeModernizationClient#

Index > MainframeModernization > MainframeModernizationClient

Auto-generated documentation for MainframeModernization type annotations stubs module types-boto3-m2.

MainframeModernizationClient#

Type annotations and code completion for boto3.client("m2"). boto3 documentation

# MainframeModernizationClient usage example

from boto3.session import Session
from types_boto3_m2.client import MainframeModernizationClient

def get_m2_client() -> MainframeModernizationClient:
    return Session().client("m2")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("m2").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("m2")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.ExecutionTimeoutException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ServiceUnavailableException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from types_boto3_m2.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("m2").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("m2").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

cancel_batch_job_execution#

Cancels the running of a specific batch job execution.

Type annotations and code completion for boto3.client("m2").cancel_batch_job_execution method. boto3 documentation

# cancel_batch_job_execution method definition

def cancel_batch_job_execution(
    self,
    *,
    applicationId: str,
    executionId: str,
    authSecretsManagerArn: str = ...,
) -> dict[str, Any]:
    ...
# cancel_batch_job_execution method usage example with argument unpacking

kwargs: CancelBatchJobExecutionRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "executionId": ...,
}

parent.cancel_batch_job_execution(**kwargs)
  1. See CancelBatchJobExecutionRequestRequestTypeDef

create_application#

Creates a new application with given parameters.

Type annotations and code completion for boto3.client("m2").create_application method. boto3 documentation

# create_application method definition

def create_application(
    self,
    *,
    definition: DefinitionTypeDef,  # (1)
    engineType: EngineTypeType,  # (2)
    name: str,
    clientToken: str = ...,
    description: str = ...,
    kmsKeyId: str = ...,
    roleArn: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef:  # (3)
    ...
  1. See DefinitionTypeDef
  2. See EngineTypeType
  3. See CreateApplicationResponseTypeDef
# create_application method usage example with argument unpacking

kwargs: CreateApplicationRequestRequestTypeDef = {  # (1)
    "definition": ...,
    "engineType": ...,
    "name": ...,
}

parent.create_application(**kwargs)
  1. See CreateApplicationRequestRequestTypeDef

create_data_set_import_task#

Starts a data set import task for a specific application.

Type annotations and code completion for boto3.client("m2").create_data_set_import_task method. boto3 documentation

# create_data_set_import_task method definition

def create_data_set_import_task(
    self,
    *,
    applicationId: str,
    importConfig: DataSetImportConfigTypeDef,  # (1)
    clientToken: str = ...,
) -> CreateDataSetImportTaskResponseTypeDef:  # (2)
    ...
  1. See DataSetImportConfigTypeDef
  2. See CreateDataSetImportTaskResponseTypeDef
# create_data_set_import_task method usage example with argument unpacking

kwargs: CreateDataSetImportTaskRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "importConfig": ...,
}

parent.create_data_set_import_task(**kwargs)
  1. See CreateDataSetImportTaskRequestRequestTypeDef

create_deployment#

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

Type annotations and code completion for boto3.client("m2").create_deployment method. boto3 documentation

# create_deployment method definition

def create_deployment(
    self,
    *,
    applicationId: str,
    applicationVersion: int,
    environmentId: str,
    clientToken: str = ...,
) -> CreateDeploymentResponseTypeDef:  # (1)
    ...
  1. See CreateDeploymentResponseTypeDef
# create_deployment method usage example with argument unpacking

kwargs: CreateDeploymentRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "applicationVersion": ...,
    "environmentId": ...,
}

parent.create_deployment(**kwargs)
  1. See CreateDeploymentRequestRequestTypeDef

create_environment#

Creates a runtime environment for a given runtime engine.

Type annotations and code completion for boto3.client("m2").create_environment method. boto3 documentation

# create_environment method definition

def create_environment(
    self,
    *,
    engineType: EngineTypeType,  # (1)
    instanceType: str,
    name: str,
    clientToken: str = ...,
    description: str = ...,
    engineVersion: str = ...,
    highAvailabilityConfig: HighAvailabilityConfigTypeDef = ...,  # (2)
    kmsKeyId: str = ...,
    networkType: NetworkTypeType = ...,  # (3)
    preferredMaintenanceWindow: str = ...,
    publiclyAccessible: bool = ...,
    securityGroupIds: Sequence[str] = ...,
    storageConfigurations: Sequence[StorageConfigurationTypeDef] = ...,  # (4)
    subnetIds: Sequence[str] = ...,
    tags: Mapping[str, str] = ...,
) -> CreateEnvironmentResponseTypeDef:  # (5)
    ...
  1. See EngineTypeType
  2. See HighAvailabilityConfigTypeDef
  3. See NetworkTypeType
  4. See StorageConfigurationTypeDef
  5. See CreateEnvironmentResponseTypeDef
# create_environment method usage example with argument unpacking

kwargs: CreateEnvironmentRequestRequestTypeDef = {  # (1)
    "engineType": ...,
    "instanceType": ...,
    "name": ...,
}

parent.create_environment(**kwargs)
  1. See CreateEnvironmentRequestRequestTypeDef

delete_application#

Deletes a specific application.

Type annotations and code completion for boto3.client("m2").delete_application method. boto3 documentation

# delete_application method definition

def delete_application(
    self,
    *,
    applicationId: str,
) -> dict[str, Any]:
    ...
# delete_application method usage example with argument unpacking

kwargs: DeleteApplicationRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.delete_application(**kwargs)
  1. See DeleteApplicationRequestRequestTypeDef

delete_application_from_environment#

Deletes a specific application from the specific runtime environment where it was previously deployed.

Type annotations and code completion for boto3.client("m2").delete_application_from_environment method. boto3 documentation

# delete_application_from_environment method definition

def delete_application_from_environment(
    self,
    *,
    applicationId: str,
    environmentId: str,
) -> dict[str, Any]:
    ...
# delete_application_from_environment method usage example with argument unpacking

kwargs: DeleteApplicationFromEnvironmentRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "environmentId": ...,
}

parent.delete_application_from_environment(**kwargs)
  1. See DeleteApplicationFromEnvironmentRequestRequestTypeDef

delete_environment#

Deletes a specific runtime environment.

Type annotations and code completion for boto3.client("m2").delete_environment method. boto3 documentation

# delete_environment method definition

def delete_environment(
    self,
    *,
    environmentId: str,
) -> dict[str, Any]:
    ...
# delete_environment method usage example with argument unpacking

kwargs: DeleteEnvironmentRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.delete_environment(**kwargs)
  1. See DeleteEnvironmentRequestRequestTypeDef

get_application#

Describes the details of a specific application.

Type annotations and code completion for boto3.client("m2").get_application method. boto3 documentation

# get_application method definition

def get_application(
    self,
    *,
    applicationId: str,
) -> GetApplicationResponseTypeDef:  # (1)
    ...
  1. See GetApplicationResponseTypeDef
# get_application method usage example with argument unpacking

kwargs: GetApplicationRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.get_application(**kwargs)
  1. See GetApplicationRequestRequestTypeDef

get_application_version#

Returns details about a specific version of a specific application.

Type annotations and code completion for boto3.client("m2").get_application_version method. boto3 documentation

# get_application_version method definition

def get_application_version(
    self,
    *,
    applicationId: str,
    applicationVersion: int,
) -> GetApplicationVersionResponseTypeDef:  # (1)
    ...
  1. See GetApplicationVersionResponseTypeDef
# get_application_version method usage example with argument unpacking

kwargs: GetApplicationVersionRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "applicationVersion": ...,
}

parent.get_application_version(**kwargs)
  1. See GetApplicationVersionRequestRequestTypeDef

get_batch_job_execution#

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

Type annotations and code completion for boto3.client("m2").get_batch_job_execution method. boto3 documentation

# get_batch_job_execution method definition

def get_batch_job_execution(
    self,
    *,
    applicationId: str,
    executionId: str,
) -> GetBatchJobExecutionResponseTypeDef:  # (1)
    ...
  1. See GetBatchJobExecutionResponseTypeDef
# get_batch_job_execution method usage example with argument unpacking

kwargs: GetBatchJobExecutionRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "executionId": ...,
}

parent.get_batch_job_execution(**kwargs)
  1. See GetBatchJobExecutionRequestRequestTypeDef

get_data_set_details#

Gets the details of a specific data set.

Type annotations and code completion for boto3.client("m2").get_data_set_details method. boto3 documentation

# get_data_set_details method definition

def get_data_set_details(
    self,
    *,
    applicationId: str,
    dataSetName: str,
) -> GetDataSetDetailsResponseTypeDef:  # (1)
    ...
  1. See GetDataSetDetailsResponseTypeDef
# get_data_set_details method usage example with argument unpacking

kwargs: GetDataSetDetailsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "dataSetName": ...,
}

parent.get_data_set_details(**kwargs)
  1. See GetDataSetDetailsRequestRequestTypeDef

get_data_set_import_task#

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

Type annotations and code completion for boto3.client("m2").get_data_set_import_task method. boto3 documentation

# get_data_set_import_task method definition

def get_data_set_import_task(
    self,
    *,
    applicationId: str,
    taskId: str,
) -> GetDataSetImportTaskResponseTypeDef:  # (1)
    ...
  1. See GetDataSetImportTaskResponseTypeDef
# get_data_set_import_task method usage example with argument unpacking

kwargs: GetDataSetImportTaskRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "taskId": ...,
}

parent.get_data_set_import_task(**kwargs)
  1. See GetDataSetImportTaskRequestRequestTypeDef

get_deployment#

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

Type annotations and code completion for boto3.client("m2").get_deployment method. boto3 documentation

# get_deployment method definition

def get_deployment(
    self,
    *,
    applicationId: str,
    deploymentId: str,
) -> GetDeploymentResponseTypeDef:  # (1)
    ...
  1. See GetDeploymentResponseTypeDef
# get_deployment method usage example with argument unpacking

kwargs: GetDeploymentRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "deploymentId": ...,
}

parent.get_deployment(**kwargs)
  1. See GetDeploymentRequestRequestTypeDef

get_environment#

Describes a specific runtime environment.

Type annotations and code completion for boto3.client("m2").get_environment method. boto3 documentation

# get_environment method definition

def get_environment(
    self,
    *,
    environmentId: str,
) -> GetEnvironmentResponseTypeDef:  # (1)
    ...
  1. See GetEnvironmentResponseTypeDef
# get_environment method usage example with argument unpacking

kwargs: GetEnvironmentRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.get_environment(**kwargs)
  1. See GetEnvironmentRequestRequestTypeDef

get_signed_bluinsights_url#

Gets a single sign-on URL that can be used to connect to AWS Blu Insights.

Type annotations and code completion for boto3.client("m2").get_signed_bluinsights_url method. boto3 documentation

# get_signed_bluinsights_url method definition

def get_signed_bluinsights_url(
    self,
) -> GetSignedBluinsightsUrlResponseTypeDef:  # (1)
    ...
  1. See GetSignedBluinsightsUrlResponseTypeDef

list_application_versions#

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

Type annotations and code completion for boto3.client("m2").list_application_versions method. boto3 documentation

# list_application_versions method definition

def list_application_versions(
    self,
    *,
    applicationId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListApplicationVersionsResponseTypeDef:  # (1)
    ...
  1. See ListApplicationVersionsResponseTypeDef
# list_application_versions method usage example with argument unpacking

kwargs: ListApplicationVersionsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.list_application_versions(**kwargs)
  1. See ListApplicationVersionsRequestRequestTypeDef

list_applications#

Lists the applications associated with a specific Amazon Web Services account.

Type annotations and code completion for boto3.client("m2").list_applications method. boto3 documentation

# list_applications method definition

def list_applications(
    self,
    *,
    environmentId: str = ...,
    maxResults: int = ...,
    names: Sequence[str] = ...,
    nextToken: str = ...,
) -> ListApplicationsResponseTypeDef:  # (1)
    ...
  1. See ListApplicationsResponseTypeDef
# list_applications method usage example with argument unpacking

kwargs: ListApplicationsRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.list_applications(**kwargs)
  1. See ListApplicationsRequestRequestTypeDef

list_batch_job_definitions#

Lists all the available batch job definitions based on the batch job resources uploaded during the application creation.

Type annotations and code completion for boto3.client("m2").list_batch_job_definitions method. boto3 documentation

# list_batch_job_definitions method definition

def list_batch_job_definitions(
    self,
    *,
    applicationId: str,
    maxResults: int = ...,
    nextToken: str = ...,
    prefix: str = ...,
) -> ListBatchJobDefinitionsResponseTypeDef:  # (1)
    ...
  1. See ListBatchJobDefinitionsResponseTypeDef
# list_batch_job_definitions method usage example with argument unpacking

kwargs: ListBatchJobDefinitionsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.list_batch_job_definitions(**kwargs)
  1. See ListBatchJobDefinitionsRequestRequestTypeDef

list_batch_job_executions#

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

Type annotations and code completion for boto3.client("m2").list_batch_job_executions method. boto3 documentation

# list_batch_job_executions method definition

def list_batch_job_executions(
    self,
    *,
    applicationId: str,
    executionIds: Sequence[str] = ...,
    jobName: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
    startedAfter: TimestampTypeDef = ...,
    startedBefore: TimestampTypeDef = ...,
    status: BatchJobExecutionStatusType = ...,  # (1)
) -> ListBatchJobExecutionsResponseTypeDef:  # (2)
    ...
  1. See BatchJobExecutionStatusType
  2. See ListBatchJobExecutionsResponseTypeDef
# list_batch_job_executions method usage example with argument unpacking

kwargs: ListBatchJobExecutionsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.list_batch_job_executions(**kwargs)
  1. See ListBatchJobExecutionsRequestRequestTypeDef

list_batch_job_restart_points#

Lists all the job steps for a JCL file to restart a batch job.

Type annotations and code completion for boto3.client("m2").list_batch_job_restart_points method. boto3 documentation

# list_batch_job_restart_points method definition

def list_batch_job_restart_points(
    self,
    *,
    applicationId: str,
    executionId: str,
    authSecretsManagerArn: str = ...,
) -> ListBatchJobRestartPointsResponseTypeDef:  # (1)
    ...
  1. See ListBatchJobRestartPointsResponseTypeDef
# list_batch_job_restart_points method usage example with argument unpacking

kwargs: ListBatchJobRestartPointsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "executionId": ...,
}

parent.list_batch_job_restart_points(**kwargs)
  1. See ListBatchJobRestartPointsRequestRequestTypeDef

list_data_set_import_history#

Lists the data set imports for the specified application.

Type annotations and code completion for boto3.client("m2").list_data_set_import_history method. boto3 documentation

# list_data_set_import_history method definition

def list_data_set_import_history(
    self,
    *,
    applicationId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListDataSetImportHistoryResponseTypeDef:  # (1)
    ...
  1. See ListDataSetImportHistoryResponseTypeDef
# list_data_set_import_history method usage example with argument unpacking

kwargs: ListDataSetImportHistoryRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.list_data_set_import_history(**kwargs)
  1. See ListDataSetImportHistoryRequestRequestTypeDef

list_data_sets#

Lists the data sets imported for a specific application.

Type annotations and code completion for boto3.client("m2").list_data_sets method. boto3 documentation

# list_data_sets method definition

def list_data_sets(
    self,
    *,
    applicationId: str,
    maxResults: int = ...,
    nameFilter: str = ...,
    nextToken: str = ...,
    prefix: str = ...,
) -> ListDataSetsResponseTypeDef:  # (1)
    ...
  1. See ListDataSetsResponseTypeDef
# list_data_sets method usage example with argument unpacking

kwargs: ListDataSetsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.list_data_sets(**kwargs)
  1. See ListDataSetsRequestRequestTypeDef

list_deployments#

Returns a list of all deployments of a specific application.

Type annotations and code completion for boto3.client("m2").list_deployments method. boto3 documentation

# list_deployments method definition

def list_deployments(
    self,
    *,
    applicationId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListDeploymentsResponseTypeDef:  # (1)
    ...
  1. See ListDeploymentsResponseTypeDef
# list_deployments method usage example with argument unpacking

kwargs: ListDeploymentsRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.list_deployments(**kwargs)
  1. See ListDeploymentsRequestRequestTypeDef

list_engine_versions#

Lists the available engine versions.

Type annotations and code completion for boto3.client("m2").list_engine_versions method. boto3 documentation

# list_engine_versions method definition

def list_engine_versions(
    self,
    *,
    engineType: EngineTypeType = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListEngineVersionsResponseTypeDef:  # (2)
    ...
  1. See EngineTypeType
  2. See ListEngineVersionsResponseTypeDef
# list_engine_versions method usage example with argument unpacking

kwargs: ListEngineVersionsRequestRequestTypeDef = {  # (1)
    "engineType": ...,
}

parent.list_engine_versions(**kwargs)
  1. See ListEngineVersionsRequestRequestTypeDef

list_environments#

Lists the runtime environments.

Type annotations and code completion for boto3.client("m2").list_environments method. boto3 documentation

# list_environments method definition

def list_environments(
    self,
    *,
    engineType: EngineTypeType = ...,  # (1)
    maxResults: int = ...,
    names: Sequence[str] = ...,
    nextToken: str = ...,
) -> ListEnvironmentsResponseTypeDef:  # (2)
    ...
  1. See EngineTypeType
  2. See ListEnvironmentsResponseTypeDef
# list_environments method usage example with argument unpacking

kwargs: ListEnvironmentsRequestRequestTypeDef = {  # (1)
    "engineType": ...,
}

parent.list_environments(**kwargs)
  1. See ListEnvironmentsRequestRequestTypeDef

list_tags_for_resource#

Lists the tags for the specified resource.

Type annotations and code completion for boto3.client("m2").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

start_application#

Starts an application that is currently stopped.

Type annotations and code completion for boto3.client("m2").start_application method. boto3 documentation

# start_application method definition

def start_application(
    self,
    *,
    applicationId: str,
) -> dict[str, Any]:
    ...
# start_application method usage example with argument unpacking

kwargs: StartApplicationRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.start_application(**kwargs)
  1. See StartApplicationRequestRequestTypeDef

start_batch_job#

Starts a batch job and returns the unique identifier of this execution of the batch job.

Type annotations and code completion for boto3.client("m2").start_batch_job method. boto3 documentation

# start_batch_job method definition

def start_batch_job(
    self,
    *,
    applicationId: str,
    batchJobIdentifier: BatchJobIdentifierTypeDef,  # (1)
    authSecretsManagerArn: str = ...,
    jobParams: Mapping[str, str] = ...,
) -> StartBatchJobResponseTypeDef:  # (2)
    ...
  1. See BatchJobIdentifierTypeDef
  2. See StartBatchJobResponseTypeDef
# start_batch_job method usage example with argument unpacking

kwargs: StartBatchJobRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "batchJobIdentifier": ...,
}

parent.start_batch_job(**kwargs)
  1. See StartBatchJobRequestRequestTypeDef

stop_application#

Stops a running application.

Type annotations and code completion for boto3.client("m2").stop_application method. boto3 documentation

# stop_application method definition

def stop_application(
    self,
    *,
    applicationId: str,
    forceStop: bool = ...,
) -> dict[str, Any]:
    ...
# stop_application method usage example with argument unpacking

kwargs: StopApplicationRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.stop_application(**kwargs)
  1. See StopApplicationRequestRequestTypeDef

tag_resource#

Adds one or more tags to the specified resource.

Type annotations and code completion for boto3.client("m2").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes one or more tags from the specified resource.

Type annotations and code completion for boto3.client("m2").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_application#

Updates an application and creates a new version.

Type annotations and code completion for boto3.client("m2").update_application method. boto3 documentation

# update_application method definition

def update_application(
    self,
    *,
    applicationId: str,
    currentApplicationVersion: int,
    definition: DefinitionTypeDef = ...,  # (1)
    description: str = ...,
) -> UpdateApplicationResponseTypeDef:  # (2)
    ...
  1. See DefinitionTypeDef
  2. See UpdateApplicationResponseTypeDef
# update_application method usage example with argument unpacking

kwargs: UpdateApplicationRequestRequestTypeDef = {  # (1)
    "applicationId": ...,
    "currentApplicationVersion": ...,
}

parent.update_application(**kwargs)
  1. See UpdateApplicationRequestRequestTypeDef

update_environment#

Updates the configuration details for a specific runtime environment.

Type annotations and code completion for boto3.client("m2").update_environment method. boto3 documentation

# update_environment method definition

def update_environment(
    self,
    *,
    environmentId: str,
    applyDuringMaintenanceWindow: bool = ...,
    desiredCapacity: int = ...,
    engineVersion: str = ...,
    forceUpdate: bool = ...,
    instanceType: str = ...,
    preferredMaintenanceWindow: str = ...,
) -> UpdateEnvironmentResponseTypeDef:  # (1)
    ...
  1. See UpdateEnvironmentResponseTypeDef
# update_environment method usage example with argument unpacking

kwargs: UpdateEnvironmentRequestRequestTypeDef = {  # (1)
    "environmentId": ...,
}

parent.update_environment(**kwargs)
  1. See UpdateEnvironmentRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("m2").get_paginator method with overloads.