ResilienceHubV2 / Client / create_user_journey

create_user_journey

ResilienceHubV2.Client.create_user_journey(**kwargs)

Creates a user journey within a system.

See also: AWS API Documentation

Request Syntax

response = client.create_user_journey(
    systemArn='string',
    name='string',
    description='string',
    policyArn='string',
    clientToken='string'
)
Parameters:
  • systemArn (string) –

    [REQUIRED]

    ARN identifier.

  • name (string) –

    [REQUIRED]

    Entity label (not part of ARN — spaces allowed).

  • description (string) – Resource description.

  • policyArn (string) – ARN identifier.

  • clientToken (string) –

    Idempotency token.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'userJourney': {
        'userJourneyId': 'string',
        'name': 'string',
        'description': 'string',
        'policyArn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • userJourney (dict) –

      The created user journey.

      • userJourneyId (string) –

        The unique identifier of the user journey.

      • name (string) –

        Entity label (not part of ARN — spaces allowed).

      • description (string) –

        Resource description.

      • policyArn (string) –

        ARN identifier.

      • createdAt (datetime) –

        The timestamp when the user journey was created.

      • updatedAt (datetime) –

        The timestamp when the user journey was last updated.

Exceptions

  • ResilienceHubV2.Client.exceptions.InternalServerException

  • ResilienceHubV2.Client.exceptions.ResourceNotFoundException

  • ResilienceHubV2.Client.exceptions.ValidationException

  • ResilienceHubV2.Client.exceptions.ConflictException

  • ResilienceHubV2.Client.exceptions.ServiceQuotaExceededException

  • ResilienceHubV2.Client.exceptions.AccessDeniedException