@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface S3OutpostsAsyncClient extends SdkClient
builder() method.
Amazon S3 on Outposts provides access to S3 on Outposts operations.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static S3OutpostsAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
S3OutpostsAsyncClient. |
static S3OutpostsAsyncClient |
create()
Create a
S3OutpostsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateEndpointResponse> |
createEndpoint(Consumer<CreateEndpointRequest.Builder> createEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default CompletableFuture<CreateEndpointResponse> |
createEndpoint(CreateEndpointRequest createEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default CompletableFuture<DeleteEndpointResponse> |
deleteEndpoint(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default CompletableFuture<DeleteEndpointResponse> |
deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default CompletableFuture<ListEndpointsResponse> |
listEndpoints(Consumer<ListEndpointsRequest.Builder> listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default CompletableFuture<ListEndpointsResponse> |
listEndpoints(ListEndpointsRequest listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default ListEndpointsPublisher |
listEndpointsPaginator(Consumer<ListEndpointsRequest.Builder> listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
default ListEndpointsPublisher |
listEndpointsPaginator(ListEndpointsRequest listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static S3OutpostsAsyncClient create()
S3OutpostsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static S3OutpostsAsyncClientBuilder builder()
S3OutpostsAsyncClient.default CompletableFuture<CreateEndpointResponse> createEndpoint(CreateEndpointRequest createEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action creates an endpoint and associates it with the specified Outposts.
It can take up to 5 minutes for this action to complete.
Related actions include:
createEndpointRequest - default CompletableFuture<CreateEndpointResponse> createEndpoint(Consumer<CreateEndpointRequest.Builder> createEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action creates an endpoint and associates it with the specified Outposts.
It can take up to 5 minutes for this action to complete.
Related actions include:
This is a convenience which creates an instance of the CreateEndpointRequest.Builder avoiding the need to
create one manually via CreateEndpointRequest.builder()
createEndpointRequest - A Consumer that will call methods on CreateEndpointRequest.Builder to create a request.default CompletableFuture<DeleteEndpointResponse> deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action deletes an endpoint.
It can take up to 5 minutes for this action to complete.
Related actions include:
deleteEndpointRequest - default CompletableFuture<DeleteEndpointResponse> deleteEndpoint(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action deletes an endpoint.
It can take up to 5 minutes for this action to complete.
Related actions include:
This is a convenience which creates an instance of the DeleteEndpointRequest.Builder avoiding the need to
create one manually via DeleteEndpointRequest.builder()
deleteEndpointRequest - A Consumer that will call methods on DeleteEndpointRequest.Builder to create a request.default CompletableFuture<ListEndpointsResponse> listEndpoints(ListEndpointsRequest listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action lists endpoints associated with the Outposts.
Related actions include:
listEndpointsRequest - default CompletableFuture<ListEndpointsResponse> listEndpoints(Consumer<ListEndpointsRequest.Builder> listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action lists endpoints associated with the Outposts.
Related actions include:
This is a convenience which creates an instance of the ListEndpointsRequest.Builder avoiding the need to
create one manually via ListEndpointsRequest.builder()
listEndpointsRequest - A Consumer that will call methods on ListEndpointsRequest.Builder to create a request.default ListEndpointsPublisher listEndpointsPaginator(ListEndpointsRequest listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action lists endpoints associated with the Outposts.
Related actions include:
This is a variant of
listEndpoints(software.amazon.awssdk.services.s3outposts.model.ListEndpointsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.s3outposts.paginators.ListEndpointsPublisher publisher = client.listEndpointsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.s3outposts.paginators.ListEndpointsPublisher publisher = client.listEndpointsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3outposts.model.ListEndpointsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.s3outposts.model.ListEndpointsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEndpoints(software.amazon.awssdk.services.s3outposts.model.ListEndpointsRequest) operation.
listEndpointsRequest - default ListEndpointsPublisher listEndpointsPaginator(Consumer<ListEndpointsRequest.Builder> listEndpointsRequest)
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.
This action lists endpoints associated with the Outposts.
Related actions include:
This is a variant of
listEndpoints(software.amazon.awssdk.services.s3outposts.model.ListEndpointsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.s3outposts.paginators.ListEndpointsPublisher publisher = client.listEndpointsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.s3outposts.paginators.ListEndpointsPublisher publisher = client.listEndpointsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.s3outposts.model.ListEndpointsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.s3outposts.model.ListEndpointsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEndpoints(software.amazon.awssdk.services.s3outposts.model.ListEndpointsRequest) operation.
This is a convenience which creates an instance of the ListEndpointsRequest.Builder avoiding the need to
create one manually via ListEndpointsRequest.builder()
listEndpointsRequest - A Consumer that will call methods on ListEndpointsRequest.Builder to create a request.Copyright © 2021. All rights reserved.