[−][src]Struct rusoto_mediastore::PutMetricPolicyInput
Fields
container_name: String
The name of the container that you want to add the metric policy to.
metric_policy: MetricPolicy
The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:
-
An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period), - (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.
-
An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).
Trait Implementations
impl Clone for PutMetricPolicyInput
[src]
fn clone(&self) -> PutMetricPolicyInput
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PutMetricPolicyInput
[src]
impl Default for PutMetricPolicyInput
[src]
fn default() -> PutMetricPolicyInput
[src]
impl PartialEq<PutMetricPolicyInput> for PutMetricPolicyInput
[src]
fn eq(&self, other: &PutMetricPolicyInput) -> bool
[src]
fn ne(&self, other: &PutMetricPolicyInput) -> bool
[src]
impl Serialize for PutMetricPolicyInput
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PutMetricPolicyInput
[src]
Auto Trait Implementations
impl RefUnwindSafe for PutMetricPolicyInput
impl Send for PutMetricPolicyInput
impl Sync for PutMetricPolicyInput
impl Unpin for PutMetricPolicyInput
impl UnwindSafe for PutMetricPolicyInput
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,