Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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 operation returns paginated results.
Synopsis
- data GetDatalakeStatus = GetDatalakeStatus' {
- accountSet :: Maybe [Text]
- maxAccountResults :: Maybe Int
- nextToken :: Maybe Text
- newGetDatalakeStatus :: GetDatalakeStatus
- getDatalakeStatus_accountSet :: Lens' GetDatalakeStatus (Maybe [Text])
- getDatalakeStatus_maxAccountResults :: Lens' GetDatalakeStatus (Maybe Int)
- getDatalakeStatus_nextToken :: Lens' GetDatalakeStatus (Maybe Text)
- data GetDatalakeStatusResponse = GetDatalakeStatusResponse' {}
- newGetDatalakeStatusResponse :: Int -> GetDatalakeStatusResponse
- getDatalakeStatusResponse_nextToken :: Lens' GetDatalakeStatusResponse (Maybe Text)
- getDatalakeStatusResponse_httpStatus :: Lens' GetDatalakeStatusResponse Int
- getDatalakeStatusResponse_accountSourcesList :: Lens' GetDatalakeStatusResponse [AccountSources]
Creating a Request
data GetDatalakeStatus Source #
See: newGetDatalakeStatus
smart constructor.
GetDatalakeStatus' | |
|
Instances
newGetDatalakeStatus :: GetDatalakeStatus Source #
Create a value of GetDatalakeStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accountSet:GetDatalakeStatus'
, getDatalakeStatus_accountSet
- The Amazon Web Services account ID for which a static snapshot of the
current Amazon Web Services Region, including enabled accounts and log
sources, is retrieved.
$sel:maxAccountResults:GetDatalakeStatus'
, getDatalakeStatus_maxAccountResults
- The maximum limit of accounts for which the static snapshot of the
current Region, including enabled accounts and log sources, is
retrieved.
GetDatalakeStatus
, getDatalakeStatus_nextToken
- Lists if there are more results available. The value of nextToken is a
unique pagination token for each page. Repeat the call using the
returned token to retrieve the next page. Keep all other arguments
unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
Request Lenses
getDatalakeStatus_accountSet :: Lens' GetDatalakeStatus (Maybe [Text]) Source #
The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
getDatalakeStatus_maxAccountResults :: Lens' GetDatalakeStatus (Maybe Int) Source #
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
getDatalakeStatus_nextToken :: Lens' GetDatalakeStatus (Maybe Text) Source #
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
Destructuring the Response
data GetDatalakeStatusResponse Source #
See: newGetDatalakeStatusResponse
smart constructor.
GetDatalakeStatusResponse' | |
|
Instances
newGetDatalakeStatusResponse Source #
Create a value of GetDatalakeStatusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetDatalakeStatus
, getDatalakeStatusResponse_nextToken
- Lists if there are more results available. The value of nextToken is a
unique pagination token for each page. Repeat the call using the
returned token to retrieve the next page. Keep all other arguments
unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
$sel:httpStatus:GetDatalakeStatusResponse'
, getDatalakeStatusResponse_httpStatus
- The response's http status code.
$sel:accountSourcesList:GetDatalakeStatusResponse'
, getDatalakeStatusResponse_accountSourcesList
- The list of enabled accounts and enabled sources.
Response Lenses
getDatalakeStatusResponse_nextToken :: Lens' GetDatalakeStatusResponse (Maybe Text) Source #
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
getDatalakeStatusResponse_httpStatus :: Lens' GetDatalakeStatusResponse Int Source #
The response's http status code.
getDatalakeStatusResponse_accountSourcesList :: Lens' GetDatalakeStatusResponse [AccountSources] Source #
The list of enabled accounts and enabled sources.