@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface PanoramaAsyncClient extends SdkClient
builder() method.
Overview
This is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the AWS Panorama Developer Guide.
| 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<CreateApplicationInstanceResponse> createApplicationInstance(CreateApplicationInstanceRequest createApplicationInstanceRequest)
Creates an application instance and deploys it to a device.
createApplicationInstanceRequest - default CompletableFuture<CreateApplicationInstanceResponse> createApplicationInstance(Consumer<CreateApplicationInstanceRequest.Builder> createApplicationInstanceRequest)
Creates an application instance and deploys it to a device.
This is a convenience which creates an instance of the CreateApplicationInstanceRequest.Builder avoiding
the need to create one manually via CreateApplicationInstanceRequest.builder()
createApplicationInstanceRequest - A Consumer that will call methods on CreateApplicationInstanceRequest.Builder to create a
request.default CompletableFuture<CreateJobForDevicesResponse> createJobForDevices(CreateJobForDevicesRequest createJobForDevicesRequest)
Creates a job to run on a device. A job can update a device's software or reboot it.
createJobForDevicesRequest - default CompletableFuture<CreateJobForDevicesResponse> createJobForDevices(Consumer<CreateJobForDevicesRequest.Builder> createJobForDevicesRequest)
Creates a job to run on a device. A job can update a device's software or reboot it.
This is a convenience which creates an instance of the CreateJobForDevicesRequest.Builder avoiding the
need to create one manually via CreateJobForDevicesRequest.builder()
createJobForDevicesRequest - A Consumer that will call methods on CreateJobForDevicesRequest.Builder to create a
request.default CompletableFuture<CreateNodeFromTemplateJobResponse> createNodeFromTemplateJob(CreateNodeFromTemplateJobRequest createNodeFromTemplateJobRequest)
Creates a camera stream node.
createNodeFromTemplateJobRequest - default CompletableFuture<CreateNodeFromTemplateJobResponse> createNodeFromTemplateJob(Consumer<CreateNodeFromTemplateJobRequest.Builder> createNodeFromTemplateJobRequest)
Creates a camera stream node.
This is a convenience which creates an instance of the CreateNodeFromTemplateJobRequest.Builder avoiding
the need to create one manually via CreateNodeFromTemplateJobRequest.builder()
createNodeFromTemplateJobRequest - A Consumer that will call methods on CreateNodeFromTemplateJobRequest.Builder to create a
request.default CompletableFuture<CreatePackageResponse> createPackage(CreatePackageRequest createPackageRequest)
Creates a package and storage location in an Amazon S3 access point.
createPackageRequest - default CompletableFuture<CreatePackageResponse> createPackage(Consumer<CreatePackageRequest.Builder> createPackageRequest)
Creates a package and storage location in an Amazon S3 access point.
This is a convenience which creates an instance of the CreatePackageRequest.Builder avoiding the need to
create one manually via CreatePackageRequest.builder()
createPackageRequest - A Consumer that will call methods on CreatePackageRequest.Builder to create a request.default CompletableFuture<CreatePackageImportJobResponse> createPackageImportJob(CreatePackageImportJobRequest createPackageImportJobRequest)
Imports a node package.
createPackageImportJobRequest - default CompletableFuture<CreatePackageImportJobResponse> createPackageImportJob(Consumer<CreatePackageImportJobRequest.Builder> createPackageImportJobRequest)
Imports a node package.
This is a convenience which creates an instance of the CreatePackageImportJobRequest.Builder avoiding the
need to create one manually via CreatePackageImportJobRequest.builder()
createPackageImportJobRequest - A Consumer that will call methods on CreatePackageImportJobRequest.Builder to create a
request.default CompletableFuture<DeleteDeviceResponse> deleteDevice(DeleteDeviceRequest deleteDeviceRequest)
Deletes a device.
deleteDeviceRequest - default CompletableFuture<DeleteDeviceResponse> deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)
Deletes a device.
This is a convenience which creates an instance of the DeleteDeviceRequest.Builder avoiding the need to
create one manually via DeleteDeviceRequest.builder()
deleteDeviceRequest - A Consumer that will call methods on DeleteDeviceRequest.Builder to create a request.default CompletableFuture<DeletePackageResponse> deletePackage(DeletePackageRequest deletePackageRequest)
Deletes a package.
To delete a package, you need permission to call s3:DeleteObject in addition to permissions for the
AWS Panorama API.
deletePackageRequest - default CompletableFuture<DeletePackageResponse> deletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest)
Deletes a package.
To delete a package, you need permission to call s3:DeleteObject in addition to permissions for the
AWS Panorama API.
This is a convenience which creates an instance of the DeletePackageRequest.Builder avoiding the need to
create one manually via DeletePackageRequest.builder()
deletePackageRequest - A Consumer that will call methods on DeletePackageRequest.Builder to create a request.default CompletableFuture<DeregisterPackageVersionResponse> deregisterPackageVersion(DeregisterPackageVersionRequest deregisterPackageVersionRequest)
Deregisters a package version.
deregisterPackageVersionRequest - default CompletableFuture<DeregisterPackageVersionResponse> deregisterPackageVersion(Consumer<DeregisterPackageVersionRequest.Builder> deregisterPackageVersionRequest)
Deregisters a package version.
This is a convenience which creates an instance of the DeregisterPackageVersionRequest.Builder avoiding
the need to create one manually via DeregisterPackageVersionRequest.builder()
deregisterPackageVersionRequest - A Consumer that will call methods on DeregisterPackageVersionRequest.Builder to create a
request.default CompletableFuture<DescribeApplicationInstanceResponse> describeApplicationInstance(DescribeApplicationInstanceRequest describeApplicationInstanceRequest)
Returns information about an application instance on a device.
describeApplicationInstanceRequest - default CompletableFuture<DescribeApplicationInstanceResponse> describeApplicationInstance(Consumer<DescribeApplicationInstanceRequest.Builder> describeApplicationInstanceRequest)
Returns information about an application instance on a device.
This is a convenience which creates an instance of the DescribeApplicationInstanceRequest.Builder
avoiding the need to create one manually via DescribeApplicationInstanceRequest.builder()
describeApplicationInstanceRequest - A Consumer that will call methods on DescribeApplicationInstanceRequest.Builder to create
a request.default CompletableFuture<DescribeApplicationInstanceDetailsResponse> describeApplicationInstanceDetails(DescribeApplicationInstanceDetailsRequest describeApplicationInstanceDetailsRequest)
Returns information about an application instance's configuration manifest.
describeApplicationInstanceDetailsRequest - default CompletableFuture<DescribeApplicationInstanceDetailsResponse> describeApplicationInstanceDetails(Consumer<DescribeApplicationInstanceDetailsRequest.Builder> describeApplicationInstanceDetailsRequest)
Returns information about an application instance's configuration manifest.
This is a convenience which creates an instance of the DescribeApplicationInstanceDetailsRequest.Builder
avoiding the need to create one manually via DescribeApplicationInstanceDetailsRequest.builder()
describeApplicationInstanceDetailsRequest - A Consumer that will call methods on DescribeApplicationInstanceDetailsRequest.Builder to
create a request.default CompletableFuture<DescribeDeviceResponse> describeDevice(DescribeDeviceRequest describeDeviceRequest)
Returns information about a device.
describeDeviceRequest - default CompletableFuture<DescribeDeviceResponse> describeDevice(Consumer<DescribeDeviceRequest.Builder> describeDeviceRequest)
Returns information about a device.
This is a convenience which creates an instance of the DescribeDeviceRequest.Builder avoiding the need to
create one manually via DescribeDeviceRequest.builder()
describeDeviceRequest - A Consumer that will call methods on DescribeDeviceRequest.Builder to create a request.default CompletableFuture<DescribeDeviceJobResponse> describeDeviceJob(DescribeDeviceJobRequest describeDeviceJobRequest)
Returns information about a device job.
describeDeviceJobRequest - default CompletableFuture<DescribeDeviceJobResponse> describeDeviceJob(Consumer<DescribeDeviceJobRequest.Builder> describeDeviceJobRequest)
Returns information about a device job.
This is a convenience which creates an instance of the DescribeDeviceJobRequest.Builder avoiding the need
to create one manually via DescribeDeviceJobRequest.builder()
describeDeviceJobRequest - A Consumer that will call methods on DescribeDeviceJobRequest.Builder to create a request.default CompletableFuture<DescribeNodeResponse> describeNode(DescribeNodeRequest describeNodeRequest)
Returns information about a node.
describeNodeRequest - default CompletableFuture<DescribeNodeResponse> describeNode(Consumer<DescribeNodeRequest.Builder> describeNodeRequest)
Returns information about a node.
This is a convenience which creates an instance of the DescribeNodeRequest.Builder avoiding the need to
create one manually via DescribeNodeRequest.builder()
describeNodeRequest - A Consumer that will call methods on DescribeNodeRequest.Builder to create a request.default CompletableFuture<DescribeNodeFromTemplateJobResponse> describeNodeFromTemplateJob(DescribeNodeFromTemplateJobRequest describeNodeFromTemplateJobRequest)
Returns information about a job to create a camera stream node.
describeNodeFromTemplateJobRequest - default CompletableFuture<DescribeNodeFromTemplateJobResponse> describeNodeFromTemplateJob(Consumer<DescribeNodeFromTemplateJobRequest.Builder> describeNodeFromTemplateJobRequest)
Returns information about a job to create a camera stream node.
This is a convenience which creates an instance of the DescribeNodeFromTemplateJobRequest.Builder
avoiding the need to create one manually via DescribeNodeFromTemplateJobRequest.builder()
describeNodeFromTemplateJobRequest - A Consumer that will call methods on DescribeNodeFromTemplateJobRequest.Builder to create
a request.default CompletableFuture<DescribePackageResponse> describePackage(DescribePackageRequest describePackageRequest)
Returns information about a package.
describePackageRequest - default CompletableFuture<DescribePackageResponse> describePackage(Consumer<DescribePackageRequest.Builder> describePackageRequest)
Returns information about a package.
This is a convenience which creates an instance of the DescribePackageRequest.Builder avoiding the need
to create one manually via DescribePackageRequest.builder()
describePackageRequest - A Consumer that will call methods on DescribePackageRequest.Builder to create a request.default CompletableFuture<DescribePackageImportJobResponse> describePackageImportJob(DescribePackageImportJobRequest describePackageImportJobRequest)
Returns information about a package import job.
describePackageImportJobRequest - default CompletableFuture<DescribePackageImportJobResponse> describePackageImportJob(Consumer<DescribePackageImportJobRequest.Builder> describePackageImportJobRequest)
Returns information about a package import job.
This is a convenience which creates an instance of the DescribePackageImportJobRequest.Builder avoiding
the need to create one manually via DescribePackageImportJobRequest.builder()
describePackageImportJobRequest - A Consumer that will call methods on DescribePackageImportJobRequest.Builder to create a
request.default CompletableFuture<DescribePackageVersionResponse> describePackageVersion(DescribePackageVersionRequest describePackageVersionRequest)
Returns information about a package version.
describePackageVersionRequest - default CompletableFuture<DescribePackageVersionResponse> describePackageVersion(Consumer<DescribePackageVersionRequest.Builder> describePackageVersionRequest)
Returns information about a package version.
This is a convenience which creates an instance of the DescribePackageVersionRequest.Builder avoiding the
need to create one manually via DescribePackageVersionRequest.builder()
describePackageVersionRequest - A Consumer that will call methods on DescribePackageVersionRequest.Builder to create a
request.default CompletableFuture<ListApplicationInstanceDependenciesResponse> listApplicationInstanceDependencies(ListApplicationInstanceDependenciesRequest listApplicationInstanceDependenciesRequest)
Returns a list of application instance dependencies.
listApplicationInstanceDependenciesRequest - default CompletableFuture<ListApplicationInstanceDependenciesResponse> listApplicationInstanceDependencies(Consumer<ListApplicationInstanceDependenciesRequest.Builder> listApplicationInstanceDependenciesRequest)
Returns a list of application instance dependencies.
This is a convenience which creates an instance of the ListApplicationInstanceDependenciesRequest.Builder
avoiding the need to create one manually via ListApplicationInstanceDependenciesRequest.builder()
listApplicationInstanceDependenciesRequest - A Consumer that will call methods on ListApplicationInstanceDependenciesRequest.Builder to
create a request.default ListApplicationInstanceDependenciesPublisher listApplicationInstanceDependenciesPaginator(ListApplicationInstanceDependenciesRequest listApplicationInstanceDependenciesRequest)
Returns a list of application instance dependencies.
This is a variant of
listApplicationInstanceDependencies(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesRequest)
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.panorama.paginators.ListApplicationInstanceDependenciesPublisher publisher = client.listApplicationInstanceDependenciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListApplicationInstanceDependenciesPublisher publisher = client.listApplicationInstanceDependenciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesResponse 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
listApplicationInstanceDependencies(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesRequest)
operation.
listApplicationInstanceDependenciesRequest - default ListApplicationInstanceDependenciesPublisher listApplicationInstanceDependenciesPaginator(Consumer<ListApplicationInstanceDependenciesRequest.Builder> listApplicationInstanceDependenciesRequest)
Returns a list of application instance dependencies.
This is a variant of
listApplicationInstanceDependencies(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesRequest)
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.panorama.paginators.ListApplicationInstanceDependenciesPublisher publisher = client.listApplicationInstanceDependenciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListApplicationInstanceDependenciesPublisher publisher = client.listApplicationInstanceDependenciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesResponse 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
listApplicationInstanceDependencies(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceDependenciesRequest)
operation.
This is a convenience which creates an instance of the ListApplicationInstanceDependenciesRequest.Builder
avoiding the need to create one manually via ListApplicationInstanceDependenciesRequest.builder()
listApplicationInstanceDependenciesRequest - A Consumer that will call methods on ListApplicationInstanceDependenciesRequest.Builder to
create a request.default CompletableFuture<ListApplicationInstanceNodeInstancesResponse> listApplicationInstanceNodeInstances(ListApplicationInstanceNodeInstancesRequest listApplicationInstanceNodeInstancesRequest)
Returns a list of application node instances.
listApplicationInstanceNodeInstancesRequest - default CompletableFuture<ListApplicationInstanceNodeInstancesResponse> listApplicationInstanceNodeInstances(Consumer<ListApplicationInstanceNodeInstancesRequest.Builder> listApplicationInstanceNodeInstancesRequest)
Returns a list of application node instances.
This is a convenience which creates an instance of the
ListApplicationInstanceNodeInstancesRequest.Builder avoiding the need to create one manually via
ListApplicationInstanceNodeInstancesRequest.builder()
listApplicationInstanceNodeInstancesRequest - A Consumer that will call methods on ListApplicationInstanceNodeInstancesRequest.Builder
to create a request.default ListApplicationInstanceNodeInstancesPublisher listApplicationInstanceNodeInstancesPaginator(ListApplicationInstanceNodeInstancesRequest listApplicationInstanceNodeInstancesRequest)
Returns a list of application node instances.
This is a variant of
listApplicationInstanceNodeInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesRequest)
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.panorama.paginators.ListApplicationInstanceNodeInstancesPublisher publisher = client.listApplicationInstanceNodeInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListApplicationInstanceNodeInstancesPublisher publisher = client.listApplicationInstanceNodeInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesResponse 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
listApplicationInstanceNodeInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesRequest)
operation.
listApplicationInstanceNodeInstancesRequest - default ListApplicationInstanceNodeInstancesPublisher listApplicationInstanceNodeInstancesPaginator(Consumer<ListApplicationInstanceNodeInstancesRequest.Builder> listApplicationInstanceNodeInstancesRequest)
Returns a list of application node instances.
This is a variant of
listApplicationInstanceNodeInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesRequest)
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.panorama.paginators.ListApplicationInstanceNodeInstancesPublisher publisher = client.listApplicationInstanceNodeInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListApplicationInstanceNodeInstancesPublisher publisher = client.listApplicationInstanceNodeInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesResponse 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
listApplicationInstanceNodeInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstanceNodeInstancesRequest)
operation.
This is a convenience which creates an instance of the
ListApplicationInstanceNodeInstancesRequest.Builder avoiding the need to create one manually via
ListApplicationInstanceNodeInstancesRequest.builder()
listApplicationInstanceNodeInstancesRequest - A Consumer that will call methods on ListApplicationInstanceNodeInstancesRequest.Builder
to create a request.default CompletableFuture<ListApplicationInstancesResponse> listApplicationInstances(ListApplicationInstancesRequest listApplicationInstancesRequest)
Returns a list of application instances.
listApplicationInstancesRequest - default CompletableFuture<ListApplicationInstancesResponse> listApplicationInstances(Consumer<ListApplicationInstancesRequest.Builder> listApplicationInstancesRequest)
Returns a list of application instances.
This is a convenience which creates an instance of the ListApplicationInstancesRequest.Builder avoiding
the need to create one manually via ListApplicationInstancesRequest.builder()
listApplicationInstancesRequest - A Consumer that will call methods on ListApplicationInstancesRequest.Builder to create a
request.default ListApplicationInstancesPublisher listApplicationInstancesPaginator(ListApplicationInstancesRequest listApplicationInstancesRequest)
Returns a list of application instances.
This is a variant of
listApplicationInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstancesRequest)
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.panorama.paginators.ListApplicationInstancesPublisher publisher = client.listApplicationInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListApplicationInstancesPublisher publisher = client.listApplicationInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListApplicationInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListApplicationInstancesResponse 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
listApplicationInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstancesRequest)
operation.
listApplicationInstancesRequest - default ListApplicationInstancesPublisher listApplicationInstancesPaginator(Consumer<ListApplicationInstancesRequest.Builder> listApplicationInstancesRequest)
Returns a list of application instances.
This is a variant of
listApplicationInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstancesRequest)
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.panorama.paginators.ListApplicationInstancesPublisher publisher = client.listApplicationInstancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListApplicationInstancesPublisher publisher = client.listApplicationInstancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListApplicationInstancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListApplicationInstancesResponse 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
listApplicationInstances(software.amazon.awssdk.services.panorama.model.ListApplicationInstancesRequest)
operation.
This is a convenience which creates an instance of the ListApplicationInstancesRequest.Builder avoiding
the need to create one manually via ListApplicationInstancesRequest.builder()
listApplicationInstancesRequest - A Consumer that will call methods on ListApplicationInstancesRequest.Builder to create a
request.default CompletableFuture<ListDevicesResponse> listDevices(ListDevicesRequest listDevicesRequest)
Returns a list of devices.
listDevicesRequest - default CompletableFuture<ListDevicesResponse> listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Returns a list of devices.
This is a convenience which creates an instance of the ListDevicesRequest.Builder avoiding the need to
create one manually via ListDevicesRequest.builder()
listDevicesRequest - A Consumer that will call methods on ListDevicesRequest.Builder to create a request.default CompletableFuture<ListDevicesJobsResponse> listDevicesJobs(ListDevicesJobsRequest listDevicesJobsRequest)
Returns a list of jobs.
listDevicesJobsRequest - default CompletableFuture<ListDevicesJobsResponse> listDevicesJobs(Consumer<ListDevicesJobsRequest.Builder> listDevicesJobsRequest)
Returns a list of jobs.
This is a convenience which creates an instance of the ListDevicesJobsRequest.Builder avoiding the need
to create one manually via ListDevicesJobsRequest.builder()
listDevicesJobsRequest - A Consumer that will call methods on ListDevicesJobsRequest.Builder to create a request.default ListDevicesJobsPublisher listDevicesJobsPaginator(ListDevicesJobsRequest listDevicesJobsRequest)
Returns a list of jobs.
This is a variant of
listDevicesJobs(software.amazon.awssdk.services.panorama.model.ListDevicesJobsRequest) 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.panorama.paginators.ListDevicesJobsPublisher publisher = client.listDevicesJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListDevicesJobsPublisher publisher = client.listDevicesJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListDevicesJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListDevicesJobsResponse 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
listDevicesJobs(software.amazon.awssdk.services.panorama.model.ListDevicesJobsRequest) operation.
listDevicesJobsRequest - default ListDevicesJobsPublisher listDevicesJobsPaginator(Consumer<ListDevicesJobsRequest.Builder> listDevicesJobsRequest)
Returns a list of jobs.
This is a variant of
listDevicesJobs(software.amazon.awssdk.services.panorama.model.ListDevicesJobsRequest) 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.panorama.paginators.ListDevicesJobsPublisher publisher = client.listDevicesJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListDevicesJobsPublisher publisher = client.listDevicesJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListDevicesJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListDevicesJobsResponse 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
listDevicesJobs(software.amazon.awssdk.services.panorama.model.ListDevicesJobsRequest) operation.
This is a convenience which creates an instance of the ListDevicesJobsRequest.Builder avoiding the need
to create one manually via ListDevicesJobsRequest.builder()
listDevicesJobsRequest - A Consumer that will call methods on ListDevicesJobsRequest.Builder to create a request.default ListDevicesPublisher listDevicesPaginator(ListDevicesRequest listDevicesRequest)
Returns a list of devices.
This is a variant of listDevices(software.amazon.awssdk.services.panorama.model.ListDevicesRequest)
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.panorama.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListDevicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListDevicesResponse 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
listDevices(software.amazon.awssdk.services.panorama.model.ListDevicesRequest) operation.
listDevicesRequest - default ListDevicesPublisher listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Returns a list of devices.
This is a variant of listDevices(software.amazon.awssdk.services.panorama.model.ListDevicesRequest)
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.panorama.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListDevicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListDevicesResponse 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
listDevices(software.amazon.awssdk.services.panorama.model.ListDevicesRequest) operation.
This is a convenience which creates an instance of the ListDevicesRequest.Builder avoiding the need to
create one manually via ListDevicesRequest.builder()
listDevicesRequest - A Consumer that will call methods on ListDevicesRequest.Builder to create a request.default CompletableFuture<ListNodeFromTemplateJobsResponse> listNodeFromTemplateJobs(ListNodeFromTemplateJobsRequest listNodeFromTemplateJobsRequest)
Returns a list of camera stream node jobs.
listNodeFromTemplateJobsRequest - default CompletableFuture<ListNodeFromTemplateJobsResponse> listNodeFromTemplateJobs(Consumer<ListNodeFromTemplateJobsRequest.Builder> listNodeFromTemplateJobsRequest)
Returns a list of camera stream node jobs.
This is a convenience which creates an instance of the ListNodeFromTemplateJobsRequest.Builder avoiding
the need to create one manually via ListNodeFromTemplateJobsRequest.builder()
listNodeFromTemplateJobsRequest - A Consumer that will call methods on ListNodeFromTemplateJobsRequest.Builder to create a
request.default ListNodeFromTemplateJobsPublisher listNodeFromTemplateJobsPaginator(ListNodeFromTemplateJobsRequest listNodeFromTemplateJobsRequest)
Returns a list of camera stream node jobs.
This is a variant of
listNodeFromTemplateJobs(software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsRequest)
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.panorama.paginators.ListNodeFromTemplateJobsPublisher publisher = client.listNodeFromTemplateJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListNodeFromTemplateJobsPublisher publisher = client.listNodeFromTemplateJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsResponse 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
listNodeFromTemplateJobs(software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsRequest)
operation.
listNodeFromTemplateJobsRequest - default ListNodeFromTemplateJobsPublisher listNodeFromTemplateJobsPaginator(Consumer<ListNodeFromTemplateJobsRequest.Builder> listNodeFromTemplateJobsRequest)
Returns a list of camera stream node jobs.
This is a variant of
listNodeFromTemplateJobs(software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsRequest)
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.panorama.paginators.ListNodeFromTemplateJobsPublisher publisher = client.listNodeFromTemplateJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListNodeFromTemplateJobsPublisher publisher = client.listNodeFromTemplateJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsResponse 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
listNodeFromTemplateJobs(software.amazon.awssdk.services.panorama.model.ListNodeFromTemplateJobsRequest)
operation.
This is a convenience which creates an instance of the ListNodeFromTemplateJobsRequest.Builder avoiding
the need to create one manually via ListNodeFromTemplateJobsRequest.builder()
listNodeFromTemplateJobsRequest - A Consumer that will call methods on ListNodeFromTemplateJobsRequest.Builder to create a
request.default CompletableFuture<ListNodesResponse> listNodes(ListNodesRequest listNodesRequest)
Returns a list of nodes.
listNodesRequest - default CompletableFuture<ListNodesResponse> listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns a list of nodes.
This is a convenience which creates an instance of the ListNodesRequest.Builder avoiding the need to
create one manually via ListNodesRequest.builder()
listNodesRequest - A Consumer that will call methods on ListNodesRequest.Builder to create a request.default ListNodesPublisher listNodesPaginator(ListNodesRequest listNodesRequest)
Returns a list of nodes.
This is a variant of listNodes(software.amazon.awssdk.services.panorama.model.ListNodesRequest)
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.panorama.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListNodesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListNodesResponse 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
listNodes(software.amazon.awssdk.services.panorama.model.ListNodesRequest) operation.
listNodesRequest - default ListNodesPublisher listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns a list of nodes.
This is a variant of listNodes(software.amazon.awssdk.services.panorama.model.ListNodesRequest)
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.panorama.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListNodesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListNodesResponse 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
listNodes(software.amazon.awssdk.services.panorama.model.ListNodesRequest) operation.
This is a convenience which creates an instance of the ListNodesRequest.Builder avoiding the need to
create one manually via ListNodesRequest.builder()
listNodesRequest - A Consumer that will call methods on ListNodesRequest.Builder to create a request.default CompletableFuture<ListPackageImportJobsResponse> listPackageImportJobs(ListPackageImportJobsRequest listPackageImportJobsRequest)
Returns a list of package import jobs.
listPackageImportJobsRequest - default CompletableFuture<ListPackageImportJobsResponse> listPackageImportJobs(Consumer<ListPackageImportJobsRequest.Builder> listPackageImportJobsRequest)
Returns a list of package import jobs.
This is a convenience which creates an instance of the ListPackageImportJobsRequest.Builder avoiding the
need to create one manually via ListPackageImportJobsRequest.builder()
listPackageImportJobsRequest - A Consumer that will call methods on ListPackageImportJobsRequest.Builder to create a
request.default ListPackageImportJobsPublisher listPackageImportJobsPaginator(ListPackageImportJobsRequest listPackageImportJobsRequest)
Returns a list of package import jobs.
This is a variant of
listPackageImportJobs(software.amazon.awssdk.services.panorama.model.ListPackageImportJobsRequest)
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.panorama.paginators.ListPackageImportJobsPublisher publisher = client.listPackageImportJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListPackageImportJobsPublisher publisher = client.listPackageImportJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListPackageImportJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListPackageImportJobsResponse 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
listPackageImportJobs(software.amazon.awssdk.services.panorama.model.ListPackageImportJobsRequest)
operation.
listPackageImportJobsRequest - default ListPackageImportJobsPublisher listPackageImportJobsPaginator(Consumer<ListPackageImportJobsRequest.Builder> listPackageImportJobsRequest)
Returns a list of package import jobs.
This is a variant of
listPackageImportJobs(software.amazon.awssdk.services.panorama.model.ListPackageImportJobsRequest)
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.panorama.paginators.ListPackageImportJobsPublisher publisher = client.listPackageImportJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListPackageImportJobsPublisher publisher = client.listPackageImportJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListPackageImportJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListPackageImportJobsResponse 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
listPackageImportJobs(software.amazon.awssdk.services.panorama.model.ListPackageImportJobsRequest)
operation.
This is a convenience which creates an instance of the ListPackageImportJobsRequest.Builder avoiding the
need to create one manually via ListPackageImportJobsRequest.builder()
listPackageImportJobsRequest - A Consumer that will call methods on ListPackageImportJobsRequest.Builder to create a
request.default CompletableFuture<ListPackagesResponse> listPackages(ListPackagesRequest listPackagesRequest)
Returns a list of packages.
listPackagesRequest - default CompletableFuture<ListPackagesResponse> listPackages(Consumer<ListPackagesRequest.Builder> listPackagesRequest)
Returns a list of packages.
This is a convenience which creates an instance of the ListPackagesRequest.Builder avoiding the need to
create one manually via ListPackagesRequest.builder()
listPackagesRequest - A Consumer that will call methods on ListPackagesRequest.Builder to create a request.default ListPackagesPublisher listPackagesPaginator(ListPackagesRequest listPackagesRequest)
Returns a list of packages.
This is a variant of listPackages(software.amazon.awssdk.services.panorama.model.ListPackagesRequest)
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.panorama.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListPackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListPackagesResponse 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
listPackages(software.amazon.awssdk.services.panorama.model.ListPackagesRequest) operation.
listPackagesRequest - default ListPackagesPublisher listPackagesPaginator(Consumer<ListPackagesRequest.Builder> listPackagesRequest)
Returns a list of packages.
This is a variant of listPackages(software.amazon.awssdk.services.panorama.model.ListPackagesRequest)
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.panorama.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.panorama.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.panorama.model.ListPackagesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.panorama.model.ListPackagesResponse 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
listPackages(software.amazon.awssdk.services.panorama.model.ListPackagesRequest) operation.
This is a convenience which creates an instance of the ListPackagesRequest.Builder avoiding the need to
create one manually via ListPackagesRequest.builder()
listPackagesRequest - A Consumer that will call methods on ListPackagesRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for a resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags for a 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<ProvisionDeviceResponse> provisionDevice(ProvisionDeviceRequest provisionDeviceRequest)
Creates a device and returns a configuration archive. The configuration archive is a ZIP file that contains a
provisioning certificate that is valid for 5 minutes. Name the configuration archive
certificates-omni_device-name.zip and transfer it to the device within 5 minutes. Use the
included USB storage device and connect it to the USB 3.0 port next to the HDMI output.
provisionDeviceRequest - default CompletableFuture<ProvisionDeviceResponse> provisionDevice(Consumer<ProvisionDeviceRequest.Builder> provisionDeviceRequest)
Creates a device and returns a configuration archive. The configuration archive is a ZIP file that contains a
provisioning certificate that is valid for 5 minutes. Name the configuration archive
certificates-omni_device-name.zip and transfer it to the device within 5 minutes. Use the
included USB storage device and connect it to the USB 3.0 port next to the HDMI output.
This is a convenience which creates an instance of the ProvisionDeviceRequest.Builder avoiding the need
to create one manually via ProvisionDeviceRequest.builder()
provisionDeviceRequest - A Consumer that will call methods on ProvisionDeviceRequest.Builder to create a request.default CompletableFuture<RegisterPackageVersionResponse> registerPackageVersion(RegisterPackageVersionRequest registerPackageVersionRequest)
Registers a package version.
registerPackageVersionRequest - default CompletableFuture<RegisterPackageVersionResponse> registerPackageVersion(Consumer<RegisterPackageVersionRequest.Builder> registerPackageVersionRequest)
Registers a package version.
This is a convenience which creates an instance of the RegisterPackageVersionRequest.Builder avoiding the
need to create one manually via RegisterPackageVersionRequest.builder()
registerPackageVersionRequest - A Consumer that will call methods on RegisterPackageVersionRequest.Builder to create a
request.default CompletableFuture<RemoveApplicationInstanceResponse> removeApplicationInstance(RemoveApplicationInstanceRequest removeApplicationInstanceRequest)
Removes an application instance.
removeApplicationInstanceRequest - default CompletableFuture<RemoveApplicationInstanceResponse> removeApplicationInstance(Consumer<RemoveApplicationInstanceRequest.Builder> removeApplicationInstanceRequest)
Removes an application instance.
This is a convenience which creates an instance of the RemoveApplicationInstanceRequest.Builder avoiding
the need to create one manually via RemoveApplicationInstanceRequest.builder()
removeApplicationInstanceRequest - A Consumer that will call methods on RemoveApplicationInstanceRequest.Builder to create a
request.default CompletableFuture<SignalApplicationInstanceNodeInstancesResponse> signalApplicationInstanceNodeInstances(SignalApplicationInstanceNodeInstancesRequest signalApplicationInstanceNodeInstancesRequest)
Signal camera nodes to stop or resume.
signalApplicationInstanceNodeInstancesRequest - default CompletableFuture<SignalApplicationInstanceNodeInstancesResponse> signalApplicationInstanceNodeInstances(Consumer<SignalApplicationInstanceNodeInstancesRequest.Builder> signalApplicationInstanceNodeInstancesRequest)
Signal camera nodes to stop or resume.
This is a convenience which creates an instance of the
SignalApplicationInstanceNodeInstancesRequest.Builder avoiding the need to create one manually via
SignalApplicationInstanceNodeInstancesRequest.builder()
signalApplicationInstanceNodeInstancesRequest - A Consumer that will call methods on SignalApplicationInstanceNodeInstancesRequest.Builder
to create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Tags a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Tags a 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 a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a 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<UpdateDeviceMetadataResponse> updateDeviceMetadata(UpdateDeviceMetadataRequest updateDeviceMetadataRequest)
Updates a device's metadata.
updateDeviceMetadataRequest - default CompletableFuture<UpdateDeviceMetadataResponse> updateDeviceMetadata(Consumer<UpdateDeviceMetadataRequest.Builder> updateDeviceMetadataRequest)
Updates a device's metadata.
This is a convenience which creates an instance of the UpdateDeviceMetadataRequest.Builder avoiding the
need to create one manually via UpdateDeviceMetadataRequest.builder()
updateDeviceMetadataRequest - A Consumer that will call methods on UpdateDeviceMetadataRequest.Builder to create a
request.static PanoramaAsyncClient create()
PanoramaAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static PanoramaAsyncClientBuilder builder()
PanoramaAsyncClient.Copyright © 2023. All rights reserved.