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.



18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 18612

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



18612
18613
18614
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 18612

def unknown
  @unknown
end