Class: Aws::VerifiedPermissions::Types::ActionIdentifier

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

Overview

Contains information about an action for a request for which an authorization decision is made.

This data type is used as a request parameter to the [IsAuthorized], [BatchIsAuthorized], and

IsAuthorizedWithToken][3

operations.

Example: ‘{ “actionId”: “<action name>”, “actionType”: “Action” }`

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorized.html [3]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html

Constant Summary collapse

SENSITIVE =
[:action_type, :action_id]

Instance Attribute Summary collapse

Instance Attribute Details

#action_idString

The ID of an action.

Returns:

  • (String)


51
52
53
54
55
56
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 51

class ActionIdentifier < Struct.new(
  :action_type,
  :action_id)
  SENSITIVE = [:action_type, :action_id]
  include Aws::Structure
end

#action_typeString

The type of an action.

Returns:

  • (String)


51
52
53
54
55
56
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 51

class ActionIdentifier < Struct.new(
  :action_type,
  :action_id)
  SENSITIVE = [:action_type, :action_id]
  include Aws::Structure
end