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.

Direct Known Subclasses

AllUsersGrantFilter, Unknown, UserIdentifier

Defined Under Namespace

Classes: AllUsersGrantFilter, Unknown, UserIdentifier

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#all_users_grant_filterTypes::AllUsersGrantFilter

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

Returns:

  • (Types::AllUsersGrantFilter)


21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21881

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



21881
21882
21883
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21881

def unknown
  @unknown
end

#user_identifierString

The user ID of the user policy grant principal.

Returns:

  • (String)


21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 21881

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

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