amazonka-ecs-2.0: Amazon EC2 Container Service 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.ECS.Types.Attachment

Description

 
Synopsis

Documentation

data Attachment Source #

An object representing a container instance or task attachment.

See: newAttachment smart constructor.

Constructors

Attachment' 

Fields

  • details :: Maybe [KeyValuePair]

    Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

  • id :: Maybe Text

    The unique identifier for the attachment.

  • status :: Maybe Text

    The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, DELETED, and FAILED.

  • type' :: Maybe Text

    The type of the attachment, such as ElasticNetworkInterface.

Instances

Instances details
FromJSON Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Generic Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Associated Types

type Rep Attachment :: Type -> Type #

Read Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Show Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

NFData Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Methods

rnf :: Attachment -> () #

Eq Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Hashable Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

type Rep Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

type Rep Attachment = D1 ('MetaData "Attachment" "Amazonka.ECS.Types.Attachment" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "Attachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyValuePair])) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAttachment :: Attachment Source #

Create a value of Attachment 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:details:Attachment', attachment_details - Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

$sel:id:Attachment', attachment_id - The unique identifier for the attachment.

$sel:status:Attachment', attachment_status - The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, DELETED, and FAILED.

$sel:type':Attachment', attachment_type - The type of the attachment, such as ElasticNetworkInterface.

attachment_details :: Lens' Attachment (Maybe [KeyValuePair]) Source #

Details of the attachment. For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

attachment_id :: Lens' Attachment (Maybe Text) Source #

The unique identifier for the attachment.

attachment_status :: Lens' Attachment (Maybe Text) Source #

The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, DELETED, and FAILED.

attachment_type :: Lens' Attachment (Maybe Text) Source #

The type of the attachment, such as ElasticNetworkInterface.