Generated by API Evangelist
Written by API Evangelist tooling for Amazon CloudWatch's API. It is a proposal applied on top of the contract, not a document Amazon CloudWatch publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Amazon CloudWatch Data Protection Policy API
version: 1.0.0
extends: openapi/amazon-cloudwatch-data-protection-policy-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/#DeleteDataProtectionPolicy'].post
update:
x-apievangelist-phrasing:
intent: Delete a log group's data protection policy
effect: destructive
questions:
- How do I remove the data protection policy from a log group?
- Can I delete a data protection policy so sensitive data is no longer masked?
instructions:
- text: Delete the data protection policy from log group {logGroupIdentifier}.
slots:
logGroupIdentifier: requestBody.logGroupIdentifier
- text: Remove the data protection policy on {logGroupIdentifier}.
slots:
logGroupIdentifier: requestBody.logGroupIdentifier
method: generated
generated: '2026-11-22'
- target: $.paths['/#GetDataProtectionPolicy'].post
update:
x-apievangelist-phrasing:
intent: Get a log group's data protection policy
effect: read
questions:
- What data protection policy is applied to a log group?
- Can I read the policy document for a log group's data protection policy?
instructions:
- text: Show the data protection policy for log group {logGroupIdentifier}.
slots:
logGroupIdentifier: requestBody.logGroupIdentifier
- text: Get the data protection policy document on {logGroupIdentifier}.
slots:
logGroupIdentifier: requestBody.logGroupIdentifier
method: generated
generated: '2026-11-22'
- target: $.paths['/#PutDataProtectionPolicy'].post
update:
x-apievangelist-phrasing:
intent: Create a log group data protection policy
effect: write
questions:
- How do I mask sensitive data in a log group by setting a data protection policy?
- Can I define which data identifiers and operations a log group policy uses?
instructions:
- text: Create a data protection policy on log group {logGroupIdentifier} with policy {policyDocument}.
slots:
logGroupIdentifier: requestBody.logGroupIdentifier
policyDocument: requestBody.policyDocument
- text: Set the data protection policy {policyDocument} on {logGroupIdentifier}.
slots:
policyDocument: requestBody.policyDocument
logGroupIdentifier: requestBody.logGroupIdentifier
method: generated
generated: '2026-11-22'
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.