Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns metadata about your copy jobs.
This operation returns paginated results.
Synopsis
- data ListCopyJobs = ListCopyJobs' {
- byAccountId :: Maybe Text
- byCompleteAfter :: Maybe POSIX
- byCompleteBefore :: Maybe POSIX
- byCreatedAfter :: Maybe POSIX
- byCreatedBefore :: Maybe POSIX
- byDestinationVaultArn :: Maybe Text
- byParentJobId :: Maybe Text
- byResourceArn :: Maybe Text
- byResourceType :: Maybe Text
- byState :: Maybe CopyJobState
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- newListCopyJobs :: ListCopyJobs
- listCopyJobs_byAccountId :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byCompleteAfter :: Lens' ListCopyJobs (Maybe UTCTime)
- listCopyJobs_byCompleteBefore :: Lens' ListCopyJobs (Maybe UTCTime)
- listCopyJobs_byCreatedAfter :: Lens' ListCopyJobs (Maybe UTCTime)
- listCopyJobs_byCreatedBefore :: Lens' ListCopyJobs (Maybe UTCTime)
- listCopyJobs_byDestinationVaultArn :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byParentJobId :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byResourceArn :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byResourceType :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byState :: Lens' ListCopyJobs (Maybe CopyJobState)
- listCopyJobs_maxResults :: Lens' ListCopyJobs (Maybe Natural)
- listCopyJobs_nextToken :: Lens' ListCopyJobs (Maybe Text)
- data ListCopyJobsResponse = ListCopyJobsResponse' {}
- newListCopyJobsResponse :: Int -> ListCopyJobsResponse
- listCopyJobsResponse_copyJobs :: Lens' ListCopyJobsResponse (Maybe [CopyJob])
- listCopyJobsResponse_nextToken :: Lens' ListCopyJobsResponse (Maybe Text)
- listCopyJobsResponse_httpStatus :: Lens' ListCopyJobsResponse Int
Creating a Request
data ListCopyJobs Source #
See: newListCopyJobs
smart constructor.
ListCopyJobs' | |
|
Instances
newListCopyJobs :: ListCopyJobs Source #
Create a value of ListCopyJobs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:byAccountId:ListCopyJobs'
, listCopyJobs_byAccountId
- The account ID to list the jobs from. Returns only copy jobs associated
with the specified account ID.
$sel:byCompleteAfter:ListCopyJobs'
, listCopyJobs_byCompleteAfter
- Returns only copy jobs completed after a date expressed in Unix format
and Coordinated Universal Time (UTC).
$sel:byCompleteBefore:ListCopyJobs'
, listCopyJobs_byCompleteBefore
- Returns only copy jobs completed before a date expressed in Unix format
and Coordinated Universal Time (UTC).
$sel:byCreatedAfter:ListCopyJobs'
, listCopyJobs_byCreatedAfter
- Returns only copy jobs that were created after the specified date.
$sel:byCreatedBefore:ListCopyJobs'
, listCopyJobs_byCreatedBefore
- Returns only copy jobs that were created before the specified date.
$sel:byDestinationVaultArn:ListCopyJobs'
, listCopyJobs_byDestinationVaultArn
- 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
.
$sel:byParentJobId:ListCopyJobs'
, listCopyJobs_byParentJobId
- This is a filter to list child (nested) jobs based on parent job ID.
$sel:byResourceArn:ListCopyJobs'
, listCopyJobs_byResourceArn
- Returns only copy jobs that match the specified resource Amazon Resource
Name (ARN).
$sel:byResourceType:ListCopyJobs'
, listCopyJobs_byResourceType
- Returns only backup jobs for the specified resources:
Aurora
for Amazon AuroraDocumentDB
for Amazon DocumentDB (with MongoDB compatibility)DynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemFSx
for Amazon FSxNeptune
for Amazon NeptuneRDS
for Amazon Relational Database ServiceStorage Gateway
for Storage GatewayS3
for Amazon S3VirtualMachine
for virtual machines
$sel:byState:ListCopyJobs'
, listCopyJobs_byState
- Returns only copy jobs that are in the specified state.
$sel:maxResults:ListCopyJobs'
, listCopyJobs_maxResults
- The maximum number of items to be returned.
ListCopyJobs
, listCopyJobs_nextToken
- 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.
Request Lenses
listCopyJobs_byAccountId :: Lens' ListCopyJobs (Maybe Text) Source #
The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID.
listCopyJobs_byCompleteAfter :: Lens' ListCopyJobs (Maybe UTCTime) Source #
Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
listCopyJobs_byCompleteBefore :: Lens' ListCopyJobs (Maybe UTCTime) Source #
Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
listCopyJobs_byCreatedAfter :: Lens' ListCopyJobs (Maybe UTCTime) Source #
Returns only copy jobs that were created after the specified date.
listCopyJobs_byCreatedBefore :: Lens' ListCopyJobs (Maybe UTCTime) Source #
Returns only copy jobs that were created before the specified date.
listCopyJobs_byDestinationVaultArn :: Lens' ListCopyJobs (Maybe Text) Source #
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
.
listCopyJobs_byParentJobId :: Lens' ListCopyJobs (Maybe Text) Source #
This is a filter to list child (nested) jobs based on parent job ID.
listCopyJobs_byResourceArn :: Lens' ListCopyJobs (Maybe Text) Source #
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
listCopyJobs_byResourceType :: Lens' ListCopyJobs (Maybe Text) Source #
Returns only backup jobs for the specified resources:
Aurora
for Amazon AuroraDocumentDB
for Amazon DocumentDB (with MongoDB compatibility)DynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemFSx
for Amazon FSxNeptune
for Amazon NeptuneRDS
for Amazon Relational Database ServiceStorage Gateway
for Storage GatewayS3
for Amazon S3VirtualMachine
for virtual machines
listCopyJobs_byState :: Lens' ListCopyJobs (Maybe CopyJobState) Source #
Returns only copy jobs that are in the specified state.
listCopyJobs_maxResults :: Lens' ListCopyJobs (Maybe Natural) Source #
The maximum number of items to be returned.
listCopyJobs_nextToken :: Lens' ListCopyJobs (Maybe Text) Source #
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.
Destructuring the Response
data ListCopyJobsResponse Source #
See: newListCopyJobsResponse
smart constructor.
ListCopyJobsResponse' | |
|
Instances
newListCopyJobsResponse Source #
Create a value of ListCopyJobsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:copyJobs:ListCopyJobsResponse'
, listCopyJobsResponse_copyJobs
- An array of structures containing metadata about your copy jobs returned
in JSON format.
ListCopyJobs
, listCopyJobsResponse_nextToken
- 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.
$sel:httpStatus:ListCopyJobsResponse'
, listCopyJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listCopyJobsResponse_copyJobs :: Lens' ListCopyJobsResponse (Maybe [CopyJob]) Source #
An array of structures containing metadata about your copy jobs returned in JSON format.
listCopyJobsResponse_nextToken :: Lens' ListCopyJobsResponse (Maybe Text) Source #
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.
listCopyJobsResponse_httpStatus :: Lens' ListCopyJobsResponse Int Source #
The response's http status code.