Class: SDM::SnapshotIdentityAliases

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

Overview

SnapshotIdentityAliases exposes the read only methods of the IdentityAliases service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(identity_aliases) ⇒ SnapshotIdentityAliases

Returns a new instance of SnapshotIdentityAliases.



2350
2351
2352
# File 'lib/svc.rb', line 2350

def initialize(identity_aliases)
  @identity_aliases = identity_aliases
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one IdentityAlias by ID.



2355
2356
2357
2358
2359
2360
2361
2362
2363
# File 'lib/svc.rb', line 2355

def get(
  id,
  deadline: nil
)
  return @identity_aliases.get(
           id,
           deadline: deadline,
         )
end

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

List gets a list of IdentityAliases matching a given set of criteria.



2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
# File 'lib/svc.rb', line 2366

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