libZSservicesZSamazonka-cloudcontrolZSamazonka-cloudcontrol
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.CloudControl.ListResourceRequests

Description

Returns existing resource operation requests. This includes requests of all status types. For more information, see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide.

Resource operation requests expire after seven days.

Synopsis

Creating a Request

data ListResourceRequests Source #

See: newListResourceRequests smart constructor.

Constructors

ListResourceRequests' 

Fields

  • nextToken :: Maybe Text

    If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

  • resourceRequestStatusFilter :: Maybe ResourceRequestStatusFilter

    The filter criteria to apply to the requests returned.

  • maxResults :: Maybe Natural

    The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

    The default is 20.

Instances

Instances details
Eq ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Read ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Show ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Generic ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Associated Types

type Rep ListResourceRequests :: Type -> Type #

NFData ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Methods

rnf :: ListResourceRequests -> () #

Hashable ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

ToJSON ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

AWSRequest ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Associated Types

type AWSResponse ListResourceRequests #

ToHeaders ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

ToPath ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

ToQuery ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

type Rep ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

type Rep ListResourceRequests = D1 ('MetaData "ListResourceRequests" "Amazonka.CloudControl.ListResourceRequests" "libZSservicesZSamazonka-cloudcontrolZSamazonka-cloudcontrol" 'False) (C1 ('MetaCons "ListResourceRequests'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceRequestStatusFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceRequestStatusFilter)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListResourceRequests Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

newListResourceRequests :: ListResourceRequests Source #

Create a value of ListResourceRequests 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:ListResourceRequests', listResourceRequests_nextToken - If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

$sel:resourceRequestStatusFilter:ListResourceRequests', listResourceRequests_resourceRequestStatusFilter - The filter criteria to apply to the requests returned.

$sel:maxResults:ListResourceRequests', listResourceRequests_maxResults - The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

The default is 20.

Request Lenses

listResourceRequests_nextToken :: Lens' ListResourceRequests (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listResourceRequests_maxResults :: Lens' ListResourceRequests (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

The default is 20.

Destructuring the Response

data ListResourceRequestsResponse Source #

See: newListResourceRequestsResponse smart constructor.

Constructors

ListResourceRequestsResponse' 

Fields

  • resourceRequestStatusSummaries :: Maybe [ProgressEvent]

    The requests that match the specified filter criteria.

  • nextToken :: Maybe Text

    If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListResourceRequestsResponse Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Show ListResourceRequestsResponse Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Generic ListResourceRequestsResponse Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

Associated Types

type Rep ListResourceRequestsResponse :: Type -> Type #

NFData ListResourceRequestsResponse Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

type Rep ListResourceRequestsResponse Source # 
Instance details

Defined in Amazonka.CloudControl.ListResourceRequests

type Rep ListResourceRequestsResponse = D1 ('MetaData "ListResourceRequestsResponse" "Amazonka.CloudControl.ListResourceRequests" "libZSservicesZSamazonka-cloudcontrolZSamazonka-cloudcontrol" 'False) (C1 ('MetaCons "ListResourceRequestsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceRequestStatusSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProgressEvent])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceRequestsResponse Source #

Create a value of ListResourceRequestsResponse 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:resourceRequestStatusSummaries:ListResourceRequestsResponse', listResourceRequestsResponse_resourceRequestStatusSummaries - The requests that match the specified filter criteria.

$sel:nextToken:ListResourceRequests', listResourceRequestsResponse_nextToken - If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

$sel:httpStatus:ListResourceRequestsResponse', listResourceRequestsResponse_httpStatus - The response's http status code.

Response Lenses

listResourceRequestsResponse_nextToken :: Lens' ListResourceRequestsResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.