Amazon Trusted Advisor AddAttachmentsToSet API

The AddAttachmentsToSet API from Amazon Trusted Advisor — 1 operation(s) for addattachmentstoset.

GitHub OpenAPI

Operations 1

POST /#AddAttachmentsToSet Add Attachments To Set #

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-trusted-advisor:amazon-trusted-advisor-addattachmentstoset-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-trusted-advisor-addattachmentstoset-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: TrustedAdvisor Public API Addattachmentstoset API
  version: '2022-09-15'
  description: Generated from AWS's published Smithy model for TrustedAdvisor Public API. 1 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://support.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#AddAttachmentsToSet:
    post:
      operationId: AddAttachmentsToSet
      summary: Add Attachments To Set
      description: Adds one or more attachments to an attachment set. An attachment set is a temporary container for attachments
        that you add to a case or case communication. The set is available for 1 hour after it's created. The expiryTime returned
        in the response is when the set expires. You must have an Amazon Web Services Business Support+, Amazon Web Services
        Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support API. If
        you're in an Amazon Web Services Region that doesn't offer one of these Amazon Web Services Support plans, or if you
        haven't transitioned to one of these plans, you can use the Amazon Web Services Support API with a Business, Enterprise
        On-Ramp, or Enterprise Support plan. If you call the Amazon Web Services Support API from an account that doesn't
        have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified
        Operations plan, the SubscriptionRequiredException error message appears. For information about changing your support
        plan, see Amazon Web Services Support.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AddAttachmentsToSetResponse'
        '400':
          description: AttachmentLimitExceeded; AttachmentSetExpired; AttachmentSetIdNotFound; AttachmentSetSizeLimitExceeded;
            DryRunOperationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AttachmentLimitExceeded'
        '500':
          description: InternalServerError
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSSupport_20130415.AddAttachmentsToSet
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/AddAttachmentsToSetRequest'
      tags:
      - Addattachmentstoset
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: support
  schemas:
    AddAttachmentsToSetRequest:
      type: object
      properties:
        attachmentSetId:
          type: string
          description: The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created,
            and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added
            to the specified set, if it exists.
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/Attachment'
          description: One or more attachments to add to the set. You can add up to three attachments per set. The size limit
            is 5 MB per attachment. In the Attachment object, use the data parameter to specify the contents of the attachment
            file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded
            string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.
        dryRun:
          type: boolean
          description: Specifies whether to validate the request without actually adding the attachments. When set to true,
            the request is validated but no attachments are stored, and the operation returns a DryRunOperationException.
            When omitted or set to false, the request runs normally.
      required:
      - attachments
    AddAttachmentsToSetResponse:
      type: object
      properties:
        attachmentSetId:
          type: string
          description: The ID of the attachment set. If an attachmentSetId was not specified, a new attachment set is created,
            and the ID of the set is returned in the response. If an attachmentSetId was specified, the attachments are added
            to the specified set, if it exists.
        expiryTime:
          type: string
          description: The time and date when the attachment set expires.
    Attachment:
      type: object
      properties:
        fileName:
          type: string
          description: The name of the attachment file.
        data:
          type: string
          format: byte
          description: The content of the attachment file.
    AttachmentLimitExceeded:
      type: object
      properties:
        message:
          type: string
          description: The limit for the number of attachment sets created in a short period of time has been exceeded.
    InternalServerError:
      type: object
      properties:
        message:
          type: string
          description: An internal server error occurred.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/support/service/2013-04-15/support-2013-04-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)