UpdateTrustStore - Amazon CloudFront

UpdateTrustStore

Updates a trust store.

Request Syntax

PUT /2020-05-31/trust-store/Id HTTP/1.1 <?xml version="1.0" encoding="UTF-8"?> <CaCertificatesBundleSource xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/"> <CaCertificatesBundleS3Location> <Bucket>string</Bucket> <Key>string</Key> <Region>string</Region> <Version>string</Version> </CaCertificatesBundleS3Location> </CaCertificatesBundleSource>

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in XML format.

CaCertificatesBundleSource

Root level tag for the CaCertificatesBundleSource parameters.

Required: Yes

CaCertificatesBundleS3Location

The CA certificates bundle location in Amazon S3.

Type: CaCertificatesBundleS3Location object

Required: No

Response Syntax

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

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.

TrustStore

Root level tag for the TrustStore parameters.

Required: Yes

Arn

The trust store's Amazon Resource Name (ARN).

Type: String

Id

The trust store's ID.

Type: String

LastModifiedTime

The trust store's last modified time.

Type: Timestamp

Name

The trust store's name.

Type: String

NumberOfCaCertificates

The trust store's number of CA certificates.

Type: Integer

Reason

The trust store's reason.

Type: String

Status

The trust store's status.

Type: String

Valid Values: pending | active | failed

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

InvalidIfMatchVersion

The If-Match version is missing or not valid.

HTTP Status Code: 400

PreconditionFailed

The precondition in one or more of the request fields evaluated to false.

HTTP Status Code: 412

See Also

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