Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data GetResourcePoliciesResponseEntry = GetResourcePoliciesResponseEntry' {}
- newGetResourcePoliciesResponseEntry :: GetResourcePoliciesResponseEntry
- getResourcePoliciesResponseEntry_policy :: Lens' GetResourcePoliciesResponseEntry (Maybe Text)
- getResourcePoliciesResponseEntry_policyHash :: Lens' GetResourcePoliciesResponseEntry (Maybe Text)
- getResourcePoliciesResponseEntry_policyId :: Lens' GetResourcePoliciesResponseEntry (Maybe Text)
Documentation
data GetResourcePoliciesResponseEntry Source #
A resource policy helps you to define the IAM entity (for example, an
Amazon Web Services account) that can manage your Systems Manager
resources. Currently, OpsItemGroup
is the only resource that supports
Systems Manager resource policies. The resource policy for
OpsItemGroup
enables Amazon Web Services accounts to view and interact
with OpsCenter operational work items (OpsItems).
See: newGetResourcePoliciesResponseEntry
smart constructor.
GetResourcePoliciesResponseEntry' | |
|
Instances
newGetResourcePoliciesResponseEntry :: GetResourcePoliciesResponseEntry Source #
Create a value of GetResourcePoliciesResponseEntry
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:policy:GetResourcePoliciesResponseEntry'
, getResourcePoliciesResponseEntry_policy
- A resource policy helps you to define the IAM entity (for example, an
Amazon Web Services account) that can manage your Systems Manager
resources. Currently, OpsItemGroup
is the only resource that supports
Systems Manager resource policies. The resource policy for
OpsItemGroup
enables Amazon Web Services accounts to view and interact
with OpsCenter operational work items (OpsItems).
$sel:policyHash:GetResourcePoliciesResponseEntry'
, getResourcePoliciesResponseEntry_policyHash
- ID of the current policy version. The hash helps to prevent a situation
where multiple users attempt to overwrite a policy. You must provide
this hash when updating or deleting a policy.
$sel:policyId:GetResourcePoliciesResponseEntry'
, getResourcePoliciesResponseEntry_policyId
- A policy ID.
getResourcePoliciesResponseEntry_policy :: Lens' GetResourcePoliciesResponseEntry (Maybe Text) Source #
A resource policy helps you to define the IAM entity (for example, an
Amazon Web Services account) that can manage your Systems Manager
resources. Currently, OpsItemGroup
is the only resource that supports
Systems Manager resource policies. The resource policy for
OpsItemGroup
enables Amazon Web Services accounts to view and interact
with OpsCenter operational work items (OpsItems).
getResourcePoliciesResponseEntry_policyHash :: Lens' GetResourcePoliciesResponseEntry (Maybe Text) Source #
ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy.