{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Firehose.Types.VpcConfigurationDescription
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Firehose.Types.VpcConfigurationDescription where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude

-- | The details of the VPC of the Amazon ES destination.
--
-- /See:/ 'newVpcConfigurationDescription' smart constructor.
data VpcConfigurationDescription = VpcConfigurationDescription'
  { -- | The IDs of the subnets that Kinesis Data Firehose uses to create ENIs in
    -- the VPC of the Amazon ES destination. Make sure that the routing tables
    -- and inbound and outbound rules allow traffic to flow from the subnets
    -- whose IDs are specified here to the subnets that have the destination
    -- Amazon ES endpoints. Kinesis Data Firehose creates at least one ENI in
    -- each of the subnets that are specified here. Do not delete or modify
    -- these ENIs.
    --
    -- The number of ENIs that Kinesis Data Firehose creates in the subnets
    -- specified here scales up and down automatically based on throughput. To
    -- enable Kinesis Data Firehose to scale up the number of ENIs to match
    -- throughput, ensure that you have sufficient quota. To help you calculate
    -- the quota you need, assume that Kinesis Data Firehose can create up to
    -- three ENIs for this delivery stream for each of the subnets specified
    -- here. For more information about ENI quota, see
    -- <https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-enis Network Interfaces>
    -- in the Amazon VPC Quotas topic.
    VpcConfigurationDescription -> NonEmpty Text
subnetIds :: Prelude.NonEmpty Prelude.Text,
    -- | The ARN of the IAM role that the delivery stream uses to create
    -- endpoints in the destination VPC. You can use your existing Kinesis Data
    -- Firehose delivery role or you can specify a new role. In either case,
    -- make sure that the role trusts the Kinesis Data Firehose service
    -- principal and that it grants the following permissions:
    --
    -- -   @ec2:DescribeVpcs@
    --
    -- -   @ec2:DescribeVpcAttribute@
    --
    -- -   @ec2:DescribeSubnets@
    --
    -- -   @ec2:DescribeSecurityGroups@
    --
    -- -   @ec2:DescribeNetworkInterfaces@
    --
    -- -   @ec2:CreateNetworkInterface@
    --
    -- -   @ec2:CreateNetworkInterfacePermission@
    --
    -- -   @ec2:DeleteNetworkInterface@
    --
    -- If you revoke these permissions after you create the delivery stream,
    -- Kinesis Data Firehose can\'t scale out by creating more ENIs when
    -- necessary. You might therefore see a degradation in performance.
    VpcConfigurationDescription -> Text
roleARN :: Prelude.Text,
    -- | The IDs of the security groups that Kinesis Data Firehose uses when it
    -- creates ENIs in the VPC of the Amazon ES destination. You can use the
    -- same security group that the Amazon ES domain uses or different ones. If
    -- you specify different security groups, ensure that they allow outbound
    -- HTTPS traffic to the Amazon ES domain\'s security group. Also ensure
    -- that the Amazon ES domain\'s security group allows HTTPS traffic from
    -- the security groups specified here. If you use the same security group
    -- for both your delivery stream and the Amazon ES domain, make sure the
    -- security group inbound rule allows HTTPS traffic. For more information
    -- about security group rules, see
    -- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules Security group rules>
    -- in the Amazon VPC documentation.
    VpcConfigurationDescription -> NonEmpty Text
securityGroupIds :: Prelude.NonEmpty Prelude.Text,
    -- | The ID of the Amazon ES destination\'s VPC.
    VpcConfigurationDescription -> Text
vpcId :: Prelude.Text
  }
  deriving (VpcConfigurationDescription -> VpcConfigurationDescription -> Bool
(VpcConfigurationDescription
 -> VpcConfigurationDescription -> Bool)
-> (VpcConfigurationDescription
    -> VpcConfigurationDescription -> Bool)
-> Eq VpcConfigurationDescription
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: VpcConfigurationDescription -> VpcConfigurationDescription -> Bool
$c/= :: VpcConfigurationDescription -> VpcConfigurationDescription -> Bool
== :: VpcConfigurationDescription -> VpcConfigurationDescription -> Bool
$c== :: VpcConfigurationDescription -> VpcConfigurationDescription -> Bool
Prelude.Eq, ReadPrec [VpcConfigurationDescription]
ReadPrec VpcConfigurationDescription
Int -> ReadS VpcConfigurationDescription
ReadS [VpcConfigurationDescription]
(Int -> ReadS VpcConfigurationDescription)
-> ReadS [VpcConfigurationDescription]
-> ReadPrec VpcConfigurationDescription
-> ReadPrec [VpcConfigurationDescription]
-> Read VpcConfigurationDescription
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [VpcConfigurationDescription]
$creadListPrec :: ReadPrec [VpcConfigurationDescription]
readPrec :: ReadPrec VpcConfigurationDescription
$creadPrec :: ReadPrec VpcConfigurationDescription
readList :: ReadS [VpcConfigurationDescription]
$creadList :: ReadS [VpcConfigurationDescription]
readsPrec :: Int -> ReadS VpcConfigurationDescription
$creadsPrec :: Int -> ReadS VpcConfigurationDescription
Prelude.Read, Int -> VpcConfigurationDescription -> ShowS
[VpcConfigurationDescription] -> ShowS
VpcConfigurationDescription -> String
(Int -> VpcConfigurationDescription -> ShowS)
-> (VpcConfigurationDescription -> String)
-> ([VpcConfigurationDescription] -> ShowS)
-> Show VpcConfigurationDescription
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [VpcConfigurationDescription] -> ShowS
$cshowList :: [VpcConfigurationDescription] -> ShowS
show :: VpcConfigurationDescription -> String
$cshow :: VpcConfigurationDescription -> String
showsPrec :: Int -> VpcConfigurationDescription -> ShowS
$cshowsPrec :: Int -> VpcConfigurationDescription -> ShowS
Prelude.Show, (forall x.
 VpcConfigurationDescription -> Rep VpcConfigurationDescription x)
-> (forall x.
    Rep VpcConfigurationDescription x -> VpcConfigurationDescription)
-> Generic VpcConfigurationDescription
forall x.
Rep VpcConfigurationDescription x -> VpcConfigurationDescription
forall x.
VpcConfigurationDescription -> Rep VpcConfigurationDescription x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep VpcConfigurationDescription x -> VpcConfigurationDescription
$cfrom :: forall x.
VpcConfigurationDescription -> Rep VpcConfigurationDescription x
Prelude.Generic)

-- |
-- Create a value of 'VpcConfigurationDescription' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'subnetIds', 'vpcConfigurationDescription_subnetIds' - The IDs of the subnets that Kinesis Data Firehose uses to create ENIs in
-- the VPC of the Amazon ES destination. Make sure that the routing tables
-- and inbound and outbound rules allow traffic to flow from the subnets
-- whose IDs are specified here to the subnets that have the destination
-- Amazon ES endpoints. Kinesis Data Firehose creates at least one ENI in
-- each of the subnets that are specified here. Do not delete or modify
-- these ENIs.
--
-- The number of ENIs that Kinesis Data Firehose creates in the subnets
-- specified here scales up and down automatically based on throughput. To
-- enable Kinesis Data Firehose to scale up the number of ENIs to match
-- throughput, ensure that you have sufficient quota. To help you calculate
-- the quota you need, assume that Kinesis Data Firehose can create up to
-- three ENIs for this delivery stream for each of the subnets specified
-- here. For more information about ENI quota, see
-- <https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-enis Network Interfaces>
-- in the Amazon VPC Quotas topic.
--
-- 'roleARN', 'vpcConfigurationDescription_roleARN' - The ARN of the IAM role that the delivery stream uses to create
-- endpoints in the destination VPC. You can use your existing Kinesis Data
-- Firehose delivery role or you can specify a new role. In either case,
-- make sure that the role trusts the Kinesis Data Firehose service
-- principal and that it grants the following permissions:
--
-- -   @ec2:DescribeVpcs@
--
-- -   @ec2:DescribeVpcAttribute@
--
-- -   @ec2:DescribeSubnets@
--
-- -   @ec2:DescribeSecurityGroups@
--
-- -   @ec2:DescribeNetworkInterfaces@
--
-- -   @ec2:CreateNetworkInterface@
--
-- -   @ec2:CreateNetworkInterfacePermission@
--
-- -   @ec2:DeleteNetworkInterface@
--
-- If you revoke these permissions after you create the delivery stream,
-- Kinesis Data Firehose can\'t scale out by creating more ENIs when
-- necessary. You might therefore see a degradation in performance.
--
-- 'securityGroupIds', 'vpcConfigurationDescription_securityGroupIds' - The IDs of the security groups that Kinesis Data Firehose uses when it
-- creates ENIs in the VPC of the Amazon ES destination. You can use the
-- same security group that the Amazon ES domain uses or different ones. If
-- you specify different security groups, ensure that they allow outbound
-- HTTPS traffic to the Amazon ES domain\'s security group. Also ensure
-- that the Amazon ES domain\'s security group allows HTTPS traffic from
-- the security groups specified here. If you use the same security group
-- for both your delivery stream and the Amazon ES domain, make sure the
-- security group inbound rule allows HTTPS traffic. For more information
-- about security group rules, see
-- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules Security group rules>
-- in the Amazon VPC documentation.
--
-- 'vpcId', 'vpcConfigurationDescription_vpcId' - The ID of the Amazon ES destination\'s VPC.
newVpcConfigurationDescription ::
  -- | 'subnetIds'
  Prelude.NonEmpty Prelude.Text ->
  -- | 'roleARN'
  Prelude.Text ->
  -- | 'securityGroupIds'
  Prelude.NonEmpty Prelude.Text ->
  -- | 'vpcId'
  Prelude.Text ->
  VpcConfigurationDescription
newVpcConfigurationDescription :: NonEmpty Text
-> Text -> NonEmpty Text -> Text -> VpcConfigurationDescription
newVpcConfigurationDescription
  NonEmpty Text
pSubnetIds_
  Text
pRoleARN_
  NonEmpty Text
pSecurityGroupIds_
  Text
pVpcId_ =
    VpcConfigurationDescription' :: NonEmpty Text
-> Text -> NonEmpty Text -> Text -> VpcConfigurationDescription
VpcConfigurationDescription'
      { $sel:subnetIds:VpcConfigurationDescription' :: NonEmpty Text
subnetIds =
          Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged (NonEmpty Text) (Identity (NonEmpty Text))
 -> Tagged (NonEmpty Text) (Identity (NonEmpty Text)))
-> NonEmpty Text -> NonEmpty Text
forall t b. AReview t b -> b -> t
Lens.# NonEmpty Text
pSubnetIds_,
        $sel:roleARN:VpcConfigurationDescription' :: Text
roleARN = Text
pRoleARN_,
        $sel:securityGroupIds:VpcConfigurationDescription' :: NonEmpty Text
securityGroupIds =
          Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged (NonEmpty Text) (Identity (NonEmpty Text))
 -> Tagged (NonEmpty Text) (Identity (NonEmpty Text)))
-> NonEmpty Text -> NonEmpty Text
forall t b. AReview t b -> b -> t
Lens.# NonEmpty Text
pSecurityGroupIds_,
        $sel:vpcId:VpcConfigurationDescription' :: Text
vpcId = Text
pVpcId_
      }

-- | The IDs of the subnets that Kinesis Data Firehose uses to create ENIs in
-- the VPC of the Amazon ES destination. Make sure that the routing tables
-- and inbound and outbound rules allow traffic to flow from the subnets
-- whose IDs are specified here to the subnets that have the destination
-- Amazon ES endpoints. Kinesis Data Firehose creates at least one ENI in
-- each of the subnets that are specified here. Do not delete or modify
-- these ENIs.
--
-- The number of ENIs that Kinesis Data Firehose creates in the subnets
-- specified here scales up and down automatically based on throughput. To
-- enable Kinesis Data Firehose to scale up the number of ENIs to match
-- throughput, ensure that you have sufficient quota. To help you calculate
-- the quota you need, assume that Kinesis Data Firehose can create up to
-- three ENIs for this delivery stream for each of the subnets specified
-- here. For more information about ENI quota, see
-- <https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-enis Network Interfaces>
-- in the Amazon VPC Quotas topic.
vpcConfigurationDescription_subnetIds :: Lens.Lens' VpcConfigurationDescription (Prelude.NonEmpty Prelude.Text)
vpcConfigurationDescription_subnetIds :: (NonEmpty Text -> f (NonEmpty Text))
-> VpcConfigurationDescription -> f VpcConfigurationDescription
vpcConfigurationDescription_subnetIds = (VpcConfigurationDescription -> NonEmpty Text)
-> (VpcConfigurationDescription
    -> NonEmpty Text -> VpcConfigurationDescription)
-> Lens
     VpcConfigurationDescription
     VpcConfigurationDescription
     (NonEmpty Text)
     (NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\VpcConfigurationDescription' {NonEmpty Text
subnetIds :: NonEmpty Text
$sel:subnetIds:VpcConfigurationDescription' :: VpcConfigurationDescription -> NonEmpty Text
subnetIds} -> NonEmpty Text
subnetIds) (\s :: VpcConfigurationDescription
s@VpcConfigurationDescription' {} NonEmpty Text
a -> VpcConfigurationDescription
s {$sel:subnetIds:VpcConfigurationDescription' :: NonEmpty Text
subnetIds = NonEmpty Text
a} :: VpcConfigurationDescription) ((NonEmpty Text -> f (NonEmpty Text))
 -> VpcConfigurationDescription -> f VpcConfigurationDescription)
-> ((NonEmpty Text -> f (NonEmpty Text))
    -> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> VpcConfigurationDescription
-> f VpcConfigurationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The ARN of the IAM role that the delivery stream uses to create
-- endpoints in the destination VPC. You can use your existing Kinesis Data
-- Firehose delivery role or you can specify a new role. In either case,
-- make sure that the role trusts the Kinesis Data Firehose service
-- principal and that it grants the following permissions:
--
-- -   @ec2:DescribeVpcs@
--
-- -   @ec2:DescribeVpcAttribute@
--
-- -   @ec2:DescribeSubnets@
--
-- -   @ec2:DescribeSecurityGroups@
--
-- -   @ec2:DescribeNetworkInterfaces@
--
-- -   @ec2:CreateNetworkInterface@
--
-- -   @ec2:CreateNetworkInterfacePermission@
--
-- -   @ec2:DeleteNetworkInterface@
--
-- If you revoke these permissions after you create the delivery stream,
-- Kinesis Data Firehose can\'t scale out by creating more ENIs when
-- necessary. You might therefore see a degradation in performance.
vpcConfigurationDescription_roleARN :: Lens.Lens' VpcConfigurationDescription Prelude.Text
vpcConfigurationDescription_roleARN :: (Text -> f Text)
-> VpcConfigurationDescription -> f VpcConfigurationDescription
vpcConfigurationDescription_roleARN = (VpcConfigurationDescription -> Text)
-> (VpcConfigurationDescription
    -> Text -> VpcConfigurationDescription)
-> Lens
     VpcConfigurationDescription VpcConfigurationDescription Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\VpcConfigurationDescription' {Text
roleARN :: Text
$sel:roleARN:VpcConfigurationDescription' :: VpcConfigurationDescription -> Text
roleARN} -> Text
roleARN) (\s :: VpcConfigurationDescription
s@VpcConfigurationDescription' {} Text
a -> VpcConfigurationDescription
s {$sel:roleARN:VpcConfigurationDescription' :: Text
roleARN = Text
a} :: VpcConfigurationDescription)

-- | The IDs of the security groups that Kinesis Data Firehose uses when it
-- creates ENIs in the VPC of the Amazon ES destination. You can use the
-- same security group that the Amazon ES domain uses or different ones. If
-- you specify different security groups, ensure that they allow outbound
-- HTTPS traffic to the Amazon ES domain\'s security group. Also ensure
-- that the Amazon ES domain\'s security group allows HTTPS traffic from
-- the security groups specified here. If you use the same security group
-- for both your delivery stream and the Amazon ES domain, make sure the
-- security group inbound rule allows HTTPS traffic. For more information
-- about security group rules, see
-- <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules Security group rules>
-- in the Amazon VPC documentation.
vpcConfigurationDescription_securityGroupIds :: Lens.Lens' VpcConfigurationDescription (Prelude.NonEmpty Prelude.Text)
vpcConfigurationDescription_securityGroupIds :: (NonEmpty Text -> f (NonEmpty Text))
-> VpcConfigurationDescription -> f VpcConfigurationDescription
vpcConfigurationDescription_securityGroupIds = (VpcConfigurationDescription -> NonEmpty Text)
-> (VpcConfigurationDescription
    -> NonEmpty Text -> VpcConfigurationDescription)
-> Lens
     VpcConfigurationDescription
     VpcConfigurationDescription
     (NonEmpty Text)
     (NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\VpcConfigurationDescription' {NonEmpty Text
securityGroupIds :: NonEmpty Text
$sel:securityGroupIds:VpcConfigurationDescription' :: VpcConfigurationDescription -> NonEmpty Text
securityGroupIds} -> NonEmpty Text
securityGroupIds) (\s :: VpcConfigurationDescription
s@VpcConfigurationDescription' {} NonEmpty Text
a -> VpcConfigurationDescription
s {$sel:securityGroupIds:VpcConfigurationDescription' :: NonEmpty Text
securityGroupIds = NonEmpty Text
a} :: VpcConfigurationDescription) ((NonEmpty Text -> f (NonEmpty Text))
 -> VpcConfigurationDescription -> f VpcConfigurationDescription)
-> ((NonEmpty Text -> f (NonEmpty Text))
    -> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> VpcConfigurationDescription
-> f VpcConfigurationDescription
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The ID of the Amazon ES destination\'s VPC.
vpcConfigurationDescription_vpcId :: Lens.Lens' VpcConfigurationDescription Prelude.Text
vpcConfigurationDescription_vpcId :: (Text -> f Text)
-> VpcConfigurationDescription -> f VpcConfigurationDescription
vpcConfigurationDescription_vpcId = (VpcConfigurationDescription -> Text)
-> (VpcConfigurationDescription
    -> Text -> VpcConfigurationDescription)
-> Lens
     VpcConfigurationDescription VpcConfigurationDescription Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\VpcConfigurationDescription' {Text
vpcId :: Text
$sel:vpcId:VpcConfigurationDescription' :: VpcConfigurationDescription -> Text
vpcId} -> Text
vpcId) (\s :: VpcConfigurationDescription
s@VpcConfigurationDescription' {} Text
a -> VpcConfigurationDescription
s {$sel:vpcId:VpcConfigurationDescription' :: Text
vpcId = Text
a} :: VpcConfigurationDescription)

instance Core.FromJSON VpcConfigurationDescription where
  parseJSON :: Value -> Parser VpcConfigurationDescription
parseJSON =
    String
-> (Object -> Parser VpcConfigurationDescription)
-> Value
-> Parser VpcConfigurationDescription
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"VpcConfigurationDescription"
      ( \Object
x ->
          NonEmpty Text
-> Text -> NonEmpty Text -> Text -> VpcConfigurationDescription
VpcConfigurationDescription'
            (NonEmpty Text
 -> Text -> NonEmpty Text -> Text -> VpcConfigurationDescription)
-> Parser (NonEmpty Text)
-> Parser
     (Text -> NonEmpty Text -> Text -> VpcConfigurationDescription)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (NonEmpty Text)
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"SubnetIds")
            Parser
  (Text -> NonEmpty Text -> Text -> VpcConfigurationDescription)
-> Parser Text
-> Parser (NonEmpty Text -> Text -> VpcConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"RoleARN")
            Parser (NonEmpty Text -> Text -> VpcConfigurationDescription)
-> Parser (NonEmpty Text)
-> Parser (Text -> VpcConfigurationDescription)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (NonEmpty Text)
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"SecurityGroupIds")
            Parser (Text -> VpcConfigurationDescription)
-> Parser Text -> Parser VpcConfigurationDescription
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"VpcId")
      )

instance Prelude.Hashable VpcConfigurationDescription

instance Prelude.NFData VpcConfigurationDescription