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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

The output from the GetPolicy operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

The date the policy was created.

Returns:

  • (Time)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end

#default_version_idString

The default policy version ID.

Returns:

  • (String)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end

#generation_idString

The generation ID of the policy.

Returns:

  • (String)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_dateTime

The date the policy was last modified.

Returns:

  • (Time)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_arnString

The policy ARN.

Returns:

  • (String)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The policy name.

Returns:

  • (String)


7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7661

class GetPolicyResponse < Struct.new(
  :policy_name,
  :policy_arn,
  :policy_document,
  :default_version_id,
  :creation_date,
  :last_modified_date,
  :generation_id)
  SENSITIVE = []
  include Aws::Structure
end