ListTrustStores - Amazon CloudFront

ListTrustStores

Lists trust stores.

Request Syntax

POST /2020-05-31/trust-stores HTTP/1.1 <?xml version="1.0" encoding="UTF-8"?> <ListTrustStoresRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/"> <Marker>string</Marker> <MaxItems>integer</MaxItems> </ListTrustStoresRequest>

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in XML format.

ListTrustStoresRequest

Root level tag for the ListTrustStoresRequest parameters.

Required: Yes

Marker

Use this field when paginating results to indicate where to begin in your list. The response includes 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 NextMarker from the current page's response.

Type: String

Required: No

MaxItems

The maximum number of trust stores that you want returned in the response.

Type: Integer

Required: No

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <ListTrustStoresResult> <NextMarker>string</NextMarker> <TrustStoreList> <TrustStoreSummary> <Arn>string</Arn> <ETag>string</ETag> <Id>string</Id> <LastModifiedTime>timestamp</LastModifiedTime> <Name>string</Name> <NumberOfCaCertificates>integer</NumberOfCaCertificates> <Reason>string</Reason> <Status>string</Status> </TrustStoreSummary> </TrustStoreList> </ListTrustStoresResult>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

ListTrustStoresResult

Root level tag for the ListTrustStoresResult parameters.

Required: Yes

NextMarker

Indicates the next page of trust stores. To get the next page of the list, use this value in the Marker field of your request.

Type: String

TrustStoreList

The trust store list.

Type: Array of TrustStoreSummary objects

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDenied

Access denied.

HTTP Status Code: 403

EntityNotFound

The entity was not found.

HTTP Status Code: 404

InvalidArgument

An argument is invalid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: