Skip to content

MainframeModernizationApplicationTestingClient#

Index > MainframeModernizationApplicationTesting > MainframeModernizationApplicationTestingClient

Auto-generated documentation for MainframeModernizationApplicationTesting type annotations stubs module mypy-boto3-apptest.

MainframeModernizationApplicationTestingClient#

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

# MainframeModernizationApplicationTestingClient usage example

from boto3.session import Session
from mypy_boto3_apptest.client import MainframeModernizationApplicationTestingClient

def get_apptest_client() -> MainframeModernizationApplicationTestingClient:
    return Session().client("apptest")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("apptest")

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

from mypy_boto3_apptest.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

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

# can_paginate method definition

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

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("apptest").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_test_case#

Creates a test case.

Type annotations and code completion for boto3.client("apptest").create_test_case method. boto3 documentation

# create_test_case method definition

def create_test_case(
    self,
    *,
    name: str,
    steps: Sequence[Union[StepTypeDef, StepOutputTypeDef]],  # (1)
    description: str = ...,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateTestCaseResponseTypeDef:  # (2)
    ...
  1. See StepTypeDef StepOutputTypeDef
  2. See CreateTestCaseResponseTypeDef
# create_test_case method usage example with argument unpacking

kwargs: CreateTestCaseRequestRequestTypeDef = {  # (1)
    "name": ...,
    "steps": ...,
}

parent.create_test_case(**kwargs)
  1. See CreateTestCaseRequestRequestTypeDef

create_test_configuration#

Creates a test configuration.

Type annotations and code completion for boto3.client("apptest").create_test_configuration method. boto3 documentation

# create_test_configuration method definition

def create_test_configuration(
    self,
    *,
    name: str,
    resources: Sequence[Union[ResourceTypeDef, ResourceOutputTypeDef]],  # (1)
    description: str = ...,
    properties: Mapping[str, str] = ...,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
    serviceSettings: ServiceSettingsTypeDef = ...,  # (2)
) -> CreateTestConfigurationResponseTypeDef:  # (3)
    ...
  1. See ResourceTypeDef ResourceOutputTypeDef
  2. See ServiceSettingsTypeDef
  3. See CreateTestConfigurationResponseTypeDef
# create_test_configuration method usage example with argument unpacking

kwargs: CreateTestConfigurationRequestRequestTypeDef = {  # (1)
    "name": ...,
    "resources": ...,
}

parent.create_test_configuration(**kwargs)
  1. See CreateTestConfigurationRequestRequestTypeDef

create_test_suite#

Creates a test suite.

Type annotations and code completion for boto3.client("apptest").create_test_suite method. boto3 documentation

# create_test_suite method definition

def create_test_suite(
    self,
    *,
    name: str,
    testCases: Union[TestCasesTypeDef, TestCasesOutputTypeDef],  # (1)
    description: str = ...,
    beforeSteps: Sequence[Union[StepTypeDef, StepOutputTypeDef]] = ...,  # (2)
    afterSteps: Sequence[Union[StepTypeDef, StepOutputTypeDef]] = ...,  # (2)
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateTestSuiteResponseTypeDef:  # (4)
    ...
  1. See TestCasesTypeDef TestCasesOutputTypeDef
  2. See StepTypeDef StepOutputTypeDef
  3. See StepTypeDef StepOutputTypeDef
  4. See CreateTestSuiteResponseTypeDef
# create_test_suite method usage example with argument unpacking

kwargs: CreateTestSuiteRequestRequestTypeDef = {  # (1)
    "name": ...,
    "testCases": ...,
}

parent.create_test_suite(**kwargs)
  1. See CreateTestSuiteRequestRequestTypeDef

delete_test_case#

Deletes a test case.

Type annotations and code completion for boto3.client("apptest").delete_test_case method. boto3 documentation

# delete_test_case method definition

def delete_test_case(
    self,
    *,
    testCaseId: str,
) -> Dict[str, Any]:
    ...
# delete_test_case method usage example with argument unpacking

kwargs: DeleteTestCaseRequestRequestTypeDef = {  # (1)
    "testCaseId": ...,
}

parent.delete_test_case(**kwargs)
  1. See DeleteTestCaseRequestRequestTypeDef

delete_test_configuration#

Deletes a test configuration.

Type annotations and code completion for boto3.client("apptest").delete_test_configuration method. boto3 documentation

# delete_test_configuration method definition

def delete_test_configuration(
    self,
    *,
    testConfigurationId: str,
) -> Dict[str, Any]:
    ...
# delete_test_configuration method usage example with argument unpacking

kwargs: DeleteTestConfigurationRequestRequestTypeDef = {  # (1)
    "testConfigurationId": ...,
}

parent.delete_test_configuration(**kwargs)
  1. See DeleteTestConfigurationRequestRequestTypeDef

delete_test_run#

Deletes a test run.

Type annotations and code completion for boto3.client("apptest").delete_test_run method. boto3 documentation

# delete_test_run method definition

def delete_test_run(
    self,
    *,
    testRunId: str,
) -> Dict[str, Any]:
    ...
# delete_test_run method usage example with argument unpacking

kwargs: DeleteTestRunRequestRequestTypeDef = {  # (1)
    "testRunId": ...,
}

parent.delete_test_run(**kwargs)
  1. See DeleteTestRunRequestRequestTypeDef

delete_test_suite#

Deletes a test suite.

Type annotations and code completion for boto3.client("apptest").delete_test_suite method. boto3 documentation

# delete_test_suite method definition

def delete_test_suite(
    self,
    *,
    testSuiteId: str,
) -> Dict[str, Any]:
    ...
# delete_test_suite method usage example with argument unpacking

kwargs: DeleteTestSuiteRequestRequestTypeDef = {  # (1)
    "testSuiteId": ...,
}

parent.delete_test_suite(**kwargs)
  1. See DeleteTestSuiteRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("apptest").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:
    ...

get_test_case#

Gets a test case.

Type annotations and code completion for boto3.client("apptest").get_test_case method. boto3 documentation

# get_test_case method definition

def get_test_case(
    self,
    *,
    testCaseId: str,
    testCaseVersion: int = ...,
) -> GetTestCaseResponseTypeDef:  # (1)
    ...
  1. See GetTestCaseResponseTypeDef
# get_test_case method usage example with argument unpacking

kwargs: GetTestCaseRequestRequestTypeDef = {  # (1)
    "testCaseId": ...,
}

parent.get_test_case(**kwargs)
  1. See GetTestCaseRequestRequestTypeDef

get_test_configuration#

Gets a test configuration.

Type annotations and code completion for boto3.client("apptest").get_test_configuration method.