Struct aws_sdk_rds::input::StartExportTaskInput
source · [−]#[non_exhaustive]pub struct StartExportTaskInput {
pub export_task_identifier: Option<String>,
pub source_arn: Option<String>,
pub s3_bucket_name: Option<String>,
pub iam_role_arn: Option<String>,
pub kms_key_id: Option<String>,
pub s3_prefix: Option<String>,
pub export_only: Option<Vec<String>>,
}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.export_task_identifier: Option<String>A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is to be exported to.
source_arn: Option<String>The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
s3_bucket_name: Option<String>The name of the Amazon S3 bucket to export the snapshot to.
iam_role_arn: Option<String>The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
kms_key_id: Option<String>The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to execute the following operations. These can be set in the Amazon Web Services KMS key policy:
-
GrantOperation.Encrypt
-
GrantOperation.Decrypt
-
GrantOperation.GenerateDataKey
-
GrantOperation.GenerateDataKeyWithoutPlaintext
-
GrantOperation.ReEncryptFrom
-
GrantOperation.ReEncryptTo
-
GrantOperation.CreateGrant
-
GrantOperation.DescribeKey
-
GrantOperation.RetireGrant
s3_prefix: Option<String>The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
export_only: Option<Vec<String>>The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
Implementations
sourceimpl StartExportTaskInput
impl StartExportTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartExportTask, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartExportTask, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartExportTask>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartExportTaskInput
sourceimpl StartExportTaskInput
impl StartExportTaskInput
sourcepub fn export_task_identifier(&self) -> Option<&str>
pub fn export_task_identifier(&self) -> Option<&str>
A unique identifier for the snapshot export task. This ID isn't an identifier for the Amazon S3 bucket where the snapshot is to be exported to.
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the snapshot to export to Amazon S3.
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
The name of the Amazon S3 bucket to export the snapshot to.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the Amazon Web Services KMS key to use to encrypt the snapshot exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to execute the following operations. These can be set in the Amazon Web Services KMS key policy:
-
GrantOperation.Encrypt
-
GrantOperation.Decrypt
-
GrantOperation.GenerateDataKey
-
GrantOperation.GenerateDataKeyWithoutPlaintext
-
GrantOperation.ReEncryptFrom
-
GrantOperation.ReEncryptTo
-
GrantOperation.CreateGrant
-
GrantOperation.DescribeKey
-
GrantOperation.RetireGrant
sourcepub fn s3_prefix(&self) -> Option<&str>
pub fn s3_prefix(&self) -> Option<&str>
The Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
sourcepub fn export_only(&self) -> Option<&[String]>
pub fn export_only(&self) -> Option<&[String]>
The data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are the following:
-
database- Export all the data from a specified database. -
database.tabletable-name - Export a table of the snapshot. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schemaschema-name - Export a database schema of the snapshot. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.tabletable-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
Trait Implementations
sourceimpl Clone for StartExportTaskInput
impl Clone for StartExportTaskInput
sourcefn clone(&self) -> StartExportTaskInput
fn clone(&self) -> StartExportTaskInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StartExportTaskInput
impl Debug for StartExportTaskInput
sourceimpl PartialEq<StartExportTaskInput> for StartExportTaskInput
impl PartialEq<StartExportTaskInput> for StartExportTaskInput
sourcefn eq(&self, other: &StartExportTaskInput) -> bool
fn eq(&self, other: &StartExportTaskInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StartExportTaskInput) -> bool
fn ne(&self, other: &StartExportTaskInput) -> bool
This method tests for !=.
impl StructuralPartialEq for StartExportTaskInput
Auto Trait Implementations
impl RefUnwindSafe for StartExportTaskInput
impl Send for StartExportTaskInput
impl Sync for StartExportTaskInput
impl Unpin for StartExportTaskInput
impl UnwindSafe for StartExportTaskInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more