Amazon DataSync Datasync Agent API

The Datasync Agent API from Amazon DataSync — 4 operation(s) for datasync agent.

GitHub OpenAPI

Operations 5

POST /#CreateAgent Create Agent #
POST /#DeleteAgent Delete Agent #
POST /#DescribeAgent Describe Agent #
POST /#ListAgents List Agents #
POST /#UpdateAgent Update Agent #

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-datasync:amazon-datasync-agent-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-datasync-agent-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS DataSync Agent API
  version: '2018-11-09'
  description: Generated from AWS's published Smithy model for AWS DataSync. 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://datasync.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateAgent:
    post:
      operationId: CreateAgent
      summary: Create Agent
      description: Activates an DataSync agent that you deploy in your storage environment. The activation process associates
        the agent with your Amazon Web Services account. If you haven't deployed an agent yet, see Do I need a DataSync agent?
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateAgentResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - FmrsService.CreateAgent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateAgentRequest'
      tags:
      - Agent
  /#DeleteAgent:
    post:
      operationId: DeleteAgent
      summary: Delete Agent
      description: Removes an DataSync agent resource from your Amazon Web Services account. Keep in mind that this operation
        (which can't be undone) doesn't remove the agent's virtual machine (VM) or Amazon EC2 instance from your storage environment.
        For next steps, you can delete the VM or instance from your storage environment or reuse it to activate a new agent.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteAgentResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - FmrsService.DeleteAgent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteAgentRequest'
      tags:
      - Agent
  /#DescribeAgent:
    post:
      operationId: DescribeAgent
      summary: Describe Agent
      description: Returns information about an DataSync agent, such as its name, service endpoint type, and status.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeAgentResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - FmrsService.DescribeAgent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeAgentRequest'
      tags:
      - Agent
  /#ListAgents:
    post:
      operationId: ListAgents
      summary: List Agents
      description: Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services
        Region specified in the request. With pagination, you can reduce the number of agents returned in a response. If you
        get a truncated list of agents in a response, the response contains a marker that you can specify in your next request
        to fetch the next page of agents.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListAgentsResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - FmrsService.ListAgents
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListAgentsRequest'
      tags:
      - Agent
  /#UpdateAgent:
    post:
      operationId: UpdateAgent
      summary: Update Agent
      description: Updates the name of an DataSync agent.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/UpdateAgentResponse'
        '500':
          description: InternalException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalException'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - FmrsService.UpdateAgent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateAgentRequest'
      tags:
      - Agent
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: datasync
  schemas:
    AgentListEntry:
      type: object
      properties:
        AgentArn:
          type: string
          description: The Amazon Resource Name (ARN) of a DataSync agent.
        Name:
          type: string
          description: The name of an agent.
        Status:
          type: string
          enum:
          - ONLINE
          - OFFLINE
          description: The status of an agent. If the status is ONLINE, the agent is configured properly and ready to use.
            If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or longer. This can
            happen for a few reasons. For more information, see What do I do if my agent is offline?
        Platform:
          $ref: '#/components/schemas/Platform'
    CreateAgentRequest:
      type: object
      properties:
        ActivationKey:
          type: string
          description: Specifies your DataSync agent's activation key. If you don't have an activation key, see Activating
            your agent.
        AgentName:
          type: string
          description: Specifies a name for your agent. We recommend specifying a name that you can remember.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/TagListEntry'
          description: Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
            We recommend creating at least one tag for your agent.
        VpcEndpointId:
          type: string
          description: Specifies the ID of the VPC service endpoint that you're using. For example, a VPC endpoint ID looks
            like vpce-01234d5aff67890e1. The VPC service endpoint you use must include the DataSync service name (for example,
            com.amazonaws.us-east-2.datasync). The endpoint ID is informational. DataSync doesn't verify it or use it to connect
            to your agent. For more information, see Using a single VPC service endpoint across multiple subnets.
        SubnetArns:
          type: array
          items:
            type: string
          description: Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer
            traffic for your tasks. You can only specify one ARN. The subnet doesn't have to be the subnet that contains your
            VPC service endpoint. The subnet can be one that another Amazon Web Services account shared with you through RAM,
            in which case the ARN must specify the account that owns the subnet. For more information, see Using a single
            VPC service endpoint across multiple subnets.
        SecurityGroupArns:
          type: array
          items:
            type: string
          description: Specifies the Amazon Resource Name (ARN) of the security group that allows traffic between your agent
            and VPC service endpoint. You can only specify one ARN. The ARN must specify your own account, even when the security
            group was shared with you from the account that owns the VPC. The security group must belong to the same VPC as
            the subnet that you specify in SubnetArns.
      required:
      - ActivationKey
    CreateAgentResponse:
      type: object
      properties:
        AgentArn:
          type: string
          description: The ARN of the agent that you just activated. Use the ListAgents operation to return a list of agents
            in your Amazon Web Services account and Amazon Web Services Region.
    DeleteAgentRequest:
      type: object
      properties:
        AgentArn:
          type: string
          description: The Amazon Resource Name (ARN) of the agent to delete. Use the ListAgents operation to return a list
            of agents for your account and Amazon Web Services Region.
      required:
      - AgentArn
    DeleteAgentResponse:
      type: object
      properties: {}
    DescribeAgentRequest:
      type: object
      properties:
        AgentArn:
          type: string
          description: Specifies the Amazon Resource Name (ARN) of the DataSync agent that you want information about.
      required:
      - AgentArn
    DescribeAgentResponse:
      type: object
      properties:
        AgentArn:
          type: string
          description: The ARN of the agent.
        Name:
          type: string
          description: The name of the agent.
        Status:
          type: string
          enum:
          - ONLINE
          - OFFLINE
          description: The status of the agent. If the status is ONLINE, the agent is configured properly and ready to use.
            If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or longer. This can
            happen for a few reasons. For more information, see What do I do if my agent is offline?
        LastConnectionTime:
          type: string
          format: date-time
          description: The last time that the agent was communicating with the DataSync service.
        CreationTime:
          type: string
          format: date-time
          description: The time that the agent was activated.
        EndpointType:
          type: string
          enum:
          - PUBLIC
          - PRIVATE_LINK
          - FIPS
          - FIPS_PRIVATE_LINK
          description: The type of service endpoint that your agent is connected to.
        PrivateLinkConfig:
          $ref: '#/components/schemas/PrivateLinkConfig'
        Platform:
          $ref: '#/components/schemas/Platform'
    InternalException:
      type: object
      properties:
        message:
          type: string
        errorCode:
          type: string
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
        errorCode:
          type: string
        datasyncErrorCode:
          type: string
    ListAgentsRequest:
      type: object
      properties:
        MaxResults:
          type: integer
          description: Specifies the maximum number of DataSync agents to list in a response. By default, a response shows
            a maximum of 100 agents.
        NextToken:
          type: string
          description: Specifies an opaque string that indicates the position to begin the next list of results in the response.
    ListAgentsResponse:
      type: object
      properties:
        Agents:
          type: array
          items:
            $ref: '#/components/schemas/AgentListEntry'
          description: A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified
            in the request. The list is ordered by the agents' Amazon Resource Names (ARNs).
        NextToken:
          type: string
          description: The opaque string that indicates the position to begin the next list of results in the response.
    Platform:
      type: object
      properties:
        Version:
          type: string
          description: The version of the DataSync agent.
    PrivateLinkConfig:
      type: object
      properties:
        VpcEndpointId:
          type: string
          description: Specifies the ID of the VPC service endpoint that's recorded for your agent. The endpoint ID is informational
            and isn't verified by DataSync. Your agent communicates through the private IP address in PrivateLinkEndpoint,
            which is set when you activate the agent.
        PrivateLinkEndpoint:
          type: string
          description: Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to.
        SubnetArns:
          type: array
          items:
            type: string
          description: Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer
            traffic for your tasks. You can only specify one ARN. The subnet doesn't have to be the subnet that contains your
            VPC endpoint.
        SecurityGroupArns:
          type: array
          items:
            type: string
          description: Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your
            VPC endpoint. You can only specify one ARN.
    TagListEntry:
      type: object
      properties:
        Key:
          type: string
          description: The key for an Amazon Web Services resource tag.
        Value:
          type: string
          description: The value for an Amazon Web Services resource tag.
      required:
      - Key
    UpdateAgentRequest:
      type: object
      properties:
        AgentArn:
          type: string
          description: The Amazon Resource Name (ARN) of the agent to update.
        Name:
          type: string
          description: The name that you want to use to configure the agent.
      required:
      - AgentArn
    UpdateAgentResponse:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/datasync/service/2018-11-09/datasync-2018-11-09.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)