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 StringValue 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 IotRoboRunnerAsyncClientcreate()Create aIotRoboRunnerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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 ListDestinationsPublisherlistDestinationsPaginator(Consumer<ListDestinationsRequest.Builder> listDestinationsRequest) Grants permission to list destinationsdefault ListDestinationsPublisherlistDestinationsPaginator(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 ListSitesPublisherlistSitesPaginator(Consumer<ListSitesRequest.Builder> listSitesRequest) Grants permission to list sitesdefault ListSitesPublisherlistSitesPaginator(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 ListWorkerFleetsPublisherlistWorkerFleetsPaginator(Consumer<ListWorkerFleetsRequest.Builder> listWorkerFleetsRequest) Grants permission to list worker fleetsdefault ListWorkerFleetsPublisherlistWorkerFleetsPaginator(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 ListWorkersPublisherlistWorkersPaginator(Consumer<ListWorkersRequest.Builder> listWorkersRequest) Grants permission to list workersdefault ListWorkersPublisherlistWorkersPaginator(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
closeMethods 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.Builderavoiding the need to create one manually viaCreateDestinationRequest.builder()- Parameters:
createDestinationRequest- AConsumerthat will call methods onCreateDestinationRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSiteRequest.builder()- Parameters:
createSiteRequest- AConsumerthat will call methods onCreateSiteRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateWorkerRequest.builder()- Parameters:
createWorkerRequest- AConsumerthat will call methods onCreateWorkerRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateWorkerFleetRequest.builder()- Parameters:
createWorkerFleetRequest- AConsumerthat will call methods onCreateWorkerFleetRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteDestinationRequest.builder()- Parameters:
deleteDestinationRequest- AConsumerthat will call methods onDeleteDestinationRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSiteRequest.builder()- Parameters:
deleteSiteRequest- AConsumerthat will call methods onDeleteSiteRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteWorkerRequest.builder()- Parameters:
deleteWorkerRequest- AConsumerthat will call methods onDeleteWorkerRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteWorkerFleetRequest.builder()- Parameters:
deleteWorkerFleetRequest- AConsumerthat will call methods onDeleteWorkerFleetRequest.Builderto 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.Builderavoiding the need to create one manually viaGetDestinationRequest.builder()- Parameters:
getDestinationRequest- AConsumerthat will call methods onGetDestinationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSiteRequest.builder()- Parameters:
getSiteRequest- AConsumerthat will call methods onGetSiteRequest.Builderto 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.Builderavoiding the need to create one manually viaGetWorkerRequest.builder()- Parameters:
getWorkerRequest- AConsumerthat will call methods onGetWorkerRequest.Builderto 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.Builderavoiding the need to create one manually viaGetWorkerFleetRequest.builder()- Parameters:
getWorkerFleetRequest- AConsumerthat will call methods onGetWorkerFleetRequest.Builderto 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.Builderavoiding the need to create one manually viaListDestinationsRequest.builder()- Parameters:
listDestinationsRequest- AConsumerthat will call methods onListDestinationsRequest.Builderto 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListDestinationsPublisher publisher = client.listDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDestinationsRequest.builder()- Parameters:
listDestinationsRequest- AConsumerthat will call methods onListDestinationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSitesRequest.builder()- Parameters:
listSitesRequest- AConsumerthat will call methods onListSitesRequest.Builderto 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListSitesRequest.builder()- Parameters:
listSitesRequest- AConsumerthat will call methods onListSitesRequest.Builderto 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.Builderavoiding the need to create one manually viaListWorkerFleetsRequest.builder()- Parameters:
listWorkerFleetsRequest- AConsumerthat will call methods onListWorkerFleetsRequest.Builderto 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkerFleetsPublisher publisher = client.listWorkerFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListWorkerFleetsRequest.builder()- Parameters:
listWorkerFleetsRequest- AConsumerthat will call methods onListWorkerFleetsRequest.Builderto 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.Builderavoiding the need to create one manually viaListWorkersRequest.builder()- Parameters:
listWorkersRequest- AConsumerthat will call methods onListWorkersRequest.Builderto 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.iotroborunner.paginators.ListWorkersPublisher publisher = client.listWorkersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListWorkersRequest.builder()- Parameters:
listWorkersRequest- AConsumerthat will call methods onListWorkersRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateDestinationRequest.builder()- Parameters:
updateDestinationRequest- AConsumerthat will call methods onUpdateDestinationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSiteRequest.builder()- Parameters:
updateSiteRequest- AConsumerthat will call methods onUpdateSiteRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateWorkerRequest.builder()- Parameters:
updateWorkerRequest- AConsumerthat will call methods onUpdateWorkerRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateWorkerFleetRequest.builder()- Parameters:
updateWorkerFleetRequest- AConsumerthat will call methods onUpdateWorkerFleetRequest.Builderto 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aIotRoboRunnerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aIotRoboRunnerAsyncClient.
-