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 |
Describes recommendation export jobs created in the last seven days.
Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.
Synopsis
- data DescribeRecommendationExportJobs = DescribeRecommendationExportJobs' {}
- newDescribeRecommendationExportJobs :: DescribeRecommendationExportJobs
- describeRecommendationExportJobs_filters :: Lens' DescribeRecommendationExportJobs (Maybe [JobFilter])
- describeRecommendationExportJobs_nextToken :: Lens' DescribeRecommendationExportJobs (Maybe Text)
- describeRecommendationExportJobs_maxResults :: Lens' DescribeRecommendationExportJobs (Maybe Int)
- describeRecommendationExportJobs_jobIds :: Lens' DescribeRecommendationExportJobs (Maybe [Text])
- data DescribeRecommendationExportJobsResponse = DescribeRecommendationExportJobsResponse' {}
- newDescribeRecommendationExportJobsResponse :: Int -> DescribeRecommendationExportJobsResponse
- describeRecommendationExportJobsResponse_recommendationExportJobs :: Lens' DescribeRecommendationExportJobsResponse (Maybe [RecommendationExportJob])
- describeRecommendationExportJobsResponse_nextToken :: Lens' DescribeRecommendationExportJobsResponse (Maybe Text)
- describeRecommendationExportJobsResponse_httpStatus :: Lens' DescribeRecommendationExportJobsResponse Int
Creating a Request
data DescribeRecommendationExportJobs Source #
See: newDescribeRecommendationExportJobs
smart constructor.
DescribeRecommendationExportJobs' | |
|
Instances
newDescribeRecommendationExportJobs :: DescribeRecommendationExportJobs Source #
Create a value of DescribeRecommendationExportJobs
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:filters:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_filters
- An array of objects to specify a filter that returns a more specific
list of export jobs.
$sel:nextToken:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_nextToken
- The token to advance to the next page of export jobs.
$sel:maxResults:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_maxResults
- The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
$sel:jobIds:DescribeRecommendationExportJobs'
, describeRecommendationExportJobs_jobIds
- The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
Request Lenses
describeRecommendationExportJobs_filters :: Lens' DescribeRecommendationExportJobs (Maybe [JobFilter]) Source #
An array of objects to specify a filter that returns a more specific list of export jobs.
describeRecommendationExportJobs_nextToken :: Lens' DescribeRecommendationExportJobs (Maybe Text) Source #
The token to advance to the next page of export jobs.
describeRecommendationExportJobs_maxResults :: Lens' DescribeRecommendationExportJobs (Maybe Int) Source #
The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the
returned nextToken
value.
describeRecommendationExportJobs_jobIds :: Lens' DescribeRecommendationExportJobs (Maybe [Text]) Source #
The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
Destructuring the Response
data DescribeRecommendationExportJobsResponse Source #
See: newDescribeRecommendationExportJobsResponse
smart constructor.
DescribeRecommendationExportJobsResponse' | |
|
Instances
newDescribeRecommendationExportJobsResponse Source #
Create a value of DescribeRecommendationExportJobsResponse
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:recommendationExportJobs:DescribeRecommendationExportJobsResponse'
, describeRecommendationExportJobsResponse_recommendationExportJobs
- An array of objects that describe recommendation export jobs.
$sel:nextToken:DescribeRecommendationExportJobs'
, describeRecommendationExportJobsResponse_nextToken
- The token to use to advance to the next page of export jobs.
This value is null when there are no more pages of export jobs to return.
$sel:httpStatus:DescribeRecommendationExportJobsResponse'
, describeRecommendationExportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
describeRecommendationExportJobsResponse_recommendationExportJobs :: Lens' DescribeRecommendationExportJobsResponse (Maybe [RecommendationExportJob]) Source #
An array of objects that describe recommendation export jobs.
describeRecommendationExportJobsResponse_nextToken :: Lens' DescribeRecommendationExportJobsResponse (Maybe Text) Source #
The token to use to advance to the next page of export jobs.
This value is null when there are no more pages of export jobs to return.
describeRecommendationExportJobsResponse_httpStatus :: Lens' DescribeRecommendationExportJobsResponse Int Source #
The response's http status code.