Skip to content

update_trust_store

Operation

update_trust_store

update_trust_store(request: UpdateTrustStoreInput | UpdateTrustStoreInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateTrustStoreInputDict]) -> UpdateTrustStoreOutput

Updates a trust store.

Parameters:

Name Type Description Default
request UpdateTrustStoreInput | UpdateTrustStoreInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateTrustStoreInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateTrustStoreOutput

An instance of UpdateTrustStoreOutput.

update_trust_store async

update_trust_store(request: UpdateTrustStoreInput | UpdateTrustStoreInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateTrustStoreInputDict]) -> UpdateTrustStoreOutput

Updates a trust store.

Parameters:

Name Type Description Default
request UpdateTrustStoreInput | UpdateTrustStoreInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateTrustStoreInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateTrustStoreOutput

An instance of UpdateTrustStoreOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

UpdateTrustStoreInputDict

Bases: TypedDict

Dictionary form of UpdateTrustStoreInput.

Attributes

ca_certificates_bundle_source instance-attribute
ca_certificates_bundle_source: CaCertificatesBundleSource | CaCertificatesBundleSourceDict | None

The CA certificates bundle source.

id instance-attribute

The trust store ID.

if_match instance-attribute
if_match: Required[str]

The current version (ETag value) of the trust store you are updating.

use_client_certificate_ocsp_endpoint instance-attribute
use_client_certificate_ocsp_endpoint: bool | None

A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status.

UpdateTrustStoreInput dataclass

Bases: _SerdeShape

Dataclass for UpdateTrustStoreInput structure.

Attributes

ca_certificates_bundle_source class-attribute instance-attribute
ca_certificates_bundle_source: CaCertificatesBundleSource | None = ...

The CA certificates bundle source.

id class-attribute instance-attribute
id: str | None = ...

The trust store ID.

if_match class-attribute instance-attribute
if_match: str | None = ...

The current version (ETag value) of the trust store you are updating.

use_client_certificate_ocsp_endpoint class-attribute instance-attribute
use_client_certificate_ocsp_endpoint: bool | None = ...

A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status.

Output

UpdateTrustStoreOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateTrustStoreOutput structure.

Attributes

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The version identifier for the current version of the trust store.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

trust_store class-attribute instance-attribute
trust_store: TrustStore | None = ...

The trust store.