{-# 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.DescribeProvisioningParameters
(
DescribeProvisioningParameters (..),
newDescribeProvisioningParameters,
describeProvisioningParameters_productName,
describeProvisioningParameters_provisioningArtifactId,
describeProvisioningParameters_provisioningArtifactName,
describeProvisioningParameters_pathName,
describeProvisioningParameters_acceptLanguage,
describeProvisioningParameters_pathId,
describeProvisioningParameters_productId,
DescribeProvisioningParametersResponse (..),
newDescribeProvisioningParametersResponse,
describeProvisioningParametersResponse_provisioningArtifactPreferences,
describeProvisioningParametersResponse_provisioningArtifactParameters,
describeProvisioningParametersResponse_usageInstructions,
describeProvisioningParametersResponse_constraintSummaries,
describeProvisioningParametersResponse_tagOptions,
describeProvisioningParametersResponse_provisioningArtifactOutputs,
describeProvisioningParametersResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.ServiceCatalog.Types
data DescribeProvisioningParameters = DescribeProvisioningParameters'
{
DescribeProvisioningParameters -> Maybe Text
productName :: Prelude.Maybe Prelude.Text,
DescribeProvisioningParameters -> Maybe Text
provisioningArtifactId :: Prelude.Maybe Prelude.Text,
DescribeProvisioningParameters -> Maybe Text
provisioningArtifactName :: Prelude.Maybe Prelude.Text,
DescribeProvisioningParameters -> Maybe Text
pathName :: Prelude.Maybe Prelude.Text,
DescribeProvisioningParameters -> Maybe Text
acceptLanguage :: Prelude.Maybe Prelude.Text,
DescribeProvisioningParameters -> Maybe Text
pathId :: Prelude.Maybe Prelude.Text,
DescribeProvisioningParameters -> Maybe Text
productId :: Prelude.Maybe Prelude.Text
}
deriving (DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool
(DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool)
-> (DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool)
-> Eq DescribeProvisioningParameters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool
$c/= :: DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool
== :: DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool
$c== :: DescribeProvisioningParameters
-> DescribeProvisioningParameters -> Bool
Prelude.Eq, ReadPrec [DescribeProvisioningParameters]
ReadPrec DescribeProvisioningParameters
Int -> ReadS DescribeProvisioningParameters
ReadS [DescribeProvisioningParameters]
(Int -> ReadS DescribeProvisioningParameters)
-> ReadS [DescribeProvisioningParameters]
-> ReadPrec DescribeProvisioningParameters
-> ReadPrec [DescribeProvisioningParameters]
-> Read DescribeProvisioningParameters
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeProvisioningParameters]
$creadListPrec :: ReadPrec [DescribeProvisioningParameters]
readPrec :: ReadPrec DescribeProvisioningParameters
$creadPrec :: ReadPrec DescribeProvisioningParameters
readList :: ReadS [DescribeProvisioningParameters]
$creadList :: ReadS [DescribeProvisioningParameters]
readsPrec :: Int -> ReadS DescribeProvisioningParameters
$creadsPrec :: Int -> ReadS DescribeProvisioningParameters
Prelude.Read, Int -> DescribeProvisioningParameters -> ShowS
[DescribeProvisioningParameters] -> ShowS
DescribeProvisioningParameters -> String
(Int -> DescribeProvisioningParameters -> ShowS)
-> (DescribeProvisioningParameters -> String)
-> ([DescribeProvisioningParameters] -> ShowS)
-> Show DescribeProvisioningParameters
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeProvisioningParameters] -> ShowS
$cshowList :: [DescribeProvisioningParameters] -> ShowS
show :: DescribeProvisioningParameters -> String
$cshow :: DescribeProvisioningParameters -> String
showsPrec :: Int -> DescribeProvisioningParameters -> ShowS
$cshowsPrec :: Int -> DescribeProvisioningParameters -> ShowS
Prelude.Show, (forall x.
DescribeProvisioningParameters
-> Rep DescribeProvisioningParameters x)
-> (forall x.
Rep DescribeProvisioningParameters x
-> DescribeProvisioningParameters)
-> Generic DescribeProvisioningParameters
forall x.
Rep DescribeProvisioningParameters x
-> DescribeProvisioningParameters
forall x.
DescribeProvisioningParameters
-> Rep DescribeProvisioningParameters x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeProvisioningParameters x
-> DescribeProvisioningParameters
$cfrom :: forall x.
DescribeProvisioningParameters
-> Rep DescribeProvisioningParameters x
Prelude.Generic)
newDescribeProvisioningParameters ::
DescribeProvisioningParameters
newDescribeProvisioningParameters :: DescribeProvisioningParameters
newDescribeProvisioningParameters =
DescribeProvisioningParameters' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> DescribeProvisioningParameters
DescribeProvisioningParameters'
{ $sel:productName:DescribeProvisioningParameters' :: Maybe Text
productName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactId:DescribeProvisioningParameters' :: Maybe Text
provisioningArtifactId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactName:DescribeProvisioningParameters' :: Maybe Text
provisioningArtifactName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:pathName:DescribeProvisioningParameters' :: Maybe Text
pathName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:acceptLanguage:DescribeProvisioningParameters' :: Maybe Text
acceptLanguage = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:pathId:DescribeProvisioningParameters' :: Maybe Text
pathId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:productId:DescribeProvisioningParameters' :: Maybe Text
productId = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
describeProvisioningParameters_productName :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_productName :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_productName = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
productName :: Maybe Text
$sel:productName:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
productName} -> Maybe Text
productName) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:productName:DescribeProvisioningParameters' :: Maybe Text
productName = Maybe Text
a} :: DescribeProvisioningParameters)
describeProvisioningParameters_provisioningArtifactId :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_provisioningArtifactId :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_provisioningArtifactId = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
provisioningArtifactId :: Maybe Text
$sel:provisioningArtifactId:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
provisioningArtifactId} -> Maybe Text
provisioningArtifactId) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:provisioningArtifactId:DescribeProvisioningParameters' :: Maybe Text
provisioningArtifactId = Maybe Text
a} :: DescribeProvisioningParameters)
describeProvisioningParameters_provisioningArtifactName :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_provisioningArtifactName :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_provisioningArtifactName = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
provisioningArtifactName :: Maybe Text
$sel:provisioningArtifactName:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
provisioningArtifactName} -> Maybe Text
provisioningArtifactName) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:provisioningArtifactName:DescribeProvisioningParameters' :: Maybe Text
provisioningArtifactName = Maybe Text
a} :: DescribeProvisioningParameters)
describeProvisioningParameters_pathName :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_pathName :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_pathName = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
pathName :: Maybe Text
$sel:pathName:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
pathName} -> Maybe Text
pathName) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:pathName:DescribeProvisioningParameters' :: Maybe Text
pathName = Maybe Text
a} :: DescribeProvisioningParameters)
describeProvisioningParameters_acceptLanguage :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_acceptLanguage :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_acceptLanguage = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
acceptLanguage :: Maybe Text
$sel:acceptLanguage:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
acceptLanguage} -> Maybe Text
acceptLanguage) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:acceptLanguage:DescribeProvisioningParameters' :: Maybe Text
acceptLanguage = Maybe Text
a} :: DescribeProvisioningParameters)
describeProvisioningParameters_pathId :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_pathId :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_pathId = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
pathId :: Maybe Text
$sel:pathId:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
pathId} -> Maybe Text
pathId) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:pathId:DescribeProvisioningParameters' :: Maybe Text
pathId = Maybe Text
a} :: DescribeProvisioningParameters)
describeProvisioningParameters_productId :: Lens.Lens' DescribeProvisioningParameters (Prelude.Maybe Prelude.Text)
describeProvisioningParameters_productId :: (Maybe Text -> f (Maybe Text))
-> DescribeProvisioningParameters
-> f DescribeProvisioningParameters
describeProvisioningParameters_productId = (DescribeProvisioningParameters -> Maybe Text)
-> (DescribeProvisioningParameters
-> Maybe Text -> DescribeProvisioningParameters)
-> Lens
DescribeProvisioningParameters
DescribeProvisioningParameters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParameters' {Maybe Text
productId :: Maybe Text
$sel:productId:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
productId} -> Maybe Text
productId) (\s :: DescribeProvisioningParameters
s@DescribeProvisioningParameters' {} Maybe Text
a -> DescribeProvisioningParameters
s {$sel:productId:DescribeProvisioningParameters' :: Maybe Text
productId = Maybe Text
a} :: DescribeProvisioningParameters)
instance
Core.AWSRequest
DescribeProvisioningParameters
where
type
AWSResponse DescribeProvisioningParameters =
DescribeProvisioningParametersResponse
request :: DescribeProvisioningParameters
-> Request DescribeProvisioningParameters
request = Service
-> DescribeProvisioningParameters
-> Request DescribeProvisioningParameters
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeProvisioningParameters
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeProvisioningParameters)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeProvisioningParameters))
-> Logger
-> Service
-> Proxy DescribeProvisioningParameters
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeProvisioningParameters)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe ProvisioningArtifactPreferences
-> Maybe [ProvisioningArtifactParameter]
-> Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse'
(Maybe ProvisioningArtifactPreferences
-> Maybe [ProvisioningArtifactParameter]
-> Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
-> Either String (Maybe ProvisioningArtifactPreferences)
-> Either
String
(Maybe [ProvisioningArtifactParameter]
-> Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe ProvisioningArtifactPreferences)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ProvisioningArtifactPreferences")
Either
String
(Maybe [ProvisioningArtifactParameter]
-> Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
-> Either String (Maybe [ProvisioningArtifactParameter])
-> Either
String
(Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [ProvisioningArtifactParameter]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ProvisioningArtifactParameters"
Either String (Maybe (Maybe [ProvisioningArtifactParameter]))
-> Maybe [ProvisioningArtifactParameter]
-> Either String (Maybe [ProvisioningArtifactParameter])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ProvisioningArtifactParameter]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
-> Either String (Maybe [UsageInstruction])
-> Either
String
(Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [UsageInstruction]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"UsageInstructions"
Either String (Maybe (Maybe [UsageInstruction]))
-> Maybe [UsageInstruction]
-> Either String (Maybe [UsageInstruction])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [UsageInstruction]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
-> Either String (Maybe [ConstraintSummary])
-> Either
String
(Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [ConstraintSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ConstraintSummaries"
Either String (Maybe (Maybe [ConstraintSummary]))
-> Maybe [ConstraintSummary]
-> Either String (Maybe [ConstraintSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ConstraintSummary]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse)
-> Either String (Maybe [TagOptionSummary])
-> Either
String
(Maybe [ProvisioningArtifactOutput]
-> Int -> DescribeProvisioningParametersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [TagOptionSummary]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"TagOptions" Either String (Maybe (Maybe [TagOptionSummary]))
-> Maybe [TagOptionSummary]
-> Either String (Maybe [TagOptionSummary])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [TagOptionSummary]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe [ProvisioningArtifactOutput]
-> Int -> DescribeProvisioningParametersResponse)
-> Either String (Maybe [ProvisioningArtifactOutput])
-> Either String (Int -> DescribeProvisioningParametersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [ProvisioningArtifactOutput]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ProvisioningArtifactOutputs"
Either String (Maybe (Maybe [ProvisioningArtifactOutput]))
-> Maybe [ProvisioningArtifactOutput]
-> Either String (Maybe [ProvisioningArtifactOutput])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ProvisioningArtifactOutput]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> DescribeProvisioningParametersResponse)
-> Either String Int
-> Either String DescribeProvisioningParametersResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
DescribeProvisioningParameters
instance
Prelude.NFData
DescribeProvisioningParameters
instance
Core.ToHeaders
DescribeProvisioningParameters
where
toHeaders :: DescribeProvisioningParameters -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeProvisioningParameters -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AWS242ServiceCatalogService.DescribeProvisioningParameters" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON DescribeProvisioningParameters where
toJSON :: DescribeProvisioningParameters -> Value
toJSON DescribeProvisioningParameters' {Maybe Text
productId :: Maybe Text
pathId :: Maybe Text
acceptLanguage :: Maybe Text
pathName :: Maybe Text
provisioningArtifactName :: Maybe Text
provisioningArtifactId :: Maybe Text
productName :: Maybe Text
$sel:productId:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
$sel:pathId:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
$sel:acceptLanguage:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
$sel:pathName:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
$sel:provisioningArtifactName:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
$sel:provisioningArtifactId:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
$sel:productName:DescribeProvisioningParameters' :: DescribeProvisioningParameters -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"ProductName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
productName,
(Text
"ProvisioningArtifactId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
provisioningArtifactId,
(Text
"ProvisioningArtifactName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
provisioningArtifactName,
(Text
"PathName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
pathName,
(Text
"AcceptLanguage" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
acceptLanguage,
(Text
"PathId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
pathId,
(Text
"ProductId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
productId
]
)
instance Core.ToPath DescribeProvisioningParameters where
toPath :: DescribeProvisioningParameters -> ByteString
toPath = ByteString -> DescribeProvisioningParameters -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeProvisioningParameters where
toQuery :: DescribeProvisioningParameters -> QueryString
toQuery = QueryString -> DescribeProvisioningParameters -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeProvisioningParametersResponse = DescribeProvisioningParametersResponse'
{
DescribeProvisioningParametersResponse
-> Maybe ProvisioningArtifactPreferences
provisioningArtifactPreferences :: Prelude.Maybe ProvisioningArtifactPreferences,
DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactParameter]
provisioningArtifactParameters :: Prelude.Maybe [ProvisioningArtifactParameter],
DescribeProvisioningParametersResponse -> Maybe [UsageInstruction]
usageInstructions :: Prelude.Maybe [UsageInstruction],
DescribeProvisioningParametersResponse -> Maybe [ConstraintSummary]
constraintSummaries :: Prelude.Maybe [ConstraintSummary],
DescribeProvisioningParametersResponse -> Maybe [TagOptionSummary]
tagOptions :: Prelude.Maybe [TagOptionSummary],
DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactOutput]
provisioningArtifactOutputs :: Prelude.Maybe [ProvisioningArtifactOutput],
DescribeProvisioningParametersResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool
(DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool)
-> (DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool)
-> Eq DescribeProvisioningParametersResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool
$c/= :: DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool
== :: DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool
$c== :: DescribeProvisioningParametersResponse
-> DescribeProvisioningParametersResponse -> Bool
Prelude.Eq, ReadPrec [DescribeProvisioningParametersResponse]
ReadPrec DescribeProvisioningParametersResponse
Int -> ReadS DescribeProvisioningParametersResponse
ReadS [DescribeProvisioningParametersResponse]
(Int -> ReadS DescribeProvisioningParametersResponse)
-> ReadS [DescribeProvisioningParametersResponse]
-> ReadPrec DescribeProvisioningParametersResponse
-> ReadPrec [DescribeProvisioningParametersResponse]
-> Read DescribeProvisioningParametersResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeProvisioningParametersResponse]
$creadListPrec :: ReadPrec [DescribeProvisioningParametersResponse]
readPrec :: ReadPrec DescribeProvisioningParametersResponse
$creadPrec :: ReadPrec DescribeProvisioningParametersResponse
readList :: ReadS [DescribeProvisioningParametersResponse]
$creadList :: ReadS [DescribeProvisioningParametersResponse]
readsPrec :: Int -> ReadS DescribeProvisioningParametersResponse
$creadsPrec :: Int -> ReadS DescribeProvisioningParametersResponse
Prelude.Read, Int -> DescribeProvisioningParametersResponse -> ShowS
[DescribeProvisioningParametersResponse] -> ShowS
DescribeProvisioningParametersResponse -> String
(Int -> DescribeProvisioningParametersResponse -> ShowS)
-> (DescribeProvisioningParametersResponse -> String)
-> ([DescribeProvisioningParametersResponse] -> ShowS)
-> Show DescribeProvisioningParametersResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeProvisioningParametersResponse] -> ShowS
$cshowList :: [DescribeProvisioningParametersResponse] -> ShowS
show :: DescribeProvisioningParametersResponse -> String
$cshow :: DescribeProvisioningParametersResponse -> String
showsPrec :: Int -> DescribeProvisioningParametersResponse -> ShowS
$cshowsPrec :: Int -> DescribeProvisioningParametersResponse -> ShowS
Prelude.Show, (forall x.
DescribeProvisioningParametersResponse
-> Rep DescribeProvisioningParametersResponse x)
-> (forall x.
Rep DescribeProvisioningParametersResponse x
-> DescribeProvisioningParametersResponse)
-> Generic DescribeProvisioningParametersResponse
forall x.
Rep DescribeProvisioningParametersResponse x
-> DescribeProvisioningParametersResponse
forall x.
DescribeProvisioningParametersResponse
-> Rep DescribeProvisioningParametersResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeProvisioningParametersResponse x
-> DescribeProvisioningParametersResponse
$cfrom :: forall x.
DescribeProvisioningParametersResponse
-> Rep DescribeProvisioningParametersResponse x
Prelude.Generic)
newDescribeProvisioningParametersResponse ::
Prelude.Int ->
DescribeProvisioningParametersResponse
newDescribeProvisioningParametersResponse :: Int -> DescribeProvisioningParametersResponse
newDescribeProvisioningParametersResponse
Int
pHttpStatus_ =
DescribeProvisioningParametersResponse' :: Maybe ProvisioningArtifactPreferences
-> Maybe [ProvisioningArtifactParameter]
-> Maybe [UsageInstruction]
-> Maybe [ConstraintSummary]
-> Maybe [TagOptionSummary]
-> Maybe [ProvisioningArtifactOutput]
-> Int
-> DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse'
{ $sel:provisioningArtifactPreferences:DescribeProvisioningParametersResponse' :: Maybe ProvisioningArtifactPreferences
provisioningArtifactPreferences =
Maybe ProvisioningArtifactPreferences
forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactParameters:DescribeProvisioningParametersResponse' :: Maybe [ProvisioningArtifactParameter]
provisioningArtifactParameters =
Maybe [ProvisioningArtifactParameter]
forall a. Maybe a
Prelude.Nothing,
$sel:usageInstructions:DescribeProvisioningParametersResponse' :: Maybe [UsageInstruction]
usageInstructions = Maybe [UsageInstruction]
forall a. Maybe a
Prelude.Nothing,
$sel:constraintSummaries:DescribeProvisioningParametersResponse' :: Maybe [ConstraintSummary]
constraintSummaries =
Maybe [ConstraintSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:tagOptions:DescribeProvisioningParametersResponse' :: Maybe [TagOptionSummary]
tagOptions = Maybe [TagOptionSummary]
forall a. Maybe a
Prelude.Nothing,
$sel:provisioningArtifactOutputs:DescribeProvisioningParametersResponse' :: Maybe [ProvisioningArtifactOutput]
provisioningArtifactOutputs =
Maybe [ProvisioningArtifactOutput]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeProvisioningParametersResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeProvisioningParametersResponse_provisioningArtifactPreferences :: Lens.Lens' DescribeProvisioningParametersResponse (Prelude.Maybe ProvisioningArtifactPreferences)
describeProvisioningParametersResponse_provisioningArtifactPreferences :: (Maybe ProvisioningArtifactPreferences
-> f (Maybe ProvisioningArtifactPreferences))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_provisioningArtifactPreferences = (DescribeProvisioningParametersResponse
-> Maybe ProvisioningArtifactPreferences)
-> (DescribeProvisioningParametersResponse
-> Maybe ProvisioningArtifactPreferences
-> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
(Maybe ProvisioningArtifactPreferences)
(Maybe ProvisioningArtifactPreferences)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Maybe ProvisioningArtifactPreferences
provisioningArtifactPreferences :: Maybe ProvisioningArtifactPreferences
$sel:provisioningArtifactPreferences:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse
-> Maybe ProvisioningArtifactPreferences
provisioningArtifactPreferences} -> Maybe ProvisioningArtifactPreferences
provisioningArtifactPreferences) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Maybe ProvisioningArtifactPreferences
a -> DescribeProvisioningParametersResponse
s {$sel:provisioningArtifactPreferences:DescribeProvisioningParametersResponse' :: Maybe ProvisioningArtifactPreferences
provisioningArtifactPreferences = Maybe ProvisioningArtifactPreferences
a} :: DescribeProvisioningParametersResponse)
describeProvisioningParametersResponse_provisioningArtifactParameters :: Lens.Lens' DescribeProvisioningParametersResponse (Prelude.Maybe [ProvisioningArtifactParameter])
describeProvisioningParametersResponse_provisioningArtifactParameters :: (Maybe [ProvisioningArtifactParameter]
-> f (Maybe [ProvisioningArtifactParameter]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_provisioningArtifactParameters = (DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactParameter])
-> (DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactParameter]
-> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
(Maybe [ProvisioningArtifactParameter])
(Maybe [ProvisioningArtifactParameter])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Maybe [ProvisioningArtifactParameter]
provisioningArtifactParameters :: Maybe [ProvisioningArtifactParameter]
$sel:provisioningArtifactParameters:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactParameter]
provisioningArtifactParameters} -> Maybe [ProvisioningArtifactParameter]
provisioningArtifactParameters) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Maybe [ProvisioningArtifactParameter]
a -> DescribeProvisioningParametersResponse
s {$sel:provisioningArtifactParameters:DescribeProvisioningParametersResponse' :: Maybe [ProvisioningArtifactParameter]
provisioningArtifactParameters = Maybe [ProvisioningArtifactParameter]
a} :: DescribeProvisioningParametersResponse) ((Maybe [ProvisioningArtifactParameter]
-> f (Maybe [ProvisioningArtifactParameter]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse)
-> ((Maybe [ProvisioningArtifactParameter]
-> f (Maybe [ProvisioningArtifactParameter]))
-> Maybe [ProvisioningArtifactParameter]
-> f (Maybe [ProvisioningArtifactParameter]))
-> (Maybe [ProvisioningArtifactParameter]
-> f (Maybe [ProvisioningArtifactParameter]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ProvisioningArtifactParameter]
[ProvisioningArtifactParameter]
[ProvisioningArtifactParameter]
[ProvisioningArtifactParameter]
-> Iso
(Maybe [ProvisioningArtifactParameter])
(Maybe [ProvisioningArtifactParameter])
(Maybe [ProvisioningArtifactParameter])
(Maybe [ProvisioningArtifactParameter])
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 AnIso
[ProvisioningArtifactParameter]
[ProvisioningArtifactParameter]
[ProvisioningArtifactParameter]
[ProvisioningArtifactParameter]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeProvisioningParametersResponse_usageInstructions :: Lens.Lens' DescribeProvisioningParametersResponse (Prelude.Maybe [UsageInstruction])
describeProvisioningParametersResponse_usageInstructions :: (Maybe [UsageInstruction] -> f (Maybe [UsageInstruction]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_usageInstructions = (DescribeProvisioningParametersResponse
-> Maybe [UsageInstruction])
-> (DescribeProvisioningParametersResponse
-> Maybe [UsageInstruction]
-> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
(Maybe [UsageInstruction])
(Maybe [UsageInstruction])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Maybe [UsageInstruction]
usageInstructions :: Maybe [UsageInstruction]
$sel:usageInstructions:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse -> Maybe [UsageInstruction]
usageInstructions} -> Maybe [UsageInstruction]
usageInstructions) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Maybe [UsageInstruction]
a -> DescribeProvisioningParametersResponse
s {$sel:usageInstructions:DescribeProvisioningParametersResponse' :: Maybe [UsageInstruction]
usageInstructions = Maybe [UsageInstruction]
a} :: DescribeProvisioningParametersResponse) ((Maybe [UsageInstruction] -> f (Maybe [UsageInstruction]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse)
-> ((Maybe [UsageInstruction] -> f (Maybe [UsageInstruction]))
-> Maybe [UsageInstruction] -> f (Maybe [UsageInstruction]))
-> (Maybe [UsageInstruction] -> f (Maybe [UsageInstruction]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[UsageInstruction]
[UsageInstruction]
[UsageInstruction]
[UsageInstruction]
-> Iso
(Maybe [UsageInstruction])
(Maybe [UsageInstruction])
(Maybe [UsageInstruction])
(Maybe [UsageInstruction])
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 AnIso
[UsageInstruction]
[UsageInstruction]
[UsageInstruction]
[UsageInstruction]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeProvisioningParametersResponse_constraintSummaries :: Lens.Lens' DescribeProvisioningParametersResponse (Prelude.Maybe [ConstraintSummary])
describeProvisioningParametersResponse_constraintSummaries :: (Maybe [ConstraintSummary] -> f (Maybe [ConstraintSummary]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_constraintSummaries = (DescribeProvisioningParametersResponse
-> Maybe [ConstraintSummary])
-> (DescribeProvisioningParametersResponse
-> Maybe [ConstraintSummary]
-> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
(Maybe [ConstraintSummary])
(Maybe [ConstraintSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Maybe [ConstraintSummary]
constraintSummaries :: Maybe [ConstraintSummary]
$sel:constraintSummaries:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse -> Maybe [ConstraintSummary]
constraintSummaries} -> Maybe [ConstraintSummary]
constraintSummaries) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Maybe [ConstraintSummary]
a -> DescribeProvisioningParametersResponse
s {$sel:constraintSummaries:DescribeProvisioningParametersResponse' :: Maybe [ConstraintSummary]
constraintSummaries = Maybe [ConstraintSummary]
a} :: DescribeProvisioningParametersResponse) ((Maybe [ConstraintSummary] -> f (Maybe [ConstraintSummary]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse)
-> ((Maybe [ConstraintSummary] -> f (Maybe [ConstraintSummary]))
-> Maybe [ConstraintSummary] -> f (Maybe [ConstraintSummary]))
-> (Maybe [ConstraintSummary] -> f (Maybe [ConstraintSummary]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ConstraintSummary]
[ConstraintSummary]
[ConstraintSummary]
[ConstraintSummary]
-> Iso
(Maybe [ConstraintSummary])
(Maybe [ConstraintSummary])
(Maybe [ConstraintSummary])
(Maybe [ConstraintSummary])
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 AnIso
[ConstraintSummary]
[ConstraintSummary]
[ConstraintSummary]
[ConstraintSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeProvisioningParametersResponse_tagOptions :: Lens.Lens' DescribeProvisioningParametersResponse (Prelude.Maybe [TagOptionSummary])
describeProvisioningParametersResponse_tagOptions :: (Maybe [TagOptionSummary] -> f (Maybe [TagOptionSummary]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_tagOptions = (DescribeProvisioningParametersResponse
-> Maybe [TagOptionSummary])
-> (DescribeProvisioningParametersResponse
-> Maybe [TagOptionSummary]
-> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
(Maybe [TagOptionSummary])
(Maybe [TagOptionSummary])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Maybe [TagOptionSummary]
tagOptions :: Maybe [TagOptionSummary]
$sel:tagOptions:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse -> Maybe [TagOptionSummary]
tagOptions} -> Maybe [TagOptionSummary]
tagOptions) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Maybe [TagOptionSummary]
a -> DescribeProvisioningParametersResponse
s {$sel:tagOptions:DescribeProvisioningParametersResponse' :: Maybe [TagOptionSummary]
tagOptions = Maybe [TagOptionSummary]
a} :: DescribeProvisioningParametersResponse) ((Maybe [TagOptionSummary] -> f (Maybe [TagOptionSummary]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse)
-> ((Maybe [TagOptionSummary] -> f (Maybe [TagOptionSummary]))
-> Maybe [TagOptionSummary] -> f (Maybe [TagOptionSummary]))
-> (Maybe [TagOptionSummary] -> f (Maybe [TagOptionSummary]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[TagOptionSummary]
[TagOptionSummary]
[TagOptionSummary]
[TagOptionSummary]
-> Iso
(Maybe [TagOptionSummary])
(Maybe [TagOptionSummary])
(Maybe [TagOptionSummary])
(Maybe [TagOptionSummary])
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 AnIso
[TagOptionSummary]
[TagOptionSummary]
[TagOptionSummary]
[TagOptionSummary]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeProvisioningParametersResponse_provisioningArtifactOutputs :: Lens.Lens' DescribeProvisioningParametersResponse (Prelude.Maybe [ProvisioningArtifactOutput])
describeProvisioningParametersResponse_provisioningArtifactOutputs :: (Maybe [ProvisioningArtifactOutput]
-> f (Maybe [ProvisioningArtifactOutput]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_provisioningArtifactOutputs = (DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactOutput])
-> (DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactOutput]
-> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
(Maybe [ProvisioningArtifactOutput])
(Maybe [ProvisioningArtifactOutput])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Maybe [ProvisioningArtifactOutput]
provisioningArtifactOutputs :: Maybe [ProvisioningArtifactOutput]
$sel:provisioningArtifactOutputs:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse
-> Maybe [ProvisioningArtifactOutput]
provisioningArtifactOutputs} -> Maybe [ProvisioningArtifactOutput]
provisioningArtifactOutputs) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Maybe [ProvisioningArtifactOutput]
a -> DescribeProvisioningParametersResponse
s {$sel:provisioningArtifactOutputs:DescribeProvisioningParametersResponse' :: Maybe [ProvisioningArtifactOutput]
provisioningArtifactOutputs = Maybe [ProvisioningArtifactOutput]
a} :: DescribeProvisioningParametersResponse) ((Maybe [ProvisioningArtifactOutput]
-> f (Maybe [ProvisioningArtifactOutput]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse)
-> ((Maybe [ProvisioningArtifactOutput]
-> f (Maybe [ProvisioningArtifactOutput]))
-> Maybe [ProvisioningArtifactOutput]
-> f (Maybe [ProvisioningArtifactOutput]))
-> (Maybe [ProvisioningArtifactOutput]
-> f (Maybe [ProvisioningArtifactOutput]))
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ProvisioningArtifactOutput]
[ProvisioningArtifactOutput]
[ProvisioningArtifactOutput]
[ProvisioningArtifactOutput]
-> Iso
(Maybe [ProvisioningArtifactOutput])
(Maybe [ProvisioningArtifactOutput])
(Maybe [ProvisioningArtifactOutput])
(Maybe [ProvisioningArtifactOutput])
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 AnIso
[ProvisioningArtifactOutput]
[ProvisioningArtifactOutput]
[ProvisioningArtifactOutput]
[ProvisioningArtifactOutput]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeProvisioningParametersResponse_httpStatus :: Lens.Lens' DescribeProvisioningParametersResponse Prelude.Int
describeProvisioningParametersResponse_httpStatus :: (Int -> f Int)
-> DescribeProvisioningParametersResponse
-> f DescribeProvisioningParametersResponse
describeProvisioningParametersResponse_httpStatus = (DescribeProvisioningParametersResponse -> Int)
-> (DescribeProvisioningParametersResponse
-> Int -> DescribeProvisioningParametersResponse)
-> Lens
DescribeProvisioningParametersResponse
DescribeProvisioningParametersResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeProvisioningParametersResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeProvisioningParametersResponse' :: DescribeProvisioningParametersResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeProvisioningParametersResponse
s@DescribeProvisioningParametersResponse' {} Int
a -> DescribeProvisioningParametersResponse
s {$sel:httpStatus:DescribeProvisioningParametersResponse' :: Int
httpStatus = Int
a} :: DescribeProvisioningParametersResponse)
instance
Prelude.NFData
DescribeProvisioningParametersResponse