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)


20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 20237

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



20237
20238
20239
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 20237

def unknown
  @unknown
end

#user_identifierString

The user ID of the user policy grant principal.

Returns:

  • (String)


20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 20237

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