Amazon Transfer Family UpdateAgreement API

The UpdateAgreement API from Amazon Transfer Family — 1 operation(s) for updateagreement.

GitHub OpenAPI

Operations 1

POST /#UpdateAgreement Update Agreement #

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-transfer-family:amazon-transfer-family-updateagreement-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-transfer-family-updateagreement-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Transfer Family Updateagreement API
  version: '2018-11-05'
  description: Generated from AWS's published Smithy model for AWS Transfer Family. 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://transfer.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#UpdateAgreement:
    post:
      operationId: UpdateAgreement
      summary: Update Agreement
      description: Updates some of the parameters for an existing agreement. Provide the AgreementId and the ServerId for
        the agreement that you want to update, along with the new values for the parameters to update. Specify either BaseDirectory
        or CustomDirectories, but not both. Specifying both causes the command to fail. If you update an agreement from using
        base directory to custom directories, the base directory is no longer used. Similarly, if you change from custom directories
        to a base directory, the custom directories are no longer used.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/UpdateAgreementResponse'
        '503':
          description: InternalServiceError; ServiceUnavailableException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceError'
        '400':
          description: InvalidRequestException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: ResourceExistsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceExistsException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - TransferService.UpdateAgreement
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateAgreementRequest'
      tags:
      - Updateagreement
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: transfer
  schemas:
    CustomDirectoriesType:
      type: object
      properties:
        FailedFilesDirectory:
          type: string
          description: Specifies a location to store failed AS2 message files.
        MdnFilesDirectory:
          type: string
          description: Specifies a location to store MDN files.
        PayloadFilesDirectory:
          type: string
          description: Specifies a location to store the payload for AS2 message files.
        StatusFilesDirectory:
          type: string
          description: Specifies a location to store AS2 status messages.
        TemporaryFilesDirectory:
          type: string
          description: Specifies a location to store temporary AS2 message files.
      required:
      - FailedFilesDirectory
      - MdnFilesDirectory
      - PayloadFilesDirectory
      - StatusFilesDirectory
      - TemporaryFilesDirectory
    InternalServiceError:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    InvalidRequestException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    ResourceExistsException:
      type: object
      properties:
        Message:
          type: string
        Resource:
          type: string
        ResourceType:
          type: string
      required:
      - Message
      - Resource
      - ResourceType
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        Resource:
          type: string
        ResourceType:
          type: string
      required:
      - Message
      - Resource
      - ResourceType
    ThrottlingException:
      type: object
      properties:
        RetryAfterSeconds:
          type: string
    UpdateAgreementRequest:
      type: object
      properties:
        AgreementId:
          type: string
          description: A unique identifier for the agreement. This identifier is returned when you create an agreement.
        ServerId:
          type: string
          description: A system-assigned unique identifier for a server instance. This is the specific server that the agreement
            uses.
        Description:
          type: string
          description: To replace the existing description, provide a short description for the agreement.
        Status:
          type: string
          enum:
          - ACTIVE
          - INACTIVE
          description: You can update the status for the agreement, either activating an inactive agreement or the reverse.
        LocalProfileId:
          type: string
          description: A unique identifier for the AS2 local profile. To change the local profile identifier, provide a new
            value here.
        PartnerProfileId:
          type: string
          description: A unique identifier for the partner profile. To change the partner profile identifier, provide a new
            value here.
        BaseDirectory:
          type: string
          description: To change the landing directory (folder) for files that are transferred, provide the bucket folder
            that you want to use; for example, /amzn-s3-demo-bucket/home/mydirectory .
        AccessRole:
          type: string
          description: Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide
            the Amazon Resource Name (ARN) of the Identity and Access Management role to use. For AS2 connectors With AS2,
            you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths.
            We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory
            is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the
            partner, and write a final JSON file containin
        PreserveFilename:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: 'Determines whether or not Transfer Family appends a unique string of characters to the end of the
            AS2 message payload filename when saving it. ENABLED: the filename provided by your trading parter is preserved
            when the file is saved. DISABLED (default value): when Transfer Family saves the file, the filename is adjusted,
            as described in File names and locations.'
        EnforceMessageSigning:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: 'Determines whether or not unsigned messages from your trading partners will be accepted. ENABLED:
            Transfer Family rejects unsigned messages from your trading partner. DISABLED (default value): Transfer Family
            accepts unsigned messages from your trading partner.'
        CustomDirectories:
          $ref: '#/components/schemas/CustomDirectoriesType'
      required:
      - AgreementId
      - ServerId
    UpdateAgreementResponse:
      type: object
      properties:
        AgreementId:
          type: string
          description: A unique identifier for the agreement. This identifier is returned when you create an agreement.
      required:
      - AgreementId
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/transfer/service/2018-11-05/transfer-2018-11-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)