{-# 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.KinesisAnalyticsV2.DeleteApplicationVpcConfiguration
(
DeleteApplicationVpcConfiguration (..),
newDeleteApplicationVpcConfiguration,
deleteApplicationVpcConfiguration_currentApplicationVersionId,
deleteApplicationVpcConfiguration_conditionalToken,
deleteApplicationVpcConfiguration_applicationName,
deleteApplicationVpcConfiguration_vpcConfigurationId,
DeleteApplicationVpcConfigurationResponse (..),
newDeleteApplicationVpcConfigurationResponse,
deleteApplicationVpcConfigurationResponse_applicationARN,
deleteApplicationVpcConfigurationResponse_applicationVersionId,
deleteApplicationVpcConfigurationResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.KinesisAnalyticsV2.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DeleteApplicationVpcConfiguration = DeleteApplicationVpcConfiguration'
{
DeleteApplicationVpcConfiguration -> Maybe Natural
currentApplicationVersionId :: Prelude.Maybe Prelude.Natural,
DeleteApplicationVpcConfiguration -> Maybe Text
conditionalToken :: Prelude.Maybe Prelude.Text,
DeleteApplicationVpcConfiguration -> Text
applicationName :: Prelude.Text,
DeleteApplicationVpcConfiguration -> Text
vpcConfigurationId :: Prelude.Text
}
deriving (DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool
(DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool)
-> (DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool)
-> Eq DeleteApplicationVpcConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool
$c/= :: DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool
== :: DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool
$c== :: DeleteApplicationVpcConfiguration
-> DeleteApplicationVpcConfiguration -> Bool
Prelude.Eq, ReadPrec [DeleteApplicationVpcConfiguration]
ReadPrec DeleteApplicationVpcConfiguration
Int -> ReadS DeleteApplicationVpcConfiguration
ReadS [DeleteApplicationVpcConfiguration]
(Int -> ReadS DeleteApplicationVpcConfiguration)
-> ReadS [DeleteApplicationVpcConfiguration]
-> ReadPrec DeleteApplicationVpcConfiguration
-> ReadPrec [DeleteApplicationVpcConfiguration]
-> Read DeleteApplicationVpcConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteApplicationVpcConfiguration]
$creadListPrec :: ReadPrec [DeleteApplicationVpcConfiguration]
readPrec :: ReadPrec DeleteApplicationVpcConfiguration
$creadPrec :: ReadPrec DeleteApplicationVpcConfiguration
readList :: ReadS [DeleteApplicationVpcConfiguration]
$creadList :: ReadS [DeleteApplicationVpcConfiguration]
readsPrec :: Int -> ReadS DeleteApplicationVpcConfiguration
$creadsPrec :: Int -> ReadS DeleteApplicationVpcConfiguration
Prelude.Read, Int -> DeleteApplicationVpcConfiguration -> ShowS
[DeleteApplicationVpcConfiguration] -> ShowS
DeleteApplicationVpcConfiguration -> String
(Int -> DeleteApplicationVpcConfiguration -> ShowS)
-> (DeleteApplicationVpcConfiguration -> String)
-> ([DeleteApplicationVpcConfiguration] -> ShowS)
-> Show DeleteApplicationVpcConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteApplicationVpcConfiguration] -> ShowS
$cshowList :: [DeleteApplicationVpcConfiguration] -> ShowS
show :: DeleteApplicationVpcConfiguration -> String
$cshow :: DeleteApplicationVpcConfiguration -> String
showsPrec :: Int -> DeleteApplicationVpcConfiguration -> ShowS
$cshowsPrec :: Int -> DeleteApplicationVpcConfiguration -> ShowS
Prelude.Show, (forall x.
DeleteApplicationVpcConfiguration
-> Rep DeleteApplicationVpcConfiguration x)
-> (forall x.
Rep DeleteApplicationVpcConfiguration x
-> DeleteApplicationVpcConfiguration)
-> Generic DeleteApplicationVpcConfiguration
forall x.
Rep DeleteApplicationVpcConfiguration x
-> DeleteApplicationVpcConfiguration
forall x.
DeleteApplicationVpcConfiguration
-> Rep DeleteApplicationVpcConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteApplicationVpcConfiguration x
-> DeleteApplicationVpcConfiguration
$cfrom :: forall x.
DeleteApplicationVpcConfiguration
-> Rep DeleteApplicationVpcConfiguration x
Prelude.Generic)
newDeleteApplicationVpcConfiguration ::
Prelude.Text ->
Prelude.Text ->
DeleteApplicationVpcConfiguration
newDeleteApplicationVpcConfiguration :: Text -> Text -> DeleteApplicationVpcConfiguration
newDeleteApplicationVpcConfiguration
Text
pApplicationName_
Text
pVpcConfigurationId_ =
DeleteApplicationVpcConfiguration' :: Maybe Natural
-> Maybe Text -> Text -> Text -> DeleteApplicationVpcConfiguration
DeleteApplicationVpcConfiguration'
{ $sel:currentApplicationVersionId:DeleteApplicationVpcConfiguration' :: Maybe Natural
currentApplicationVersionId =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:conditionalToken:DeleteApplicationVpcConfiguration' :: Maybe Text
conditionalToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:applicationName:DeleteApplicationVpcConfiguration' :: Text
applicationName = Text
pApplicationName_,
$sel:vpcConfigurationId:DeleteApplicationVpcConfiguration' :: Text
vpcConfigurationId =
Text
pVpcConfigurationId_
}
deleteApplicationVpcConfiguration_currentApplicationVersionId :: Lens.Lens' DeleteApplicationVpcConfiguration (Prelude.Maybe Prelude.Natural)
deleteApplicationVpcConfiguration_currentApplicationVersionId :: (Maybe Natural -> f (Maybe Natural))
-> DeleteApplicationVpcConfiguration
-> f DeleteApplicationVpcConfiguration
deleteApplicationVpcConfiguration_currentApplicationVersionId = (DeleteApplicationVpcConfiguration -> Maybe Natural)
-> (DeleteApplicationVpcConfiguration
-> Maybe Natural -> DeleteApplicationVpcConfiguration)
-> Lens
DeleteApplicationVpcConfiguration
DeleteApplicationVpcConfiguration
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfiguration' {Maybe Natural
currentApplicationVersionId :: Maybe Natural
$sel:currentApplicationVersionId:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Maybe Natural
currentApplicationVersionId} -> Maybe Natural
currentApplicationVersionId) (\s :: DeleteApplicationVpcConfiguration
s@DeleteApplicationVpcConfiguration' {} Maybe Natural
a -> DeleteApplicationVpcConfiguration
s {$sel:currentApplicationVersionId:DeleteApplicationVpcConfiguration' :: Maybe Natural
currentApplicationVersionId = Maybe Natural
a} :: DeleteApplicationVpcConfiguration)
deleteApplicationVpcConfiguration_conditionalToken :: Lens.Lens' DeleteApplicationVpcConfiguration (Prelude.Maybe Prelude.Text)
deleteApplicationVpcConfiguration_conditionalToken :: (Maybe Text -> f (Maybe Text))
-> DeleteApplicationVpcConfiguration
-> f DeleteApplicationVpcConfiguration
deleteApplicationVpcConfiguration_conditionalToken = (DeleteApplicationVpcConfiguration -> Maybe Text)
-> (DeleteApplicationVpcConfiguration
-> Maybe Text -> DeleteApplicationVpcConfiguration)
-> Lens
DeleteApplicationVpcConfiguration
DeleteApplicationVpcConfiguration
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfiguration' {Maybe Text
conditionalToken :: Maybe Text
$sel:conditionalToken:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Maybe Text
conditionalToken} -> Maybe Text
conditionalToken) (\s :: DeleteApplicationVpcConfiguration
s@DeleteApplicationVpcConfiguration' {} Maybe Text
a -> DeleteApplicationVpcConfiguration
s {$sel:conditionalToken:DeleteApplicationVpcConfiguration' :: Maybe Text
conditionalToken = Maybe Text
a} :: DeleteApplicationVpcConfiguration)
deleteApplicationVpcConfiguration_applicationName :: Lens.Lens' DeleteApplicationVpcConfiguration Prelude.Text
deleteApplicationVpcConfiguration_applicationName :: (Text -> f Text)
-> DeleteApplicationVpcConfiguration
-> f DeleteApplicationVpcConfiguration
deleteApplicationVpcConfiguration_applicationName = (DeleteApplicationVpcConfiguration -> Text)
-> (DeleteApplicationVpcConfiguration
-> Text -> DeleteApplicationVpcConfiguration)
-> Lens
DeleteApplicationVpcConfiguration
DeleteApplicationVpcConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfiguration' {Text
applicationName :: Text
$sel:applicationName:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Text
applicationName} -> Text
applicationName) (\s :: DeleteApplicationVpcConfiguration
s@DeleteApplicationVpcConfiguration' {} Text
a -> DeleteApplicationVpcConfiguration
s {$sel:applicationName:DeleteApplicationVpcConfiguration' :: Text
applicationName = Text
a} :: DeleteApplicationVpcConfiguration)
deleteApplicationVpcConfiguration_vpcConfigurationId :: Lens.Lens' DeleteApplicationVpcConfiguration Prelude.Text
deleteApplicationVpcConfiguration_vpcConfigurationId :: (Text -> f Text)
-> DeleteApplicationVpcConfiguration
-> f DeleteApplicationVpcConfiguration
deleteApplicationVpcConfiguration_vpcConfigurationId = (DeleteApplicationVpcConfiguration -> Text)
-> (DeleteApplicationVpcConfiguration
-> Text -> DeleteApplicationVpcConfiguration)
-> Lens
DeleteApplicationVpcConfiguration
DeleteApplicationVpcConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfiguration' {Text
vpcConfigurationId :: Text
$sel:vpcConfigurationId:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Text
vpcConfigurationId} -> Text
vpcConfigurationId) (\s :: DeleteApplicationVpcConfiguration
s@DeleteApplicationVpcConfiguration' {} Text
a -> DeleteApplicationVpcConfiguration
s {$sel:vpcConfigurationId:DeleteApplicationVpcConfiguration' :: Text
vpcConfigurationId = Text
a} :: DeleteApplicationVpcConfiguration)
instance
Core.AWSRequest
DeleteApplicationVpcConfiguration
where
type
AWSResponse DeleteApplicationVpcConfiguration =
DeleteApplicationVpcConfigurationResponse
request :: DeleteApplicationVpcConfiguration
-> Request DeleteApplicationVpcConfiguration
request = Service
-> DeleteApplicationVpcConfiguration
-> Request DeleteApplicationVpcConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteApplicationVpcConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DeleteApplicationVpcConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteApplicationVpcConfiguration))
-> Logger
-> Service
-> Proxy DeleteApplicationVpcConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DeleteApplicationVpcConfiguration)))
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 Text
-> Maybe Natural
-> Int
-> DeleteApplicationVpcConfigurationResponse
DeleteApplicationVpcConfigurationResponse'
(Maybe Text
-> Maybe Natural
-> Int
-> DeleteApplicationVpcConfigurationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Natural -> Int -> DeleteApplicationVpcConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ApplicationARN")
Either
String
(Maybe Natural -> Int -> DeleteApplicationVpcConfigurationResponse)
-> Either String (Maybe Natural)
-> Either String (Int -> DeleteApplicationVpcConfigurationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ApplicationVersionId")
Either String (Int -> DeleteApplicationVpcConfigurationResponse)
-> Either String Int
-> Either String DeleteApplicationVpcConfigurationResponse
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
DeleteApplicationVpcConfiguration
instance
Prelude.NFData
DeleteApplicationVpcConfiguration
instance
Core.ToHeaders
DeleteApplicationVpcConfiguration
where
toHeaders :: DeleteApplicationVpcConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DeleteApplicationVpcConfiguration -> 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
"KinesisAnalytics_20180523.DeleteApplicationVpcConfiguration" ::
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
DeleteApplicationVpcConfiguration
where
toJSON :: DeleteApplicationVpcConfiguration -> Value
toJSON DeleteApplicationVpcConfiguration' {Maybe Natural
Maybe Text
Text
vpcConfigurationId :: Text
applicationName :: Text
conditionalToken :: Maybe Text
currentApplicationVersionId :: Maybe Natural
$sel:vpcConfigurationId:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Text
$sel:applicationName:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Text
$sel:conditionalToken:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Maybe Text
$sel:currentApplicationVersionId:DeleteApplicationVpcConfiguration' :: DeleteApplicationVpcConfiguration -> Maybe Natural
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"CurrentApplicationVersionId" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
currentApplicationVersionId,
(Text
"ConditionalToken" 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
conditionalToken,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"ApplicationName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
applicationName),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"VpcConfigurationId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
vpcConfigurationId)
]
)
instance
Core.ToPath
DeleteApplicationVpcConfiguration
where
toPath :: DeleteApplicationVpcConfiguration -> ByteString
toPath = ByteString -> DeleteApplicationVpcConfiguration -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DeleteApplicationVpcConfiguration
where
toQuery :: DeleteApplicationVpcConfiguration -> QueryString
toQuery = QueryString -> DeleteApplicationVpcConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DeleteApplicationVpcConfigurationResponse = DeleteApplicationVpcConfigurationResponse'
{
DeleteApplicationVpcConfigurationResponse -> Maybe Text
applicationARN :: Prelude.Maybe Prelude.Text,
DeleteApplicationVpcConfigurationResponse -> Maybe Natural
applicationVersionId :: Prelude.Maybe Prelude.Natural,
DeleteApplicationVpcConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool
(DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool)
-> (DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool)
-> Eq DeleteApplicationVpcConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool
$c/= :: DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool
== :: DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool
$c== :: DeleteApplicationVpcConfigurationResponse
-> DeleteApplicationVpcConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [DeleteApplicationVpcConfigurationResponse]
ReadPrec DeleteApplicationVpcConfigurationResponse
Int -> ReadS DeleteApplicationVpcConfigurationResponse
ReadS [DeleteApplicationVpcConfigurationResponse]
(Int -> ReadS DeleteApplicationVpcConfigurationResponse)
-> ReadS [DeleteApplicationVpcConfigurationResponse]
-> ReadPrec DeleteApplicationVpcConfigurationResponse
-> ReadPrec [DeleteApplicationVpcConfigurationResponse]
-> Read DeleteApplicationVpcConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteApplicationVpcConfigurationResponse]
$creadListPrec :: ReadPrec [DeleteApplicationVpcConfigurationResponse]
readPrec :: ReadPrec DeleteApplicationVpcConfigurationResponse
$creadPrec :: ReadPrec DeleteApplicationVpcConfigurationResponse
readList :: ReadS [DeleteApplicationVpcConfigurationResponse]
$creadList :: ReadS [DeleteApplicationVpcConfigurationResponse]
readsPrec :: Int -> ReadS DeleteApplicationVpcConfigurationResponse
$creadsPrec :: Int -> ReadS DeleteApplicationVpcConfigurationResponse
Prelude.Read, Int -> DeleteApplicationVpcConfigurationResponse -> ShowS
[DeleteApplicationVpcConfigurationResponse] -> ShowS
DeleteApplicationVpcConfigurationResponse -> String
(Int -> DeleteApplicationVpcConfigurationResponse -> ShowS)
-> (DeleteApplicationVpcConfigurationResponse -> String)
-> ([DeleteApplicationVpcConfigurationResponse] -> ShowS)
-> Show DeleteApplicationVpcConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteApplicationVpcConfigurationResponse] -> ShowS
$cshowList :: [DeleteApplicationVpcConfigurationResponse] -> ShowS
show :: DeleteApplicationVpcConfigurationResponse -> String
$cshow :: DeleteApplicationVpcConfigurationResponse -> String
showsPrec :: Int -> DeleteApplicationVpcConfigurationResponse -> ShowS
$cshowsPrec :: Int -> DeleteApplicationVpcConfigurationResponse -> ShowS
Prelude.Show, (forall x.
DeleteApplicationVpcConfigurationResponse
-> Rep DeleteApplicationVpcConfigurationResponse x)
-> (forall x.
Rep DeleteApplicationVpcConfigurationResponse x
-> DeleteApplicationVpcConfigurationResponse)
-> Generic DeleteApplicationVpcConfigurationResponse
forall x.
Rep DeleteApplicationVpcConfigurationResponse x
-> DeleteApplicationVpcConfigurationResponse
forall x.
DeleteApplicationVpcConfigurationResponse
-> Rep DeleteApplicationVpcConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteApplicationVpcConfigurationResponse x
-> DeleteApplicationVpcConfigurationResponse
$cfrom :: forall x.
DeleteApplicationVpcConfigurationResponse
-> Rep DeleteApplicationVpcConfigurationResponse x
Prelude.Generic)
newDeleteApplicationVpcConfigurationResponse ::
Prelude.Int ->
DeleteApplicationVpcConfigurationResponse
newDeleteApplicationVpcConfigurationResponse :: Int -> DeleteApplicationVpcConfigurationResponse
newDeleteApplicationVpcConfigurationResponse
Int
pHttpStatus_ =
DeleteApplicationVpcConfigurationResponse' :: Maybe Text
-> Maybe Natural
-> Int
-> DeleteApplicationVpcConfigurationResponse
DeleteApplicationVpcConfigurationResponse'
{ $sel:applicationARN:DeleteApplicationVpcConfigurationResponse' :: Maybe Text
applicationARN =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:applicationVersionId:DeleteApplicationVpcConfigurationResponse' :: Maybe Natural
applicationVersionId =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteApplicationVpcConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteApplicationVpcConfigurationResponse_applicationARN :: Lens.Lens' DeleteApplicationVpcConfigurationResponse (Prelude.Maybe Prelude.Text)
deleteApplicationVpcConfigurationResponse_applicationARN :: (Maybe Text -> f (Maybe Text))
-> DeleteApplicationVpcConfigurationResponse
-> f DeleteApplicationVpcConfigurationResponse
deleteApplicationVpcConfigurationResponse_applicationARN = (DeleteApplicationVpcConfigurationResponse -> Maybe Text)
-> (DeleteApplicationVpcConfigurationResponse
-> Maybe Text -> DeleteApplicationVpcConfigurationResponse)
-> Lens
DeleteApplicationVpcConfigurationResponse
DeleteApplicationVpcConfigurationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfigurationResponse' {Maybe Text
applicationARN :: Maybe Text
$sel:applicationARN:DeleteApplicationVpcConfigurationResponse' :: DeleteApplicationVpcConfigurationResponse -> Maybe Text
applicationARN} -> Maybe Text
applicationARN) (\s :: DeleteApplicationVpcConfigurationResponse
s@DeleteApplicationVpcConfigurationResponse' {} Maybe Text
a -> DeleteApplicationVpcConfigurationResponse
s {$sel:applicationARN:DeleteApplicationVpcConfigurationResponse' :: Maybe Text
applicationARN = Maybe Text
a} :: DeleteApplicationVpcConfigurationResponse)
deleteApplicationVpcConfigurationResponse_applicationVersionId :: Lens.Lens' DeleteApplicationVpcConfigurationResponse (Prelude.Maybe Prelude.Natural)
deleteApplicationVpcConfigurationResponse_applicationVersionId :: (Maybe Natural -> f (Maybe Natural))
-> DeleteApplicationVpcConfigurationResponse
-> f DeleteApplicationVpcConfigurationResponse
deleteApplicationVpcConfigurationResponse_applicationVersionId = (DeleteApplicationVpcConfigurationResponse -> Maybe Natural)
-> (DeleteApplicationVpcConfigurationResponse
-> Maybe Natural -> DeleteApplicationVpcConfigurationResponse)
-> Lens
DeleteApplicationVpcConfigurationResponse
DeleteApplicationVpcConfigurationResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfigurationResponse' {Maybe Natural
applicationVersionId :: Maybe Natural
$sel:applicationVersionId:DeleteApplicationVpcConfigurationResponse' :: DeleteApplicationVpcConfigurationResponse -> Maybe Natural
applicationVersionId} -> Maybe Natural
applicationVersionId) (\s :: DeleteApplicationVpcConfigurationResponse
s@DeleteApplicationVpcConfigurationResponse' {} Maybe Natural
a -> DeleteApplicationVpcConfigurationResponse
s {$sel:applicationVersionId:DeleteApplicationVpcConfigurationResponse' :: Maybe Natural
applicationVersionId = Maybe Natural
a} :: DeleteApplicationVpcConfigurationResponse)
deleteApplicationVpcConfigurationResponse_httpStatus :: Lens.Lens' DeleteApplicationVpcConfigurationResponse Prelude.Int
deleteApplicationVpcConfigurationResponse_httpStatus :: (Int -> f Int)
-> DeleteApplicationVpcConfigurationResponse
-> f DeleteApplicationVpcConfigurationResponse
deleteApplicationVpcConfigurationResponse_httpStatus = (DeleteApplicationVpcConfigurationResponse -> Int)
-> (DeleteApplicationVpcConfigurationResponse
-> Int -> DeleteApplicationVpcConfigurationResponse)
-> Lens
DeleteApplicationVpcConfigurationResponse
DeleteApplicationVpcConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteApplicationVpcConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteApplicationVpcConfigurationResponse' :: DeleteApplicationVpcConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteApplicationVpcConfigurationResponse
s@DeleteApplicationVpcConfigurationResponse' {} Int
a -> DeleteApplicationVpcConfigurationResponse
s {$sel:httpStatus:DeleteApplicationVpcConfigurationResponse' :: Int
httpStatus = Int
a} :: DeleteApplicationVpcConfigurationResponse)
instance
Prelude.NFData
DeleteApplicationVpcConfigurationResponse