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

Description

Adds the specified list of labels to the given resource (a document or folder)

Synopsis

Creating a Request

data CreateLabels Source #

See: newCreateLabels smart constructor.

Constructors

CreateLabels' 

Fields

Instances

Instances details
Eq CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Show CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Generic CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Associated Types

type Rep CreateLabels :: Type -> Type #

NFData CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Methods

rnf :: CreateLabels -> () #

Hashable CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

ToJSON CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

AWSRequest CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Associated Types

type AWSResponse CreateLabels #

ToHeaders CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

ToPath CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

ToQuery CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

type Rep CreateLabels Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

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

Defined in Amazonka.WorkDocs.CreateLabels

newCreateLabels Source #

Create a value of CreateLabels 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:authenticationToken:CreateLabels', createLabels_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:resourceId:CreateLabels', createLabels_resourceId - The ID of the resource.

$sel:labels:CreateLabels', createLabels_labels - List of labels to add to the resource.

Request Lenses

createLabels_authenticationToken :: Lens' CreateLabels (Maybe Text) Source #

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

createLabels_labels :: Lens' CreateLabels [Text] Source #

List of labels to add to the resource.

Destructuring the Response

data CreateLabelsResponse Source #

See: newCreateLabelsResponse smart constructor.

Constructors

CreateLabelsResponse' 

Fields

Instances

Instances details
Eq CreateLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Read CreateLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Show CreateLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Generic CreateLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Associated Types

type Rep CreateLabelsResponse :: Type -> Type #

NFData CreateLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

Methods

rnf :: CreateLabelsResponse -> () #

type Rep CreateLabelsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.CreateLabels

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

newCreateLabelsResponse Source #

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

Response Lenses