AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::GetPolicyResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The output from the GetPolicy operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

The date the policy was created.

Returns:

  • (Time)

    The date the policy was created.

#default_version_idString

The default policy version ID.

Returns:

  • (String)

    The default policy version ID.

#generation_idString

The generation ID of the policy.

Returns:

  • (String)

    The generation ID of the policy.

#last_modified_dateTime

The date the policy was last modified.

Returns:

  • (Time)

    The date the policy was last modified.

#policy_arnString

The policy ARN.

Returns:

  • (String)

    The policy ARN.

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)

    The JSON document that describes the policy.

#policy_nameString

The policy name.

Returns:

  • (String)

    The policy name.