Class: Aws::AccountAccess::Types::EntitlementDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccountAccess::Types::EntitlementDetails
- Defined in:
- gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb
Overview
Note:
EntitlementDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EntitlementDetails corresponding to the set member.
Contains detailed information about an entitlement, including the principal, IAM role, and target account.
Defined Under Namespace
Classes: PrincipalRole, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#principal_role ⇒ Types::PrincipalRoleEntitlementDetails
The principal-to-role mapping details for the entitlement, including the target account.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#principal_role ⇒ Types::PrincipalRoleEntitlementDetails
The principal-to-role mapping details for the entitlement, including the target account.
216 217 218 219 220 221 222 223 224 225 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 216 class EntitlementDetails < Struct.new( :principal_role, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PrincipalRole < EntitlementDetails; end class Unknown < EntitlementDetails; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
216 217 218 |
# File 'gems/aws-sdk-accountaccess/lib/aws-sdk-accountaccess/types.rb', line 216 def unknown @unknown end |