CloudFront / Client / update_trust_store
update_trust_store¶
- CloudFront.Client.update_trust_store(**kwargs)¶
Updates a trust store.
See also: AWS API Documentation
Request Syntax
response = client.update_trust_store( Id='string', CaCertificatesBundleSource={ 'CaCertificatesBundleS3Location': { 'Bucket': 'string', 'Key': 'string', 'Region': 'string', 'Version': 'string' } }, IfMatch='string' )
- Parameters:
Id (string) –
[REQUIRED]
The trust store ID.
CaCertificatesBundleSource (dict) –
[REQUIRED]
The CA certificates bundle source.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
CaCertificatesBundleS3Location.CaCertificatesBundleS3Location (dict) –
The CA certificates bundle location in Amazon S3.
Bucket (string) – [REQUIRED]
The S3 bucket.
Key (string) – [REQUIRED]
The location’s key.
Region (string) – [REQUIRED]
The location’s Region.
Version (string) –
The location’s version.
IfMatch (string) –
[REQUIRED]
The current version (
ETagvalue) of the trust store you are updating.
- Return type:
dict
- Returns:
Response Syntax
{ 'TrustStore': { 'Id': 'string', 'Arn': 'string', 'Name': 'string', 'Status': 'pending'|'active'|'failed', 'NumberOfCaCertificates': 123, 'LastModifiedTime': datetime(2015, 1, 1), 'Reason': 'string' }, 'ETag': 'string' }
Response Structure
(dict) –
TrustStore (dict) –
The trust store.
Id (string) –
The trust store’s ID.
Arn (string) –
The trust store’s Amazon Resource Name (ARN).
Name (string) –
The trust store’s name.
Status (string) –
The trust store’s status.
NumberOfCaCertificates (integer) –
The trust store’s number of CA certificates.
LastModifiedTime (datetime) –
The trust store’s last modified time.
Reason (string) –
The trust store’s reason.
ETag (string) –
The version identifier for the current version of the trust store.
Exceptions
CloudFront.Client.exceptions.PreconditionFailedCloudFront.Client.exceptions.AccessDeniedCloudFront.Client.exceptions.EntityNotFoundCloudFront.Client.exceptions.InvalidArgumentCloudFront.Client.exceptions.InvalidIfMatchVersion