@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SecurityLakeAsyncClient extends SdkClient
builder() method.
Amazon Security Lake is in preview release. Your use of the Amazon Security Lake preview is subject to Section 2 of the Amazon Web Services Service Terms("Betas and Previews").
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 account. Security Lake helps you analyze security data, so you can get a more complete understanding of your security posture across the entire organization and 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.
Security Lake automates the collection of security-related log and event data from integrated Amazon Web Services. and third-party services and manages the lifecycle of data with customizable retention and replication settings. Security Lake also converts ingested data into Apache Parquet format and a standard open-source schema called the Open Cybersecurity Schema Framework (OCSF).
Other Amazon Web Services and third-party services can subscribe to the data that's stored in Security Lake for incident response and security data analytics.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static SecurityLakeAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SecurityLakeAsyncClient. |
static SecurityLakeAsyncClient |
create()
Create a
SecurityLakeAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateAwsLogSourceResponse> |
createAwsLogSource(Consumer<CreateAwsLogSourceRequest.Builder> createAwsLogSourceRequest)
Adds a natively-supported Amazon Web Services service as a Security Lake source.
|
default CompletableFuture<CreateAwsLogSourceResponse> |
createAwsLogSource(CreateAwsLogSourceRequest createAwsLogSourceRequest)
Adds a natively-supported Amazon Web Services service as a Security Lake source.
|
default CompletableFuture<CreateCustomLogSourceResponse> |
createCustomLogSource(Consumer<CreateCustomLogSourceRequest.Builder> createCustomLogSourceRequest)
Adds a third-party custom source in Amazon Security Lake, from the Region where you want to create a custom
source.
|
default CompletableFuture<CreateCustomLogSourceResponse> |
createCustomLogSource(CreateCustomLogSourceRequest createCustomLogSourceRequest)
Adds a third-party custom source in Amazon Security Lake, from the Region where you want to create a custom
source.
|
default CompletableFuture<CreateDatalakeResponse> |
createDatalake(Consumer<CreateDatalakeRequest.Builder> createDatalakeRequest)
Initializes an Amazon Security Lake instance with the provided (or default) configuration.
|
default CompletableFuture<CreateDatalakeResponse> |
createDatalake(CreateDatalakeRequest createDatalakeRequest)
Initializes an Amazon Security Lake instance with the provided (or default) configuration.
|
default CompletableFuture<CreateDatalakeAutoEnableResponse> |
createDatalakeAutoEnable(Consumer<CreateDatalakeAutoEnableRequest.Builder> createDatalakeAutoEnableRequest)
Automatically enable Security Lake in the specified Regions to begin ingesting security data.
|
default CompletableFuture<CreateDatalakeAutoEnableResponse> |
createDatalakeAutoEnable(CreateDatalakeAutoEnableRequest createDatalakeAutoEnableRequest)
Automatically enable Security Lake in the specified Regions to begin ingesting security data.
|
default CompletableFuture<CreateDatalakeDelegatedAdminResponse> |
createDatalakeDelegatedAdmin(Consumer<CreateDatalakeDelegatedAdminRequest.Builder> createDatalakeDelegatedAdminRequest)
Designates the Security Lake administrator account for the organization.
|
default CompletableFuture<CreateDatalakeDelegatedAdminResponse> |
createDatalakeDelegatedAdmin(CreateDatalakeDelegatedAdminRequest createDatalakeDelegatedAdminRequest)
Designates the Security Lake administrator account for the organization.
|
default CompletableFuture<CreateDatalakeExceptionsSubscriptionResponse> |
createDatalakeExceptionsSubscription(Consumer<CreateDatalakeExceptionsSubscriptionRequest.Builder> createDatalakeExceptionsSubscriptionRequest)
Creates the specified notification subscription in Security Lake.
|
default CompletableFuture<CreateDatalakeExceptionsSubscriptionResponse> |
createDatalakeExceptionsSubscription(CreateDatalakeExceptionsSubscriptionRequest createDatalakeExceptionsSubscriptionRequest)
Creates the specified notification subscription in Security Lake.
|
default CompletableFuture<CreateSubscriberResponse> |
createSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest)
Creates a subscription permission for accounts that are already enabled in Security Lake.
|
default CompletableFuture<CreateSubscriberResponse> |
createSubscriber(CreateSubscriberRequest createSubscriberRequest)
Creates a subscription permission for accounts that are already enabled in Security Lake.
|
default CompletableFuture<CreateSubscriptionNotificationConfigurationResponse> |
createSubscriptionNotificationConfiguration(Consumer<CreateSubscriptionNotificationConfigurationRequest.Builder> createSubscriptionNotificationConfigurationRequest)
Creates the specified notification subscription in Security Lake.
|
default CompletableFuture<CreateSubscriptionNotificationConfigurationResponse> |
createSubscriptionNotificationConfiguration(CreateSubscriptionNotificationConfigurationRequest createSubscriptionNotificationConfigurationRequest)
Creates the specified notification subscription in Security Lake.
|
default CompletableFuture<DeleteAwsLogSourceResponse> |
deleteAwsLogSource(Consumer<DeleteAwsLogSourceRequest.Builder> deleteAwsLogSourceRequest)
Removes a natively-supported Amazon Web Services service as a Amazon Security Lake source.
|
default CompletableFuture<DeleteAwsLogSourceResponse> |
deleteAwsLogSource(DeleteAwsLogSourceRequest deleteAwsLogSourceRequest)
Removes a natively-supported Amazon Web Services service as a Amazon Security Lake source.
|
default CompletableFuture<DeleteCustomLogSourceResponse> |
deleteCustomLogSource(Consumer<DeleteCustomLogSourceRequest.Builder> deleteCustomLogSourceRequest)
Removes a custom log source from Security Lake.
|
default CompletableFuture<DeleteCustomLogSourceResponse> |
deleteCustomLogSource(DeleteCustomLogSourceRequest deleteCustomLogSourceRequest)
Removes a custom log source from Security Lake.
|
default CompletableFuture<DeleteDatalakeResponse> |
deleteDatalake(Consumer<DeleteDatalakeRequest.Builder> deleteDatalakeRequest)
When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions.
|
default CompletableFuture<DeleteDatalakeResponse> |
deleteDatalake(DeleteDatalakeRequest deleteDatalakeRequest)
When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions.
|
default CompletableFuture<DeleteDatalakeAutoEnableResponse> |
deleteDatalakeAutoEnable(Consumer<DeleteDatalakeAutoEnableRequest.Builder> deleteDatalakeAutoEnableRequest)
Automatically delete Security Lake in the specified Regions to stop ingesting security data.
|
default CompletableFuture<DeleteDatalakeAutoEnableResponse> |
deleteDatalakeAutoEnable(DeleteDatalakeAutoEnableRequest deleteDatalakeAutoEnableRequest)
Automatically delete Security Lake in the specified Regions to stop ingesting security data.
|
default CompletableFuture<DeleteDatalakeDelegatedAdminResponse> |
deleteDatalakeDelegatedAdmin(Consumer<DeleteDatalakeDelegatedAdminRequest.Builder> deleteDatalakeDelegatedAdminRequest)
Deletes the Security Lake administrator account for the organization.
|
default CompletableFuture<DeleteDatalakeDelegatedAdminResponse> |
deleteDatalakeDelegatedAdmin(DeleteDatalakeDelegatedAdminRequest deleteDatalakeDelegatedAdminRequest)
Deletes the Security Lake administrator account for the organization.
|
default CompletableFuture<DeleteDatalakeExceptionsSubscriptionResponse> |
deleteDatalakeExceptionsSubscription(Consumer<DeleteDatalakeExceptionsSubscriptionRequest.Builder> deleteDatalakeExceptionsSubscriptionRequest)
Deletes the specified notification subscription in Security Lake.
|
default CompletableFuture<DeleteDatalakeExceptionsSubscriptionResponse> |
deleteDatalakeExceptionsSubscription(DeleteDatalakeExceptionsSubscriptionRequest deleteDatalakeExceptionsSubscriptionRequest)
Deletes the specified notification subscription in Security Lake.
|
default CompletableFuture<DeleteSubscriberResponse> |
deleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest)
Deletes the specified subscription permissions to Security Lake.
|
default CompletableFuture<DeleteSubscriberResponse> |
deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest)
Deletes the specified subscription permissions to Security Lake.
|
default CompletableFuture<DeleteSubscriptionNotificationConfigurationResponse> |
deleteSubscriptionNotificationConfiguration(Consumer<DeleteSubscriptionNotificationConfigurationRequest.Builder> deleteSubscriptionNotificationConfigurationRequest)
Deletes the specified notification subscription in Security Lake.
|
default CompletableFuture<DeleteSubscriptionNotificationConfigurationResponse> |
deleteSubscriptionNotificationConfiguration(DeleteSubscriptionNotificationConfigurationRequest deleteSubscriptionNotificationConfigurationRequest)
Deletes the specified notification subscription in Security Lake.
|
default CompletableFuture<GetDatalakeResponse> |
getDatalake(Consumer<GetDatalakeRequest.Builder> getDatalakeRequest)
Retrieve the Security Lake configuration object for the specified account ID.
|
default CompletableFuture<GetDatalakeResponse> |
getDatalake(GetDatalakeRequest getDatalakeRequest)
Retrieve the Security Lake configuration object for the specified account ID.
|
default CompletableFuture<GetDatalakeAutoEnableResponse> |
getDatalakeAutoEnable(Consumer<GetDatalakeAutoEnableRequest.Builder> getDatalakeAutoEnableRequest)
Retrieves the configuration that will be automatically set up for accounts added to the organization after the
organization has on boarded to Amazon Security Lake.
|
default CompletableFuture<GetDatalakeAutoEnableResponse> |
getDatalakeAutoEnable(GetDatalakeAutoEnableRequest getDatalakeAutoEnableRequest)
Retrieves the configuration that will be automatically set up for accounts added to the organization after the
organization has on boarded to Amazon Security Lake.
|
default CompletableFuture<GetDatalakeExceptionsExpiryResponse> |
getDatalakeExceptionsExpiry(Consumer<GetDatalakeExceptionsExpiryRequest.Builder> getDatalakeExceptionsExpiryRequest)
Retrieves the expiration period and time-to-live (TTL) for which the exception message will remain.
|
default CompletableFuture<GetDatalakeExceptionsExpiryResponse> |
getDatalakeExceptionsExpiry(GetDatalakeExceptionsExpiryRequest getDatalakeExceptionsExpiryRequest)
Retrieves the expiration period and time-to-live (TTL) for which the exception message will remain.
|
default CompletableFuture<GetDatalakeExceptionsSubscriptionResponse> |
getDatalakeExceptionsSubscription(Consumer<GetDatalakeExceptionsSubscriptionRequest.Builder> getDatalakeExceptionsSubscriptionRequest)
Retrieves the details of exception notifications for the account in Amazon Security Lake.
|
default CompletableFuture<GetDatalakeExceptionsSubscriptionResponse> |
getDatalakeExceptionsSubscription(GetDatalakeExceptionsSubscriptionRequest getDatalakeExceptionsSubscriptionRequest)
Retrieves the details of exception notifications for the account in Amazon Security Lake.
|
default CompletableFuture<GetDatalakeStatusResponse> |
getDatalakeStatus(Consumer<GetDatalakeStatusRequest.Builder> getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID.
|
default CompletableFuture<GetDatalakeStatusResponse> |
getDatalakeStatus(GetDatalakeStatusRequest getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID.
|
default GetDatalakeStatusPublisher |
getDatalakeStatusPaginator(Consumer<GetDatalakeStatusRequest.Builder> getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID.
|
default GetDatalakeStatusPublisher |
getDatalakeStatusPaginator(GetDatalakeStatusRequest getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID.
|
default CompletableFuture<GetSubscriberResponse> |
getSubscriber(Consumer<GetSubscriberRequest.Builder> getSubscriberRequest)
Retrieves subscription information for the specified subscription ID.
|
default CompletableFuture<GetSubscriberResponse> |
getSubscriber(GetSubscriberRequest getSubscriberRequest)
Retrieves subscription information for the specified subscription ID.
|
default CompletableFuture<ListDatalakeExceptionsResponse> |
listDatalakeExceptions(Consumer<ListDatalakeExceptionsRequest.Builder> listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
|
default CompletableFuture<ListDatalakeExceptionsResponse> |
listDatalakeExceptions(ListDatalakeExceptionsRequest listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
|
default ListDatalakeExceptionsPublisher |
listDatalakeExceptionsPaginator(Consumer<ListDatalakeExceptionsRequest.Builder> listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
|
default ListDatalakeExceptionsPublisher |
listDatalakeExceptionsPaginator(ListDatalakeExceptionsRequest listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
|
default CompletableFuture<ListLogSourcesResponse> |
listLogSources(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest)
Lists the log sources in the current region.
|
default CompletableFuture<ListLogSourcesResponse> |
listLogSources(ListLogSourcesRequest listLogSourcesRequest)
Lists the log sources in the current region.
|
default ListLogSourcesPublisher |
listLogSourcesPaginator(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest)
Lists the log sources in the current region.
|
default ListLogSourcesPublisher |
listLogSourcesPaginator(ListLogSourcesRequest listLogSourcesRequest)
Lists the log sources in the current region.
|
default CompletableFuture<ListSubscribersResponse> |
listSubscribers(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
|
default CompletableFuture<ListSubscribersResponse> |
listSubscribers(ListSubscribersRequest listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
|
default ListSubscribersPublisher |
listSubscribersPaginator(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
|
default ListSubscribersPublisher |
listSubscribersPaginator(ListSubscribersRequest listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
|
default CompletableFuture<UpdateDatalakeResponse> |
updateDatalake(Consumer<UpdateDatalakeRequest.Builder> updateDatalakeRequest)
Amazon Security Lake allows you to specify where to store your security data and for how long.
|
default CompletableFuture<UpdateDatalakeResponse> |
updateDatalake(UpdateDatalakeRequest updateDatalakeRequest)
Amazon Security Lake allows you to specify where to store your security data and for how long.
|
default CompletableFuture<UpdateDatalakeExceptionsExpiryResponse> |
updateDatalakeExceptionsExpiry(Consumer<UpdateDatalakeExceptionsExpiryRequest.Builder> updateDatalakeExceptionsExpiryRequest)
Update the expiration period for the exception message to your preferred time, and control the time-to-live (TTL)
for the exception message to remain.
|
default CompletableFuture<UpdateDatalakeExceptionsExpiryResponse> |
updateDatalakeExceptionsExpiry(UpdateDatalakeExceptionsExpiryRequest updateDatalakeExceptionsExpiryRequest)
Update the expiration period for the exception message to your preferred time, and control the time-to-live (TTL)
for the exception message to remain.
|
default CompletableFuture<UpdateDatalakeExceptionsSubscriptionResponse> |
updateDatalakeExceptionsSubscription(Consumer<UpdateDatalakeExceptionsSubscriptionRequest.Builder> updateDatalakeExceptionsSubscriptionRequest)
Update the subscription notification for exception notification.
|
default CompletableFuture<UpdateDatalakeExceptionsSubscriptionResponse> |
updateDatalakeExceptionsSubscription(UpdateDatalakeExceptionsSubscriptionRequest updateDatalakeExceptionsSubscriptionRequest)
Update the subscription notification for exception notification.
|
default CompletableFuture<UpdateSubscriberResponse> |
updateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest)
Update the subscription permission for the given Security Lake account ID.
|
default CompletableFuture<UpdateSubscriberResponse> |
updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest)
Update the subscription permission for the given Security Lake account ID.
|
default CompletableFuture<UpdateSubscriptionNotificationConfigurationResponse> |
updateSubscriptionNotificationConfiguration(Consumer<UpdateSubscriptionNotificationConfigurationRequest.Builder> updateSubscriptionNotificationConfigurationRequest)
Create a new subscription notification or add the existing subscription notification setting for the specified
subscription ID.
|
default CompletableFuture<UpdateSubscriptionNotificationConfigurationResponse> |
updateSubscriptionNotificationConfiguration(UpdateSubscriptionNotificationConfigurationRequest updateSubscriptionNotificationConfigurationRequest)
Create a new subscription notification or add the existing subscription notification setting for the specified
subscription ID.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static SecurityLakeAsyncClient create()
SecurityLakeAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SecurityLakeAsyncClientBuilder builder()
SecurityLakeAsyncClient.default CompletableFuture<CreateAwsLogSourceResponse> createAwsLogSource(CreateAwsLogSourceRequest createAwsLogSourceRequest)
Adds a natively-supported Amazon Web Services service as a Security Lake source. Enables source types for member accounts in required Regions, based on specified parameters. You can choose any source type in any Region for accounts that are either part of a trusted organization or standalone accounts. At least one of the three dimensions is a mandatory input to this API. However, any combination of the three dimensions can be supplied to this API.
By default, dimension refers to the entire set. When you don't provide a dimension, Security Lake assumes that the missing dimension refers to the entire set. This is overridden when you supply any one of the inputs. For instance, when members is not specified, the API disables all Security Lake member accounts for sources. Similarly, when Regions are not specified, Security Lake is disabled for all the Regions where Security Lake is available as a service.
You can use this API only to enable a natively-supported Amazon Web Services services as a source. Use
CreateCustomLogSource to enable data collection from a custom source.
createAwsLogSourceRequest - default CompletableFuture<CreateAwsLogSourceResponse> createAwsLogSource(Consumer<CreateAwsLogSourceRequest.Builder> createAwsLogSourceRequest)
Adds a natively-supported Amazon Web Services service as a Security Lake source. Enables source types for member accounts in required Regions, based on specified parameters. You can choose any source type in any Region for accounts that are either part of a trusted organization or standalone accounts. At least one of the three dimensions is a mandatory input to this API. However, any combination of the three dimensions can be supplied to this API.
By default, dimension refers to the entire set. When you don't provide a dimension, Security Lake assumes that the missing dimension refers to the entire set. This is overridden when you supply any one of the inputs. For instance, when members is not specified, the API disables all Security Lake member accounts for sources. Similarly, when Regions are not specified, Security Lake is disabled for all the Regions where Security Lake is available as a service.
You can use this API only to enable a natively-supported Amazon Web Services services as a source. Use
CreateCustomLogSource to enable data collection from a custom source.
This is a convenience which creates an instance of the CreateAwsLogSourceRequest.Builder avoiding the
need to create one manually via CreateAwsLogSourceRequest.builder()
createAwsLogSourceRequest - A Consumer that will call methods on CreateAwsLogSourceRequest.Builder to create a
request.default CompletableFuture<CreateCustomLogSourceResponse> createCustomLogSource(CreateCustomLogSourceRequest createCustomLogSourceRequest)
Adds a third-party custom source in Amazon Security Lake, from the 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 API roles, use this API to add a custom source name in Security Lake. This operation creates a partition in the Security Lake S3 bucket as the target location for log files from the custom source, an associated Glue table, and an Glue crawler.
createCustomLogSourceRequest - default CompletableFuture<CreateCustomLogSourceResponse> createCustomLogSource(Consumer<CreateCustomLogSourceRequest.Builder> createCustomLogSourceRequest)
Adds a third-party custom source in Amazon Security Lake, from the 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 API roles, use this API to add a custom source name in Security Lake. This operation creates a partition in the Security Lake S3 bucket as the target location for log files from the custom source, an associated Glue table, and an Glue crawler.
This is a convenience which creates an instance of the CreateCustomLogSourceRequest.Builder avoiding the
need to create one manually via CreateCustomLogSourceRequest.builder()
createCustomLogSourceRequest - A Consumer that will call methods on CreateCustomLogSourceRequest.Builder to create a
request.default CompletableFuture<CreateDatalakeResponse> createDatalake(CreateDatalakeRequest createDatalakeRequest)
Initializes an Amazon Security Lake instance with the provided (or default) configuration. You can enable
Security Lake in Regions with customized settings in advance before enabling log collection in Regions. You can
either use the enableAll parameter to specify all Regions or you can specify the Regions you want to
enable Security Lake using the Regions parameter and configure these Regions using the
configurations parameter. When the CreateDataLake API is called multiple times, if that
Region is already enabled, it will update the Region if configuration for that Region is provided. If that Region
is a new Region, it will be set up with the customized configurations if it is specified.
When you enable Security Lake, it starts ingesting security data after the CreateAwsLogSource call.
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 account
in the current Region, including security log and event data. For more information, see the Amazon Security Lake
User Guide.
createDatalakeRequest - default CompletableFuture<CreateDatalakeResponse> createDatalake(Consumer<CreateDatalakeRequest.Builder> createDatalakeRequest)
Initializes an Amazon Security Lake instance with the provided (or default) configuration. You can enable
Security Lake in Regions with customized settings in advance before enabling log collection in Regions. You can
either use the enableAll parameter to specify all Regions or you can specify the Regions you want to
enable Security Lake using the Regions parameter and configure these Regions using the
configurations parameter. When the CreateDataLake API is called multiple times, if that
Region is already enabled, it will update the Region if configuration for that Region is provided. If that Region
is a new Region, it will be set up with the customized configurations if it is specified.
When you enable Security Lake, it starts ingesting security data after the CreateAwsLogSource call.
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 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.Builder avoiding the need to
create one manually via CreateDatalakeRequest.builder()
createDatalakeRequest - A Consumer that will call methods on CreateDatalakeRequest.Builder to create a request.default CompletableFuture<CreateDatalakeAutoEnableResponse> createDatalakeAutoEnable(CreateDatalakeAutoEnableRequest createDatalakeAutoEnableRequest)
Automatically enable Security Lake in the specified Regions to begin ingesting security data. When you choose to enable organization accounts automatically, then Security Lake begins to enable new accounts as member accounts as they are added to the organization. Security Lake does not enable existing organization accounts that are not yet enabled.
createDatalakeAutoEnableRequest - default CompletableFuture<CreateDatalakeAutoEnableResponse> createDatalakeAutoEnable(Consumer<CreateDatalakeAutoEnableRequest.Builder> createDatalakeAutoEnableRequest)
Automatically enable Security Lake in the specified Regions to begin ingesting security data. When you choose to enable organization accounts automatically, then Security Lake begins to enable new accounts as member accounts as they are added to the organization. Security Lake does not enable existing organization accounts that are not yet enabled.
This is a convenience which creates an instance of the CreateDatalakeAutoEnableRequest.Builder avoiding
the need to create one manually via CreateDatalakeAutoEnableRequest.builder()
createDatalakeAutoEnableRequest - A Consumer that will call methods on CreateDatalakeAutoEnableRequest.Builder to create a
request.default CompletableFuture<CreateDatalakeDelegatedAdminResponse> createDatalakeDelegatedAdmin(CreateDatalakeDelegatedAdminRequest createDatalakeDelegatedAdminRequest)
Designates the Security Lake 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.
createDatalakeDelegatedAdminRequest - default CompletableFuture<CreateDatalakeDelegatedAdminResponse> createDatalakeDelegatedAdmin(Consumer<CreateDatalakeDelegatedAdminRequest.Builder> createDatalakeDelegatedAdminRequest)
Designates the Security Lake 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 CreateDatalakeDelegatedAdminRequest.Builder
avoiding the need to create one manually via CreateDatalakeDelegatedAdminRequest.builder()
createDatalakeDelegatedAdminRequest - A Consumer that will call methods on CreateDatalakeDelegatedAdminRequest.Builder to create
a request.default CompletableFuture<CreateDatalakeExceptionsSubscriptionResponse> createDatalakeExceptionsSubscription(CreateDatalakeExceptionsSubscriptionRequest createDatalakeExceptionsSubscriptionRequest)
Creates the specified notification subscription in Security Lake. Creates the specified subscription notifications in the specified organization.
createDatalakeExceptionsSubscriptionRequest - default CompletableFuture<CreateDatalakeExceptionsSubscriptionResponse> createDatalakeExceptionsSubscription(Consumer<CreateDatalakeExceptionsSubscriptionRequest.Builder> createDatalakeExceptionsSubscriptionRequest)
Creates the specified notification subscription in Security Lake. Creates the specified subscription notifications in the specified organization.
This is a convenience which creates an instance of the
CreateDatalakeExceptionsSubscriptionRequest.Builder avoiding the need to create one manually via
CreateDatalakeExceptionsSubscriptionRequest.builder()
createDatalakeExceptionsSubscriptionRequest - A Consumer that will call methods on CreateDatalakeExceptionsSubscriptionRequest.Builder
to create a request.default CompletableFuture<CreateSubscriberResponse> createSubscriber(CreateSubscriberRequest createSubscriberRequest)
Creates a subscription permission for accounts that are already enabled in Security Lake.
createSubscriberRequest - default CompletableFuture<CreateSubscriberResponse> createSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest)
Creates a subscription permission for accounts that are already enabled in Security Lake.
This is a convenience which creates an instance of the CreateSubscriberRequest.Builder avoiding the need
to create one manually via CreateSubscriberRequest.builder()
createSubscriberRequest - A Consumer that will call methods on CreateSubscriberRequest.Builder to create a request.default CompletableFuture<CreateSubscriptionNotificationConfigurationResponse> createSubscriptionNotificationConfiguration(CreateSubscriptionNotificationConfigurationRequest createSubscriptionNotificationConfigurationRequest)
Creates the specified notification subscription in Security Lake. Creates the specified subscription notifications from the specified organization.
createSubscriptionNotificationConfigurationRequest - default CompletableFuture<CreateSubscriptionNotificationConfigurationResponse> createSubscriptionNotificationConfiguration(Consumer<CreateSubscriptionNotificationConfigurationRequest.Builder> createSubscriptionNotificationConfigurationRequest)
Creates the specified notification subscription in Security Lake. Creates the specified subscription notifications from the specified organization.
This is a convenience which creates an instance of the
CreateSubscriptionNotificationConfigurationRequest.Builder avoiding the need to create one manually via
CreateSubscriptionNotificationConfigurationRequest.builder()
createSubscriptionNotificationConfigurationRequest - A Consumer that will call methods on
CreateSubscriptionNotificationConfigurationRequest.Builder to create a request.default CompletableFuture<DeleteAwsLogSourceResponse> deleteAwsLogSource(DeleteAwsLogSourceRequest deleteAwsLogSourceRequest)
Removes a natively-supported Amazon Web Services service as a Amazon Security Lake source. When you remove the source, Security Lake stops collecting data from that source, and subscribers can no longer consume new data from the source. Subscribers can still consume data that Amazon Security Lake collected from the source before disablement.
You can choose any source type in any Region for accounts that are either part of a trusted organization or standalone accounts. At least one of the three dimensions is a mandatory input to this API. However, any combination of the three dimensions can be supplied to this API.
By default, dimension refers to the entire set. This is overridden when you supply any one of the inputs. For instance, when members is not specified, the API disables all Security Lake member accounts for sources. Similarly, when Regions are not specified, Security Lake is disabled for all the Regions where Security Lake is available as a service.
You can use this API to remove a natively-supported Amazon Web Services service as a source. Use
DeregisterCustomData to remove a custom source.
When you don't provide a dimension, Security Lake assumes that the missing dimension refers to the entire set. For example, if you don't provide specific accounts, the API applies to the entire set of accounts in your organization.
deleteAwsLogSourceRequest - default CompletableFuture<DeleteAwsLogSourceResponse> deleteAwsLogSource(Consumer<DeleteAwsLogSourceRequest.Builder> deleteAwsLogSourceRequest)
Removes a natively-supported Amazon Web Services service as a Amazon Security Lake source. When you remove the source, Security Lake stops collecting data from that source, and subscribers can no longer consume new data from the source. Subscribers can still consume data that Amazon Security Lake collected from the source before disablement.
You can choose any source type in any Region for accounts that are either part of a trusted organization or standalone accounts. At least one of the three dimensions is a mandatory input to this API. However, any combination of the three dimensions can be supplied to this API.
By default, dimension refers to the entire set. This is overridden when you supply any one of the inputs. For instance, when members is not specified, the API disables all Security Lake member accounts for sources. Similarly, when Regions are not specified, Security Lake is disabled for all the Regions where Security Lake is available as a service.
You can use this API to remove a natively-supported Amazon Web Services service as a source. Use
DeregisterCustomData to remove a custom source.
When you don't provide a dimension, Security Lake assumes that the missing dimension refers to the entire set. For example, if you don't provide specific accounts, the API applies to the entire set of accounts in your organization.
This is a convenience which creates an instance of the DeleteAwsLogSourceRequest.Builder avoiding the
need to create one manually via DeleteAwsLogSourceRequest.builder()
deleteAwsLogSourceRequest - A Consumer that will call methods on DeleteAwsLogSourceRequest.Builder to create a
request.default CompletableFuture<DeleteCustomLogSourceResponse> deleteCustomLogSource(DeleteCustomLogSourceRequest deleteCustomLogSourceRequest)
Removes a custom log source from Security Lake.
deleteCustomLogSourceRequest - default CompletableFuture<DeleteCustomLogSourceResponse> deleteCustomLogSource(Consumer<DeleteCustomLogSourceRequest.Builder> deleteCustomLogSourceRequest)
Removes a custom log source from Security Lake.
This is a convenience which creates an instance of the DeleteCustomLogSourceRequest.Builder avoiding the
need to create one manually via DeleteCustomLogSourceRequest.builder()
deleteCustomLogSourceRequest - A Consumer that will call methods on DeleteCustomLogSourceRequest.Builder to create a
request.default CompletableFuture<DeleteDatalakeResponse> deleteDatalake(DeleteDatalakeRequest deleteDatalakeRequest)
When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API
automatically performs the off-boarding steps to off-board the account from Security Lake . This includes
ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also
deletes all the existing settings and resources that it stores or maintains for your account in the current
Region, including security log and event data. DeleteDatalake does not delete the S3 bucket which is
owned by the Amazon Web Services account. For more information, see the Amazon Security Lake User Guide.
deleteDatalakeRequest - default CompletableFuture<DeleteDatalakeResponse> deleteDatalake(Consumer<DeleteDatalakeRequest.Builder> deleteDatalakeRequest)
When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API
automatically performs the off-boarding steps to off-board the account from Security Lake . This includes
ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also
deletes all the existing settings and resources that it stores or maintains for your account in the current
Region, including security log and event data. DeleteDatalake does not delete the S3 bucket which is
owned by the 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.Builder avoiding the need to
create one manually via DeleteDatalakeRequest.builder()
deleteDatalakeRequest - A Consumer that will call methods on DeleteDatalakeRequest.Builder to create a request.default CompletableFuture<DeleteDatalakeAutoEnableResponse> deleteDatalakeAutoEnable(DeleteDatalakeAutoEnableRequest deleteDatalakeAutoEnableRequest)
Automatically delete Security Lake in the specified Regions to stop ingesting security data. When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API automatically performs the off-boarding steps to off-board the account from Security Lake . This includes ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also deletes all the existing settings and resources that it stores or maintains for your account in the current Region, including security log and event data. For more information, see the Amazon Security Lake User Guide.
deleteDatalakeAutoEnableRequest - default CompletableFuture<DeleteDatalakeAutoEnableResponse> deleteDatalakeAutoEnable(Consumer<DeleteDatalakeAutoEnableRequest.Builder> deleteDatalakeAutoEnableRequest)
Automatically delete Security Lake in the specified Regions to stop ingesting security data. When you delete Amazon Security Lake from your account, Security Lake is disabled in all Regions. Also, this API automatically performs the off-boarding steps to off-board the account from Security Lake . This includes ingesting security data from sources, storing data, and making data accessible to subscribers. Security Lake also deletes all the existing settings and resources that it stores or maintains for your 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 DeleteDatalakeAutoEnableRequest.Builder avoiding
the need to create one manually via DeleteDatalakeAutoEnableRequest.builder()
deleteDatalakeAutoEnableRequest - A Consumer that will call methods on DeleteDatalakeAutoEnableRequest.Builder to create a
request.default CompletableFuture<DeleteDatalakeDelegatedAdminResponse> deleteDatalakeDelegatedAdmin(DeleteDatalakeDelegatedAdminRequest deleteDatalakeDelegatedAdminRequest)
Deletes the Security Lake 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.
deleteDatalakeDelegatedAdminRequest - default CompletableFuture<DeleteDatalakeDelegatedAdminResponse> deleteDatalakeDelegatedAdmin(Consumer<DeleteDatalakeDelegatedAdminRequest.Builder> deleteDatalakeDelegatedAdminRequest)
Deletes the Security Lake 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 DeleteDatalakeDelegatedAdminRequest.Builder
avoiding the need to create one manually via DeleteDatalakeDelegatedAdminRequest.builder()
deleteDatalakeDelegatedAdminRequest - A Consumer that will call methods on DeleteDatalakeDelegatedAdminRequest.Builder to create
a request.default CompletableFuture<DeleteDatalakeExceptionsSubscriptionResponse> deleteDatalakeExceptionsSubscription(DeleteDatalakeExceptionsSubscriptionRequest deleteDatalakeExceptionsSubscriptionRequest)
Deletes the specified notification subscription in Security Lake. Deletes the specified subscription notifications in the specified organization.
deleteDatalakeExceptionsSubscriptionRequest - default CompletableFuture<DeleteDatalakeExceptionsSubscriptionResponse> deleteDatalakeExceptionsSubscription(Consumer<DeleteDatalakeExceptionsSubscriptionRequest.Builder> deleteDatalakeExceptionsSubscriptionRequest)
Deletes the specified notification subscription in Security Lake. Deletes the specified subscription notifications in the specified organization.
This is a convenience which creates an instance of the
DeleteDatalakeExceptionsSubscriptionRequest.Builder avoiding the need to create one manually via
DeleteDatalakeExceptionsSubscriptionRequest.builder()
deleteDatalakeExceptionsSubscriptionRequest - A Consumer that will call methods on DeleteDatalakeExceptionsSubscriptionRequest.Builder
to create a request.default CompletableFuture<DeleteSubscriberResponse> deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest)
Deletes the specified subscription permissions to Security Lake. Deletes the specified subscription permissions from the specified organization.
deleteSubscriberRequest - default CompletableFuture<DeleteSubscriberResponse> deleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest)
Deletes the specified subscription permissions to Security Lake. Deletes the specified subscription permissions from the specified organization.
This is a convenience which creates an instance of the DeleteSubscriberRequest.Builder avoiding the need
to create one manually via DeleteSubscriberRequest.builder()
deleteSubscriberRequest - A Consumer that will call methods on DeleteSubscriberRequest.Builder to create a request.default CompletableFuture<DeleteSubscriptionNotificationConfigurationResponse> deleteSubscriptionNotificationConfiguration(DeleteSubscriptionNotificationConfigurationRequest deleteSubscriptionNotificationConfigurationRequest)
Deletes the specified notification subscription in Security Lake. Deletes the specified subscription notifications from the specified organization.
deleteSubscriptionNotificationConfigurationRequest - default CompletableFuture<DeleteSubscriptionNotificationConfigurationResponse> deleteSubscriptionNotificationConfiguration(Consumer<DeleteSubscriptionNotificationConfigurationRequest.Builder> deleteSubscriptionNotificationConfigurationRequest)
Deletes the specified notification subscription in Security Lake. Deletes the specified subscription notifications from the specified organization.
This is a convenience which creates an instance of the
DeleteSubscriptionNotificationConfigurationRequest.Builder avoiding the need to create one manually via
DeleteSubscriptionNotificationConfigurationRequest.builder()
deleteSubscriptionNotificationConfigurationRequest - A Consumer that will call methods on
DeleteSubscriptionNotificationConfigurationRequest.Builder to create a request.default CompletableFuture<GetDatalakeResponse> getDatalake(GetDatalakeRequest getDatalakeRequest)
Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters.
getDatalakeRequest - default CompletableFuture<GetDatalakeResponse> getDatalake(Consumer<GetDatalakeRequest.Builder> getDatalakeRequest)
Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters.
This is a convenience which creates an instance of the GetDatalakeRequest.Builder avoiding the need to
create one manually via GetDatalakeRequest.builder()
getDatalakeRequest - A Consumer that will call methods on GetDatalakeRequest.Builder to create a request.default CompletableFuture<GetDatalakeAutoEnableResponse> getDatalakeAutoEnable(GetDatalakeAutoEnableRequest getDatalakeAutoEnableRequest)
Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has on boarded to Amazon Security Lake. This API does not take input parameters.
getDatalakeAutoEnableRequest - default CompletableFuture<GetDatalakeAutoEnableResponse> getDatalakeAutoEnable(Consumer<GetDatalakeAutoEnableRequest.Builder> getDatalakeAutoEnableRequest)
Retrieves the configuration that will be automatically set up for accounts added to the organization after the organization has on boarded to Amazon Security Lake. This API does not take input parameters.
This is a convenience which creates an instance of the GetDatalakeAutoEnableRequest.Builder avoiding the
need to create one manually via GetDatalakeAutoEnableRequest.builder()
getDatalakeAutoEnableRequest - A Consumer that will call methods on GetDatalakeAutoEnableRequest.Builder to create a
request.default CompletableFuture<GetDatalakeExceptionsExpiryResponse> getDatalakeExceptionsExpiry(GetDatalakeExceptionsExpiryRequest getDatalakeExceptionsExpiryRequest)
Retrieves the expiration period and time-to-live (TTL) for which the exception message will remain. Exceptions are stored by default, for a 2 week period of time from when a record was created in Security Lake. This API does not take input parameters. This API does not take input parameters.
getDatalakeExceptionsExpiryRequest - default CompletableFuture<GetDatalakeExceptionsExpiryResponse> getDatalakeExceptionsExpiry(Consumer<GetDatalakeExceptionsExpiryRequest.Builder> getDatalakeExceptionsExpiryRequest)
Retrieves the expiration period and time-to-live (TTL) for which the exception message will remain. Exceptions are stored by default, for a 2 week period of time from when a record was created in Security Lake. This API does not take input parameters. This API does not take input parameters.
This is a convenience which creates an instance of the GetDatalakeExceptionsExpiryRequest.Builder
avoiding the need to create one manually via GetDatalakeExceptionsExpiryRequest.builder()
getDatalakeExceptionsExpiryRequest - A Consumer that will call methods on GetDatalakeExceptionsExpiryRequest.Builder to create
a request.default CompletableFuture<GetDatalakeExceptionsSubscriptionResponse> getDatalakeExceptionsSubscription(GetDatalakeExceptionsSubscriptionRequest getDatalakeExceptionsSubscriptionRequest)
Retrieves the details of exception notifications for the account in Amazon Security Lake.
getDatalakeExceptionsSubscriptionRequest - default CompletableFuture<GetDatalakeExceptionsSubscriptionResponse> getDatalakeExceptionsSubscription(Consumer<GetDatalakeExceptionsSubscriptionRequest.Builder> getDatalakeExceptionsSubscriptionRequest)
Retrieves the details of exception notifications for the account in Amazon Security Lake.
This is a convenience which creates an instance of the GetDatalakeExceptionsSubscriptionRequest.Builder
avoiding the need to create one manually via GetDatalakeExceptionsSubscriptionRequest.builder()
getDatalakeExceptionsSubscriptionRequest - A Consumer that will call methods on GetDatalakeExceptionsSubscriptionRequest.Builder to
create a request.default CompletableFuture<GetDatalakeStatusResponse> getDatalakeStatus(GetDatalakeStatusRequest getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters.
getDatalakeStatusRequest - default CompletableFuture<GetDatalakeStatusResponse> getDatalakeStatus(Consumer<GetDatalakeStatusRequest.Builder> getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters.
This is a convenience which creates an instance of the GetDatalakeStatusRequest.Builder avoiding the need
to create one manually via GetDatalakeStatusRequest.builder()
getDatalakeStatusRequest - A Consumer that will call methods on GetDatalakeStatusRequest.Builder to create a request.default GetDatalakeStatusPublisher getDatalakeStatusPaginator(GetDatalakeStatusRequest getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters.
This is a variant of
getDatalakeStatus(software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.GetDatalakeStatusPublisher publisher = client.getDatalakeStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.GetDatalakeStatusPublisher publisher = client.getDatalakeStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxAccountResults 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
getDatalakeStatus(software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusRequest)
operation.
getDatalakeStatusRequest - default GetDatalakeStatusPublisher getDatalakeStatusPaginator(Consumer<GetDatalakeStatusRequest.Builder> getDatalakeStatusRequest)
Retrieve the Security Lake configuration object for the specified account ID. This API does not take input parameters.
This is a variant of
getDatalakeStatus(software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.GetDatalakeStatusPublisher publisher = client.getDatalakeStatusPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.GetDatalakeStatusPublisher publisher = client.getDatalakeStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxAccountResults 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
getDatalakeStatus(software.amazon.awssdk.services.securitylake.model.GetDatalakeStatusRequest)
operation.
This is a convenience which creates an instance of the GetDatalakeStatusRequest.Builder avoiding the need
to create one manually via GetDatalakeStatusRequest.builder()
getDatalakeStatusRequest - A Consumer that will call methods on GetDatalakeStatusRequest.Builder to create a request.default CompletableFuture<GetSubscriberResponse> getSubscriber(GetSubscriberRequest getSubscriberRequest)
Retrieves subscription information for the specified subscription ID.
getSubscriberRequest - default CompletableFuture<GetSubscriberResponse> getSubscriber(Consumer<GetSubscriberRequest.Builder> getSubscriberRequest)
Retrieves subscription information for the specified subscription ID.
This is a convenience which creates an instance of the GetSubscriberRequest.Builder avoiding the need to
create one manually via GetSubscriberRequest.builder()
getSubscriberRequest - A Consumer that will call methods on GetSubscriberRequest.Builder to create a request.default CompletableFuture<ListDatalakeExceptionsResponse> listDatalakeExceptions(ListDatalakeExceptionsRequest listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
listDatalakeExceptionsRequest - default CompletableFuture<ListDatalakeExceptionsResponse> listDatalakeExceptions(Consumer<ListDatalakeExceptionsRequest.Builder> listDatalakeExceptionsRequest)
List 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.Builder avoiding the
need to create one manually via ListDatalakeExceptionsRequest.builder()
listDatalakeExceptionsRequest - A Consumer that will call methods on ListDatalakeExceptionsRequest.Builder to create a
request.default ListDatalakeExceptionsPublisher listDatalakeExceptionsPaginator(ListDatalakeExceptionsRequest listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
This is a variant of
listDatalakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDatalakeExceptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.ListDatalakeExceptionsPublisher publisher = client.listDatalakeExceptionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.ListDatalakeExceptionsPublisher publisher = client.listDatalakeExceptionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.ListDatalakeExceptionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.ListDatalakeExceptionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxFailures 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.
listDatalakeExceptionsRequest - default ListDatalakeExceptionsPublisher listDatalakeExceptionsPaginator(Consumer<ListDatalakeExceptionsRequest.Builder> listDatalakeExceptionsRequest)
List the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.
This is a variant of
listDatalakeExceptions(software.amazon.awssdk.services.securitylake.model.ListDatalakeExceptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.ListDatalakeExceptionsPublisher publisher = client.listDatalakeExceptionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.ListDatalakeExceptionsPublisher publisher = client.listDatalakeExceptionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.ListDatalakeExceptionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.ListDatalakeExceptionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxFailures 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.Builder avoiding the
need to create one manually via ListDatalakeExceptionsRequest.builder()
listDatalakeExceptionsRequest - A Consumer that will call methods on ListDatalakeExceptionsRequest.Builder to create a
request.default CompletableFuture<ListLogSourcesResponse> listLogSources(ListLogSourcesRequest listLogSourcesRequest)
Lists the log sources in the current region.
listLogSourcesRequest - default CompletableFuture<ListLogSourcesResponse> listLogSources(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest)
Lists the log sources in the current region.
This is a convenience which creates an instance of the ListLogSourcesRequest.Builder avoiding the need to
create one manually via ListLogSourcesRequest.builder()
listLogSourcesRequest - A Consumer that will call methods on ListLogSourcesRequest.Builder to create a request.default ListLogSourcesPublisher listLogSourcesPaginator(ListLogSourcesRequest listLogSourcesRequest)
Lists the log sources in the current region.
This is a variant of
listLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.ListLogSourcesPublisher publisher = client.listLogSourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.ListLogSourcesPublisher publisher = client.listLogSourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.ListLogSourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.ListLogSourcesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
listLogSourcesRequest - default ListLogSourcesPublisher listLogSourcesPaginator(Consumer<ListLogSourcesRequest.Builder> listLogSourcesRequest)
Lists the log sources in the current region.
This is a variant of
listLogSources(software.amazon.awssdk.services.securitylake.model.ListLogSourcesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.ListLogSourcesPublisher publisher = client.listLogSourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.ListLogSourcesPublisher publisher = client.listLogSourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.ListLogSourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.ListLogSourcesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.Builder avoiding the need to
create one manually via ListLogSourcesRequest.builder()
listLogSourcesRequest - A Consumer that will call methods on ListLogSourcesRequest.Builder to create a request.default CompletableFuture<ListSubscribersResponse> listSubscribers(ListSubscribersRequest listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
listSubscribersRequest - default CompletableFuture<ListSubscribersResponse> listSubscribers(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
This is a convenience which creates an instance of the ListSubscribersRequest.Builder avoiding the need
to create one manually via ListSubscribersRequest.builder()
listSubscribersRequest - A Consumer that will call methods on ListSubscribersRequest.Builder to create a request.default ListSubscribersPublisher listSubscribersPaginator(ListSubscribersRequest listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
This is a variant of
listSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.ListSubscribersPublisher publisher = client.listSubscribersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.ListSubscribersPublisher publisher = client.listSubscribersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.ListSubscribersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.ListSubscribersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
listSubscribersRequest - default ListSubscribersPublisher listSubscribersPaginator(Consumer<ListSubscribersRequest.Builder> listSubscribersRequest)
List all subscribers for the specific Security Lake account ID.
This is a variant of
listSubscribers(software.amazon.awssdk.services.securitylake.model.ListSubscribersRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.securitylake.paginators.ListSubscribersPublisher publisher = client.listSubscribersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securitylake.paginators.ListSubscribersPublisher publisher = client.listSubscribersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securitylake.model.ListSubscribersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securitylake.model.ListSubscribersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.Builder avoiding the need
to create one manually via ListSubscribersRequest.builder()
listSubscribersRequest - A Consumer that will call methods on ListSubscribersRequest.Builder to create a request.default CompletableFuture<UpdateDatalakeResponse> updateDatalake(UpdateDatalakeRequest updateDatalakeRequest)
Amazon Security Lake allows you to specify where to store your security data and for how long. You can specify a rollup Region to consolidate data from multiple regions.
You can update the properties of a Region or source. Input can either be directly specified to the API.
updateDatalakeRequest - default CompletableFuture<UpdateDatalakeResponse> updateDatalake(Consumer<UpdateDatalakeRequest.Builder> updateDatalakeRequest)
Amazon Security Lake allows you to specify where to store your security data and for how long. You can specify a rollup Region to consolidate data from multiple regions.
You can update the properties of a Region or source. Input can either be directly specified to the API.
This is a convenience which creates an instance of the UpdateDatalakeRequest.Builder avoiding the need to
create one manually via UpdateDatalakeRequest.builder()
updateDatalakeRequest - A Consumer that will call methods on UpdateDatalakeRequest.Builder to create a request.default CompletableFuture<UpdateDatalakeExceptionsExpiryResponse> updateDatalakeExceptionsExpiry(UpdateDatalakeExceptionsExpiryRequest updateDatalakeExceptionsExpiryRequest)
Update the expiration period for the exception message to your preferred time, and control the time-to-live (TTL) for the exception message to remain. Exceptions are stored by default, for a 2 week period of time from when a record was created in Security Lake.
updateDatalakeExceptionsExpiryRequest - default CompletableFuture<UpdateDatalakeExceptionsExpiryResponse> updateDatalakeExceptionsExpiry(Consumer<UpdateDatalakeExceptionsExpiryRequest.Builder> updateDatalakeExceptionsExpiryRequest)
Update the expiration period for the exception message to your preferred time, and control the time-to-live (TTL) for the exception message to remain. Exceptions are stored by default, for a 2 week period of time from when a record was created in Security Lake.
This is a convenience which creates an instance of the UpdateDatalakeExceptionsExpiryRequest.Builder
avoiding the need to create one manually via UpdateDatalakeExceptionsExpiryRequest.builder()
updateDatalakeExceptionsExpiryRequest - A Consumer that will call methods on UpdateDatalakeExceptionsExpiryRequest.Builder to
create a request.default CompletableFuture<UpdateDatalakeExceptionsSubscriptionResponse> updateDatalakeExceptionsSubscription(UpdateDatalakeExceptionsSubscriptionRequest updateDatalakeExceptionsSubscriptionRequest)
Update the subscription notification for exception notification.
updateDatalakeExceptionsSubscriptionRequest - default CompletableFuture<UpdateDatalakeExceptionsSubscriptionResponse> updateDatalakeExceptionsSubscription(Consumer<UpdateDatalakeExceptionsSubscriptionRequest.Builder> updateDatalakeExceptionsSubscriptionRequest)
Update the subscription notification for exception notification.
This is a convenience which creates an instance of the
UpdateDatalakeExceptionsSubscriptionRequest.Builder avoiding the need to create one manually via
UpdateDatalakeExceptionsSubscriptionRequest.builder()
updateDatalakeExceptionsSubscriptionRequest - A Consumer that will call methods on UpdateDatalakeExceptionsSubscriptionRequest.Builder
to create a request.default CompletableFuture<UpdateSubscriberResponse> updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest)
Update the subscription permission for the given Security Lake account ID.
updateSubscriberRequest - default CompletableFuture<UpdateSubscriberResponse> updateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest)
Update the subscription permission for the given Security Lake account ID.
This is a convenience which creates an instance of the UpdateSubscriberRequest.Builder avoiding the need
to create one manually via UpdateSubscriberRequest.builder()
updateSubscriberRequest - A Consumer that will call methods on UpdateSubscriberRequest.Builder to create a request.default CompletableFuture<UpdateSubscriptionNotificationConfigurationResponse> updateSubscriptionNotificationConfiguration(UpdateSubscriptionNotificationConfigurationRequest updateSubscriptionNotificationConfigurationRequest)
Create a new subscription notification or add the existing subscription notification setting for the specified subscription ID.
updateSubscriptionNotificationConfigurationRequest - default CompletableFuture<UpdateSubscriptionNotificationConfigurationResponse> updateSubscriptionNotificationConfiguration(Consumer<UpdateSubscriptionNotificationConfigurationRequest.Builder> updateSubscriptionNotificationConfigurationRequest)
Create a new subscription notification or add the existing subscription notification setting for the specified subscription ID.
This is a convenience which creates an instance of the
UpdateSubscriptionNotificationConfigurationRequest.Builder avoiding the need to create one manually via
UpdateSubscriptionNotificationConfigurationRequest.builder()
updateSubscriptionNotificationConfigurationRequest - A Consumer that will call methods on
UpdateSubscriptionNotificationConfigurationRequest.Builder to create a request.Copyright © 2022. All rights reserved.