CmdID

CmdID / aws / aws cloudfront

aws cloudfront list-invalidations

Lists invalidation batches. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list CloudFront invalidations

The following list-invalidations example gets a list of the invalidations for the CloudFront distribution with the ID EDFDVBD6EXAMPLE.

aws cloudfront list-invalidations --distribution-id EDFDVBD6EXAMPLEIdentify
--distribution-idThe distribution's ID.
Its output
{
    "InvalidationList": {
        "Marker": "",
        "Items": [
            {
                "Status": "Completed",
                "Id": "YNY2LI2BVJ4NJU",
                "CreateTime": "2019-08-31T21:15:52.042Z"
            }
        ],
        "IsTruncated": false,
        "MaxItems": 100,
        "Quantity": 1
    }
}

For more information, see Invalidate files to remove content in the Amazon CloudFront Developer Guide.

Options

3 in the AWS CLI reference
--distribution-idThe distribution's ID.
--markerUse this parameter when paginating results to indicate where to begin in your list of invalidation batches.
--max-itemsThe maximum number of invalidation batches that you want in the response body.