CloudFront · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Amazon CloudFront Cache Policies API

5 actions 5 updates phrasing extends openapi/cloudfront-cachepolicies-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for CloudFront's API. It is a proposal applied on top of the contract, not a document CloudFront publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/2020-05-31/cache-policy'].get
$.paths['/2020-05-31/cache-policy'].post
$.paths['/2020-05-31/cache-policy/{Id}'].get
$.paths['/2020-05-31/cache-policy/{Id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Amazon CloudFront Cache Policies API
  version: 1.0.0
extends: openapi/cloudfront-cachepolicies-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/2020-05-31/cache-policy'].get
  update:
    x-apievangelist-phrasing:
      intent: List cache policies
      effect: read
      questions:
      - Which cache policies are available to attach to my distributions?
      - Can I see both the AWS managed and my custom cache policies?
      - How do I find the cache policies in my account?
      instructions:
      - text: List all CloudFront cache policies.
      - text: Show me my custom and managed cache policies.
      method: generated
      generated: '2026-10-01'
- target: $.paths['/2020-05-31/cache-policy'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a cache policy
      effect: write
      questions:
      - How do I define my own caching rules, like TTLs and cache keys?
      - Can I create a custom cache policy for my distributions?
      - What's needed to add a new cache policy?
      instructions:
      - text: Create a new cache policy.
      - text: Add a custom cache policy with my own TTL and cache key settings.
      method: generated
      generated: '2026-10-01'
- target: $.paths['/2020-05-31/cache-policy/{Id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a cache policy
      effect: read
      questions:
      - What TTLs and cache key settings does a specific cache policy use?
      - Can I look up one cache policy by its ID?
      - Where do I view the details of a single cache policy?
      instructions:
      - text: Get cache policy {id}.
        slots:
          id: path.Id
      - text: Show the settings of cache policy {id}.
        slots:
          id: path.Id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/2020-05-31/cache-policy/{Id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a cache policy
      effect: destructive
      questions:
      - How do I remove a custom cache policy I don't use anymore?
      - Can I delete a cache policy that's no longer attached to any distribution?
      - Is it possible to get rid of an old cache policy?
      instructions:
      - text: Delete cache policy {id}.
        slots:
          id: path.Id
      - text: Remove the unused cache policy {id}.
        slots:
          id: path.Id
      method: generated
      generated: '2026-10-01'