Struct rusoto_cloudwatch::PutMetricStreamInput
source · [−]pub struct PutMetricStreamInput {
pub exclude_filters: Option<Vec<MetricStreamFilter>>,
pub firehose_arn: String,
pub include_filters: Option<Vec<MetricStreamFilter>>,
pub name: String,
pub output_format: String,
pub role_arn: String,
pub tags: Option<Vec<Tag>>,
}
Fields
exclude_filters: Option<Vec<MetricStreamFilter>>
If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.
You cannot include ExcludeFilters
and IncludeFilters
in the same operation.
firehose_arn: String
The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.
include_filters: Option<Vec<MetricStreamFilter>>
If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.
You cannot include IncludeFilters
and ExcludeFilters
in the same operation.
name: String
If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.
If you are updating a metric stream, specify the name of that stream here.
Valid characters are A-Z, a-z, 0-9, "-" and "_".
output_format: String
The output format for the stream. Valid values are json
and opentelemetry0.7
. For more information about metric stream output formats, see Metric streams output formats.
role_arn: String
The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:
-
firehose:PutRecord
-
firehose:PutRecordBatch
A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Trait Implementations
sourceimpl Clone for PutMetricStreamInput
impl Clone for PutMetricStreamInput
sourcefn clone(&self) -> PutMetricStreamInput
fn clone(&self) -> PutMetricStreamInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PutMetricStreamInput
impl Debug for PutMetricStreamInput
sourceimpl Default for PutMetricStreamInput
impl Default for PutMetricStreamInput
sourcefn default() -> PutMetricStreamInput
fn default() -> PutMetricStreamInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PutMetricStreamInput> for PutMetricStreamInput
impl PartialEq<PutMetricStreamInput> for PutMetricStreamInput
sourcefn eq(&self, other: &PutMetricStreamInput) -> bool
fn eq(&self, other: &PutMetricStreamInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutMetricStreamInput) -> bool
fn ne(&self, other: &PutMetricStreamInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutMetricStreamInput
Auto Trait Implementations
impl RefUnwindSafe for PutMetricStreamInput
impl Send for PutMetricStreamInput
impl Sync for PutMetricStreamInput
impl Unpin for PutMetricStreamInput
impl UnwindSafe for PutMetricStreamInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more