amazonka-route53-autonaming-2.0: Amazon Cloud Map SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

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

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

Instances

Instances details
ToJSON ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.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

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 #

Generic ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Associated Types

type Rep ListOperations :: Type -> Type #

Read ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Show ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

NFData ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Methods

rnf :: ListOperations -> () #

Eq ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Hashable ListOperations Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

type AWSResponse 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" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "ListOperations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OperationFilter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

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.

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

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.

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
Generic ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

Read ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Show ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

NFData ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

Methods

rnf :: ListOperationsResponse -> () #

Eq ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

type Rep ListOperationsResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.ListOperations

type Rep ListOperationsResponse = D1 ('MetaData "ListOperationsResponse" "Amazonka.Route53AutoNaming.ListOperations" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" '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:

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.