Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns metadata about your copy jobs.
Synopsis
- data ListCopyJobs = ListCopyJobs' {}
- newListCopyJobs :: ListCopyJobs
- listCopyJobs_byResourceArn :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byCreatedAfter :: Lens' ListCopyJobs (Maybe UTCTime)
- listCopyJobs_byAccountId :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byCreatedBefore :: Lens' ListCopyJobs (Maybe UTCTime)
- listCopyJobs_byDestinationVaultArn :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byResourceType :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_nextToken :: Lens' ListCopyJobs (Maybe Text)
- listCopyJobs_byState :: Lens' ListCopyJobs (Maybe CopyJobState)
- listCopyJobs_maxResults :: Lens' ListCopyJobs (Maybe Natural)
- data ListCopyJobsResponse = ListCopyJobsResponse' {}
- newListCopyJobsResponse :: Int -> ListCopyJobsResponse
- listCopyJobsResponse_nextToken :: Lens' ListCopyJobsResponse (Maybe Text)
- listCopyJobsResponse_copyJobs :: Lens' ListCopyJobsResponse (Maybe [CopyJob])
- 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:byResourceArn:ListCopyJobs'
, listCopyJobs_byResourceArn
- Returns only copy jobs that match the specified resource Amazon Resource
Name (ARN).
$sel:byCreatedAfter:ListCopyJobs'
, listCopyJobs_byCreatedAfter
- Returns only copy jobs that were created after the specified date.
$sel:byAccountId:ListCopyJobs'
, listCopyJobs_byAccountId
- The account ID to list the jobs from. Returns only copy jobs associated
with the specified account ID.
$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:byResourceType:ListCopyJobs'
, listCopyJobs_byResourceType
- Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemRDS
for Amazon Relational Database ServiceAurora
for Amazon AuroraStorage Gateway
for Storage Gateway
$sel:nextToken: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.
$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.
Request Lenses
listCopyJobs_byResourceArn :: Lens' ListCopyJobs (Maybe Text) Source #
Returns only copy jobs that match the specified resource Amazon Resource Name (ARN).
listCopyJobs_byCreatedAfter :: Lens' ListCopyJobs (Maybe UTCTime) Source #
Returns only copy jobs that were created after the specified date.
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_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_byResourceType :: Lens' ListCopyJobs (Maybe Text) Source #
Returns only backup jobs for the specified resources:
DynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemRDS
for Amazon Relational Database ServiceAurora
for Amazon AuroraStorage Gateway
for Storage Gateway
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.
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.
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:nextToken: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:copyJobs:ListCopyJobsResponse'
, listCopyJobsResponse_copyJobs
- An array of structures containing metadata about your copy jobs returned
in JSON format.
$sel:httpStatus:ListCopyJobsResponse'
, listCopyJobsResponse_httpStatus
- The response's http status code.
Response Lenses
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_copyJobs :: Lens' ListCopyJobsResponse (Maybe [CopyJob]) Source #
An array of structures containing metadata about your copy jobs returned in JSON format.
listCopyJobsResponse_httpStatus :: Lens' ListCopyJobsResponse Int Source #
The response's http status code.