update_key_value_store
¶
update_key_value_store(
name: KeyValueStoreName,
comment: KeyValueStoreComment,
if_match: string,
*,
config_overrides: Optional[CloudFrontClientConfig] = None,
) -> UpdateKeyValueStoreResult
Specifies the key value store to update.
Parameters:
-
name(KeyValueStoreName) –The name of the key value store to update.
-
comment(KeyValueStoreComment) –The comment of the key value store to update.
-
if_match(string) –The key value store to update, if a match occurs.
Raises:
-
AccessDenied–Access denied.
-
EntityNotFound–The entity was not found.
-
InvalidArgument–An argument is invalid.
-
InvalidIfMatchVersion–The
If-Matchversion is missing or not valid. -
PreconditionFailed–The precondition in one or more of the request fields evaluated to
false. -
UnsupportedOperation–This operation is not supported in this Amazon Web Services Region.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To update a KeyValueStore Use the following command to update a KeyValueStore.
>>> client.update_key_value_store(name='my-keyvaluestore-name', comment='my-changed-comment', if_match='ETVPDKIKX0DER')
Source code in docs_src/capo_cloudfront/_services/cloud_front.py
9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 | |