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_date ⇒ Time

The date the policy was created.

Returns:

  • (Time) —

    The date the policy was created.

#default_version_id ⇒ String

The default policy version ID.

Returns:

  • (String) —

    The default policy version ID.

#generation_id ⇒ String

The generation ID of the policy.

Returns:

  • (String) —

    The generation ID of the policy.

#last_modified_date ⇒ Time

The date the policy was last modified.

Returns:

  • (Time) —

    The date the policy was last modified.

#policy_arn ⇒ String

The policy ARN.

Returns:

  • (String) —

    The policy ARN.

#policy_document ⇒ String

The JSON document that describes the policy.

Returns:

  • (String) —

    The JSON document that describes the policy.

#policy_name ⇒ String

The policy name.

Returns:

  • (String) —

    The policy name.