Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ByoipCidr = ByoipCidr' {
- cidr :: Maybe Text
- description :: Maybe Text
- state :: Maybe ByoipCidrState
- statusMessage :: Maybe Text
- newByoipCidr :: ByoipCidr
- byoipCidr_cidr :: Lens' ByoipCidr (Maybe Text)
- byoipCidr_description :: Lens' ByoipCidr (Maybe Text)
- byoipCidr_state :: Lens' ByoipCidr (Maybe ByoipCidrState)
- byoipCidr_statusMessage :: Lens' ByoipCidr (Maybe Text)
Documentation
Information about an address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).
See: newByoipCidr
smart constructor.
ByoipCidr' | |
|
Instances
FromXML ByoipCidr Source # | |
Generic ByoipCidr Source # | |
Read ByoipCidr Source # | |
Show ByoipCidr Source # | |
NFData ByoipCidr Source # | |
Defined in Amazonka.EC2.Types.ByoipCidr | |
Eq ByoipCidr Source # | |
Hashable ByoipCidr Source # | |
Defined in Amazonka.EC2.Types.ByoipCidr | |
type Rep ByoipCidr Source # | |
Defined in Amazonka.EC2.Types.ByoipCidr type Rep ByoipCidr = D1 ('MetaData "ByoipCidr" "Amazonka.EC2.Types.ByoipCidr" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ByoipCidr'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByoipCidrState)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newByoipCidr :: ByoipCidr Source #
Create a value of ByoipCidr
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:cidr:ByoipCidr'
, byoipCidr_cidr
- The address range, in CIDR notation.
$sel:description:ByoipCidr'
, byoipCidr_description
- The description of the address range.
$sel:state:ByoipCidr'
, byoipCidr_state
- The state of the address pool.
$sel:statusMessage:ByoipCidr'
, byoipCidr_statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains
an error message.
byoipCidr_state :: Lens' ByoipCidr (Maybe ByoipCidrState) Source #
The state of the address pool.