Class: SDM::SnapshotRequestableRoleEntitlements

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotRequestableRoleEntitlements exposes the read only methods of the RequestableRoleEntitlements service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(requestable_role_entitlements) ⇒ SnapshotRequestableRoleEntitlements

Returns a new instance of SnapshotRequestableRoleEntitlements.



7198
7199
7200
# File 'lib/svc.rb', line 7198

def initialize(requestable_role_entitlements)
  @requestable_role_entitlements = requestable_role_entitlements
end

Instance Method Details

#list(role_id, filter, *args, deadline: nil) ⇒ Object

List gets a list of RequestableRoleEntitlement records matching a given set of criteria.



7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
# File 'lib/svc.rb', line 7203

def list(
  role_id,
  filter,
  *args,
  deadline: nil
)
  return @requestable_role_entitlements.list(
           role_id,
           filter,
                        *args,
                        deadline: deadline,
         )
end