Class: Aws::DataZone::Types::PolicyGrantPrincipal
- Inherits:
-
Struct
- Object
- Struct
- Aws::DataZone::Types::PolicyGrantPrincipal
- Defined in:
- gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb
Overview
PolicyGrantPrincipal is a union - when making an API calls you must set exactly one of the members.
PolicyGrantPrincipal is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PolicyGrantPrincipal corresponding to the set member.
The policy grant principal.
Direct Known Subclasses
Defined Under Namespace
Classes: DomainUnit, Group, Project, Unknown, User
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain_unit ⇒ Types::DomainUnitPolicyGrantPrincipal
The domain unit of the policy grant principal.
-
#group ⇒ Types::GroupPolicyGrantPrincipal
The group of the policy grant principal.
-
#project ⇒ Types::ProjectPolicyGrantPrincipal
The project of the policy grant principal.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#user ⇒ Types::UserPolicyGrantPrincipal
The user of the policy grant principal.
Instance Attribute Details
#domain_unit ⇒ Types::DomainUnitPolicyGrantPrincipal
The domain unit of the policy grant principal.
11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 |
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 11613 class PolicyGrantPrincipal < Struct.new( :domain_unit, :group, :project, :user, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DomainUnit < PolicyGrantPrincipal; end class Group < PolicyGrantPrincipal; end class Project < PolicyGrantPrincipal; end class User < PolicyGrantPrincipal; end class Unknown < PolicyGrantPrincipal; end end |
#group ⇒ Types::GroupPolicyGrantPrincipal
The group of the policy grant principal.
11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 |
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 11613 class PolicyGrantPrincipal < Struct.new( :domain_unit, :group, :project, :user, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DomainUnit < PolicyGrantPrincipal; end class Group < PolicyGrantPrincipal; end class Project < PolicyGrantPrincipal; end class User < PolicyGrantPrincipal; end class Unknown < PolicyGrantPrincipal; end end |
#project ⇒ Types::ProjectPolicyGrantPrincipal
The project of the policy grant principal.
11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 |
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 11613 class PolicyGrantPrincipal < Struct.new( :domain_unit, :group, :project, :user, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DomainUnit < PolicyGrantPrincipal; end class Group < PolicyGrantPrincipal; end class Project < PolicyGrantPrincipal; end class User < PolicyGrantPrincipal; end class Unknown < PolicyGrantPrincipal; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
11613 11614 11615 |
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 11613 def unknown @unknown end |
#user ⇒ Types::UserPolicyGrantPrincipal
The user of the policy grant principal.
11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 |
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 11613 class PolicyGrantPrincipal < Struct.new( :domain_unit, :group, :project, :user, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DomainUnit < PolicyGrantPrincipal; end class Group < PolicyGrantPrincipal; end class Project < PolicyGrantPrincipal; end class User < PolicyGrantPrincipal; end class Unknown < PolicyGrantPrincipal; end end |