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.IdFormat

Description

 
Synopsis

Documentation

data IdFormat Source #

Describes the ID format for a resource.

See: newIdFormat smart constructor.

Constructors

IdFormat' 

Fields

  • deadline :: Maybe ISO8601

    The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.

  • resource :: Maybe Text

    The type of resource.

  • useLongIds :: Maybe Bool

    Indicates whether longer IDs (17-character IDs) are enabled for the resource.

Instances

Instances details
FromXML IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

Generic IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

Associated Types

type Rep IdFormat :: Type -> Type #

Methods

from :: IdFormat -> Rep IdFormat x #

to :: Rep IdFormat x -> IdFormat #

Read IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

Show IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

NFData IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

Methods

rnf :: IdFormat -> () #

Eq IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

Hashable IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

Methods

hashWithSalt :: Int -> IdFormat -> Int #

hash :: IdFormat -> Int #

type Rep IdFormat Source # 
Instance details

Defined in Amazonka.EC2.Types.IdFormat

type Rep IdFormat = D1 ('MetaData "IdFormat" "Amazonka.EC2.Types.IdFormat" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IdFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deadline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "useLongIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newIdFormat :: IdFormat Source #

Create a value of IdFormat 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:deadline:IdFormat', idFormat_deadline - The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.

$sel:resource:IdFormat', idFormat_resource - The type of resource.

$sel:useLongIds:IdFormat', idFormat_useLongIds - Indicates whether longer IDs (17-character IDs) are enabled for the resource.

idFormat_deadline :: Lens' IdFormat (Maybe UTCTime) Source #

The date in UTC at which you are permanently switched over to using longer IDs. If a deadline is not yet available for this resource type, this field is not returned.

idFormat_resource :: Lens' IdFormat (Maybe Text) Source #

The type of resource.

idFormat_useLongIds :: Lens' IdFormat (Maybe Bool) Source #

Indicates whether longer IDs (17-character IDs) are enabled for the resource.