MainframeModernizationApplicationTesting / Client / get_test_configuration

get_test_configuration#

MainframeModernizationApplicationTesting.Client.get_test_configuration(**kwargs)#

Gets a test configuration.

See also: AWS API Documentation

Request Syntax

response = client.get_test_configuration(
    testConfigurationId='string',
    testConfigurationVersion=123
)
Parameters:
  • testConfigurationId (string) –

    [REQUIRED]

    The request test configuration ID.

  • testConfigurationVersion (integer) – The test configuration version.

Return type:

dict

Returns:

Response Syntax

{
    'testConfigurationId': 'string',
    'name': 'string',
    'testConfigurationArn': 'string',
    'latestVersion': {
        'version': 123,
        'status': 'Active'|'Deleting',
        'statusReason': 'string'
    },
    'testConfigurationVersion': 123,
    'status': 'Active'|'Deleting',
    'statusReason': 'string',
    'creationTime': datetime(2015, 1, 1),
    'lastUpdateTime': datetime(2015, 1, 1),
    'description': 'string',
    'resources': [
        {
            'name': 'string',
            'type': {
                'cloudFormation': {
                    'templateLocation': 'string',
                    'parameters': {
                        'string': 'string'
                    }
                },
                'm2ManagedApplication': {
                    'applicationId': 'string',
                    'runtime': 'MicroFocus',
                    'vpcEndpointServiceName': 'string',
                    'listenerPort': 'string'
                },
                'm2NonManagedApplication': {
                    'vpcEndpointServiceName': 'string',
                    'listenerPort': 'string',
                    'runtime': 'BluAge',
                    'webAppName': 'string'
                }
            }
        },
    ],
    'properties': {
        'string': 'string'
    },
    'tags': {
        'string': 'string'
    },
    'serviceSettings': {
        'kmsKeyId': 'string'
    }
}

Response Structure

  • (dict) –

    • testConfigurationId (string) –

      The response test configuration ID.

    • name (string) –

      The test configuration name

    • testConfigurationArn (string) –

      The test configuration Amazon Resource Name (ARN).

    • latestVersion (dict) –

      The latest version of the test configuration.

      • version (integer) –

        The version of the test configuration latest version.

      • status (string) –

        The status of the test configuration latest version.

      • statusReason (string) –

        The status reason of the test configuration latest version.

    • testConfigurationVersion (integer) –

      The test configuration version.

    • status (string) –

      The status of the test configuration.

    • statusReason (string) –

      The status reason of the test configuration.

    • creationTime (datetime) –

      The creation time of the test configuration.

    • lastUpdateTime (datetime) –

      The last update time of the test configuration.

    • description (string) –

      The description of the test configuration.

    • resources (list) –

      The resources of the test configuration.

      • (dict) –

        Specifies a resource.

        • name (string) –

          The name of the resource.

        • type (dict) –

          The type of the resource.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: cloudFormation, m2ManagedApplication, m2NonManagedApplication. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • cloudFormation (dict) –

            The CloudFormation template of the resource type.

            • templateLocation (string) –

              The template location of the CloudFormation template.

            • parameters (dict) –

              The CloudFormation properties in the CloudFormation template.

              • (string) –

                • (string) –

          • m2ManagedApplication (dict) –

            The AWS Mainframe Modernization managed application of the resource type.

            • applicationId (string) –

              The application ID of the AWS Mainframe Modernization managed application.

            • runtime (string) –

              The runtime of the AWS Mainframe Modernization managed application.

            • vpcEndpointServiceName (string) –

              The VPC endpoint service name of the AWS Mainframe Modernization managed application.

            • listenerPort (string) –

              The listener port of the AWS Mainframe Modernization managed application.

          • m2NonManagedApplication (dict) –

            The AWS Mainframe Modernization non-managed application of the resource type.

            • vpcEndpointServiceName (string) –

              The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.

            • listenerPort (string) –

              The listener port of the AWS Mainframe Modernization non-managed application.

            • runtime (string) –

              The runtime of the AWS Mainframe Modernization non-managed application.

            • webAppName (string) –

              The web application name of the AWS Mainframe Modernization non-managed application.

    • properties (dict) –

      The properties of the test configuration.

      • (string) –

        • (string) –

    • tags (dict) –

      The tags of the test configuration.

      • (string) –

        • (string) –

    • serviceSettings (dict) –

      The service settings of the test configuration.

      • kmsKeyId (string) –

        The KMS key ID of the service settings.

Exceptions

  • MainframeModernizationApplicationTesting.Client.exceptions.ThrottlingException

  • MainframeModernizationApplicationTesting.Client.exceptions.ResourceNotFoundException

  • MainframeModernizationApplicationTesting.Client.exceptions.AccessDeniedException

  • MainframeModernizationApplicationTesting.Client.exceptions.ValidationException

  • MainframeModernizationApplicationTesting.Client.exceptions.InternalServerException