Class: Aws::DataZone::Types::UserPolicyGrantPrincipal

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

Overview

Note:

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

Note:

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

The user policy grant principal.

Defined Under Namespace

Classes: AllUsersGrantFilter, Unknown, UserIdentifier

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#all_users_grant_filter ⇒ Types::AllUsersGrantFilter

The all users grant filter of the user policy grant principal.

Returns:

  • (Types::AllUsersGrantFilter)


26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 26021

class UserPolicyGrantPrincipal < Struct.new(
  :user_identifier,
  :all_users_grant_filter,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class UserIdentifier < UserPolicyGrantPrincipal; end
  class AllUsersGrantFilter < UserPolicyGrantPrincipal; end
  class Unknown < UserPolicyGrantPrincipal; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



26021
26022
26023
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 26021

def unknown
  @unknown
end

#user_identifier ⇒ String

The user ID of the user policy grant principal.

Returns:

  • (String)


26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 26021

class UserPolicyGrantPrincipal < Struct.new(
  :user_identifier,
  :all_users_grant_filter,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class UserIdentifier < UserPolicyGrantPrincipal; end
  class AllUsersGrantFilter < UserPolicyGrantPrincipal; end
  class Unknown < UserPolicyGrantPrincipal; end
end