Interface SecurityIrAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface SecurityIrAsyncClient extends AwsClient
Service client for accessing Security Incident Response asynchronously. This can be created using the staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported 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.This guide provides documents the action and response elements for customer use of the service.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
batchGetMemberAccountDetails
default CompletableFuture<BatchGetMemberAccountDetailsResponse> batchGetMemberAccountDetails(BatchGetMemberAccountDetailsRequest batchGetMemberAccountDetailsRequest)
Grants permission to view an existing membership.
- Parameters:
batchGetMemberAccountDetailsRequest-- Returns:
- A Java Future containing the result of the BatchGetMemberAccountDetails operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetMemberAccountDetails
default CompletableFuture<BatchGetMemberAccountDetailsResponse> batchGetMemberAccountDetails(Consumer<BatchGetMemberAccountDetailsRequest.Builder> batchGetMemberAccountDetailsRequest)
Grants permission to view an existing membership.
This is a convenience which creates an instance of the
BatchGetMemberAccountDetailsRequest.Builderavoiding the need to create one manually viaBatchGetMemberAccountDetailsRequest.builder()- Parameters:
batchGetMemberAccountDetailsRequest- AConsumerthat will call methods onBatchGetMemberAccountDetailsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetMemberAccountDetails operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelMembership
default CompletableFuture<CancelMembershipResponse> cancelMembership(CancelMembershipRequest cancelMembershipRequest)
Grants permissions to cancel an existing membership.
- Parameters:
cancelMembershipRequest-- Returns:
- A Java Future containing the result of the CancelMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelMembership
default CompletableFuture<CancelMembershipResponse> cancelMembership(Consumer<CancelMembershipRequest.Builder> cancelMembershipRequest)
Grants permissions to cancel an existing membership.
This is a convenience which creates an instance of the
CancelMembershipRequest.Builderavoiding the need to create one manually viaCancelMembershipRequest.builder()- Parameters:
cancelMembershipRequest- AConsumerthat will call methods onCancelMembershipRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
closeCase
default CompletableFuture<CloseCaseResponse> closeCase(CloseCaseRequest closeCaseRequest)
Grants permission to close an existing case.
- Parameters:
closeCaseRequest-- Returns:
- A Java Future containing the result of the CloseCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
closeCase
default CompletableFuture<CloseCaseResponse> closeCase(Consumer<CloseCaseRequest.Builder> closeCaseRequest)
Grants permission to close an existing case.
This is a convenience which creates an instance of the
CloseCaseRequest.Builderavoiding the need to create one manually viaCloseCaseRequest.builder()- Parameters:
closeCaseRequest- AConsumerthat will call methods onCloseCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CloseCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCase
default CompletableFuture<CreateCaseResponse> createCase(CreateCaseRequest createCaseRequest)
Grants permission to create a new case.
- Parameters:
createCaseRequest-- Returns:
- A Java Future containing the result of the CreateCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCase
default CompletableFuture<CreateCaseResponse> createCase(Consumer<CreateCaseRequest.Builder> createCaseRequest)
Grants permission to create a new case.
This is a convenience which creates an instance of the
CreateCaseRequest.Builderavoiding the need to create one manually viaCreateCaseRequest.builder()- Parameters:
createCaseRequest- AConsumerthat will call methods onCreateCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCaseComment
default CompletableFuture<CreateCaseCommentResponse> createCaseComment(CreateCaseCommentRequest createCaseCommentRequest)
Grants permission to add a comment to an existing case.
- Parameters:
createCaseCommentRequest-- Returns:
- A Java Future containing the result of the CreateCaseComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCaseComment
default CompletableFuture<CreateCaseCommentResponse> createCaseComment(Consumer<CreateCaseCommentRequest.Builder> createCaseCommentRequest)
Grants permission to add a comment to an existing case.
This is a convenience which creates an instance of the
CreateCaseCommentRequest.Builderavoiding the need to create one manually viaCreateCaseCommentRequest.builder()- Parameters:
createCaseCommentRequest- AConsumerthat will call methods onCreateCaseCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateCaseComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createMembership
default CompletableFuture<CreateMembershipResponse> createMembership(CreateMembershipRequest createMembershipRequest)
Grants permissions to create a new membership.
- Parameters:
createMembershipRequest-- Returns:
- A Java Future containing the result of the CreateMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createMembership
default CompletableFuture<CreateMembershipResponse> createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest)
Grants permissions to create a new membership.
This is a convenience which creates an instance of the
CreateMembershipRequest.Builderavoiding the need to create one manually viaCreateMembershipRequest.builder()- Parameters:
createMembershipRequest- AConsumerthat will call methods onCreateMembershipRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCase
default CompletableFuture<GetCaseResponse> getCase(GetCaseRequest getCaseRequest)
Grant permission to view a designated case.
- Parameters:
getCaseRequest-- Returns:
- A Java Future containing the result of the GetCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCase
default CompletableFuture<GetCaseResponse> getCase(Consumer<GetCaseRequest.Builder> getCaseRequest)
Grant permission to view a designated case.
This is a convenience which creates an instance of the
GetCaseRequest.Builderavoiding the need to create one manually viaGetCaseRequest.builder()- Parameters:
getCaseRequest- AConsumerthat will call methods onGetCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCaseAttachmentDownloadUrl
default CompletableFuture<GetCaseAttachmentDownloadUrlResponse> getCaseAttachmentDownloadUrl(GetCaseAttachmentDownloadUrlRequest getCaseAttachmentDownloadUrlRequest)
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
- Parameters:
getCaseAttachmentDownloadUrlRequest-- Returns:
- A Java Future containing the result of the GetCaseAttachmentDownloadUrl operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCaseAttachmentDownloadUrl
default CompletableFuture<GetCaseAttachmentDownloadUrlResponse> getCaseAttachmentDownloadUrl(Consumer<GetCaseAttachmentDownloadUrlRequest.Builder> getCaseAttachmentDownloadUrlRequest)
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
This is a convenience which creates an instance of the
GetCaseAttachmentDownloadUrlRequest.Builderavoiding the need to create one manually viaGetCaseAttachmentDownloadUrlRequest.builder()- Parameters:
getCaseAttachmentDownloadUrlRequest- AConsumerthat will call methods onGetCaseAttachmentDownloadUrlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCaseAttachmentDownloadUrl operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCaseAttachmentUploadUrl
default CompletableFuture<GetCaseAttachmentUploadUrlResponse> getCaseAttachmentUploadUrl(GetCaseAttachmentUploadUrlRequest getCaseAttachmentUploadUrlRequest)
Grants permission to upload an attachment to a case.
- Parameters:
getCaseAttachmentUploadUrlRequest-- Returns:
- A Java Future containing the result of the GetCaseAttachmentUploadUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCaseAttachmentUploadUrl
default CompletableFuture<GetCaseAttachmentUploadUrlResponse> getCaseAttachmentUploadUrl(Consumer<GetCaseAttachmentUploadUrlRequest.Builder> getCaseAttachmentUploadUrlRequest)
Grants permission to upload an attachment to a case.
This is a convenience which creates an instance of the
GetCaseAttachmentUploadUrlRequest.Builderavoiding the need to create one manually viaGetCaseAttachmentUploadUrlRequest.builder()- Parameters:
getCaseAttachmentUploadUrlRequest- AConsumerthat will call methods onGetCaseAttachmentUploadUrlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCaseAttachmentUploadUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMembership
default CompletableFuture<GetMembershipResponse> getMembership(GetMembershipRequest getMembershipRequest)
Grants permission to get details of a designated service membership.
- Parameters:
getMembershipRequest-- Returns:
- A Java Future containing the result of the GetMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMembership
default CompletableFuture<GetMembershipResponse> getMembership(Consumer<GetMembershipRequest.Builder> getMembershipRequest)
Grants permission to get details of a designated service membership.
This is a convenience which creates an instance of the
GetMembershipRequest.Builderavoiding the need to create one manually viaGetMembershipRequest.builder()- Parameters:
getMembershipRequest- AConsumerthat will call methods onGetMembershipRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCaseEdits
default CompletableFuture<ListCaseEditsResponse> listCaseEdits(ListCaseEditsRequest listCaseEditsRequest)
Grants permissions to view the aidt log for edits made to a designated case.
- Parameters:
listCaseEditsRequest-- Returns:
- A Java Future containing the result of the ListCaseEdits operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCaseEdits
default CompletableFuture<ListCaseEditsResponse> listCaseEdits(Consumer<ListCaseEditsRequest.Builder> listCaseEditsRequest)
Grants permissions to view the aidt log for edits made to a designated case.
This is a convenience which creates an instance of the
ListCaseEditsRequest.Builderavoiding the need to create one manually viaListCaseEditsRequest.builder()- Parameters:
listCaseEditsRequest- AConsumerthat will call methods onListCaseEditsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCaseEdits operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCaseEditsPaginator
default ListCaseEditsPublisher listCaseEditsPaginator(ListCaseEditsRequest listCaseEditsRequest)
This is a variant of
listCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)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.securityir.paginators.ListCaseEditsPublisher publisher = client.listCaseEditsPaginator(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.securityir.paginators.ListCaseEditsPublisher publisher = client.listCaseEditsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListCaseEditsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListCaseEditsResponse 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
listCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)operation.- Parameters:
listCaseEditsRequest-- 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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCaseEditsPaginator
default ListCaseEditsPublisher listCaseEditsPaginator(Consumer<ListCaseEditsRequest.Builder> listCaseEditsRequest)
This is a variant of
listCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)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.securityir.paginators.ListCaseEditsPublisher publisher = client.listCaseEditsPaginator(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.securityir.paginators.ListCaseEditsPublisher publisher = client.listCaseEditsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListCaseEditsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListCaseEditsResponse 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
listCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)operation.
This is a convenience which creates an instance of the
ListCaseEditsRequest.Builderavoiding the need to create one manually viaListCaseEditsRequest.builder()- Parameters:
listCaseEditsRequest- AConsumerthat will call methods onListCaseEditsRequest.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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCases
default CompletableFuture<ListCasesResponse> listCases(ListCasesRequest listCasesRequest)
Grants permission to list all cases the requester has access to.
- Parameters:
listCasesRequest-- Returns:
- A Java Future containing the result of the ListCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCases
default CompletableFuture<ListCasesResponse> listCases(Consumer<ListCasesRequest.Builder> listCasesRequest)
Grants permission to list all cases the requester has access to.
This is a convenience which creates an instance of the
ListCasesRequest.Builderavoiding the need to create one manually viaListCasesRequest.builder()- Parameters:
listCasesRequest- AConsumerthat will call methods onListCasesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCasesPaginator
default ListCasesPublisher listCasesPaginator(ListCasesRequest listCasesRequest)
This is a variant of
listCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)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.securityir.paginators.ListCasesPublisher publisher = client.listCasesPaginator(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.securityir.paginators.ListCasesPublisher publisher = client.listCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListCasesResponse 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
listCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)operation.- Parameters:
listCasesRequest-- 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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCasesPaginator
default ListCasesPublisher listCasesPaginator(Consumer<ListCasesRequest.Builder> listCasesRequest)
This is a variant of
listCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)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.securityir.paginators.ListCasesPublisher publisher = client.listCasesPaginator(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.securityir.paginators.ListCasesPublisher publisher = client.listCasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListCasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListCasesResponse 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
listCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)operation.
This is a convenience which creates an instance of the
ListCasesRequest.Builderavoiding the need to create one manually viaListCasesRequest.builder()- Parameters:
listCasesRequest- AConsumerthat will call methods onListCasesRequest.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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listComments
default CompletableFuture<ListCommentsResponse> listComments(ListCommentsRequest listCommentsRequest)
Grants permissions to list and view comments for a designated case.
- Parameters:
listCommentsRequest-- Returns:
- A Java Future containing the result of the ListComments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listComments
default CompletableFuture<ListCommentsResponse> listComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest)
Grants permissions to list and view comments for a designated case.
This is a convenience which creates an instance of the
ListCommentsRequest.Builderavoiding the need to create one manually viaListCommentsRequest.builder()- Parameters:
listCommentsRequest- AConsumerthat will call methods onListCommentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCommentsPaginator
default ListCommentsPublisher listCommentsPaginator(ListCommentsRequest listCommentsRequest)
This is a variant of
listComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)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.securityir.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(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.securityir.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListCommentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListCommentsResponse 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
listComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)operation.- Parameters:
listCommentsRequest-- 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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCommentsPaginator
default ListCommentsPublisher listCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest)
This is a variant of
listComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)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.securityir.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(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.securityir.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListCommentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListCommentsResponse 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
listComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)operation.
This is a convenience which creates an instance of the
ListCommentsRequest.Builderavoiding the need to create one manually viaListCommentsRequest.builder()- Parameters:
listCommentsRequest- AConsumerthat will call methods onListCommentsRequest.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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMemberships
default CompletableFuture<ListMembershipsResponse> listMemberships(ListMembershipsRequest listMembershipsRequest)
Grants permission to query the memberships a principal has access to.
- Parameters:
listMembershipsRequest-- Returns:
- A Java Future containing the result of the ListMemberships operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMemberships
default CompletableFuture<ListMembershipsResponse> listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest)
Grants permission to query the memberships a principal has access to.
This is a convenience which creates an instance of the
ListMembershipsRequest.Builderavoiding the need to create one manually viaListMembershipsRequest.builder()- Parameters:
listMembershipsRequest- AConsumerthat will call methods onListMembershipsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMemberships operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMembershipsPaginator
default ListMembershipsPublisher listMembershipsPaginator(ListMembershipsRequest listMembershipsRequest)
This is a variant of
listMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)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.securityir.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(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.securityir.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListMembershipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListMembershipsResponse 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
listMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)operation.- Parameters:
listMembershipsRequest-- 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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listMembershipsPaginator
default ListMembershipsPublisher listMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest)
This is a variant of
listMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)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.securityir.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(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.securityir.paginators.ListMembershipsPublisher publisher = client.listMembershipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityir.model.ListMembershipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.securityir.model.ListMembershipsResponse 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
listMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)operation.
This is a convenience which creates an instance of the
ListMembershipsRequest.Builderavoiding the need to create one manually viaListMembershipsRequest.builder()- Parameters:
listMembershipsRequest- AConsumerthat will call methods onListMembershipsRequest.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.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Grants permission to view currently configured tags on a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ResourceNotFoundException
- ConflictException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Grants permission to view currently configured tags on a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ResourceNotFoundException
- ConflictException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Grants permission to add a tag(s) to a designated resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ResourceNotFoundException
- ConflictException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Grants permission to add a tag(s) to a designated resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ResourceNotFoundException
- ConflictException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Grants permission to remove a tag(s) from a designate resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ResourceNotFoundException
- ConflictException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Grants permission to remove a tag(s) from a designate resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ResourceNotFoundException
- ConflictException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCase
default CompletableFuture<UpdateCaseResponse> updateCase(UpdateCaseRequest updateCaseRequest)
Grants permission to update an existing case.
- Parameters:
updateCaseRequest-- Returns:
- A Java Future containing the result of the UpdateCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCase
default CompletableFuture<UpdateCaseResponse> updateCase(Consumer<UpdateCaseRequest.Builder> updateCaseRequest)
Grants permission to update an existing case.
This is a convenience which creates an instance of the
UpdateCaseRequest.Builderavoiding the need to create one manually viaUpdateCaseRequest.builder()- Parameters:
updateCaseRequest- AConsumerthat will call methods onUpdateCaseRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateCase operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCaseComment
default CompletableFuture<UpdateCaseCommentResponse> updateCaseComment(UpdateCaseCommentRequest updateCaseCommentRequest)
Grants permission to update an existing case comment.
- Parameters:
updateCaseCommentRequest-- Returns:
- A Java Future containing the result of the UpdateCaseComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCaseComment
default CompletableFuture<UpdateCaseCommentResponse> updateCaseComment(Consumer<UpdateCaseCommentRequest.Builder> updateCaseCommentRequest)
Grants permission to update an existing case comment.
This is a convenience which creates an instance of the
UpdateCaseCommentRequest.Builderavoiding the need to create one manually viaUpdateCaseCommentRequest.builder()- Parameters:
updateCaseCommentRequest- AConsumerthat will call methods onUpdateCaseCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateCaseComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCaseStatus
default CompletableFuture<UpdateCaseStatusResponse> updateCaseStatus(UpdateCaseStatusRequest updateCaseStatusRequest)
Grants permission to update the status for a designated cases. Options include
Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed.- Parameters:
updateCaseStatusRequest-- Returns:
- A Java Future containing the result of the UpdateCaseStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCaseStatus
default CompletableFuture<UpdateCaseStatusResponse> updateCaseStatus(Consumer<UpdateCaseStatusRequest.Builder> updateCaseStatusRequest)
Grants permission to update the status for a designated cases. Options include
Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed.
This is a convenience which creates an instance of the
UpdateCaseStatusRequest.Builderavoiding the need to create one manually viaUpdateCaseStatusRequest.builder()- Parameters:
updateCaseStatusRequest- AConsumerthat will call methods onUpdateCaseStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateCaseStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateMembership
default CompletableFuture<UpdateMembershipResponse> updateMembership(UpdateMembershipRequest updateMembershipRequest)
Grants access to UpdateMembership to change membership configuration.
- Parameters:
updateMembershipRequest-- Returns:
- A Java Future containing the result of the UpdateMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateMembership
default CompletableFuture<UpdateMembershipResponse> updateMembership(Consumer<UpdateMembershipRequest.Builder> updateMembershipRequest)
Grants access to UpdateMembership to change membership configuration.
This is a convenience which creates an instance of the
UpdateMembershipRequest.Builderavoiding the need to create one manually viaUpdateMembershipRequest.builder()- Parameters:
updateMembershipRequest- AConsumerthat will call methods onUpdateMembershipRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateResolverType
default CompletableFuture<UpdateResolverTypeResponse> updateResolverType(UpdateResolverTypeRequest updateResolverTypeRequest)
Grants permission to update the resolver type for a case.
This is a one-way action and cannot be reversed.
Options include self-supported > AWS-supported.
- Parameters:
updateResolverTypeRequest-- Returns:
- A Java Future containing the result of the UpdateResolverType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateResolverType
default CompletableFuture<UpdateResolverTypeResponse> updateResolverType(Consumer<UpdateResolverTypeRequest.Builder> updateResolverTypeRequest)
Grants permission to update the resolver type for a case.
This is a one-way action and cannot be reversed.
Options include self-supported > AWS-supported.
This is a convenience which creates an instance of the
UpdateResolverTypeRequest.Builderavoiding the need to create one manually viaUpdateResolverTypeRequest.builder()- Parameters:
updateResolverTypeRequest- AConsumerthat will call methods onUpdateResolverTypeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateResolverType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException
- AccessDeniedException
- ValidationException
- SecurityIncidentResponseNotActiveException
- InternalServerException
- ConflictException
- ResourceNotFoundException
- ThrottlingException
- InvalidTokenException
- 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.
- SecurityIrException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default SecurityIrServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static SecurityIrAsyncClient create()
Create aSecurityIrAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static SecurityIrAsyncClientBuilder builder()
Create a builder that can be used to configure and create aSecurityIrAsyncClient.
-
-