AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateKeyValueStore operation. Specifies the key value store to update.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class UpdateKeyValueStoreRequest : AmazonCloudFrontRequest IAmazonWebServiceRequest
The UpdateKeyValueStoreRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateKeyValueStoreRequest() |
Name | Type | Description | |
---|---|---|---|
Comment | System.String |
Gets and sets the property Comment. The comment of the key value store to update. |
|
IfMatch | System.String |
Gets and sets the property IfMatch. The key value store to update, if a match occurs. |
|
Name | System.String |
Gets and sets the property Name. The name of the key value store to update. |
Use the following command to update a KeyValueStore.
var client = new AmazonCloudFrontClient(); var response = client.UpdateKeyValueStore(new UpdateKeyValueStoreRequest { Comment = "my-changed-comment", IfMatch = "ETVPDKIKX0DER", Name = "my-keyvaluestore-name" }); string eTag = response.ETag; KeyValueStore keyValueStore = response.KeyValueStore;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5