libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.DescribeAccessPolicy

Description

Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.

Synopsis

Creating a Request

data DescribeAccessPolicy Source #

See: newDescribeAccessPolicy smart constructor.

Constructors

DescribeAccessPolicy' 

Fields

Instances

Instances details
Eq DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Read DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Show DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Generic DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Associated Types

type Rep DescribeAccessPolicy :: Type -> Type #

NFData DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Methods

rnf :: DescribeAccessPolicy -> () #

Hashable DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

AWSRequest DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Associated Types

type AWSResponse DescribeAccessPolicy #

ToHeaders DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

ToPath DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

ToQuery DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

type Rep DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

type Rep DescribeAccessPolicy = D1 ('MetaData "DescribeAccessPolicy" "Amazonka.IoTSiteWise.DescribeAccessPolicy" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DescribeAccessPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

newDescribeAccessPolicy Source #

Create a value of DescribeAccessPolicy 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:accessPolicyId:DescribeAccessPolicy', describeAccessPolicy_accessPolicyId - The ID of the access policy.

Request Lenses

Destructuring the Response

data DescribeAccessPolicyResponse Source #

See: newDescribeAccessPolicyResponse smart constructor.

Constructors

DescribeAccessPolicyResponse' 

Fields

Instances

Instances details
Eq DescribeAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Read DescribeAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Show DescribeAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Generic DescribeAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

Associated Types

type Rep DescribeAccessPolicyResponse :: Type -> Type #

NFData DescribeAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

type Rep DescribeAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DescribeAccessPolicy

type Rep DescribeAccessPolicyResponse = D1 ('MetaData "DescribeAccessPolicyResponse" "Amazonka.IoTSiteWise.DescribeAccessPolicy" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DescribeAccessPolicyResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accessPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "accessPolicyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accessPolicyIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Identity))) :*: ((S1 ('MetaSel ('Just "accessPolicyResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Resource) :*: S1 ('MetaSel ('Just "accessPolicyPermission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Permission)) :*: (S1 ('MetaSel ('Just "accessPolicyCreationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "accessPolicyLastUpdateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newDescribeAccessPolicyResponse Source #

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

$sel:accessPolicyId:DescribeAccessPolicy', describeAccessPolicyResponse_accessPolicyId - The ID of the access policy.

$sel:accessPolicyArn:DescribeAccessPolicyResponse', describeAccessPolicyResponse_accessPolicyArn - The ARN of the access policy, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}

$sel:accessPolicyIdentity:DescribeAccessPolicyResponse', describeAccessPolicyResponse_accessPolicyIdentity - The identity (Amazon Web Services SSO user, Amazon Web Services SSO group, or IAM user) to which this access policy applies.

$sel:accessPolicyResource:DescribeAccessPolicyResponse', describeAccessPolicyResponse_accessPolicyResource - The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.

$sel:accessPolicyPermission:DescribeAccessPolicyResponse', describeAccessPolicyResponse_accessPolicyPermission - The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.

$sel:accessPolicyCreationDate:DescribeAccessPolicyResponse', describeAccessPolicyResponse_accessPolicyCreationDate - The date the access policy was created, in Unix epoch time.

$sel:accessPolicyLastUpdateDate:DescribeAccessPolicyResponse', describeAccessPolicyResponse_accessPolicyLastUpdateDate - The date the access policy was last updated, in Unix epoch time.

Response Lenses

describeAccessPolicyResponse_accessPolicyArn :: Lens' DescribeAccessPolicyResponse Text Source #

The ARN of the access policy, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}

describeAccessPolicyResponse_accessPolicyIdentity :: Lens' DescribeAccessPolicyResponse Identity Source #

The identity (Amazon Web Services SSO user, Amazon Web Services SSO group, or IAM user) to which this access policy applies.

describeAccessPolicyResponse_accessPolicyResource :: Lens' DescribeAccessPolicyResponse Resource Source #

The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.

describeAccessPolicyResponse_accessPolicyPermission :: Lens' DescribeAccessPolicyResponse Permission Source #

The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.

describeAccessPolicyResponse_accessPolicyCreationDate :: Lens' DescribeAccessPolicyResponse UTCTime Source #

The date the access policy was created, in Unix epoch time.

describeAccessPolicyResponse_accessPolicyLastUpdateDate :: Lens' DescribeAccessPolicyResponse UTCTime Source #

The date the access policy was last updated, in Unix epoch time.