Amazon MediaTailor Source Locations API

The Source Locations API from Amazon MediaTailor — 1 operation(s) for source locations.

GitHub OpenAPI

Operations 1

GET /sourceLocations List Source Locations #

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-mediatailor:amazon-mediatailor-source-locations-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-mediatailor-source-locations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS MediaTailor Source Locations API
  version: '2018-04-23'
  description: Generated from AWS's published Smithy model for AWS MediaTailor. 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://api.mediatailor.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /sourceLocations:
    get:
      operationId: ListSourceLocations
      summary: List Source Locations
      description: Lists the source locations for a channel. A source location defines the host server URL, and contains a
        list of sources.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSourceLocationsResponse'
      parameters:
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of source locations that you want MediaTailor to return in response to the current
          request. If there are more than MaxResults source locations, use the value of NextToken in the response to get the
          next page of results. The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response
          might contain fewer than MaxResults items, including 0 items, even when more results are available. To retrieve
          all results, you must continue making requests using the NextToken value from each response until the response no
          longer includes a NextToken value.
      - name: nextToken
        in: query
        schema:
          type: string
        description: Pagination token returned by the list request when results exceed the maximum allowed. Use the token
          to fetch the next page of results. For the first ListSourceLocations request, omit this value. For subsequent requests,
          get the value of NextToken from the previous response and specify that value for NextToken in the request. Continue
          making requests until the response no longer includes a NextToken value, which indicates that all results have been
          retrieved.
      tags:
      - Source Locations
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: mediatailor
  schemas:
    AccessConfiguration:
      type: object
      properties:
        AccessType:
          type: string
          enum:
          - S3_SIGV4
          - SECRETS_MANAGER_ACCESS_TOKEN
          - AUTODETECT_SIGV4
          description: The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location.
            S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location
            base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access
            the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual
            hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name. Before you
            can use S3_SIGV4, you must meet these r
        SecretsManagerAccessTokenConfiguration:
          $ref: '#/components/schemas/SecretsManagerAccessTokenConfiguration'
    DefaultSegmentDeliveryConfiguration:
      type: object
      properties:
        BaseUrl:
          type: string
          description: The hostname of the server that will be used to serve segments. This string must include the protocol,
            such as https://.
    HttpConfiguration:
      type: object
      properties:
        BaseUrl:
          type: string
          description: The base URL for the source location host server. This string must include the protocol, such as https://.
      required:
      - BaseUrl
    ListSourceLocationsResponse:
      type: object
      properties:
        Items:
          type: array
          items:
            $ref: '#/components/schemas/SourceLocation'
          description: A list of source locations.
        NextToken:
          type: string
          description: Pagination token returned by the list request when results exceed the maximum allowed. Use the token
            to fetch the next page of results.
    SecretsManagerAccessTokenConfiguration:
      type: object
      properties:
        HeaderName:
          type: string
          description: The name of the HTTP header used to supply the access token in requests to the source location.
        SecretArn:
          type: string
          description: The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.
        SecretStringKey:
          type: string
          description: The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key
            to look up SecretString key and value pair containing the access token.
    SegmentDeliveryConfiguration:
      type: object
      properties:
        BaseUrl:
          type: string
          description: The base URL of the host or path of the segment delivery server that you're using to serve segments.
            This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL
            include the protocol, such as https://example.com/some/path. To use a relative URL specify the relative path,
            such as /some/path*.
        Name:
          type: string
          description: A unique identifier used to distinguish between multiple segment delivery configurations in a source
            location.
    SourceLocation:
      type: object
      properties:
        AccessConfiguration:
          $ref: '#/components/schemas/AccessConfiguration'
        Arn:
          type: string
          description: The ARN of the SourceLocation.
        CreationTime:
          type: string
          format: date-time
          description: The timestamp that indicates when the source location was created.
        DefaultSegmentDeliveryConfiguration:
          $ref: '#/components/schemas/DefaultSegmentDeliveryConfiguration'
        HttpConfiguration:
          $ref: '#/components/schemas/HttpConfiguration'
        LastModifiedTime:
          type: string
          format: date-time
          description: The timestamp that indicates when the source location was last modified.
        SegmentDeliveryConfigurations:
          type: array
          items:
            $ref: '#/components/schemas/SegmentDeliveryConfiguration'
          description: The segment delivery configurations for the source location.
        SourceLocationName:
          type: string
          description: The name of the source location.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The tags assigned to the source location. Tags are key-value pairs that you can associate with Amazon
            resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS
            Elemental MediaTailor Resources.
      required:
      - Arn
      - HttpConfiguration
      - SourceLocationName
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/mediatailor/service/2018-04-23/mediatailor-2018-04-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)