{-# 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 #-}
module Amazonka.ServiceCatalog.ListServiceActionsForProvisioningArtifact
(
ListServiceActionsForProvisioningArtifact (..),
newListServiceActionsForProvisioningArtifact,
listServiceActionsForProvisioningArtifact_acceptLanguage,
listServiceActionsForProvisioningArtifact_pageSize,
listServiceActionsForProvisioningArtifact_pageToken,
listServiceActionsForProvisioningArtifact_productId,
listServiceActionsForProvisioningArtifact_provisioningArtifactId,
ListServiceActionsForProvisioningArtifactResponse (..),
newListServiceActionsForProvisioningArtifactResponse,
listServiceActionsForProvisioningArtifactResponse_nextPageToken,
listServiceActionsForProvisioningArtifactResponse_serviceActionSummaries,
listServiceActionsForProvisioningArtifactResponse_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.ServiceCatalog.Types
data ListServiceActionsForProvisioningArtifact = ListServiceActionsForProvisioningArtifact'
{
ListServiceActionsForProvisioningArtifact -> Maybe Text
acceptLanguage :: Prelude.Maybe Prelude.Text,
ListServiceActionsForProvisioningArtifact -> Maybe Natural
pageSize :: Prelude.Maybe Prelude.Natural,
ListServiceActionsForProvisioningArtifact -> Maybe Text
pageToken :: Prelude.Maybe Prelude.Text,
ListServiceActionsForProvisioningArtifact -> Text
productId :: Prelude.Text,
ListServiceActionsForProvisioningArtifact -> Text
provisioningArtifactId :: Prelude.Text
}
deriving (ListServiceActionsForProvisioningArtifact
-> ListServiceActionsForProvisioningArtifact -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListServiceActionsForProvisioningArtifact
-> ListServiceActionsForProvisioningArtifact -> Bool
$c/= :: ListServiceActionsForProvisioningArtifact
-> ListServiceActionsForProvisioningArtifact -> Bool
== :: ListServiceActionsForProvisioningArtifact
-> ListServiceActionsForProvisioningArtifact -> Bool
$c== :: ListServiceActionsForProvisioningArtifact
-> ListServiceActionsForProvisioningArtifact -> Bool
Prelude.Eq, ReadPrec [ListServiceActionsForProvisioningArtifact]
ReadPrec ListServiceActionsForProvisioningArtifact
Int -> ReadS ListServiceActionsForProvisioningArtifact
ReadS [ListServiceActionsForProvisioningArtifact]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListServiceActionsForProvisioningArtifact]
$creadListPrec :: ReadPrec [ListServiceActionsForProvisioningArtifact]
readPrec :: ReadPrec ListServiceActionsForProvisioningArtifact
$creadPrec :: ReadPrec ListServiceActionsForProvisioningArtifact
readList :: ReadS [ListServiceActionsForProvisioningArtifact]
$creadList :: ReadS [ListServiceActionsForProvisioningArtifact]
readsPrec :: Int -> ReadS ListServiceActionsForProvisioningArtifact
$creadsPrec :: Int -> ReadS ListServiceActionsForProvisioningArtifact
Prelude.Read, Int -> ListServiceActionsForProvisioningArtifact -> ShowS
[ListServiceActionsForProvisioningArtifact] -> ShowS
ListServiceActionsForProvisioningArtifact -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListServiceActionsForProvisioningArtifact] -> ShowS
$cshowList :: [ListServiceActionsForProvisioningArtifact] -> ShowS
show :: ListServiceActionsForProvisioningArtifact -> String
$cshow :: ListServiceActionsForProvisioningArtifact -> String
showsPrec :: Int -> ListServiceActionsForProvisioningArtifact -> ShowS
$cshowsPrec :: Int -> ListServiceActionsForProvisioningArtifact -> ShowS
Prelude.Show, forall x.
Rep ListServiceActionsForProvisioningArtifact x
-> ListServiceActionsForProvisioningArtifact
forall x.
ListServiceActionsForProvisioningArtifact
-> Rep ListServiceActionsForProvisioningArtifact x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListServiceActionsForProvisioningArtifact x
-> ListServiceActionsForProvisioningArtifact
$cfrom :: forall x.
ListServiceActionsForProvisioningArtifact
-> Rep ListServiceActionsForProvisioningArtifact x
Prelude.Generic)
newListServiceActionsForProvisioningArtifact ::
Prelude.Text ->
Prelude.Text ->
ListServiceActionsForProvisioningArtifact
newListServiceActionsForProvisioningArtifact :: Text -> Text -> ListServiceActionsForProvisioningArtifact
newListServiceActionsForProvisioningArtifact
Text
pProductId_
Text
pProvisioningArtifactId_ =
ListServiceActionsForProvisioningArtifact'
{ $sel:acceptLanguage:ListServiceActionsForProvisioningArtifact' :: Maybe Text
acceptLanguage =
forall a. Maybe a
Prelude.Nothing,
$sel:pageSize:ListServiceActionsForProvisioningArtifact' :: Maybe Natural
pageSize = forall a. Maybe a
Prelude.Nothing,
$sel:pageToken:ListServiceActionsForProvisioningArtifact' :: Maybe Text
pageToken = forall a. Maybe a
Prelude.Nothing,
$sel:productId:ListServiceActionsForProvisioningArtifact' :: Text
productId = Text
pProductId_,
$sel:provisioningArtifactId:ListServiceActionsForProvisioningArtifact' :: Text
provisioningArtifactId =
Text
pProvisioningArtifactId_
}
listServiceActionsForProvisioningArtifact_acceptLanguage :: Lens.Lens' ListServiceActionsForProvisioningArtifact (Prelude.Maybe Prelude.Text)
listServiceActionsForProvisioningArtifact_acceptLanguage :: Lens' ListServiceActionsForProvisioningArtifact (Maybe Text)
listServiceActionsForProvisioningArtifact_acceptLanguage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifact' {Maybe Text
acceptLanguage :: Maybe Text
$sel:acceptLanguage:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
acceptLanguage} -> Maybe Text
acceptLanguage) (\s :: ListServiceActionsForProvisioningArtifact
s@ListServiceActionsForProvisioningArtifact' {} Maybe Text
a -> ListServiceActionsForProvisioningArtifact
s {$sel:acceptLanguage:ListServiceActionsForProvisioningArtifact' :: Maybe Text
acceptLanguage = Maybe Text
a} :: ListServiceActionsForProvisioningArtifact)
listServiceActionsForProvisioningArtifact_pageSize :: Lens.Lens' ListServiceActionsForProvisioningArtifact (Prelude.Maybe Prelude.Natural)
listServiceActionsForProvisioningArtifact_pageSize :: Lens' ListServiceActionsForProvisioningArtifact (Maybe Natural)
listServiceActionsForProvisioningArtifact_pageSize = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifact' {Maybe Natural
pageSize :: Maybe Natural
$sel:pageSize:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Natural
pageSize} -> Maybe Natural
pageSize) (\s :: ListServiceActionsForProvisioningArtifact
s@ListServiceActionsForProvisioningArtifact' {} Maybe Natural
a -> ListServiceActionsForProvisioningArtifact
s {$sel:pageSize:ListServiceActionsForProvisioningArtifact' :: Maybe Natural
pageSize = Maybe Natural
a} :: ListServiceActionsForProvisioningArtifact)
listServiceActionsForProvisioningArtifact_pageToken :: Lens.Lens' ListServiceActionsForProvisioningArtifact (Prelude.Maybe Prelude.Text)
listServiceActionsForProvisioningArtifact_pageToken :: Lens' ListServiceActionsForProvisioningArtifact (Maybe Text)
listServiceActionsForProvisioningArtifact_pageToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifact' {Maybe Text
pageToken :: Maybe Text
$sel:pageToken:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
pageToken} -> Maybe Text
pageToken) (\s :: ListServiceActionsForProvisioningArtifact
s@ListServiceActionsForProvisioningArtifact' {} Maybe Text
a -> ListServiceActionsForProvisioningArtifact
s {$sel:pageToken:ListServiceActionsForProvisioningArtifact' :: Maybe Text
pageToken = Maybe Text
a} :: ListServiceActionsForProvisioningArtifact)
listServiceActionsForProvisioningArtifact_productId :: Lens.Lens' ListServiceActionsForProvisioningArtifact Prelude.Text
listServiceActionsForProvisioningArtifact_productId :: Lens' ListServiceActionsForProvisioningArtifact Text
listServiceActionsForProvisioningArtifact_productId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifact' {Text
productId :: Text
$sel:productId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
productId} -> Text
productId) (\s :: ListServiceActionsForProvisioningArtifact
s@ListServiceActionsForProvisioningArtifact' {} Text
a -> ListServiceActionsForProvisioningArtifact
s {$sel:productId:ListServiceActionsForProvisioningArtifact' :: Text
productId = Text
a} :: ListServiceActionsForProvisioningArtifact)
listServiceActionsForProvisioningArtifact_provisioningArtifactId :: Lens.Lens' ListServiceActionsForProvisioningArtifact Prelude.Text
listServiceActionsForProvisioningArtifact_provisioningArtifactId :: Lens' ListServiceActionsForProvisioningArtifact Text
listServiceActionsForProvisioningArtifact_provisioningArtifactId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifact' {Text
provisioningArtifactId :: Text
$sel:provisioningArtifactId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
provisioningArtifactId} -> Text
provisioningArtifactId) (\s :: ListServiceActionsForProvisioningArtifact
s@ListServiceActionsForProvisioningArtifact' {} Text
a -> ListServiceActionsForProvisioningArtifact
s {$sel:provisioningArtifactId:ListServiceActionsForProvisioningArtifact' :: Text
provisioningArtifactId = Text
a} :: ListServiceActionsForProvisioningArtifact)
instance
Core.AWSPager
ListServiceActionsForProvisioningArtifact
where
page :: ListServiceActionsForProvisioningArtifact
-> AWSResponse ListServiceActionsForProvisioningArtifact
-> Maybe ListServiceActionsForProvisioningArtifact
page ListServiceActionsForProvisioningArtifact
rq AWSResponse ListServiceActionsForProvisioningArtifact
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListServiceActionsForProvisioningArtifact
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListServiceActionsForProvisioningArtifactResponse (Maybe Text)
listServiceActionsForProvisioningArtifactResponse_nextPageToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListServiceActionsForProvisioningArtifact
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListServiceActionsForProvisioningArtifactResponse
(Maybe [ServiceActionSummary])
listServiceActionsForProvisioningArtifactResponse_serviceActionSummaries
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListServiceActionsForProvisioningArtifact
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListServiceActionsForProvisioningArtifact (Maybe Text)
listServiceActionsForProvisioningArtifact_pageToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListServiceActionsForProvisioningArtifact
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListServiceActionsForProvisioningArtifactResponse (Maybe Text)
listServiceActionsForProvisioningArtifactResponse_nextPageToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
ListServiceActionsForProvisioningArtifact
where
type
AWSResponse
ListServiceActionsForProvisioningArtifact =
ListServiceActionsForProvisioningArtifactResponse
request :: (Service -> Service)
-> ListServiceActionsForProvisioningArtifact
-> Request ListServiceActionsForProvisioningArtifact
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 ListServiceActionsForProvisioningArtifact
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse ListServiceActionsForProvisioningArtifact)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe [ServiceActionSummary]
-> Int
-> ListServiceActionsForProvisioningArtifactResponse
ListServiceActionsForProvisioningArtifactResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"NextPageToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"ServiceActionSummaries"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
)
forall (f :: * -> *) a b. Applicative f => 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
ListServiceActionsForProvisioningArtifact
where
hashWithSalt :: Int -> ListServiceActionsForProvisioningArtifact -> Int
hashWithSalt
Int
_salt
ListServiceActionsForProvisioningArtifact' {Maybe Natural
Maybe Text
Text
provisioningArtifactId :: Text
productId :: Text
pageToken :: Maybe Text
pageSize :: Maybe Natural
acceptLanguage :: Maybe Text
$sel:provisioningArtifactId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
$sel:productId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
$sel:pageToken:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
$sel:pageSize:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Natural
$sel:acceptLanguage:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
acceptLanguage
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
pageSize
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
pageToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
productId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
provisioningArtifactId
instance
Prelude.NFData
ListServiceActionsForProvisioningArtifact
where
rnf :: ListServiceActionsForProvisioningArtifact -> ()
rnf ListServiceActionsForProvisioningArtifact' {Maybe Natural
Maybe Text
Text
provisioningArtifactId :: Text
productId :: Text
pageToken :: Maybe Text
pageSize :: Maybe Natural
acceptLanguage :: Maybe Text
$sel:provisioningArtifactId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
$sel:productId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
$sel:pageToken:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
$sel:pageSize:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Natural
$sel:acceptLanguage:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
acceptLanguage
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
pageSize
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
pageToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
productId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
provisioningArtifactId
instance
Data.ToHeaders
ListServiceActionsForProvisioningArtifact
where
toHeaders :: ListServiceActionsForProvisioningArtifact -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"AWS242ServiceCatalogService.ListServiceActionsForProvisioningArtifact" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance
Data.ToJSON
ListServiceActionsForProvisioningArtifact
where
toJSON :: ListServiceActionsForProvisioningArtifact -> Value
toJSON ListServiceActionsForProvisioningArtifact' {Maybe Natural
Maybe Text
Text
provisioningArtifactId :: Text
productId :: Text
pageToken :: Maybe Text
pageSize :: Maybe Natural
acceptLanguage :: Maybe Text
$sel:provisioningArtifactId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
$sel:productId:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Text
$sel:pageToken:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
$sel:pageSize:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Natural
$sel:acceptLanguage:ListServiceActionsForProvisioningArtifact' :: ListServiceActionsForProvisioningArtifact -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"AcceptLanguage" 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
acceptLanguage,
(Key
"PageSize" 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 Natural
pageSize,
(Key
"PageToken" 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
pageToken,
forall a. a -> Maybe a
Prelude.Just (Key
"ProductId" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
productId),
forall a. a -> Maybe a
Prelude.Just
( Key
"ProvisioningArtifactId"
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
provisioningArtifactId
)
]
)
instance
Data.ToPath
ListServiceActionsForProvisioningArtifact
where
toPath :: ListServiceActionsForProvisioningArtifact -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Data.ToQuery
ListServiceActionsForProvisioningArtifact
where
toQuery :: ListServiceActionsForProvisioningArtifact -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data ListServiceActionsForProvisioningArtifactResponse = ListServiceActionsForProvisioningArtifactResponse'
{
ListServiceActionsForProvisioningArtifactResponse -> Maybe Text
nextPageToken :: Prelude.Maybe Prelude.Text,
ListServiceActionsForProvisioningArtifactResponse
-> Maybe [ServiceActionSummary]
serviceActionSummaries :: Prelude.Maybe [ServiceActionSummary],
ListServiceActionsForProvisioningArtifactResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListServiceActionsForProvisioningArtifactResponse
-> ListServiceActionsForProvisioningArtifactResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListServiceActionsForProvisioningArtifactResponse
-> ListServiceActionsForProvisioningArtifactResponse -> Bool
$c/= :: ListServiceActionsForProvisioningArtifactResponse
-> ListServiceActionsForProvisioningArtifactResponse -> Bool
== :: ListServiceActionsForProvisioningArtifactResponse
-> ListServiceActionsForProvisioningArtifactResponse -> Bool
$c== :: ListServiceActionsForProvisioningArtifactResponse
-> ListServiceActionsForProvisioningArtifactResponse -> Bool
Prelude.Eq, ReadPrec [ListServiceActionsForProvisioningArtifactResponse]
ReadPrec ListServiceActionsForProvisioningArtifactResponse
Int -> ReadS ListServiceActionsForProvisioningArtifactResponse
ReadS [ListServiceActionsForProvisioningArtifactResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListServiceActionsForProvisioningArtifactResponse]
$creadListPrec :: ReadPrec [ListServiceActionsForProvisioningArtifactResponse]
readPrec :: ReadPrec ListServiceActionsForProvisioningArtifactResponse
$creadPrec :: ReadPrec ListServiceActionsForProvisioningArtifactResponse
readList :: ReadS [ListServiceActionsForProvisioningArtifactResponse]
$creadList :: ReadS [ListServiceActionsForProvisioningArtifactResponse]
readsPrec :: Int -> ReadS ListServiceActionsForProvisioningArtifactResponse
$creadsPrec :: Int -> ReadS ListServiceActionsForProvisioningArtifactResponse
Prelude.Read, Int -> ListServiceActionsForProvisioningArtifactResponse -> ShowS
[ListServiceActionsForProvisioningArtifactResponse] -> ShowS
ListServiceActionsForProvisioningArtifactResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListServiceActionsForProvisioningArtifactResponse] -> ShowS
$cshowList :: [ListServiceActionsForProvisioningArtifactResponse] -> ShowS
show :: ListServiceActionsForProvisioningArtifactResponse -> String
$cshow :: ListServiceActionsForProvisioningArtifactResponse -> String
showsPrec :: Int -> ListServiceActionsForProvisioningArtifactResponse -> ShowS
$cshowsPrec :: Int -> ListServiceActionsForProvisioningArtifactResponse -> ShowS
Prelude.Show, forall x.
Rep ListServiceActionsForProvisioningArtifactResponse x
-> ListServiceActionsForProvisioningArtifactResponse
forall x.
ListServiceActionsForProvisioningArtifactResponse
-> Rep ListServiceActionsForProvisioningArtifactResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListServiceActionsForProvisioningArtifactResponse x
-> ListServiceActionsForProvisioningArtifactResponse
$cfrom :: forall x.
ListServiceActionsForProvisioningArtifactResponse
-> Rep ListServiceActionsForProvisioningArtifactResponse x
Prelude.Generic)
newListServiceActionsForProvisioningArtifactResponse ::
Prelude.Int ->
ListServiceActionsForProvisioningArtifactResponse
newListServiceActionsForProvisioningArtifactResponse :: Int -> ListServiceActionsForProvisioningArtifactResponse
newListServiceActionsForProvisioningArtifactResponse
Int
pHttpStatus_ =
ListServiceActionsForProvisioningArtifactResponse'
{ $sel:nextPageToken:ListServiceActionsForProvisioningArtifactResponse' :: Maybe Text
nextPageToken =
forall a. Maybe a
Prelude.Nothing,
$sel:serviceActionSummaries:ListServiceActionsForProvisioningArtifactResponse' :: Maybe [ServiceActionSummary]
serviceActionSummaries =
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListServiceActionsForProvisioningArtifactResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
listServiceActionsForProvisioningArtifactResponse_nextPageToken :: Lens.Lens' ListServiceActionsForProvisioningArtifactResponse (Prelude.Maybe Prelude.Text)
listServiceActionsForProvisioningArtifactResponse_nextPageToken :: Lens'
ListServiceActionsForProvisioningArtifactResponse (Maybe Text)
listServiceActionsForProvisioningArtifactResponse_nextPageToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifactResponse' {Maybe Text
nextPageToken :: Maybe Text
$sel:nextPageToken:ListServiceActionsForProvisioningArtifactResponse' :: ListServiceActionsForProvisioningArtifactResponse -> Maybe Text
nextPageToken} -> Maybe Text
nextPageToken) (\s :: ListServiceActionsForProvisioningArtifactResponse
s@ListServiceActionsForProvisioningArtifactResponse' {} Maybe Text
a -> ListServiceActionsForProvisioningArtifactResponse
s {$sel:nextPageToken:ListServiceActionsForProvisioningArtifactResponse' :: Maybe Text
nextPageToken = Maybe Text
a} :: ListServiceActionsForProvisioningArtifactResponse)
listServiceActionsForProvisioningArtifactResponse_serviceActionSummaries :: Lens.Lens' ListServiceActionsForProvisioningArtifactResponse (Prelude.Maybe [ServiceActionSummary])
listServiceActionsForProvisioningArtifactResponse_serviceActionSummaries :: Lens'
ListServiceActionsForProvisioningArtifactResponse
(Maybe [ServiceActionSummary])
listServiceActionsForProvisioningArtifactResponse_serviceActionSummaries = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifactResponse' {Maybe [ServiceActionSummary]
serviceActionSummaries :: Maybe [ServiceActionSummary]
$sel:serviceActionSummaries:ListServiceActionsForProvisioningArtifactResponse' :: ListServiceActionsForProvisioningArtifactResponse
-> Maybe [ServiceActionSummary]
serviceActionSummaries} -> Maybe [ServiceActionSummary]
serviceActionSummaries) (\s :: ListServiceActionsForProvisioningArtifactResponse
s@ListServiceActionsForProvisioningArtifactResponse' {} Maybe [ServiceActionSummary]
a -> ListServiceActionsForProvisioningArtifactResponse
s {$sel:serviceActionSummaries:ListServiceActionsForProvisioningArtifactResponse' :: Maybe [ServiceActionSummary]
serviceActionSummaries = Maybe [ServiceActionSummary]
a} :: ListServiceActionsForProvisioningArtifactResponse) 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
listServiceActionsForProvisioningArtifactResponse_httpStatus :: Lens.Lens' ListServiceActionsForProvisioningArtifactResponse Prelude.Int
listServiceActionsForProvisioningArtifactResponse_httpStatus :: Lens' ListServiceActionsForProvisioningArtifactResponse Int
listServiceActionsForProvisioningArtifactResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceActionsForProvisioningArtifactResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListServiceActionsForProvisioningArtifactResponse' :: ListServiceActionsForProvisioningArtifactResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListServiceActionsForProvisioningArtifactResponse
s@ListServiceActionsForProvisioningArtifactResponse' {} Int
a -> ListServiceActionsForProvisioningArtifactResponse
s {$sel:httpStatus:ListServiceActionsForProvisioningArtifactResponse' :: Int
httpStatus = Int
a} :: ListServiceActionsForProvisioningArtifactResponse)
instance
Prelude.NFData
ListServiceActionsForProvisioningArtifactResponse
where
rnf :: ListServiceActionsForProvisioningArtifactResponse -> ()
rnf
ListServiceActionsForProvisioningArtifactResponse' {Int
Maybe [ServiceActionSummary]
Maybe Text
httpStatus :: Int
serviceActionSummaries :: Maybe [ServiceActionSummary]
nextPageToken :: Maybe Text
$sel:httpStatus:ListServiceActionsForProvisioningArtifactResponse' :: ListServiceActionsForProvisioningArtifactResponse -> Int
$sel:serviceActionSummaries:ListServiceActionsForProvisioningArtifactResponse' :: ListServiceActionsForProvisioningArtifactResponse
-> Maybe [ServiceActionSummary]
$sel:nextPageToken:ListServiceActionsForProvisioningArtifactResponse' :: ListServiceActionsForProvisioningArtifactResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextPageToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [ServiceActionSummary]
serviceActionSummaries
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus