AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFront.AmazonCloudFrontRequest
      Amazon.CloudFront.Model.UpdateKeyValueStoreRequest

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateKeyValueStoreRequest : AmazonCloudFrontRequest
         IAmazonWebServiceRequest

The UpdateKeyValueStoreRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Comment System.String

Gets and sets the property Comment.

The comment of the key value store to update.

Public Property IfMatch System.String

Gets and sets the property IfMatch.

The key value store to update, if a match occurs.

Public Property Name System.String

Gets and sets the property Name.

The name of the key value store to update.

Examples

Use the following command to update a KeyValueStore.

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;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5