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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datazone/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.



17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 17636

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



17636
17637
17638
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 17636

def unknown
  @unknown
end