ResilienceHub / Client / remove_draft_app_version_resource_mappings

remove_draft_app_version_resource_mappings#

ResilienceHub.Client.remove_draft_app_version_resource_mappings(**kwargs)#

Removes resource mappings from a draft application version.

See also: AWS API Documentation

Request Syntax

response = client.remove_draft_app_version_resource_mappings(
    appArn='string',
    appRegistryAppNames=[
        'string',
    ],
    eksSourceNames=[
        'string',
    ],
    logicalStackNames=[
        'string',
    ],
    resourceGroupNames=[
        'string',
    ],
    resourceNames=[
        'string',
    ],
    terraformSourceNames=[
        'string',
    ]
)
Parameters:
  • appArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub: region: account:app/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

  • appRegistryAppNames (list) –

    The names of the registered applications you want to remove from the resource mappings.

    • (string) –

  • eksSourceNames (list) –

    The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.

    Note

    This parameter accepts values in “eks-cluster/namespace” format.

    • (string) –

  • logicalStackNames (list) –

    The names of the CloudFormation stacks you want to remove from the resource mappings.

    • (string) –

  • resourceGroupNames (list) –

    The names of the resource groups you want to remove from the resource mappings.

    • (string) –

  • resourceNames (list) –

    The names of the resources you want to remove from the resource mappings.

    • (string) –

  • terraformSourceNames (list) –

    The names of the Terraform sources you want to remove from the resource mappings.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'appArn': 'string',
    'appVersion': 'string'
}

Response Structure

  • (dict) –

    • appArn (string) –

      Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub: region: account:app/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

    • appVersion (string) –

      The version of the application.

Exceptions