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

Description

Deletes an attachment. Supports all attachment types.

Synopsis

Creating a Request

data DeleteAttachment Source #

See: newDeleteAttachment smart constructor.

Constructors

DeleteAttachment' 

Fields

Instances

Instances details
ToHeaders DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

ToPath DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

ToQuery DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

AWSRequest DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Associated Types

type AWSResponse DeleteAttachment #

Generic DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Associated Types

type Rep DeleteAttachment :: Type -> Type #

Read DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Show DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

NFData DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Methods

rnf :: DeleteAttachment -> () #

Eq DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Hashable DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

type AWSResponse DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

type Rep DeleteAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

type Rep DeleteAttachment = D1 ('MetaData "DeleteAttachment" "Amazonka.NetworkManager.DeleteAttachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "DeleteAttachment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteAttachment Source #

Create a value of DeleteAttachment 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:

DeleteAttachment, deleteAttachment_attachmentId - The ID of the attachment to delete.

Request Lenses

deleteAttachment_attachmentId :: Lens' DeleteAttachment Text Source #

The ID of the attachment to delete.

Destructuring the Response

data DeleteAttachmentResponse Source #

See: newDeleteAttachmentResponse smart constructor.

Constructors

DeleteAttachmentResponse' 

Fields

Instances

Instances details
Generic DeleteAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Associated Types

type Rep DeleteAttachmentResponse :: Type -> Type #

Read DeleteAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Show DeleteAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

NFData DeleteAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

Eq DeleteAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

type Rep DeleteAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteAttachment

type Rep DeleteAttachmentResponse = D1 ('MetaData "DeleteAttachmentResponse" "Amazonka.NetworkManager.DeleteAttachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "DeleteAttachmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Attachment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAttachmentResponse Source #

Create a value of DeleteAttachmentResponse 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:

DeleteAttachmentResponse, deleteAttachmentResponse_attachment - Information about the deleted attachment.

$sel:httpStatus:DeleteAttachmentResponse', deleteAttachmentResponse_httpStatus - The response's http status code.

Response Lenses