amazonka-networkmanager-2.0: Amazon Network Manager 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.NetworkManager.Types.Attachment

Description

 
Synopsis

Documentation

data Attachment Source #

Describes a core network attachment.

See: newAttachment smart constructor.

Constructors

Attachment' 

Fields

Instances

Instances details
FromJSON Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

Generic Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

Associated Types

type Rep Attachment :: Type -> Type #

Read Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

Show Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

NFData Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

Methods

rnf :: Attachment -> () #

Eq Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

Hashable Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

type Rep Attachment Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Attachment

type Rep Attachment = D1 ('MetaData "Attachment" "Amazonka.NetworkManager.Types.Attachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "Attachment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "attachmentPolicyRuleNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "attachmentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttachmentType)))) :*: ((S1 ('MetaSel ('Just "coreNetworkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "coreNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "edgeLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "ownerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "proposedSegmentChange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProposedSegmentChange)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "segmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttachmentState))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

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:attachmentId:Attachment', attachment_attachmentId - The ID of the attachment.

Attachment, attachment_attachmentPolicyRuleNumber - The policy rule number associated with the attachment.

$sel:attachmentType:Attachment', attachment_attachmentType - The type of attachment.

$sel:coreNetworkArn:Attachment', attachment_coreNetworkArn - The ARN of a core network.

$sel:coreNetworkId:Attachment', attachment_coreNetworkId - The ID of a core network.

$sel:createdAt:Attachment', attachment_createdAt - The timestamp when the attachment was created.

$sel:edgeLocation:Attachment', attachment_edgeLocation - The Region where the edge is located.

$sel:ownerAccountId:Attachment', attachment_ownerAccountId - The ID of the attachment account owner.

$sel:proposedSegmentChange:Attachment', attachment_proposedSegmentChange - The attachment to move from one segment to another.

$sel:resourceArn:Attachment', attachment_resourceArn - The attachment resource ARN.

Attachment, attachment_segmentName - The name of the segment attachment.

$sel:state:Attachment', attachment_state - The state of the attachment.

Attachment, attachment_tags - The tags associated with the attachment.

$sel:updatedAt:Attachment', attachment_updatedAt - The timestamp when the attachment was last updated.

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

The ID of the attachment.

attachment_attachmentPolicyRuleNumber :: Lens' Attachment (Maybe Int) Source #

The policy rule number associated with the attachment.

attachment_createdAt :: Lens' Attachment (Maybe UTCTime) Source #

The timestamp when the attachment was created.

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

The Region where the edge is located.

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

The ID of the attachment account owner.

attachment_proposedSegmentChange :: Lens' Attachment (Maybe ProposedSegmentChange) Source #

The attachment to move from one segment to another.

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

The attachment resource ARN.

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

The name of the segment attachment.

attachment_state :: Lens' Attachment (Maybe AttachmentState) Source #

The state of the attachment.

attachment_tags :: Lens' Attachment (Maybe [Tag]) Source #

The tags associated with the attachment.

attachment_updatedAt :: Lens' Attachment (Maybe UTCTime) Source #

The timestamp when the attachment was last updated.