Amazon DataSync #CreateAgent API

The #CreateAgent API from Amazon DataSync — 1 operation(s) for #createagent.

OpenAPI Specification

amazon-datasync-createagent-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: 'Amazon DataSync REST Amazon DataSync REST API #CreateAgent API'
  description: AWS DataSync is an online data transfer service that simplifies, automates, and accelerates moving data between on-premises storage systems and AWS storage services. This API enables management of transfer tasks, source and destination locations, agents, and task executions.
  version: '2018-11-09'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://aws.amazon.com/service-terms/
  x-logo:
    url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
servers:
- url: https://datasync.{region}.amazonaws.com
  description: Amazon DataSync regional endpoint
  variables:
    region:
      default: us-east-1
      description: AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - eu-west-1
      - eu-west-2
      - eu-central-1
      - ap-northeast-1
      - ap-southeast-1
      - ap-southeast-2
      - ap-south-1
      - sa-east-1
security:
- sigv4: []
tags:
- name: '#CreateAgent'
paths:
  /#CreateAgent:
    post:
      summary: Amazon DataSync Create Agent
      description: Activates an AWS DataSync agent that you've deployed in your storage environment.
      operationId: createAgent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateAgentRequest'
      responses:
        '200':
          description: Successful response
      x-amz-target: FmrsService.CreateAgent
      tags:
      - '#CreateAgent'
components:
  schemas:
    TagListEntry:
      type: object
      required:
      - Key
      properties:
        Key:
          type: string
        Value:
          type: string
    CreateAgentRequest:
      type: object
      required:
      - ActivationKey
      properties:
        ActivationKey:
          type: string
        AgentName:
          type: string
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/TagListEntry'
  securitySchemes:
    sigv4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4
externalDocs:
  description: Amazon DataSync API Reference
  url: https://docs.aws.amazon.com/datasync/latest/userguide/API_Reference.html