Gets the list of CloudFront origin access controls (OACs) in this Amazon Web Services account¶
Description¶
Gets the list of CloudFront origin access controls (OACs) in this Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the NextMarker value from the current response as the Marker value in the next request.
If you're not using origin access controls for your Amazon Web Services account, the list_origin_access_controls operation doesn't return the Items element in the response.
Usage¶
Arguments¶
-
MarkerUse this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of
NextMarkerfrom the current page's response. -
MaxItemsThe maximum number of origin access controls that you want in the response.
Value¶
A list with the following syntax:
list(
OriginAccessControlList = list(
Marker = "string",
NextMarker = "string",
MaxItems = 123,
IsTruncated = TRUE|FALSE,
Quantity = 123,
Items = list(
list(
Id = "string",
Description = "string",
Name = "string",
SigningProtocol = "sigv4"|"sigv4a",
SigningBehavior = "never"|"always"|"no-override"|"always-amz-auth",
OriginAccessControlOriginType = "s3"|"mediastore"|"mediapackagev2"|"lambda"
)
)
)
)