libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.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
Eq DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Read DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Show DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Generic DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Associated Types

type Rep DeleteObject :: Type -> Type #

NFData DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Methods

rnf :: DeleteObject -> () #

Hashable DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

ToJSON DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

AWSRequest DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Associated Types

type AWSResponse 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

type Rep DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type Rep DeleteObject = D1 ('MetaData "DeleteObject" "Amazonka.CloudDirectory.DeleteObject" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "DeleteObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference)))
type AWSResponse DeleteObject Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

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:

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

$sel:objectReference: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
Eq DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Read DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Show DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Generic DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Associated Types

type Rep DeleteObjectResponse :: Type -> Type #

NFData DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

Methods

rnf :: DeleteObjectResponse -> () #

type Rep DeleteObjectResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteObject

type Rep DeleteObjectResponse = D1 ('MetaData "DeleteObjectResponse" "Amazonka.CloudDirectory.DeleteObject" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" '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