Struct aws_sdk_quicksight::types::AssetBundleImportSource
source · #[non_exhaustive]pub struct AssetBundleImportSource {
pub body: Option<Blob>,
pub s3_uri: Option<String>,
}
Expand description
The source of the asset bundle zip file that contains the data that you want to import. The file must be in QUICKSIGHT_JSON
format.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.body: Option<Blob>
The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
If you are calling the API operations from the Amazon Web Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 automatically to allow the direct setting of the zip file's bytes. If you are using an SDK for a different language or receiving related errors, try to base64 encode your data.
s3_uri: Option<String>
The Amazon S3 URI for an asset bundle import file that exists in an Amazon S3 bucket that the caller has read access to. The file must be a zip format file and can't exceed 20 MB.
Implementations§
source§impl AssetBundleImportSource
impl AssetBundleImportSource
sourcepub fn body(&self) -> Option<&Blob>
pub fn body(&self) -> Option<&Blob>
The bytes of the base64 encoded asset bundle import zip file. This file can't exceed 20 MB.
If you are calling the API operations from the Amazon Web Services SDK for Java, JavaScript, Python, or PHP, the SDK encodes base64 automatically to allow the direct setting of the zip file's bytes. If you are using an SDK for a different language or receiving related errors, try to base64 encode your data.
source§impl AssetBundleImportSource
impl AssetBundleImportSource
sourcepub fn builder() -> AssetBundleImportSourceBuilder
pub fn builder() -> AssetBundleImportSourceBuilder
Creates a new builder-style object to manufacture AssetBundleImportSource
.
Trait Implementations§
source§impl Clone for AssetBundleImportSource
impl Clone for AssetBundleImportSource
source§fn clone(&self) -> AssetBundleImportSource
fn clone(&self) -> AssetBundleImportSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetBundleImportSource
impl Debug for AssetBundleImportSource
source§impl PartialEq for AssetBundleImportSource
impl PartialEq for AssetBundleImportSource
source§fn eq(&self, other: &AssetBundleImportSource) -> bool
fn eq(&self, other: &AssetBundleImportSource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetBundleImportSource
Auto Trait Implementations§
impl Freeze for AssetBundleImportSource
impl RefUnwindSafe for AssetBundleImportSource
impl Send for AssetBundleImportSource
impl Sync for AssetBundleImportSource
impl Unpin for AssetBundleImportSource
impl UnwindSafe for AssetBundleImportSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more