Class: SDM::SnapshotGrantedRoleEntitlements

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

Overview

SnapshotGrantedRoleEntitlements exposes the read only methods of the GrantedRoleEntitlements service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(granted_role_entitlements) ⇒ SnapshotGrantedRoleEntitlements

Returns a new instance of SnapshotGrantedRoleEntitlements.



2982
2983
2984
# File 'lib/svc.rb', line 2982

def initialize(granted_role_entitlements)
  @granted_role_entitlements = granted_role_entitlements
end

Instance Method Details

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

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



2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
# File 'lib/svc.rb', line 2987

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