DataAutomationforBedrock / Client / create_data_automation_library

create_data_automation_library

DataAutomationforBedrock.Client.create_data_automation_library(**kwargs)

Creates an Amazon Bedrock Data Automation Library

See also: AWS API Documentation

Request Syntax

response = client.create_data_automation_library(
    libraryName='string',
    libraryDescription='string',
    clientToken='string',
    encryptionConfiguration={
        'kmsKeyId': 'string',
        'kmsEncryptionContext': {
            'string': 'string'
        }
    },
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters:
  • libraryName (string) –

    [REQUIRED]

    Name of the DataAutomationLibrary

  • libraryDescription (string) – Description of the DataAutomationLibrary

  • clientToken (string) –

    Client specified token used for idempotency checks

    This field is autopopulated if not provided.

  • encryptionConfiguration (dict) –

    KMS Encryption Configuration

    • kmsKeyId (string) – [REQUIRED]

      KMS Key Identifier

    • kmsEncryptionContext (dict) –

      KMS Encryption Context

      • (string) –

        Encryption context key.

        • (string) –

          Encryption context value.

  • tags (list) –

    List of tags

    • (dict) –

      Key value pair of a tag

      • key (string) – [REQUIRED]

        Defines the context of the tag.

      • value (string) – [REQUIRED]

        Defines the value within the context. e.g. <key=reason, value=training>.

Return type:

dict

Returns:

Response Syntax

{
    'libraryArn': 'string',
    'status': 'ACTIVE'|'DELETING'
}

Response Structure

  • (dict) –

    Create DataAutomationLibrary Response

    • libraryArn (string) –

      ARN generated at the server side when a DataAutomationLibrary is created

    • status (string) –

      Status of DataAutomationLibrary

Exceptions

  • DataAutomationforBedrock.Client.exceptions.ServiceQuotaExceededException

  • DataAutomationforBedrock.Client.exceptions.ValidationException

  • DataAutomationforBedrock.Client.exceptions.ConflictException

  • DataAutomationforBedrock.Client.exceptions.InternalServerException

  • DataAutomationforBedrock.Client.exceptions.ThrottlingException

  • DataAutomationforBedrock.Client.exceptions.AccessDeniedException