@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface OutpostsAsyncClient extends AwsClient
builder() method.
Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers to build and run applications on premises using the same programming interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local data processing needs.
| 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 |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<CancelOrderResponse> cancelOrder(CancelOrderRequest cancelOrderRequest)
Cancels the specified order for an Outpost.
cancelOrderRequest - default CompletableFuture<CancelOrderResponse> cancelOrder(Consumer<CancelOrderRequest.Builder> cancelOrderRequest)
Cancels the specified order for an Outpost.
This is a convenience which creates an instance of the CancelOrderRequest.Builder avoiding the need to
create one manually via CancelOrderRequest.builder()
cancelOrderRequest - A Consumer that will call methods on
CancelOrderRequest.Builder to create a request.default CompletableFuture<CreateOrderResponse> createOrder(CreateOrderRequest createOrderRequest)
Creates an order for an Outpost.
createOrderRequest - default CompletableFuture<CreateOrderResponse> createOrder(Consumer<CreateOrderRequest.Builder> createOrderRequest)
Creates an order for an Outpost.
This is a convenience which creates an instance of the CreateOrderRequest.Builder avoiding the need to
create one manually via CreateOrderRequest.builder()
createOrderRequest - A Consumer that will call methods on
CreateOrderRequest.Builder to create a request.default CompletableFuture<CreateOutpostResponse> createOutpost(CreateOutpostRequest createOutpostRequest)
Creates an Outpost.
You can specify either an Availability one or an AZ ID.
createOutpostRequest - default CompletableFuture<CreateOutpostResponse> createOutpost(Consumer<CreateOutpostRequest.Builder> createOutpostRequest)
Creates an Outpost.
You can specify either an Availability one or an AZ ID.
This is a convenience which creates an instance of the CreateOutpostRequest.Builder avoiding the need to
create one manually via CreateOutpostRequest.builder()
createOutpostRequest - A Consumer that will call methods on
CreateOutpostRequest.Builder to create a request.default CompletableFuture<CreateSiteResponse> createSite(CreateSiteRequest createSiteRequest)
Creates a site for an Outpost.
createSiteRequest - default CompletableFuture<CreateSiteResponse> createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)
Creates a site for an Outpost.
This is a convenience which creates an instance of the CreateSiteRequest.Builder avoiding the need to
create one manually via CreateSiteRequest.builder()
createSiteRequest - A Consumer that will call methods on
CreateSiteRequest.Builder to create a request.default CompletableFuture<DeleteOutpostResponse> deleteOutpost(DeleteOutpostRequest deleteOutpostRequest)
Deletes the specified Outpost.
deleteOutpostRequest - default CompletableFuture<DeleteOutpostResponse> deleteOutpost(Consumer<DeleteOutpostRequest.Builder> deleteOutpostRequest)
Deletes the specified Outpost.
This is a convenience which creates an instance of the DeleteOutpostRequest.Builder avoiding the need to
create one manually via DeleteOutpostRequest.builder()
deleteOutpostRequest - A Consumer that will call methods on
DeleteOutpostRequest.Builder to create a request.default CompletableFuture<DeleteSiteResponse> deleteSite(DeleteSiteRequest deleteSiteRequest)
Deletes the specified site.
deleteSiteRequest - default CompletableFuture<DeleteSiteResponse> deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)
Deletes the specified site.
This is a convenience which creates an instance of the DeleteSiteRequest.Builder avoiding the need to
create one manually via DeleteSiteRequest.builder()
deleteSiteRequest - A Consumer that will call methods on
DeleteSiteRequest.Builder to create a request.default CompletableFuture<GetCatalogItemResponse> getCatalogItem(GetCatalogItemRequest getCatalogItemRequest)
Gets information about the specified catalog item.
getCatalogItemRequest - default CompletableFuture<GetCatalogItemResponse> getCatalogItem(Consumer<GetCatalogItemRequest.Builder> getCatalogItemRequest)
Gets information about the specified catalog item.
This is a convenience which creates an instance of the GetCatalogItemRequest.Builder avoiding the need to
create one manually via GetCatalogItemRequest.builder()
getCatalogItemRequest - A Consumer that will call methods on
GetCatalogItemRequest.Builder to create a request.default CompletableFuture<GetConnectionResponse> getConnection(GetConnectionRequest getConnectionRequest)
Amazon Web Services uses this action to install Outpost servers.
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
getConnectionRequest - default CompletableFuture<GetConnectionResponse> getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest)
Amazon Web Services uses this action to install Outpost servers.
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
This is a convenience which creates an instance of the GetConnectionRequest.Builder avoiding the need to
create one manually via GetConnectionRequest.builder()
getConnectionRequest - A Consumer that will call methods on
GetConnectionRequest.Builder to create a request.default CompletableFuture<GetOrderResponse> getOrder(GetOrderRequest getOrderRequest)
Gets information about the specified order.
getOrderRequest - default CompletableFuture<GetOrderResponse> getOrder(Consumer<GetOrderRequest.Builder> getOrderRequest)
Gets information about the specified order.
This is a convenience which creates an instance of the GetOrderRequest.Builder avoiding the need to
create one manually via GetOrderRequest.builder()
getOrderRequest - A Consumer that will call methods on
GetOrderRequest.Builder to create a request.default CompletableFuture<GetOutpostResponse> getOutpost(GetOutpostRequest getOutpostRequest)
Gets information about the specified Outpost.
getOutpostRequest - default CompletableFuture<GetOutpostResponse> getOutpost(Consumer<GetOutpostRequest.Builder> getOutpostRequest)
Gets information about the specified Outpost.
This is a convenience which creates an instance of the GetOutpostRequest.Builder avoiding the need to
create one manually via GetOutpostRequest.builder()
getOutpostRequest - A Consumer that will call methods on
GetOutpostRequest.Builder to create a request.default CompletableFuture<GetOutpostInstanceTypesResponse> getOutpostInstanceTypes(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest)
Gets the instance types for the specified Outpost.
getOutpostInstanceTypesRequest - default CompletableFuture<GetOutpostInstanceTypesResponse> getOutpostInstanceTypes(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest)
Gets the instance types for the specified Outpost.
This is a convenience which creates an instance of the GetOutpostInstanceTypesRequest.Builder avoiding
the need to create one manually via GetOutpostInstanceTypesRequest.builder()
getOutpostInstanceTypesRequest - A Consumer that will call methods on
GetOutpostInstanceTypesRequest.Builder to create a
request.default GetOutpostInstanceTypesPublisher getOutpostInstanceTypesPaginator(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest)
Gets the instance types for the specified Outpost.
This is a variant of
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
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.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse 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
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation.
getOutpostInstanceTypesRequest - default GetOutpostInstanceTypesPublisher getOutpostInstanceTypesPaginator(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest)
Gets the instance types for the specified Outpost.
This is a variant of
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
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.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse 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
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation.
This is a convenience which creates an instance of the GetOutpostInstanceTypesRequest.Builder avoiding
the need to create one manually via GetOutpostInstanceTypesRequest.builder()
getOutpostInstanceTypesRequest - A Consumer that will call methods on
GetOutpostInstanceTypesRequest.Builder to create a
request.default CompletableFuture<GetSiteResponse> getSite(GetSiteRequest getSiteRequest)
Gets information about the specified Outpost site.
getSiteRequest - default CompletableFuture<GetSiteResponse> getSite(Consumer<GetSiteRequest.Builder> getSiteRequest)
Gets information about the specified Outpost site.
This is a convenience which creates an instance of the GetSiteRequest.Builder avoiding the need to create
one manually via GetSiteRequest.builder()
getSiteRequest - A Consumer that will call methods on
GetSiteRequest.Builder to create a request.default CompletableFuture<GetSiteAddressResponse> getSiteAddress(GetSiteAddressRequest getSiteAddressRequest)
Gets the site address of the specified site.
getSiteAddressRequest - default CompletableFuture<GetSiteAddressResponse> getSiteAddress(Consumer<GetSiteAddressRequest.Builder> getSiteAddressRequest)
Gets the site address of the specified site.
This is a convenience which creates an instance of the GetSiteAddressRequest.Builder avoiding the need to
create one manually via GetSiteAddressRequest.builder()
getSiteAddressRequest - A Consumer that will call methods on
GetSiteAddressRequest.Builder to create a request.default CompletableFuture<ListAssetsResponse> listAssets(ListAssetsRequest listAssetsRequest)
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
listAssetsRequest - default CompletableFuture<ListAssetsResponse> listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest)
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the ListAssetsRequest.Builder avoiding the need to
create one manually via ListAssetsRequest.builder()
listAssetsRequest - A Consumer that will call methods on
ListAssetsRequest.Builder to create a request.default ListAssetsPublisher listAssetsPaginator(ListAssetsRequest listAssetsRequest)
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
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.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListAssetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListAssetsResponse 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
listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest) operation.
listAssetsRequest - default ListAssetsPublisher listAssetsPaginator(Consumer<ListAssetsRequest.Builder> listAssetsRequest)
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
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.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListAssetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListAssetsResponse 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
listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest) operation.
This is a convenience which creates an instance of the ListAssetsRequest.Builder avoiding the need to
create one manually via ListAssetsRequest.builder()
listAssetsRequest - A Consumer that will call methods on
ListAssetsRequest.Builder to create a request.default CompletableFuture<ListCatalogItemsResponse> listCatalogItems(ListCatalogItemsRequest listCatalogItemsRequest)
Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
listCatalogItemsRequest - default CompletableFuture<ListCatalogItemsResponse> listCatalogItems(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest)
Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the ListCatalogItemsRequest.Builder avoiding the need
to create one manually via ListCatalogItemsRequest.builder()
listCatalogItemsRequest - A Consumer that will call methods on
ListCatalogItemsRequest.Builder to create a
request.default ListCatalogItemsPublisher listCatalogItemsPaginator(ListCatalogItemsRequest listCatalogItemsRequest)
Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) 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.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse 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
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) operation.
listCatalogItemsRequest - default ListCatalogItemsPublisher listCatalogItemsPaginator(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest)
Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) 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.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse 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
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) operation.
This is a convenience which creates an instance of the ListCatalogItemsRequest.Builder avoiding the need
to create one manually via ListCatalogItemsRequest.builder()
listCatalogItemsRequest - A Consumer that will call methods on
ListCatalogItemsRequest.Builder to create a
request.default CompletableFuture<ListOrdersResponse> listOrders(ListOrdersRequest listOrdersRequest)
Lists the Outpost orders for your Amazon Web Services account.
listOrdersRequest - default CompletableFuture<ListOrdersResponse> listOrders(Consumer<ListOrdersRequest.Builder> listOrdersRequest)
Lists the Outpost orders for your Amazon Web Services account.
This is a convenience which creates an instance of the ListOrdersRequest.Builder avoiding the need to
create one manually via ListOrdersRequest.builder()
listOrdersRequest - A Consumer that will call methods on
ListOrdersRequest.Builder to create a request.default ListOrdersPublisher listOrdersPaginator(ListOrdersRequest listOrdersRequest)
Lists the Outpost orders for your Amazon Web Services account.
This is a variant of listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
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.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOrdersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListOrdersResponse 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
listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest) operation.
listOrdersRequest - default ListOrdersPublisher listOrdersPaginator(Consumer<ListOrdersRequest.Builder> listOrdersRequest)
Lists the Outpost orders for your Amazon Web Services account.
This is a variant of listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
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.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOrdersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListOrdersResponse 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
listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest) operation.
This is a convenience which creates an instance of the ListOrdersRequest.Builder avoiding the need to
create one manually via ListOrdersRequest.builder()
listOrdersRequest - A Consumer that will call methods on
ListOrdersRequest.Builder to create a request.default CompletableFuture<ListOutpostsResponse> listOutposts(ListOutpostsRequest listOutpostsRequest)
Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
listOutpostsRequest - default CompletableFuture<ListOutpostsResponse> listOutposts(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest)
Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the ListOutpostsRequest.Builder avoiding the need to
create one manually via ListOutpostsRequest.builder()
listOutpostsRequest - A Consumer that will call methods on
ListOutpostsRequest.Builder to create a request.default ListOutpostsPublisher listOutpostsPaginator(ListOutpostsRequest listOutpostsRequest)
Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
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.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOutpostsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListOutpostsResponse 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
listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest) operation.
listOutpostsRequest - default ListOutpostsPublisher listOutpostsPaginator(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest)
Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
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.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOutpostsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListOutpostsResponse 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
listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest) operation.
This is a convenience which creates an instance of the ListOutpostsRequest.Builder avoiding the need to
create one manually via ListOutpostsRequest.builder()
listOutpostsRequest - A Consumer that will call methods on
ListOutpostsRequest.Builder to create a request.default CompletableFuture<ListSitesResponse> listSites(ListSitesRequest listSitesRequest)
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
listSitesRequest - default CompletableFuture<ListSitesResponse> listSites(Consumer<ListSitesRequest.Builder> listSitesRequest)
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the ListSitesRequest.Builder avoiding the need to
create one manually via ListSitesRequest.builder()
listSitesRequest - A Consumer that will call methods on
ListSitesRequest.Builder to create a request.default ListSitesPublisher listSitesPaginator(ListSitesRequest listSitesRequest)
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
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.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListSitesResponse 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
listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest) operation.
listSitesRequest - default ListSitesPublisher listSitesPaginator(Consumer<ListSitesRequest.Builder> listSitesRequest)
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a variant of listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
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.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.outposts.model.ListSitesResponse 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
listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest) operation.
This is a convenience which creates an instance of the ListSitesRequest.Builder avoiding the need to
create one manually via ListSitesRequest.builder()
listSitesRequest - A Consumer that will call methods on
ListSitesRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<StartConnectionResponse> startConnection(StartConnectionRequest startConnectionRequest)
Amazon Web Services uses this action to install Outpost servers.
Starts the connection required for Outpost server installation.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
startConnectionRequest - default CompletableFuture<StartConnectionResponse> startConnection(Consumer<StartConnectionRequest.Builder> startConnectionRequest)
Amazon Web Services uses this action to install Outpost servers.
Starts the connection required for Outpost server installation.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
This is a convenience which creates an instance of the StartConnectionRequest.Builder avoiding the need
to create one manually via StartConnectionRequest.builder()
startConnectionRequest - A Consumer that will call methods on
StartConnectionRequest.Builder to create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the specified resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateOutpostResponse> updateOutpost(UpdateOutpostRequest updateOutpostRequest)
Updates an Outpost.
updateOutpostRequest - default CompletableFuture<UpdateOutpostResponse> updateOutpost(Consumer<UpdateOutpostRequest.Builder> updateOutpostRequest)
Updates an Outpost.
This is a convenience which creates an instance of the UpdateOutpostRequest.Builder avoiding the need to
create one manually via UpdateOutpostRequest.builder()
updateOutpostRequest - A Consumer that will call methods on
UpdateOutpostRequest.Builder to create a request.default CompletableFuture<UpdateSiteResponse> updateSite(UpdateSiteRequest updateSiteRequest)
Updates the specified site.
updateSiteRequest - default CompletableFuture<UpdateSiteResponse> updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)
Updates the specified site.
This is a convenience which creates an instance of the UpdateSiteRequest.Builder avoiding the need to
create one manually via UpdateSiteRequest.builder()
updateSiteRequest - A Consumer that will call methods on
UpdateSiteRequest.Builder to create a request.default CompletableFuture<UpdateSiteAddressResponse> updateSiteAddress(UpdateSiteAddressRequest updateSiteAddressRequest)
Updates the address of the specified site.
You can't update a site address if there is an order in progress. You must wait for the order to complete or cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
updateSiteAddressRequest - default CompletableFuture<UpdateSiteAddressResponse> updateSiteAddress(Consumer<UpdateSiteAddressRequest.Builder> updateSiteAddressRequest)
Updates the address of the specified site.
You can't update a site address if there is an order in progress. You must wait for the order to complete or cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
This is a convenience which creates an instance of the UpdateSiteAddressRequest.Builder avoiding the need
to create one manually via UpdateSiteAddressRequest.builder()
updateSiteAddressRequest - A Consumer that will call methods on
UpdateSiteAddressRequest.Builder to create a
request.default CompletableFuture<UpdateSiteRackPhysicalPropertiesResponse> updateSiteRackPhysicalProperties(UpdateSiteRackPhysicalPropertiesRequest updateSiteRackPhysicalPropertiesRequest)
Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS, you must wait for the order to complete or
cancel the order.
updateSiteRackPhysicalPropertiesRequest - default CompletableFuture<UpdateSiteRackPhysicalPropertiesResponse> updateSiteRackPhysicalProperties(Consumer<UpdateSiteRackPhysicalPropertiesRequest.Builder> updateSiteRackPhysicalPropertiesRequest)
Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS, you must wait for the order to complete or
cancel the order.
This is a convenience which creates an instance of the UpdateSiteRackPhysicalPropertiesRequest.Builder
avoiding the need to create one manually via UpdateSiteRackPhysicalPropertiesRequest.builder()
updateSiteRackPhysicalPropertiesRequest - A Consumer that will call methods on
UpdateSiteRackPhysicalPropertiesRequest.Builder to
create a request.default OutpostsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic OutpostsAsyncClient create()
OutpostsAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static OutpostsAsyncClientBuilder builder()
OutpostsAsyncClient.Copyright © 2023. All rights reserved.