libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.Types.PolicyGroup

Description

 
Synopsis

Documentation

data PolicyGroup Source #

Contains information about a group that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy operation.

For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.

See: newPolicyGroup smart constructor.

Constructors

PolicyGroup' 

Fields

Instances

Instances details
Eq PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

Read PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

Show PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

Generic PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

Associated Types

type Rep PolicyGroup :: Type -> Type #

NFData PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

Methods

rnf :: PolicyGroup -> () #

Hashable PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

FromXML PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

type Rep PolicyGroup Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyGroup

type Rep PolicyGroup = D1 ('MetaData "PolicyGroup" "Amazonka.IAM.Types.PolicyGroup" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "PolicyGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPolicyGroup :: PolicyGroup Source #

Create a value of PolicyGroup 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:groupId:PolicyGroup', policyGroup_groupId - The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.

$sel:groupName:PolicyGroup', policyGroup_groupName - The name (friendly name, not ARN) identifying the group.

policyGroup_groupId :: Lens' PolicyGroup (Maybe Text) Source #

The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.

policyGroup_groupName :: Lens' PolicyGroup (Maybe Text) Source #

The name (friendly name, not ARN) identifying the group.