aws_sdk_transfer/client/describe_security_policy.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeSecurityPolicy`](crate::operation::describe_security_policy::builders::DescribeSecurityPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`security_policy_name(impl Into<String>)`](crate::operation::describe_security_policy::builders::DescribeSecurityPolicyFluentBuilder::security_policy_name) / [`set_security_policy_name(Option<String>)`](crate::operation::describe_security_policy::builders::DescribeSecurityPolicyFluentBuilder::set_security_policy_name):<br>required: **true**<br><p>Specify the text name of the security policy for which you want the details.</p><br>
/// - On success, responds with [`DescribeSecurityPolicyOutput`](crate::operation::describe_security_policy::DescribeSecurityPolicyOutput) with field(s):
/// - [`security_policy(Option<DescribedSecurityPolicy>)`](crate::operation::describe_security_policy::DescribeSecurityPolicyOutput::security_policy): <p>An array containing the properties of the security policy.</p>
/// - On failure, responds with [`SdkError<DescribeSecurityPolicyError>`](crate::operation::describe_security_policy::DescribeSecurityPolicyError)
pub fn describe_security_policy(&self) -> crate::operation::describe_security_policy::builders::DescribeSecurityPolicyFluentBuilder {
crate::operation::describe_security_policy::builders::DescribeSecurityPolicyFluentBuilder::new(self.handle.clone())
}
}