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',
    ],
    logicalStackNames=[
        'string',
    ],
    resourceGroupNames=[
        'string',
    ],
    resourceNames=[
        'string',
    ],
    terraformSourceNames=[
        'string',
    ]
)
Parameters
  • appArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the AWS 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 AWS General Reference guide.

  • appRegistryAppNames (list) --

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

    • (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) --

      The Amazon Resource Name (ARN) of the AWS 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 AWS General Reference guide.

    • appVersion (string) --

      The version of the application.

Exceptions

  • ResilienceHub.Client.exceptions.InternalServerException
  • ResilienceHub.Client.exceptions.ResourceNotFoundException
  • ResilienceHub.Client.exceptions.ConflictException
  • ResilienceHub.Client.exceptions.ThrottlingException
  • ResilienceHub.Client.exceptions.ValidationException
  • ResilienceHub.Client.exceptions.AccessDeniedException