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 |
Synopsis
- data AccessPolicySummary = AccessPolicySummary' {
- lastUpdateDate :: Maybe POSIX
- creationDate :: Maybe POSIX
- id :: Text
- identity :: Identity
- resource :: Resource
- permission :: Permission
- newAccessPolicySummary :: Text -> Identity -> Resource -> Permission -> AccessPolicySummary
- accessPolicySummary_lastUpdateDate :: Lens' AccessPolicySummary (Maybe UTCTime)
- accessPolicySummary_creationDate :: Lens' AccessPolicySummary (Maybe UTCTime)
- accessPolicySummary_id :: Lens' AccessPolicySummary Text
- accessPolicySummary_identity :: Lens' AccessPolicySummary Identity
- accessPolicySummary_resource :: Lens' AccessPolicySummary Resource
- accessPolicySummary_permission :: Lens' AccessPolicySummary Permission
Documentation
data AccessPolicySummary Source #
Contains an access policy that defines an identity's access to an IoT SiteWise Monitor resource.
See: newAccessPolicySummary
smart constructor.
AccessPolicySummary' | |
|
Instances
newAccessPolicySummary Source #
:: Text | |
-> Identity | |
-> Resource | |
-> Permission | |
-> AccessPolicySummary |
Create a value of AccessPolicySummary
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:lastUpdateDate:AccessPolicySummary'
, accessPolicySummary_lastUpdateDate
- The date the access policy was last updated, in Unix epoch time.
$sel:creationDate:AccessPolicySummary'
, accessPolicySummary_creationDate
- The date the access policy was created, in Unix epoch time.
$sel:id:AccessPolicySummary'
, accessPolicySummary_id
- The ID of the access policy.
$sel:identity:AccessPolicySummary'
, accessPolicySummary_identity
- The identity (an Amazon Web Services SSO user, an Amazon Web Services
SSO group, or an IAM user).
$sel:resource:AccessPolicySummary'
, accessPolicySummary_resource
- The IoT SiteWise Monitor resource (a portal or project).
$sel:permission:AccessPolicySummary'
, accessPolicySummary_permission
- The permissions for the access policy. Note that a project
ADMINISTRATOR
is also known as a project owner.
accessPolicySummary_lastUpdateDate :: Lens' AccessPolicySummary (Maybe UTCTime) Source #
The date the access policy was last updated, in Unix epoch time.
accessPolicySummary_creationDate :: Lens' AccessPolicySummary (Maybe UTCTime) Source #
The date the access policy was created, in Unix epoch time.
accessPolicySummary_id :: Lens' AccessPolicySummary Text Source #
The ID of the access policy.
accessPolicySummary_identity :: Lens' AccessPolicySummary Identity Source #
The identity (an Amazon Web Services SSO user, an Amazon Web Services SSO group, or an IAM user).
accessPolicySummary_resource :: Lens' AccessPolicySummary Resource Source #
The IoT SiteWise Monitor resource (a portal or project).
accessPolicySummary_permission :: Lens' AccessPolicySummary Permission Source #
The permissions for the access policy. Note that a project
ADMINISTRATOR
is also known as a project owner.