if (FALSE) {
# The following example grants permission for the account 223456789012 to
# use version 1 of a layer named my-layer.
svc$add_layer_version_permission(
Action = "lambda:GetLayerVersion",
LayerName = "my-layer",
Principal = "223456789012",
StatementId = "xaccount",
VersionNumber = 1L
)
}
Run the code above in your browser using DataLab