Learn R Programming

paws.networking (version 0.1.10)

cloudfront_update_key_group: Updates a key group

Description

Updates a key group.

When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:

  1. Get the current key group with GetKeyGroup or GetKeyGroupConfig.

  2. Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.

  3. Call UpdateKeyGroup with the entire key group object, including the fields that you modified and those that you didn<U+2019>t.

Usage

cloudfront_update_key_group(KeyGroupConfig, Id, IfMatch)

Arguments

KeyGroupConfig

[required] The key group configuration.

Id

[required] The identifier of the key group that you are updating.

IfMatch

The version of the key group that you are updating. The version is the key group<U+2019>s ETag value.

Request syntax

svc$update_key_group(
  KeyGroupConfig = list(
    Name = "string",
    Items = list(
      "string"
    ),
    Comment = "string"
  ),
  Id = "string",
  IfMatch = "string"
)