UpdateKeyValueStore
Specifies the key value store to update.
Request Syntax
PUT /2020-05-31/key-value-store/Name
HTTP/1.1
If-Match: IfMatch
<?xml version="1.0" encoding="UTF-8"?>
<UpdateKeyValueStoreRequest xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/">
<Comment>string
</Comment>
</UpdateKeyValueStoreRequest>
URI Request Parameters
The request uses the following URI parameters.
Request Body
The request accepts the following data in XML format.
- UpdateKeyValueStoreRequest
-
Root level tag for the UpdateKeyValueStoreRequest parameters.
Required: Yes
- Comment
-
The comment of the key value store to update.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 128.
Required: Yes
Response Syntax
HTTP/1.1 200
<?xml version="1.0" encoding="UTF-8"?>
<KeyValueStore>
<ARN>string</ARN>
<Comment>string</Comment>
<Id>string</Id>
<LastModifiedTime>timestamp</LastModifiedTime>
<Name>string</Name>
<Status>string</Status>
</KeyValueStore>
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.
- KeyValueStore
-
Root level tag for the KeyValueStore parameters.
Required: Yes
- ARN
-
The Amazon Resource Name (ARN) of the key value store.
Type: String
- Comment
-
A comment for the key value store.
Type: String
- Id
-
The unique Id for the key value store.
Type: String
- LastModifiedTime
-
The last-modified time of the key value store.
Type: Timestamp
- Name
-
The name of the key value store.
Type: String
- Status
-
The status of the key value store.
Type: String
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
- UnsupportedOperation
-
This operation is not supported in this region.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: