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.
7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 |
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 7438 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.
7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 |
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 7438 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
7438 7439 7440 |
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 7438 def unknown @unknown end |