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:
Get the current key group with
get_key_group
or
get_key_group_config
.
Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.
Call update_key_group
with the
entire key group object, including the fields that you modified and
those that you didn<U+2019>t.
cloudfront_update_key_group(KeyGroupConfig, Id, IfMatch)
[required] The key group configuration.
[required] The identifier of the key group that you are updating.
The version of the key group that you are updating. The version is the
key group<U+2019>s ETag
value.
A list with the following syntax:
list( KeyGroup = list( Id = "string", LastModifiedTime = as.POSIXct( "2015-01-01" ), KeyGroupConfig = list( Name = "string", Items = list( "string" ), Comment = "string" ) ), ETag = "string" )
svc$update_key_group( KeyGroupConfig = list( Name = "string", Items = list( "string" ), Comment = "string" ), Id = "string", IfMatch = "string" )