amazonka-memorydb-2.0: Amazon MemoryDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MemoryDb.Types.Subnet

Description

 
Synopsis

Documentation

data Subnet Source #

Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with MemoryDB.

See: newSubnet smart constructor.

Constructors

Subnet' 

Fields

Instances

Instances details
FromJSON Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

Generic Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

Associated Types

type Rep Subnet :: Type -> Type #

Methods

from :: Subnet -> Rep Subnet x #

to :: Rep Subnet x -> Subnet #

Read Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

Show Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

NFData Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

Methods

rnf :: Subnet -> () #

Eq Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

Methods

(==) :: Subnet -> Subnet -> Bool #

(/=) :: Subnet -> Subnet -> Bool #

Hashable Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

Methods

hashWithSalt :: Int -> Subnet -> Int #

hash :: Subnet -> Int #

type Rep Subnet Source # 
Instance details

Defined in Amazonka.MemoryDb.Types.Subnet

type Rep Subnet = D1 ('MetaData "Subnet" "Amazonka.MemoryDb.Types.Subnet" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "Subnet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AvailabilityZone)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSubnet :: Subnet Source #

Create a value of Subnet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:availabilityZone:Subnet', subnet_availabilityZone - The Availability Zone where the subnet resides

$sel:identifier:Subnet', subnet_identifier - The unique identifier for the subnet.

subnet_availabilityZone :: Lens' Subnet (Maybe AvailabilityZone) Source #

The Availability Zone where the subnet resides

subnet_identifier :: Lens' Subnet (Maybe Text) Source #

The unique identifier for the subnet.