libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming
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.Route53AutoNaming.ListOperations

Description

Lists operations that match the criteria that you specify.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOperations Source #

See: newListOperations smart constructor.

Constructors

ListOperations' 

Fields

  • filters :: Maybe [OperationFilter]

    A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

    If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

  • nextToken :: Maybe Text

    For the first ListOperations request, omit this value.

    If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

    Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

  • maxResults :: Maybe Natural

    The maximum number of items that you want Cloud Map to return in the response to a ListOperations request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 operations.

Instances

Instances details
Eq ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Read ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Show ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Generic ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Associated Types

type Rep ListOperations :: Type -> Type #

NFData ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Methods

rnf :: ListOperations -> () #

Hashable ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

ToJSON ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

AWSPager ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

AWSRequest ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Associated Types

type AWSResponse ListOperations #

ToHeaders ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

ToPath ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

ToQuery ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

type Rep ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

type Rep ListOperations = D1 ('MetaData "ListOperations" "Amazonka.Route53AutoNaming.ListOperations" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "ListOperations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OperationFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

newListOperations :: ListOperations Source #

Create a value of ListOperations 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:ListOperations', listOperations_filters - A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

$sel:nextToken:ListOperations', listOperations_nextToken - For the first ListOperations request, omit this value.

If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

$sel:maxResults:ListOperations', listOperations_maxResults - The maximum number of items that you want Cloud Map to return in the response to a ListOperations request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 operations.

Request Lenses

listOperations_filters :: Lens' ListOperations (Maybe [OperationFilter]) Source #

A complex type that contains specifications for the operations that you want to list, for example, operations that you started between a specified start date and end date.

If you specify more than one filter, an operation must match all filters to be returned by ListOperations.

listOperations_nextToken :: Lens' ListOperations (Maybe Text) Source #

For the first ListOperations request, omit this value.

If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

listOperations_maxResults :: Lens' ListOperations (Maybe Natural) Source #

The maximum number of items that you want Cloud Map to return in the response to a ListOperations request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 operations.

Destructuring the Response

data ListOperationsResponse Source #

See: newListOperationsResponse smart constructor.

Constructors

ListOperationsResponse' 

Fields

  • nextToken :: Maybe Text

    If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

    Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

  • operations :: Maybe [OperationSummary]

    Summary information about the operations that match the specified criteria.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Read ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Show ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Generic ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

NFData ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Methods

rnf :: ListOperationsResponse -> () #

type Rep ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

type Rep ListOperationsResponse = D1 ('MetaData "ListOperationsResponse" "Amazonka.Route53AutoNaming.ListOperations" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "ListOperationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OperationSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOperationsResponse Source #

Create a value of ListOperationsResponse 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:ListOperations', listOperationsResponse_nextToken - If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

$sel:operations:ListOperationsResponse', listOperationsResponse_operations - Summary information about the operations that match the specified criteria.

$sel:httpStatus:ListOperationsResponse', listOperationsResponse_httpStatus - The response's http status code.

Response Lenses

listOperationsResponse_nextToken :: Lens' ListOperationsResponse (Maybe Text) Source #

If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

listOperationsResponse_operations :: Lens' ListOperationsResponse (Maybe [OperationSummary]) Source #

Summary information about the operations that match the specified criteria.