amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

Description

 
Synopsis

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.

Constructors

GetResourcePoliciesResponseEntry' 

Fields

  • policy :: Maybe Text

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

  • policyHash :: Maybe Text

    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.

  • policyId :: Maybe Text

    A policy ID.

Instances

Instances details
FromJSON GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

Generic GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

Associated Types

type Rep GetResourcePoliciesResponseEntry :: Type -> Type #

Read GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

Show GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

NFData GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

Eq GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

Hashable GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

type Rep GetResourcePoliciesResponseEntry Source # 
Instance details

Defined in Amazonka.SSM.Types.GetResourcePoliciesResponseEntry

type Rep GetResourcePoliciesResponseEntry = D1 ('MetaData "GetResourcePoliciesResponseEntry" "Amazonka.SSM.Types.GetResourcePoliciesResponseEntry" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "GetResourcePoliciesResponseEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policyHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.