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.



10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 10186

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



10186
10187
10188
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 10186

def unknown
  @unknown
end