libZSservicesZSamazonka-workdocsZSamazonka-workdocs
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.WorkDocs.DeleteLabels

Description

Deletes the specified list of labels from a resource.

Synopsis

Creating a Request

data DeleteLabels Source #

See: newDeleteLabels smart constructor.

Constructors

DeleteLabels' 

Fields

Instances

Instances details
Eq DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Show DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Generic DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Associated Types

type Rep DeleteLabels :: Type -> Type #

NFData DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Methods

rnf :: DeleteLabels -> () #

Hashable DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

AWSRequest DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Associated Types

type AWSResponse DeleteLabels #

ToHeaders DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

ToPath DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

ToQuery DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

type Rep DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

type Rep DeleteLabels = D1 ('MetaData "DeleteLabels" "Amazonka.WorkDocs.DeleteLabels" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeleteLabels'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteAll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

newDeleteLabels Source #

Create a value of DeleteLabels 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:deleteAll:DeleteLabels', deleteLabels_deleteAll - Flag to request removal of all labels from the specified resource.

$sel:authenticationToken:DeleteLabels', deleteLabels_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:labels:DeleteLabels', deleteLabels_labels - List of labels to delete from the resource.

$sel:resourceId:DeleteLabels', deleteLabels_resourceId - The ID of the resource.

Request Lenses

deleteLabels_deleteAll :: Lens' DeleteLabels (Maybe Bool) Source #

Flag to request removal of all labels from the specified resource.

deleteLabels_authenticationToken :: Lens' DeleteLabels (Maybe Text) Source #

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

deleteLabels_labels :: Lens' DeleteLabels (Maybe [Text]) Source #

List of labels to delete from the resource.

Destructuring the Response

data DeleteLabelsResponse Source #

See: newDeleteLabelsResponse smart constructor.

Constructors

DeleteLabelsResponse' 

Fields

Instances

Instances details
Eq DeleteLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Read DeleteLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Show DeleteLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Generic DeleteLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Associated Types

type Rep DeleteLabelsResponse :: Type -> Type #

NFData DeleteLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

Methods

rnf :: DeleteLabelsResponse -> () #

type Rep DeleteLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteLabels

type Rep DeleteLabelsResponse = D1 ('MetaData "DeleteLabelsResponse" "Amazonka.WorkDocs.DeleteLabels" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DeleteLabelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLabelsResponse Source #

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

Response Lenses