The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::Organizations::DescribeEffectivePolicy - Arguments for method DescribeEffectivePolicy on Paws::Organizations

DESCRIPTION

This class represents the parameters used for calling the method DescribeEffectivePolicy on the AWS Organizations service. Use the attributes of this class as arguments to method DescribeEffectivePolicy.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEffectivePolicy.

SYNOPSIS

    my $organizations = Paws->service('Organizations');
    my $DescribeEffectivePolicyResponse =
      $organizations->DescribeEffectivePolicy(
      PolicyType => 'TAG_POLICY',
      TargetId   => 'MyPolicyTargetId',    # OPTIONAL
      );

    # Results:
    my $EffectivePolicy = $DescribeEffectivePolicyResponse->EffectivePolicy;

    # Returns a L<Paws::Organizations::DescribeEffectivePolicyResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/organizations/DescribeEffectivePolicy

ATTRIBUTES

REQUIRED PolicyType => Str

The type of policy that you want information about. You can specify one of the following values:

  • AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html)

  • BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html)

  • TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html)

Valid values are: "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY"

TargetId => Str

When you're signed in as the management account, specify the ID of the account that you want details about. Specifying an organization root or organizational unit (OU) as the target is not supported.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeEffectivePolicy in Paws::Organizations

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues