Update Storage Lens Group
s3control_update_storage_lens_group | R Documentation |
Updates the existing Storage Lens group¶
Description¶
Updates the existing Storage Lens group.
To use this operation, you must have the permission to perform the
s3:UpdateStorageLensGroup
action. For more information about the
required Storage Lens Groups permissions, see Setting account
permissions to use S3 Storage Lens
groups.
For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
Usage¶
Arguments¶
Name
[required] The name of the Storage Lens group that you want to update.
AccountId
[required] The Amazon Web Services account ID of the Storage Lens group owner.
StorageLensGroup
[required] The JSON file that contains the Storage Lens group configuration.
Value¶
An empty list.
Request syntax¶
svc$update_storage_lens_group(
Name = "string",
AccountId = "string",
StorageLensGroup = list(
Name = "string",
Filter = list(
MatchAnyPrefix = list(
"string"
),
MatchAnySuffix = list(
"string"
),
MatchAnyTag = list(
list(
Key = "string",
Value = "string"
)
),
MatchObjectAge = list(
DaysGreaterThan = 123,
DaysLessThan = 123
),
MatchObjectSize = list(
BytesGreaterThan = 123,
BytesLessThan = 123
),
And = list(
MatchAnyPrefix = list(
"string"
),
MatchAnySuffix = list(
"string"
),
MatchAnyTag = list(
list(
Key = "string",
Value = "string"
)
),
MatchObjectAge = list(
DaysGreaterThan = 123,
DaysLessThan = 123
),
MatchObjectSize = list(
BytesGreaterThan = 123,
BytesLessThan = 123
)
),
Or = list(
MatchAnyPrefix = list(
"string"
),
MatchAnySuffix = list(
"string"
),
MatchAnyTag = list(
list(
Key = "string",
Value = "string"
)
),
MatchObjectAge = list(
DaysGreaterThan = 123,
DaysLessThan = 123
),
MatchObjectSize = list(
BytesGreaterThan = 123,
BytesLessThan = 123
)
)
),
StorageLensGroupArn = "string"
)
)