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

Description

Describes the permissions of a specified resource.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeResourcePermissions Source #

See: newDescribeResourcePermissions smart constructor.

Constructors

DescribeResourcePermissions' 

Fields

Instances

Instances details
Eq DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Show DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Generic DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Associated Types

type Rep DescribeResourcePermissions :: Type -> Type #

NFData DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Hashable DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

AWSPager DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

AWSRequest DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

ToHeaders DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

ToPath DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

ToQuery DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

type Rep DescribeResourcePermissions Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

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

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

newDescribeResourcePermissions Source #

Create a value of DescribeResourcePermissions 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:principalId:DescribeResourcePermissions', describeResourcePermissions_principalId - The ID of the principal to filter permissions by.

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

$sel:marker:DescribeResourcePermissions', describeResourcePermissions_marker - The marker for the next set of results. (You received this marker from a previous call)

$sel:limit:DescribeResourcePermissions', describeResourcePermissions_limit - The maximum number of items to return with this call.

$sel:resourceId:DescribeResourcePermissions', describeResourcePermissions_resourceId - The ID of the resource.

Request Lenses

describeResourcePermissions_principalId :: Lens' DescribeResourcePermissions (Maybe Text) Source #

The ID of the principal to filter permissions by.

describeResourcePermissions_authenticationToken :: Lens' DescribeResourcePermissions (Maybe Text) Source #

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

describeResourcePermissions_marker :: Lens' DescribeResourcePermissions (Maybe Text) Source #

The marker for the next set of results. (You received this marker from a previous call)

describeResourcePermissions_limit :: Lens' DescribeResourcePermissions (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

data DescribeResourcePermissionsResponse Source #

Constructors

DescribeResourcePermissionsResponse' 

Fields

Instances

Instances details
Eq DescribeResourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Read DescribeResourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Show DescribeResourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

Generic DescribeResourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

NFData DescribeResourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

type Rep DescribeResourcePermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeResourcePermissions

type Rep DescribeResourcePermissionsResponse = D1 ('MetaData "DescribeResourcePermissionsResponse" "Amazonka.WorkDocs.DescribeResourcePermissions" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeResourcePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Principal])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeResourcePermissionsResponse Source #

Create a value of DescribeResourcePermissionsResponse 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:principals:DescribeResourcePermissionsResponse', describeResourcePermissionsResponse_principals - The principals.

$sel:marker:DescribeResourcePermissions', describeResourcePermissionsResponse_marker - The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

$sel:httpStatus:DescribeResourcePermissionsResponse', describeResourcePermissionsResponse_httpStatus - The response's http status code.

Response Lenses

describeResourcePermissionsResponse_marker :: Lens' DescribeResourcePermissionsResponse (Maybe Text) Source #

The marker to use when requesting the next set of results. If there are no additional results, the string is empty.