Struct aws_sdk_s3control::client::fluent_builders::GetAccessPointPolicy [−][src]
pub struct GetAccessPointPolicy<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetAccessPointPolicy
.
Returns the access point policy associated with the specified access point.
The following actions are related to GetAccessPointPolicy
:
Implementations
impl<C, M, R> GetAccessPointPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetAccessPointPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetAccessPointPolicyOutput, SdkError<GetAccessPointPolicyError>> where
R::Policy: SmithyRetryPolicy<GetAccessPointPolicyInputOperationOutputAlias, GetAccessPointPolicyOutput, GetAccessPointPolicyError, GetAccessPointPolicyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetAccessPointPolicyOutput, SdkError<GetAccessPointPolicyError>> where
R::Policy: SmithyRetryPolicy<GetAccessPointPolicyInputOperationOutputAlias, GetAccessPointPolicyOutput, GetAccessPointPolicyError, GetAccessPointPolicyInputOperationRetryAlias>,
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.
The account ID for the account that owns the specified access point.
The account ID for the account that owns the specified access point.
The name of the access point whose policy you want to retrieve.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:
. For example, to access the access point reports-ap
through outpost my-outpost
owned by account 123456789012
in Region us-west-2
, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap
. The value must be URL encoded.
The name of the access point whose policy you want to retrieve.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:
. For example, to access the access point reports-ap
through outpost my-outpost
owned by account 123456789012
in Region us-west-2
, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap
. The value must be URL encoded.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetAccessPointPolicy<C, M, R>
impl<C, M, R> Send for GetAccessPointPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetAccessPointPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetAccessPointPolicy<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetAccessPointPolicy<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more