Class: Aws::IoT::Types::GetPolicyVersionResponse

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

Overview

The output from the GetPolicyVersion operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

The date the policy was created.

Returns:

  • (Time)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#generation_idString

The generation ID of the policy version.

Returns:

  • (String)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#is_default_versionBoolean

Specifies whether the policy version is the default.

Returns:

  • (Boolean)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#last_modified_dateTime

The date the policy was last modified.

Returns:

  • (Time)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#policy_arnString

The policy ARN.

Returns:

  • (String)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#policy_documentString

The JSON document that describes the policy.

Returns:

  • (String)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#policy_nameString

The policy name.

Returns:

  • (String)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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

#policy_version_idString

The policy version ID.

Returns:

  • (String)


8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 8612

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