Struct aws_sdk_backup::client::fluent_builders::ListCopyJobs
source · [−]pub struct ListCopyJobs { /* private fields */ }
Expand description
Fluent builder constructing a request to ListCopyJobs
.
Returns metadata about your copy jobs.
Implementations
sourceimpl ListCopyJobs
impl ListCopyJobs
sourcepub async fn send(
self
) -> Result<ListCopyJobsOutput, SdkError<ListCopyJobsError>>
pub async fn send(
self
) -> Result<ListCopyJobsOutput, SdkError<ListCopyJobsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListCopyJobsPaginator
pub fn into_paginator(self) -> ListCopyJobsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to be returned.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to be returned.
sourcepub fn by_resource_arn(self, input: impl Into<String>) -> Self
pub fn by_resource_arn(self, input: impl Into<String>) -> Self
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
sourcepub fn set_by_resource_arn(self, input: Option<String>) -> Self
pub fn set_by_resource_arn(self, input: Option<String>) -> Self
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
sourcepub fn by_state(self, input: CopyJobState) -> Self
pub fn by_state(self, input: CopyJobState) -> Self
Returns only copy jobs that are in the specified state.
sourcepub fn set_by_state(self, input: Option<CopyJobState>) -> Self
pub fn set_by_state(self, input: Option<CopyJobState>) -> Self
Returns only copy jobs that are in the specified state.
sourcepub fn by_created_before(self, input: DateTime) -> Self
pub fn by_created_before(self, input: DateTime) -> Self
Returns only copy jobs that were created before the specified date.
sourcepub fn set_by_created_before(self, input: Option<DateTime>) -> Self
pub fn set_by_created_before(self, input: Option<DateTime>) -> Self
Returns only copy jobs that were created before the specified date.
sourcepub fn by_created_after(self, input: DateTime) -> Self
pub fn by_created_after(self, input: DateTime) -> Self
Returns only copy jobs that were created after the specified date.
sourcepub fn set_by_created_after(self, input: Option<DateTime>) -> Self
pub fn set_by_created_after(self, input: Option<DateTime>) -> Self
Returns only copy jobs that were created after the specified date.
sourcepub fn by_resource_type(self, input: impl Into<String>) -> Self
pub fn by_resource_type(self, input: impl Into<String>) -> Self
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
sourcepub fn set_by_resource_type(self, input: Option<String>) -> Self
pub fn set_by_resource_type(self, input: Option<String>) -> Self
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
sourcepub fn by_destination_vault_arn(self, input: impl Into<String>) -> Self
pub fn by_destination_vault_arn(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_by_destination_vault_arn(self, input: Option<String>) -> Self
pub fn set_by_destination_vault_arn(self, input: Option<String>) -> Self
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
.
sourcepub fn by_account_id(self, input: impl Into<String>) -> Self
pub fn by_account_id(self, input: impl Into<String>) -> Self
The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
sourcepub fn set_by_account_id(self, input: Option<String>) -> Self
pub fn set_by_account_id(self, input: Option<String>) -> Self
The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
sourcepub fn by_complete_before(self, input: DateTime) -> Self
pub fn by_complete_before(self, input: DateTime) -> Self
Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn set_by_complete_before(self, input: Option<DateTime>) -> Self
pub fn set_by_complete_before(self, input: Option<DateTime>) -> Self
Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn by_complete_after(self, input: DateTime) -> Self
pub fn by_complete_after(self, input: DateTime) -> Self
Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
sourcepub fn set_by_complete_after(self, input: Option<DateTime>) -> Self
pub fn set_by_complete_after(self, input: Option<DateTime>) -> Self
Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
Trait Implementations
sourceimpl Clone for ListCopyJobs
impl Clone for ListCopyJobs
sourcefn clone(&self) -> ListCopyJobs
fn clone(&self) -> ListCopyJobs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ListCopyJobs
impl Send for ListCopyJobs
impl Sync for ListCopyJobs
impl Unpin for ListCopyJobs
impl !UnwindSafe for ListCopyJobs
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> 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