Struct aws_sdk_backup::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for AWS Backup
Client for invoking operations on AWS Backup. Each operation on AWS Backup is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_backup::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_backup::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_backup::Client::from_conf(config);
Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn create_backup_plan(&self) -> CreateBackupPlan
pub fn create_backup_plan(&self) -> CreateBackupPlan
Constructs a fluent builder for the CreateBackupPlan
operation.
- The fluent builder is configurable:
backup_plan(BackupPlanInput)
/set_backup_plan(Option<BackupPlanInput>)
:Specifies the body of a backup plan. Includes a
BackupPlanName
and one or more sets ofRules
.backup_plan_tags(HashMap<String, String>)
/set_backup_plan_tags(Option<HashMap<String, String>>)
:To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a
CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or ‘-_.’ characters.
- On success, responds with
CreateBackupPlanOutput
with field(s):backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
backup_plan_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.creation_date(Option<DateTime>)
:The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.version_id(Option<String>)
:Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. They cannot be edited.
advanced_backup_settings(Option<Vec<AdvancedBackupSetting>>)
:A list of
BackupOptions
settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
- On failure, responds with
SdkError<CreateBackupPlanError>
sourcepub fn create_backup_selection(&self) -> CreateBackupSelection
pub fn create_backup_selection(&self) -> CreateBackupSelection
Constructs a fluent builder for the CreateBackupSelection
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies the backup plan to be associated with the selection of resources.
backup_selection(BackupSelection)
/set_backup_selection(Option<BackupSelection>)
:Specifies the body of a request to assign a set of resources to a backup plan.
creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or ‘-_.’ characters.
- On success, responds with
CreateBackupSelectionOutput
with field(s):selection_id(Option<String>)
:Uniquely identifies the body of a request to assign a set of resources to a backup plan.
backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
creation_date(Option<DateTime>)
:The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<CreateBackupSelectionError>
sourcepub fn create_backup_vault(&self) -> CreateBackupVault
pub fn create_backup_vault(&self) -> CreateBackupVault
Constructs a fluent builder for the CreateBackupVault
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
backup_vault_tags(HashMap<String, String>)
/set_backup_vault_tags(Option<HashMap<String, String>>)
:Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
encryption_key_arn(impl Into<String>)
/set_encryption_key_arn(Option<String>)
:The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.creator_request_id(impl Into<String>)
/set_creator_request_id(Option<String>)
:A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or ‘-_.’ characters.
- On success, responds with
CreateBackupVaultOutput
with field(s):backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.creation_date(Option<DateTime>)
:The date and time a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<CreateBackupVaultError>
sourcepub fn create_framework(&self) -> CreateFramework
pub fn create_framework(&self) -> CreateFramework
Constructs a fluent builder for the CreateFramework
operation.
- The fluent builder is configurable:
framework_name(impl Into<String>)
/set_framework_name(Option<String>)
:The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
framework_description(impl Into<String>)
/set_framework_description(Option<String>)
:An optional description of the framework with a maximum of 1,024 characters.
framework_controls(Vec<FrameworkControl>)
/set_framework_controls(Option<Vec<FrameworkControl>>)
:A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
CreateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.framework_tags(HashMap<String, String>)
/set_framework_tags(Option<HashMap<String, String>>)
:Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
- On success, responds with
CreateFrameworkOutput
with field(s):framework_name(Option<String>)
:The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
framework_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
- On failure, responds with
SdkError<CreateFrameworkError>
sourcepub fn create_report_plan(&self) -> CreateReportPlan
pub fn create_report_plan(&self) -> CreateReportPlan
Constructs a fluent builder for the CreateReportPlan
operation.
- The fluent builder is configurable:
report_plan_name(impl Into<String>)
/set_report_plan_name(Option<String>)
:The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
report_plan_description(impl Into<String>)
/set_report_plan_description(Option<String>)
:An optional description of the report plan with a maximum of 1,024 characters.
report_delivery_channel(ReportDeliveryChannel)
/set_report_delivery_channel(Option<ReportDeliveryChannel>)
:A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
report_setting(ReportSetting)
/set_report_setting(Option<ReportSetting>)
:Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is
RESOURCE_COMPLIANCE_REPORT
orCONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.report_plan_tags(HashMap<String, String>)
/set_report_plan_tags(Option<HashMap<String, String>>)
:Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
CreateReportPlanInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
- On success, responds with
CreateReportPlanOutput
with field(s):report_plan_name(Option<String>)
:The unique name of the report plan.
report_plan_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
creation_time(Option<DateTime>)
:The date and time a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<CreateReportPlanError>
sourcepub fn delete_backup_plan(&self) -> DeleteBackupPlan
pub fn delete_backup_plan(&self) -> DeleteBackupPlan
Constructs a fluent builder for the DeleteBackupPlan
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
- On success, responds with
DeleteBackupPlanOutput
with field(s):backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
backup_plan_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.deletion_date(Option<DateTime>)
:The date and time a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of
DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.version_id(Option<String>)
:Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
- On failure, responds with
SdkError<DeleteBackupPlanError>
sourcepub fn delete_backup_selection(&self) -> DeleteBackupSelection
pub fn delete_backup_selection(&self) -> DeleteBackupSelection
Constructs a fluent builder for the DeleteBackupSelection
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
selection_id(impl Into<String>)
/set_selection_id(Option<String>)
:Uniquely identifies the body of a request to assign a set of resources to a backup plan.
- On success, responds with
DeleteBackupSelectionOutput
- On failure, responds with
SdkError<DeleteBackupSelectionError>
sourcepub fn delete_backup_vault(&self) -> DeleteBackupVault
pub fn delete_backup_vault(&self) -> DeleteBackupVault
Constructs a fluent builder for the DeleteBackupVault
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- On success, responds with
DeleteBackupVaultOutput
- On failure, responds with
SdkError<DeleteBackupVaultError>
sourcepub fn delete_backup_vault_access_policy(&self) -> DeleteBackupVaultAccessPolicy
pub fn delete_backup_vault_access_policy(&self) -> DeleteBackupVaultAccessPolicy
Constructs a fluent builder for the DeleteBackupVaultAccessPolicy
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- On success, responds with
DeleteBackupVaultAccessPolicyOutput
- On failure, responds with
SdkError<DeleteBackupVaultAccessPolicyError>
sourcepub fn delete_backup_vault_lock_configuration(
&self
) -> DeleteBackupVaultLockConfiguration
pub fn delete_backup_vault_lock_configuration(
&self
) -> DeleteBackupVaultLockConfiguration
Constructs a fluent builder for the DeleteBackupVaultLockConfiguration
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of the backup vault from which to delete Backup Vault Lock.
- On success, responds with
DeleteBackupVaultLockConfigurationOutput
- On failure, responds with
SdkError<DeleteBackupVaultLockConfigurationError>
sourcepub fn delete_backup_vault_notifications(
&self
) -> DeleteBackupVaultNotifications
pub fn delete_backup_vault_notifications(
&self
) -> DeleteBackupVaultNotifications
Constructs a fluent builder for the DeleteBackupVaultNotifications
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- On success, responds with
DeleteBackupVaultNotificationsOutput
- On failure, responds with
SdkError<DeleteBackupVaultNotificationsError>
sourcepub fn delete_framework(&self) -> DeleteFramework
pub fn delete_framework(&self) -> DeleteFramework
Constructs a fluent builder for the DeleteFramework
operation.
- The fluent builder is configurable:
framework_name(impl Into<String>)
/set_framework_name(Option<String>)
:The unique name of a framework.
- On success, responds with
DeleteFrameworkOutput
- On failure, responds with
SdkError<DeleteFrameworkError>
sourcepub fn delete_recovery_point(&self) -> DeleteRecoveryPoint
pub fn delete_recovery_point(&self) -> DeleteRecoveryPoint
Constructs a fluent builder for the DeleteRecoveryPoint
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
- On success, responds with
DeleteRecoveryPointOutput
- On failure, responds with
SdkError<DeleteRecoveryPointError>
sourcepub fn delete_report_plan(&self) -> DeleteReportPlan
pub fn delete_report_plan(&self) -> DeleteReportPlan
Constructs a fluent builder for the DeleteReportPlan
operation.
- The fluent builder is configurable:
report_plan_name(impl Into<String>)
/set_report_plan_name(Option<String>)
:The unique name of a report plan.
- On success, responds with
DeleteReportPlanOutput
- On failure, responds with
SdkError<DeleteReportPlanError>
sourcepub fn describe_backup_job(&self) -> DescribeBackupJob
pub fn describe_backup_job(&self) -> DescribeBackupJob
Constructs a fluent builder for the DescribeBackupJob
operation.
- The fluent builder is configurable:
backup_job_id(impl Into<String>)
/set_backup_job_id(Option<String>)
:Uniquely identifies a request to Backup to back up a resource.
- On success, responds with
DescribeBackupJobOutput
with field(s):account_id(Option<String>)
:Returns the account ID that owns the backup job.
backup_job_id(Option<String>)
:Uniquely identifies a request to Backup to back up a resource.
backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.resource_arn(Option<String>)
:An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
creation_date(Option<DateTime>)
:The date and time that a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.completion_date(Option<DateTime>)
:The date and time that a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.state(Option<BackupJobState>)
:The current state of a resource recovery point.
status_message(Option<String>)
:A detailed message explaining the status of the job to back up a resource.
percent_done(Option<String>)
:Contains an estimated percentage that is complete of a job at the time the job status was queried.
backup_size_in_bytes(Option<i64>)
:The size, in bytes, of a backup.
iam_role_arn(Option<String>)
:Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.created_by(Option<RecoveryPointCreator>)
:Contains identifying information about the creation of a backup job, including the
BackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.resource_type(Option<String>)
:The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
bytes_transferred(Option<i64>)
:The size in bytes transferred to a backup vault at the time that the job status was queried.
expected_completion_date(Option<DateTime>)
:The date and time that a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of
ExpectedCompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.start_by(Option<DateTime>)
:Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the
StartBy
time would be 8:00 PM on the date specified. The value ofStartBy
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.backup_options(Option<HashMap<String, String>>)
:Represents the options specified as part of backup plan or on-demand backup job.
backup_type(Option<String>)
:Represents the actual backup type selected for a backup job. For example, if a successful Windows Volume Shadow Copy Service (VSS) backup was taken,
BackupType
returns“WindowsVSS”
. IfBackupType
is empty, then the backup type was a regular backup.
- On failure, responds with
SdkError<DescribeBackupJobError>
sourcepub fn describe_backup_vault(&self) -> DescribeBackupVault
pub fn describe_backup_vault(&self) -> DescribeBackupVault
Constructs a fluent builder for the DescribeBackupVault
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- On success, responds with
DescribeBackupVaultOutput
with field(s):backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.encryption_key_arn(Option<String>)
:The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.creation_date(Option<DateTime>)
:The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.creator_request_id(Option<String>)
:A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
number_of_recovery_points(i64)
:The number of recovery points that are stored in a backup vault.
locked(Option<bool>)
:A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault.
True
means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.min_retention_days(Option<i64>)
:The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job’s retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
max_retention_days(Option<i64>)
:The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job’s retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
lock_date(Option<DateTime>)
:The date and time when Backup Vault Lock configuration cannot be changed or deleted.
If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<DescribeBackupVaultError>
sourcepub fn describe_copy_job(&self) -> DescribeCopyJob
pub fn describe_copy_job(&self) -> DescribeCopyJob
Constructs a fluent builder for the DescribeCopyJob
operation.
- The fluent builder is configurable:
copy_job_id(impl Into<String>)
/set_copy_job_id(Option<String>)
:Uniquely identifies a copy job.
- On success, responds with
DescribeCopyJobOutput
with field(s):copy_job(Option<CopyJob>)
:Contains detailed information about a copy job.
- On failure, responds with
SdkError<DescribeCopyJobError>
sourcepub fn describe_framework(&self) -> DescribeFramework
pub fn describe_framework(&self) -> DescribeFramework
Constructs a fluent builder for the DescribeFramework
operation.
- The fluent builder is configurable:
framework_name(impl Into<String>)
/set_framework_name(Option<String>)
:The unique name of a framework.
- On success, responds with
DescribeFrameworkOutput
with field(s):framework_name(Option<String>)
:The unique name of a framework.
framework_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
framework_description(Option<String>)
:An optional description of the framework.
framework_controls(Option<Vec<FrameworkControl>>)
:A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
creation_time(Option<DateTime>)
:The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.deployment_status(Option<String>)
:The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
framework_status(Option<String>)
:A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn Config recording on or off for each resource. The statuses are:
-
ACTIVE
when recording is turned on for all resources governed by the framework. -
PARTIALLY_ACTIVE
when recording is turned off for at least one resource governed by the framework. -
INACTIVE
when recording is turned off for all resources governed by the framework. -
UNAVAILABLE
when Backup is unable to validate recording status at this time.
-
idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
DescribeFrameworkOutput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
- On failure, responds with
SdkError<DescribeFrameworkError>
sourcepub fn describe_global_settings(&self) -> DescribeGlobalSettings
pub fn describe_global_settings(&self) -> DescribeGlobalSettings
Constructs a fluent builder for the DescribeGlobalSettings
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DescribeGlobalSettingsOutput
with field(s):global_settings(Option<HashMap<String, String>>)
:The status of the flag
isCrossAccountBackupEnabled
.last_update_time(Option<DateTime>)
:The date and time that the flag
isCrossAccountBackupEnabled
was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value ofLastUpdateTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<DescribeGlobalSettingsError>
sourcepub fn describe_protected_resource(&self) -> DescribeProtectedResource
pub fn describe_protected_resource(&self) -> DescribeProtectedResource
Constructs a fluent builder for the DescribeProtectedResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
- On success, responds with
DescribeProtectedResourceOutput
with field(s):resource_arn(Option<String>)
:An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
resource_type(Option<String>)
:The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
last_backup_time(Option<DateTime>)
:The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of
LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<DescribeProtectedResourceError>
sourcepub fn describe_recovery_point(&self) -> DescribeRecoveryPoint
pub fn describe_recovery_point(&self) -> DescribeRecoveryPoint
Constructs a fluent builder for the DescribeRecoveryPoint
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
- On success, responds with
DescribeRecoveryPointOutput
with field(s):recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn(Option<String>)
:An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.source_backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies the source vault where the resource was originally backed up in; for example,
arn:aws:backup:us-east-1:123456789012:vault:BackupVault
. If the recovery is restored to the same Amazon Web Services account or Region, this value will benull
.resource_arn(Option<String>)
:An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.
resource_type(Option<String>)
:The type of Amazon Web Services resource to save as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
created_by(Option<RecoveryPointCreator>)
:Contains identifying information about the creation of a recovery point, including the
BackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan used to create it.iam_role_arn(Option<String>)
:Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.status(Option<RecoveryPointStatus>)
:A status code specifying the state of the recovery point.
PARTIAL
status indicates Backup could not create the recovery point before the backup window closed. To increase your backup plan window using the API, see UpdateBackupPlan. You can also increase your backup plan window using the Console by choosing and editing your backup plan.EXPIRED
status indicates that the recovery point has exceeded its retention period, but Backup lacks permission or is otherwise unable to delete it. To manually delete these recovery points, see Step 3: Delete the recovery points in the Clean up resources section of Getting started.status_message(Option<String>)
:A status message explaining the reason for the recovery point deletion failure.
creation_date(Option<DateTime>)
:The date and time that a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.completion_date(Option<DateTime>)
:The date and time that a job to create a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.backup_size_in_bytes(Option<i64>)
:The size, in bytes, of a backup.
calculated_lifecycle(Option<CalculatedLifecycle>)
:A
CalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.lifecycle(Option<Lifecycle>)
:The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups that are transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the “Full Backup management” section of the Feature availability by resource table. Backup ignores this expression for other resource types.
encryption_key_arn(Option<String>)
:The server-side encryption key used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.is_encrypted(bool)
:A Boolean value that is returned as
TRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.storage_class(Option<StorageClass>)
:Specifies the storage class of the recovery point. Valid values are
WARM
orCOLD
.last_restore_time(Option<DateTime>)
:The date and time that a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of
LastRestoreTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<DescribeRecoveryPointError>
sourcepub fn describe_region_settings(&self) -> DescribeRegionSettings
pub fn describe_region_settings(&self) -> DescribeRegionSettings
Constructs a fluent builder for the DescribeRegionSettings
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
DescribeRegionSettingsOutput
with field(s):resource_type_opt_in_preference(Option<HashMap<String, bool>>)
:Returns a list of all services along with the opt-in preferences in the Region.
resource_type_management_preference(Option<HashMap<String, bool>>)
:Returns whether Backup fully manages the backups for a resource type.
For the benefits of full Backup management, see Full Backup management.
For a list of resource types and whether each supports full Backup management, see the Feature availability by resource table.
If
“DynamoDB”:false
, you can enable full Backup management for DynamoDB backup by enabling Backup’s advanced DynamoDB backup features.
- On failure, responds with
SdkError<DescribeRegionSettingsError>
sourcepub fn describe_report_job(&self) -> DescribeReportJob
pub fn describe_report_job(&self) -> DescribeReportJob
Constructs a fluent builder for the DescribeReportJob
operation.
- The fluent builder is configurable:
report_job_id(impl Into<String>)
/set_report_job_id(Option<String>)
:The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.
- On success, responds with
DescribeReportJobOutput
with field(s):report_job(Option<ReportJob>)
:A list of information about a report job, including its completion and creation times, report destination, unique report job ID, Amazon Resource Name (ARN), report template, status, and status message.
- On failure, responds with
SdkError<DescribeReportJobError>
sourcepub fn describe_report_plan(&self) -> DescribeReportPlan
pub fn describe_report_plan(&self) -> DescribeReportPlan
Constructs a fluent builder for the DescribeReportPlan
operation.
- The fluent builder is configurable:
report_plan_name(impl Into<String>)
/set_report_plan_name(Option<String>)
:The unique name of a report plan.
- On success, responds with
DescribeReportPlanOutput
with field(s):report_plan(Option<ReportPlan>)
:Returns details about the report plan that is specified by its name. These details include the report plan’s Amazon Resource Name (ARN), description, settings, delivery channel, deployment status, creation time, and last attempted and successful run times.
- On failure, responds with
SdkError<DescribeReportPlanError>
sourcepub fn describe_restore_job(&self) -> DescribeRestoreJob
pub fn describe_restore_job(&self) -> DescribeRestoreJob
Constructs a fluent builder for the DescribeRestoreJob
operation.
- The fluent builder is configurable:
restore_job_id(impl Into<String>)
/set_restore_job_id(Option<String>)
:Uniquely identifies the job that restores a recovery point.
- On success, responds with
DescribeRestoreJobOutput
with field(s):account_id(Option<String>)
:Returns the account ID that owns the restore job.
restore_job_id(Option<String>)
:Uniquely identifies the job that restores a recovery point.
recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.creation_date(Option<DateTime>)
:The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.completion_date(Option<DateTime>)
:The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of
CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.status(Option<RestoreJobStatus>)
:Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
status_message(Option<String>)
:A message showing the status of a job to restore a recovery point.
percent_done(Option<String>)
:Contains an estimated percentage that is complete of a job at the time the job status was queried.
backup_size_in_bytes(Option<i64>)
:The size, in bytes, of the restored resource.
iam_role_arn(Option<String>)
:Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.expected_completion_time_minutes(Option<i64>)
:The amount of time in minutes that a job restoring a recovery point is expected to take.
created_resource_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
resource_type(Option<String>)
:Returns metadata associated with a restore job listed by resource type.
- On failure, responds with
SdkError<DescribeRestoreJobError>
sourcepub fn disassociate_recovery_point(&self) -> DisassociateRecoveryPoint
pub fn disassociate_recovery_point(&self) -> DisassociateRecoveryPoint
Constructs a fluent builder for the DisassociateRecoveryPoint
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The unique name of an Backup vault.
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery point.
- On success, responds with
DisassociateRecoveryPointOutput
- On failure, responds with
SdkError<DisassociateRecoveryPointError>
sourcepub fn export_backup_plan_template(&self) -> ExportBackupPlanTemplate
pub fn export_backup_plan_template(&self) -> ExportBackupPlanTemplate
Constructs a fluent builder for the ExportBackupPlanTemplate
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
- On success, responds with
ExportBackupPlanTemplateOutput
with field(s):backup_plan_template_json(Option<String>)
:The body of a backup plan template in JSON format.
This is a signed JSON document that cannot be modified before being passed to
GetBackupPlanFromJSON.
- On failure, responds with
SdkError<ExportBackupPlanTemplateError>
sourcepub fn get_backup_plan(&self) -> GetBackupPlan
pub fn get_backup_plan(&self) -> GetBackupPlan
Constructs a fluent builder for the GetBackupPlan
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
version_id(impl Into<String>)
/set_version_id(Option<String>)
:Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
- On success, responds with
GetBackupPlanOutput
with field(s):backup_plan(Option<BackupPlan>)
:Specifies the body of a backup plan. Includes a
BackupPlanName
and one or more sets ofRules
.backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
backup_plan_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.version_id(Option<String>)
:Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
creator_request_id(Option<String>)
:A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
creation_date(Option<DateTime>)
:The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.deletion_date(Option<DateTime>)
:The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of
DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.last_execution_date(Option<DateTime>)
:The last time a job to back up resources was run with this backup plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of
LastExecutionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.advanced_backup_settings(Option<Vec<AdvancedBackupSetting>>)
:Contains a list of
BackupOptions
for each resource type. The list is populated only if the advanced option is set for the backup plan.
- On failure, responds with
SdkError<GetBackupPlanError>
sourcepub fn get_backup_plan_from_json(&self) -> GetBackupPlanFromJSON
pub fn get_backup_plan_from_json(&self) -> GetBackupPlanFromJSON
Constructs a fluent builder for the GetBackupPlanFromJSON
operation.
- The fluent builder is configurable:
backup_plan_template_json(impl Into<String>)
/set_backup_plan_template_json(Option<String>)
:A customer-supplied backup plan document in JSON format.
- On success, responds with
GetBackupPlanFromJsonOutput
with field(s):backup_plan(Option<BackupPlan>)
:Specifies the body of a backup plan. Includes a
BackupPlanName
and one or more sets ofRules
.
- On failure, responds with
SdkError<GetBackupPlanFromJSONError>
sourcepub fn get_backup_plan_from_template(&self) -> GetBackupPlanFromTemplate
pub fn get_backup_plan_from_template(&self) -> GetBackupPlanFromTemplate
Constructs a fluent builder for the GetBackupPlanFromTemplate
operation.
- The fluent builder is configurable:
backup_plan_template_id(impl Into<String>)
/set_backup_plan_template_id(Option<String>)
:Uniquely identifies a stored backup plan template.
- On success, responds with
GetBackupPlanFromTemplateOutput
with field(s):backup_plan_document(Option<BackupPlan>)
:Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of the plan.
- On failure, responds with
SdkError<GetBackupPlanFromTemplateError>
sourcepub fn get_backup_selection(&self) -> GetBackupSelection
pub fn get_backup_selection(&self) -> GetBackupSelection
Constructs a fluent builder for the GetBackupSelection
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
selection_id(impl Into<String>)
/set_selection_id(Option<String>)
:Uniquely identifies the body of a request to assign a set of resources to a backup plan.
- On success, responds with
GetBackupSelectionOutput
with field(s):backup_selection(Option<BackupSelection>)
:Specifies the body of a request to assign a set of resources to a backup plan.
selection_id(Option<String>)
:Uniquely identifies the body of a request to assign a set of resources to a backup plan.
backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
creation_date(Option<DateTime>)
:The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.creator_request_id(Option<String>)
:A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
- On failure, responds with
SdkError<GetBackupSelectionError>
sourcepub fn get_backup_vault_access_policy(&self) -> GetBackupVaultAccessPolicy
pub fn get_backup_vault_access_policy(&self) -> GetBackupVaultAccessPolicy
Constructs a fluent builder for the GetBackupVaultAccessPolicy
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- On success, responds with
GetBackupVaultAccessPolicyOutput
with field(s):backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.policy(Option<String>)
:The backup vault access policy document in JSON format.
- On failure, responds with
SdkError<GetBackupVaultAccessPolicyError>
sourcepub fn get_backup_vault_notifications(&self) -> GetBackupVaultNotifications
pub fn get_backup_vault_notifications(&self) -> GetBackupVaultNotifications
Constructs a fluent builder for the GetBackupVaultNotifications
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- On success, responds with
GetBackupVaultNotificationsOutput
with field(s):backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.sns_topic_arn(Option<String>)
:An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example,
arn:aws:sns:us-west-2:111122223333:MyTopic
.backup_vault_events(Option<Vec<BackupVaultEvent>>)
:An array of events that indicate the status of jobs to back up resources to the backup vault.
- On failure, responds with
SdkError<GetBackupVaultNotificationsError>
sourcepub fn get_recovery_point_restore_metadata(
&self
) -> GetRecoveryPointRestoreMetadata
pub fn get_recovery_point_restore_metadata(
&self
) -> GetRecoveryPointRestoreMetadata
Constructs a fluent builder for the GetRecoveryPointRestoreMetadata
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
- On success, responds with
GetRecoveryPointRestoreMetadataOutput
with field(s):backup_vault_arn(Option<String>)
:An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.restore_metadata(Option<HashMap<String, String>>)
:The set of metadata key-value pairs that describe the original configuration of the backed-up resource. These values vary depending on the service that is being restored.
- On failure, responds with
SdkError<GetRecoveryPointRestoreMetadataError>
sourcepub fn get_supported_resource_types(&self) -> GetSupportedResourceTypes
pub fn get_supported_resource_types(&self) -> GetSupportedResourceTypes
Constructs a fluent builder for the GetSupportedResourceTypes
operation.
- The fluent builder takes no input, just
send
it. - On success, responds with
GetSupportedResourceTypesOutput
with field(s):resource_types(Option<Vec<String>>)
:Contains a string with the supported Amazon Web Services resource types:
-
Aurora
for Amazon Aurora -
DynamoDB
for Amazon DynamoDB -
EBS
for Amazon Elastic Block Store -
EC2
for Amazon Elastic Compute Cloud -
EFS
for Amazon Elastic File System -
FSX
for Amazon FSx -
RDS
for Amazon Relational Database Service -
Storage Gateway
for Storage Gateway -
DocDB
for Amazon DocumentDB (with MongoDB compatibility) -
Neptune
for Amazon Neptune
-
- On failure, responds with
SdkError<GetSupportedResourceTypesError>
sourcepub fn list_backup_jobs(&self) -> ListBackupJobs
pub fn list_backup_jobs(&self) -> ListBackupJobs
Constructs a fluent builder for the ListBackupJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
by_resource_arn(impl Into<String>)
/set_by_resource_arn(Option<String>)
:Returns only backup jobs that match the specified resource Amazon Resource Name (ARN).
by_state(BackupJobState)
/set_by_state(Option<BackupJobState>)
:Returns only backup jobs that are in the specified state.
by_backup_vault_name(impl Into<String>)
/set_by_backup_vault_name(Option<String>)
:Returns only backup jobs that will be stored in the specified backup vault. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
by_created_before(DateTime)
/set_by_created_before(Option<DateTime>)
:Returns only backup jobs that were created before the specified date.
by_created_after(DateTime)
/set_by_created_after(Option<DateTime>)
:Returns only backup jobs that were created after the specified date.
by_resource_type(impl Into<String>)
/set_by_resource_type(Option<String>)
:Returns only backup jobs for the specified resources:
-
Aurora
for Amazon Aurora -
DocumentDB
for Amazon DocumentDB (with MongoDB compatibility) -
DynamoDB
for Amazon DynamoDB -
EBS
for Amazon Elastic Block Store -
EC2
for Amazon Elastic Compute Cloud -
EFS
for Amazon Elastic File System -
FSx
for Amazon FSx -
Neptune
for Amazon Neptune -
RDS
for Amazon Relational Database Service -
Storage Gateway
for Storage Gateway -
S3
for Amazon S3 -
VirtualMachine
for virtual machines
-
by_account_id(impl Into<String>)
/set_by_account_id(Option<String>)
:The account ID to list the jobs from. Returns only backup jobs associated with the specified account ID.
If used from an Organizations management account, passing
*
returns all jobs across the organization.
- On success, responds with
ListBackupJobsOutput
with field(s):backup_jobs(Option<Vec<BackupJob>>)
:An array of structures containing metadata about your backup jobs returned in JSON format.
next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
- On failure, responds with
SdkError<ListBackupJobsError>
sourcepub fn list_backup_plans(&self) -> ListBackupPlans
pub fn list_backup_plans(&self) -> ListBackupPlans
Constructs a fluent builder for the ListBackupPlans
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
include_deleted(bool)
/set_include_deleted(Option<bool>)
:A Boolean value with a default value of
FALSE
that returns deleted backup plans when set toTRUE
.
- On success, responds with
ListBackupPlansOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.backup_plans_list(Option<Vec<BackupPlansListMember>>)
:An array of backup plan list items containing metadata about your saved backup plans.
- On failure, responds with
SdkError<ListBackupPlansError>
sourcepub fn list_backup_plan_templates(&self) -> ListBackupPlanTemplates
pub fn list_backup_plan_templates(&self) -> ListBackupPlanTemplates
Constructs a fluent builder for the ListBackupPlanTemplates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
- On success, responds with
ListBackupPlanTemplatesOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.backup_plan_templates_list(Option<Vec<BackupPlanTemplatesListMember>>)
:An array of template list items containing metadata about your saved templates.
- On failure, responds with
SdkError<ListBackupPlanTemplatesError>
sourcepub fn list_backup_plan_versions(&self) -> ListBackupPlanVersions
pub fn list_backup_plan_versions(&self) -> ListBackupPlanVersions
Constructs a fluent builder for the ListBackupPlanVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
- On success, responds with
ListBackupPlanVersionsOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.backup_plan_versions_list(Option<Vec<BackupPlansListMember>>)
:An array of version list items containing metadata about your backup plans.
- On failure, responds with
SdkError<ListBackupPlanVersionsError>
sourcepub fn list_backup_selections(&self) -> ListBackupSelections
pub fn list_backup_selections(&self) -> ListBackupSelections
Constructs a fluent builder for the ListBackupSelections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
- On success, responds with
ListBackupSelectionsOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.backup_selections_list(Option<Vec<BackupSelectionsListMember>>)
:An array of backup selection list items containing metadata about each resource in the list.
- On failure, responds with
SdkError<ListBackupSelectionsError>
sourcepub fn list_backup_vaults(&self) -> ListBackupVaults
pub fn list_backup_vaults(&self) -> ListBackupVaults
Constructs a fluent builder for the ListBackupVaults
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
- On success, responds with
ListBackupVaultsOutput
with field(s):backup_vault_list(Option<Vec<BackupVaultListMember>>)
:An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.
next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
- On failure, responds with
SdkError<ListBackupVaultsError>
sourcepub fn list_copy_jobs(&self) -> ListCopyJobs
pub fn list_copy_jobs(&self) -> ListCopyJobs
Constructs a fluent builder for the ListCopyJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
by_resource_arn(impl Into<String>)
/set_by_resource_arn(Option<String>)
:Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
by_state(CopyJobState)
/set_by_state(Option<CopyJobState>)
:Returns only copy jobs that are in the specified state.
by_created_before(DateTime)
/set_by_created_before(Option<DateTime>)
:Returns only copy jobs that were created before the specified date.
by_created_after(DateTime)
/set_by_created_after(Option<DateTime>)
:Returns only copy jobs that were created after the specified date.
by_resource_type(impl Into<String>)
/set_by_resource_type(Option<String>)
:Returns only backup jobs for the specified resources:
-
Aurora
for Amazon Aurora -
DocumentDB
for Amazon DocumentDB (with MongoDB compatibility) -
DynamoDB
for Amazon DynamoDB -
EBS
for Amazon Elastic Block Store -
EC2
for Amazon Elastic Compute Cloud -
EFS
for Amazon Elastic File System -
FSx
for Amazon FSx -
Neptune
for Amazon Neptune -
RDS
for Amazon Relational Database Service -
Storage Gateway
for Storage Gateway -
S3
for Amazon S3 -
VirtualMachine
for virtual machines
-
by_destination_vault_arn(impl Into<String>)
/set_by_destination_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.by_account_id(impl Into<String>)
/set_by_account_id(Option<String>)
:The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
- On success, responds with
ListCopyJobsOutput
with field(s):copy_jobs(Option<Vec<CopyJob>>)
:An array of structures containing metadata about your copy jobs returned in JSON format.
next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return maxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
- On failure, responds with
SdkError<ListCopyJobsError>
sourcepub fn list_frameworks(&self) -> ListFrameworks
pub fn list_frameworks(&self) -> ListFrameworks
Constructs a fluent builder for the ListFrameworks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- On success, responds with
ListFrameworksOutput
with field(s):frameworks(Option<Vec<Framework>>)
:A list of frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.
next_token(Option<String>)
:An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- On failure, responds with
SdkError<ListFrameworksError>
sourcepub fn list_protected_resources(&self) -> ListProtectedResources
pub fn list_protected_resources(&self) -> ListProtectedResources
Constructs a fluent builder for the ListProtectedResources
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
- On success, responds with
ListProtectedResourcesOutput
with field(s):results(Option<Vec<ProtectedResource>>)
:An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
- On failure, responds with
SdkError<ListProtectedResourcesError>
sourcepub fn list_recovery_points_by_backup_vault(
&self
) -> ListRecoveryPointsByBackupVault
pub fn list_recovery_points_by_backup_vault(
&self
) -> ListRecoveryPointsByBackupVault
Constructs a fluent builder for the ListRecoveryPointsByBackupVault
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Backup vault name might not be available when a supported service creates the backup.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
by_resource_arn(impl Into<String>)
/set_by_resource_arn(Option<String>)
:Returns only recovery points that match the specified resource Amazon Resource Name (ARN).
by_resource_type(impl Into<String>)
/set_by_resource_type(Option<String>)
:Returns only recovery points that match the specified resource type.
by_backup_plan_id(impl Into<String>)
/set_by_backup_plan_id(Option<String>)
:Returns only recovery points that match the specified backup plan ID.
by_created_before(DateTime)
/set_by_created_before(Option<DateTime>)
:Returns only recovery points that were created before the specified timestamp.
by_created_after(DateTime)
/set_by_created_after(Option<DateTime>)
:Returns only recovery points that were created after the specified timestamp.
- On success, responds with
ListRecoveryPointsByBackupVaultOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.recovery_points(Option<Vec<RecoveryPointByBackupVault>>)
:An array of objects that contain detailed information about recovery points saved in a backup vault.
- On failure, responds with
SdkError<ListRecoveryPointsByBackupVaultError>
sourcepub fn list_recovery_points_by_resource(&self) -> ListRecoveryPointsByResource
pub fn list_recovery_points_by_resource(&self) -> ListRecoveryPointsByResource
Constructs a fluent builder for the ListRecoveryPointsByResource
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
Amazon RDS requires a value of at least 20.
- On success, responds with
ListRecoveryPointsByResourceOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.recovery_points(Option<Vec<RecoveryPointByResource>>)
:An array of objects that contain detailed information about recovery points of the specified resource type.
Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
- On failure, responds with
SdkError<ListRecoveryPointsByResourceError>
sourcepub fn list_report_jobs(&self) -> ListReportJobs
pub fn list_report_jobs(&self) -> ListReportJobs
Constructs a fluent builder for the ListReportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
by_report_plan_name(impl Into<String>)
/set_by_report_plan_name(Option<String>)
:Returns only report jobs with the specified report plan name.
by_creation_before(DateTime)
/set_by_creation_before(Option<DateTime>)
:Returns only report jobs that were created before the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.
by_creation_after(DateTime)
/set_by_creation_after(Option<DateTime>)
:Returns only report jobs that were created after the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.
by_status(impl Into<String>)
/set_by_status(Option<String>)
:Returns only report jobs that are in the specified status. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED
max_results(i32)
/set_max_results(Option<i32>)
:The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- On success, responds with
ListReportJobsOutput
with field(s):report_jobs(Option<Vec<ReportJob>>)
:Details about your report jobs in JSON format.
next_token(Option<String>)
:An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- On failure, responds with
SdkError<ListReportJobsError>
sourcepub fn list_report_plans(&self) -> ListReportPlans
pub fn list_report_plans(&self) -> ListReportPlans
Constructs a fluent builder for the ListReportPlans
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- On success, responds with
ListReportPlansOutput
with field(s):report_plans(Option<Vec<ReportPlan>>)
:A list of your report plans with detailed information for each plan. This information includes the Amazon Resource Name (ARN), report plan name, description, settings, delivery channel, deployment status, creation time, and last times the report plan attempted to and successfully ran.
next_token(Option<String>)
:An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- On failure, responds with
SdkError<ListReportPlansError>
sourcepub fn list_restore_jobs(&self) -> ListRestoreJobs
pub fn list_restore_jobs(&self) -> ListRestoreJobs
Constructs a fluent builder for the ListRestoreJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
by_account_id(impl Into<String>)
/set_by_account_id(Option<String>)
:The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
by_created_before(DateTime)
/set_by_created_before(Option<DateTime>)
:Returns only restore jobs that were created before the specified date.
by_created_after(DateTime)
/set_by_created_after(Option<DateTime>)
:Returns only restore jobs that were created after the specified date.
by_status(RestoreJobStatus)
/set_by_status(Option<RestoreJobStatus>)
:Returns only restore jobs associated with the specified job status.
- On success, responds with
ListRestoreJobsOutput
with field(s):restore_jobs(Option<Vec<RestoreJobsListMember>>)
:An array of objects that contain detailed information about jobs to restore saved resources.
next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
- On failure, responds with
SdkError<ListRestoreJobsError>
Constructs a fluent builder for the ListTags
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of resource. Valid targets for
ListTags
are recovery points, backup plans, and backup vaults.next_token(impl Into<String>)
/set_next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of items to be returned.
- On success, responds with
ListTagsOutput
with field(s):next_token(Option<String>)
:The next item following a partial list of returned items. For example, if a request is made to return
maxResults
number of items,NextToken
allows you to return more items in your list starting at the location pointed to by the next token.tags(Option<HashMap<String, String>>)
:To help organize your resources, you can assign your own metadata to the resources you create. Each tag is a key-value pair.
- On failure, responds with
SdkError<ListTagsError>
sourcepub fn put_backup_vault_access_policy(&self) -> PutBackupVaultAccessPolicy
pub fn put_backup_vault_access_policy(&self) -> PutBackupVaultAccessPolicy
Constructs a fluent builder for the PutBackupVaultAccessPolicy
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
policy(impl Into<String>)
/set_policy(Option<String>)
:The backup vault access policy document in JSON format.
- On success, responds with
PutBackupVaultAccessPolicyOutput
- On failure, responds with
SdkError<PutBackupVaultAccessPolicyError>
sourcepub fn put_backup_vault_lock_configuration(
&self
) -> PutBackupVaultLockConfiguration
pub fn put_backup_vault_lock_configuration(
&self
) -> PutBackupVaultLockConfiguration
Constructs a fluent builder for the PutBackupVaultLockConfiguration
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The Backup Vault Lock configuration that specifies the name of the backup vault it protects.
min_retention_days(i64)
/set_min_retention_days(Option<i64>)
:The Backup Vault Lock configuration that specifies the minimum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization’s policies require you to retain certain data for at least seven years (2555 days).
If this parameter is not specified, Vault Lock will not enforce a minimum retention period.
If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job’s retention period is shorter than that minimum retention period, then the vault fails that backup or copy job, and you should either modify your lifecycle settings or use a different vault. The shortest minimum retention period you can specify is 1 day. Recovery points already saved in the vault prior to Vault Lock are not affected.
max_retention_days(i64)
/set_max_retention_days(Option<i64>)
:The Backup Vault Lock configuration that specifies the maximum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization’s policies require you to destroy certain data after retaining it for four years (1460 days).
If this parameter is not included, Vault Lock does not enforce a maximum retention period on the recovery points in the vault. If this parameter is included without a value, Vault Lock will not enforce a maximum retention period.
If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job’s retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. The longest maximum retention period you can specify is 36500 days (approximately 100 years). Recovery points already saved in the vault prior to Vault Lock are not affected.
changeable_for_days(i64)
/set_changeable_for_days(Option<i64>)
:The Backup Vault Lock configuration that specifies the number of days before the lock date. For example, setting
ChangeableForDays
to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC.Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable. Therefore, you must set
ChangeableForDays
to 3 or greater.Before the lock date, you can delete Vault Lock from the vault using
DeleteBackupVaultLockConfiguration
or change the Vault Lock configuration usingPutBackupVaultLockConfiguration
. On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted.If this parameter is not specified, you can delete Vault Lock from the vault using
DeleteBackupVaultLockConfiguration
or change the Vault Lock configuration usingPutBackupVaultLockConfiguration
at any time.
- On success, responds with
PutBackupVaultLockConfigurationOutput
- On failure, responds with
SdkError<PutBackupVaultLockConfigurationError>
sourcepub fn put_backup_vault_notifications(&self) -> PutBackupVaultNotifications
pub fn put_backup_vault_notifications(&self) -> PutBackupVaultNotifications
Constructs a fluent builder for the PutBackupVaultNotifications
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sns_topic_arn(impl Into<String>)
/set_sns_topic_arn(Option<String>)
:The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events; for example,
arn:aws:sns:us-west-2:111122223333:MyVaultTopic
.backup_vault_events(Vec<BackupVaultEvent>)
/set_backup_vault_events(Option<Vec<BackupVaultEvent>>)
:An array of events that indicate the status of jobs to back up resources to the backup vault.
For common use cases and code samples, see Using Amazon SNS to track Backup events.
The following events are supported:
-
BACKUP_JOB_STARTED
|BACKUP_JOB_COMPLETED
-
COPY_JOB_STARTED
|COPY_JOB_SUCCESSFUL
|COPY_JOB_FAILED
-
RESTORE_JOB_STARTED
|RESTORE_JOB_COMPLETED
|RECOVERY_POINT_MODIFIED
-
S3_BACKUP_OBJECT_FAILED
|S3_RESTORE_OBJECT_FAILED
Ignore the list below because it includes deprecated events. Refer to the list above.
-
- On success, responds with
PutBackupVaultNotificationsOutput
- On failure, responds with
SdkError<PutBackupVaultNotificationsError>
sourcepub fn start_backup_job(&self) -> StartBackupJob
pub fn start_backup_job(&self) -> StartBackupJob
Constructs a fluent builder for the StartBackupJob
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
iam_role_arn(impl Into<String>)
/set_iam_role_arn(Option<String>)
:Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartBackupJob
. Retrying a successful request with the same idempotency token results in a success message with no action taken.start_window_minutes(i64)
/set_start_window_minutes(Option<i64>)
:A value in minutes after a backup is scheduled before a job will be canceled if it doesn’t start successfully. This value is optional, and the default is 8 hours.
complete_window_minutes(i64)
/set_complete_window_minutes(Option<i64>)
:A value in minutes during which a successfully started backup must complete, or else Backup will cancel the job. This value is optional. This value begins counting down from when the backup was scheduled. It does not add additional time for
StartWindowMinutes
, or if the backup started later than scheduled.lifecycle(Lifecycle)
/set_lifecycle(Option<Lifecycle>)
:The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup will transition and expire backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the “Full Backup management” section of the Feature availability by resource table. Backup ignores this expression for other resource types.
recovery_point_tags(HashMap<String, String>)
/set_recovery_point_tags(Option<HashMap<String, String>>)
:To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
backup_options(HashMap<String, String>)
/set_backup_options(Option<HashMap<String, String>>)
:Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to
“WindowsVSS”:“enabled”
to enable theWindowsVSS
backup option and create a Windows VSS backup. Set to“WindowsVSS”“disabled”
to create a regular backup. TheWindowsVSS
option is not enabled by default.
- On success, responds with
StartBackupJobOutput
with field(s):backup_job_id(Option<String>)
:Uniquely identifies a request to Backup to back up a resource.
recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.creation_date(Option<DateTime>)
:The date and time that a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<StartBackupJobError>
sourcepub fn start_copy_job(&self) -> StartCopyJob
pub fn start_copy_job(&self) -> StartCopyJob
Constructs a fluent builder for the StartCopyJob
operation.
- The fluent builder is configurable:
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point to use for the copy job; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
source_backup_vault_name(impl Into<String>)
/set_source_backup_vault_name(Option<String>)
:The name of a logical source container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
destination_backup_vault_arn(impl Into<String>)
/set_destination_backup_vault_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a destination backup vault to copy to; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.iam_role_arn(impl Into<String>)
/set_iam_role_arn(Option<String>)
:Specifies the IAM role ARN used to copy the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartCopyJob
. Retrying a successful request with the same idempotency token results in a success message with no action taken.lifecycle(Lifecycle)
/set_lifecycle(Option<Lifecycle>)
:Contains an array of
Transition
objects specifying how long in days before a recovery point transitions to cold storage or is deleted.Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the “Full Backup management” section of the Feature availability by resource table. Backup ignores this expression for other resource types.
- On success, responds with
StartCopyJobOutput
with field(s):copy_job_id(Option<String>)
:Uniquely identifies a copy job.
creation_date(Option<DateTime>)
:The date and time that a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<StartCopyJobError>
sourcepub fn start_report_job(&self) -> StartReportJob
pub fn start_report_job(&self) -> StartReportJob
Constructs a fluent builder for the StartReportJob
operation.
- The fluent builder is configurable:
report_plan_name(impl Into<String>)
/set_report_plan_name(Option<String>)
:The unique name of a report plan.
idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartReportJobInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
- On success, responds with
StartReportJobOutput
with field(s):report_job_id(Option<String>)
:The identifier of the report job. A unique, randomly generated, Unicode, UTF-8 encoded string that is at most 1,024 bytes long. The report job ID cannot be edited.
- On failure, responds with
SdkError<StartReportJobError>
sourcepub fn start_restore_job(&self) -> StartRestoreJob
pub fn start_restore_job(&self) -> StartRestoreJob
Constructs a fluent builder for the StartRestoreJob
operation.
- The fluent builder is configurable:
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.metadata(HashMap<String, String>)
/set_metadata(Option<HashMap<String, String>>)
:A set of metadata key-value pairs. Contains information, such as a resource name, required to restore a recovery point.
You can get configuration metadata about a resource at the time it was backed up by calling
GetRecoveryPointRestoreMetadata
. However, values in addition to those provided byGetRecoveryPointRestoreMetadata
might be required to restore a resource. For example, you might need to provide a new resource name if the original already exists.You need to specify specific metadata to restore an Amazon Elastic File System (Amazon EFS) instance:
-
file-system-id
: The ID of the Amazon EFS file system that is backed up by Backup. Returned inGetRecoveryPointRestoreMetadata
. -
Encrypted
: A Boolean value that, if true, specifies that the file system is encrypted. IfKmsKeyId
is specified,Encrypted
must be set totrue
. -
KmsKeyId
: Specifies the Amazon Web Services KMS key that is used to encrypt the restored file system. You can specify a key from another Amazon Web Services account provided that key it is properly shared with your account via Amazon Web Services KMS. -
PerformanceMode
: Specifies the throughput mode of the file system. -
CreationToken
: A user-supplied value that ensures the uniqueness (idempotency) of the request. -
newFileSystem
: A Boolean value that, if true, specifies that the recovery point is restored to a new Amazon EFS file system. -
ItemsToRestore
: An array of one to five strings where each string is a file path. UseItemsToRestore
to restore specific files or directories rather than the entire file system. This parameter is optional. For example,“itemsToRestore”:“["/my.test"]”
.
-
iam_role_arn(impl Into<String>)
/set_iam_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartRestoreJob
. Retrying a successful request with the same idempotency token results in a success message with no action taken.resource_type(impl Into<String>)
/set_resource_type(Option<String>)
:Starts a job to restore a recovery point for one of the following resources:
-
Aurora
for Amazon Aurora -
DocumentDB
for Amazon DocumentDB (with MongoDB compatibility) -
DynamoDB
for Amazon DynamoDB -
EBS
for Amazon Elastic Block Store -
EC2
for Amazon Elastic Compute Cloud -
EFS
for Amazon Elastic File System -
FSx
for Amazon FSx -
Neptune
for Amazon Neptune -
RDS
for Amazon Relational Database Service -
Storage Gateway
for Storage Gateway -
S3
for Amazon S3 -
VirtualMachine
for virtual machines
-
- On success, responds with
StartRestoreJobOutput
with field(s):restore_job_id(Option<String>)
:Uniquely identifies the job that restores a recovery point.
- On failure, responds with
SdkError<StartRestoreJobError>
sourcepub fn stop_backup_job(&self) -> StopBackupJob
pub fn stop_backup_job(&self) -> StopBackupJob
Constructs a fluent builder for the StopBackupJob
operation.
- The fluent builder is configurable:
backup_job_id(impl Into<String>)
/set_backup_job_id(Option<String>)
:Uniquely identifies a request to Backup to back up a resource.
- On success, responds with
StopBackupJobOutput
- On failure, responds with
SdkError<StopBackupJobError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.
tags(HashMap<String, String>)
/set_tags(Option<HashMap<String, String>>)
:Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create. For clarity, this is the structure to assign tags:
[{“Key”:“string”,“Value”:“string”}]
.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.
tag_key_list(Vec<String>)
/set_tag_key_list(Option<Vec<String>>)
:A list of keys to identify which key-value tags to remove from a resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_backup_plan(&self) -> UpdateBackupPlan
pub fn update_backup_plan(&self) -> UpdateBackupPlan
Constructs a fluent builder for the UpdateBackupPlan
operation.
- The fluent builder is configurable:
backup_plan_id(impl Into<String>)
/set_backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
backup_plan(BackupPlanInput)
/set_backup_plan(Option<BackupPlanInput>)
:Specifies the body of a backup plan. Includes a
BackupPlanName
and one or more sets ofRules
.
- On success, responds with
UpdateBackupPlanOutput
with field(s):backup_plan_id(Option<String>)
:Uniquely identifies a backup plan.
backup_plan_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.creation_date(Option<DateTime>)
:The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.version_id(Option<String>)
:Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.
advanced_backup_settings(Option<Vec<AdvancedBackupSetting>>)
:Contains a list of
BackupOptions
for each resource type.
- On failure, responds with
SdkError<UpdateBackupPlanError>
sourcepub fn update_framework(&self) -> UpdateFramework
pub fn update_framework(&self) -> UpdateFramework
Constructs a fluent builder for the UpdateFramework
operation.
- The fluent builder is configurable:
framework_name(impl Into<String>)
/set_framework_name(Option<String>)
:The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
framework_description(impl Into<String>)
/set_framework_description(Option<String>)
:An optional description of the framework with a maximum 1,024 characters.
framework_controls(Vec<FrameworkControl>)
/set_framework_controls(Option<Vec<FrameworkControl>>)
:A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
UpdateFrameworkInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
- On success, responds with
UpdateFrameworkOutput
with field(s):framework_name(Option<String>)
:The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
framework_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
creation_time(Option<DateTime>)
:The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<UpdateFrameworkError>
sourcepub fn update_global_settings(&self) -> UpdateGlobalSettings
pub fn update_global_settings(&self) -> UpdateGlobalSettings
Constructs a fluent builder for the UpdateGlobalSettings
operation.
- The fluent builder is configurable:
global_settings(HashMap<String, String>)
/set_global_settings(Option<HashMap<String, String>>)
:A value for
isCrossAccountBackupEnabled
and a Region. Example:update-global-settings –global-settings isCrossAccountBackupEnabled=false –region us-west-2
.
- On success, responds with
UpdateGlobalSettingsOutput
- On failure, responds with
SdkError<UpdateGlobalSettingsError>
sourcepub fn update_recovery_point_lifecycle(&self) -> UpdateRecoveryPointLifecycle
pub fn update_recovery_point_lifecycle(&self) -> UpdateRecoveryPointLifecycle
Constructs a fluent builder for the UpdateRecoveryPointLifecycle
operation.
- The fluent builder is configurable:
backup_vault_name(impl Into<String>)
/set_backup_vault_name(Option<String>)
:The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
recovery_point_arn(impl Into<String>)
/set_recovery_point_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.lifecycle(Lifecycle)
/set_lifecycle(Option<Lifecycle>)
:The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
- On success, responds with
UpdateRecoveryPointLifecycleOutput
with field(s):backup_vault_arn(Option<String>)
:An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.recovery_point_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.lifecycle(Option<Lifecycle>)
:The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only resource types that support full Backup management can transition their backups to cold storage. Those resource types are listed in the “Full Backup management” section of the Feature availability by resource table. Backup ignores this expression for other resource types.
calculated_lifecycle(Option<CalculatedLifecycle>)
:A
CalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.
- On failure, responds with
SdkError<UpdateRecoveryPointLifecycleError>
sourcepub fn update_region_settings(&self) -> UpdateRegionSettings
pub fn update_region_settings(&self) -> UpdateRegionSettings
Constructs a fluent builder for the UpdateRegionSettings
operation.
- The fluent builder is configurable:
resource_type_opt_in_preference(HashMap<String, bool>)
/set_resource_type_opt_in_preference(Option<HashMap<String, bool>>)
:Updates the list of services along with the opt-in preferences for the Region.
resource_type_management_preference(HashMap<String, bool>)
/set_resource_type_management_preference(Option<HashMap<String, bool>>)
:Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup’s advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
- On success, responds with
UpdateRegionSettingsOutput
- On failure, responds with
SdkError<UpdateRegionSettingsError>
sourcepub fn update_report_plan(&self) -> UpdateReportPlan
pub fn update_report_plan(&self) -> UpdateReportPlan
Constructs a fluent builder for the UpdateReportPlan
operation.
- The fluent builder is configurable:
report_plan_name(impl Into<String>)
/set_report_plan_name(Option<String>)
:The unique name of the report plan. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
report_plan_description(impl Into<String>)
/set_report_plan_description(Option<String>)
:An optional description of the report plan with a maximum 1,024 characters.
report_delivery_channel(ReportDeliveryChannel)
/set_report_delivery_channel(Option<ReportDeliveryChannel>)
:A structure that contains information about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
report_setting(ReportSetting)
/set_report_setting(Option<ReportSetting>)
:Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
If the report template is
RESOURCE_COMPLIANCE_REPORT
orCONTROL_COMPLIANCE_REPORT
, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.idempotency_token(impl Into<String>)
/set_idempotency_token(Option<String>)
:A customer-chosen string that you can use to distinguish between otherwise identical calls to
UpdateReportPlanInput
. Retrying a successful request with the same idempotency token results in a success message with no action taken.
- On success, responds with
UpdateReportPlanOutput
with field(s):report_plan_name(Option<String>)
:The unique name of the report plan.
report_plan_arn(Option<String>)
:An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
creation_time(Option<DateTime>)
:The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- On failure, responds with
SdkError<UpdateReportPlanError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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