Class: Aws::VerifiedPermissions::Types::GetPolicyOutput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::ActionIdentifier>

The action that a policy permits or forbids. For example, \{"actions": [\{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"\}, \{"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"\}]\}.

Returns:



1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#created_dateTime

The date and time that the policy was originally created.

Returns:

  • (Time)


1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#definitionTypes::PolicyDefinitionDetail

The definition of the requested policy.



1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#effectString

The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

Returns:

  • (String)


1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_dateTime

The date and time that the policy was last updated.

Returns:

  • (Time)


1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#policy_idString

The unique ID of the policy that you want information about.

Returns:

  • (String)


1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#policy_store_idString

The ID of the policy store that contains the policy that you want information about.

Returns:

  • (String)


1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#policy_typeString

The type of the policy.

Returns:

  • (String)


1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#principalTypes::EntityIdentifier

The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.



1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end

#resourceTypes::EntityIdentifier

The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.



1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1668

class GetPolicyOutput < Struct.new(
  :policy_store_id,
  :policy_id,
  :policy_type,
  :principal,
  :resource,
  :actions,
  :definition,
  :created_date,
  :last_updated_date,
  :effect)
  SENSITIVE = []
  include Aws::Structure
end