Class: Aws::DataZone::Types::SubscribedPrincipal

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-datazone/types.rb

Overview

Note:

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

The principal that has the subscription grant for the asset.

Direct Known Subclasses

Project, Unknown

Defined Under Namespace

Classes: Project, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#projectTypes::SubscribedProject

The project that has the subscription grant.



14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
# File 'lib/aws-sdk-datazone/types.rb', line 14498

class SubscribedPrincipal < Struct.new(
  :project,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Project < SubscribedPrincipal; end
  class Unknown < SubscribedPrincipal; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



14498
14499
14500
# File 'lib/aws-sdk-datazone/types.rb', line 14498

def unknown
  @unknown
end