CmdID / aws / aws cloudfront
aws cloudfront delete-field-level-encryption-profile
Remove a field-level encryption profile. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a CloudFront field-level encryption profile
The following delete-field-level-encryption-profile example deletes the CloudFront field-level encryption profile with the ID PPK0UOSIF5WSV. To delete a field-level encryption profile, you must have its ID and ETag. The ID is returned in the output of the create-field-level-encryption-profile and list-field-level-encryption-profiles commands. To get the ETag, use the get-field-level-encryption-profile or get-field-level-encryption-profile-config command. Use the --if-match option to provide the profile's ETag.
aws cloudfront delete-field-level-encryption-profile --id PPK0UOSIF5WSV --if-match EJETYFJ9CL66DIdentify--idRequest the ID of the profile you want to delete from CloudFront.--if-matchThe value of the ETag header that you received when retrieving the profile to delete.This command produces no output.
When successful, this command has no output.
For more information, see Use field-level encryption to help protect sensitive data in the Amazon CloudFront Developer Guide.
Options
--idRequest the ID of the profile you want to delete from CloudFront.--if-matchThe value of the ETag header that you received when retrieving the profile to delete.