Interface CloudExtensionsAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
AWS Cloud Extensions runs extensions on your hosts. An extension is a WebAssembly module that an AWS service publishes, and the Cloud Extensions Runtime runs it on a host and serves it to local clients. Use this API to find released extensions, add them to profiles as profile entries, and configure each entry's version policy, settings, approved capabilities, and authentication. A Cloud Extensions Runtime syncs one profile and runs that profile's entries.
-
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 aCloudExtensionsAsyncClient.static CloudExtensionsAsyncClientcreate()Create aCloudExtensionsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateProfileResponse> createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest) Creates a new profile.default CompletableFuture<CreateProfileResponse> createProfile(CreateProfileRequest createProfileRequest) Creates a new profile.createProfileEntry(Consumer<CreateProfileEntryRequest.Builder> createProfileEntryRequest) Creates a profile entry that binds an extension to a profile.createProfileEntry(CreateProfileEntryRequest createProfileEntryRequest) Creates a profile entry that binds an extension to a profile.default CompletableFuture<DeleteProfileResponse> deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest) Deletes a profile and its profile entries.default CompletableFuture<DeleteProfileResponse> deleteProfile(DeleteProfileRequest deleteProfileRequest) Deletes a profile and its profile entries.deleteProfileEntry(Consumer<DeleteProfileEntryRequest.Builder> deleteProfileEntryRequest) Removes a profile entry, unbinding the extension from the profile.deleteProfileEntry(DeleteProfileEntryRequest deleteProfileEntryRequest) Removes a profile entry, unbinding the extension from the profile.default CompletableFuture<GetExtensionResponse> getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest) Retrieves a released extension by its id.default CompletableFuture<GetExtensionResponse> getExtension(GetExtensionRequest getExtensionRequest) Retrieves a released extension by its id.default CompletableFuture<GetProfileResponse> getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest) Retrieves a profile by its identifier (id or name).default CompletableFuture<GetProfileResponse> getProfile(GetProfileRequest getProfileRequest) Retrieves a profile by its identifier (id or name).default CompletableFuture<GetProfileEntryResponse> getProfileEntry(Consumer<GetProfileEntryRequest.Builder> getProfileEntryRequest) Retrieves a profile entry by its profile identifier and entry identifier.default CompletableFuture<GetProfileEntryResponse> getProfileEntry(GetProfileEntryRequest getProfileEntryRequest) Retrieves a profile entry by its profile identifier and entry identifier.default CompletableFuture<ListExtensionsResponse> listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) Lists released extensions.default CompletableFuture<ListExtensionsResponse> listExtensions(ListExtensionsRequest listExtensionsRequest) Lists released extensions.default ListExtensionsPublisherlistExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) This is a variant oflistExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest)operation.default ListExtensionsPublisherlistExtensionsPaginator(ListExtensionsRequest listExtensionsRequest) This is a variant oflistExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest)operation.listExtensionVersions(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest) Lists the released versions of an extension, newest first, optionally filtered by a version selector.listExtensionVersions(ListExtensionVersionsRequest listExtensionVersionsRequest) Lists the released versions of an extension, newest first, optionally filtered by a version selector.default ListExtensionVersionsPublisherlistExtensionVersionsPaginator(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest) This is a variant oflistExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest)operation.default ListExtensionVersionsPublisherlistExtensionVersionsPaginator(ListExtensionVersionsRequest listExtensionVersionsRequest) This is a variant oflistExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest)operation.listProfileEntries(Consumer<ListProfileEntriesRequest.Builder> listProfileEntriesRequest) Lists profile entries for a given profile.listProfileEntries(ListProfileEntriesRequest listProfileEntriesRequest) Lists profile entries for a given profile.default ListProfileEntriesPublisherlistProfileEntriesPaginator(Consumer<ListProfileEntriesRequest.Builder> listProfileEntriesRequest) This is a variant oflistProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest)operation.default ListProfileEntriesPublisherlistProfileEntriesPaginator(ListProfileEntriesRequest listProfileEntriesRequest) This is a variant oflistProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest)operation.default CompletableFuture<ListProfilesResponse> listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest) Lists profiles in the account, optionally filtered by name.default CompletableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest listProfilesRequest) Lists profiles in the account, optionally filtered by name.default ListProfilesPublisherlistProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest) This is a variant oflistProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest)operation.default ListProfilesPublisherlistProfilesPaginator(ListProfilesRequest listProfilesRequest) This is a variant oflistProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags on a profile or profile entry.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags on a profile or profile entry.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a profile or profile entry.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to a profile or profile entry.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a profile or profile entry.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a profile or profile entry.default CompletableFuture<UpdateProfileResponse> updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest) Updates a profile's mutable properties.default CompletableFuture<UpdateProfileResponse> updateProfile(UpdateProfileRequest updateProfileRequest) Updates a profile's mutable properties.updateProfileEntry(Consumer<UpdateProfileEntryRequest.Builder> updateProfileEntryRequest) Updates a profile entry's configuration.updateProfileEntry(UpdateProfileEntryRequest updateProfileEntryRequest) Updates a profile entry's configuration.Methods 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
-
createProfile
default CompletableFuture<CreateProfileResponse> createProfile(CreateProfileRequest createProfileRequest) Creates a new profile. The profile name must be unique within the account.
- Parameters:
createProfileRequest- The properties for the new profile.- Returns:
- A Java Future containing the result of the CreateProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for the account.
- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProfile
default CompletableFuture<CreateProfileResponse> createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest) Creates a new profile. The profile name must be unique within the account.
This is a convenience which creates an instance of the
CreateProfileRequest.Builderavoiding the need to create one manually viaCreateProfileRequest.builder()- Parameters:
createProfileRequest- AConsumerthat will call methods onCreateProfileRequest.Builderto create a request. The properties for the new profile.- Returns:
- A Java Future containing the result of the CreateProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for the account.
- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProfileEntry
default CompletableFuture<CreateProfileEntryResponse> createProfileEntry(CreateProfileEntryRequest createProfileEntryRequest) Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.
- Parameters:
createProfileEntryRequest- The profile, extension, and configuration for the new entry.- Returns:
- A Java Future containing the result of the CreateProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for the account.
- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProfileEntry
default CompletableFuture<CreateProfileEntryResponse> createProfileEntry(Consumer<CreateProfileEntryRequest.Builder> createProfileEntryRequest) Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.
This is a convenience which creates an instance of the
CreateProfileEntryRequest.Builderavoiding the need to create one manually viaCreateProfileEntryRequest.builder()- Parameters:
createProfileEntryRequest- AConsumerthat will call methods onCreateProfileEntryRequest.Builderto create a request. The profile, extension, and configuration for the new entry.- Returns:
- A Java Future containing the result of the CreateProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota for the account.
- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProfile
default CompletableFuture<DeleteProfileResponse> deleteProfile(DeleteProfileRequest deleteProfileRequest) Deletes a profile and its profile entries.
- Parameters:
deleteProfileRequest- Identifies the profile to delete.- Returns:
- A Java Future containing the result of the DeleteProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProfile
default CompletableFuture<DeleteProfileResponse> deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest) Deletes a profile and its profile entries.
This is a convenience which creates an instance of the
DeleteProfileRequest.Builderavoiding the need to create one manually viaDeleteProfileRequest.builder()- Parameters:
deleteProfileRequest- AConsumerthat will call methods onDeleteProfileRequest.Builderto create a request. Identifies the profile to delete.- Returns:
- A Java Future containing the result of the DeleteProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProfileEntry
default CompletableFuture<DeleteProfileEntryResponse> deleteProfileEntry(DeleteProfileEntryRequest deleteProfileEntryRequest) Removes a profile entry, unbinding the extension from the profile.
- Parameters:
deleteProfileEntryRequest- Identifies the profile entry to delete.- Returns:
- A Java Future containing the result of the DeleteProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProfileEntry
default CompletableFuture<DeleteProfileEntryResponse> deleteProfileEntry(Consumer<DeleteProfileEntryRequest.Builder> deleteProfileEntryRequest) Removes a profile entry, unbinding the extension from the profile.
This is a convenience which creates an instance of the
DeleteProfileEntryRequest.Builderavoiding the need to create one manually viaDeleteProfileEntryRequest.builder()- Parameters:
deleteProfileEntryRequest- AConsumerthat will call methods onDeleteProfileEntryRequest.Builderto create a request. Identifies the profile entry to delete.- Returns:
- A Java Future containing the result of the DeleteProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExtension
default CompletableFuture<GetExtensionResponse> getExtension(GetExtensionRequest getExtensionRequest) Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.
- Parameters:
getExtensionRequest- Identifies the extension and optionally a specific version to retrieve.- Returns:
- A Java Future containing the result of the GetExtension operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExtension
default CompletableFuture<GetExtensionResponse> getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest) Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.
This is a convenience which creates an instance of the
GetExtensionRequest.Builderavoiding the need to create one manually viaGetExtensionRequest.builder()- Parameters:
getExtensionRequest- AConsumerthat will call methods onGetExtensionRequest.Builderto create a request. Identifies the extension and optionally a specific version to retrieve.- Returns:
- A Java Future containing the result of the GetExtension operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfile
Retrieves a profile by its identifier (id or name).
- Parameters:
getProfileRequest- Identifies the profile to retrieve.- Returns:
- A Java Future containing the result of the GetProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfile
default CompletableFuture<GetProfileResponse> getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest) Retrieves a profile by its identifier (id or name).
This is a convenience which creates an instance of the
GetProfileRequest.Builderavoiding the need to create one manually viaGetProfileRequest.builder()- Parameters:
getProfileRequest- AConsumerthat will call methods onGetProfileRequest.Builderto create a request. Identifies the profile to retrieve.- Returns:
- A Java Future containing the result of the GetProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfileEntry
default CompletableFuture<GetProfileEntryResponse> getProfileEntry(GetProfileEntryRequest getProfileEntryRequest) Retrieves a profile entry by its profile identifier and entry identifier.
- Parameters:
getProfileEntryRequest- Identifies the profile entry to retrieve.- Returns:
- A Java Future containing the result of the GetProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfileEntry
default CompletableFuture<GetProfileEntryResponse> getProfileEntry(Consumer<GetProfileEntryRequest.Builder> getProfileEntryRequest) Retrieves a profile entry by its profile identifier and entry identifier.
This is a convenience which creates an instance of the
GetProfileEntryRequest.Builderavoiding the need to create one manually viaGetProfileEntryRequest.builder()- Parameters:
getProfileEntryRequest- AConsumerthat will call methods onGetProfileEntryRequest.Builderto create a request. Identifies the profile entry to retrieve.- Returns:
- A Java Future containing the result of the GetProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensionVersions
default CompletableFuture<ListExtensionVersionsResponse> listExtensionVersions(ListExtensionVersionsRequest listExtensionVersionsRequest) Lists the released versions of an extension, newest first, optionally filtered by a version selector.
- Parameters:
listExtensionVersionsRequest- The extension whose versions to list, with an optional filter and pagination parameters.- Returns:
- A Java Future containing the result of the ListExtensionVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensionVersions
default CompletableFuture<ListExtensionVersionsResponse> listExtensionVersions(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest) Lists the released versions of an extension, newest first, optionally filtered by a version selector.
This is a convenience which creates an instance of the
ListExtensionVersionsRequest.Builderavoiding the need to create one manually viaListExtensionVersionsRequest.builder()- Parameters:
listExtensionVersionsRequest- AConsumerthat will call methods onListExtensionVersionsRequest.Builderto create a request. The extension whose versions to list, with an optional filter and pagination parameters.- Returns:
- A Java Future containing the result of the ListExtensionVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensionVersionsPaginator
default ListExtensionVersionsPublisher listExtensionVersionsPaginator(ListExtensionVersionsRequest listExtensionVersionsRequest) This is a variant of
listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest)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.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(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.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse 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
listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest)operation.- Parameters:
listExtensionVersionsRequest- The extension whose versions to list, with an optional filter and pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensionVersionsPaginator
default ListExtensionVersionsPublisher listExtensionVersionsPaginator(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest) This is a variant of
listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest)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.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(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.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse 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
listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest)operation.
This is a convenience which creates an instance of the
ListExtensionVersionsRequest.Builderavoiding the need to create one manually viaListExtensionVersionsRequest.builder()- Parameters:
listExtensionVersionsRequest- AConsumerthat will call methods onListExtensionVersionsRequest.Builderto create a request. The extension whose versions to list, with an optional filter and pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensions
default CompletableFuture<ListExtensionsResponse> listExtensions(ListExtensionsRequest listExtensionsRequest) Lists released extensions. Returns the latest version of each extension.
- Parameters:
listExtensionsRequest- Pagination parameters.- Returns:
- A Java Future containing the result of the ListExtensions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensions
default CompletableFuture<ListExtensionsResponse> listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) Lists released extensions. Returns the latest version of each extension.
This is a convenience which creates an instance of the
ListExtensionsRequest.Builderavoiding the need to create one manually viaListExtensionsRequest.builder()- Parameters:
listExtensionsRequest- AConsumerthat will call methods onListExtensionsRequest.Builderto create a request. Pagination parameters.- Returns:
- A Java Future containing the result of the ListExtensions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensionsPaginator
default ListExtensionsPublisher listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest) This is a variant of
listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest)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.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(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.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse 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
listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest)operation.- Parameters:
listExtensionsRequest- Pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExtensionsPaginator
default ListExtensionsPublisher listExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) This is a variant of
listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest)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.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(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.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse 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
listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest)operation.
This is a convenience which creates an instance of the
ListExtensionsRequest.Builderavoiding the need to create one manually viaListExtensionsRequest.builder()- Parameters:
listExtensionsRequest- AConsumerthat will call methods onListExtensionsRequest.Builderto create a request. Pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfileEntries
default CompletableFuture<ListProfileEntriesResponse> listProfileEntries(ListProfileEntriesRequest listProfileEntriesRequest) Lists profile entries for a given profile.
- Parameters:
listProfileEntriesRequest- The profile whose entries to list, with pagination parameters.- Returns:
- A Java Future containing the result of the ListProfileEntries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfileEntries
default CompletableFuture<ListProfileEntriesResponse> listProfileEntries(Consumer<ListProfileEntriesRequest.Builder> listProfileEntriesRequest) Lists profile entries for a given profile.
This is a convenience which creates an instance of the
ListProfileEntriesRequest.Builderavoiding the need to create one manually viaListProfileEntriesRequest.builder()- Parameters:
listProfileEntriesRequest- AConsumerthat will call methods onListProfileEntriesRequest.Builderto create a request. The profile whose entries to list, with pagination parameters.- Returns:
- A Java Future containing the result of the ListProfileEntries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfileEntriesPaginator
default ListProfileEntriesPublisher listProfileEntriesPaginator(ListProfileEntriesRequest listProfileEntriesRequest) This is a variant of
listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest)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.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(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.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse 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
listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest)operation.- Parameters:
listProfileEntriesRequest- The profile whose entries to list, with pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfileEntriesPaginator
default ListProfileEntriesPublisher listProfileEntriesPaginator(Consumer<ListProfileEntriesRequest.Builder> listProfileEntriesRequest) This is a variant of
listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest)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.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(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.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse 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
listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest)operation.
This is a convenience which creates an instance of the
ListProfileEntriesRequest.Builderavoiding the need to create one manually viaListProfileEntriesRequest.builder()- Parameters:
listProfileEntriesRequest- AConsumerthat will call methods onListProfileEntriesRequest.Builderto create a request. The profile whose entries to list, with pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfiles
default CompletableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest listProfilesRequest) Lists profiles in the account, optionally filtered by name.
- Parameters:
listProfilesRequest- Optional filters and pagination parameters.- Returns:
- A Java Future containing the result of the ListProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfiles
default CompletableFuture<ListProfilesResponse> listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest) Lists profiles in the account, optionally filtered by name.
This is a convenience which creates an instance of the
ListProfilesRequest.Builderavoiding the need to create one manually viaListProfilesRequest.builder()- Parameters:
listProfilesRequest- AConsumerthat will call methods onListProfilesRequest.Builderto create a request. Optional filters and pagination parameters.- Returns:
- A Java Future containing the result of the ListProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfilesPaginator
This is a variant of
listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest)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.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(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.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse 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
listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest)operation.- Parameters:
listProfilesRequest- Optional filters and pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProfilesPaginator
default ListProfilesPublisher listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest) This is a variant of
listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest)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.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(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.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse 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
listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest)operation.
This is a convenience which creates an instance of the
ListProfilesRequest.Builderavoiding the need to create one manually viaListProfilesRequest.builder()- Parameters:
listProfilesRequest- AConsumerthat will call methods onListProfilesRequest.Builderto create a request. Optional filters and pagination parameters.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags on a profile or profile entry.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags on a profile or profile entry.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a profile or profile entry.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a profile or profile entry.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProfile
default CompletableFuture<UpdateProfileResponse> updateProfile(UpdateProfileRequest updateProfileRequest) Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.
- Parameters:
updateProfileRequest- The identifier of the profile to update and the fields to change.- Returns:
- A Java Future containing the result of the UpdateProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProfile
default CompletableFuture<UpdateProfileResponse> updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest) Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.
This is a convenience which creates an instance of the
UpdateProfileRequest.Builderavoiding the need to create one manually viaUpdateProfileRequest.builder()- Parameters:
updateProfileRequest- AConsumerthat will call methods onUpdateProfileRequest.Builderto create a request. The identifier of the profile to update and the fields to change.- Returns:
- A Java Future containing the result of the UpdateProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProfileEntry
default CompletableFuture<UpdateProfileEntryResponse> updateProfileEntry(UpdateProfileEntryRequest updateProfileEntryRequest) Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.
- Parameters:
updateProfileEntryRequest- The identifier of the profile entry to update and the fields to change.- Returns:
- A Java Future containing the result of the UpdateProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProfileEntry
default CompletableFuture<UpdateProfileEntryResponse> updateProfileEntry(Consumer<UpdateProfileEntryRequest.Builder> updateProfileEntryRequest) Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.
This is a convenience which creates an instance of the
UpdateProfileEntryRequest.Builderavoiding the need to create one manually viaUpdateProfileEntryRequest.builder()- Parameters:
updateProfileEntryRequest- AConsumerthat will call methods onUpdateProfileEntryRequest.Builderto create a request. The identifier of the profile entry to update and the fields to change.- Returns:
- A Java Future containing the result of the UpdateProfileEntry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
- ConflictException The request conflicts with the current state of the resource.
- AccessDeniedException The caller does not have permission to perform the operation.
- ValidationException The request was malformed or contained invalid parameter values.
- ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
- ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
- 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.
- CloudExtensionsException 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 aCloudExtensionsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aCloudExtensionsAsyncClient.
-