{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.DataExchange.Types.ImportAssetFromApiGatewayApiResponseDetails where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.DataExchange.Types.ProtocolType
import qualified Amazonka.Prelude as Prelude
data ImportAssetFromApiGatewayApiResponseDetails = ImportAssetFromApiGatewayApiResponseDetails'
{
ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
apiDescription :: Prelude.Maybe Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
apiKey :: Prelude.Maybe Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> Text
apiId :: Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> Text
apiName :: Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> Text
apiSpecificationMd5Hash :: Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> Text
apiSpecificationUploadUrl :: Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> ISO8601
apiSpecificationUploadUrlExpiresAt :: Data.ISO8601,
ImportAssetFromApiGatewayApiResponseDetails -> Text
dataSetId :: Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> ProtocolType
protocolType :: ProtocolType,
ImportAssetFromApiGatewayApiResponseDetails -> Text
revisionId :: Prelude.Text,
ImportAssetFromApiGatewayApiResponseDetails -> Text
stage :: Prelude.Text
}
deriving (ImportAssetFromApiGatewayApiResponseDetails
-> ImportAssetFromApiGatewayApiResponseDetails -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImportAssetFromApiGatewayApiResponseDetails
-> ImportAssetFromApiGatewayApiResponseDetails -> Bool
$c/= :: ImportAssetFromApiGatewayApiResponseDetails
-> ImportAssetFromApiGatewayApiResponseDetails -> Bool
== :: ImportAssetFromApiGatewayApiResponseDetails
-> ImportAssetFromApiGatewayApiResponseDetails -> Bool
$c== :: ImportAssetFromApiGatewayApiResponseDetails
-> ImportAssetFromApiGatewayApiResponseDetails -> Bool
Prelude.Eq, ReadPrec [ImportAssetFromApiGatewayApiResponseDetails]
ReadPrec ImportAssetFromApiGatewayApiResponseDetails
Int -> ReadS ImportAssetFromApiGatewayApiResponseDetails
ReadS [ImportAssetFromApiGatewayApiResponseDetails]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ImportAssetFromApiGatewayApiResponseDetails]
$creadListPrec :: ReadPrec [ImportAssetFromApiGatewayApiResponseDetails]
readPrec :: ReadPrec ImportAssetFromApiGatewayApiResponseDetails
$creadPrec :: ReadPrec ImportAssetFromApiGatewayApiResponseDetails
readList :: ReadS [ImportAssetFromApiGatewayApiResponseDetails]
$creadList :: ReadS [ImportAssetFromApiGatewayApiResponseDetails]
readsPrec :: Int -> ReadS ImportAssetFromApiGatewayApiResponseDetails
$creadsPrec :: Int -> ReadS ImportAssetFromApiGatewayApiResponseDetails
Prelude.Read, Int -> ImportAssetFromApiGatewayApiResponseDetails -> ShowS
[ImportAssetFromApiGatewayApiResponseDetails] -> ShowS
ImportAssetFromApiGatewayApiResponseDetails -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImportAssetFromApiGatewayApiResponseDetails] -> ShowS
$cshowList :: [ImportAssetFromApiGatewayApiResponseDetails] -> ShowS
show :: ImportAssetFromApiGatewayApiResponseDetails -> String
$cshow :: ImportAssetFromApiGatewayApiResponseDetails -> String
showsPrec :: Int -> ImportAssetFromApiGatewayApiResponseDetails -> ShowS
$cshowsPrec :: Int -> ImportAssetFromApiGatewayApiResponseDetails -> ShowS
Prelude.Show, forall x.
Rep ImportAssetFromApiGatewayApiResponseDetails x
-> ImportAssetFromApiGatewayApiResponseDetails
forall x.
ImportAssetFromApiGatewayApiResponseDetails
-> Rep ImportAssetFromApiGatewayApiResponseDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ImportAssetFromApiGatewayApiResponseDetails x
-> ImportAssetFromApiGatewayApiResponseDetails
$cfrom :: forall x.
ImportAssetFromApiGatewayApiResponseDetails
-> Rep ImportAssetFromApiGatewayApiResponseDetails x
Prelude.Generic)
newImportAssetFromApiGatewayApiResponseDetails ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.UTCTime ->
Prelude.Text ->
ProtocolType ->
Prelude.Text ->
Prelude.Text ->
ImportAssetFromApiGatewayApiResponseDetails
newImportAssetFromApiGatewayApiResponseDetails :: Text
-> Text
-> Text
-> Text
-> UTCTime
-> Text
-> ProtocolType
-> Text
-> Text
-> ImportAssetFromApiGatewayApiResponseDetails
newImportAssetFromApiGatewayApiResponseDetails
Text
pApiId_
Text
pApiName_
Text
pApiSpecificationMd5Hash_
Text
pApiSpecificationUploadUrl_
UTCTime
pApiSpecificationUploadUrlExpiresAt_
Text
pDataSetId_
ProtocolType
pProtocolType_
Text
pRevisionId_
Text
pStage_ =
ImportAssetFromApiGatewayApiResponseDetails'
{ $sel:apiDescription:ImportAssetFromApiGatewayApiResponseDetails' :: Maybe Text
apiDescription =
forall a. Maybe a
Prelude.Nothing,
$sel:apiKey:ImportAssetFromApiGatewayApiResponseDetails' :: Maybe Text
apiKey = forall a. Maybe a
Prelude.Nothing,
$sel:apiId:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiId = Text
pApiId_,
$sel:apiName:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiName = Text
pApiName_,
$sel:apiSpecificationMd5Hash:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiSpecificationMd5Hash =
Text
pApiSpecificationMd5Hash_,
$sel:apiSpecificationUploadUrl:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiSpecificationUploadUrl =
Text
pApiSpecificationUploadUrl_,
$sel:apiSpecificationUploadUrlExpiresAt:ImportAssetFromApiGatewayApiResponseDetails' :: ISO8601
apiSpecificationUploadUrlExpiresAt =
forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pApiSpecificationUploadUrlExpiresAt_,
$sel:dataSetId:ImportAssetFromApiGatewayApiResponseDetails' :: Text
dataSetId = Text
pDataSetId_,
$sel:protocolType:ImportAssetFromApiGatewayApiResponseDetails' :: ProtocolType
protocolType = ProtocolType
pProtocolType_,
$sel:revisionId:ImportAssetFromApiGatewayApiResponseDetails' :: Text
revisionId = Text
pRevisionId_,
$sel:stage:ImportAssetFromApiGatewayApiResponseDetails' :: Text
stage = Text
pStage_
}
importAssetFromApiGatewayApiResponseDetails_apiDescription :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails (Prelude.Maybe Prelude.Text)
importAssetFromApiGatewayApiResponseDetails_apiDescription :: Lens' ImportAssetFromApiGatewayApiResponseDetails (Maybe Text)
importAssetFromApiGatewayApiResponseDetails_apiDescription = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Maybe Text
apiDescription :: Maybe Text
$sel:apiDescription:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
apiDescription} -> Maybe Text
apiDescription) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Maybe Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiDescription:ImportAssetFromApiGatewayApiResponseDetails' :: Maybe Text
apiDescription = Maybe Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_apiKey :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails (Prelude.Maybe Prelude.Text)
importAssetFromApiGatewayApiResponseDetails_apiKey :: Lens' ImportAssetFromApiGatewayApiResponseDetails (Maybe Text)
importAssetFromApiGatewayApiResponseDetails_apiKey = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Maybe Text
apiKey :: Maybe Text
$sel:apiKey:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
apiKey} -> Maybe Text
apiKey) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Maybe Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiKey:ImportAssetFromApiGatewayApiResponseDetails' :: Maybe Text
apiKey = Maybe Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_apiId :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_apiId :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_apiId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
apiId :: Text
$sel:apiId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
apiId} -> Text
apiId) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiId:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiId = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_apiName :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_apiName :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_apiName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
apiName :: Text
$sel:apiName:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
apiName} -> Text
apiName) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiName:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiName = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_apiSpecificationMd5Hash :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_apiSpecificationMd5Hash :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_apiSpecificationMd5Hash = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
apiSpecificationMd5Hash :: Text
$sel:apiSpecificationMd5Hash:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
apiSpecificationMd5Hash} -> Text
apiSpecificationMd5Hash) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiSpecificationMd5Hash:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiSpecificationMd5Hash = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_apiSpecificationUploadUrl :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_apiSpecificationUploadUrl :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_apiSpecificationUploadUrl = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
apiSpecificationUploadUrl :: Text
$sel:apiSpecificationUploadUrl:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
apiSpecificationUploadUrl} -> Text
apiSpecificationUploadUrl) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiSpecificationUploadUrl:ImportAssetFromApiGatewayApiResponseDetails' :: Text
apiSpecificationUploadUrl = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_apiSpecificationUploadUrlExpiresAt :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.UTCTime
importAssetFromApiGatewayApiResponseDetails_apiSpecificationUploadUrlExpiresAt :: Lens' ImportAssetFromApiGatewayApiResponseDetails UTCTime
importAssetFromApiGatewayApiResponseDetails_apiSpecificationUploadUrlExpiresAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {ISO8601
apiSpecificationUploadUrlExpiresAt :: ISO8601
$sel:apiSpecificationUploadUrlExpiresAt:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> ISO8601
apiSpecificationUploadUrlExpiresAt} -> ISO8601
apiSpecificationUploadUrlExpiresAt) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} ISO8601
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:apiSpecificationUploadUrlExpiresAt:ImportAssetFromApiGatewayApiResponseDetails' :: ISO8601
apiSpecificationUploadUrlExpiresAt = ISO8601
a} :: ImportAssetFromApiGatewayApiResponseDetails) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
importAssetFromApiGatewayApiResponseDetails_dataSetId :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_dataSetId :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_dataSetId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
dataSetId :: Text
$sel:dataSetId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
dataSetId} -> Text
dataSetId) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:dataSetId:ImportAssetFromApiGatewayApiResponseDetails' :: Text
dataSetId = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_protocolType :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails ProtocolType
importAssetFromApiGatewayApiResponseDetails_protocolType :: Lens' ImportAssetFromApiGatewayApiResponseDetails ProtocolType
importAssetFromApiGatewayApiResponseDetails_protocolType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {ProtocolType
protocolType :: ProtocolType
$sel:protocolType:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> ProtocolType
protocolType} -> ProtocolType
protocolType) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} ProtocolType
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:protocolType:ImportAssetFromApiGatewayApiResponseDetails' :: ProtocolType
protocolType = ProtocolType
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_revisionId :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_revisionId :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_revisionId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
revisionId :: Text
$sel:revisionId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
revisionId} -> Text
revisionId) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:revisionId:ImportAssetFromApiGatewayApiResponseDetails' :: Text
revisionId = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
importAssetFromApiGatewayApiResponseDetails_stage :: Lens.Lens' ImportAssetFromApiGatewayApiResponseDetails Prelude.Text
importAssetFromApiGatewayApiResponseDetails_stage :: Lens' ImportAssetFromApiGatewayApiResponseDetails Text
importAssetFromApiGatewayApiResponseDetails_stage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportAssetFromApiGatewayApiResponseDetails' {Text
stage :: Text
$sel:stage:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
stage} -> Text
stage) (\s :: ImportAssetFromApiGatewayApiResponseDetails
s@ImportAssetFromApiGatewayApiResponseDetails' {} Text
a -> ImportAssetFromApiGatewayApiResponseDetails
s {$sel:stage:ImportAssetFromApiGatewayApiResponseDetails' :: Text
stage = Text
a} :: ImportAssetFromApiGatewayApiResponseDetails)
instance
Data.FromJSON
ImportAssetFromApiGatewayApiResponseDetails
where
parseJSON :: Value -> Parser ImportAssetFromApiGatewayApiResponseDetails
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"ImportAssetFromApiGatewayApiResponseDetails"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Text
-> Text
-> Text
-> Text
-> ISO8601
-> Text
-> ProtocolType
-> Text
-> Text
-> ImportAssetFromApiGatewayApiResponseDetails
ImportAssetFromApiGatewayApiResponseDetails'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ApiDescription")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ApiKey")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ApiId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ApiName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ApiSpecificationMd5Hash")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ApiSpecificationUploadUrl")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ApiSpecificationUploadUrlExpiresAt")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"DataSetId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ProtocolType")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"RevisionId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Stage")
)
instance
Prelude.Hashable
ImportAssetFromApiGatewayApiResponseDetails
where
hashWithSalt :: Int -> ImportAssetFromApiGatewayApiResponseDetails -> Int
hashWithSalt
Int
_salt
ImportAssetFromApiGatewayApiResponseDetails' {Maybe Text
Text
ISO8601
ProtocolType
stage :: Text
revisionId :: Text
protocolType :: ProtocolType
dataSetId :: Text
apiSpecificationUploadUrlExpiresAt :: ISO8601
apiSpecificationUploadUrl :: Text
apiSpecificationMd5Hash :: Text
apiName :: Text
apiId :: Text
apiKey :: Maybe Text
apiDescription :: Maybe Text
$sel:stage:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:revisionId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:protocolType:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> ProtocolType
$sel:dataSetId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiSpecificationUploadUrlExpiresAt:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> ISO8601
$sel:apiSpecificationUploadUrl:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiSpecificationMd5Hash:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiName:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiKey:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
$sel:apiDescription:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
apiDescription
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
apiKey
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
apiId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
apiName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
apiSpecificationMd5Hash
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
apiSpecificationUploadUrl
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ISO8601
apiSpecificationUploadUrlExpiresAt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
dataSetId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ProtocolType
protocolType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
revisionId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
stage
instance
Prelude.NFData
ImportAssetFromApiGatewayApiResponseDetails
where
rnf :: ImportAssetFromApiGatewayApiResponseDetails -> ()
rnf ImportAssetFromApiGatewayApiResponseDetails' {Maybe Text
Text
ISO8601
ProtocolType
stage :: Text
revisionId :: Text
protocolType :: ProtocolType
dataSetId :: Text
apiSpecificationUploadUrlExpiresAt :: ISO8601
apiSpecificationUploadUrl :: Text
apiSpecificationMd5Hash :: Text
apiName :: Text
apiId :: Text
apiKey :: Maybe Text
apiDescription :: Maybe Text
$sel:stage:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:revisionId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:protocolType:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> ProtocolType
$sel:dataSetId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiSpecificationUploadUrlExpiresAt:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> ISO8601
$sel:apiSpecificationUploadUrl:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiSpecificationMd5Hash:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiName:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiId:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Text
$sel:apiKey:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
$sel:apiDescription:ImportAssetFromApiGatewayApiResponseDetails' :: ImportAssetFromApiGatewayApiResponseDetails -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
apiDescription
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
apiKey
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
apiId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
apiName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
apiSpecificationMd5Hash
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
apiSpecificationUploadUrl
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ISO8601
apiSpecificationUploadUrlExpiresAt
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
dataSetId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ProtocolType
protocolType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
revisionId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
stage