aws_sdk_securityhub/client/batch_enable_standards.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`BatchEnableStandards`](crate::operation::batch_enable_standards::builders::BatchEnableStandardsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`standards_subscription_requests(StandardsSubscriptionRequest)`](crate::operation::batch_enable_standards::builders::BatchEnableStandardsFluentBuilder::standards_subscription_requests) / [`set_standards_subscription_requests(Option<Vec::<StandardsSubscriptionRequest>>)`](crate::operation::batch_enable_standards::builders::BatchEnableStandardsFluentBuilder::set_standards_subscription_requests):<br>required: **true**<br><p>The list of standards checks to enable.</p><br>
7 /// - On success, responds with [`BatchEnableStandardsOutput`](crate::operation::batch_enable_standards::BatchEnableStandardsOutput) with field(s):
8 /// - [`standards_subscriptions(Option<Vec::<StandardsSubscription>>)`](crate::operation::batch_enable_standards::BatchEnableStandardsOutput::standards_subscriptions): <p>The details of the standards subscriptions that were enabled.</p>
9 /// - On failure, responds with [`SdkError<BatchEnableStandardsError>`](crate::operation::batch_enable_standards::BatchEnableStandardsError)
10 pub fn batch_enable_standards(&self) -> crate::operation::batch_enable_standards::builders::BatchEnableStandardsFluentBuilder {
11 crate::operation::batch_enable_standards::builders::BatchEnableStandardsFluentBuilder::new(self.handle.clone())
12 }
13}