@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface IotRoboRunnerAsyncClient extends AwsClient
builder() method.
An example service, deployed with the Octane Service creator, which will echo the string
| 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<CreateDestinationResponse> createDestination(CreateDestinationRequest createDestinationRequest)
Grants permission to create a destination
createDestinationRequest - default CompletableFuture<CreateDestinationResponse> createDestination(Consumer<CreateDestinationRequest.Builder> createDestinationRequest)
Grants permission to create a destination
This is a convenience which creates an instance of the CreateDestinationRequest.Builder avoiding the need
to create one manually via CreateDestinationRequest.builder()
createDestinationRequest - A Consumer that will call methods on
CreateDestinationRequest.Builder to create a
request.default CompletableFuture<CreateSiteResponse> createSite(CreateSiteRequest createSiteRequest)
Grants permission to create a site
createSiteRequest - default CompletableFuture<CreateSiteResponse> createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)
Grants permission to create a site
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<CreateWorkerResponse> createWorker(CreateWorkerRequest createWorkerRequest)
Grants permission to create a worker
createWorkerRequest - default CompletableFuture<CreateWorkerResponse> createWorker(Consumer<CreateWorkerRequest.Builder> createWorkerRequest)
Grants permission to create a worker
This is a convenience which creates an instance of the CreateWorkerRequest.Builder avoiding the need to
create one manually via CreateWorkerRequest.builder()
createWorkerRequest - A Consumer that will call methods on
CreateWorkerRequest.Builder to create a
request.default CompletableFuture<CreateWorkerFleetResponse> createWorkerFleet(CreateWorkerFleetRequest createWorkerFleetRequest)
Grants permission to create a worker fleet
createWorkerFleetRequest - default CompletableFuture<CreateWorkerFleetResponse> createWorkerFleet(Consumer<CreateWorkerFleetRequest.Builder> createWorkerFleetRequest)
Grants permission to create a worker fleet
This is a convenience which creates an instance of the CreateWorkerFleetRequest.Builder avoiding the need
to create one manually via CreateWorkerFleetRequest.builder()
createWorkerFleetRequest - A Consumer that will call methods on
CreateWorkerFleetRequest.Builder to create a
request.default CompletableFuture<DeleteDestinationResponse> deleteDestination(DeleteDestinationRequest deleteDestinationRequest)
Grants permission to delete a destination
deleteDestinationRequest - default CompletableFuture<DeleteDestinationResponse> deleteDestination(Consumer<DeleteDestinationRequest.Builder> deleteDestinationRequest)
Grants permission to delete a destination
This is a convenience which creates an instance of the DeleteDestinationRequest.Builder avoiding the need
to create one manually via DeleteDestinationRequest.builder()
deleteDestinationRequest - A Consumer that will call methods on
DeleteDestinationRequest.Builder to create a
request.default CompletableFuture<DeleteSiteResponse> deleteSite(DeleteSiteRequest deleteSiteRequest)
Grants permission to delete a site
deleteSiteRequest - default CompletableFuture<DeleteSiteResponse> deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)
Grants permission to delete a 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<DeleteWorkerResponse> deleteWorker(DeleteWorkerRequest deleteWorkerRequest)
Grants permission to delete a worker
deleteWorkerRequest - default CompletableFuture<DeleteWorkerResponse> deleteWorker(Consumer<DeleteWorkerRequest.Builder> deleteWorkerRequest)
Grants permission to delete a worker
This is a convenience which creates an instance of the DeleteWorkerRequest.Builder avoiding the need to
create one manually via DeleteWorkerRequest.builder()
deleteWorkerRequest - A Consumer that will call methods on
DeleteWorkerRequest.Builder to create a
request.default CompletableFuture<DeleteWorkerFleetResponse> deleteWorkerFleet(DeleteWorkerFleetRequest deleteWorkerFleetRequest)
Grants permission to delete a worker fleet
deleteWorkerFleetRequest - default CompletableFuture<DeleteWorkerFleetResponse> deleteWorkerFleet(Consumer<DeleteWorkerFleetRequest.Builder> deleteWorkerFleetRequest)
Grants permission to delete a worker fleet
This is a convenience which creates an instance of the DeleteWorkerFleetRequest.Builder avoiding the need
to create one manually via DeleteWorkerFleetRequest.builder()
deleteWorkerFleetRequest - A Consumer that will call methods on
DeleteWorkerFleetRequest.Builder to create a
request.default CompletableFuture<GetDestinationResponse> getDestination(GetDestinationRequest getDestinationRequest)
Grants permission to get a destination
getDestinationRequest - default CompletableFuture<GetDestinationResponse> getDestination(Consumer<GetDestinationRequest.Builder> getDestinationRequest)
Grants permission to get a destination
This is a convenience which creates an instance of the GetDestinationRequest.Builder avoiding the need to
create one manually via GetDestinationRequest.builder()
getDestinationRequest - A Consumer that will call methods on
GetDestinationRequest.Builder to create a
request.default CompletableFuture<GetSiteResponse> getSite(GetSiteRequest getSiteRequest)
Grants permission to get a site
getSiteRequest - default CompletableFuture<GetSiteResponse> getSite(Consumer<GetSiteRequest.Builder> getSiteRequest)
Grants permission to get a 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<GetWorkerResponse> getWorker(GetWorkerRequest getWorkerRequest)
Grants permission to get a worker
getWorkerRequest - default CompletableFuture<GetWorkerResponse> getWorker(Consumer<GetWorkerRequest.Builder> getWorkerRequest)
Grants permission to get a worker
This is a convenience which creates an instance of the GetWorkerRequest.Builder avoiding the need to
create one manually via GetWorkerRequest.builder()
getWorkerRequest - A Consumer that will call methods on
GetWorkerRequest.Builder to create a request.default CompletableFuture<GetWorkerFleetResponse> getWorkerFleet(GetWorkerFleetRequest getWorkerFleetRequest)
Grants permission to get a worker fleet
getWorkerFleetRequest - default CompletableFuture<GetWorkerFleetResponse> getWorkerFleet(Consumer<GetWorkerFleetRequest.Builder> getWorkerFleetRequest)
Grants permission to get a worker fleet
This is a convenience which creates an instance of the GetWorkerFleetRequest.Builder avoiding the need to
create one manually via GetWorkerFleetRequest.builder()
getWorkerFleetRequest - A Consumer that will call methods on
GetWorkerFleetRequest.Builder to create a
request.default CompletableFuture<ListDestinationsResponse> listDestinations(ListDestinationsRequest listDestinationsRequest)
Grants permission to list destinations
listDestinationsRequest - default CompletableFuture<ListDestinationsResponse> listDestinations(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest)
Grants permission to list destinations
This is a convenience which creates an instance of the ListDestinationsRequest.Builder avoiding the need
to create one manually via ListDestinationsRequest.builder()
listDestinationsRequest - A Consumer that will call methods on
ListDestinationsRequest.Builder to create a
request.default ListDestinationsPublisher listDestinationsPaginator(ListDestinationsRequest listDestinationsRequest)
Grants permission to list destinations
This is a variant of
listDestinations(software.amazon.awssdk.services.iotroborunner.model.ListDestinationsRequest) 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.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListDestinationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.model.ListDestinationsResponse 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
listDestinations(software.amazon.awssdk.services.iotroborunner.model.ListDestinationsRequest)
operation.
listDestinationsRequest - default ListDestinationsPublisher listDestinationsPaginator(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest)
Grants permission to list destinations
This is a variant of
listDestinations(software.amazon.awssdk.services.iotroborunner.model.ListDestinationsRequest) 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.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListDestinationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.model.ListDestinationsResponse 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
listDestinations(software.amazon.awssdk.services.iotroborunner.model.ListDestinationsRequest)
operation.
This is a convenience which creates an instance of the ListDestinationsRequest.Builder avoiding the need
to create one manually via ListDestinationsRequest.builder()
listDestinationsRequest - A Consumer that will call methods on
ListDestinationsRequest.Builder to create a
request.default CompletableFuture<ListSitesResponse> listSites(ListSitesRequest listSitesRequest)
Grants permission to list sites
listSitesRequest - default CompletableFuture<ListSitesResponse> listSites(Consumer<ListSitesRequest.Builder> listSitesRequest)
Grants permission to list sites
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)
Grants permission to list sites
This is a variant of listSites(software.amazon.awssdk.services.iotroborunner.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.iotroborunner.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.iotroborunner.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.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.iotroborunner.model.ListSitesRequest) operation.
listSitesRequest - default ListSitesPublisher listSitesPaginator(Consumer<ListSitesRequest.Builder> listSitesRequest)
Grants permission to list sites
This is a variant of listSites(software.amazon.awssdk.services.iotroborunner.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.iotroborunner.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.iotroborunner.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListSitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.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.iotroborunner.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<ListWorkerFleetsResponse> listWorkerFleets(ListWorkerFleetsRequest listWorkerFleetsRequest)
Grants permission to list worker fleets
listWorkerFleetsRequest - default CompletableFuture<ListWorkerFleetsResponse> listWorkerFleets(Consumer<ListWorkerFleetsRequest.Builder> listWorkerFleetsRequest)
Grants permission to list worker fleets
This is a convenience which creates an instance of the ListWorkerFleetsRequest.Builder avoiding the need
to create one manually via ListWorkerFleetsRequest.builder()
listWorkerFleetsRequest - A Consumer that will call methods on
ListWorkerFleetsRequest.Builder to create a
request.default ListWorkerFleetsPublisher listWorkerFleetsPaginator(ListWorkerFleetsRequest listWorkerFleetsRequest)
Grants permission to list worker fleets
This is a variant of
listWorkerFleets(software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsRequest) 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.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsResponse 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
listWorkerFleets(software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsRequest)
operation.
listWorkerFleetsRequest - default ListWorkerFleetsPublisher listWorkerFleetsPaginator(Consumer<ListWorkerFleetsRequest.Builder> listWorkerFleetsRequest)
Grants permission to list worker fleets
This is a variant of
listWorkerFleets(software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsRequest) 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.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsResponse 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
listWorkerFleets(software.amazon.awssdk.services.iotroborunner.model.ListWorkerFleetsRequest)
operation.
This is a convenience which creates an instance of the ListWorkerFleetsRequest.Builder avoiding the need
to create one manually via ListWorkerFleetsRequest.builder()
listWorkerFleetsRequest - A Consumer that will call methods on
ListWorkerFleetsRequest.Builder to create a
request.default CompletableFuture<ListWorkersResponse> listWorkers(ListWorkersRequest listWorkersRequest)
Grants permission to list workers
listWorkersRequest - default CompletableFuture<ListWorkersResponse> listWorkers(Consumer<ListWorkersRequest.Builder> listWorkersRequest)
Grants permission to list workers
This is a convenience which creates an instance of the ListWorkersRequest.Builder avoiding the need to
create one manually via ListWorkersRequest.builder()
listWorkersRequest - A Consumer that will call methods on
ListWorkersRequest.Builder to create a
request.default ListWorkersPublisher listWorkersPaginator(ListWorkersRequest listWorkersRequest)
Grants permission to list workers
This is a variant of listWorkers(software.amazon.awssdk.services.iotroborunner.model.ListWorkersRequest)
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.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListWorkersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.model.ListWorkersResponse 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
listWorkers(software.amazon.awssdk.services.iotroborunner.model.ListWorkersRequest) operation.
listWorkersRequest - default ListWorkersPublisher listWorkersPaginator(Consumer<ListWorkersRequest.Builder> listWorkersRequest)
Grants permission to list workers
This is a variant of listWorkers(software.amazon.awssdk.services.iotroborunner.model.ListWorkersRequest)
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.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iotroborunner.model.ListWorkersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iotroborunner.model.ListWorkersResponse 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
listWorkers(software.amazon.awssdk.services.iotroborunner.model.ListWorkersRequest) operation.
This is a convenience which creates an instance of the ListWorkersRequest.Builder avoiding the need to
create one manually via ListWorkersRequest.builder()
listWorkersRequest - A Consumer that will call methods on
ListWorkersRequest.Builder to create a
request.default CompletableFuture<UpdateDestinationResponse> updateDestination(UpdateDestinationRequest updateDestinationRequest)
Grants permission to update a destination
updateDestinationRequest - default CompletableFuture<UpdateDestinationResponse> updateDestination(Consumer<UpdateDestinationRequest.Builder> updateDestinationRequest)
Grants permission to update a destination
This is a convenience which creates an instance of the UpdateDestinationRequest.Builder avoiding the need
to create one manually via UpdateDestinationRequest.builder()
updateDestinationRequest - A Consumer that will call methods on
UpdateDestinationRequest.Builder to create a
request.default CompletableFuture<UpdateSiteResponse> updateSite(UpdateSiteRequest updateSiteRequest)
Grants permission to update a site
updateSiteRequest - default CompletableFuture<UpdateSiteResponse> updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)
Grants permission to update a 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<UpdateWorkerResponse> updateWorker(UpdateWorkerRequest updateWorkerRequest)
Grants permission to update a worker
updateWorkerRequest - default CompletableFuture<UpdateWorkerResponse> updateWorker(Consumer<UpdateWorkerRequest.Builder> updateWorkerRequest)
Grants permission to update a worker
This is a convenience which creates an instance of the UpdateWorkerRequest.Builder avoiding the need to
create one manually via UpdateWorkerRequest.builder()
updateWorkerRequest - A Consumer that will call methods on
UpdateWorkerRequest.Builder to create a
request.default CompletableFuture<UpdateWorkerFleetResponse> updateWorkerFleet(UpdateWorkerFleetRequest updateWorkerFleetRequest)
Grants permission to update a worker fleet
updateWorkerFleetRequest - default CompletableFuture<UpdateWorkerFleetResponse> updateWorkerFleet(Consumer<UpdateWorkerFleetRequest.Builder> updateWorkerFleetRequest)
Grants permission to update a worker fleet
This is a convenience which creates an instance of the UpdateWorkerFleetRequest.Builder avoiding the need
to create one manually via UpdateWorkerFleetRequest.builder()
updateWorkerFleetRequest - A Consumer that will call methods on
UpdateWorkerFleetRequest.Builder to create a
request.default IotRoboRunnerServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic IotRoboRunnerAsyncClient create()
IotRoboRunnerAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static IotRoboRunnerAsyncClientBuilder builder()
IotRoboRunnerAsyncClient.Copyright © 2023. All rights reserved.