Creates a new Policy granting an Application access to a Metric's data.
input required CreatePolicyInput
The fields for creating a Policy.
input.metric required ID
The Metric to which the Policy will be applied.
input.type required PolicyType
The type of Policy to create.
The types of Policies that can be applied to a Metric.
Grants access to all Metric data.
Grants access to a specified tenant's Metric data.
input.application required ID
The Application that will be granted access to the Metric.
The result of a mutation which creates or modifies a Policy.