pub struct GetAccessPolicy { /* private fields */ }
Expand description
Fluent builder constructing a request to GetAccessPolicy
.
Returns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
Implementations§
source§impl GetAccessPolicy
impl GetAccessPolicy
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetAccessPolicy, AwsResponseRetryClassifier>, SdkError<GetAccessPolicyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetAccessPolicy, AwsResponseRetryClassifier>, SdkError<GetAccessPolicyError>>
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<GetAccessPolicyOutput, SdkError<GetAccessPolicyError>>
pub async fn send(
self
) -> Result<GetAccessPolicyOutput, SdkError<GetAccessPolicyError>>
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: AccessPolicyType) -> Self
pub fn type(self, input: AccessPolicyType) -> Self
Tye type of policy. Currently the only supported value is data
.
sourcepub fn set_type(self, input: Option<AccessPolicyType>) -> Self
pub fn set_type(self, input: Option<AccessPolicyType>) -> Self
Tye type of policy. Currently the only supported value is data
.
Trait Implementations§
source§impl Clone for GetAccessPolicy
impl Clone for GetAccessPolicy
source§fn clone(&self) -> GetAccessPolicy
fn clone(&self) -> GetAccessPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more