Amazon Chime SDK Chime Messages API

The Chime Messages API from Amazon Chime SDK — 2 operation(s) for chime messages.

GitHub OpenAPI

Operations 5

DELETE /channels/{ChannelArn}/messages/{MessageId} Delete Channel Message #
GET /channels/{ChannelArn}/messages/{MessageId} Get Channel Message #
PUT /channels/{ChannelArn}/messages/{MessageId} Update Channel Message #
GET /channels/{ChannelArn}/messages List Channel Messages #
POST /channels/{ChannelArn}/messages Send Channel Message #

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-chime:amazon-chime-messages-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-chime-messages-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Chime SDK Meetings Messages API
  version: '2021-07-15'
  description: Generated from AWS's published Smithy model for Amazon Chime SDK Meetings. 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://messaging-chime.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /channels/{ChannelArn}/messages/{MessageId}:
    delete:
      operationId: DeleteChannelMessage
      summary: Delete Channel Message
      description: Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately.
        A background process deletes any revisions created by UpdateChannelMessage. The x-amz-chime-bearer request header
        is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeBadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeForbiddenException'
        '500':
          description: ServiceFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceFailureException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceUnavailableException'
        '429':
          description: ThrottledClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledClientException'
        '401':
          description: UnauthorizedClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedClientException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteChannelMessageRequest'
      tags:
      - Messages
    get:
      operationId: GetChannelMessage
      summary: Get Channel Message
      description: Gets the full details of a channel message. The x-amz-chime-bearer request header is mandatory. Use the
        ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChannelMessageResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeBadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeForbiddenException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeNotFoundException'
        '500':
          description: ServiceFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceFailureException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceUnavailableException'
        '429':
          description: ThrottledClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledClientException'
        '401':
          description: UnauthorizedClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedClientException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetChannelMessageRequest'
      tags:
      - Messages
    put:
      operationId: UpdateChannelMessage
      summary: Update Channel Message
      description: Updates the content of a message. The x-amz-chime-bearer request header is mandatory. Use the ARN of the
        AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateChannelMessageResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeBadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeConflictException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeForbiddenException'
        '500':
          description: ServiceFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceFailureException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceUnavailableException'
        '429':
          description: ThrottledClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledClientException'
        '401':
          description: UnauthorizedClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedClientException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateChannelMessageRequest'
      tags:
      - Messages
  /channels/{ChannelArn}/messages:
    get:
      operationId: ListChannelMessages
      summary: List Channel Messages
      description: List all the messages in a channel. Returns a paginated list of ChannelMessages. By default, sorted by
        creation timestamp in descending order. Redacted messages appear in the results as empty, since they are only redacted,
        not deleted. Deleted messages do not appear in the results. This action always returns the latest version of an edited
        message. Also, the x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot
        that makes the API call as the value in the header.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListChannelMessagesResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeBadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeForbiddenException'
        '500':
          description: ServiceFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceFailureException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceUnavailableException'
        '429':
          description: ThrottledClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledClientException'
        '401':
          description: UnauthorizedClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedClientException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListChannelMessagesRequest'
      tags:
      - Messages
    post:
      operationId: SendChannelMessage
      summary: Send Channel Message
      description: Sends a message to a particular channel that the member is a part of. The x-amz-chime-bearer request header
        is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
        Also, STANDARD messages can be up to 4KB in size and contain metadata. Metadata is arbitrary, and you can use it in
        a variety of ways, such as containing a link to an attachment. CONTROL messages are limited to 30 bytes and do not
        contain metadata.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendChannelMessageResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeBadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeConflictException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeForbiddenException'
        '500':
          description: ServiceFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceFailureException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessagingChimeServiceUnavailableException'
        '429':
          description: ThrottledClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottledClientException'
        '401':
          description: UnauthorizedClientException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedClientException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendChannelMessageRequest'
      tags:
      - Messages
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: chime
  schemas:
    ChannelMessage:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        MessageId:
          type: string
          description: The ID of a message.
        Content:
          type: string
          description: The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages
            originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon
            Chime SDK Messaging Developer Guide.
        Metadata:
          type: string
          description: The message metadata.
        Type:
          type: string
          enum:
          - STANDARD
          - CONTROL
          description: The message type.
        CreatedTimestamp:
          type: string
          format: date-time
          description: The time at which the message was created.
        LastEditedTimestamp:
          type: string
          format: date-time
          description: The time at which a message was edited.
        LastUpdatedTimestamp:
          type: string
          format: date-time
          description: The time at which a message was updated.
        Sender:
          $ref: '#/components/schemas/Identity'
        Redacted:
          type: boolean
          description: Hides the content of a message.
        Persistence:
          type: string
          enum:
          - PERSISTENT
          - NON_PERSISTENT
          description: The persistence setting for a channel message.
        Status:
          $ref: '#/components/schemas/ChannelMessageStatusStructure'
        MessageAttributes:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MessageAttributeValue'
          description: The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped
            to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in
            the Amazon Chime SDK Messaging Developer Guide.
        SubChannelId:
          type: string
          description: The ID of the SubChannel.
        ContentType:
          type: string
          description: The content type of the channel message. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs
            for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to
            Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.
        Target:
          type: array
          items:
            $ref: '#/components/schemas/Target'
          description: The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted
            messages. Only users who can see targeted messages can take actions on them. However, administrators can delete
            targeted messages that they can’t see.
    ChannelMessageStatusStructure:
      type: object
      properties:
        Value:
          type: string
          enum:
          - SENT
          - PENDING
          - FAILED
          - DENIED
          description: The message status value.
        Detail:
          type: string
          description: Contains more details about the message status.
    ChannelMessageSummary:
      type: object
      properties:
        MessageId:
          type: string
          description: The ID of the message.
        Content:
          type: string
          description: The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages
            originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon
            Chime SDK Messaging Developer Guide.
        Metadata:
          type: string
          description: The metadata of the message.
        Type:
          type: string
          enum:
          - STANDARD
          - CONTROL
          description: The type of message.
        CreatedTimestamp:
          type: string
          format: date-time
          description: The time at which the message summary was created.
        LastUpdatedTimestamp:
          type: string
          format: date-time
          description: The time at which a message was last updated.
        LastEditedTimestamp:
          type: string
          format: date-time
          description: The time at which a message was last edited.
        Sender:
          $ref: '#/components/schemas/Identity'
        Redacted:
          type: boolean
          description: Indicates whether a message was redacted.
        Status:
          $ref: '#/components/schemas/ChannelMessageStatusStructure'
        MessageAttributes:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MessageAttributeValue'
          description: The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped
            to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in
            the Amazon Chime SDK Messaging Developer Guide.
        ContentType:
          type: string
          description: The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the
            content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure
            responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK
            Messaging Developer Guide.
        Target:
          type: array
          items:
            $ref: '#/components/schemas/Target'
          description: The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted
            messages. Only users who can see targeted messages can take actions on them. However, administrators can delete
            targeted messages that they can’t see.
    DeleteChannelMessageRequest:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        MessageId:
          type: string
          description: The ID of the message being deleted.
        ChimeBearer:
          type: string
          description: The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the request. Only required when deleting messages in a SubChannel that
            the user belongs to.
      required:
      - ChannelArn
      - MessageId
      - ChimeBearer
    GetChannelMessageRequest:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        MessageId:
          type: string
          description: The ID of the message.
        ChimeBearer:
          type: string
          description: The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the request. Only required when getting messages in a SubChannel that the
            user belongs to.
      required:
      - ChannelArn
      - MessageId
      - ChimeBearer
    GetChannelMessageResponse:
      type: object
      properties:
        ChannelMessage:
          $ref: '#/components/schemas/ChannelMessage'
    Identity:
      type: object
      properties:
        Arn:
          type: string
          description: The ARN in an Identity.
        Name:
          type: string
          description: The name in an Identity.
    ListChannelMessagesRequest:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        SortOrder:
          type: string
          enum:
          - ASCENDING
          - DESCENDING
          description: The order in which you want messages sorted. Default is Descending, based on time created.
        NotBefore:
          type: string
          format: date-time
          description: The initial or starting time stamp for your requested messages.
        NotAfter:
          type: string
          format: date-time
          description: The final or ending time stamp for your requested messages.
        MaxResults:
          type: integer
          description: The maximum number of messages that you want returned.
        NextToken:
          type: string
          description: The token passed by previous API calls until all requested messages are returned.
        ChimeBearer:
          type: string
          description: The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the request. Only required when listing the messages in a SubChannel that
            the user belongs to.
      required:
      - ChannelArn
      - ChimeBearer
    ListChannelMessagesResponse:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel containing the requested messages.
        NextToken:
          type: string
          description: The token passed by previous API calls until all requested messages are returned.
        ChannelMessages:
          type: array
          items:
            $ref: '#/components/schemas/ChannelMessageSummary'
          description: The information about, and content of, each requested message.
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the response.
    MessageAttributeValue:
      type: object
      properties:
        StringValues:
          type: array
          items:
            type: string
          description: The strings in a message attribute value.
    MessagingChimeBadRequestException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    MessagingChimeConflictException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    MessagingChimeForbiddenException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    MessagingChimeNotFoundException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    MessagingChimeServiceFailureException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    MessagingChimeServiceUnavailableException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    PushNotificationConfiguration:
      type: object
      properties:
        Title:
          type: string
          description: The title of the push notification.
        Body:
          type: string
          description: The body of the push notification.
        Type:
          type: string
          enum:
          - DEFAULT
          - VOIP
          description: 'Enum value that indicates the type of the push notification for a message. DEFAULT: Normal mobile
            push notification. VOIP: VOIP mobile push notification.'
    SendChannelMessageRequest:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        Content:
          type: string
          description: The content of the channel message.
        Type:
          type: string
          enum:
          - STANDARD
          - CONTROL
          description: The type of message, STANDARD or CONTROL. STANDARD messages can be up to 4KB in size and contain metadata.
            Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment. CONTROL
            messages are limited to 30 bytes and do not contain metadata.
        Persistence:
          type: string
          enum:
          - PERSISTENT
          - NON_PERSISTENT
          description: Boolean that controls whether the message is persisted on the back end. Required.
        Metadata:
          type: string
          description: The optional metadata for each message.
        ClientRequestToken:
          type: string
          description: The Idempotency token for each client request.
        ChimeBearer:
          type: string
          description: The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
        PushNotification:
          $ref: '#/components/schemas/PushNotificationConfiguration'
        MessageAttributes:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/MessageAttributeValue'
          description: The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the request.
        ContentType:
          type: string
          description: The content type of the channel message.
        Target:
          type: array
          items:
            $ref: '#/components/schemas/Target'
          description: The target of a message. Must be a member of the channel, such as another user, a bot, or the sender.
            Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions
            on them. However, administrators can delete targeted messages that they can’t see.
      required:
      - ChannelArn
      - Content
      - Type
      - Persistence
      - ClientRequestToken
      - ChimeBearer
    SendChannelMessageResponse:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        MessageId:
          type: string
          description: The ID string assigned to each message.
        Status:
          $ref: '#/components/schemas/ChannelMessageStatusStructure'
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the response.
    Target:
      type: object
      properties:
        MemberArn:
          type: string
          description: The ARN of the target channel member.
    ThrottledClientException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    UnauthorizedClientException:
      type: object
      properties:
        Code:
          type: string
          enum:
          - BadRequest
          - Conflict
          - Forbidden
          - NotFound
          - PreconditionFailed
          - ResourceLimitExceeded
          - ServiceFailure
          - AccessDenied
          - ServiceUnavailable
          - Throttled
          - Throttling
          - Unauthorized
          - Unprocessable
          - VoiceConnectorGroupAssociationsExist
          - PhoneNumberAssociationsExist
        Message:
          type: string
    UpdateChannelMessageRequest:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        MessageId:
          type: string
          description: The ID string of the message being updated.
        Content:
          type: string
          description: The content of the channel message.
        Metadata:
          type: string
          description: The metadata of the message being updated.
        ChimeBearer:
          type: string
          description: The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the request. Only required when updating messages in a SubChannel that
            the user belongs to.
        ContentType:
          type: string
          description: The content type of the channel message.
      required:
      - ChannelArn
      - MessageId
      - Content
      - ChimeBearer
    UpdateChannelMessageResponse:
      type: object
      properties:
        ChannelArn:
          type: string
          description: The ARN of the channel.
        MessageId:
          type: string
          description: The ID string of the message being updated.
        Status:
          $ref: '#/components/schemas/ChannelMessageStatusStructure'
        SubChannelId:
          type: string
          description: The ID of the SubChannel in the response.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/chime-sdk-messaging/service/2021-05-15/chime-sdk-messaging-2021-05-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)