Struct aws_sdk_cloudfront::input::CreateMonitoringSubscriptionInput [−][src]
#[non_exhaustive]pub struct CreateMonitoringSubscriptionInput {
pub distribution_id: Option<String>,
pub monitoring_subscription: Option<MonitoringSubscription>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.distribution_id: Option<String>
The ID of the distribution that you are enabling metrics for.
monitoring_subscription: Option<MonitoringSubscription>
A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateMonitoringSubscription, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateMonitoringSubscription, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateMonitoringSubscription
>
Creates a new builder-style object to manufacture CreateMonitoringSubscriptionInput
The ID of the distribution that you are enabling metrics for.
A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateMonitoringSubscriptionInput
impl Sync for CreateMonitoringSubscriptionInput
impl Unpin for CreateMonitoringSubscriptionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more