Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.
Synopsis
- data DescribeAccessPolicy = DescribeAccessPolicy' {}
- newDescribeAccessPolicy :: Text -> DescribeAccessPolicy
- describeAccessPolicy_accessPolicyId :: Lens' DescribeAccessPolicy Text
- data DescribeAccessPolicyResponse = DescribeAccessPolicyResponse' {}
- newDescribeAccessPolicyResponse :: Int -> Text -> Text -> Identity -> Resource -> Permission -> UTCTime -> UTCTime -> DescribeAccessPolicyResponse
- describeAccessPolicyResponse_httpStatus :: Lens' DescribeAccessPolicyResponse Int
- describeAccessPolicyResponse_accessPolicyId :: Lens' DescribeAccessPolicyResponse Text
- describeAccessPolicyResponse_accessPolicyArn :: Lens' DescribeAccessPolicyResponse Text
- describeAccessPolicyResponse_accessPolicyIdentity :: Lens' DescribeAccessPolicyResponse Identity
- describeAccessPolicyResponse_accessPolicyResource :: Lens' DescribeAccessPolicyResponse Resource
- describeAccessPolicyResponse_accessPolicyPermission :: Lens' DescribeAccessPolicyResponse Permission
- describeAccessPolicyResponse_accessPolicyCreationDate :: Lens' DescribeAccessPolicyResponse UTCTime
- describeAccessPolicyResponse_accessPolicyLastUpdateDate :: Lens' DescribeAccessPolicyResponse UTCTime
Creating a Request
data DescribeAccessPolicy Source #
See: newDescribeAccessPolicy
smart constructor.
DescribeAccessPolicy' | |
|
Instances
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
describeAccessPolicy_accessPolicyId :: Lens' DescribeAccessPolicy Text Source #
The ID of the access policy.
Destructuring the Response
data DescribeAccessPolicyResponse Source #
See: newDescribeAccessPolicyResponse
smart constructor.
DescribeAccessPolicyResponse' | |
|
Instances
newDescribeAccessPolicyResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Identity | |
-> Resource | |
-> Permission | |
-> UTCTime | |
-> UTCTime |
|
-> DescribeAccessPolicyResponse |
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_httpStatus :: Lens' DescribeAccessPolicyResponse Int Source #
The response's http status code.
describeAccessPolicyResponse_accessPolicyId :: Lens' DescribeAccessPolicyResponse Text Source #
The ID of the access policy.
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.