Class: Aws::MediaConnect::Types::ResourceShareDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConnect::Types::ResourceShareDetails
- Defined in:
- gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb
Overview
ResourceShareDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceShareDetails corresponding to the set member.
The cross-account sharing details for an endpoint. Endpoints are
shared through Resource Access Manager (RAM). This is a union type, so
exactly one of its members is set: owned when this account owns the
endpoint and shares it with other accounts, or consumed when this
account consumes an endpoint that another account shares. To change
how an endpoint is shared, use RAM.
Defined Under Namespace
Classes: Consumed, Owned, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#consumed ⇒ Types::ConsumedResourceShareDetails
The sharing details for an endpoint that another account shares with this account through RAM.
-
#owned ⇒ Types::OwnedResourceShareDetails
The sharing details for an endpoint that this account owns and shares with other accounts through RAM.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#consumed ⇒ Types::ConsumedResourceShareDetails
The sharing details for an endpoint that another account shares with this account through RAM.
7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 |
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 7747 class ResourceShareDetails < Struct.new( :owned, :consumed, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Owned < ResourceShareDetails; end class Consumed < ResourceShareDetails; end class Unknown < ResourceShareDetails; end end |
#owned ⇒ Types::OwnedResourceShareDetails
The sharing details for an endpoint that this account owns and shares with other accounts through RAM.
7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 |
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 7747 class ResourceShareDetails < Struct.new( :owned, :consumed, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Owned < ResourceShareDetails; end class Consumed < ResourceShareDetails; end class Unknown < ResourceShareDetails; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
7747 7748 7749 |
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 7747 def unknown @unknown end |