amazonka-organizations-2.0: Amazon Organizations 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.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 Amazon Web Services Service Authorization Reference.

  • awsManaged :: Maybe Bool

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

  • description :: Maybe Text

    The description of the policy.

  • 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 (_).

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

  • type' :: Maybe PolicyType

    The type of policy.

Instances

Instances details
FromJSON 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 #

Read PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Show PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

NFData PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Methods

rnf :: PolicySummary -> () #

Eq PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

Hashable PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

type Rep PolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicySummary

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 Amazon Web Services Service Authorization Reference.

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

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

$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: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:type':PolicySummary', policySummary_type - The type of 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 Amazon Web Services Service Authorization Reference.

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

A boolean value that indicates whether the specified policy is an Amazon Web Services 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.

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