libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Description

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

Creating a Request

data DescribeRecommendationExportJobs Source #

See: newDescribeRecommendationExportJobs smart constructor.

Constructors

DescribeRecommendationExportJobs' 

Fields

  • filters :: Maybe [JobFilter]

    An array of objects to specify a filter that returns a more specific list of export jobs.

  • nextToken :: Maybe Text

    The token to advance to the next page of export jobs.

  • maxResults :: Maybe Int

    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.

  • jobIds :: Maybe [Text]

    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.

Instances

Instances details
Eq DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Read DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Show DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Generic DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Associated Types

type Rep DescribeRecommendationExportJobs :: Type -> Type #

NFData DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Hashable DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

ToJSON DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

AWSRequest DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

ToHeaders DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

ToPath DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

ToQuery DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

type Rep DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

type Rep DescribeRecommendationExportJobs = D1 ('MetaData "DescribeRecommendationExportJobs" "Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "DescribeRecommendationExportJobs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobFilter])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "jobIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))
type AWSResponse DescribeRecommendationExportJobs Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

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 #

Constructors

DescribeRecommendationExportJobsResponse' 

Fields

Instances

Instances details
Eq DescribeRecommendationExportJobsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Read DescribeRecommendationExportJobsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Show DescribeRecommendationExportJobsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

Generic DescribeRecommendationExportJobsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

NFData DescribeRecommendationExportJobsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

type Rep DescribeRecommendationExportJobsResponse Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs

type Rep DescribeRecommendationExportJobsResponse = D1 ('MetaData "DescribeRecommendationExportJobsResponse" "Amazonka.ComputeOptimizer.DescribeRecommendationExportJobs" "libZSservicesZSamazonka-compute-optimizerZSamazonka-compute-optimizer" 'False) (C1 ('MetaCons "DescribeRecommendationExportJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recommendationExportJobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecommendationExportJob])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.