MainframeModernizationApplicationTesting / Client / update_test_configuration

update_test_configuration#

MainframeModernizationApplicationTesting.Client.update_test_configuration(**kwargs)#

Updates a test configuration.

See also: AWS API Documentation

Request Syntax

response = client.update_test_configuration(
    testConfigurationId='string',
    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'
    },
    serviceSettings={
        'kmsKeyId': 'string'
    }
)
Parameters:
  • testConfigurationId (string) –

    [REQUIRED]

    The test configuration ID 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) – [REQUIRED]

        The name of the resource.

      • type (dict) – [REQUIRED]

        The type of the resource.

        Note

        This is a Tagged Union structure. Only one of the following top level keys can be set: cloudFormation, m2ManagedApplication, m2NonManagedApplication.

        • cloudFormation (dict) –

          The CloudFormation template of the resource type.

          • templateLocation (string) – [REQUIRED]

            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) – [REQUIRED]

            The application ID of the AWS Mainframe Modernization managed application.

          • runtime (string) – [REQUIRED]

            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) – [REQUIRED]

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

          • listenerPort (string) – [REQUIRED]

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

          • runtime (string) – [REQUIRED]

            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) –

  • serviceSettings (dict) –

    The service settings of the test configuration.

    • kmsKeyId (string) –

      The KMS key ID of the service settings.

Return type:

dict

Returns:

Response Syntax

{
    'testConfigurationId': 'string',
    'testConfigurationVersion': 123
}

Response Structure

  • (dict) –

    • testConfigurationId (string) –

      The configuration ID of the test configuration.

    • testConfigurationVersion (integer) –

      The configuration version of the test configuration.

Exceptions

  • MainframeModernizationApplicationTesting.Client.exceptions.ThrottlingException

  • MainframeModernizationApplicationTesting.Client.exceptions.ResourceNotFoundException

  • MainframeModernizationApplicationTesting.Client.exceptions.AccessDeniedException

  • MainframeModernizationApplicationTesting.Client.exceptions.ValidationException

  • MainframeModernizationApplicationTesting.Client.exceptions.ConflictException

  • MainframeModernizationApplicationTesting.Client.exceptions.InternalServerException