libZSservicesZSamazonka-organizationsZSamazonka-organizations
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.Organizations.Types.PolicySummary

Description

 
Synopsis

Documentation

data PolicySummary Source #

Contains information about a policy, but does not include the content. To see the content of a policy, see DescribePolicy.

See: newPolicySummary smart constructor.

Constructors

PolicySummary' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the policy.

    For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

  • name :: Maybe Text

    The friendly name of the policy.

    The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

  • id :: Maybe Text

    The unique identifier (ID) of the policy.

    The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

  • awsManaged :: Maybe Bool

    A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.

  • type' :: Maybe PolicyType

    The type of policy.

  • description :: Maybe Text

    The description of the policy.

Instances

Instances details
Eq PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Read PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Show PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Generic PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Associated Types

type Rep PolicySummary :: Type -> Type #

NFData PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Methods

rnf :: PolicySummary -> () #

Hashable PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

FromJSON PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

type Rep PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

type Rep PolicySummary = D1 ('MetaData "PolicySummary" "Amazonka.Organizations.Types.PolicySummary" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "PolicySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "awsManaged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyType)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPolicySummary :: PolicySummary Source #

Create a value of PolicySummary 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:arn:PolicySummary', policySummary_arn - The Amazon Resource Name (ARN) of the policy.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

$sel:name:PolicySummary', policySummary_name - The friendly name of the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

$sel:id:PolicySummary', policySummary_id - The unique identifier (ID) of the policy.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

$sel:awsManaged:PolicySummary', policySummary_awsManaged - A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.

$sel:type':PolicySummary', policySummary_type - The type of policy.

$sel:description:PolicySummary', policySummary_description - The description of the policy.

policySummary_arn :: Lens' PolicySummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Service Authorization Reference.

policySummary_name :: Lens' PolicySummary (Maybe Text) Source #

The friendly name of the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

policySummary_id :: Lens' PolicySummary (Maybe Text) Source #

The unique identifier (ID) of the policy.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool) Source #

A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.

policySummary_description :: Lens' PolicySummary (Maybe Text) Source #

The description of the policy.