#[non_exhaustive]pub struct MetricAttributionOutput {
pub s3_data_destination: Option<S3DataConfig>,
pub role_arn: String,
}
Expand description
The output configuration details for a metric attribution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.s3_data_destination: Option<S3DataConfig>
The configuration details of an Amazon S3 input or output bucket.
role_arn: String
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see Measuring impact of recommendations.
Implementations§
source§impl MetricAttributionOutput
impl MetricAttributionOutput
sourcepub fn s3_data_destination(&self) -> Option<&S3DataConfig>
pub fn s3_data_destination(&self) -> Option<&S3DataConfig>
The configuration details of an Amazon S3 input or output bucket.
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket and add metrics to Amazon CloudWatch. For more information, see Measuring impact of recommendations.
source§impl MetricAttributionOutput
impl MetricAttributionOutput
sourcepub fn builder() -> MetricAttributionOutputBuilder
pub fn builder() -> MetricAttributionOutputBuilder
Creates a new builder-style object to manufacture MetricAttributionOutput
.
Trait Implementations§
source§impl Clone for MetricAttributionOutput
impl Clone for MetricAttributionOutput
source§fn clone(&self) -> MetricAttributionOutput
fn clone(&self) -> MetricAttributionOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MetricAttributionOutput
impl Debug for MetricAttributionOutput
source§impl PartialEq for MetricAttributionOutput
impl PartialEq for MetricAttributionOutput
source§fn eq(&self, other: &MetricAttributionOutput) -> bool
fn eq(&self, other: &MetricAttributionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricAttributionOutput
Auto Trait Implementations§
impl RefUnwindSafe for MetricAttributionOutput
impl Send for MetricAttributionOutput
impl Sync for MetricAttributionOutput
impl Unpin for MetricAttributionOutput
impl UnwindSafe for MetricAttributionOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.