amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.AvailabilityZone

Description

 
Synopsis

Documentation

data AvailabilityZone Source #

Describes Availability Zones, Local Zones, and Wavelength Zones.

See: newAvailabilityZone smart constructor.

Constructors

AvailabilityZone' 

Fields

  • groupName :: Maybe Text

    For Availability Zones, this parameter has the same value as the Region name.

    For Local Zones, the name of the associated group, for example us-west-2-lax-1.

    For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-1.

  • messages :: Maybe [AvailabilityZoneMessage]

    Any messages about the Availability Zone, Local Zone, or Wavelength Zone.

  • networkBorderGroup :: Maybe Text

    The name of the network border group.

  • optInStatus :: Maybe AvailabilityZoneOptInStatus

    For Availability Zones, this parameter always has the value of opt-in-not-required.

    For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are opted-in, and not-opted-in.

  • parentZoneId :: Maybe Text

    The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.

  • parentZoneName :: Maybe Text

    The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.

  • regionName :: Maybe Text

    The name of the Region.

  • state :: Maybe AvailabilityZoneState

    The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available.

  • zoneId :: Maybe Text

    The ID of the Availability Zone, Local Zone, or Wavelength Zone.

  • zoneName :: Maybe Text

    The name of the Availability Zone, Local Zone, or Wavelength Zone.

  • zoneType :: Maybe Text

    The type of zone. The valid values are availability-zone, local-zone, and wavelength-zone.

Instances

Instances details
FromXML AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

Generic AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

Associated Types

type Rep AvailabilityZone :: Type -> Type #

Read AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

Show AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

NFData AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

Methods

rnf :: AvailabilityZone -> () #

Eq AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

Hashable AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

type Rep AvailabilityZone Source # 
Instance details

Defined in Amazonka.EC2.Types.AvailabilityZone

type Rep AvailabilityZone = D1 ('MetaData "AvailabilityZone" "Amazonka.EC2.Types.AvailabilityZone" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AvailabilityZone'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AvailabilityZoneMessage]))) :*: (S1 ('MetaSel ('Just "networkBorderGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "optInStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AvailabilityZoneOptInStatus)) :*: S1 ('MetaSel ('Just "parentZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "parentZoneName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AvailabilityZoneState)))) :*: (S1 ('MetaSel ('Just "zoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "zoneName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "zoneType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newAvailabilityZone :: AvailabilityZone Source #

Create a value of AvailabilityZone 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:groupName:AvailabilityZone', availabilityZone_groupName - For Availability Zones, this parameter has the same value as the Region name.

For Local Zones, the name of the associated group, for example us-west-2-lax-1.

For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-1.

$sel:messages:AvailabilityZone', availabilityZone_messages - Any messages about the Availability Zone, Local Zone, or Wavelength Zone.

$sel:networkBorderGroup:AvailabilityZone', availabilityZone_networkBorderGroup - The name of the network border group.

$sel:optInStatus:AvailabilityZone', availabilityZone_optInStatus - For Availability Zones, this parameter always has the value of opt-in-not-required.

For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are opted-in, and not-opted-in.

$sel:parentZoneId:AvailabilityZone', availabilityZone_parentZoneId - The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.

$sel:parentZoneName:AvailabilityZone', availabilityZone_parentZoneName - The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.

$sel:regionName:AvailabilityZone', availabilityZone_regionName - The name of the Region.

$sel:state:AvailabilityZone', availabilityZone_state - The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available.

$sel:zoneId:AvailabilityZone', availabilityZone_zoneId - The ID of the Availability Zone, Local Zone, or Wavelength Zone.

$sel:zoneName:AvailabilityZone', availabilityZone_zoneName - The name of the Availability Zone, Local Zone, or Wavelength Zone.

$sel:zoneType:AvailabilityZone', availabilityZone_zoneType - The type of zone. The valid values are availability-zone, local-zone, and wavelength-zone.

availabilityZone_groupName :: Lens' AvailabilityZone (Maybe Text) Source #

For Availability Zones, this parameter has the same value as the Region name.

For Local Zones, the name of the associated group, for example us-west-2-lax-1.

For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-1.

availabilityZone_messages :: Lens' AvailabilityZone (Maybe [AvailabilityZoneMessage]) Source #

Any messages about the Availability Zone, Local Zone, or Wavelength Zone.

availabilityZone_networkBorderGroup :: Lens' AvailabilityZone (Maybe Text) Source #

The name of the network border group.

availabilityZone_optInStatus :: Lens' AvailabilityZone (Maybe AvailabilityZoneOptInStatus) Source #

For Availability Zones, this parameter always has the value of opt-in-not-required.

For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are opted-in, and not-opted-in.

availabilityZone_parentZoneId :: Lens' AvailabilityZone (Maybe Text) Source #

The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.

availabilityZone_parentZoneName :: Lens' AvailabilityZone (Maybe Text) Source #

The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.

availabilityZone_state :: Lens' AvailabilityZone (Maybe AvailabilityZoneState) Source #

The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available.

availabilityZone_zoneId :: Lens' AvailabilityZone (Maybe Text) Source #

The ID of the Availability Zone, Local Zone, or Wavelength Zone.

availabilityZone_zoneName :: Lens' AvailabilityZone (Maybe Text) Source #

The name of the Availability Zone, Local Zone, or Wavelength Zone.

availabilityZone_zoneType :: Lens' AvailabilityZone (Maybe Text) Source #

The type of zone. The valid values are availability-zone, local-zone, and wavelength-zone.