{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SecurityLake.CreateDatalake
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- 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. You can either use the @enableAll@ parameter to specify all
-- Regions or specify the Regions where you want to enable Security Lake.
-- To specify particular Regions, use the @Regions@ parameter and then
-- configure these Regions using the @configurations@ parameter. 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 @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 Amazon Web Services account in the
-- current Region, including security log and event data. For more
-- information, see the
-- <https://docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html Amazon Security Lake User Guide>.
module Amazonka.SecurityLake.CreateDatalake
  ( -- * Creating a Request
    CreateDatalake (..),
    newCreateDatalake,

    -- * Request Lenses
    createDatalake_configurations,
    createDatalake_enableAll,
    createDatalake_metaStoreManagerRoleArn,
    createDatalake_regions,

    -- * Destructuring the Response
    CreateDatalakeResponse (..),
    newCreateDatalakeResponse,

    -- * Response Lenses
    createDatalakeResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SecurityLake.Types

-- | /See:/ 'newCreateDatalake' smart constructor.
data CreateDatalake = CreateDatalake'
  { -- | Specify the Region or Regions that will contribute data to the rollup
    -- region.
    CreateDatalake -> Maybe (HashMap Region LakeConfigurationRequest)
configurations :: Prelude.Maybe (Prelude.HashMap Region LakeConfigurationRequest),
    -- | Enable Security Lake in all Regions.
    CreateDatalake -> Maybe Bool
enableAll :: Prelude.Maybe Prelude.Bool,
    -- | The Amazon Resource Name (ARN) used to create and update the Glue table.
    -- This table contains partitions generated by the ingestion and
    -- normalization of Amazon Web Services log sources and custom sources.
    CreateDatalake -> Maybe Text
metaStoreManagerRoleArn :: Prelude.Maybe Prelude.Text,
    -- | Enable Security Lake in the specified Regions. To enable Security Lake
    -- in specific Amazon Web Services Regions, such as us-east-1 or
    -- ap-northeast-3, provide the Region codes. For a list of Region codes,
    -- see
    -- <https://docs.aws.amazon.com/general/latest/gr/securitylake.html Amazon Security Lake endpoints>
    -- in the Amazon Web Services General Reference.
    CreateDatalake -> Maybe [Region]
regions :: Prelude.Maybe [Region]
  }
  deriving (CreateDatalake -> CreateDatalake -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateDatalake -> CreateDatalake -> Bool
$c/= :: CreateDatalake -> CreateDatalake -> Bool
== :: CreateDatalake -> CreateDatalake -> Bool
$c== :: CreateDatalake -> CreateDatalake -> Bool
Prelude.Eq, ReadPrec [CreateDatalake]
ReadPrec CreateDatalake
Int -> ReadS CreateDatalake
ReadS [CreateDatalake]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateDatalake]
$creadListPrec :: ReadPrec [CreateDatalake]
readPrec :: ReadPrec CreateDatalake
$creadPrec :: ReadPrec CreateDatalake
readList :: ReadS [CreateDatalake]
$creadList :: ReadS [CreateDatalake]
readsPrec :: Int -> ReadS CreateDatalake
$creadsPrec :: Int -> ReadS CreateDatalake
Prelude.Read, Int -> CreateDatalake -> ShowS
[CreateDatalake] -> ShowS
CreateDatalake -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateDatalake] -> ShowS
$cshowList :: [CreateDatalake] -> ShowS
show :: CreateDatalake -> String
$cshow :: CreateDatalake -> String
showsPrec :: Int -> CreateDatalake -> ShowS
$cshowsPrec :: Int -> CreateDatalake -> ShowS
Prelude.Show, forall x. Rep CreateDatalake x -> CreateDatalake
forall x. CreateDatalake -> Rep CreateDatalake x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateDatalake x -> CreateDatalake
$cfrom :: forall x. CreateDatalake -> Rep CreateDatalake x
Prelude.Generic)

-- |
-- Create a value of 'CreateDatalake' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'configurations', 'createDatalake_configurations' - Specify the Region or Regions that will contribute data to the rollup
-- region.
--
-- 'enableAll', 'createDatalake_enableAll' - Enable Security Lake in all Regions.
--
-- 'metaStoreManagerRoleArn', 'createDatalake_metaStoreManagerRoleArn' - The Amazon Resource Name (ARN) used to create and update the Glue table.
-- This table contains partitions generated by the ingestion and
-- normalization of Amazon Web Services log sources and custom sources.
--
-- 'regions', 'createDatalake_regions' - Enable Security Lake in the specified Regions. To enable Security Lake
-- in specific Amazon Web Services Regions, such as us-east-1 or
-- ap-northeast-3, provide the Region codes. For a list of Region codes,
-- see
-- <https://docs.aws.amazon.com/general/latest/gr/securitylake.html Amazon Security Lake endpoints>
-- in the Amazon Web Services General Reference.
newCreateDatalake ::
  CreateDatalake
newCreateDatalake :: CreateDatalake
newCreateDatalake =
  CreateDatalake'
    { $sel:configurations:CreateDatalake' :: Maybe (HashMap Region LakeConfigurationRequest)
configurations = forall a. Maybe a
Prelude.Nothing,
      $sel:enableAll:CreateDatalake' :: Maybe Bool
enableAll = forall a. Maybe a
Prelude.Nothing,
      $sel:metaStoreManagerRoleArn:CreateDatalake' :: Maybe Text
metaStoreManagerRoleArn = forall a. Maybe a
Prelude.Nothing,
      $sel:regions:CreateDatalake' :: Maybe [Region]
regions = forall a. Maybe a
Prelude.Nothing
    }

-- | Specify the Region or Regions that will contribute data to the rollup
-- region.
createDatalake_configurations :: Lens.Lens' CreateDatalake (Prelude.Maybe (Prelude.HashMap Region LakeConfigurationRequest))
createDatalake_configurations :: Lens'
  CreateDatalake (Maybe (HashMap Region LakeConfigurationRequest))
createDatalake_configurations = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDatalake' {Maybe (HashMap Region LakeConfigurationRequest)
configurations :: Maybe (HashMap Region LakeConfigurationRequest)
$sel:configurations:CreateDatalake' :: CreateDatalake -> Maybe (HashMap Region LakeConfigurationRequest)
configurations} -> Maybe (HashMap Region LakeConfigurationRequest)
configurations) (\s :: CreateDatalake
s@CreateDatalake' {} Maybe (HashMap Region LakeConfigurationRequest)
a -> CreateDatalake
s {$sel:configurations:CreateDatalake' :: Maybe (HashMap Region LakeConfigurationRequest)
configurations = Maybe (HashMap Region LakeConfigurationRequest)
a} :: CreateDatalake) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Enable Security Lake in all Regions.
createDatalake_enableAll :: Lens.Lens' CreateDatalake (Prelude.Maybe Prelude.Bool)
createDatalake_enableAll :: Lens' CreateDatalake (Maybe Bool)
createDatalake_enableAll = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDatalake' {Maybe Bool
enableAll :: Maybe Bool
$sel:enableAll:CreateDatalake' :: CreateDatalake -> Maybe Bool
enableAll} -> Maybe Bool
enableAll) (\s :: CreateDatalake
s@CreateDatalake' {} Maybe Bool
a -> CreateDatalake
s {$sel:enableAll:CreateDatalake' :: Maybe Bool
enableAll = Maybe Bool
a} :: CreateDatalake)

-- | The Amazon Resource Name (ARN) used to create and update the Glue table.
-- This table contains partitions generated by the ingestion and
-- normalization of Amazon Web Services log sources and custom sources.
createDatalake_metaStoreManagerRoleArn :: Lens.Lens' CreateDatalake (Prelude.Maybe Prelude.Text)
createDatalake_metaStoreManagerRoleArn :: Lens' CreateDatalake (Maybe Text)
createDatalake_metaStoreManagerRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDatalake' {Maybe Text
metaStoreManagerRoleArn :: Maybe Text
$sel:metaStoreManagerRoleArn:CreateDatalake' :: CreateDatalake -> Maybe Text
metaStoreManagerRoleArn} -> Maybe Text
metaStoreManagerRoleArn) (\s :: CreateDatalake
s@CreateDatalake' {} Maybe Text
a -> CreateDatalake
s {$sel:metaStoreManagerRoleArn:CreateDatalake' :: Maybe Text
metaStoreManagerRoleArn = Maybe Text
a} :: CreateDatalake)

-- | Enable Security Lake in the specified Regions. To enable Security Lake
-- in specific Amazon Web Services Regions, such as us-east-1 or
-- ap-northeast-3, provide the Region codes. For a list of Region codes,
-- see
-- <https://docs.aws.amazon.com/general/latest/gr/securitylake.html Amazon Security Lake endpoints>
-- in the Amazon Web Services General Reference.
createDatalake_regions :: Lens.Lens' CreateDatalake (Prelude.Maybe [Region])
createDatalake_regions :: Lens' CreateDatalake (Maybe [Region])
createDatalake_regions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDatalake' {Maybe [Region]
regions :: Maybe [Region]
$sel:regions:CreateDatalake' :: CreateDatalake -> Maybe [Region]
regions} -> Maybe [Region]
regions) (\s :: CreateDatalake
s@CreateDatalake' {} Maybe [Region]
a -> CreateDatalake
s {$sel:regions:CreateDatalake' :: Maybe [Region]
regions = Maybe [Region]
a} :: CreateDatalake) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Core.AWSRequest CreateDatalake where
  type
    AWSResponse CreateDatalake =
      CreateDatalakeResponse
  request :: (Service -> Service) -> CreateDatalake -> Request CreateDatalake
request Service -> Service
overrides =
    forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy CreateDatalake
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse CreateDatalake)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
      ( \Int
s ResponseHeaders
h ()
x ->
          Int -> CreateDatalakeResponse
CreateDatalakeResponse'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable CreateDatalake where
  hashWithSalt :: Int -> CreateDatalake -> Int
hashWithSalt Int
_salt CreateDatalake' {Maybe Bool
Maybe [Region]
Maybe Text
Maybe (HashMap Region LakeConfigurationRequest)
regions :: Maybe [Region]
metaStoreManagerRoleArn :: Maybe Text
enableAll :: Maybe Bool
configurations :: Maybe (HashMap Region LakeConfigurationRequest)
$sel:regions:CreateDatalake' :: CreateDatalake -> Maybe [Region]
$sel:metaStoreManagerRoleArn:CreateDatalake' :: CreateDatalake -> Maybe Text
$sel:enableAll:CreateDatalake' :: CreateDatalake -> Maybe Bool
$sel:configurations:CreateDatalake' :: CreateDatalake -> Maybe (HashMap Region LakeConfigurationRequest)
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Region LakeConfigurationRequest)
configurations
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
enableAll
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
metaStoreManagerRoleArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Region]
regions

instance Prelude.NFData CreateDatalake where
  rnf :: CreateDatalake -> ()
rnf CreateDatalake' {Maybe Bool
Maybe [Region]
Maybe Text
Maybe (HashMap Region LakeConfigurationRequest)
regions :: Maybe [Region]
metaStoreManagerRoleArn :: Maybe Text
enableAll :: Maybe Bool
configurations :: Maybe (HashMap Region LakeConfigurationRequest)
$sel:regions:CreateDatalake' :: CreateDatalake -> Maybe [Region]
$sel:metaStoreManagerRoleArn:CreateDatalake' :: CreateDatalake -> Maybe Text
$sel:enableAll:CreateDatalake' :: CreateDatalake -> Maybe Bool
$sel:configurations:CreateDatalake' :: CreateDatalake -> Maybe (HashMap Region LakeConfigurationRequest)
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Region LakeConfigurationRequest)
configurations
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
enableAll
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
metaStoreManagerRoleArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Region]
regions

instance Data.ToHeaders CreateDatalake where
  toHeaders :: CreateDatalake -> ResponseHeaders
toHeaders =
    forall a b. a -> b -> a
Prelude.const
      ( forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"Content-Type"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Data.ToJSON CreateDatalake where
  toJSON :: CreateDatalake -> Value
toJSON CreateDatalake' {Maybe Bool
Maybe [Region]
Maybe Text
Maybe (HashMap Region LakeConfigurationRequest)
regions :: Maybe [Region]
metaStoreManagerRoleArn :: Maybe Text
enableAll :: Maybe Bool
configurations :: Maybe (HashMap Region LakeConfigurationRequest)
$sel:regions:CreateDatalake' :: CreateDatalake -> Maybe [Region]
$sel:metaStoreManagerRoleArn:CreateDatalake' :: CreateDatalake -> Maybe Text
$sel:enableAll:CreateDatalake' :: CreateDatalake -> Maybe Bool
$sel:configurations:CreateDatalake' :: CreateDatalake -> Maybe (HashMap Region LakeConfigurationRequest)
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"configurations" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
              forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (HashMap Region LakeConfigurationRequest)
configurations,
            (Key
"enableAll" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
enableAll,
            (Key
"metaStoreManagerRoleArn" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
              forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
metaStoreManagerRoleArn,
            (Key
"regions" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Region]
regions
          ]
      )

instance Data.ToPath CreateDatalake where
  toPath :: CreateDatalake -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/v1/datalake"

instance Data.ToQuery CreateDatalake where
  toQuery :: CreateDatalake -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newCreateDatalakeResponse' smart constructor.
data CreateDatalakeResponse = CreateDatalakeResponse'
  { -- | The response's http status code.
    CreateDatalakeResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (CreateDatalakeResponse -> CreateDatalakeResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateDatalakeResponse -> CreateDatalakeResponse -> Bool
$c/= :: CreateDatalakeResponse -> CreateDatalakeResponse -> Bool
== :: CreateDatalakeResponse -> CreateDatalakeResponse -> Bool
$c== :: CreateDatalakeResponse -> CreateDatalakeResponse -> Bool
Prelude.Eq, ReadPrec [CreateDatalakeResponse]
ReadPrec CreateDatalakeResponse
Int -> ReadS CreateDatalakeResponse
ReadS [CreateDatalakeResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateDatalakeResponse]
$creadListPrec :: ReadPrec [CreateDatalakeResponse]
readPrec :: ReadPrec CreateDatalakeResponse
$creadPrec :: ReadPrec CreateDatalakeResponse
readList :: ReadS [CreateDatalakeResponse]
$creadList :: ReadS [CreateDatalakeResponse]
readsPrec :: Int -> ReadS CreateDatalakeResponse
$creadsPrec :: Int -> ReadS CreateDatalakeResponse
Prelude.Read, Int -> CreateDatalakeResponse -> ShowS
[CreateDatalakeResponse] -> ShowS
CreateDatalakeResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateDatalakeResponse] -> ShowS
$cshowList :: [CreateDatalakeResponse] -> ShowS
show :: CreateDatalakeResponse -> String
$cshow :: CreateDatalakeResponse -> String
showsPrec :: Int -> CreateDatalakeResponse -> ShowS
$cshowsPrec :: Int -> CreateDatalakeResponse -> ShowS
Prelude.Show, forall x. Rep CreateDatalakeResponse x -> CreateDatalakeResponse
forall x. CreateDatalakeResponse -> Rep CreateDatalakeResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateDatalakeResponse x -> CreateDatalakeResponse
$cfrom :: forall x. CreateDatalakeResponse -> Rep CreateDatalakeResponse x
Prelude.Generic)

-- |
-- Create a value of 'CreateDatalakeResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'httpStatus', 'createDatalakeResponse_httpStatus' - The response's http status code.
newCreateDatalakeResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  CreateDatalakeResponse
newCreateDatalakeResponse :: Int -> CreateDatalakeResponse
newCreateDatalakeResponse Int
pHttpStatus_ =
  CreateDatalakeResponse' {$sel:httpStatus:CreateDatalakeResponse' :: Int
httpStatus = Int
pHttpStatus_}

-- | The response's http status code.
createDatalakeResponse_httpStatus :: Lens.Lens' CreateDatalakeResponse Prelude.Int
createDatalakeResponse_httpStatus :: Lens' CreateDatalakeResponse Int
createDatalakeResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDatalakeResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateDatalakeResponse' :: CreateDatalakeResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateDatalakeResponse
s@CreateDatalakeResponse' {} Int
a -> CreateDatalakeResponse
s {$sel:httpStatus:CreateDatalakeResponse' :: Int
httpStatus = Int
a} :: CreateDatalakeResponse)

instance Prelude.NFData CreateDatalakeResponse where
  rnf :: CreateDatalakeResponse -> ()
rnf CreateDatalakeResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateDatalakeResponse' :: CreateDatalakeResponse -> Int
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus