#[non_exhaustive]pub struct StartAssetBundleExportJobInput {
pub aws_account_id: Option<String>,
pub asset_bundle_export_job_id: Option<String>,
pub resource_arns: Option<Vec<String>>,
pub include_all_dependencies: Option<bool>,
pub export_format: Option<AssetBundleExportFormat>,
pub cloud_formation_override_property_configuration: Option<AssetBundleCloudFormationOverridePropertyConfiguration>,
pub include_permissions: Option<bool>,
pub include_tags: Option<bool>,
pub validation_strategy: Option<AssetBundleExportJobValidationStrategy>,
pub include_folder_memberships: Option<bool>,
pub include_folder_members: Option<IncludeFolderMembers>,
}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.aws_account_id: Option<String>The ID of the Amazon Web Services account to export assets from.
asset_bundle_export_job_id: Option<String>The ID of the job. This ID is unique while the job is running. After the job is completed, you can reuse this ID for another job.
resource_arns: Option<Vec<String>>An array of resource ARNs to export. The following resources are supported.
-
Analysis -
Dashboard -
DataSet -
DataSource -
RefreshSchedule -
Theme -
VPCConnection
The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported.
include_all_dependencies: Option<bool>A Boolean that determines whether all dependencies of each resource ARN are recursively exported with the job. For example, say you provided a Dashboard ARN to the ResourceArns parameter. If you set IncludeAllDependencies to TRUE, any theme, dataset, and data source resource that is a dependency of the dashboard is also exported.
export_format: Option<AssetBundleExportFormat>The export data format.
cloud_formation_override_property_configuration: Option<AssetBundleCloudFormationOverridePropertyConfiguration>An optional collection of structures that generate CloudFormation parameters to override the existing resource property values when the resource is exported to a new CloudFormation template.
Use this field if the ExportFormat field of a StartAssetBundleExportJobRequest API call is set to CLOUDFORMATION_JSON.
include_permissions: Option<bool>A Boolean that determines whether all permissions for each resource ARN are exported with the job. If you set IncludePermissions to TRUE, any permissions associated with each resource are exported.
A Boolean that determines whether all tags for each resource ARN are exported with the job. If you set IncludeTags to TRUE, any tags associated with each resource are exported.
validation_strategy: Option<AssetBundleExportJobValidationStrategy>An optional parameter that determines which validation strategy to use for the export job. If StrictModeForAllResources is set to TRUE, strict validation for every error is enforced. If it is set to FALSE, validation is skipped for specific UI errors that are shown as warnings. The default value for StrictModeForAllResources is FALSE.
include_folder_memberships: Option<bool>A Boolean that determines if the exported asset carries over information about the folders that the asset is a member of.
include_folder_members: Option<IncludeFolderMembers>A setting that indicates whether you want to include folder assets. You can also use this setting to recusrsively include all subfolders of an exported folder.
Implementations§
Source§impl StartAssetBundleExportJobInput
impl StartAssetBundleExportJobInput
Sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account to export assets from.
Sourcepub fn asset_bundle_export_job_id(&self) -> Option<&str>
pub fn asset_bundle_export_job_id(&self) -> Option<&str>
The ID of the job. This ID is unique while the job is running. After the job is completed, you can reuse this ID for another job.
Sourcepub fn resource_arns(&self) -> &[String]
pub fn resource_arns(&self) -> &[String]
An array of resource ARNs to export. The following resources are supported.
-
Analysis -
Dashboard -
DataSet -
DataSource -
RefreshSchedule -
Theme -
VPCConnection
The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_arns.is_none().
Sourcepub fn include_all_dependencies(&self) -> Option<bool>
pub fn include_all_dependencies(&self) -> Option<bool>
A Boolean that determines whether all dependencies of each resource ARN are recursively exported with the job. For example, say you provided a Dashboard ARN to the ResourceArns parameter. If you set IncludeAllDependencies to TRUE, any theme, dataset, and data source resource that is a dependency of the dashboard is also exported.
Sourcepub fn export_format(&self) -> Option<&AssetBundleExportFormat>
pub fn export_format(&self) -> Option<&AssetBundleExportFormat>
The export data format.
Sourcepub fn cloud_formation_override_property_configuration(
&self,
) -> Option<&AssetBundleCloudFormationOverridePropertyConfiguration>
pub fn cloud_formation_override_property_configuration( &self, ) -> Option<&AssetBundleCloudFormationOverridePropertyConfiguration>
An optional collection of structures that generate CloudFormation parameters to override the existing resource property values when the resource is exported to a new CloudFormation template.
Use this field if the ExportFormat field of a StartAssetBundleExportJobRequest API call is set to CLOUDFORMATION_JSON.
Sourcepub fn include_permissions(&self) -> Option<bool>
pub fn include_permissions(&self) -> Option<bool>
A Boolean that determines whether all permissions for each resource ARN are exported with the job. If you set IncludePermissions to TRUE, any permissions associated with each resource are exported.
A Boolean that determines whether all tags for each resource ARN are exported with the job. If you set IncludeTags to TRUE, any tags associated with each resource are exported.
Sourcepub fn validation_strategy(
&self,
) -> Option<&AssetBundleExportJobValidationStrategy>
pub fn validation_strategy( &self, ) -> Option<&AssetBundleExportJobValidationStrategy>
An optional parameter that determines which validation strategy to use for the export job. If StrictModeForAllResources is set to TRUE, strict validation for every error is enforced. If it is set to FALSE, validation is skipped for specific UI errors that are shown as warnings. The default value for StrictModeForAllResources is FALSE.
Sourcepub fn include_folder_memberships(&self) -> Option<bool>
pub fn include_folder_memberships(&self) -> Option<bool>
A Boolean that determines if the exported asset carries over information about the folders that the asset is a member of.
Sourcepub fn include_folder_members(&self) -> Option<&IncludeFolderMembers>
pub fn include_folder_members(&self) -> Option<&IncludeFolderMembers>
A setting that indicates whether you want to include folder assets. You can also use this setting to recusrsively include all subfolders of an exported folder.
Source§impl StartAssetBundleExportJobInput
impl StartAssetBundleExportJobInput
Sourcepub fn builder() -> StartAssetBundleExportJobInputBuilder
pub fn builder() -> StartAssetBundleExportJobInputBuilder
Creates a new builder-style object to manufacture StartAssetBundleExportJobInput.
Trait Implementations§
Source§impl Clone for StartAssetBundleExportJobInput
impl Clone for StartAssetBundleExportJobInput
Source§fn clone(&self) -> StartAssetBundleExportJobInput
fn clone(&self) -> StartAssetBundleExportJobInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for StartAssetBundleExportJobInput
impl PartialEq for StartAssetBundleExportJobInput
Source§fn eq(&self, other: &StartAssetBundleExportJobInput) -> bool
fn eq(&self, other: &StartAssetBundleExportJobInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StartAssetBundleExportJobInput
Auto Trait Implementations§
impl Freeze for StartAssetBundleExportJobInput
impl RefUnwindSafe for StartAssetBundleExportJobInput
impl Send for StartAssetBundleExportJobInput
impl Sync for StartAssetBundleExportJobInput
impl Unpin for StartAssetBundleExportJobInput
impl UnwindSafe for StartAssetBundleExportJobInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);