HealthImaging / Client / create_datastore

create_datastore#

HealthImaging.Client.create_datastore(**kwargs)#

Create a data store.

See also: AWS API Documentation

Request Syntax

response = client.create_datastore(
    datastoreName='string',
    clientToken='string',
    tags={
        'string': 'string'
    },
    kmsKeyArn='string'
)
Parameters:
  • datastoreName (string) – The data store name.

  • clientToken (string) –

    [REQUIRED]

    A unique identifier for API idempotency.

    This field is autopopulated if not provided.

  • tags (dict) –

    The tags provided when creating a data store.

    • (string) –

      • (string) –

  • kmsKeyArn (string) – The Amazon Resource Name (ARN) assigned to the AWS Key Management Service (AWS KMS) key for accessing encrypted data.

Return type:

dict

Returns:

Response Syntax

{
    'datastoreId': 'string',
    'datastoreStatus': 'CREATING'|'CREATE_FAILED'|'ACTIVE'|'DELETING'|'DELETED'
}

Response Structure

  • (dict) –

    • datastoreId (string) –

      The data store identifier.

    • datastoreStatus (string) –

      The data store status.

Exceptions

  • HealthImaging.Client.exceptions.ThrottlingException

  • HealthImaging.Client.exceptions.ConflictException

  • HealthImaging.Client.exceptions.AccessDeniedException

  • HealthImaging.Client.exceptions.ValidationException

  • HealthImaging.Client.exceptions.InternalServerException

  • HealthImaging.Client.exceptions.ServiceQuotaExceededException