Class: SDM::SnapshotAccessRequests

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

Overview

SnapshotAccessRequests exposes the read only methods of the AccessRequests service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(access_requests) ⇒ SnapshotAccessRequests

Returns a new instance of SnapshotAccessRequests.



87
88
89
# File 'lib/svc.rb', line 87

def initialize(access_requests)
  @access_requests = access_requests
end

Instance Method Details

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

Lists existing access requests.



92
93
94
95
96
97
98
99
100
101
102
# File 'lib/svc.rb', line 92

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