Interface WickrAsyncClient
- 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.
Welcome to the Amazon Web Services Wickr API Reference.
The Amazon Web Services Wickr application programming interface (API) is designed for administrators to perform key tasks, such as creating and managing Amazon Web Services Wickr, networks, users, security groups, bots and more. This guide provides detailed information about the Amazon Web Services Wickr API, including operations, types, inputs and outputs, and error codes. You can use an Amazon Web Services SDK, the Amazon Web Services Command Line Interface (Amazon Web Services CLI, or the REST API to make API calls for Amazon Web Services Wickr.
Using Amazon Web Services SDK
The SDK clients authenticate your requests by using access keys that you provide. For more information, see Authentication and access using Amazon Web Services SDKs and tools in the Amazon Web Services SDKs and Tools Reference Guide.
Using Amazon Web Services CLI
Use your access keys with the Amazon Web Services CLI to make API calls. For more information about setting up the Amazon Web Services CLI, see Getting started with the Amazon Web Services CLI in the Amazon Web Services Command Line Interface User Guide for Version 2.
Using REST APIs
If you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Web Services Wickr supports Signature Version 4. For more information, see Amazon Web Services Signature Version 4 for API requests in the Amazon Web Services Identity and Access Management User Guide.
Access and permissions to the APIs can be controlled by Amazon Web Services Identity and Access Management. The managed policy Amazon Web ServicesWickrFullAccess grants full administrative permission to the Amazon Web Services Wickr service APIs. For more information on restricting access to specific operations, see Identity and access management for Amazon Web Services Wickr in the Amazon Web Services Wickr Administration Guide.
Types of Errors:
The Amazon Web Services Wickr APIs provide an HTTP interface. HTTP defines ranges of HTTP Status Codes for different types of error responses.
-
Client errors are indicated by HTTP Status Code class of 4xx
-
Service errors are indicated by HTTP Status Code class of 5xx
In this reference guide, the documentation for each API has an Errors section that includes a brief discussion about HTTP status codes. We recommend looking there as part of your investigation when you get an error.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture<BatchCreateUserResponse> batchCreateUser(Consumer<BatchCreateUserRequest.Builder> batchCreateUserRequest) Creates multiple users in a specified Wickr network.default CompletableFuture<BatchCreateUserResponse> batchCreateUser(BatchCreateUserRequest batchCreateUserRequest) Creates multiple users in a specified Wickr network.default CompletableFuture<BatchDeleteUserResponse> batchDeleteUser(Consumer<BatchDeleteUserRequest.Builder> batchDeleteUserRequest) Deletes multiple users from a specified Wickr network.default CompletableFuture<BatchDeleteUserResponse> batchDeleteUser(BatchDeleteUserRequest batchDeleteUserRequest) Deletes multiple users from a specified Wickr network.batchLookupUserUname(Consumer<BatchLookupUserUnameRequest.Builder> batchLookupUserUnameRequest) Looks up multiple user usernames from their unique username hashes (unames).batchLookupUserUname(BatchLookupUserUnameRequest batchLookupUserUnameRequest) Looks up multiple user usernames from their unique username hashes (unames).batchReinviteUser(Consumer<BatchReinviteUserRequest.Builder> batchReinviteUserRequest) Resends invitation codes to multiple users who have pending invitations in a Wickr network.batchReinviteUser(BatchReinviteUserRequest batchReinviteUserRequest) Resends invitation codes to multiple users who have pending invitations in a Wickr network.batchResetDevicesForUser(Consumer<BatchResetDevicesForUserRequest.Builder> batchResetDevicesForUserRequest) Resets multiple devices for a specific user in a Wickr network.batchResetDevicesForUser(BatchResetDevicesForUserRequest batchResetDevicesForUserRequest) Resets multiple devices for a specific user in a Wickr network.batchToggleUserSuspendStatus(Consumer<BatchToggleUserSuspendStatusRequest.Builder> batchToggleUserSuspendStatusRequest) Suspends or unsuspends multiple users in a Wickr network.batchToggleUserSuspendStatus(BatchToggleUserSuspendStatusRequest batchToggleUserSuspendStatusRequest) Suspends or unsuspends multiple users in a Wickr network.static WickrAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aWickrAsyncClient.static WickrAsyncClientcreate()Create aWickrAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateBotResponse> createBot(Consumer<CreateBotRequest.Builder> createBotRequest) Creates a new bot in a specified Wickr network.default CompletableFuture<CreateBotResponse> createBot(CreateBotRequest createBotRequest) Creates a new bot in a specified Wickr network.createDataRetentionBot(Consumer<CreateDataRetentionBotRequest.Builder> createDataRetentionBotRequest) Creates a data retention bot in a Wickr network.createDataRetentionBot(CreateDataRetentionBotRequest createDataRetentionBotRequest) Creates a data retention bot in a Wickr network.createDataRetentionBotChallenge(Consumer<CreateDataRetentionBotChallengeRequest.Builder> createDataRetentionBotChallengeRequest) Creates a new challenge password for the data retention bot.createDataRetentionBotChallenge(CreateDataRetentionBotChallengeRequest createDataRetentionBotChallengeRequest) Creates a new challenge password for the data retention bot.default CompletableFuture<CreateNetworkResponse> createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest) Creates a new Wickr network with specified access level and configuration.default CompletableFuture<CreateNetworkResponse> createNetwork(CreateNetworkRequest createNetworkRequest) Creates a new Wickr network with specified access level and configuration.createSecurityGroup(Consumer<CreateSecurityGroupRequest.Builder> createSecurityGroupRequest) Creates a new security group in a Wickr network.createSecurityGroup(CreateSecurityGroupRequest createSecurityGroupRequest) Creates a new security group in a Wickr network.default CompletableFuture<DeleteBotResponse> deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest) Deletes a bot from a specified Wickr network.default CompletableFuture<DeleteBotResponse> deleteBot(DeleteBotRequest deleteBotRequest) Deletes a bot from a specified Wickr network.deleteDataRetentionBot(Consumer<DeleteDataRetentionBotRequest.Builder> deleteDataRetentionBotRequest) Deletes the data retention bot from a Wickr network.deleteDataRetentionBot(DeleteDataRetentionBotRequest deleteDataRetentionBotRequest) Deletes the data retention bot from a Wickr network.default CompletableFuture<DeleteNetworkResponse> deleteNetwork(Consumer<DeleteNetworkRequest.Builder> deleteNetworkRequest) Deletes a Wickr network and all its associated resources, including users, bots, security groups, and settings.default CompletableFuture<DeleteNetworkResponse> deleteNetwork(DeleteNetworkRequest deleteNetworkRequest) Deletes a Wickr network and all its associated resources, including users, bots, security groups, and settings.deleteSecurityGroup(Consumer<DeleteSecurityGroupRequest.Builder> deleteSecurityGroupRequest) Deletes a security group from a Wickr network.deleteSecurityGroup(DeleteSecurityGroupRequest deleteSecurityGroupRequest) Deletes a security group from a Wickr network.default CompletableFuture<GetBotResponse> getBot(Consumer<GetBotRequest.Builder> getBotRequest) Retrieves detailed information about a specific bot in a Wickr network, including its status, group membership, and authentication details.default CompletableFuture<GetBotResponse> getBot(GetBotRequest getBotRequest) Retrieves detailed information about a specific bot in a Wickr network, including its status, group membership, and authentication details.default CompletableFuture<GetBotsCountResponse> getBotsCount(Consumer<GetBotsCountRequest.Builder> getBotsCountRequest) Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total).default CompletableFuture<GetBotsCountResponse> getBotsCount(GetBotsCountRequest getBotsCountRequest) Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total).getDataRetentionBot(Consumer<GetDataRetentionBotRequest.Builder> getDataRetentionBotRequest) Retrieves information about the data retention bot in a Wickr network, including its status and whether the data retention service is enabled.getDataRetentionBot(GetDataRetentionBotRequest getDataRetentionBotRequest) Retrieves information about the data retention bot in a Wickr network, including its status and whether the data retention service is enabled.getGuestUserHistoryCount(Consumer<GetGuestUserHistoryCountRequest.Builder> getGuestUserHistoryCountRequest) Retrieves historical guest user count data for a Wickr network, showing the number of guest users per billing period over the past 90 days.getGuestUserHistoryCount(GetGuestUserHistoryCountRequest getGuestUserHistoryCountRequest) Retrieves historical guest user count data for a Wickr network, showing the number of guest users per billing period over the past 90 days.default CompletableFuture<GetNetworkResponse> getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest) Retrieves detailed information about a specific Wickr network, including its configuration, access level, and status.default CompletableFuture<GetNetworkResponse> getNetwork(GetNetworkRequest getNetworkRequest) Retrieves detailed information about a specific Wickr network, including its configuration, access level, and status.getNetworkSettings(Consumer<GetNetworkSettingsRequest.Builder> getNetworkSettingsRequest) Retrieves all network-level settings for a Wickr network, including client metrics, data retention, and other configuration options.getNetworkSettings(GetNetworkSettingsRequest getNetworkSettingsRequest) Retrieves all network-level settings for a Wickr network, including client metrics, data retention, and other configuration options.default CompletableFuture<GetOidcInfoResponse> getOidcInfo(Consumer<GetOidcInfoRequest.Builder> getOidcInfoRequest) Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided.default CompletableFuture<GetOidcInfoResponse> getOidcInfo(GetOidcInfoRequest getOidcInfoRequest) Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided.getSecurityGroup(Consumer<GetSecurityGroupRequest.Builder> getSecurityGroupRequest) Retrieves detailed information about a specific security group in a Wickr network, including its settings, member counts, and configuration.getSecurityGroup(GetSecurityGroupRequest getSecurityGroupRequest) Retrieves detailed information about a specific security group in a Wickr network, including its settings, member counts, and configuration.default CompletableFuture<GetUserResponse> getUser(Consumer<GetUserRequest.Builder> getUserRequest) Retrieves detailed information about a specific user in a Wickr network, including their profile, status, and activity history.default CompletableFuture<GetUserResponse> getUser(GetUserRequest getUserRequest) Retrieves detailed information about a specific user in a Wickr network, including their profile, status, and activity history.default CompletableFuture<GetUsersCountResponse> getUsersCount(Consumer<GetUsersCountRequest.Builder> getUsersCountRequest) Retrieves the count of users in a Wickr network, categorized by their status (pending, active, rejected) and showing how many users can still be added.default CompletableFuture<GetUsersCountResponse> getUsersCount(GetUsersCountRequest getUsersCountRequest) Retrieves the count of users in a Wickr network, categorized by their status (pending, active, rejected) and showing how many users can still be added.listBlockedGuestUsers(Consumer<ListBlockedGuestUsersRequest.Builder> listBlockedGuestUsersRequest) Retrieves a paginated list of guest users who have been blocked from a Wickr network.listBlockedGuestUsers(ListBlockedGuestUsersRequest listBlockedGuestUsersRequest) Retrieves a paginated list of guest users who have been blocked from a Wickr network.default ListBlockedGuestUsersPublisherlistBlockedGuestUsersPaginator(Consumer<ListBlockedGuestUsersRequest.Builder> listBlockedGuestUsersRequest) This is a variant oflistBlockedGuestUsers(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersRequest)operation.default ListBlockedGuestUsersPublisherlistBlockedGuestUsersPaginator(ListBlockedGuestUsersRequest listBlockedGuestUsersRequest) This is a variant oflistBlockedGuestUsers(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersRequest)operation.default CompletableFuture<ListBotsResponse> listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) Retrieves a paginated list of bots in a specified Wickr network.default CompletableFuture<ListBotsResponse> listBots(ListBotsRequest listBotsRequest) Retrieves a paginated list of bots in a specified Wickr network.default ListBotsPublisherlistBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.wickr.model.ListBotsRequest)operation.default ListBotsPublisherlistBotsPaginator(ListBotsRequest listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.wickr.model.ListBotsRequest)operation.listDevicesForUser(Consumer<ListDevicesForUserRequest.Builder> listDevicesForUserRequest) Retrieves a paginated list of devices associated with a specific user in a Wickr network.listDevicesForUser(ListDevicesForUserRequest listDevicesForUserRequest) Retrieves a paginated list of devices associated with a specific user in a Wickr network.default ListDevicesForUserPublisherlistDevicesForUserPaginator(Consumer<ListDevicesForUserRequest.Builder> listDevicesForUserRequest) This is a variant oflistDevicesForUser(software.amazon.awssdk.services.wickr.model.ListDevicesForUserRequest)operation.default ListDevicesForUserPublisherlistDevicesForUserPaginator(ListDevicesForUserRequest listDevicesForUserRequest) This is a variant oflistDevicesForUser(software.amazon.awssdk.services.wickr.model.ListDevicesForUserRequest)operation.default CompletableFuture<ListGuestUsersResponse> listGuestUsers(Consumer<ListGuestUsersRequest.Builder> listGuestUsersRequest) Retrieves a paginated list of guest users who have communicated with your Wickr network.default CompletableFuture<ListGuestUsersResponse> listGuestUsers(ListGuestUsersRequest listGuestUsersRequest) Retrieves a paginated list of guest users who have communicated with your Wickr network.default ListGuestUsersPublisherlistGuestUsersPaginator(Consumer<ListGuestUsersRequest.Builder> listGuestUsersRequest) This is a variant oflistGuestUsers(software.amazon.awssdk.services.wickr.model.ListGuestUsersRequest)operation.default ListGuestUsersPublisherlistGuestUsersPaginator(ListGuestUsersRequest listGuestUsersRequest) This is a variant oflistGuestUsers(software.amazon.awssdk.services.wickr.model.ListGuestUsersRequest)operation.default CompletableFuture<ListNetworksResponse> listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest) Retrieves a paginated list of all Wickr networks associated with your Amazon Web Services account.default CompletableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest listNetworksRequest) Retrieves a paginated list of all Wickr networks associated with your Amazon Web Services account.default ListNetworksPublisherlistNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest) This is a variant oflistNetworks(software.amazon.awssdk.services.wickr.model.ListNetworksRequest)operation.default ListNetworksPublisherlistNetworksPaginator(ListNetworksRequest listNetworksRequest) This is a variant oflistNetworks(software.amazon.awssdk.services.wickr.model.ListNetworksRequest)operation.listSecurityGroups(Consumer<ListSecurityGroupsRequest.Builder> listSecurityGroupsRequest) Retrieves a paginated list of security groups in a specified Wickr network.listSecurityGroups(ListSecurityGroupsRequest listSecurityGroupsRequest) Retrieves a paginated list of security groups in a specified Wickr network.default ListSecurityGroupsPublisherlistSecurityGroupsPaginator(Consumer<ListSecurityGroupsRequest.Builder> listSecurityGroupsRequest) This is a variant oflistSecurityGroups(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsRequest)operation.default ListSecurityGroupsPublisherlistSecurityGroupsPaginator(ListSecurityGroupsRequest listSecurityGroupsRequest) This is a variant oflistSecurityGroups(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsRequest)operation.listSecurityGroupUsers(Consumer<ListSecurityGroupUsersRequest.Builder> listSecurityGroupUsersRequest) Retrieves a paginated list of users who belong to a specific security group in a Wickr network.listSecurityGroupUsers(ListSecurityGroupUsersRequest listSecurityGroupUsersRequest) Retrieves a paginated list of users who belong to a specific security group in a Wickr network.default ListSecurityGroupUsersPublisherlistSecurityGroupUsersPaginator(Consumer<ListSecurityGroupUsersRequest.Builder> listSecurityGroupUsersRequest) This is a variant oflistSecurityGroupUsers(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersRequest)operation.default ListSecurityGroupUsersPublisherlistSecurityGroupUsersPaginator(ListSecurityGroupUsersRequest listSecurityGroupUsersRequest) This is a variant oflistSecurityGroupUsers(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersRequest)operation.default CompletableFuture<ListUsersResponse> listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest) Retrieves a paginated list of users in a specified Wickr network.default CompletableFuture<ListUsersResponse> listUsers(ListUsersRequest listUsersRequest) Retrieves a paginated list of users in a specified Wickr network.default ListUsersPublisherlistUsersPaginator(Consumer<ListUsersRequest.Builder> listUsersRequest) This is a variant oflistUsers(software.amazon.awssdk.services.wickr.model.ListUsersRequest)operation.default ListUsersPublisherlistUsersPaginator(ListUsersRequest listUsersRequest) This is a variant oflistUsers(software.amazon.awssdk.services.wickr.model.ListUsersRequest)operation.registerOidcConfig(Consumer<RegisterOidcConfigRequest.Builder> registerOidcConfigRequest) Registers and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.registerOidcConfig(RegisterOidcConfigRequest registerOidcConfigRequest) Registers and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.registerOidcConfigTest(Consumer<RegisterOidcConfigTestRequest.Builder> registerOidcConfigTestRequest) Tests an OpenID Connect (OIDC) configuration for a Wickr network by validating the connection to the identity provider and retrieving its supported capabilities.registerOidcConfigTest(RegisterOidcConfigTestRequest registerOidcConfigTestRequest) Tests an OpenID Connect (OIDC) configuration for a Wickr network by validating the connection to the identity provider and retrieving its supported capabilities.default WickrServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<UpdateBotResponse> updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest) Updates the properties of an existing bot in a Wickr network.default CompletableFuture<UpdateBotResponse> updateBot(UpdateBotRequest updateBotRequest) Updates the properties of an existing bot in a Wickr network.updateDataRetention(Consumer<UpdateDataRetentionRequest.Builder> updateDataRetentionRequest) Updates the data retention bot settings, allowing you to enable or disable the data retention service, or acknowledge the public key message.updateDataRetention(UpdateDataRetentionRequest updateDataRetentionRequest) Updates the data retention bot settings, allowing you to enable or disable the data retention service, or acknowledge the public key message.default CompletableFuture<UpdateGuestUserResponse> updateGuestUser(Consumer<UpdateGuestUserRequest.Builder> updateGuestUserRequest) Updates the block status of a guest user in a Wickr network.default CompletableFuture<UpdateGuestUserResponse> updateGuestUser(UpdateGuestUserRequest updateGuestUserRequest) Updates the block status of a guest user in a Wickr network.default CompletableFuture<UpdateNetworkResponse> updateNetwork(Consumer<UpdateNetworkRequest.Builder> updateNetworkRequest) Updates the properties of an existing Wickr network, such as its name or encryption key configuration.default CompletableFuture<UpdateNetworkResponse> updateNetwork(UpdateNetworkRequest updateNetworkRequest) Updates the properties of an existing Wickr network, such as its name or encryption key configuration.updateNetworkSettings(Consumer<UpdateNetworkSettingsRequest.Builder> updateNetworkSettingsRequest) Updates network-level settings for a Wickr network.updateNetworkSettings(UpdateNetworkSettingsRequest updateNetworkSettingsRequest) Updates network-level settings for a Wickr network.updateSecurityGroup(Consumer<UpdateSecurityGroupRequest.Builder> updateSecurityGroupRequest) Updates the properties of an existing security group in a Wickr network, such as its name or settings.updateSecurityGroup(UpdateSecurityGroupRequest updateSecurityGroupRequest) Updates the properties of an existing security group in a Wickr network, such as its name or settings.default CompletableFuture<UpdateUserResponse> updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) Updates the properties of an existing user in a Wickr network.default CompletableFuture<UpdateUserResponse> updateUser(UpdateUserRequest updateUserRequest) Updates the properties of an existing user in a Wickr network.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
-
batchCreateUser
default CompletableFuture<BatchCreateUserResponse> batchCreateUser(BatchCreateUserRequest batchCreateUserRequest) Creates multiple users in a specified Wickr network. This operation allows you to provision multiple user accounts simultaneously, optionally specifying security groups, and validation requirements for each user.
codeValidation,inviteCode, andinviteCodeTtlare restricted to networks under preview only.- Parameters:
batchCreateUserRequest-- Returns:
- A Java Future containing the result of the BatchCreateUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchCreateUser
default CompletableFuture<BatchCreateUserResponse> batchCreateUser(Consumer<BatchCreateUserRequest.Builder> batchCreateUserRequest) Creates multiple users in a specified Wickr network. This operation allows you to provision multiple user accounts simultaneously, optionally specifying security groups, and validation requirements for each user.
codeValidation,inviteCode, andinviteCodeTtlare restricted to networks under preview only.
This is a convenience which creates an instance of the
BatchCreateUserRequest.Builderavoiding the need to create one manually viaBatchCreateUserRequest.builder()- Parameters:
batchCreateUserRequest- AConsumerthat will call methods onBatchCreateUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchCreateUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteUser
default CompletableFuture<BatchDeleteUserResponse> batchDeleteUser(BatchDeleteUserRequest batchDeleteUserRequest) Deletes multiple users from a specified Wickr network. This operation permanently removes user accounts and their associated data from the network.
- Parameters:
batchDeleteUserRequest-- Returns:
- A Java Future containing the result of the BatchDeleteUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDeleteUser
default CompletableFuture<BatchDeleteUserResponse> batchDeleteUser(Consumer<BatchDeleteUserRequest.Builder> batchDeleteUserRequest) Deletes multiple users from a specified Wickr network. This operation permanently removes user accounts and their associated data from the network.
This is a convenience which creates an instance of the
BatchDeleteUserRequest.Builderavoiding the need to create one manually viaBatchDeleteUserRequest.builder()- Parameters:
batchDeleteUserRequest- AConsumerthat will call methods onBatchDeleteUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchDeleteUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchLookupUserUname
default CompletableFuture<BatchLookupUserUnameResponse> batchLookupUserUname(BatchLookupUserUnameRequest batchLookupUserUnameRequest) Looks up multiple user usernames from their unique username hashes (unames). This operation allows you to retrieve the email addresses associated with a list of username hashes.
- Parameters:
batchLookupUserUnameRequest-- Returns:
- A Java Future containing the result of the BatchLookupUserUname 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchLookupUserUname
default CompletableFuture<BatchLookupUserUnameResponse> batchLookupUserUname(Consumer<BatchLookupUserUnameRequest.Builder> batchLookupUserUnameRequest) Looks up multiple user usernames from their unique username hashes (unames). This operation allows you to retrieve the email addresses associated with a list of username hashes.
This is a convenience which creates an instance of the
BatchLookupUserUnameRequest.Builderavoiding the need to create one manually viaBatchLookupUserUnameRequest.builder()- Parameters:
batchLookupUserUnameRequest- AConsumerthat will call methods onBatchLookupUserUnameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchLookupUserUname 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchReinviteUser
default CompletableFuture<BatchReinviteUserResponse> batchReinviteUser(BatchReinviteUserRequest batchReinviteUserRequest) Resends invitation codes to multiple users who have pending invitations in a Wickr network. This operation is useful when users haven't accepted their initial invitations or when invitations have expired.
- Parameters:
batchReinviteUserRequest-- Returns:
- A Java Future containing the result of the BatchReinviteUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchReinviteUser
default CompletableFuture<BatchReinviteUserResponse> batchReinviteUser(Consumer<BatchReinviteUserRequest.Builder> batchReinviteUserRequest) Resends invitation codes to multiple users who have pending invitations in a Wickr network. This operation is useful when users haven't accepted their initial invitations or when invitations have expired.
This is a convenience which creates an instance of the
BatchReinviteUserRequest.Builderavoiding the need to create one manually viaBatchReinviteUserRequest.builder()- Parameters:
batchReinviteUserRequest- AConsumerthat will call methods onBatchReinviteUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchReinviteUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchResetDevicesForUser
default CompletableFuture<BatchResetDevicesForUserResponse> batchResetDevicesForUser(BatchResetDevicesForUserRequest batchResetDevicesForUserRequest) Resets multiple devices for a specific user in a Wickr network. This operation forces the selected devices to log out and requires users to re-authenticate, which is useful for security purposes or when devices need to be revoked.
- Parameters:
batchResetDevicesForUserRequest-- Returns:
- A Java Future containing the result of the BatchResetDevicesForUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchResetDevicesForUser
default CompletableFuture<BatchResetDevicesForUserResponse> batchResetDevicesForUser(Consumer<BatchResetDevicesForUserRequest.Builder> batchResetDevicesForUserRequest) Resets multiple devices for a specific user in a Wickr network. This operation forces the selected devices to log out and requires users to re-authenticate, which is useful for security purposes or when devices need to be revoked.
This is a convenience which creates an instance of the
BatchResetDevicesForUserRequest.Builderavoiding the need to create one manually viaBatchResetDevicesForUserRequest.builder()- Parameters:
batchResetDevicesForUserRequest- AConsumerthat will call methods onBatchResetDevicesForUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchResetDevicesForUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchToggleUserSuspendStatus
default CompletableFuture<BatchToggleUserSuspendStatusResponse> batchToggleUserSuspendStatus(BatchToggleUserSuspendStatusRequest batchToggleUserSuspendStatusRequest) Suspends or unsuspends multiple users in a Wickr network. Suspended users cannot access the network until they are unsuspended. This operation is useful for temporarily restricting access without deleting user accounts.
- Parameters:
batchToggleUserSuspendStatusRequest-- Returns:
- A Java Future containing the result of the BatchToggleUserSuspendStatus 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchToggleUserSuspendStatus
default CompletableFuture<BatchToggleUserSuspendStatusResponse> batchToggleUserSuspendStatus(Consumer<BatchToggleUserSuspendStatusRequest.Builder> batchToggleUserSuspendStatusRequest) Suspends or unsuspends multiple users in a Wickr network. Suspended users cannot access the network until they are unsuspended. This operation is useful for temporarily restricting access without deleting user accounts.
This is a convenience which creates an instance of the
BatchToggleUserSuspendStatusRequest.Builderavoiding the need to create one manually viaBatchToggleUserSuspendStatusRequest.builder()- Parameters:
batchToggleUserSuspendStatusRequest- AConsumerthat will call methods onBatchToggleUserSuspendStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchToggleUserSuspendStatus 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBot
Creates a new bot in a specified Wickr network. Bots are automated accounts that can send and receive messages, enabling integration with external systems and automation of tasks.
- Parameters:
createBotRequest-- Returns:
- A Java Future containing the result of the CreateBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBot
default CompletableFuture<CreateBotResponse> createBot(Consumer<CreateBotRequest.Builder> createBotRequest) Creates a new bot in a specified Wickr network. Bots are automated accounts that can send and receive messages, enabling integration with external systems and automation of tasks.
This is a convenience which creates an instance of the
CreateBotRequest.Builderavoiding the need to create one manually viaCreateBotRequest.builder()- Parameters:
createBotRequest- AConsumerthat will call methods onCreateBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataRetentionBot
default CompletableFuture<CreateDataRetentionBotResponse> createDataRetentionBot(CreateDataRetentionBotRequest createDataRetentionBotRequest) Creates a data retention bot in a Wickr network. Data retention bots are specialized bots that handle message archiving and compliance by capturing and storing messages for regulatory or organizational requirements.
- Parameters:
createDataRetentionBotRequest-- Returns:
- A Java Future containing the result of the CreateDataRetentionBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataRetentionBot
default CompletableFuture<CreateDataRetentionBotResponse> createDataRetentionBot(Consumer<CreateDataRetentionBotRequest.Builder> createDataRetentionBotRequest) Creates a data retention bot in a Wickr network. Data retention bots are specialized bots that handle message archiving and compliance by capturing and storing messages for regulatory or organizational requirements.
This is a convenience which creates an instance of the
CreateDataRetentionBotRequest.Builderavoiding the need to create one manually viaCreateDataRetentionBotRequest.builder()- Parameters:
createDataRetentionBotRequest- AConsumerthat will call methods onCreateDataRetentionBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDataRetentionBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataRetentionBotChallenge
default CompletableFuture<CreateDataRetentionBotChallengeResponse> createDataRetentionBotChallenge(CreateDataRetentionBotChallengeRequest createDataRetentionBotChallengeRequest) Creates a new challenge password for the data retention bot. This password is used for authentication when the bot connects to the network.
- Parameters:
createDataRetentionBotChallengeRequest-- Returns:
- A Java Future containing the result of the CreateDataRetentionBotChallenge 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataRetentionBotChallenge
default CompletableFuture<CreateDataRetentionBotChallengeResponse> createDataRetentionBotChallenge(Consumer<CreateDataRetentionBotChallengeRequest.Builder> createDataRetentionBotChallengeRequest) Creates a new challenge password for the data retention bot. This password is used for authentication when the bot connects to the network.
This is a convenience which creates an instance of the
CreateDataRetentionBotChallengeRequest.Builderavoiding the need to create one manually viaCreateDataRetentionBotChallengeRequest.builder()- Parameters:
createDataRetentionBotChallengeRequest- AConsumerthat will call methods onCreateDataRetentionBotChallengeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDataRetentionBotChallenge 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNetwork
default CompletableFuture<CreateNetworkResponse> createNetwork(CreateNetworkRequest createNetworkRequest) Creates a new Wickr network with specified access level and configuration. This operation provisions a new communication network for your organization.
- Parameters:
createNetworkRequest-- Returns:
- A Java Future containing the result of the CreateNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createNetwork
default CompletableFuture<CreateNetworkResponse> createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest) Creates a new Wickr network with specified access level and configuration. This operation provisions a new communication network for your organization.
This is a convenience which creates an instance of the
CreateNetworkRequest.Builderavoiding the need to create one manually viaCreateNetworkRequest.builder()- Parameters:
createNetworkRequest- AConsumerthat will call methods onCreateNetworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSecurityGroup
default CompletableFuture<CreateSecurityGroupResponse> createSecurityGroup(CreateSecurityGroupRequest createSecurityGroupRequest) Creates a new security group in a Wickr network. Security groups allow you to organize users and control their permissions, features, and security settings.
- Parameters:
createSecurityGroupRequest-- Returns:
- A Java Future containing the result of the CreateSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSecurityGroup
default CompletableFuture<CreateSecurityGroupResponse> createSecurityGroup(Consumer<CreateSecurityGroupRequest.Builder> createSecurityGroupRequest) Creates a new security group in a Wickr network. Security groups allow you to organize users and control their permissions, features, and security settings.
This is a convenience which creates an instance of the
CreateSecurityGroupRequest.Builderavoiding the need to create one manually viaCreateSecurityGroupRequest.builder()- Parameters:
createSecurityGroupRequest- AConsumerthat will call methods onCreateSecurityGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBot
Deletes a bot from a specified Wickr network. This operation permanently removes the bot account and its associated data from the network.
- Parameters:
deleteBotRequest-- Returns:
- A Java Future containing the result of the DeleteBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBot
default CompletableFuture<DeleteBotResponse> deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest) Deletes a bot from a specified Wickr network. This operation permanently removes the bot account and its associated data from the network.
This is a convenience which creates an instance of the
DeleteBotRequest.Builderavoiding the need to create one manually viaDeleteBotRequest.builder()- Parameters:
deleteBotRequest- AConsumerthat will call methods onDeleteBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataRetentionBot
default CompletableFuture<DeleteDataRetentionBotResponse> deleteDataRetentionBot(DeleteDataRetentionBotRequest deleteDataRetentionBotRequest) Deletes the data retention bot from a Wickr network. This operation permanently removes the bot and all its associated data from the database.
- Parameters:
deleteDataRetentionBotRequest-- Returns:
- A Java Future containing the result of the DeleteDataRetentionBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataRetentionBot
default CompletableFuture<DeleteDataRetentionBotResponse> deleteDataRetentionBot(Consumer<DeleteDataRetentionBotRequest.Builder> deleteDataRetentionBotRequest) Deletes the data retention bot from a Wickr network. This operation permanently removes the bot and all its associated data from the database.
This is a convenience which creates an instance of the
DeleteDataRetentionBotRequest.Builderavoiding the need to create one manually viaDeleteDataRetentionBotRequest.builder()- Parameters:
deleteDataRetentionBotRequest- AConsumerthat will call methods onDeleteDataRetentionBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDataRetentionBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNetwork
default CompletableFuture<DeleteNetworkResponse> deleteNetwork(DeleteNetworkRequest deleteNetworkRequest) Deletes a Wickr network and all its associated resources, including users, bots, security groups, and settings. This operation is permanent and cannot be undone.
- Parameters:
deleteNetworkRequest-- Returns:
- A Java Future containing the result of the DeleteNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteNetwork
default CompletableFuture<DeleteNetworkResponse> deleteNetwork(Consumer<DeleteNetworkRequest.Builder> deleteNetworkRequest) Deletes a Wickr network and all its associated resources, including users, bots, security groups, and settings. This operation is permanent and cannot be undone.
This is a convenience which creates an instance of the
DeleteNetworkRequest.Builderavoiding the need to create one manually viaDeleteNetworkRequest.builder()- Parameters:
deleteNetworkRequest- AConsumerthat will call methods onDeleteNetworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSecurityGroup
default CompletableFuture<DeleteSecurityGroupResponse> deleteSecurityGroup(DeleteSecurityGroupRequest deleteSecurityGroupRequest) Deletes a security group from a Wickr network. This operation cannot be performed on the default security group.
- Parameters:
deleteSecurityGroupRequest-- Returns:
- A Java Future containing the result of the DeleteSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSecurityGroup
default CompletableFuture<DeleteSecurityGroupResponse> deleteSecurityGroup(Consumer<DeleteSecurityGroupRequest.Builder> deleteSecurityGroupRequest) Deletes a security group from a Wickr network. This operation cannot be performed on the default security group.
This is a convenience which creates an instance of the
DeleteSecurityGroupRequest.Builderavoiding the need to create one manually viaDeleteSecurityGroupRequest.builder()- Parameters:
deleteSecurityGroupRequest- AConsumerthat will call methods onDeleteSecurityGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBot
Retrieves detailed information about a specific bot in a Wickr network, including its status, group membership, and authentication details.
- Parameters:
getBotRequest-- Returns:
- A Java Future containing the result of the GetBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBot
Retrieves detailed information about a specific bot in a Wickr network, including its status, group membership, and authentication details.
This is a convenience which creates an instance of the
GetBotRequest.Builderavoiding the need to create one manually viaGetBotRequest.builder()- Parameters:
getBotRequest- AConsumerthat will call methods onGetBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBotsCount
default CompletableFuture<GetBotsCountResponse> getBotsCount(GetBotsCountRequest getBotsCountRequest) Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total).
- Parameters:
getBotsCountRequest-- Returns:
- A Java Future containing the result of the GetBotsCount 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBotsCount
default CompletableFuture<GetBotsCountResponse> getBotsCount(Consumer<GetBotsCountRequest.Builder> getBotsCountRequest) Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total).
This is a convenience which creates an instance of the
GetBotsCountRequest.Builderavoiding the need to create one manually viaGetBotsCountRequest.builder()- Parameters:
getBotsCountRequest- AConsumerthat will call methods onGetBotsCountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetBotsCount 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataRetentionBot
default CompletableFuture<GetDataRetentionBotResponse> getDataRetentionBot(GetDataRetentionBotRequest getDataRetentionBotRequest) Retrieves information about the data retention bot in a Wickr network, including its status and whether the data retention service is enabled.
- Parameters:
getDataRetentionBotRequest-- Returns:
- A Java Future containing the result of the GetDataRetentionBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataRetentionBot
default CompletableFuture<GetDataRetentionBotResponse> getDataRetentionBot(Consumer<GetDataRetentionBotRequest.Builder> getDataRetentionBotRequest) Retrieves information about the data retention bot in a Wickr network, including its status and whether the data retention service is enabled.
This is a convenience which creates an instance of the
GetDataRetentionBotRequest.Builderavoiding the need to create one manually viaGetDataRetentionBotRequest.builder()- Parameters:
getDataRetentionBotRequest- AConsumerthat will call methods onGetDataRetentionBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDataRetentionBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGuestUserHistoryCount
default CompletableFuture<GetGuestUserHistoryCountResponse> getGuestUserHistoryCount(GetGuestUserHistoryCountRequest getGuestUserHistoryCountRequest) Retrieves historical guest user count data for a Wickr network, showing the number of guest users per billing period over the past 90 days.
- Parameters:
getGuestUserHistoryCountRequest-- Returns:
- A Java Future containing the result of the GetGuestUserHistoryCount 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGuestUserHistoryCount
default CompletableFuture<GetGuestUserHistoryCountResponse> getGuestUserHistoryCount(Consumer<GetGuestUserHistoryCountRequest.Builder> getGuestUserHistoryCountRequest) Retrieves historical guest user count data for a Wickr network, showing the number of guest users per billing period over the past 90 days.
This is a convenience which creates an instance of the
GetGuestUserHistoryCountRequest.Builderavoiding the need to create one manually viaGetGuestUserHistoryCountRequest.builder()- Parameters:
getGuestUserHistoryCountRequest- AConsumerthat will call methods onGetGuestUserHistoryCountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetGuestUserHistoryCount 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetwork
Retrieves detailed information about a specific Wickr network, including its configuration, access level, and status.
- Parameters:
getNetworkRequest-- Returns:
- A Java Future containing the result of the GetNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetwork
default CompletableFuture<GetNetworkResponse> getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest) Retrieves detailed information about a specific Wickr network, including its configuration, access level, and status.
This is a convenience which creates an instance of the
GetNetworkRequest.Builderavoiding the need to create one manually viaGetNetworkRequest.builder()- Parameters:
getNetworkRequest- AConsumerthat will call methods onGetNetworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkSettings
default CompletableFuture<GetNetworkSettingsResponse> getNetworkSettings(GetNetworkSettingsRequest getNetworkSettingsRequest) Retrieves all network-level settings for a Wickr network, including client metrics, data retention, and other configuration options.
- Parameters:
getNetworkSettingsRequest-- Returns:
- A Java Future containing the result of the GetNetworkSettings 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getNetworkSettings
default CompletableFuture<GetNetworkSettingsResponse> getNetworkSettings(Consumer<GetNetworkSettingsRequest.Builder> getNetworkSettingsRequest) Retrieves all network-level settings for a Wickr network, including client metrics, data retention, and other configuration options.
This is a convenience which creates an instance of the
GetNetworkSettingsRequest.Builderavoiding the need to create one manually viaGetNetworkSettingsRequest.builder()- Parameters:
getNetworkSettingsRequest- AConsumerthat will call methods onGetNetworkSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetNetworkSettings 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOidcInfo
Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided.
- Parameters:
getOidcInfoRequest-- Returns:
- A Java Future containing the result of the GetOidcInfo 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOidcInfo
default CompletableFuture<GetOidcInfoResponse> getOidcInfo(Consumer<GetOidcInfoRequest.Builder> getOidcInfoRequest) Retrieves the OpenID Connect (OIDC) configuration for a Wickr network, including SSO settings and optional token information if access token parameters are provided.
This is a convenience which creates an instance of the
GetOidcInfoRequest.Builderavoiding the need to create one manually viaGetOidcInfoRequest.builder()- Parameters:
getOidcInfoRequest- AConsumerthat will call methods onGetOidcInfoRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetOidcInfo 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSecurityGroup
default CompletableFuture<GetSecurityGroupResponse> getSecurityGroup(GetSecurityGroupRequest getSecurityGroupRequest) Retrieves detailed information about a specific security group in a Wickr network, including its settings, member counts, and configuration.
- Parameters:
getSecurityGroupRequest-- Returns:
- A Java Future containing the result of the GetSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSecurityGroup
default CompletableFuture<GetSecurityGroupResponse> getSecurityGroup(Consumer<GetSecurityGroupRequest.Builder> getSecurityGroupRequest) Retrieves detailed information about a specific security group in a Wickr network, including its settings, member counts, and configuration.
This is a convenience which creates an instance of the
GetSecurityGroupRequest.Builderavoiding the need to create one manually viaGetSecurityGroupRequest.builder()- Parameters:
getSecurityGroupRequest- AConsumerthat will call methods onGetSecurityGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUser
Retrieves detailed information about a specific user in a Wickr network, including their profile, status, and activity history.
- Parameters:
getUserRequest-- Returns:
- A Java Future containing the result of the GetUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUser
Retrieves detailed information about a specific user in a Wickr network, including their profile, status, and activity history.
This is a convenience which creates an instance of the
GetUserRequest.Builderavoiding the need to create one manually viaGetUserRequest.builder()- Parameters:
getUserRequest- AConsumerthat will call methods onGetUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsersCount
default CompletableFuture<GetUsersCountResponse> getUsersCount(GetUsersCountRequest getUsersCountRequest) Retrieves the count of users in a Wickr network, categorized by their status (pending, active, rejected) and showing how many users can still be added.
- Parameters:
getUsersCountRequest-- Returns:
- A Java Future containing the result of the GetUsersCount 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsersCount
default CompletableFuture<GetUsersCountResponse> getUsersCount(Consumer<GetUsersCountRequest.Builder> getUsersCountRequest) Retrieves the count of users in a Wickr network, categorized by their status (pending, active, rejected) and showing how many users can still be added.
This is a convenience which creates an instance of the
GetUsersCountRequest.Builderavoiding the need to create one manually viaGetUsersCountRequest.builder()- Parameters:
getUsersCountRequest- AConsumerthat will call methods onGetUsersCountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetUsersCount 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBlockedGuestUsers
default CompletableFuture<ListBlockedGuestUsersResponse> listBlockedGuestUsers(ListBlockedGuestUsersRequest listBlockedGuestUsersRequest) Retrieves a paginated list of guest users who have been blocked from a Wickr network. You can filter and sort the results.
- Parameters:
listBlockedGuestUsersRequest-- Returns:
- A Java Future containing the result of the ListBlockedGuestUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBlockedGuestUsers
default CompletableFuture<ListBlockedGuestUsersResponse> listBlockedGuestUsers(Consumer<ListBlockedGuestUsersRequest.Builder> listBlockedGuestUsersRequest) Retrieves a paginated list of guest users who have been blocked from a Wickr network. You can filter and sort the results.
This is a convenience which creates an instance of the
ListBlockedGuestUsersRequest.Builderavoiding the need to create one manually viaListBlockedGuestUsersRequest.builder()- Parameters:
listBlockedGuestUsersRequest- AConsumerthat will call methods onListBlockedGuestUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBlockedGuestUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBlockedGuestUsersPaginator
default ListBlockedGuestUsersPublisher listBlockedGuestUsersPaginator(ListBlockedGuestUsersRequest listBlockedGuestUsersRequest) This is a variant of
listBlockedGuestUsers(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersRequest)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.wickr.paginators.ListBlockedGuestUsersPublisher publisher = client.listBlockedGuestUsersPaginator(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.wickr.paginators.ListBlockedGuestUsersPublisher publisher = client.listBlockedGuestUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersResponse 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
listBlockedGuestUsers(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersRequest)operation.- Parameters:
listBlockedGuestUsersRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBlockedGuestUsersPaginator
default ListBlockedGuestUsersPublisher listBlockedGuestUsersPaginator(Consumer<ListBlockedGuestUsersRequest.Builder> listBlockedGuestUsersRequest) This is a variant of
listBlockedGuestUsers(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersRequest)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.wickr.paginators.ListBlockedGuestUsersPublisher publisher = client.listBlockedGuestUsersPaginator(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.wickr.paginators.ListBlockedGuestUsersPublisher publisher = client.listBlockedGuestUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersResponse 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
listBlockedGuestUsers(software.amazon.awssdk.services.wickr.model.ListBlockedGuestUsersRequest)operation.
This is a convenience which creates an instance of the
ListBlockedGuestUsersRequest.Builderavoiding the need to create one manually viaListBlockedGuestUsersRequest.builder()- Parameters:
listBlockedGuestUsersRequest- AConsumerthat will call methods onListBlockedGuestUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBots
Retrieves a paginated list of bots in a specified Wickr network. You can filter and sort the results based on various criteria.
- Parameters:
listBotsRequest-- Returns:
- A Java Future containing the result of the ListBots 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBots
default CompletableFuture<ListBotsResponse> listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) Retrieves a paginated list of bots in a specified Wickr network. You can filter and sort the results based on various criteria.
This is a convenience which creates an instance of the
ListBotsRequest.Builderavoiding the need to create one manually viaListBotsRequest.builder()- Parameters:
listBotsRequest- AConsumerthat will call methods onListBotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBots 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBotsPaginator
This is a variant of
listBots(software.amazon.awssdk.services.wickr.model.ListBotsRequest)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.wickr.paginators.ListBotsPublisher publisher = client.listBotsPaginator(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.wickr.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListBotsResponse 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
listBots(software.amazon.awssdk.services.wickr.model.ListBotsRequest)operation.- Parameters:
listBotsRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBotsPaginator
This is a variant of
listBots(software.amazon.awssdk.services.wickr.model.ListBotsRequest)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.wickr.paginators.ListBotsPublisher publisher = client.listBotsPaginator(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.wickr.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListBotsResponse 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
listBots(software.amazon.awssdk.services.wickr.model.ListBotsRequest)operation.
This is a convenience which creates an instance of the
ListBotsRequest.Builderavoiding the need to create one manually viaListBotsRequest.builder()- Parameters:
listBotsRequest- AConsumerthat will call methods onListBotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDevicesForUser
default CompletableFuture<ListDevicesForUserResponse> listDevicesForUser(ListDevicesForUserRequest listDevicesForUserRequest) Retrieves a paginated list of devices associated with a specific user in a Wickr network. This operation returns information about all devices where the user has logged into Wickr.
- Parameters:
listDevicesForUserRequest-- Returns:
- A Java Future containing the result of the ListDevicesForUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDevicesForUser
default CompletableFuture<ListDevicesForUserResponse> listDevicesForUser(Consumer<ListDevicesForUserRequest.Builder> listDevicesForUserRequest) Retrieves a paginated list of devices associated with a specific user in a Wickr network. This operation returns information about all devices where the user has logged into Wickr.
This is a convenience which creates an instance of the
ListDevicesForUserRequest.Builderavoiding the need to create one manually viaListDevicesForUserRequest.builder()- Parameters:
listDevicesForUserRequest- AConsumerthat will call methods onListDevicesForUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDevicesForUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDevicesForUserPaginator
default ListDevicesForUserPublisher listDevicesForUserPaginator(ListDevicesForUserRequest listDevicesForUserRequest) This is a variant of
listDevicesForUser(software.amazon.awssdk.services.wickr.model.ListDevicesForUserRequest)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.wickr.paginators.ListDevicesForUserPublisher publisher = client.listDevicesForUserPaginator(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.wickr.paginators.ListDevicesForUserPublisher publisher = client.listDevicesForUserPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListDevicesForUserResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListDevicesForUserResponse 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
listDevicesForUser(software.amazon.awssdk.services.wickr.model.ListDevicesForUserRequest)operation.- Parameters:
listDevicesForUserRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDevicesForUserPaginator
default ListDevicesForUserPublisher listDevicesForUserPaginator(Consumer<ListDevicesForUserRequest.Builder> listDevicesForUserRequest) This is a variant of
listDevicesForUser(software.amazon.awssdk.services.wickr.model.ListDevicesForUserRequest)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.wickr.paginators.ListDevicesForUserPublisher publisher = client.listDevicesForUserPaginator(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.wickr.paginators.ListDevicesForUserPublisher publisher = client.listDevicesForUserPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListDevicesForUserResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListDevicesForUserResponse 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
listDevicesForUser(software.amazon.awssdk.services.wickr.model.ListDevicesForUserRequest)operation.
This is a convenience which creates an instance of the
ListDevicesForUserRequest.Builderavoiding the need to create one manually viaListDevicesForUserRequest.builder()- Parameters:
listDevicesForUserRequest- AConsumerthat will call methods onListDevicesForUserRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGuestUsers
default CompletableFuture<ListGuestUsersResponse> listGuestUsers(ListGuestUsersRequest listGuestUsersRequest) Retrieves a paginated list of guest users who have communicated with your Wickr network. Guest users are external users from federated networks who can communicate with network members.
- Parameters:
listGuestUsersRequest-- Returns:
- A Java Future containing the result of the ListGuestUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGuestUsers
default CompletableFuture<ListGuestUsersResponse> listGuestUsers(Consumer<ListGuestUsersRequest.Builder> listGuestUsersRequest) Retrieves a paginated list of guest users who have communicated with your Wickr network. Guest users are external users from federated networks who can communicate with network members.
This is a convenience which creates an instance of the
ListGuestUsersRequest.Builderavoiding the need to create one manually viaListGuestUsersRequest.builder()- Parameters:
listGuestUsersRequest- AConsumerthat will call methods onListGuestUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGuestUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGuestUsersPaginator
default ListGuestUsersPublisher listGuestUsersPaginator(ListGuestUsersRequest listGuestUsersRequest) This is a variant of
listGuestUsers(software.amazon.awssdk.services.wickr.model.ListGuestUsersRequest)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.wickr.paginators.ListGuestUsersPublisher publisher = client.listGuestUsersPaginator(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.wickr.paginators.ListGuestUsersPublisher publisher = client.listGuestUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListGuestUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListGuestUsersResponse 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
listGuestUsers(software.amazon.awssdk.services.wickr.model.ListGuestUsersRequest)operation.- Parameters:
listGuestUsersRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGuestUsersPaginator
default ListGuestUsersPublisher listGuestUsersPaginator(Consumer<ListGuestUsersRequest.Builder> listGuestUsersRequest) This is a variant of
listGuestUsers(software.amazon.awssdk.services.wickr.model.ListGuestUsersRequest)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.wickr.paginators.ListGuestUsersPublisher publisher = client.listGuestUsersPaginator(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.wickr.paginators.ListGuestUsersPublisher publisher = client.listGuestUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListGuestUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListGuestUsersResponse 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
listGuestUsers(software.amazon.awssdk.services.wickr.model.ListGuestUsersRequest)operation.
This is a convenience which creates an instance of the
ListGuestUsersRequest.Builderavoiding the need to create one manually viaListGuestUsersRequest.builder()- Parameters:
listGuestUsersRequest- AConsumerthat will call methods onListGuestUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworks
default CompletableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest listNetworksRequest) Retrieves a paginated list of all Wickr networks associated with your Amazon Web Services account. You can sort the results by network ID or name.
- Parameters:
listNetworksRequest-- Returns:
- A Java Future containing the result of the ListNetworks 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworks
default CompletableFuture<ListNetworksResponse> listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest) Retrieves a paginated list of all Wickr networks associated with your Amazon Web Services account. You can sort the results by network ID or name.
This is a convenience which creates an instance of the
ListNetworksRequest.Builderavoiding the need to create one manually viaListNetworksRequest.builder()- Parameters:
listNetworksRequest- AConsumerthat will call methods onListNetworksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListNetworks 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworksPaginator
This is a variant of
listNetworks(software.amazon.awssdk.services.wickr.model.ListNetworksRequest)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.wickr.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(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.wickr.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListNetworksResponse 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
listNetworks(software.amazon.awssdk.services.wickr.model.ListNetworksRequest)operation.- Parameters:
listNetworksRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNetworksPaginator
default ListNetworksPublisher listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest) This is a variant of
listNetworks(software.amazon.awssdk.services.wickr.model.ListNetworksRequest)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.wickr.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(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.wickr.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListNetworksResponse 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
listNetworks(software.amazon.awssdk.services.wickr.model.ListNetworksRequest)operation.
This is a convenience which creates an instance of the
ListNetworksRequest.Builderavoiding the need to create one manually viaListNetworksRequest.builder()- Parameters:
listNetworksRequest- AConsumerthat will call methods onListNetworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroupUsers
default CompletableFuture<ListSecurityGroupUsersResponse> listSecurityGroupUsers(ListSecurityGroupUsersRequest listSecurityGroupUsersRequest) Retrieves a paginated list of users who belong to a specific security group in a Wickr network.
- Parameters:
listSecurityGroupUsersRequest-- Returns:
- A Java Future containing the result of the ListSecurityGroupUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroupUsers
default CompletableFuture<ListSecurityGroupUsersResponse> listSecurityGroupUsers(Consumer<ListSecurityGroupUsersRequest.Builder> listSecurityGroupUsersRequest) Retrieves a paginated list of users who belong to a specific security group in a Wickr network.
This is a convenience which creates an instance of the
ListSecurityGroupUsersRequest.Builderavoiding the need to create one manually viaListSecurityGroupUsersRequest.builder()- Parameters:
listSecurityGroupUsersRequest- AConsumerthat will call methods onListSecurityGroupUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSecurityGroupUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroupUsersPaginator
default ListSecurityGroupUsersPublisher listSecurityGroupUsersPaginator(ListSecurityGroupUsersRequest listSecurityGroupUsersRequest) This is a variant of
listSecurityGroupUsers(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersRequest)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.wickr.paginators.ListSecurityGroupUsersPublisher publisher = client.listSecurityGroupUsersPaginator(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.wickr.paginators.ListSecurityGroupUsersPublisher publisher = client.listSecurityGroupUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersResponse 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
listSecurityGroupUsers(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersRequest)operation.- Parameters:
listSecurityGroupUsersRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroupUsersPaginator
default ListSecurityGroupUsersPublisher listSecurityGroupUsersPaginator(Consumer<ListSecurityGroupUsersRequest.Builder> listSecurityGroupUsersRequest) This is a variant of
listSecurityGroupUsers(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersRequest)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.wickr.paginators.ListSecurityGroupUsersPublisher publisher = client.listSecurityGroupUsersPaginator(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.wickr.paginators.ListSecurityGroupUsersPublisher publisher = client.listSecurityGroupUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersResponse 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
listSecurityGroupUsers(software.amazon.awssdk.services.wickr.model.ListSecurityGroupUsersRequest)operation.
This is a convenience which creates an instance of the
ListSecurityGroupUsersRequest.Builderavoiding the need to create one manually viaListSecurityGroupUsersRequest.builder()- Parameters:
listSecurityGroupUsersRequest- AConsumerthat will call methods onListSecurityGroupUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroups
default CompletableFuture<ListSecurityGroupsResponse> listSecurityGroups(ListSecurityGroupsRequest listSecurityGroupsRequest) Retrieves a paginated list of security groups in a specified Wickr network. You can sort the results by various criteria.
- Parameters:
listSecurityGroupsRequest-- Returns:
- A Java Future containing the result of the ListSecurityGroups 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroups
default CompletableFuture<ListSecurityGroupsResponse> listSecurityGroups(Consumer<ListSecurityGroupsRequest.Builder> listSecurityGroupsRequest) Retrieves a paginated list of security groups in a specified Wickr network. You can sort the results by various criteria.
This is a convenience which creates an instance of the
ListSecurityGroupsRequest.Builderavoiding the need to create one manually viaListSecurityGroupsRequest.builder()- Parameters:
listSecurityGroupsRequest- AConsumerthat will call methods onListSecurityGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSecurityGroups 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroupsPaginator
default ListSecurityGroupsPublisher listSecurityGroupsPaginator(ListSecurityGroupsRequest listSecurityGroupsRequest) This is a variant of
listSecurityGroups(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsRequest)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.wickr.paginators.ListSecurityGroupsPublisher publisher = client.listSecurityGroupsPaginator(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.wickr.paginators.ListSecurityGroupsPublisher publisher = client.listSecurityGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListSecurityGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsResponse 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
listSecurityGroups(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsRequest)operation.- Parameters:
listSecurityGroupsRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSecurityGroupsPaginator
default ListSecurityGroupsPublisher listSecurityGroupsPaginator(Consumer<ListSecurityGroupsRequest.Builder> listSecurityGroupsRequest) This is a variant of
listSecurityGroups(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsRequest)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.wickr.paginators.ListSecurityGroupsPublisher publisher = client.listSecurityGroupsPaginator(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.wickr.paginators.ListSecurityGroupsPublisher publisher = client.listSecurityGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListSecurityGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsResponse 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
listSecurityGroups(software.amazon.awssdk.services.wickr.model.ListSecurityGroupsRequest)operation.
This is a convenience which creates an instance of the
ListSecurityGroupsRequest.Builderavoiding the need to create one manually viaListSecurityGroupsRequest.builder()- Parameters:
listSecurityGroupsRequest- AConsumerthat will call methods onListSecurityGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsers
Retrieves a paginated list of users in a specified Wickr network. You can filter and sort the results based on various criteria such as name, status, or security group membership.
- Parameters:
listUsersRequest-- Returns:
- A Java Future containing the result of the ListUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsers
default CompletableFuture<ListUsersResponse> listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest) Retrieves a paginated list of users in a specified Wickr network. You can filter and sort the results based on various criteria such as name, status, or security group membership.
This is a convenience which creates an instance of the
ListUsersRequest.Builderavoiding the need to create one manually viaListUsersRequest.builder()- Parameters:
listUsersRequest- AConsumerthat will call methods onListUsersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListUsers 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsersPaginator
This is a variant of
listUsers(software.amazon.awssdk.services.wickr.model.ListUsersRequest)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.wickr.paginators.ListUsersPublisher publisher = client.listUsersPaginator(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.wickr.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListUsersResponse 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
listUsers(software.amazon.awssdk.services.wickr.model.ListUsersRequest)operation.- Parameters:
listUsersRequest-- 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUsersPaginator
This is a variant of
listUsers(software.amazon.awssdk.services.wickr.model.ListUsersRequest)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.wickr.paginators.ListUsersPublisher publisher = client.listUsersPaginator(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.wickr.paginators.ListUsersPublisher publisher = client.listUsersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.wickr.model.ListUsersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.wickr.model.ListUsersResponse 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
listUsers(software.amazon.awssdk.services.wickr.model.ListUsersRequest)operation.
This is a convenience which creates an instance of the
ListUsersRequest.Builderavoiding the need to create one manually viaListUsersRequest.builder()- Parameters:
listUsersRequest- AConsumerthat will call methods onListUsersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOidcConfig
default CompletableFuture<RegisterOidcConfigResponse> registerOidcConfig(RegisterOidcConfigRequest registerOidcConfigRequest) Registers and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.
- Parameters:
registerOidcConfigRequest-- Returns:
- A Java Future containing the result of the RegisterOidcConfig 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOidcConfig
default CompletableFuture<RegisterOidcConfigResponse> registerOidcConfig(Consumer<RegisterOidcConfigRequest.Builder> registerOidcConfigRequest) Registers and saves an OpenID Connect (OIDC) configuration for a Wickr network, enabling Single Sign-On (SSO) authentication through an identity provider.
This is a convenience which creates an instance of the
RegisterOidcConfigRequest.Builderavoiding the need to create one manually viaRegisterOidcConfigRequest.builder()- Parameters:
registerOidcConfigRequest- AConsumerthat will call methods onRegisterOidcConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RegisterOidcConfig 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOidcConfigTest
default CompletableFuture<RegisterOidcConfigTestResponse> registerOidcConfigTest(RegisterOidcConfigTestRequest registerOidcConfigTestRequest) Tests an OpenID Connect (OIDC) configuration for a Wickr network by validating the connection to the identity provider and retrieving its supported capabilities.
- Parameters:
registerOidcConfigTestRequest-- Returns:
- A Java Future containing the result of the RegisterOidcConfigTest 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOidcConfigTest
default CompletableFuture<RegisterOidcConfigTestResponse> registerOidcConfigTest(Consumer<RegisterOidcConfigTestRequest.Builder> registerOidcConfigTestRequest) Tests an OpenID Connect (OIDC) configuration for a Wickr network by validating the connection to the identity provider and retrieving its supported capabilities.
This is a convenience which creates an instance of the
RegisterOidcConfigTestRequest.Builderavoiding the need to create one manually viaRegisterOidcConfigTestRequest.builder()- Parameters:
registerOidcConfigTestRequest- AConsumerthat will call methods onRegisterOidcConfigTestRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RegisterOidcConfigTest 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBot
Updates the properties of an existing bot in a Wickr network. This operation allows you to modify the bot's display name, security group, password, or suspension status.
- Parameters:
updateBotRequest-- Returns:
- A Java Future containing the result of the UpdateBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBot
default CompletableFuture<UpdateBotResponse> updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest) Updates the properties of an existing bot in a Wickr network. This operation allows you to modify the bot's display name, security group, password, or suspension status.
This is a convenience which creates an instance of the
UpdateBotRequest.Builderavoiding the need to create one manually viaUpdateBotRequest.builder()- Parameters:
updateBotRequest- AConsumerthat will call methods onUpdateBotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateBot 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDataRetention
default CompletableFuture<UpdateDataRetentionResponse> updateDataRetention(UpdateDataRetentionRequest updateDataRetentionRequest) Updates the data retention bot settings, allowing you to enable or disable the data retention service, or acknowledge the public key message.
- Parameters:
updateDataRetentionRequest-- Returns:
- A Java Future containing the result of the UpdateDataRetention 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDataRetention
default CompletableFuture<UpdateDataRetentionResponse> updateDataRetention(Consumer<UpdateDataRetentionRequest.Builder> updateDataRetentionRequest) Updates the data retention bot settings, allowing you to enable or disable the data retention service, or acknowledge the public key message.
This is a convenience which creates an instance of the
UpdateDataRetentionRequest.Builderavoiding the need to create one manually viaUpdateDataRetentionRequest.builder()- Parameters:
updateDataRetentionRequest- AConsumerthat will call methods onUpdateDataRetentionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDataRetention 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGuestUser
default CompletableFuture<UpdateGuestUserResponse> updateGuestUser(UpdateGuestUserRequest updateGuestUserRequest) Updates the block status of a guest user in a Wickr network. This operation allows you to block or unblock a guest user from accessing the network.
- Parameters:
updateGuestUserRequest-- Returns:
- A Java Future containing the result of the UpdateGuestUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGuestUser
default CompletableFuture<UpdateGuestUserResponse> updateGuestUser(Consumer<UpdateGuestUserRequest.Builder> updateGuestUserRequest) Updates the block status of a guest user in a Wickr network. This operation allows you to block or unblock a guest user from accessing the network.
This is a convenience which creates an instance of the
UpdateGuestUserRequest.Builderavoiding the need to create one manually viaUpdateGuestUserRequest.builder()- Parameters:
updateGuestUserRequest- AConsumerthat will call methods onUpdateGuestUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateGuestUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetwork
default CompletableFuture<UpdateNetworkResponse> updateNetwork(UpdateNetworkRequest updateNetworkRequest) Updates the properties of an existing Wickr network, such as its name or encryption key configuration.
- Parameters:
updateNetworkRequest-- Returns:
- A Java Future containing the result of the UpdateNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetwork
default CompletableFuture<UpdateNetworkResponse> updateNetwork(Consumer<UpdateNetworkRequest.Builder> updateNetworkRequest) Updates the properties of an existing Wickr network, such as its name or encryption key configuration.
This is a convenience which creates an instance of the
UpdateNetworkRequest.Builderavoiding the need to create one manually viaUpdateNetworkRequest.builder()- Parameters:
updateNetworkRequest- AConsumerthat will call methods onUpdateNetworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateNetwork 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkSettings
default CompletableFuture<UpdateNetworkSettingsResponse> updateNetworkSettings(UpdateNetworkSettingsRequest updateNetworkSettingsRequest) Updates network-level settings for a Wickr network. You can modify settings such as client metrics, data retention, and other network-wide options.
- Parameters:
updateNetworkSettingsRequest-- Returns:
- A Java Future containing the result of the UpdateNetworkSettings 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateNetworkSettings
default CompletableFuture<UpdateNetworkSettingsResponse> updateNetworkSettings(Consumer<UpdateNetworkSettingsRequest.Builder> updateNetworkSettingsRequest) Updates network-level settings for a Wickr network. You can modify settings such as client metrics, data retention, and other network-wide options.
This is a convenience which creates an instance of the
UpdateNetworkSettingsRequest.Builderavoiding the need to create one manually viaUpdateNetworkSettingsRequest.builder()- Parameters:
updateNetworkSettingsRequest- AConsumerthat will call methods onUpdateNetworkSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateNetworkSettings 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSecurityGroup
default CompletableFuture<UpdateSecurityGroupResponse> updateSecurityGroup(UpdateSecurityGroupRequest updateSecurityGroupRequest) Updates the properties of an existing security group in a Wickr network, such as its name or settings.
- Parameters:
updateSecurityGroupRequest-- Returns:
- A Java Future containing the result of the UpdateSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSecurityGroup
default CompletableFuture<UpdateSecurityGroupResponse> updateSecurityGroup(Consumer<UpdateSecurityGroupRequest.Builder> updateSecurityGroupRequest) Updates the properties of an existing security group in a Wickr network, such as its name or settings.
This is a convenience which creates an instance of the
UpdateSecurityGroupRequest.Builderavoiding the need to create one manually viaUpdateSecurityGroupRequest.builder()- Parameters:
updateSecurityGroupRequest- AConsumerthat will call methods onUpdateSecurityGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSecurityGroup 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUser
Updates the properties of an existing user in a Wickr network. This operation allows you to modify the user's name, password, security group membership, and invite code settings.
codeValidation,inviteCode, andinviteCodeTtlare restricted to networks under preview only.- Parameters:
updateUserRequest-- Returns:
- A Java Future containing the result of the UpdateUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUser
default CompletableFuture<UpdateUserResponse> updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) Updates the properties of an existing user in a Wickr network. This operation allows you to modify the user's name, password, security group membership, and invite code settings.
codeValidation,inviteCode, andinviteCodeTtlare restricted to networks under preview only.
This is a convenience which creates an instance of the
UpdateUserRequest.Builderavoiding the need to create one manually viaUpdateUserRequest.builder()- Parameters:
updateUserRequest- AConsumerthat will call methods onUpdateUserRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUser 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.- ValidationErrorException One or more fields in the request failed validation. This error provides detailed information about which fields were invalid and why, allowing you to correct the request and retry.
- BadRequestErrorException The request was invalid or malformed. This error occurs when the request parameters do not meet the API requirements, such as invalid field values, missing required parameters, or improperly formatted data.
- ResourceNotFoundErrorException The requested resource could not be found. This error occurs when you try to access or modify a network, user, bot, security group, or other resource that doesn't exist or has been deleted.
- ForbiddenErrorException Access to the requested resource is forbidden. This error occurs when the authenticated user does not have the necessary permissions to perform the requested operation, even though they are authenticated.
- UnauthorizedErrorException The request was not authenticated or the authentication credentials were invalid. This error occurs when the request lacks valid authentication credentials or the credentials have expired.
- InternalServerErrorException An unexpected error occurred on the server while processing the request. This indicates a problem with the Wickr service itself rather than with the request. If this error persists, contact Amazon Web Services Support.
- RateLimitErrorException The request was throttled because too many requests were sent in a short period of time. Wait a moment and retry the request. Consider implementing exponential backoff in your application.
- 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.
- WickrException 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 aWickrAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aWickrAsyncClient.
-