amazonka-clouddirectory-2.0: Amazon CloudDirectory 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.CloudDirectory.DeleteObject

Description

Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted. The maximum number of attributes that can be deleted during an object deletion is 30. For more information, see Amazon Cloud Directory Limits.

Synopsis

Creating a Request

data DeleteObject Source #

See: newDeleteObject smart constructor.

Constructors

DeleteObject' 

Fields

Instances

Instances details
ToJSON DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

ToHeaders DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

ToPath DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

ToQuery DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

AWSRequest DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Associated Types

type AWSResponse DeleteObject #

Generic DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Associated Types

type Rep DeleteObject :: Type -> Type #

Read DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Show DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

NFData DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Methods

rnf :: DeleteObject -> () #

Eq DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Hashable DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type AWSResponse DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type Rep DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type Rep DeleteObject = D1 ('MetaData "DeleteObject" "Amazonka.CloudDirectory.DeleteObject" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "DeleteObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference)))

newDeleteObject Source #

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

DeleteObject, deleteObject_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

DeleteObject, deleteObject_objectReference - A reference that identifies the object.

Request Lenses

deleteObject_directoryArn :: Lens' DeleteObject Text Source #

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

deleteObject_objectReference :: Lens' DeleteObject ObjectReference Source #

A reference that identifies the object.

Destructuring the Response

data DeleteObjectResponse Source #

See: newDeleteObjectResponse smart constructor.

Constructors

DeleteObjectResponse' 

Fields

Instances

Instances details
Generic DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Associated Types

type Rep DeleteObjectResponse :: Type -> Type #

Read DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Show DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

NFData DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Methods

rnf :: DeleteObjectResponse -> () #

Eq DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type Rep DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type Rep DeleteObjectResponse = D1 ('MetaData "DeleteObjectResponse" "Amazonka.CloudDirectory.DeleteObject" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "DeleteObjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteObjectResponse Source #

Create a value of DeleteObjectResponse 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:httpStatus:DeleteObjectResponse', deleteObjectResponse_httpStatus - The response's http status code.

Response Lenses