Interface SecurityLakeClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Security Lake is a fully managed security data lake service. You can use Security Lake to automatically centralize security data from cloud, on-premises, and custom sources into a data lake that's stored in your Amazon Web Services account. Amazon Web Services Organizations is an account management service that lets you consolidate multiple Amazon Web Services accounts into an organization that you create and centrally manage. With Organizations, you can create member accounts and invite existing accounts to join your organization. Security Lake helps you analyze security data for a more complete understanding of your security posture across the entire organization. It can also help you improve the protection of your workloads, applications, and data.
The data lake is backed by Amazon Simple Storage Service (Amazon S3) buckets, and you retain ownership over your data.
Amazon Security Lake integrates with CloudTrail, a service that provides a record of actions taken by a user, role, or an Amazon Web Services service. In Security Lake, CloudTrail captures API calls for Security Lake as events. The calls captured include calls from the Security Lake console and code calls to the Security Lake API operations. If you create a trail, you can enable continuous delivery of CloudTrail events to an Amazon S3 bucket, including events for Security Lake. If you don't configure a trail, you can still view the most recent events in the CloudTrail console in Event history. Using the information collected by CloudTrail you can determine the request that was made to Security Lake, the IP address from which the request was made, who made the request, when it was made, and additional details. To learn more about Security Lake information in CloudTrail, see the Amazon Security Lake User Guide.
Security Lake automates the collection of security-related log and event data from integrated Amazon Web Services services and third-party services. It also helps you manage the lifecycle of data with customizable retention and replication settings. Security Lake converts ingested data into Apache Parquet format and a standard open-source schema called the Open Cybersecurity Schema Framework (OCSF).
Other Amazon Web Services services and third-party services can subscribe to the data that's stored in Security Lake for incident response and security data analytics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityLakeClientBuilderbuilder()Create a builder that can be used to configure and create aSecurityLakeClient.static SecurityLakeClientcreate()Create aSecurityLakeClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAwsLogSourceResponsecreateAwsLogSource(Consumer<CreateAwsLogSourceRequest.Builder> createAwsLogSourceRequest) Adds a natively supported Amazon Web Services service as an Amazon Security Lake source.default CreateAwsLogSourceResponsecreateAwsLogSource(CreateAwsLogSourceRequest createAwsLogSourceRequest) Adds a natively supported Amazon Web Services service as an Amazon Security Lake source.default CreateCustomLogSourceResponsecreateCustomLogSource(Consumer<CreateCustomLogSourceRequest.Builder> createCustomLogSourceRequest) Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region where you want to create a custom source.default CreateCustomLogSourceResponsecreateCustomLogSource(CreateCustomLogSourceRequest createCustomLogSourceRequest) Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region where you want to create a custom source.default CreateDataLakeResponsecreateDataLake(Consumer<CreateDataLakeRequest.Builder> createDataLakeRequest) Initializes an Amazon Security Lake instance with the provided (or default) configuration.default CreateDataLakeResponsecreateDataLake(CreateDataLakeRequest createDataLakeRequest) Initializes an Amazon Security Lake instance with the provided (or default) configuration.createDataLakeExceptionSubscription(Consumer<CreateDataLakeExceptionSubscriptionRequest.Builder> createDataLakeExceptionSubscriptionRequest) Creates the specified notification subscription in Amazon Security Lake for the organization you specify.createDataLakeExceptionSubscription(CreateDataLakeExceptionSubscriptionRequest createDataLakeExceptionSubscriptionRequest) Creates the specified notification subscription in Amazon Security Lake for the organization you specify.createDataLakeOrganizationConfiguration(Consumer<CreateDataLakeOrganizationConfigurationRequest.Builder> createDataLakeOrganizationConfigurationRequest) Automatically enables Amazon Security Lake for new member accounts in your organization.createDataLakeOrganizationConfiguration(CreateDataLakeOrganizationConfigurationRequest createDataLakeOrganizationConfigurationRequest) Automatically enables Amazon Security Lake for new member accounts in your organization.default CreateSubscriberResponsecreateSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest) Creates a subscriber for accounts that are already enabled in Amazon Security Lake.default CreateSubscriberResponsecreateSubscriber(CreateSubscriberRequest createSubscriberRequest) Creates a subscriber for accounts that are already enabled in Amazon Security Lake.createSubscriberNotification(Consumer<CreateSubscriberNotificationRequest.Builder> createSubscriberNotificationRequest) Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake.createSubscriberNotification(CreateSubscriberNotificationRequest createSubscriberNotificationRequest) Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake.default DeleteAwsLogSourceResponsedeleteAwsLogSource(Consumer<DeleteAwsLogSourceRequest.Builder> deleteAwsLogSourceRequest) Removes a natively supported Amazon Web Services service as an Amazon Security Lake source.default DeleteAwsLogSourceResponsedeleteAwsLogSource(DeleteAwsLogSourceRequest deleteAwsLogSourceRequest) Removes a natively supported Amazon Web Services service as an Amazon Security Lake source.default DeleteCustomLogSourceResponsedeleteCustomLogSource(Consumer<DeleteCustomLogSourceRequest.Builder> deleteCustomLogSourceRequest) Removes a custom log source from Amazon Security Lake, to stop sending data from the custom source to Security Lake.default DeleteCustomLogSourceResponsedeleteCustomLogSource(DeleteCustomLogSourceRequest deleteCustomLogSourceRequest) Removes a custom log source from Amazon Security Lake, to stop sending data from the custom source to Security Lake.default DeleteDataLakeResponsedeleteDataLake(Consumer<DeleteDataLakeRequest.Builder> deleteDataLakeRequest) When you disable Amazon Security Lake from your account, Security Lake is disabled in all Amazon Web Services Regions and it stops collecting data from your sources.default DeleteDataLakeResponsedeleteDataLake(DeleteDataLakeRequest deleteDataLakeRequest) When you disable Amazon Security Lake from your account, Security Lake is disabled in all Amazon Web Services Regions and it stops collecting data from your sources.deleteDataLakeExceptionSubscription(Consumer<DeleteDataLakeExceptionSubscriptionRequest.Builder> deleteDataLakeExceptionSubscriptionRequest) Deletes the specified notification subscription in Amazon Security Lake for the organization you specify.deleteDataLakeExceptionSubscription(DeleteDataLakeExceptionSubscriptionRequest deleteDataLakeExceptionSubscriptionRequest) Deletes the specified notification subscription in Amazon Security Lake for the organization you specify.deleteDataLakeOrganizationConfiguration(Consumer<DeleteDataLakeOrganizationConfigurationRequest.Builder> deleteDataLakeOrganizationConfigurationRequest) Turns off automatic enablement of Amazon Security Lake for member accounts that are added to an organization in Organizations.deleteDataLakeOrganizationConfiguration(DeleteDataLakeOrganizationConfigurationRequest deleteDataLakeOrganizationConfigurationRequest) Turns off automatic enablement of Amazon Security Lake for member accounts that are added to an organization in Organizations.default DeleteSubscriberResponsedeleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest) Deletes the subscription permission and all notification settings for accounts that are already enabled in Amazon Security Lake.default DeleteSubscriberResponsedeleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest) Deletes the subscription permission and all notification settings for accounts that are already enabled in Amazon Security Lake.deleteSubscriberNotification(Consumer<DeleteSubscriberNotificationRequest.Builder> deleteSubscriberNotificationRequest) Deletes the specified subscription notification in Amazon Security Lake for the organization you specify.deleteSubscriberNotification(DeleteSubscriberNotificationRequest deleteSubscriberNotificationRequest) Deletes the specified subscription notification in Amazon Security Lake for the organization you specify.deregisterDataLakeDelegatedAdministrator(Consumer<DeregisterDataLakeDelegatedAdministratorRequest.Builder> deregisterDataLakeDelegatedAdministratorRequest) Deletes the Amazon Security Lake delegated administrator account for the organization.deregisterDataLakeDelegatedAdministrator(DeregisterDataLakeDelegatedAdministratorRequest deregisterDataLakeDelegatedAdministratorRequest) Deletes the Amazon Security Lake delegated administrator account for the organization.getDataLakeExceptionSubscription(Consumer<GetDataLakeExceptionSubscriptionRequest.Builder> getDataLakeExceptionSubscriptionRequest) Retrieves the protocol and endpoint that were provided when subscribing to Amazon SNS topics for exception notifications.getDataLakeExceptionSubscription(GetDataLakeExceptionSubscriptionRequest getDataLakeExceptionSubscriptionRequest) Retrieves the protocol and endpoint that were provided when subscribing to Amazon SNS topics for exception notifications.getDataLakeOrganizationConfiguration(Consumer<GetDataLakeOrganizationConfigurationRequest.Builder> getDataLakeOrganizationConfigurationRequest) Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has onboarded to Amazon Security Lake.getDataLakeOrganizationConfiguration(GetDataLakeOrganizationConfigurationRequest getDataLakeOrganizationConfigurationRequest) Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has onboarded to Amazon Security Lake.default GetDataLakeSourcesResponsegetDataLakeSources(Consumer<GetDataLakeSourcesRequest.Builder> getDataLakeSourcesRequest) Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from.default GetDataLakeSourcesResponsegetDataLakeSources(GetDataLakeSourcesRequest getDataLakeSourcesRequest) Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from.default GetDataLakeSourcesIterablegetDataLakeSourcesPaginator(Consumer<GetDataLakeSourcesRequest.Builder> getDataLakeSourcesRequest) This is a variant ofgetDataLakeSources(software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesRequest)operation.default GetDataLakeSourcesIterablegetDataLakeSourcesPaginator(GetDataLakeSourcesRequest getDataLakeSourcesRequest) This is a variant ofgetDataLakeSources(software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesRequest)operation.default GetSubscriberResponsegetSubscriber(Consumer<GetSubscriberRequest.Builder> getSubscriberRequest) Retrieves the subscription information for the specified subscription ID.default GetSubscriberResponsegetSubscriber(GetSubscriberRequest getSubscriberRequest) Retrieves the subscription information for the specified subscription ID.default ListDataLakeExceptionsResponselistDataLakeExceptions(Consumer<ListDataLakeExceptionsRequest.Builder> listDataLakeExceptionsRequest) Lists the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.default ListDataLakeExceptionsResponselistDataLakeExceptions(ListDataLakeExceptionsRequest listDataLakeExceptionsRequest) Lists the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.default ListDataLakeExceptionsIterablelistDataLakeExceptionsPaginator(Consumer<ListDataLakeExceptionsRequest.Builder> listDataLakeExceptionsRequest) This is a variant oflistDataLakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsRequest)operation.default ListDataLakeExceptionsIterablelistDataLakeExceptionsPaginator(ListDataLakeExceptionsRequest listDataLakeExceptionsRequest) This is a variant oflistDataLakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsRequest)operation.default ListDataLakesResponselistDataLakes(Consumer<ListDataLakesRequest.Builder> listDataLakesRequest) Retrieves the Amazon Security Lake configuration object for the specified Amazon Web Services Regions.default ListDataLakesResponselistDataLakes(ListDataLakesRequest listDataLakesRequest) Retrieves the Amazon Security Lake configuration object for the specified Amazon Web Services Regions.default ListLogSourcesResponselistLogSources(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest) Retrieves the log sources.default ListLogSourcesResponselistLogSources(ListLogSourcesRequest listLogSourcesRequest) Retrieves the log sources.default ListLogSourcesIterablelistLogSourcesPaginator(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest) This is a variant oflistLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest)operation.default ListLogSourcesIterablelistLogSourcesPaginator(ListLogSourcesRequest listLogSourcesRequest) This is a variant oflistLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest)operation.default ListSubscribersResponselistSubscribers(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest) Lists all subscribers for the specific Amazon Security Lake account ID.default ListSubscribersResponselistSubscribers(ListSubscribersRequest listSubscribersRequest) Lists all subscribers for the specific Amazon Security Lake account ID.default ListSubscribersIterablelistSubscribersPaginator(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest) This is a variant oflistSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest)operation.default ListSubscribersIterablelistSubscribersPaginator(ListSubscribersRequest listSubscribersRequest) This is a variant oflistSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.registerDataLakeDelegatedAdministrator(Consumer<RegisterDataLakeDelegatedAdministratorRequest.Builder> registerDataLakeDelegatedAdministratorRequest) Designates the Amazon Security Lake delegated administrator account for the organization.registerDataLakeDelegatedAdministrator(RegisterDataLakeDelegatedAdministratorRequest registerDataLakeDelegatedAdministratorRequest) Designates the Amazon Security Lake delegated administrator account for the organization.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.default UpdateDataLakeResponseupdateDataLake(Consumer<UpdateDataLakeRequest.Builder> updateDataLakeRequest) You can useUpdateDataLaketo specify where to store your security data, how it should be encrypted at rest and for how long.default UpdateDataLakeResponseupdateDataLake(UpdateDataLakeRequest updateDataLakeRequest) You can useUpdateDataLaketo specify where to store your security data, how it should be encrypted at rest and for how long.updateDataLakeExceptionSubscription(Consumer<UpdateDataLakeExceptionSubscriptionRequest.Builder> updateDataLakeExceptionSubscriptionRequest) Updates the specified notification subscription in Amazon Security Lake for the organization you specify.updateDataLakeExceptionSubscription(UpdateDataLakeExceptionSubscriptionRequest updateDataLakeExceptionSubscriptionRequest) Updates the specified notification subscription in Amazon Security Lake for the organization you specify.default UpdateSubscriberResponseupdateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest) Updates an existing subscription for the given Amazon Security Lake account ID.default UpdateSubscriberResponseupdateSubscriber(UpdateSubscriberRequest updateSubscriberRequest) Updates an existing subscription for the given Amazon Security Lake account ID.updateSubscriberNotification(Consumer<UpdateSubscriberNotificationRequest.Builder> updateSubscriberNotificationRequest) Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or switches the notification subscription endpoint for a subscriber.updateSubscriberNotification(UpdateSubscriberNotificationRequest updateSubscriberNotificationRequest) Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or switches the notification subscription endpoint for a subscriber.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createAwsLogSource
default CreateAwsLogSourceResponse createAwsLogSource(CreateAwsLogSourceRequest createAwsLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Adds a natively supported Amazon Web Services service as an Amazon Security Lake source. Enables source types for member accounts in required Amazon Web Services Regions, based on the parameters you specify. You can choose any source type in any Region for either accounts that are part of a trusted organization or standalone accounts. Once you add an Amazon Web Services service as a source, Security Lake starts collecting logs and events from it.
You can use this API only to enable natively supported Amazon Web Services services as a source. Use
CreateCustomLogSourceto enable data collection from a custom source.- Parameters:
createAwsLogSourceRequest-- Returns:
- Result of the CreateAwsLogSource operation returned by the service.
- See Also:
-
createAwsLogSource
default CreateAwsLogSourceResponse createAwsLogSource(Consumer<CreateAwsLogSourceRequest.Builder> createAwsLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Adds a natively supported Amazon Web Services service as an Amazon Security Lake source. Enables source types for member accounts in required Amazon Web Services Regions, based on the parameters you specify. You can choose any source type in any Region for either accounts that are part of a trusted organization or standalone accounts. Once you add an Amazon Web Services service as a source, Security Lake starts collecting logs and events from it.
You can use this API only to enable natively supported Amazon Web Services services as a source. Use
CreateCustomLogSourceto enable data collection from a custom source.
This is a convenience which creates an instance of the
CreateAwsLogSourceRequest.Builderavoiding the need to create one manually viaCreateAwsLogSourceRequest.builder()- Parameters:
createAwsLogSourceRequest- AConsumerthat will call methods onCreateAwsLogSourceRequest.Builderto create a request.- Returns:
- Result of the CreateAwsLogSource operation returned by the service.
- See Also:
-
createCustomLogSource
default CreateCustomLogSourceResponse createCustomLogSource(CreateCustomLogSourceRequest createCustomLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region where you want to create a custom source. Security Lake can collect logs and events from third-party custom sources. After creating the appropriate IAM role to invoke Glue crawler, use this API to add a custom source name in Security Lake. This operation creates a partition in the Amazon S3 bucket for Security Lake as the target location for log files from the custom source. In addition, this operation also creates an associated Glue table and an Glue crawler.
- Parameters:
createCustomLogSourceRequest-- Returns:
- Result of the CreateCustomLogSource operation returned by the service.
- See Also:
-
createCustomLogSource
default CreateCustomLogSourceResponse createCustomLogSource(Consumer<CreateCustomLogSourceRequest.Builder> createCustomLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region where you want to create a custom source. Security Lake can collect logs and events from third-party custom sources. After creating the appropriate IAM role to invoke Glue crawler, use this API to add a custom source name in Security Lake. This operation creates a partition in the Amazon S3 bucket for Security Lake as the target location for log files from the custom source. In addition, this operation also creates an associated Glue table and an Glue crawler.
This is a convenience which creates an instance of the
CreateCustomLogSourceRequest.Builderavoiding the need to create one manually viaCreateCustomLogSourceRequest.builder()- Parameters:
createCustomLogSourceRequest- AConsumerthat will call methods onCreateCustomLogSourceRequest.Builderto create a request.- Returns:
- Result of the CreateCustomLogSource operation returned by the service.
- See Also:
-
createDataLake
default CreateDataLakeResponse createDataLake(CreateDataLakeRequest createDataLakeRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Initializes an Amazon Security Lake instance with the provided (or default) configuration. You can enable Security Lake in Amazon Web Services Regions with customized settings before enabling log collection in Regions. To specify particular Regions, configure these Regions using the
configurationsparameter. If you have already enabled Security Lake in a Region when you call this command, the command will update the Region if you provide new configuration parameters. If you have not already enabled Security Lake in the Region when you call this API, it will set up the data lake in the Region with the specified configurations.When you enable Security Lake, it starts ingesting security data after the
CreateAwsLogSourcecall and after you create subscribers using theCreateSubscriberAPI. This includes ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also enables all the existing settings and resources that it stores or maintains for your Amazon Web Services account in the current Region, including security log and event data. For more information, see the Amazon Security Lake User Guide.- Parameters:
createDataLakeRequest-- Returns:
- Result of the CreateDataLake operation returned by the service.
- See Also:
-
createDataLake
default CreateDataLakeResponse createDataLake(Consumer<CreateDataLakeRequest.Builder> createDataLakeRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Initializes an Amazon Security Lake instance with the provided (or default) configuration. You can enable Security Lake in Amazon Web Services Regions with customized settings before enabling log collection in Regions. To specify particular Regions, configure these Regions using the
configurationsparameter. If you have already enabled Security Lake in a Region when you call this command, the command will update the Region if you provide new configuration parameters. If you have not already enabled Security Lake in the Region when you call this API, it will set up the data lake in the Region with the specified configurations.When you enable Security Lake, it starts ingesting security data after the
CreateAwsLogSourcecall and after you create subscribers using theCreateSubscriberAPI. This includes ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also enables all the existing settings and resources that it stores or maintains for your Amazon Web Services account in the current Region, including security log and event data. For more information, see the Amazon Security Lake User Guide.
This is a convenience which creates an instance of the
CreateDataLakeRequest.Builderavoiding the need to create one manually viaCreateDataLakeRequest.builder()- Parameters:
createDataLakeRequest- AConsumerthat will call methods onCreateDataLakeRequest.Builderto create a request.- Returns:
- Result of the CreateDataLake operation returned by the service.
- See Also:
-
createDataLakeExceptionSubscription
default CreateDataLakeExceptionSubscriptionResponse createDataLakeExceptionSubscription(CreateDataLakeExceptionSubscriptionRequest createDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Creates the specified notification subscription in Amazon Security Lake for the organization you specify. The notification subscription is created for exceptions that cannot be resolved by Security Lake automatically.
- Parameters:
createDataLakeExceptionSubscriptionRequest-- Returns:
- Result of the CreateDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
createDataLakeExceptionSubscription
default CreateDataLakeExceptionSubscriptionResponse createDataLakeExceptionSubscription(Consumer<CreateDataLakeExceptionSubscriptionRequest.Builder> createDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Creates the specified notification subscription in Amazon Security Lake for the organization you specify. The notification subscription is created for exceptions that cannot be resolved by Security Lake automatically.
This is a convenience which creates an instance of the
CreateDataLakeExceptionSubscriptionRequest.Builderavoiding the need to create one manually viaCreateDataLakeExceptionSubscriptionRequest.builder()- Parameters:
createDataLakeExceptionSubscriptionRequest- AConsumerthat will call methods onCreateDataLakeExceptionSubscriptionRequest.Builderto create a request.- Returns:
- Result of the CreateDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
createDataLakeOrganizationConfiguration
default CreateDataLakeOrganizationConfigurationResponse createDataLakeOrganizationConfiguration(CreateDataLakeOrganizationConfigurationRequest createDataLakeOrganizationConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Automatically enables Amazon Security Lake for new member accounts in your organization. Security Lake is not automatically enabled for any existing member accounts in your organization.
- Parameters:
createDataLakeOrganizationConfigurationRequest-- Returns:
- Result of the CreateDataLakeOrganizationConfiguration operation returned by the service.
- See Also:
-
createDataLakeOrganizationConfiguration
default CreateDataLakeOrganizationConfigurationResponse createDataLakeOrganizationConfiguration(Consumer<CreateDataLakeOrganizationConfigurationRequest.Builder> createDataLakeOrganizationConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Automatically enables Amazon Security Lake for new member accounts in your organization. Security Lake is not automatically enabled for any existing member accounts in your organization.
This is a convenience which creates an instance of the
CreateDataLakeOrganizationConfigurationRequest.Builderavoiding the need to create one manually viaCreateDataLakeOrganizationConfigurationRequest.builder()- Parameters:
createDataLakeOrganizationConfigurationRequest- AConsumerthat will call methods onCreateDataLakeOrganizationConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateDataLakeOrganizationConfiguration operation returned by the service.
- See Also:
-
createSubscriber
default CreateSubscriberResponse createSubscriber(CreateSubscriberRequest createSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Creates a subscriber for accounts that are already enabled in Amazon Security Lake. You can create a subscriber with access to data in the current Amazon Web Services Region.
- Parameters:
createSubscriberRequest-- Returns:
- Result of the CreateSubscriber operation returned by the service.
- See Also:
-
createSubscriber
default CreateSubscriberResponse createSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Creates a subscriber for accounts that are already enabled in Amazon Security Lake. You can create a subscriber with access to data in the current Amazon Web Services Region.
This is a convenience which creates an instance of the
CreateSubscriberRequest.Builderavoiding the need to create one manually viaCreateSubscriberRequest.builder()- Parameters:
createSubscriberRequest- AConsumerthat will call methods onCreateSubscriberRequest.Builderto create a request.- Returns:
- Result of the CreateSubscriber operation returned by the service.
- See Also:
-
createSubscriberNotification
default CreateSubscriberNotificationResponse createSubscriberNotification(CreateSubscriberNotificationRequest createSubscriberNotificationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake. You can create only one subscriber notification per subscriber.
- Parameters:
createSubscriberNotificationRequest-- Returns:
- Result of the CreateSubscriberNotification operation returned by the service.
- See Also:
-
createSubscriberNotification
default CreateSubscriberNotificationResponse createSubscriberNotification(Consumer<CreateSubscriberNotificationRequest.Builder> createSubscriberNotificationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake. You can create only one subscriber notification per subscriber.
This is a convenience which creates an instance of the
CreateSubscriberNotificationRequest.Builderavoiding the need to create one manually viaCreateSubscriberNotificationRequest.builder()- Parameters:
createSubscriberNotificationRequest- AConsumerthat will call methods onCreateSubscriberNotificationRequest.Builderto create a request.- Returns:
- Result of the CreateSubscriberNotification operation returned by the service.
- See Also:
-
deleteAwsLogSource
default DeleteAwsLogSourceResponse deleteAwsLogSource(DeleteAwsLogSourceRequest deleteAwsLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Removes a natively supported Amazon Web Services service as an Amazon Security Lake source. You can remove a source for one or more Regions. When you remove the source, Security Lake stops collecting data from that source in the specified Regions and accounts, and subscribers can no longer consume new data from the source. However, subscribers can still consume data that Security Lake collected from the source before removal.
You can choose any source type in any Amazon Web Services Region for either accounts that are part of a trusted organization or standalone accounts.
- Parameters:
deleteAwsLogSourceRequest-- Returns:
- Result of the DeleteAwsLogSource operation returned by the service.
- See Also:
-
deleteAwsLogSource
default DeleteAwsLogSourceResponse deleteAwsLogSource(Consumer<DeleteAwsLogSourceRequest.Builder> deleteAwsLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Removes a natively supported Amazon Web Services service as an Amazon Security Lake source. You can remove a source for one or more Regions. When you remove the source, Security Lake stops collecting data from that source in the specified Regions and accounts, and subscribers can no longer consume new data from the source. However, subscribers can still consume data that Security Lake collected from the source before removal.
You can choose any source type in any Amazon Web Services Region for either accounts that are part of a trusted organization or standalone accounts.
This is a convenience which creates an instance of the
DeleteAwsLogSourceRequest.Builderavoiding the need to create one manually viaDeleteAwsLogSourceRequest.builder()- Parameters:
deleteAwsLogSourceRequest- AConsumerthat will call methods onDeleteAwsLogSourceRequest.Builderto create a request.- Returns:
- Result of the DeleteAwsLogSource operation returned by the service.
- See Also:
-
deleteCustomLogSource
default DeleteCustomLogSourceResponse deleteCustomLogSource(DeleteCustomLogSourceRequest deleteCustomLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Removes a custom log source from Amazon Security Lake, to stop sending data from the custom source to Security Lake.
- Parameters:
deleteCustomLogSourceRequest-- Returns:
- Result of the DeleteCustomLogSource operation returned by the service.
- See Also:
-
deleteCustomLogSource
default DeleteCustomLogSourceResponse deleteCustomLogSource(Consumer<DeleteCustomLogSourceRequest.Builder> deleteCustomLogSourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Removes a custom log source from Amazon Security Lake, to stop sending data from the custom source to Security Lake.
This is a convenience which creates an instance of the
DeleteCustomLogSourceRequest.Builderavoiding the need to create one manually viaDeleteCustomLogSourceRequest.builder()- Parameters:
deleteCustomLogSourceRequest- AConsumerthat will call methods onDeleteCustomLogSourceRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomLogSource operation returned by the service.
- See Also:
-
deleteDataLake
default DeleteDataLakeResponse deleteDataLake(DeleteDataLakeRequest deleteDataLakeRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException When you disable Amazon Security Lake from your account, Security Lake is disabled in all Amazon Web Services Regions and it stops collecting data from your sources. Also, this API automatically takes steps to remove the account from Security Lake. However, Security Lake retains all of your existing settings and the resources that it created in your Amazon Web Services account in the current Amazon Web Services Region.
The
DeleteDataLakeoperation does not delete the data that is stored in your Amazon S3 bucket, which is owned by your Amazon Web Services account. For more information, see the Amazon Security Lake User Guide.- Parameters:
deleteDataLakeRequest-- Returns:
- Result of the DeleteDataLake operation returned by the service.
- See Also:
-
deleteDataLake
default DeleteDataLakeResponse deleteDataLake(Consumer<DeleteDataLakeRequest.Builder> deleteDataLakeRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException When you disable Amazon Security Lake from your account, Security Lake is disabled in all Amazon Web Services Regions and it stops collecting data from your sources. Also, this API automatically takes steps to remove the account from Security Lake. However, Security Lake retains all of your existing settings and the resources that it created in your Amazon Web Services account in the current Amazon Web Services Region.
The
DeleteDataLakeoperation does not delete the data that is stored in your Amazon S3 bucket, which is owned by your Amazon Web Services account. For more information, see the Amazon Security Lake User Guide.
This is a convenience which creates an instance of the
DeleteDataLakeRequest.Builderavoiding the need to create one manually viaDeleteDataLakeRequest.builder()- Parameters:
deleteDataLakeRequest- AConsumerthat will call methods onDeleteDataLakeRequest.Builderto create a request.- Returns:
- Result of the DeleteDataLake operation returned by the service.
- See Also:
-
deleteDataLakeExceptionSubscription
default DeleteDataLakeExceptionSubscriptionResponse deleteDataLakeExceptionSubscription(DeleteDataLakeExceptionSubscriptionRequest deleteDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the specified notification subscription in Amazon Security Lake for the organization you specify.
- Parameters:
deleteDataLakeExceptionSubscriptionRequest-- Returns:
- Result of the DeleteDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
deleteDataLakeExceptionSubscription
default DeleteDataLakeExceptionSubscriptionResponse deleteDataLakeExceptionSubscription(Consumer<DeleteDataLakeExceptionSubscriptionRequest.Builder> deleteDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the specified notification subscription in Amazon Security Lake for the organization you specify.
This is a convenience which creates an instance of the
DeleteDataLakeExceptionSubscriptionRequest.Builderavoiding the need to create one manually viaDeleteDataLakeExceptionSubscriptionRequest.builder()- Parameters:
deleteDataLakeExceptionSubscriptionRequest- AConsumerthat will call methods onDeleteDataLakeExceptionSubscriptionRequest.Builderto create a request.- Returns:
- Result of the DeleteDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
deleteDataLakeOrganizationConfiguration
default DeleteDataLakeOrganizationConfigurationResponse deleteDataLakeOrganizationConfiguration(DeleteDataLakeOrganizationConfigurationRequest deleteDataLakeOrganizationConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Turns off automatic enablement of Amazon Security Lake for member accounts that are added to an organization in Organizations. Only the delegated Security Lake administrator for an organization can perform this operation. If the delegated Security Lake administrator performs this operation, new member accounts won't automatically contribute data to the data lake.
- Parameters:
deleteDataLakeOrganizationConfigurationRequest-- Returns:
- Result of the DeleteDataLakeOrganizationConfiguration operation returned by the service.
- See Also:
-
deleteDataLakeOrganizationConfiguration
default DeleteDataLakeOrganizationConfigurationResponse deleteDataLakeOrganizationConfiguration(Consumer<DeleteDataLakeOrganizationConfigurationRequest.Builder> deleteDataLakeOrganizationConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Turns off automatic enablement of Amazon Security Lake for member accounts that are added to an organization in Organizations. Only the delegated Security Lake administrator for an organization can perform this operation. If the delegated Security Lake administrator performs this operation, new member accounts won't automatically contribute data to the data lake.
This is a convenience which creates an instance of the
DeleteDataLakeOrganizationConfigurationRequest.Builderavoiding the need to create one manually viaDeleteDataLakeOrganizationConfigurationRequest.builder()- Parameters:
deleteDataLakeOrganizationConfigurationRequest- AConsumerthat will call methods onDeleteDataLakeOrganizationConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteDataLakeOrganizationConfiguration operation returned by the service.
- See Also:
-
deleteSubscriber
default DeleteSubscriberResponse deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the subscription permission and all notification settings for accounts that are already enabled in Amazon Security Lake. When you run
DeleteSubscriber, the subscriber will no longer consume data from Security Lake and the subscriber is removed. This operation deletes the subscriber and removes access to data in the current Amazon Web Services Region.- Parameters:
deleteSubscriberRequest-- Returns:
- Result of the DeleteSubscriber operation returned by the service.
- See Also:
-
deleteSubscriber
default DeleteSubscriberResponse deleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the subscription permission and all notification settings for accounts that are already enabled in Amazon Security Lake. When you run
DeleteSubscriber, the subscriber will no longer consume data from Security Lake and the subscriber is removed. This operation deletes the subscriber and removes access to data in the current Amazon Web Services Region.
This is a convenience which creates an instance of the
DeleteSubscriberRequest.Builderavoiding the need to create one manually viaDeleteSubscriberRequest.builder()- Parameters:
deleteSubscriberRequest- AConsumerthat will call methods onDeleteSubscriberRequest.Builderto create a request.- Returns:
- Result of the DeleteSubscriber operation returned by the service.
- See Also:
-
deleteSubscriberNotification
default DeleteSubscriberNotificationResponse deleteSubscriberNotification(DeleteSubscriberNotificationRequest deleteSubscriberNotificationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the specified subscription notification in Amazon Security Lake for the organization you specify.
- Parameters:
deleteSubscriberNotificationRequest-- Returns:
- Result of the DeleteSubscriberNotification operation returned by the service.
- See Also:
-
deleteSubscriberNotification
default DeleteSubscriberNotificationResponse deleteSubscriberNotification(Consumer<DeleteSubscriberNotificationRequest.Builder> deleteSubscriberNotificationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the specified subscription notification in Amazon Security Lake for the organization you specify.
This is a convenience which creates an instance of the
DeleteSubscriberNotificationRequest.Builderavoiding the need to create one manually viaDeleteSubscriberNotificationRequest.builder()- Parameters:
deleteSubscriberNotificationRequest- AConsumerthat will call methods onDeleteSubscriberNotificationRequest.Builderto create a request.- Returns:
- Result of the DeleteSubscriberNotification operation returned by the service.
- See Also:
-
deregisterDataLakeDelegatedAdministrator
default DeregisterDataLakeDelegatedAdministratorResponse deregisterDataLakeDelegatedAdministrator(DeregisterDataLakeDelegatedAdministratorRequest deregisterDataLakeDelegatedAdministratorRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the Amazon Security Lake delegated administrator account for the organization. This API can only be called by the organization management account. The organization management account cannot be the delegated administrator account.
- Parameters:
deregisterDataLakeDelegatedAdministratorRequest-- Returns:
- Result of the DeregisterDataLakeDelegatedAdministrator operation returned by the service.
- See Also:
-
deregisterDataLakeDelegatedAdministrator
default DeregisterDataLakeDelegatedAdministratorResponse deregisterDataLakeDelegatedAdministrator(Consumer<DeregisterDataLakeDelegatedAdministratorRequest.Builder> deregisterDataLakeDelegatedAdministratorRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Deletes the Amazon Security Lake delegated administrator account for the organization. This API can only be called by the organization management account. The organization management account cannot be the delegated administrator account.
This is a convenience which creates an instance of the
DeregisterDataLakeDelegatedAdministratorRequest.Builderavoiding the need to create one manually viaDeregisterDataLakeDelegatedAdministratorRequest.builder()- Parameters:
deregisterDataLakeDelegatedAdministratorRequest- AConsumerthat will call methods onDeregisterDataLakeDelegatedAdministratorRequest.Builderto create a request.- Returns:
- Result of the DeregisterDataLakeDelegatedAdministrator operation returned by the service.
- See Also:
-
getDataLakeExceptionSubscription
default GetDataLakeExceptionSubscriptionResponse getDataLakeExceptionSubscription(GetDataLakeExceptionSubscriptionRequest getDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the protocol and endpoint that were provided when subscribing to Amazon SNS topics for exception notifications.
- Parameters:
getDataLakeExceptionSubscriptionRequest-- Returns:
- Result of the GetDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
getDataLakeExceptionSubscription
default GetDataLakeExceptionSubscriptionResponse getDataLakeExceptionSubscription(Consumer<GetDataLakeExceptionSubscriptionRequest.Builder> getDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the protocol and endpoint that were provided when subscribing to Amazon SNS topics for exception notifications.
This is a convenience which creates an instance of the
GetDataLakeExceptionSubscriptionRequest.Builderavoiding the need to create one manually viaGetDataLakeExceptionSubscriptionRequest.builder()- Parameters:
getDataLakeExceptionSubscriptionRequest- AConsumerthat will call methods onGetDataLakeExceptionSubscriptionRequest.Builderto create a request.- Returns:
- Result of the GetDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
getDataLakeOrganizationConfiguration
default GetDataLakeOrganizationConfigurationResponse getDataLakeOrganizationConfiguration(GetDataLakeOrganizationConfigurationRequest getDataLakeOrganizationConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has onboarded to Amazon Security Lake. This API does not take input parameters.
- Parameters:
getDataLakeOrganizationConfigurationRequest-- Returns:
- Result of the GetDataLakeOrganizationConfiguration operation returned by the service.
- See Also:
-
getDataLakeOrganizationConfiguration
default GetDataLakeOrganizationConfigurationResponse getDataLakeOrganizationConfiguration(Consumer<GetDataLakeOrganizationConfigurationRequest.Builder> getDataLakeOrganizationConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has onboarded to Amazon Security Lake. This API does not take input parameters.
This is a convenience which creates an instance of the
GetDataLakeOrganizationConfigurationRequest.Builderavoiding the need to create one manually viaGetDataLakeOrganizationConfigurationRequest.builder()- Parameters:
getDataLakeOrganizationConfigurationRequest- AConsumerthat will call methods onGetDataLakeOrganizationConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetDataLakeOrganizationConfiguration operation returned by the service.
- See Also:
-
getDataLakeSources
default GetDataLakeSourcesResponse getDataLakeSources(GetDataLakeSourcesRequest getDataLakeSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from.
- Parameters:
getDataLakeSourcesRequest-- Returns:
- Result of the GetDataLakeSources operation returned by the service.
- See Also:
-
getDataLakeSources
default GetDataLakeSourcesResponse getDataLakeSources(Consumer<GetDataLakeSourcesRequest.Builder> getDataLakeSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from.
This is a convenience which creates an instance of the
GetDataLakeSourcesRequest.Builderavoiding the need to create one manually viaGetDataLakeSourcesRequest.builder()- Parameters:
getDataLakeSourcesRequest- AConsumerthat will call methods onGetDataLakeSourcesRequest.Builderto create a request.- Returns:
- Result of the GetDataLakeSources operation returned by the service.
- See Also:
-
getDataLakeSourcesPaginator
default GetDataLakeSourcesIterable getDataLakeSourcesPaginator(GetDataLakeSourcesRequest getDataLakeSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
getDataLakeSources(software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.GetDataLakeSourcesIterable responses = client.getDataLakeSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.GetDataLakeSourcesIterable responses = client .getDataLakeSourcesPaginator(request); for (software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.GetDataLakeSourcesIterable responses = client.getDataLakeSourcesPaginator(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
getDataLakeSources(software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesRequest)operation.- Parameters:
getDataLakeSourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getDataLakeSourcesPaginator
default GetDataLakeSourcesIterable getDataLakeSourcesPaginator(Consumer<GetDataLakeSourcesRequest.Builder> getDataLakeSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
getDataLakeSources(software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.GetDataLakeSourcesIterable responses = client.getDataLakeSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.GetDataLakeSourcesIterable responses = client .getDataLakeSourcesPaginator(request); for (software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.GetDataLakeSourcesIterable responses = client.getDataLakeSourcesPaginator(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
getDataLakeSources(software.amazon.awssdk.services.securitylake.model.GetDataLakeSourcesRequest)operation.
This is a convenience which creates an instance of the
GetDataLakeSourcesRequest.Builderavoiding the need to create one manually viaGetDataLakeSourcesRequest.builder()- Parameters:
getDataLakeSourcesRequest- AConsumerthat will call methods onGetDataLakeSourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getSubscriber
default GetSubscriberResponse getSubscriber(GetSubscriberRequest getSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the subscription information for the specified subscription ID. You can get information about a specific subscriber.
- Parameters:
getSubscriberRequest-- Returns:
- Result of the GetSubscriber operation returned by the service.
- See Also:
-
getSubscriber
default GetSubscriberResponse getSubscriber(Consumer<GetSubscriberRequest.Builder> getSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the subscription information for the specified subscription ID. You can get information about a specific subscriber.
This is a convenience which creates an instance of the
GetSubscriberRequest.Builderavoiding the need to create one manually viaGetSubscriberRequest.builder()- Parameters:
getSubscriberRequest- AConsumerthat will call methods onGetSubscriberRequest.Builderto create a request.- Returns:
- Result of the GetSubscriber operation returned by the service.
- See Also:
-
listDataLakeExceptions
default ListDataLakeExceptionsResponse listDataLakeExceptions(ListDataLakeExceptionsRequest listDataLakeExceptionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Lists the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
- Parameters:
listDataLakeExceptionsRequest-- Returns:
- Result of the ListDataLakeExceptions operation returned by the service.
- See Also:
-
listDataLakeExceptions
default ListDataLakeExceptionsResponse listDataLakeExceptions(Consumer<ListDataLakeExceptionsRequest.Builder> listDataLakeExceptionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Lists the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
This is a convenience which creates an instance of the
ListDataLakeExceptionsRequest.Builderavoiding the need to create one manually viaListDataLakeExceptionsRequest.builder()- Parameters:
listDataLakeExceptionsRequest- AConsumerthat will call methods onListDataLakeExceptionsRequest.Builderto create a request.- Returns:
- Result of the ListDataLakeExceptions operation returned by the service.
- See Also:
-
listDataLakeExceptionsPaginator
default ListDataLakeExceptionsIterable listDataLakeExceptionsPaginator(ListDataLakeExceptionsRequest listDataLakeExceptionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
listDataLakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.ListDataLakeExceptionsIterable responses = client.listDataLakeExceptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.ListDataLakeExceptionsIterable responses = client .listDataLakeExceptionsPaginator(request); for (software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.ListDataLakeExceptionsIterable responses = client.listDataLakeExceptionsPaginator(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
listDataLakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsRequest)operation.- Parameters:
listDataLakeExceptionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDataLakeExceptionsPaginator
default ListDataLakeExceptionsIterable listDataLakeExceptionsPaginator(Consumer<ListDataLakeExceptionsRequest.Builder> listDataLakeExceptionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
listDataLakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.ListDataLakeExceptionsIterable responses = client.listDataLakeExceptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.ListDataLakeExceptionsIterable responses = client .listDataLakeExceptionsPaginator(request); for (software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.ListDataLakeExceptionsIterable responses = client.listDataLakeExceptionsPaginator(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
listDataLakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDataLakeExceptionsRequest)operation.
This is a convenience which creates an instance of the
ListDataLakeExceptionsRequest.Builderavoiding the need to create one manually viaListDataLakeExceptionsRequest.builder()- Parameters:
listDataLakeExceptionsRequest- AConsumerthat will call methods onListDataLakeExceptionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDataLakes
default ListDataLakesResponse listDataLakes(ListDataLakesRequest listDataLakesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the Amazon Security Lake configuration object for the specified Amazon Web Services Regions. You can use this operation to determine whether Security Lake is enabled for a Region.
- Parameters:
listDataLakesRequest-- Returns:
- Result of the ListDataLakes operation returned by the service.
- See Also:
-
listDataLakes
default ListDataLakesResponse listDataLakes(Consumer<ListDataLakesRequest.Builder> listDataLakesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the Amazon Security Lake configuration object for the specified Amazon Web Services Regions. You can use this operation to determine whether Security Lake is enabled for a Region.
This is a convenience which creates an instance of the
ListDataLakesRequest.Builderavoiding the need to create one manually viaListDataLakesRequest.builder()- Parameters:
listDataLakesRequest- AConsumerthat will call methods onListDataLakesRequest.Builderto create a request.- Returns:
- Result of the ListDataLakes operation returned by the service.
- See Also:
-
listLogSources
default ListLogSourcesResponse listLogSources(ListLogSourcesRequest listLogSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the log sources.
- Parameters:
listLogSourcesRequest-- Returns:
- Result of the ListLogSources operation returned by the service.
- See Also:
-
listLogSources
default ListLogSourcesResponse listLogSources(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the log sources.
This is a convenience which creates an instance of the
ListLogSourcesRequest.Builderavoiding the need to create one manually viaListLogSourcesRequest.builder()- Parameters:
listLogSourcesRequest- AConsumerthat will call methods onListLogSourcesRequest.Builderto create a request.- Returns:
- Result of the ListLogSources operation returned by the service.
- See Also:
-
listLogSourcesPaginator
default ListLogSourcesIterable listLogSourcesPaginator(ListLogSourcesRequest listLogSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
listLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.ListLogSourcesIterable responses = client.listLogSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.ListLogSourcesIterable responses = client .listLogSourcesPaginator(request); for (software.amazon.awssdk.services.securitylake.model.ListLogSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.ListLogSourcesIterable responses = client.listLogSourcesPaginator(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
listLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest)operation.- Parameters:
listLogSourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listLogSourcesPaginator
default ListLogSourcesIterable listLogSourcesPaginator(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
listLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.ListLogSourcesIterable responses = client.listLogSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.ListLogSourcesIterable responses = client .listLogSourcesPaginator(request); for (software.amazon.awssdk.services.securitylake.model.ListLogSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.ListLogSourcesIterable responses = client.listLogSourcesPaginator(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
listLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest)operation.
This is a convenience which creates an instance of the
ListLogSourcesRequest.Builderavoiding the need to create one manually viaListLogSourcesRequest.builder()- Parameters:
listLogSourcesRequest- AConsumerthat will call methods onListLogSourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSubscribers
default ListSubscribersResponse listSubscribers(ListSubscribersRequest listSubscribersRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Lists all subscribers for the specific Amazon Security Lake account ID. You can retrieve a list of subscriptions associated with a specific organization or Amazon Web Services account.
- Parameters:
listSubscribersRequest-- Returns:
- Result of the ListSubscribers operation returned by the service.
- See Also:
-
listSubscribers
default ListSubscribersResponse listSubscribers(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Lists all subscribers for the specific Amazon Security Lake account ID. You can retrieve a list of subscriptions associated with a specific organization or Amazon Web Services account.
This is a convenience which creates an instance of the
ListSubscribersRequest.Builderavoiding the need to create one manually viaListSubscribersRequest.builder()- Parameters:
listSubscribersRequest- AConsumerthat will call methods onListSubscribersRequest.Builderto create a request.- Returns:
- Result of the ListSubscribers operation returned by the service.
- See Also:
-
listSubscribersPaginator
default ListSubscribersIterable listSubscribersPaginator(ListSubscribersRequest listSubscribersRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
listSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.ListSubscribersIterable responses = client.listSubscribersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.ListSubscribersIterable responses = client .listSubscribersPaginator(request); for (software.amazon.awssdk.services.securitylake.model.ListSubscribersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.ListSubscribersIterable responses = client.listSubscribersPaginator(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
listSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest)operation.- Parameters:
listSubscribersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSubscribersPaginator
default ListSubscribersIterable listSubscribersPaginator(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException This is a variant of
listSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.securitylake.paginators.ListSubscribersIterable responses = client.listSubscribersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.securitylake.paginators.ListSubscribersIterable responses = client .listSubscribersPaginator(request); for (software.amazon.awssdk.services.securitylake.model.ListSubscribersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.securitylake.paginators.ListSubscribersIterable responses = client.listSubscribersPaginator(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
listSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest)operation.
This is a convenience which creates an instance of the
ListSubscribersRequest.Builderavoiding the need to create one manually viaListSubscribersRequest.builder()- Parameters:
listSubscribersRequest- AConsumerthat will call methods onListSubscribersRequest.Builderto 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 BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the tags (keys and values) that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Retrieves the tags (keys and values) that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.
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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
registerDataLakeDelegatedAdministrator
default RegisterDataLakeDelegatedAdministratorResponse registerDataLakeDelegatedAdministrator(RegisterDataLakeDelegatedAdministratorRequest registerDataLakeDelegatedAdministratorRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Designates the Amazon Security Lake delegated administrator account for the organization. This API can only be called by the organization management account. The organization management account cannot be the delegated administrator account.
- Parameters:
registerDataLakeDelegatedAdministratorRequest-- Returns:
- Result of the RegisterDataLakeDelegatedAdministrator operation returned by the service.
- See Also:
-
registerDataLakeDelegatedAdministrator
default RegisterDataLakeDelegatedAdministratorResponse registerDataLakeDelegatedAdministrator(Consumer<RegisterDataLakeDelegatedAdministratorRequest.Builder> registerDataLakeDelegatedAdministratorRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Designates the Amazon Security Lake delegated administrator account for the organization. This API can only be called by the organization management account. The organization management account cannot be the delegated administrator account.
This is a convenience which creates an instance of the
RegisterDataLakeDelegatedAdministratorRequest.Builderavoiding the need to create one manually viaRegisterDataLakeDelegatedAdministratorRequest.builder()- Parameters:
registerDataLakeDelegatedAdministratorRequest- AConsumerthat will call methods onRegisterDataLakeDelegatedAdministratorRequest.Builderto create a request.- Returns:
- Result of the RegisterDataLakeDelegatedAdministrator operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region. A tag is a label that you can define and associate with Amazon Web Services resources. Each tag consists of a required tag key and an associated tag value. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor for a tag key. Tags can help you identify, categorize, and manage resources in different ways, such as by owner, environment, or other criteria. For more information, see Tagging Amazon Security Lake resources in the Amazon Security Lake User Guide.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Adds or updates one or more tags that are associated with an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region. A tag is a label that you can define and associate with Amazon Web Services resources. Each tag consists of a required tag key and an associated tag value. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor for a tag key. Tags can help you identify, categorize, and manage resources in different ways, such as by owner, environment, or other criteria. For more information, see Tagging Amazon Security Lake resources in the Amazon Security Lake User Guide.
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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your Amazon Web Services account in a particular Amazon Web Services Region.
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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDataLake
default UpdateDataLakeResponse updateDataLake(UpdateDataLakeRequest updateDataLakeRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException You can use
UpdateDataLaketo specify where to store your security data, how it should be encrypted at rest and for how long. You can add a Rollup Region to consolidate data from multiple Amazon Web Services Regions, replace default encryption (SSE-S3) with Customer Manged Key, or specify transition and expiration actions through storage Lifecycle management. TheUpdateDataLakeAPI works as an "upsert" operation that performs an insert if the specified item or record does not exist, or an update if it already exists. Security Lake securely stores your data at rest using Amazon Web Services encryption solutions. For more details, see Data protection in Amazon Security Lake.For example, omitting the key
encryptionConfigurationfrom a Region that is included in an update call that currently uses KMS will leave that Region's KMS key in place, but specifyingencryptionConfiguration: {kmsKeyId: 'S3_MANAGED_KEY'}for that same Region will reset the key toS3-managed.For more details about lifecycle management and how to update retention settings for one or more Regions after enabling Security Lake, see the Amazon Security Lake User Guide.
- Parameters:
updateDataLakeRequest-- Returns:
- Result of the UpdateDataLake operation returned by the service.
- See Also:
-
updateDataLake
default UpdateDataLakeResponse updateDataLake(Consumer<UpdateDataLakeRequest.Builder> updateDataLakeRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException You can use
UpdateDataLaketo specify where to store your security data, how it should be encrypted at rest and for how long. You can add a Rollup Region to consolidate data from multiple Amazon Web Services Regions, replace default encryption (SSE-S3) with Customer Manged Key, or specify transition and expiration actions through storage Lifecycle management. TheUpdateDataLakeAPI works as an "upsert" operation that performs an insert if the specified item or record does not exist, or an update if it already exists. Security Lake securely stores your data at rest using Amazon Web Services encryption solutions. For more details, see Data protection in Amazon Security Lake.For example, omitting the key
encryptionConfigurationfrom a Region that is included in an update call that currently uses KMS will leave that Region's KMS key in place, but specifyingencryptionConfiguration: {kmsKeyId: 'S3_MANAGED_KEY'}for that same Region will reset the key toS3-managed.For more details about lifecycle management and how to update retention settings for one or more Regions after enabling Security Lake, see the Amazon Security Lake User Guide.
This is a convenience which creates an instance of the
UpdateDataLakeRequest.Builderavoiding the need to create one manually viaUpdateDataLakeRequest.builder()- Parameters:
updateDataLakeRequest- AConsumerthat will call methods onUpdateDataLakeRequest.Builderto create a request.- Returns:
- Result of the UpdateDataLake operation returned by the service.
- See Also:
-
updateDataLakeExceptionSubscription
default UpdateDataLakeExceptionSubscriptionResponse updateDataLakeExceptionSubscription(UpdateDataLakeExceptionSubscriptionRequest updateDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Updates the specified notification subscription in Amazon Security Lake for the organization you specify.
- Parameters:
updateDataLakeExceptionSubscriptionRequest-- Returns:
- Result of the UpdateDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
updateDataLakeExceptionSubscription
default UpdateDataLakeExceptionSubscriptionResponse updateDataLakeExceptionSubscription(Consumer<UpdateDataLakeExceptionSubscriptionRequest.Builder> updateDataLakeExceptionSubscriptionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Updates the specified notification subscription in Amazon Security Lake for the organization you specify.
This is a convenience which creates an instance of the
UpdateDataLakeExceptionSubscriptionRequest.Builderavoiding the need to create one manually viaUpdateDataLakeExceptionSubscriptionRequest.builder()- Parameters:
updateDataLakeExceptionSubscriptionRequest- AConsumerthat will call methods onUpdateDataLakeExceptionSubscriptionRequest.Builderto create a request.- Returns:
- Result of the UpdateDataLakeExceptionSubscription operation returned by the service.
- See Also:
-
updateSubscriber
default UpdateSubscriberResponse updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Updates an existing subscription for the given Amazon Security Lake account ID. You can update a subscriber by changing the sources that the subscriber consumes data from.
- Parameters:
updateSubscriberRequest-- Returns:
- Result of the UpdateSubscriber operation returned by the service.
- See Also:
-
updateSubscriber
default UpdateSubscriberResponse updateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Updates an existing subscription for the given Amazon Security Lake account ID. You can update a subscriber by changing the sources that the subscriber consumes data from.
This is a convenience which creates an instance of the
UpdateSubscriberRequest.Builderavoiding the need to create one manually viaUpdateSubscriberRequest.builder()- Parameters:
updateSubscriberRequest- AConsumerthat will call methods onUpdateSubscriberRequest.Builderto create a request.- Returns:
- Result of the UpdateSubscriber operation returned by the service.
- See Also:
-
updateSubscriberNotification
default UpdateSubscriberNotificationResponse updateSubscriberNotification(UpdateSubscriberNotificationRequest updateSubscriberNotificationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or switches the notification subscription endpoint for a subscriber.
- Parameters:
updateSubscriberNotificationRequest-- Returns:
- Result of the UpdateSubscriberNotification operation returned by the service.
- See Also:
-
updateSubscriberNotification
default UpdateSubscriberNotificationResponse updateSubscriberNotification(Consumer<UpdateSubscriberNotificationRequest.Builder> updateSubscriberNotificationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, SecurityLakeException Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or switches the notification subscription endpoint for a subscriber.
This is a convenience which creates an instance of the
UpdateSubscriberNotificationRequest.Builderavoiding the need to create one manually viaUpdateSubscriberNotificationRequest.builder()- Parameters:
updateSubscriberNotificationRequest- AConsumerthat will call methods onUpdateSubscriberNotificationRequest.Builderto create a request.- Returns:
- Result of the UpdateSubscriberNotification operation returned by the service.
- See Also:
-
create
Create aSecurityLakeClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSecurityLakeClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-