libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • status :: Maybe Text

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

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

  • type' :: Maybe Text

    The type of the attachment, such as ElasticNetworkInterface.

Instances

Instances details
Eq Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Read Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Show 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 #

NFData Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

Methods

rnf :: Attachment -> () #

Hashable Attachment Source # 
Instance details

Defined in Amazonka.ECS.Types.Attachment

FromJSON 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" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Attachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyValuePair]))) :*: (S1 ('MetaSel ('Just "id") '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:status:Attachment', attachment_status - The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, and DELETED.

$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:type':Attachment', attachment_type - The type of the attachment, such as ElasticNetworkInterface.

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

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

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_type :: Lens' Attachment (Maybe Text) Source #

The type of the attachment, such as ElasticNetworkInterface.