Interface SecurityIrClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
This guide documents the action and response elements for use of the service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchGetMemberAccountDetails
(Consumer<BatchGetMemberAccountDetailsRequest.Builder> batchGetMemberAccountDetailsRequest) Provides information on whether the supplied account IDs are associated with a membership.batchGetMemberAccountDetails
(BatchGetMemberAccountDetailsRequest batchGetMemberAccountDetailsRequest) Provides information on whether the supplied account IDs are associated with a membership.static SecurityIrClientBuilder
builder()
Create a builder that can be used to configure and create aSecurityIrClient
.default CancelMembershipResponse
cancelMembership
(Consumer<CancelMembershipRequest.Builder> cancelMembershipRequest) Cancels an existing membership.default CancelMembershipResponse
cancelMembership
(CancelMembershipRequest cancelMembershipRequest) Cancels an existing membership.default CloseCaseResponse
closeCase
(Consumer<CloseCaseRequest.Builder> closeCaseRequest) Closes an existing case.default CloseCaseResponse
closeCase
(CloseCaseRequest closeCaseRequest) Closes an existing case.static SecurityIrClient
create()
Create aSecurityIrClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateCaseResponse
createCase
(Consumer<CreateCaseRequest.Builder> createCaseRequest) Creates a new case.default CreateCaseResponse
createCase
(CreateCaseRequest createCaseRequest) Creates a new case.default CreateCaseCommentResponse
createCaseComment
(Consumer<CreateCaseCommentRequest.Builder> createCaseCommentRequest) Adds a comment to an existing case.default CreateCaseCommentResponse
createCaseComment
(CreateCaseCommentRequest createCaseCommentRequest) Adds a comment to an existing case.default CreateMembershipResponse
createMembership
(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) Creates a new membership.default CreateMembershipResponse
createMembership
(CreateMembershipRequest createMembershipRequest) Creates a new membership.default GetCaseResponse
getCase
(Consumer<GetCaseRequest.Builder> getCaseRequest) Returns the attributes of a case.default GetCaseResponse
getCase
(GetCaseRequest getCaseRequest) Returns the attributes of a case.getCaseAttachmentDownloadUrl
(Consumer<GetCaseAttachmentDownloadUrlRequest.Builder> getCaseAttachmentDownloadUrlRequest) Returns a Pre-Signed URL for uploading attachments into a case.getCaseAttachmentDownloadUrl
(GetCaseAttachmentDownloadUrlRequest getCaseAttachmentDownloadUrlRequest) Returns a Pre-Signed URL for uploading attachments into a case.getCaseAttachmentUploadUrl
(Consumer<GetCaseAttachmentUploadUrlRequest.Builder> getCaseAttachmentUploadUrlRequest) Uploads an attachment to a case.getCaseAttachmentUploadUrl
(GetCaseAttachmentUploadUrlRequest getCaseAttachmentUploadUrlRequest) Uploads an attachment to a case.default GetMembershipResponse
getMembership
(Consumer<GetMembershipRequest.Builder> getMembershipRequest) Returns the attributes of a membership.default GetMembershipResponse
getMembership
(GetMembershipRequest getMembershipRequest) Returns the attributes of a membership.default ListCaseEditsResponse
listCaseEdits
(Consumer<ListCaseEditsRequest.Builder> listCaseEditsRequest) Views the case history for edits made to a designated case.default ListCaseEditsResponse
listCaseEdits
(ListCaseEditsRequest listCaseEditsRequest) Views the case history for edits made to a designated case.default ListCaseEditsIterable
listCaseEditsPaginator
(Consumer<ListCaseEditsRequest.Builder> listCaseEditsRequest) This is a variant oflistCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)
operation.default ListCaseEditsIterable
listCaseEditsPaginator
(ListCaseEditsRequest listCaseEditsRequest) This is a variant oflistCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)
operation.default ListCasesResponse
listCases
(Consumer<ListCasesRequest.Builder> listCasesRequest) Lists all cases the requester has access to.default ListCasesResponse
listCases
(ListCasesRequest listCasesRequest) Lists all cases the requester has access to.default ListCasesIterable
listCasesPaginator
(Consumer<ListCasesRequest.Builder> listCasesRequest) This is a variant oflistCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)
operation.default ListCasesIterable
listCasesPaginator
(ListCasesRequest listCasesRequest) This is a variant oflistCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)
operation.default ListCommentsResponse
listComments
(Consumer<ListCommentsRequest.Builder> listCommentsRequest) Returns comments for a designated case.default ListCommentsResponse
listComments
(ListCommentsRequest listCommentsRequest) Returns comments for a designated case.default ListCommentsIterable
listCommentsPaginator
(Consumer<ListCommentsRequest.Builder> listCommentsRequest) This is a variant oflistComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)
operation.default ListCommentsIterable
listCommentsPaginator
(ListCommentsRequest listCommentsRequest) This is a variant oflistComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)
operation.default ListMembershipsResponse
listMemberships
(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) Returns the memberships that the calling principal can access.default ListMembershipsResponse
listMemberships
(ListMembershipsRequest listMembershipsRequest) Returns the memberships that the calling principal can access.default ListMembershipsIterable
listMembershipsPaginator
(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) This is a variant oflistMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)
operation.default ListMembershipsIterable
listMembershipsPaginator
(ListMembershipsRequest listMembershipsRequest) This is a variant oflistMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns currently configured tags on a resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns currently configured tags on a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag(s) to a designated resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds a tag(s) to a designated resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag(s) from a designate resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes a tag(s) from a designate resource.default UpdateCaseResponse
updateCase
(Consumer<UpdateCaseRequest.Builder> updateCaseRequest) Updates an existing case.default UpdateCaseResponse
updateCase
(UpdateCaseRequest updateCaseRequest) Updates an existing case.default UpdateCaseCommentResponse
updateCaseComment
(Consumer<UpdateCaseCommentRequest.Builder> updateCaseCommentRequest) Updates an existing case comment.default UpdateCaseCommentResponse
updateCaseComment
(UpdateCaseCommentRequest updateCaseCommentRequest) Updates an existing case comment.default UpdateCaseStatusResponse
updateCaseStatus
(Consumer<UpdateCaseStatusRequest.Builder> updateCaseStatusRequest) Updates the state transitions for a designated cases.default UpdateCaseStatusResponse
updateCaseStatus
(UpdateCaseStatusRequest updateCaseStatusRequest) Updates the state transitions for a designated cases.default UpdateMembershipResponse
updateMembership
(Consumer<UpdateMembershipRequest.Builder> updateMembershipRequest) Updates membership configuration.default UpdateMembershipResponse
updateMembership
(UpdateMembershipRequest updateMembershipRequest) Updates membership configuration.default UpdateResolverTypeResponse
updateResolverType
(Consumer<UpdateResolverTypeRequest.Builder> updateResolverTypeRequest) Updates the resolver type for a case.default UpdateResolverTypeResponse
updateResolverType
(UpdateResolverTypeRequest updateResolverTypeRequest) Updates the resolver type for a case.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchGetMemberAccountDetails
default BatchGetMemberAccountDetailsResponse batchGetMemberAccountDetails(BatchGetMemberAccountDetailsRequest batchGetMemberAccountDetailsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Provides information on whether the supplied account IDs are associated with a membership.
AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be
123123123
which is nine digits, and with zero-prepend would be000123123123
. Not zero-prepending to 12 digits could result in errors.- Parameters:
batchGetMemberAccountDetailsRequest
-- Returns:
- Result of the BatchGetMemberAccountDetails operation returned by the service.
- See Also:
-
batchGetMemberAccountDetails
default BatchGetMemberAccountDetailsResponse batchGetMemberAccountDetails(Consumer<BatchGetMemberAccountDetailsRequest.Builder> batchGetMemberAccountDetailsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Provides information on whether the supplied account IDs are associated with a membership.
AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be
123123123
which is nine digits, and with zero-prepend would be000123123123
. Not zero-prepending to 12 digits could result in errors.
This is a convenience which creates an instance of the
BatchGetMemberAccountDetailsRequest.Builder
avoiding the need to create one manually viaBatchGetMemberAccountDetailsRequest.builder()
- Parameters:
batchGetMemberAccountDetailsRequest
- AConsumer
that will call methods onBatchGetMemberAccountDetailsRequest.Builder
to create a request.- Returns:
- Result of the BatchGetMemberAccountDetails operation returned by the service.
- See Also:
-
cancelMembership
default CancelMembershipResponse cancelMembership(CancelMembershipRequest cancelMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Cancels an existing membership.
- Parameters:
cancelMembershipRequest
-- Returns:
- Result of the CancelMembership operation returned by the service.
- See Also:
-
cancelMembership
default CancelMembershipResponse cancelMembership(Consumer<CancelMembershipRequest.Builder> cancelMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Cancels an existing membership.
This is a convenience which creates an instance of the
CancelMembershipRequest.Builder
avoiding the need to create one manually viaCancelMembershipRequest.builder()
- Parameters:
cancelMembershipRequest
- AConsumer
that will call methods onCancelMembershipRequest.Builder
to create a request.- Returns:
- Result of the CancelMembership operation returned by the service.
- See Also:
-
closeCase
default CloseCaseResponse closeCase(CloseCaseRequest closeCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Closes an existing case.
- Parameters:
closeCaseRequest
-- Returns:
- Result of the CloseCase operation returned by the service.
- See Also:
-
closeCase
default CloseCaseResponse closeCase(Consumer<CloseCaseRequest.Builder> closeCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Closes an existing case.
This is a convenience which creates an instance of the
CloseCaseRequest.Builder
avoiding the need to create one manually viaCloseCaseRequest.builder()
- Parameters:
closeCaseRequest
- AConsumer
that will call methods onCloseCaseRequest.Builder
to create a request.- Returns:
- Result of the CloseCase operation returned by the service.
- See Also:
-
createCase
default CreateCaseResponse createCase(CreateCaseRequest createCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Creates a new case.
- Parameters:
createCaseRequest
-- Returns:
- Result of the CreateCase operation returned by the service.
- See Also:
-
createCase
default CreateCaseResponse createCase(Consumer<CreateCaseRequest.Builder> createCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Creates a new case.
This is a convenience which creates an instance of the
CreateCaseRequest.Builder
avoiding the need to create one manually viaCreateCaseRequest.builder()
- Parameters:
createCaseRequest
- AConsumer
that will call methods onCreateCaseRequest.Builder
to create a request.- Returns:
- Result of the CreateCase operation returned by the service.
- See Also:
-
createCaseComment
default CreateCaseCommentResponse createCaseComment(CreateCaseCommentRequest createCaseCommentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Adds a comment to an existing case.
- Parameters:
createCaseCommentRequest
-- Returns:
- Result of the CreateCaseComment operation returned by the service.
- See Also:
-
createCaseComment
default CreateCaseCommentResponse createCaseComment(Consumer<CreateCaseCommentRequest.Builder> createCaseCommentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Adds a comment to an existing case.
This is a convenience which creates an instance of the
CreateCaseCommentRequest.Builder
avoiding the need to create one manually viaCreateCaseCommentRequest.builder()
- Parameters:
createCaseCommentRequest
- AConsumer
that will call methods onCreateCaseCommentRequest.Builder
to create a request.- Returns:
- Result of the CreateCaseComment operation returned by the service.
- See Also:
-
createMembership
default CreateMembershipResponse createMembership(CreateMembershipRequest createMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Creates a new membership.
- Parameters:
createMembershipRequest
-- Returns:
- Result of the CreateMembership operation returned by the service.
- See Also:
-
createMembership
default CreateMembershipResponse createMembership(Consumer<CreateMembershipRequest.Builder> createMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Creates a new membership.
This is a convenience which creates an instance of the
CreateMembershipRequest.Builder
avoiding the need to create one manually viaCreateMembershipRequest.builder()
- Parameters:
createMembershipRequest
- AConsumer
that will call methods onCreateMembershipRequest.Builder
to create a request.- Returns:
- Result of the CreateMembership operation returned by the service.
- See Also:
-
getCase
default GetCaseResponse getCase(GetCaseRequest getCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns the attributes of a case.
- Parameters:
getCaseRequest
-- Returns:
- Result of the GetCase operation returned by the service.
- See Also:
-
getCase
default GetCaseResponse getCase(Consumer<GetCaseRequest.Builder> getCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns the attributes of a case.
This is a convenience which creates an instance of the
GetCaseRequest.Builder
avoiding the need to create one manually viaGetCaseRequest.builder()
- Parameters:
getCaseRequest
- AConsumer
that will call methods onGetCaseRequest.Builder
to create a request.- Returns:
- Result of the GetCase operation returned by the service.
- See Also:
-
getCaseAttachmentDownloadUrl
default GetCaseAttachmentDownloadUrlResponse getCaseAttachmentDownloadUrl(GetCaseAttachmentDownloadUrlRequest getCaseAttachmentDownloadUrlRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns a Pre-Signed URL for uploading attachments into a case.
- Parameters:
getCaseAttachmentDownloadUrlRequest
-- Returns:
- Result of the GetCaseAttachmentDownloadUrl operation returned by the service.
- See Also:
-
getCaseAttachmentDownloadUrl
default GetCaseAttachmentDownloadUrlResponse getCaseAttachmentDownloadUrl(Consumer<GetCaseAttachmentDownloadUrlRequest.Builder> getCaseAttachmentDownloadUrlRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns a Pre-Signed URL for uploading attachments into a case.
This is a convenience which creates an instance of the
GetCaseAttachmentDownloadUrlRequest.Builder
avoiding the need to create one manually viaGetCaseAttachmentDownloadUrlRequest.builder()
- Parameters:
getCaseAttachmentDownloadUrlRequest
- AConsumer
that will call methods onGetCaseAttachmentDownloadUrlRequest.Builder
to create a request.- Returns:
- Result of the GetCaseAttachmentDownloadUrl operation returned by the service.
- See Also:
-
getCaseAttachmentUploadUrl
default GetCaseAttachmentUploadUrlResponse getCaseAttachmentUploadUrl(GetCaseAttachmentUploadUrlRequest getCaseAttachmentUploadUrlRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Uploads an attachment to a case.
- Parameters:
getCaseAttachmentUploadUrlRequest
-- Returns:
- Result of the GetCaseAttachmentUploadUrl operation returned by the service.
- See Also:
-
getCaseAttachmentUploadUrl
default GetCaseAttachmentUploadUrlResponse getCaseAttachmentUploadUrl(Consumer<GetCaseAttachmentUploadUrlRequest.Builder> getCaseAttachmentUploadUrlRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Uploads an attachment to a case.
This is a convenience which creates an instance of the
GetCaseAttachmentUploadUrlRequest.Builder
avoiding the need to create one manually viaGetCaseAttachmentUploadUrlRequest.builder()
- Parameters:
getCaseAttachmentUploadUrlRequest
- AConsumer
that will call methods onGetCaseAttachmentUploadUrlRequest.Builder
to create a request.- Returns:
- Result of the GetCaseAttachmentUploadUrl operation returned by the service.
- See Also:
-
getMembership
default GetMembershipResponse getMembership(GetMembershipRequest getMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns the attributes of a membership.
- Parameters:
getMembershipRequest
-- Returns:
- Result of the GetMembership operation returned by the service.
- See Also:
-
getMembership
default GetMembershipResponse getMembership(Consumer<GetMembershipRequest.Builder> getMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns the attributes of a membership.
This is a convenience which creates an instance of the
GetMembershipRequest.Builder
avoiding the need to create one manually viaGetMembershipRequest.builder()
- Parameters:
getMembershipRequest
- AConsumer
that will call methods onGetMembershipRequest.Builder
to create a request.- Returns:
- Result of the GetMembership operation returned by the service.
- See Also:
-
listCaseEdits
default ListCaseEditsResponse listCaseEdits(ListCaseEditsRequest listCaseEditsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Views the case history for edits made to a designated case.
- Parameters:
listCaseEditsRequest
-- Returns:
- Result of the ListCaseEdits operation returned by the service.
- See Also:
-
listCaseEdits
default ListCaseEditsResponse listCaseEdits(Consumer<ListCaseEditsRequest.Builder> listCaseEditsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Views the case history for edits made to a designated case.
This is a convenience which creates an instance of the
ListCaseEditsRequest.Builder
avoiding the need to create one manually viaListCaseEditsRequest.builder()
- Parameters:
listCaseEditsRequest
- AConsumer
that will call methods onListCaseEditsRequest.Builder
to create a request.- Returns:
- Result of the ListCaseEdits operation returned by the service.
- See Also:
-
listCaseEditsPaginator
default ListCaseEditsIterable listCaseEditsPaginator(ListCaseEditsRequest listCaseEditsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListCaseEditsIterable responses = client.listCaseEditsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListCaseEditsIterable responses = client .listCaseEditsPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListCaseEditsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListCaseEditsIterable responses = client.listCaseEditsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCaseEditsPaginator
default ListCaseEditsIterable listCaseEditsPaginator(Consumer<ListCaseEditsRequest.Builder> listCaseEditsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listCaseEdits(software.amazon.awssdk.services.securityir.model.ListCaseEditsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListCaseEditsIterable responses = client.listCaseEditsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListCaseEditsIterable responses = client .listCaseEditsPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListCaseEditsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListCaseEditsIterable responses = client.listCaseEditsPaginator(request); responses.iterator().forEachRemaining(....);
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.Builder
avoiding the need to create one manually viaListCaseEditsRequest.builder()
- Parameters:
listCaseEditsRequest
- AConsumer
that will call methods onListCaseEditsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCases
default ListCasesResponse listCases(ListCasesRequest listCasesRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Lists all cases the requester has access to.
- Parameters:
listCasesRequest
-- Returns:
- Result of the ListCases operation returned by the service.
- See Also:
-
listCases
default ListCasesResponse listCases(Consumer<ListCasesRequest.Builder> listCasesRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Lists all cases the requester has access to.
This is a convenience which creates an instance of the
ListCasesRequest.Builder
avoiding the need to create one manually viaListCasesRequest.builder()
- Parameters:
listCasesRequest
- AConsumer
that will call methods onListCasesRequest.Builder
to create a request.- Returns:
- Result of the ListCases operation returned by the service.
- See Also:
-
listCasesPaginator
default ListCasesIterable listCasesPaginator(ListCasesRequest listCasesRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListCasesIterable responses = client.listCasesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListCasesIterable responses = client.listCasesPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListCasesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListCasesIterable responses = client.listCasesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCasesPaginator
default ListCasesIterable listCasesPaginator(Consumer<ListCasesRequest.Builder> listCasesRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listCases(software.amazon.awssdk.services.securityir.model.ListCasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListCasesIterable responses = client.listCasesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListCasesIterable responses = client.listCasesPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListCasesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListCasesIterable responses = client.listCasesPaginator(request); responses.iterator().forEachRemaining(....);
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.Builder
avoiding the need to create one manually viaListCasesRequest.builder()
- Parameters:
listCasesRequest
- AConsumer
that will call methods onListCasesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listComments
default ListCommentsResponse listComments(ListCommentsRequest listCommentsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns comments for a designated case.
- Parameters:
listCommentsRequest
-- Returns:
- Result of the ListComments operation returned by the service.
- See Also:
-
listComments
default ListCommentsResponse listComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns comments for a designated case.
This is a convenience which creates an instance of the
ListCommentsRequest.Builder
avoiding the need to create one manually viaListCommentsRequest.builder()
- Parameters:
listCommentsRequest
- AConsumer
that will call methods onListCommentsRequest.Builder
to create a request.- Returns:
- Result of the ListComments operation returned by the service.
- See Also:
-
listCommentsPaginator
default ListCommentsIterable listCommentsPaginator(ListCommentsRequest listCommentsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListCommentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listCommentsPaginator
default ListCommentsIterable listCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listComments(software.amazon.awssdk.services.securityir.model.ListCommentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListCommentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.iterator().forEachRemaining(....);
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.Builder
avoiding the need to create one manually viaListCommentsRequest.builder()
- Parameters:
listCommentsRequest
- AConsumer
that will call methods onListCommentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMemberships
default ListMembershipsResponse listMemberships(ListMembershipsRequest listMembershipsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns the memberships that the calling principal can access.
- Parameters:
listMembershipsRequest
-- Returns:
- Result of the ListMemberships operation returned by the service.
- See Also:
-
listMemberships
default ListMembershipsResponse listMemberships(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns the memberships that the calling principal can access.
This is a convenience which creates an instance of the
ListMembershipsRequest.Builder
avoiding the need to create one manually viaListMembershipsRequest.builder()
- Parameters:
listMembershipsRequest
- AConsumer
that will call methods onListMembershipsRequest.Builder
to create a request.- Returns:
- Result of the ListMemberships operation returned by the service.
- See Also:
-
listMembershipsPaginator
default ListMembershipsIterable listMembershipsPaginator(ListMembershipsRequest listMembershipsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListMembershipsIterable responses = client .listMembershipsPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListMembershipsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembershipsPaginator
default ListMembershipsIterable listMembershipsPaginator(Consumer<ListMembershipsRequest.Builder> listMembershipsRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException This is a variant of
listMemberships(software.amazon.awssdk.services.securityir.model.ListMembershipsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.securityir.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.securityir.paginators.ListMembershipsIterable responses = client .listMembershipsPaginator(request); for (software.amazon.awssdk.services.securityir.model.ListMembershipsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.securityir.paginators.ListMembershipsIterable responses = client.listMembershipsPaginator(request); responses.iterator().forEachRemaining(....);
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.Builder
avoiding the need to create one manually viaListMembershipsRequest.builder()
- Parameters:
listMembershipsRequest
- AConsumer
that will call methods onListMembershipsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ResourceNotFoundException, ThrottlingException, ConflictException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns currently configured tags on a resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ResourceNotFoundException, ThrottlingException, ConflictException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Returns currently configured tags on a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ResourceNotFoundException, ThrottlingException, ConflictException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Adds a tag(s) to a designated resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ResourceNotFoundException, ThrottlingException, ConflictException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Adds a tag(s) to a designated resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ResourceNotFoundException, ThrottlingException, ConflictException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Removes a tag(s) from a designate resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ResourceNotFoundException, ThrottlingException, ConflictException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Removes a tag(s) from a designate resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateCase
default UpdateCaseResponse updateCase(UpdateCaseRequest updateCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates an existing case.
- Parameters:
updateCaseRequest
-- Returns:
- Result of the UpdateCase operation returned by the service.
- See Also:
-
updateCase
default UpdateCaseResponse updateCase(Consumer<UpdateCaseRequest.Builder> updateCaseRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates an existing case.
This is a convenience which creates an instance of the
UpdateCaseRequest.Builder
avoiding the need to create one manually viaUpdateCaseRequest.builder()
- Parameters:
updateCaseRequest
- AConsumer
that will call methods onUpdateCaseRequest.Builder
to create a request.- Returns:
- Result of the UpdateCase operation returned by the service.
- See Also:
-
updateCaseComment
default UpdateCaseCommentResponse updateCaseComment(UpdateCaseCommentRequest updateCaseCommentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates an existing case comment.
- Parameters:
updateCaseCommentRequest
-- Returns:
- Result of the UpdateCaseComment operation returned by the service.
- See Also:
-
updateCaseComment
default UpdateCaseCommentResponse updateCaseComment(Consumer<UpdateCaseCommentRequest.Builder> updateCaseCommentRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates an existing case comment.
This is a convenience which creates an instance of the
UpdateCaseCommentRequest.Builder
avoiding the need to create one manually viaUpdateCaseCommentRequest.builder()
- Parameters:
updateCaseCommentRequest
- AConsumer
that will call methods onUpdateCaseCommentRequest.Builder
to create a request.- Returns:
- Result of the UpdateCaseComment operation returned by the service.
- See Also:
-
updateCaseStatus
default UpdateCaseStatusResponse updateCaseStatus(UpdateCaseStatusRequest updateCaseStatusRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates the state transitions for a designated cases.
Self-managed: the following states are available for self-managed cases.
-
Submitted → Detection and Analysis
-
Detection and Analysis → Containment, Eradication, and Recovery
-
Detection and Analysis → Post-incident Activities
-
Containment, Eradication, and Recovery → Detection and Analysis
-
Containment, Eradication, and Recovery → Post-incident Activities
-
Post-incident Activities → Containment, Eradication, and Recovery
-
Post-incident Activities → Detection and Analysis
-
Any → Closed
AWS supported: You must use the
CloseCase
API to close.- Parameters:
updateCaseStatusRequest
-- Returns:
- Result of the UpdateCaseStatus operation returned by the service.
- See Also:
-
-
updateCaseStatus
default UpdateCaseStatusResponse updateCaseStatus(Consumer<UpdateCaseStatusRequest.Builder> updateCaseStatusRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates the state transitions for a designated cases.
Self-managed: the following states are available for self-managed cases.
-
Submitted → Detection and Analysis
-
Detection and Analysis → Containment, Eradication, and Recovery
-
Detection and Analysis → Post-incident Activities
-
Containment, Eradication, and Recovery → Detection and Analysis
-
Containment, Eradication, and Recovery → Post-incident Activities
-
Post-incident Activities → Containment, Eradication, and Recovery
-
Post-incident Activities → Detection and Analysis
-
Any → Closed
AWS supported: You must use the
CloseCase
API to close.
This is a convenience which creates an instance of the
UpdateCaseStatusRequest.Builder
avoiding the need to create one manually viaUpdateCaseStatusRequest.builder()
- Parameters:
updateCaseStatusRequest
- AConsumer
that will call methods onUpdateCaseStatusRequest.Builder
to create a request.- Returns:
- Result of the UpdateCaseStatus operation returned by the service.
- See Also:
-
-
updateMembership
default UpdateMembershipResponse updateMembership(UpdateMembershipRequest updateMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates membership configuration.
- Parameters:
updateMembershipRequest
-- Returns:
- Result of the UpdateMembership operation returned by the service.
- See Also:
-
updateMembership
default UpdateMembershipResponse updateMembership(Consumer<UpdateMembershipRequest.Builder> updateMembershipRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates membership configuration.
This is a convenience which creates an instance of the
UpdateMembershipRequest.Builder
avoiding the need to create one manually viaUpdateMembershipRequest.builder()
- Parameters:
updateMembershipRequest
- AConsumer
that will call methods onUpdateMembershipRequest.Builder
to create a request.- Returns:
- Result of the UpdateMembership operation returned by the service.
- See Also:
-
updateResolverType
default UpdateResolverTypeResponse updateResolverType(UpdateResolverTypeRequest updateResolverTypeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates the resolver type for a case.
This is a one-way action and cannot be reversed.
- Parameters:
updateResolverTypeRequest
-- Returns:
- Result of the UpdateResolverType operation returned by the service.
- See Also:
-
updateResolverType
default UpdateResolverTypeResponse updateResolverType(Consumer<UpdateResolverTypeRequest.Builder> updateResolverTypeRequest) throws ServiceQuotaExceededException, AccessDeniedException, ValidationException, SecurityIncidentResponseNotActiveException, InternalServerException, ThrottlingException, ConflictException, ResourceNotFoundException, InvalidTokenException, AwsServiceException, SdkClientException, SecurityIrException Updates the resolver type for a case.
This is a one-way action and cannot be reversed.
This is a convenience which creates an instance of the
UpdateResolverTypeRequest.Builder
avoiding the need to create one manually viaUpdateResolverTypeRequest.builder()
- Parameters:
updateResolverTypeRequest
- AConsumer
that will call methods onUpdateResolverTypeRequest.Builder
to create a request.- Returns:
- Result of the UpdateResolverType operation returned by the service.
- See Also:
-
create
Create aSecurityIrClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSecurityIrClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-