{-# 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.BatchAssociateServiceActionWithProvisioningArtifact
(
BatchAssociateServiceActionWithProvisioningArtifact (..),
newBatchAssociateServiceActionWithProvisioningArtifact,
batchAssociateServiceActionWithProvisioningArtifact_acceptLanguage,
batchAssociateServiceActionWithProvisioningArtifact_serviceActionAssociations,
BatchAssociateServiceActionWithProvisioningArtifactResponse (..),
newBatchAssociateServiceActionWithProvisioningArtifactResponse,
batchAssociateServiceActionWithProvisioningArtifactResponse_failedServiceActionAssociations,
batchAssociateServiceActionWithProvisioningArtifactResponse_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 BatchAssociateServiceActionWithProvisioningArtifact = BatchAssociateServiceActionWithProvisioningArtifact'
{
BatchAssociateServiceActionWithProvisioningArtifact -> Maybe Text
acceptLanguage :: Prelude.Maybe Prelude.Text,
BatchAssociateServiceActionWithProvisioningArtifact
-> NonEmpty ServiceActionAssociation
serviceActionAssociations :: Prelude.NonEmpty ServiceActionAssociation
}
deriving (BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool
(BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool)
-> (BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool)
-> Eq BatchAssociateServiceActionWithProvisioningArtifact
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool
$c/= :: BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool
== :: BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool
$c== :: BatchAssociateServiceActionWithProvisioningArtifact
-> BatchAssociateServiceActionWithProvisioningArtifact -> Bool
Prelude.Eq, ReadPrec [BatchAssociateServiceActionWithProvisioningArtifact]
ReadPrec BatchAssociateServiceActionWithProvisioningArtifact
Int -> ReadS BatchAssociateServiceActionWithProvisioningArtifact
ReadS [BatchAssociateServiceActionWithProvisioningArtifact]
(Int -> ReadS BatchAssociateServiceActionWithProvisioningArtifact)
-> ReadS [BatchAssociateServiceActionWithProvisioningArtifact]
-> ReadPrec BatchAssociateServiceActionWithProvisioningArtifact
-> ReadPrec [BatchAssociateServiceActionWithProvisioningArtifact]
-> Read BatchAssociateServiceActionWithProvisioningArtifact
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchAssociateServiceActionWithProvisioningArtifact]
$creadListPrec :: ReadPrec [BatchAssociateServiceActionWithProvisioningArtifact]
readPrec :: ReadPrec BatchAssociateServiceActionWithProvisioningArtifact
$creadPrec :: ReadPrec BatchAssociateServiceActionWithProvisioningArtifact
readList :: ReadS [BatchAssociateServiceActionWithProvisioningArtifact]
$creadList :: ReadS [BatchAssociateServiceActionWithProvisioningArtifact]
readsPrec :: Int -> ReadS BatchAssociateServiceActionWithProvisioningArtifact
$creadsPrec :: Int -> ReadS BatchAssociateServiceActionWithProvisioningArtifact
Prelude.Read, Int -> BatchAssociateServiceActionWithProvisioningArtifact -> ShowS
[BatchAssociateServiceActionWithProvisioningArtifact] -> ShowS
BatchAssociateServiceActionWithProvisioningArtifact -> String
(Int
-> BatchAssociateServiceActionWithProvisioningArtifact -> ShowS)
-> (BatchAssociateServiceActionWithProvisioningArtifact -> String)
-> ([BatchAssociateServiceActionWithProvisioningArtifact] -> ShowS)
-> Show BatchAssociateServiceActionWithProvisioningArtifact
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchAssociateServiceActionWithProvisioningArtifact] -> ShowS
$cshowList :: [BatchAssociateServiceActionWithProvisioningArtifact] -> ShowS
show :: BatchAssociateServiceActionWithProvisioningArtifact -> String
$cshow :: BatchAssociateServiceActionWithProvisioningArtifact -> String
showsPrec :: Int -> BatchAssociateServiceActionWithProvisioningArtifact -> ShowS
$cshowsPrec :: Int -> BatchAssociateServiceActionWithProvisioningArtifact -> ShowS
Prelude.Show, (forall x.
BatchAssociateServiceActionWithProvisioningArtifact
-> Rep BatchAssociateServiceActionWithProvisioningArtifact x)
-> (forall x.
Rep BatchAssociateServiceActionWithProvisioningArtifact x
-> BatchAssociateServiceActionWithProvisioningArtifact)
-> Generic BatchAssociateServiceActionWithProvisioningArtifact
forall x.
Rep BatchAssociateServiceActionWithProvisioningArtifact x
-> BatchAssociateServiceActionWithProvisioningArtifact
forall x.
BatchAssociateServiceActionWithProvisioningArtifact
-> Rep BatchAssociateServiceActionWithProvisioningArtifact x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchAssociateServiceActionWithProvisioningArtifact x
-> BatchAssociateServiceActionWithProvisioningArtifact
$cfrom :: forall x.
BatchAssociateServiceActionWithProvisioningArtifact
-> Rep BatchAssociateServiceActionWithProvisioningArtifact x
Prelude.Generic)
newBatchAssociateServiceActionWithProvisioningArtifact ::
Prelude.NonEmpty ServiceActionAssociation ->
BatchAssociateServiceActionWithProvisioningArtifact
newBatchAssociateServiceActionWithProvisioningArtifact :: NonEmpty ServiceActionAssociation
-> BatchAssociateServiceActionWithProvisioningArtifact
newBatchAssociateServiceActionWithProvisioningArtifact
NonEmpty ServiceActionAssociation
pServiceActionAssociations_ =
BatchAssociateServiceActionWithProvisioningArtifact' :: Maybe Text
-> NonEmpty ServiceActionAssociation
-> BatchAssociateServiceActionWithProvisioningArtifact
BatchAssociateServiceActionWithProvisioningArtifact'
{ $sel:acceptLanguage:BatchAssociateServiceActionWithProvisioningArtifact' :: Maybe Text
acceptLanguage =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:serviceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifact' :: NonEmpty ServiceActionAssociation
serviceActionAssociations =
Tagged
(NonEmpty ServiceActionAssociation)
(Identity (NonEmpty ServiceActionAssociation))
-> Tagged
(NonEmpty ServiceActionAssociation)
(Identity (NonEmpty ServiceActionAssociation))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
(Tagged
(NonEmpty ServiceActionAssociation)
(Identity (NonEmpty ServiceActionAssociation))
-> Tagged
(NonEmpty ServiceActionAssociation)
(Identity (NonEmpty ServiceActionAssociation)))
-> NonEmpty ServiceActionAssociation
-> NonEmpty ServiceActionAssociation
forall t b. AReview t b -> b -> t
Lens.# NonEmpty ServiceActionAssociation
pServiceActionAssociations_
}
batchAssociateServiceActionWithProvisioningArtifact_acceptLanguage :: Lens.Lens' BatchAssociateServiceActionWithProvisioningArtifact (Prelude.Maybe Prelude.Text)
batchAssociateServiceActionWithProvisioningArtifact_acceptLanguage :: (Maybe Text -> f (Maybe Text))
-> BatchAssociateServiceActionWithProvisioningArtifact
-> f BatchAssociateServiceActionWithProvisioningArtifact
batchAssociateServiceActionWithProvisioningArtifact_acceptLanguage = (BatchAssociateServiceActionWithProvisioningArtifact -> Maybe Text)
-> (BatchAssociateServiceActionWithProvisioningArtifact
-> Maybe Text
-> BatchAssociateServiceActionWithProvisioningArtifact)
-> Lens
BatchAssociateServiceActionWithProvisioningArtifact
BatchAssociateServiceActionWithProvisioningArtifact
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchAssociateServiceActionWithProvisioningArtifact' {Maybe Text
acceptLanguage :: Maybe Text
$sel:acceptLanguage:BatchAssociateServiceActionWithProvisioningArtifact' :: BatchAssociateServiceActionWithProvisioningArtifact -> Maybe Text
acceptLanguage} -> Maybe Text
acceptLanguage) (\s :: BatchAssociateServiceActionWithProvisioningArtifact
s@BatchAssociateServiceActionWithProvisioningArtifact' {} Maybe Text
a -> BatchAssociateServiceActionWithProvisioningArtifact
s {$sel:acceptLanguage:BatchAssociateServiceActionWithProvisioningArtifact' :: Maybe Text
acceptLanguage = Maybe Text
a} :: BatchAssociateServiceActionWithProvisioningArtifact)
batchAssociateServiceActionWithProvisioningArtifact_serviceActionAssociations :: Lens.Lens' BatchAssociateServiceActionWithProvisioningArtifact (Prelude.NonEmpty ServiceActionAssociation)
batchAssociateServiceActionWithProvisioningArtifact_serviceActionAssociations :: (NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation))
-> BatchAssociateServiceActionWithProvisioningArtifact
-> f BatchAssociateServiceActionWithProvisioningArtifact
batchAssociateServiceActionWithProvisioningArtifact_serviceActionAssociations = (BatchAssociateServiceActionWithProvisioningArtifact
-> NonEmpty ServiceActionAssociation)
-> (BatchAssociateServiceActionWithProvisioningArtifact
-> NonEmpty ServiceActionAssociation
-> BatchAssociateServiceActionWithProvisioningArtifact)
-> Lens
BatchAssociateServiceActionWithProvisioningArtifact
BatchAssociateServiceActionWithProvisioningArtifact
(NonEmpty ServiceActionAssociation)
(NonEmpty ServiceActionAssociation)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchAssociateServiceActionWithProvisioningArtifact' {NonEmpty ServiceActionAssociation
serviceActionAssociations :: NonEmpty ServiceActionAssociation
$sel:serviceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifact' :: BatchAssociateServiceActionWithProvisioningArtifact
-> NonEmpty ServiceActionAssociation
serviceActionAssociations} -> NonEmpty ServiceActionAssociation
serviceActionAssociations) (\s :: BatchAssociateServiceActionWithProvisioningArtifact
s@BatchAssociateServiceActionWithProvisioningArtifact' {} NonEmpty ServiceActionAssociation
a -> BatchAssociateServiceActionWithProvisioningArtifact
s {$sel:serviceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifact' :: NonEmpty ServiceActionAssociation
serviceActionAssociations = NonEmpty ServiceActionAssociation
a} :: BatchAssociateServiceActionWithProvisioningArtifact) ((NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation))
-> BatchAssociateServiceActionWithProvisioningArtifact
-> f BatchAssociateServiceActionWithProvisioningArtifact)
-> ((NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation))
-> NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation))
-> (NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation))
-> BatchAssociateServiceActionWithProvisioningArtifact
-> f BatchAssociateServiceActionWithProvisioningArtifact
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation))
-> NonEmpty ServiceActionAssociation
-> f (NonEmpty ServiceActionAssociation)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Core.AWSRequest
BatchAssociateServiceActionWithProvisioningArtifact
where
type
AWSResponse
BatchAssociateServiceActionWithProvisioningArtifact =
BatchAssociateServiceActionWithProvisioningArtifactResponse
request :: BatchAssociateServiceActionWithProvisioningArtifact
-> Request BatchAssociateServiceActionWithProvisioningArtifact
request = Service
-> BatchAssociateServiceActionWithProvisioningArtifact
-> Request BatchAssociateServiceActionWithProvisioningArtifact
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy BatchAssociateServiceActionWithProvisioningArtifact
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse BatchAssociateServiceActionWithProvisioningArtifact)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String
(AWSResponse BatchAssociateServiceActionWithProvisioningArtifact))
-> Logger
-> Service
-> Proxy BatchAssociateServiceActionWithProvisioningArtifact
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse BatchAssociateServiceActionWithProvisioningArtifact)))
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 [FailedServiceActionAssociation]
-> Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
BatchAssociateServiceActionWithProvisioningArtifactResponse'
(Maybe [FailedServiceActionAssociation]
-> Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> Either String (Maybe [FailedServiceActionAssociation])
-> Either
String
(Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [FailedServiceActionAssociation]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"FailedServiceActionAssociations"
Either String (Maybe (Maybe [FailedServiceActionAssociation]))
-> Maybe [FailedServiceActionAssociation]
-> Either String (Maybe [FailedServiceActionAssociation])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [FailedServiceActionAssociation]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> Either String Int
-> Either
String BatchAssociateServiceActionWithProvisioningArtifactResponse
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
BatchAssociateServiceActionWithProvisioningArtifact
instance
Prelude.NFData
BatchAssociateServiceActionWithProvisioningArtifact
instance
Core.ToHeaders
BatchAssociateServiceActionWithProvisioningArtifact
where
toHeaders :: BatchAssociateServiceActionWithProvisioningArtifact
-> ResponseHeaders
toHeaders =
ResponseHeaders
-> BatchAssociateServiceActionWithProvisioningArtifact
-> 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.BatchAssociateServiceActionWithProvisioningArtifact" ::
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
BatchAssociateServiceActionWithProvisioningArtifact
where
toJSON :: BatchAssociateServiceActionWithProvisioningArtifact -> Value
toJSON
BatchAssociateServiceActionWithProvisioningArtifact' {Maybe Text
NonEmpty ServiceActionAssociation
serviceActionAssociations :: NonEmpty ServiceActionAssociation
acceptLanguage :: Maybe Text
$sel:serviceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifact' :: BatchAssociateServiceActionWithProvisioningArtifact
-> NonEmpty ServiceActionAssociation
$sel:acceptLanguage:BatchAssociateServiceActionWithProvisioningArtifact' :: BatchAssociateServiceActionWithProvisioningArtifact -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (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,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"ServiceActionAssociations"
Text -> NonEmpty ServiceActionAssociation -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty ServiceActionAssociation
serviceActionAssociations
)
]
)
instance
Core.ToPath
BatchAssociateServiceActionWithProvisioningArtifact
where
toPath :: BatchAssociateServiceActionWithProvisioningArtifact -> ByteString
toPath = ByteString
-> BatchAssociateServiceActionWithProvisioningArtifact
-> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
BatchAssociateServiceActionWithProvisioningArtifact
where
toQuery :: BatchAssociateServiceActionWithProvisioningArtifact -> QueryString
toQuery = QueryString
-> BatchAssociateServiceActionWithProvisioningArtifact
-> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data BatchAssociateServiceActionWithProvisioningArtifactResponse = BatchAssociateServiceActionWithProvisioningArtifactResponse'
{
BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Maybe [FailedServiceActionAssociation]
failedServiceActionAssociations :: Prelude.Maybe [FailedServiceActionAssociation],
BatchAssociateServiceActionWithProvisioningArtifactResponse -> Int
httpStatus :: Prelude.Int
}
deriving (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool
(BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool)
-> (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool)
-> Eq BatchAssociateServiceActionWithProvisioningArtifactResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool
$c/= :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool
== :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool
$c== :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Bool
Prelude.Eq, ReadPrec
[BatchAssociateServiceActionWithProvisioningArtifactResponse]
ReadPrec
BatchAssociateServiceActionWithProvisioningArtifactResponse
Int
-> ReadS
BatchAssociateServiceActionWithProvisioningArtifactResponse
ReadS [BatchAssociateServiceActionWithProvisioningArtifactResponse]
(Int
-> ReadS
BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> ReadS
[BatchAssociateServiceActionWithProvisioningArtifactResponse]
-> ReadPrec
BatchAssociateServiceActionWithProvisioningArtifactResponse
-> ReadPrec
[BatchAssociateServiceActionWithProvisioningArtifactResponse]
-> Read BatchAssociateServiceActionWithProvisioningArtifactResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec
[BatchAssociateServiceActionWithProvisioningArtifactResponse]
$creadListPrec :: ReadPrec
[BatchAssociateServiceActionWithProvisioningArtifactResponse]
readPrec :: ReadPrec
BatchAssociateServiceActionWithProvisioningArtifactResponse
$creadPrec :: ReadPrec
BatchAssociateServiceActionWithProvisioningArtifactResponse
readList :: ReadS [BatchAssociateServiceActionWithProvisioningArtifactResponse]
$creadList :: ReadS [BatchAssociateServiceActionWithProvisioningArtifactResponse]
readsPrec :: Int
-> ReadS
BatchAssociateServiceActionWithProvisioningArtifactResponse
$creadsPrec :: Int
-> ReadS
BatchAssociateServiceActionWithProvisioningArtifactResponse
Prelude.Read, Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> ShowS
[BatchAssociateServiceActionWithProvisioningArtifactResponse]
-> ShowS
BatchAssociateServiceActionWithProvisioningArtifactResponse
-> String
(Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> ShowS)
-> (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> String)
-> ([BatchAssociateServiceActionWithProvisioningArtifactResponse]
-> ShowS)
-> Show BatchAssociateServiceActionWithProvisioningArtifactResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchAssociateServiceActionWithProvisioningArtifactResponse]
-> ShowS
$cshowList :: [BatchAssociateServiceActionWithProvisioningArtifactResponse]
-> ShowS
show :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> String
$cshow :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> String
showsPrec :: Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> ShowS
$cshowsPrec :: Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> ShowS
Prelude.Show, (forall x.
BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Rep
BatchAssociateServiceActionWithProvisioningArtifactResponse x)
-> (forall x.
Rep BatchAssociateServiceActionWithProvisioningArtifactResponse x
-> BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> Generic
BatchAssociateServiceActionWithProvisioningArtifactResponse
forall x.
Rep BatchAssociateServiceActionWithProvisioningArtifactResponse x
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
forall x.
BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Rep
BatchAssociateServiceActionWithProvisioningArtifactResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchAssociateServiceActionWithProvisioningArtifactResponse x
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
$cfrom :: forall x.
BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Rep
BatchAssociateServiceActionWithProvisioningArtifactResponse x
Prelude.Generic)
newBatchAssociateServiceActionWithProvisioningArtifactResponse ::
Prelude.Int ->
BatchAssociateServiceActionWithProvisioningArtifactResponse
newBatchAssociateServiceActionWithProvisioningArtifactResponse :: Int -> BatchAssociateServiceActionWithProvisioningArtifactResponse
newBatchAssociateServiceActionWithProvisioningArtifactResponse
Int
pHttpStatus_ =
BatchAssociateServiceActionWithProvisioningArtifactResponse' :: Maybe [FailedServiceActionAssociation]
-> Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
BatchAssociateServiceActionWithProvisioningArtifactResponse'
{ $sel:failedServiceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifactResponse' :: Maybe [FailedServiceActionAssociation]
failedServiceActionAssociations =
Maybe [FailedServiceActionAssociation]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:BatchAssociateServiceActionWithProvisioningArtifactResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
batchAssociateServiceActionWithProvisioningArtifactResponse_failedServiceActionAssociations :: Lens.Lens' BatchAssociateServiceActionWithProvisioningArtifactResponse (Prelude.Maybe [FailedServiceActionAssociation])
batchAssociateServiceActionWithProvisioningArtifactResponse_failedServiceActionAssociations :: (Maybe [FailedServiceActionAssociation]
-> f (Maybe [FailedServiceActionAssociation]))
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> f BatchAssociateServiceActionWithProvisioningArtifactResponse
batchAssociateServiceActionWithProvisioningArtifactResponse_failedServiceActionAssociations = (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Maybe [FailedServiceActionAssociation])
-> (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Maybe [FailedServiceActionAssociation]
-> BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> Lens
BatchAssociateServiceActionWithProvisioningArtifactResponse
BatchAssociateServiceActionWithProvisioningArtifactResponse
(Maybe [FailedServiceActionAssociation])
(Maybe [FailedServiceActionAssociation])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchAssociateServiceActionWithProvisioningArtifactResponse' {Maybe [FailedServiceActionAssociation]
failedServiceActionAssociations :: Maybe [FailedServiceActionAssociation]
$sel:failedServiceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifactResponse' :: BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Maybe [FailedServiceActionAssociation]
failedServiceActionAssociations} -> Maybe [FailedServiceActionAssociation]
failedServiceActionAssociations) (\s :: BatchAssociateServiceActionWithProvisioningArtifactResponse
s@BatchAssociateServiceActionWithProvisioningArtifactResponse' {} Maybe [FailedServiceActionAssociation]
a -> BatchAssociateServiceActionWithProvisioningArtifactResponse
s {$sel:failedServiceActionAssociations:BatchAssociateServiceActionWithProvisioningArtifactResponse' :: Maybe [FailedServiceActionAssociation]
failedServiceActionAssociations = Maybe [FailedServiceActionAssociation]
a} :: BatchAssociateServiceActionWithProvisioningArtifactResponse) ((Maybe [FailedServiceActionAssociation]
-> f (Maybe [FailedServiceActionAssociation]))
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> f BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> ((Maybe [FailedServiceActionAssociation]
-> f (Maybe [FailedServiceActionAssociation]))
-> Maybe [FailedServiceActionAssociation]
-> f (Maybe [FailedServiceActionAssociation]))
-> (Maybe [FailedServiceActionAssociation]
-> f (Maybe [FailedServiceActionAssociation]))
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> f BatchAssociateServiceActionWithProvisioningArtifactResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[FailedServiceActionAssociation]
[FailedServiceActionAssociation]
[FailedServiceActionAssociation]
[FailedServiceActionAssociation]
-> Iso
(Maybe [FailedServiceActionAssociation])
(Maybe [FailedServiceActionAssociation])
(Maybe [FailedServiceActionAssociation])
(Maybe [FailedServiceActionAssociation])
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
[FailedServiceActionAssociation]
[FailedServiceActionAssociation]
[FailedServiceActionAssociation]
[FailedServiceActionAssociation]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
batchAssociateServiceActionWithProvisioningArtifactResponse_httpStatus :: Lens.Lens' BatchAssociateServiceActionWithProvisioningArtifactResponse Prelude.Int
batchAssociateServiceActionWithProvisioningArtifactResponse_httpStatus :: (Int -> f Int)
-> BatchAssociateServiceActionWithProvisioningArtifactResponse
-> f BatchAssociateServiceActionWithProvisioningArtifactResponse
batchAssociateServiceActionWithProvisioningArtifactResponse_httpStatus = (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Int)
-> (BatchAssociateServiceActionWithProvisioningArtifactResponse
-> Int
-> BatchAssociateServiceActionWithProvisioningArtifactResponse)
-> Lens
BatchAssociateServiceActionWithProvisioningArtifactResponse
BatchAssociateServiceActionWithProvisioningArtifactResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchAssociateServiceActionWithProvisioningArtifactResponse' {Int
httpStatus :: Int
$sel:httpStatus:BatchAssociateServiceActionWithProvisioningArtifactResponse' :: BatchAssociateServiceActionWithProvisioningArtifactResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: BatchAssociateServiceActionWithProvisioningArtifactResponse
s@BatchAssociateServiceActionWithProvisioningArtifactResponse' {} Int
a -> BatchAssociateServiceActionWithProvisioningArtifactResponse
s {$sel:httpStatus:BatchAssociateServiceActionWithProvisioningArtifactResponse' :: Int
httpStatus = Int
a} :: BatchAssociateServiceActionWithProvisioningArtifactResponse)
instance
Prelude.NFData
BatchAssociateServiceActionWithProvisioningArtifactResponse