Interface IotRoboRunnerAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
An example service, deployed with the Octane Service creator, which will echo the string
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aIotRoboRunnerAsyncClient
.static IotRoboRunnerAsyncClient
create()
Create aIotRoboRunnerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createDestination
(Consumer<CreateDestinationRequest.Builder> createDestinationRequest) Grants permission to create a destinationcreateDestination
(CreateDestinationRequest createDestinationRequest) Grants permission to create a destinationdefault CompletableFuture
<CreateSiteResponse> createSite
(Consumer<CreateSiteRequest.Builder> createSiteRequest) Grants permission to create a sitedefault CompletableFuture
<CreateSiteResponse> createSite
(CreateSiteRequest createSiteRequest) Grants permission to create a sitedefault CompletableFuture
<CreateWorkerResponse> createWorker
(Consumer<CreateWorkerRequest.Builder> createWorkerRequest) Grants permission to create a workerdefault CompletableFuture
<CreateWorkerResponse> createWorker
(CreateWorkerRequest createWorkerRequest) Grants permission to create a workercreateWorkerFleet
(Consumer<CreateWorkerFleetRequest.Builder> createWorkerFleetRequest) Grants permission to create a worker fleetcreateWorkerFleet
(CreateWorkerFleetRequest createWorkerFleetRequest) Grants permission to create a worker fleetdeleteDestination
(Consumer<DeleteDestinationRequest.Builder> deleteDestinationRequest) Grants permission to delete a destinationdeleteDestination
(DeleteDestinationRequest deleteDestinationRequest) Grants permission to delete a destinationdefault CompletableFuture
<DeleteSiteResponse> deleteSite
(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) Grants permission to delete a sitedefault CompletableFuture
<DeleteSiteResponse> deleteSite
(DeleteSiteRequest deleteSiteRequest) Grants permission to delete a sitedefault CompletableFuture
<DeleteWorkerResponse> deleteWorker
(Consumer<DeleteWorkerRequest.Builder> deleteWorkerRequest) Grants permission to delete a workerdefault CompletableFuture
<DeleteWorkerResponse> deleteWorker
(DeleteWorkerRequest deleteWorkerRequest) Grants permission to delete a workerdeleteWorkerFleet
(Consumer<DeleteWorkerFleetRequest.Builder> deleteWorkerFleetRequest) Grants permission to delete a worker fleetdeleteWorkerFleet
(DeleteWorkerFleetRequest deleteWorkerFleetRequest) Grants permission to delete a worker fleetdefault CompletableFuture
<GetDestinationResponse> getDestination
(Consumer<GetDestinationRequest.Builder> getDestinationRequest) Grants permission to get a destinationdefault CompletableFuture
<GetDestinationResponse> getDestination
(GetDestinationRequest getDestinationRequest) Grants permission to get a destinationdefault CompletableFuture
<GetSiteResponse> getSite
(Consumer<GetSiteRequest.Builder> getSiteRequest) Grants permission to get a sitedefault CompletableFuture
<GetSiteResponse> getSite
(GetSiteRequest getSiteRequest) Grants permission to get a sitedefault CompletableFuture
<GetWorkerResponse> getWorker
(Consumer<GetWorkerRequest.Builder> getWorkerRequest) Grants permission to get a workerdefault CompletableFuture
<GetWorkerResponse> getWorker
(GetWorkerRequest getWorkerRequest) Grants permission to get a workerdefault CompletableFuture
<GetWorkerFleetResponse> getWorkerFleet
(Consumer<GetWorkerFleetRequest.Builder> getWorkerFleetRequest) Grants permission to get a worker fleetdefault CompletableFuture
<GetWorkerFleetResponse> getWorkerFleet
(GetWorkerFleetRequest getWorkerFleetRequest) Grants permission to get a worker fleetlistDestinations
(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) Grants permission to list destinationslistDestinations
(ListDestinationsRequest listDestinationsRequest) Grants permission to list destinationsdefault ListDestinationsPublisher
listDestinationsPaginator
(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) Grants permission to list destinationsdefault ListDestinationsPublisher
listDestinationsPaginator
(ListDestinationsRequest listDestinationsRequest) Grants permission to list destinationsdefault CompletableFuture
<ListSitesResponse> listSites
(Consumer<ListSitesRequest.Builder> listSitesRequest) Grants permission to list sitesdefault CompletableFuture
<ListSitesResponse> listSites
(ListSitesRequest listSitesRequest) Grants permission to list sitesdefault ListSitesPublisher
listSitesPaginator
(Consumer<ListSitesRequest.Builder> listSitesRequest) Grants permission to list sitesdefault ListSitesPublisher
listSitesPaginator
(ListSitesRequest listSitesRequest) Grants permission to list siteslistWorkerFleets
(Consumer<ListWorkerFleetsRequest.Builder> listWorkerFleetsRequest) Grants permission to list worker fleetslistWorkerFleets
(ListWorkerFleetsRequest listWorkerFleetsRequest) Grants permission to list worker fleetsdefault ListWorkerFleetsPublisher
listWorkerFleetsPaginator
(Consumer<ListWorkerFleetsRequest.Builder> listWorkerFleetsRequest) Grants permission to list worker fleetsdefault ListWorkerFleetsPublisher
listWorkerFleetsPaginator
(ListWorkerFleetsRequest listWorkerFleetsRequest) Grants permission to list worker fleetsdefault CompletableFuture
<ListWorkersResponse> listWorkers
(Consumer<ListWorkersRequest.Builder> listWorkersRequest) Grants permission to list workersdefault CompletableFuture
<ListWorkersResponse> listWorkers
(ListWorkersRequest listWorkersRequest) Grants permission to list workersdefault ListWorkersPublisher
listWorkersPaginator
(Consumer<ListWorkersRequest.Builder> listWorkersRequest) Grants permission to list workersdefault ListWorkersPublisher
listWorkersPaginator
(ListWorkersRequest listWorkersRequest) Grants permission to list workersThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationupdateDestination
(Consumer<UpdateDestinationRequest.Builder> updateDestinationRequest) Grants permission to update a destinationupdateDestination
(UpdateDestinationRequest updateDestinationRequest) Grants permission to update a destinationdefault CompletableFuture
<UpdateSiteResponse> updateSite
(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) Grants permission to update a sitedefault CompletableFuture
<UpdateSiteResponse> updateSite
(UpdateSiteRequest updateSiteRequest) Grants permission to update a sitedefault CompletableFuture
<UpdateWorkerResponse> updateWorker
(Consumer<UpdateWorkerRequest.Builder> updateWorkerRequest) Grants permission to update a workerdefault CompletableFuture
<UpdateWorkerResponse> updateWorker
(UpdateWorkerRequest updateWorkerRequest) Grants permission to update a workerupdateWorkerFleet
(Consumer<UpdateWorkerFleetRequest.Builder> updateWorkerFleetRequest) Grants permission to update a worker fleetupdateWorkerFleet
(UpdateWorkerFleetRequest updateWorkerFleetRequest) Grants permission to update a worker fleetMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createDestination
default CompletableFuture<CreateDestinationResponse> createDestination(CreateDestinationRequest createDestinationRequest) Grants permission to create a destination
- Parameters:
createDestinationRequest
-- Returns:
- A Java Future containing the result of the CreateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDestination
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 viaCreateDestinationRequest.builder()
- Parameters:
createDestinationRequest
- AConsumer
that will call methods onCreateDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSite
Grants permission to create a site
- Parameters:
createSiteRequest
-- Returns:
- A Java Future containing the result of the CreateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSite
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 viaCreateSiteRequest.builder()
- Parameters:
createSiteRequest
- AConsumer
that will call methods onCreateSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorker
default CompletableFuture<CreateWorkerResponse> createWorker(CreateWorkerRequest createWorkerRequest) Grants permission to create a worker
- Parameters:
createWorkerRequest
-- Returns:
- A Java Future containing the result of the CreateWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorker
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 viaCreateWorkerRequest.builder()
- Parameters:
createWorkerRequest
- AConsumer
that will call methods onCreateWorkerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkerFleet
default CompletableFuture<CreateWorkerFleetResponse> createWorkerFleet(CreateWorkerFleetRequest createWorkerFleetRequest) Grants permission to create a worker fleet
- Parameters:
createWorkerFleetRequest
-- Returns:
- A Java Future containing the result of the CreateWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkerFleet
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 viaCreateWorkerFleetRequest.builder()
- Parameters:
createWorkerFleetRequest
- AConsumer
that will call methods onCreateWorkerFleetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- ServiceQuotaExceededException Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDestination
default CompletableFuture<DeleteDestinationResponse> deleteDestination(DeleteDestinationRequest deleteDestinationRequest) Grants permission to delete a destination
- Parameters:
deleteDestinationRequest
-- Returns:
- A Java Future containing the result of the DeleteDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDestination
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 viaDeleteDestinationRequest.builder()
- Parameters:
deleteDestinationRequest
- AConsumer
that will call methods onDeleteDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSite
Grants permission to delete a site
- Parameters:
deleteSiteRequest
-- Returns:
- A Java Future containing the result of the DeleteSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSite
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 viaDeleteSiteRequest.builder()
- Parameters:
deleteSiteRequest
- AConsumer
that will call methods onDeleteSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorker
default CompletableFuture<DeleteWorkerResponse> deleteWorker(DeleteWorkerRequest deleteWorkerRequest) Grants permission to delete a worker
- Parameters:
deleteWorkerRequest
-- Returns:
- A Java Future containing the result of the DeleteWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorker
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 viaDeleteWorkerRequest.builder()
- Parameters:
deleteWorkerRequest
- AConsumer
that will call methods onDeleteWorkerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkerFleet
default CompletableFuture<DeleteWorkerFleetResponse> deleteWorkerFleet(DeleteWorkerFleetRequest deleteWorkerFleetRequest) Grants permission to delete a worker fleet
- Parameters:
deleteWorkerFleetRequest
-- Returns:
- A Java Future containing the result of the DeleteWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkerFleet
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 viaDeleteWorkerFleetRequest.builder()
- Parameters:
deleteWorkerFleetRequest
- AConsumer
that will call methods onDeleteWorkerFleetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ConflictException Exception thrown if a resource in a create request already exists.
- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDestination
default CompletableFuture<GetDestinationResponse> getDestination(GetDestinationRequest getDestinationRequest) Grants permission to get a destination
- Parameters:
getDestinationRequest
-- Returns:
- A Java Future containing the result of the GetDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDestination
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 viaGetDestinationRequest.builder()
- Parameters:
getDestinationRequest
- AConsumer
that will call methods onGetDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSite
Grants permission to get a site
- Parameters:
getSiteRequest
-- Returns:
- A Java Future containing the result of the GetSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSite
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 viaGetSiteRequest.builder()
- Parameters:
getSiteRequest
- AConsumer
that will call methods onGetSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorker
Grants permission to get a worker
- Parameters:
getWorkerRequest
-- Returns:
- A Java Future containing the result of the GetWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorker
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 viaGetWorkerRequest.builder()
- Parameters:
getWorkerRequest
- AConsumer
that will call methods onGetWorkerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkerFleet
default CompletableFuture<GetWorkerFleetResponse> getWorkerFleet(GetWorkerFleetRequest getWorkerFleetRequest) Grants permission to get a worker fleet
- Parameters:
getWorkerFleetRequest
-- Returns:
- A Java Future containing the result of the GetWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getWorkerFleet
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 viaGetWorkerFleetRequest.builder()
- Parameters:
getWorkerFleetRequest
- AConsumer
that will call methods onGetWorkerFleetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinations
default CompletableFuture<ListDestinationsResponse> listDestinations(ListDestinationsRequest listDestinationsRequest) Grants permission to list destinations
- Parameters:
listDestinationsRequest
-- Returns:
- A Java Future containing the result of the ListDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinations
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 viaListDestinationsRequest.builder()
- Parameters:
listDestinationsRequest
- AConsumer
that will call methods onListDestinationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinationsPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listDestinationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDestinationsPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListDestinationsRequest.builder()
- Parameters:
listDestinationsRequest
- AConsumer
that will call methods onListDestinationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSites
Grants permission to list sites
- Parameters:
listSitesRequest
-- Returns:
- A Java Future containing the result of the ListSites operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSites
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 viaListSitesRequest.builder()
- Parameters:
listSitesRequest
- AConsumer
that will call methods onListSitesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSites operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSitesPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listSitesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSitesPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListSitesRequest.builder()
- Parameters:
listSitesRequest
- AConsumer
that will call methods onListSitesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkerFleets
default CompletableFuture<ListWorkerFleetsResponse> listWorkerFleets(ListWorkerFleetsRequest listWorkerFleetsRequest) Grants permission to list worker fleets
- Parameters:
listWorkerFleetsRequest
-- Returns:
- A Java Future containing the result of the ListWorkerFleets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkerFleets
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 viaListWorkerFleetsRequest.builder()
- Parameters:
listWorkerFleetsRequest
- AConsumer
that will call methods onListWorkerFleetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkerFleets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkerFleetsPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listWorkerFleetsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkerFleetsPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListWorkerFleetsRequest.builder()
- Parameters:
listWorkerFleetsRequest
- AConsumer
that will call methods onListWorkerFleetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkers
Grants permission to list workers
- Parameters:
listWorkersRequest
-- Returns:
- A Java Future containing the result of the ListWorkers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkers
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 viaListWorkersRequest.builder()
- Parameters:
listWorkersRequest
- AConsumer
that will call methods onListWorkersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkersPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listWorkersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkersPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListWorkersRequest.builder()
- Parameters:
listWorkersRequest
- AConsumer
that will call methods onListWorkersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDestination
default CompletableFuture<UpdateDestinationResponse> updateDestination(UpdateDestinationRequest updateDestinationRequest) Grants permission to update a destination
- Parameters:
updateDestinationRequest
-- Returns:
- A Java Future containing the result of the UpdateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDestination
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 viaUpdateDestinationRequest.builder()
- Parameters:
updateDestinationRequest
- AConsumer
that will call methods onUpdateDestinationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSite
Grants permission to update a site
- Parameters:
updateSiteRequest
-- Returns:
- A Java Future containing the result of the UpdateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSite
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 viaUpdateSiteRequest.builder()
- Parameters:
updateSiteRequest
- AConsumer
that will call methods onUpdateSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorker
default CompletableFuture<UpdateWorkerResponse> updateWorker(UpdateWorkerRequest updateWorkerRequest) Grants permission to update a worker
- Parameters:
updateWorkerRequest
-- Returns:
- A Java Future containing the result of the UpdateWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorker
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 viaUpdateWorkerRequest.builder()
- Parameters:
updateWorkerRequest
- AConsumer
that will call methods onUpdateWorkerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateWorker operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkerFleet
default CompletableFuture<UpdateWorkerFleetResponse> updateWorkerFleet(UpdateWorkerFleetRequest updateWorkerFleetRequest) Grants permission to update a worker fleet
- Parameters:
updateWorkerFleetRequest
-- Returns:
- A Java Future containing the result of the UpdateWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkerFleet
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 viaUpdateWorkerFleetRequest.builder()
- Parameters:
updateWorkerFleetRequest
- AConsumer
that will call methods onUpdateWorkerFleetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateWorkerFleet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccessDeniedException User does not have sufficient access to perform this action.
- ValidationException Exception thrown if an invalid parameter is provided to an API.
- ResourceNotFoundException Exception thrown if a resource referenced in the request doesn't exist.
- ThrottlingException Exception thrown if the api has been called too quickly be the client.
- InternalServerException Exception thrown if something goes wrong within the service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- IotRoboRunnerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aIotRoboRunnerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aIotRoboRunnerAsyncClient
.
-