Amazon Q Data Sources API

The Data Sources API from Amazon Q — 1 operation(s) for data sources.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /applications/{applicationId}/indices/{indexId}/datasources Create a data source connector · Create Data Source #
Ask an LLM
“How do I connect my SharePoint or S3 bucket to Q Business?”
“Can I set a sync schedule when creating a data source?”
Tell an agent
Create data source {displayName} on index {indexId} in application {applicationId} with config {configuration}.
Add a {displayName} data source to index {indexId} of app {applicationId} using role {roleArn} and schedule {syncSchedule}.
GET /applications/{applicationId}/indices/{indexId}/datasources List data source connectors for an index · List Data Sources #
Ask an LLM
“Which data source connectors are attached to my Q Business index?”
“Can I see every data source connector for one index?”
Tell an agent
List data source connectors for index {indexId} in application {applicationId}.
Show up to {maxResults} data sources on index {indexId} of app {applicationId}.
GET /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId} Get a data source connector · Get Data Source #
Ask an LLM
“What configuration does a specific data source connector have?”
“Can I check the status of one data source connector?”
Tell an agent
Get data source {dataSourceId} on index {indexId} in application {applicationId}.
Show the configuration of data source connector {dataSourceId} for index {indexId} of app {applicationId}.
PUT /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId} Update a data source connector · Update Data Source #
Ask an LLM
“How do I change the sync schedule of an existing data source?”
“Can I rotate the IAM role on a data source connector?”
Tell an agent
Update data source {dataSourceId} on index {indexId} in application {applicationId} with schedule {syncSchedule}.
Change the role on data source connector {dataSourceId} for index {indexId} of app {applicationId} to {roleArn}.
DELETE /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId} Delete a data source connector · Delete Data Source #
Ask an LLM
“How do I remove a data source connector from Q Business?”
“What status does a data source show while it is being deleted?”
Tell an agent destructive · confirm first
Delete data source {dataSourceId} from index {indexId} in application {applicationId}.
Remove data source connector {dataSourceId} on index {indexId} of app {applicationId}.

Documentation

Specifications

SDKs

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-q:amazon-q-data-sources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-q-data-sources-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: QBusiness Data Sources API
  version: '2023-11-27'
  description: Generated from AWS's published Smithy model for QBusiness. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://qbusiness.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /applications/{applicationId}/indices/{indexId}/datasources:
    post:
      operationId: CreateDataSource
      summary: Create Data Source
      description: Creates a data source connector for an Amazon Q Business application. CreateDataSource is a synchronous
        operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDataSourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application the data source will be attached to.
      - name: indexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index that you want to use with the data source connector.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                displayName:
                  type: string
                  description: A name for the data source connector.
                configuration:
                  type: object
                  description: 'Configuration information to connect your data source repository to Amazon Q Business. Use
                    this parameter to provide a JSON schema with configuration information specific to your data source connector.
                    Each data source has a JSON schema provided by Amazon Q Business that you must use. For example, the Amazon
                    S3 and Web Crawler connectors require the following JSON schemas: Amazon S3 JSON schema Web Crawler JSON
                    schema You can find configuration templates for your specific data source using the following steps: Navigate
                    to the Supported connectors page in the Amazon Q Business User Guide, and s'
                vpcConfiguration:
                  $ref: '#/components/schemas/DataSourceVpcConfiguration'
                description:
                  type: string
                  description: A description for the data source connector.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: 'A list of key-value pairs that identify or categorize the data source connector. You can also
                    use tags to help control access to the data source connector. Tag keys and values can consist of Unicode
                    letters, digits, white space, and any of the following symbols: _ . : / = + - @.'
                syncSchedule:
                  type: string
                  description: Sets the frequency for Amazon Q Business to check the documents in your data source repository
                    and update your index. If you don't set a schedule, Amazon Q Business won't periodically update the index.
                    Specify a cron- format schedule string or an empty string to indicate that the index is updated on demand.
                    You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive
                    a ValidationException exception.
                roleArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and
                    required resources. This field is required for all connector types except custom connectors, where it
                    is optional.
                clientToken:
                  type: string
                  description: A token you provide to identify a request to create a data source connector. Multiple calls
                    to the CreateDataSource API with the same client token will create only one data source connector.
                documentEnrichmentConfiguration:
                  $ref: '#/components/schemas/DocumentEnrichmentConfiguration'
                mediaExtractionConfiguration:
                  $ref: '#/components/schemas/MediaExtractionConfiguration'
              required:
              - displayName
              - configuration
      tags:
      - Data Sources
    get:
      operationId: ListDataSources
      summary: List Data Sources
      description: Lists the Amazon Q Business data source connectors that you have created.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDataSourcesResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application linked to the data source connectors.
      - name: indexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index used with one or more data source connectors.
      - name: nextToken
        in: query
        schema:
          type: string
        description: If the maxResults response was incomplete because there is more data to retrieve, Amazon Q Business returns
          a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business
          data source connectors.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of data source connectors to return.
      tags:
      - Data Sources
  /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}:
    get:
      operationId: GetDataSource
      summary: Get Data Source
      description: Gets information about an existing Amazon Q Business data source connector.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDataSourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application.
      - name: indexId
        in: path
        required: true
        schema:
          type: string
        description: The identfier of the index used with the data source connector.
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the data source connector.
      tags:
      - Data Sources
    put:
      operationId: UpdateDataSource
      summary: Update Data Source
      description: Updates an existing Amazon Q Business data source connector.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateDataSourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application the data source is attached to.
      - name: indexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index attached to the data source connector.
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the data source connector.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                displayName:
                  type: string
                  description: A name of the data source connector.
                configuration:
                  type: object
                vpcConfiguration:
                  $ref: '#/components/schemas/DataSourceVpcConfiguration'
                description:
                  type: string
                  description: The description of the data source connector.
                syncSchedule:
                  type: string
                  description: The chosen update frequency for your data source.
                roleArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and
                    required resources.
                documentEnrichmentConfiguration:
                  $ref: '#/components/schemas/DocumentEnrichmentConfiguration'
                mediaExtractionConfiguration:
                  $ref: '#/components/schemas/MediaExtractionConfiguration'
      tags:
      - Data Sources
    delete:
      operationId: DeleteDataSource
      summary: Delete Data Source
      description: Deletes an Amazon Q Business data source connector. While the data source is being deleted, the Status
        field returned by a call to the DescribeDataSource API is set to DELETING.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDataSourceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: applicationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Amazon Q Business application used with the data source connector.
      - name: indexId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the index used with the data source connector.
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the data source connector that you want to delete.
      tags:
      - Data Sources
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: qbusiness
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    AudioExtractionConfiguration:
      type: object
      properties:
        audioExtractionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The status of audio extraction (ENABLED or DISABLED) for processing audio content from files.
      required:
      - audioExtractionStatus
    ConflictException:
      type: object
      properties:
        message:
          type: string
          description: The message describing a ConflictException.
        resourceId:
          type: string
          description: The identifier of the resource affected.
        resourceType:
          type: string
          description: The type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    CreateDataSourceResponse:
      type: object
      properties:
        dataSourceId:
          type: string
          description: The identifier of the data source connector.
        dataSourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of a data source in an Amazon Q Business application.
    DataSource:
      type: object
      properties:
        displayName:
          type: string
          description: The name of the Amazon Q Business data source.
        dataSourceId:
          type: string
          description: The identifier of the Amazon Q Business data source.
        type:
          type: string
          description: The type of the Amazon Q Business data source.
        createdAt:
          type: string
          format: date-time
          description: The Unix timestamp when the Amazon Q Business data source was created.
        updatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the Amazon Q Business data source was last updated.
        status:
          type: string
          enum:
          - PENDING_CREATION
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          - UPDATING
          description: The status of the Amazon Q Business data source.
    DataSourceVpcConfiguration:
      type: object
      properties:
        subnetIds:
          type: array
          items:
            type: string
          description: A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to
            each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
        securityGroupIds:
          type: array
          items:
            type: string
          description: A list of identifiers of security groups within your Amazon VPC. The security groups should enable
            Amazon Q Business to connect to the data source.
      required:
      - subnetIds
      - securityGroupIds
    DeleteDataSourceResponse:
      type: object
      properties: {}
    DocumentAttributeCondition:
      type: object
      properties:
        key:
          type: string
          description: The identifier of the document attribute used for the condition. For example, 'Source_URI' could be
            an identifier for the attribute or metadata field that contains source URIs associated with the documents. Amazon
            Q Business currently doesn't support _document_body as an attribute key used for the condition.
        operator:
          type: string
          enum:
          - GREATER_THAN
          - GREATER_THAN_OR_EQUALS
          - LESS_THAN
          - LESS_THAN_OR_EQUALS
          - EQUALS
          - NOT_EQUALS
          - CONTAINS
          - NOT_CONTAINS
          - EXISTS
          - NOT_EXISTS
          - BEGINS_WITH
          description: The identifier of the document attribute used for the condition. For example, 'Source_URI' could be
            an identifier for the attribute or metadata field that contains source URIs associated with the documents. Amazon
            Q Business currently does not support _document_body as an attribute key used for the condition.
        value:
          $ref: '#/components/schemas/DocumentAttributeValue'
      required:
      - key
      - operator
    DocumentAttributeTarget:
      type: object
      properties:
        key:
          type: string
          description: The identifier of the target document attribute or metadata field. For example, 'Department' could
            be an identifier for the target attribute or metadata field that includes the department names associated with
            the documents.
        value:
          $ref: '#/components/schemas/DocumentAttributeValue'
        attributeValueOperator:
          type: string
          enum:
          - DELETE
          description: TRUE to delete the existing target value for your specified target attribute key. You cannot create
            a target value and set this to TRUE.
      required:
      - key
    DocumentAttributeValue:
      type: object
      properties:
        stringValue:
          type: string
          description: A string.
        stringListValue:
          type: array
          items:
            type: string
          description: A list of strings.
        longValue:
          type: integer
          description: A long integer value.
        dateValue:
          type: string
          format: date-time
          description: A date expressed as an ISO 8601 string. It's important for the time zone to be included in the ISO
            8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th
            2012 at 12:30PM (plus 10 seconds) in Central European Time.
      description: Exactly one member is set.
    DocumentEnrichmentConfiguration:
      type: object
      properties:
        inlineConfigurations:
          type: array
          items:
            $ref: '#/components/schemas/InlineDocumentEnrichmentConfiguration'
          description: Configuration information to alter document attributes or metadata fields and content when ingesting
            documents into Amazon Q Business.
        preExtractionHookConfiguration:
          $ref: '#/components/schemas/HookConfiguration'
        postExtractionHookConfiguration:
          $ref: '#/components/schemas/HookConfiguration'
    ErrorDetail:
      type: object
      properties:
        errorMessage:
          type: string
          description: The message explaining the Amazon Q Business request error.
        errorCode:
          type: string
          enum:
          - InternalError
          - InvalidRequest
          - ResourceInactive
          - ResourceNotFound
          description: The code associated with the Amazon Q Business request error.
    GetDataSourceResponse:
      type: object
      properties:
        applicationId:
          type: string
          description: The identifier of the Amazon Q Business application.
        indexId:
          type: string
          description: The identifier of the index linked to the data source connector.
        dataSourceId:
          type: string
          description: The identifier of the data source connector.
        dataSourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the data source.
        displayName:
          type: string
          description: The name for the data source connector.
        type:
          type: string
          description: The type of the data source connector. For example, S3.
        configuration:
          type: object
          description: The details of how the data source connector is configured.
        vpcConfiguration:
          $ref: '#/components/schemas/DataSourceVpcConfiguration'
        createdAt:
          type: string
          format: date-time
          description: The Unix timestamp when the data source connector was created.
        updatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the data source connector was last updated.
        description:
          type: string
          description: The description for the data source connector.
        status:
          type: string
          enum:
          - PENDING_CREATION
          - CREATING
          - ACTIVE
          - DELETING
          - FAILED
          - UPDATING
          description: The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage
            field contains a description of the error that caused the data source connector to fail.
        syncSchedule:
          type: string
          description: The schedule for Amazon Q Business to update the index.
        roleArn:
          type: string
          description: The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
        error:
          $ref: '#/components/schemas/ErrorDetail'
        documentEnrichmentConfiguration:
          $ref: '#/components/schemas/DocumentEnrichmentConfiguration'
        mediaExtractionConfiguration:
          $ref: '#/components/schemas/MediaExtractionConfiguration'
    HookConfiguration:
      type: object
      properties:
        invocationCondition:
          $ref: '#/components/schemas/DocumentAttributeCondition'
        lambdaArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Lambda function during ingestion. For more information, see Using
            Lambda functions for Amazon Q Business document enrichment.
        s3BucketName:
          type: string
          description: Stores the original, raw documents or the structured, parsed documents before and after altering them.
            For more information, see Data contracts for Lambda functions.
        roleArn:
          type: string
          description: The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration and
            PostExtractionHookConfiguration for altering document metadata and content during the document ingestion process.
    ImageExtractionConfiguration:
      type: object
      properties:
        imageExtractionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Specify whether to extract semantic meaning from images and visuals from documents.
      required:
      - imageExtractionStatus
    InlineDocumentEnrichmentConfiguration:
      type: object
      properties:
        condition:
          $ref: '#/components/schemas/DocumentAttributeCondition'
        target:
          $ref: '#/components/schemas/DocumentAttributeTarget'
        documentContentOperator:
          type: string
          enum:
          - DELETE
          description: TRUE to delete content if the condition used for the target attribute is met.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListDataSourcesResponse:
      type: object
      properties:
        dataSources:
          type: array
          items:
            $ref: '#/components/schemas/DataSource'
          description: An array of summary information for one or more data source connector.
        nextToken:
          type: string
          description: If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent
            request to retrieve the next set of data source connectors.
    MediaExtractionConfiguration:
      type: object
      properties:
        imageExtractionConfiguration:
          $ref: '#/components/schemas/ImageExtractionConfiguration'
        audioExtractionConfiguration:
          $ref: '#/components/schemas/AudioExtractionConfiguration'
        videoExtractionConfiguration:
          $ref: '#/components/schemas/VideoExtractionConfiguration'
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The message describing a ResourceNotFoundException.
        resourceId:
          type: string
          description: The identifier of the resource affected.
        resourceType:
          type: string
          description: The type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
          description: The message describing a ServiceQuotaExceededException.
        resourceId:
          type: string
          description: The identifier of the resource affected.
        resourceType:
          type: string
          description: The type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    Tag:
      type: object
      properties:
        key:
          type: string
          description: The key for the tag. Keys are not case sensitive and must be unique for the Amazon Q Business application
            or data source.
        value:
          type: string
          description: The value associated with the tag. The value may be an empty string but it can't be null.
      required:
      - key
      - value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UpdateDataSourceResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        message:
          type: string
          description: The message describing the ValidationException.
        reason:
          type: string
          enum:
          - CANNOT_PARSE
          - FIELD_VALIDATION_FAILED
          - UNKNOWN_OPERATION
          description: The reason for the ValidationException.
        fields:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The input field(s) that failed validation.
      required:
      - message
      - reason
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The field name where the invalid entry was detected.
        message:
          type: string
          description: A message about the validation exception.
      required:
      - name
      - message
    VideoExtractionConfiguration:
      type: object
      properties:
        videoExtractionStatus:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: The status of video extraction (ENABLED or DISABLED) for processing video content from files.
      required:
      - videoExtractionStatus
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/qbusiness/service/2023-11-27/qbusiness-2023-11-27.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)