update_app_version

ResilienceHub.Client.update_app_version(**kwargs)

Updates the AWS Resilience Hub application version.

Note

This API updates the AWS Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.

See also: AWS API Documentation

Request Syntax

response = client.update_app_version(
    additionalInfo={
        'string': [
            'string',
        ]
    },
    appArn='string'
)
Parameters
  • additionalInfo (dict) --

    Additional configuration parameters for an AWS Resilience Hub application.

    Note

    Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

    Key: "failover-regions"

    Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"

    • (string) --
      • (list) --
        • (string) --
  • 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.

Return type

dict

Returns

Response Syntax

{
    'additionalInfo': {
        'string': [
            'string',
        ]
    },
    'appArn': 'string',
    'appVersion': 'string'
}

Response Structure

  • (dict) --

    • additionalInfo (dict) --

      Additional configuration parameters for an AWS Resilience Hub application.

      Note

      Currently, this parameter supports only failover region and account.

      • (string) --
        • (list) --
          • (string) --
    • 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 AWS Resilience Hub application version.

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