aws_sdk_securityhub/client/describe_standards_controls.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 [`DescribeStandardsControls`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`standards_subscription_arn(impl Into<String>)`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::standards_subscription_arn) / [`set_standards_subscription_arn(Option<String>)`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::set_standards_subscription_arn):<br>required: **true**<br><p>The ARN of a resource that represents your subscription to a supported standard. To get the subscription ARNs of the standards you have enabled, use the <code>GetEnabledStandards</code> operation.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token that is required for pagination. On your first call to the <code>DescribeStandardsControls</code> operation, set the value of this parameter to <code>NULL</code>.</p> <p>For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.</p><br>
9 /// - [`max_results(i32)`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of security standard controls to return.</p><br>
10 /// - On success, responds with [`DescribeStandardsControlsOutput`](crate::operation::describe_standards_controls::DescribeStandardsControlsOutput) with field(s):
11 /// - [`controls(Option<Vec::<StandardsControl>>)`](crate::operation::describe_standards_controls::DescribeStandardsControlsOutput::controls): <p>A list of security standards controls.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::describe_standards_controls::DescribeStandardsControlsOutput::next_token): <p>The pagination token to use to request the next page of results.</p>
13 /// - On failure, responds with [`SdkError<DescribeStandardsControlsError>`](crate::operation::describe_standards_controls::DescribeStandardsControlsError)
14 pub fn describe_standards_controls(&self) -> crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder {
15 crate::operation::describe_standards_controls::builders::DescribeStandardsControlsFluentBuilder::new(self.handle.clone())
16 }
17}