Class: Aws::DataZone::Types::AccountSource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb

Overview

Note:

AccountSource is a union - when making an API calls you must set exactly one of the members.

Note:

AccountSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AccountSource corresponding to the set member.

The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.

Direct Known Subclasses

Accounts, CustomAccountPoolHandler, Unknown

Defined Under Namespace

Classes: Accounts, CustomAccountPoolHandler, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accountsArray<Types::AccountInfo>

The static list of accounts within an account pool.

Returns:



362
363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 362

class AccountSource < Struct.new(
  :accounts,
  :custom_account_pool_handler,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Accounts < AccountSource; end
  class CustomAccountPoolHandler < AccountSource; end
  class Unknown < AccountSource; end
end

#custom_account_pool_handlerTypes::CustomAccountPoolHandler

The custom Amazon Web Services Lambda handler within an account pool.



362
363
364
365
366
367
368
369
370
371
372
373
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 362

class AccountSource < Struct.new(
  :accounts,
  :custom_account_pool_handler,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Accounts < AccountSource; end
  class CustomAccountPoolHandler < AccountSource; end
  class Unknown < AccountSource; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



362
363
364
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 362

def unknown
  @unknown
end