Class: Aws::BedrockRuntime::Types::VideoSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::VideoSource
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
VideoSource is a union - when making an API calls you must set exactly one of the members.
VideoSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VideoSource corresponding to the set member.
A video source. You can upload a smaller video as a base64-encoded string as long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size from an S3 bucket.
Direct Known Subclasses
Defined Under Namespace
Classes: Bytes, S3Location, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bytes ⇒ String
Video content encoded in base64.
-
#s3_location ⇒ Types::S3Location
The location of a video object in an S3 bucket.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#bytes ⇒ String
Video content encoded in base64.
2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2844 class VideoSource < Struct.new( :bytes, :s3_location, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Bytes < VideoSource; end class S3Location < VideoSource; end class Unknown < VideoSource; end end |
#s3_location ⇒ Types::S3Location
The location of a video object in an S3 bucket.
2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2844 class VideoSource < Struct.new( :bytes, :s3_location, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Bytes < VideoSource; end class S3Location < VideoSource; end class Unknown < VideoSource; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2844 2845 2846 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2844 def unknown @unknown end |