aws_sdk_connect/client/
list_security_profile_flow_modules.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 [`ListSecurityProfileFlowModules`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`security_profile_id(impl Into<String>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::security_profile_id) / [`set_security_profile_id(Option<String>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::set_security_profile_id):<br>required: **true**<br><p>The identifier for the security profile.</p><br>
7    ///   - [`instance_id(impl Into<String>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page. The default MaxResult size is 100.</p><br>
10    /// - On success, responds with [`ListSecurityProfileFlowModulesOutput`](crate::operation::list_security_profile_flow_modules::ListSecurityProfileFlowModulesOutput) with field(s):
11    ///   - [`allowed_flow_modules(Option<Vec::<FlowModule>>)`](crate::operation::list_security_profile_flow_modules::ListSecurityProfileFlowModulesOutput::allowed_flow_modules): <p>A list of Flow Modules an AI Agent can invoke as a tool.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_security_profile_flow_modules::ListSecurityProfileFlowModulesOutput::next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
13    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::list_security_profile_flow_modules::ListSecurityProfileFlowModulesOutput::last_modified_time): <p>The time the flow module was last modified.</p>
14    ///   - [`last_modified_region(Option<String>)`](crate::operation::list_security_profile_flow_modules::ListSecurityProfileFlowModulesOutput::last_modified_region): <p>The Region that flow module was last modified in.</p>
15    /// - On failure, responds with [`SdkError<ListSecurityProfileFlowModulesError>`](crate::operation::list_security_profile_flow_modules::ListSecurityProfileFlowModulesError)
16    pub fn list_security_profile_flow_modules(
17        &self,
18    ) -> crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder {
19        crate::operation::list_security_profile_flow_modules::builders::ListSecurityProfileFlowModulesFluentBuilder::new(self.handle.clone())
20    }
21}