pub struct GetSecurityPolicy { /* private fields */ }
Expand description
Fluent builder constructing a request to GetSecurityPolicy
.
Returns information about a configured OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
Implementations§
source§impl GetSecurityPolicy
impl GetSecurityPolicy
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetSecurityPolicy, AwsResponseRetryClassifier>, SdkError<GetSecurityPolicyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetSecurityPolicy, AwsResponseRetryClassifier>, SdkError<GetSecurityPolicyError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetSecurityPolicyOutput, SdkError<GetSecurityPolicyError>>
pub async fn send(
self
) -> Result<GetSecurityPolicyOutput, SdkError<GetSecurityPolicyError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn type(self, input: SecurityPolicyType) -> Self
pub fn type(self, input: SecurityPolicyType) -> Self
The type of security policy.
sourcepub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
pub fn set_type(self, input: Option<SecurityPolicyType>) -> Self
The type of security policy.
Trait Implementations§
source§impl Clone for GetSecurityPolicy
impl Clone for GetSecurityPolicy
source§fn clone(&self) -> GetSecurityPolicy
fn clone(&self) -> GetSecurityPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more