libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.SearchAddressBooks

Description

Searches address books and lists the ones that meet a set of filter and sort criteria.

Synopsis

Creating a Request

data SearchAddressBooks Source #

See: newSearchAddressBooks smart constructor.

Constructors

SearchAddressBooks' 

Fields

  • filters :: Maybe [Filter]

    The filters to use to list a specified set of address books. The supported filter key is AddressBookName.

  • sortCriteria :: Maybe [Sort]

    The sort order to use in listing the specified set of address books. The supported sort key is AddressBookName.

  • nextToken :: Maybe Text

    An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

  • maxResults :: Maybe Natural

    The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Instances

Instances details
Eq SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Read SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Show SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Generic SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Associated Types

type Rep SearchAddressBooks :: Type -> Type #

NFData SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Methods

rnf :: SearchAddressBooks -> () #

Hashable SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

ToJSON SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

AWSRequest SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Associated Types

type AWSResponse SearchAddressBooks #

ToHeaders SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

ToPath SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

ToQuery SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

type Rep SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

type Rep SearchAddressBooks = D1 ('MetaData "SearchAddressBooks" "Amazonka.AlexaBusiness.SearchAddressBooks" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "SearchAddressBooks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "sortCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sort]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse SearchAddressBooks Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

newSearchAddressBooks :: SearchAddressBooks Source #

Create a value of SearchAddressBooks 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:SearchAddressBooks', searchAddressBooks_filters - The filters to use to list a specified set of address books. The supported filter key is AddressBookName.

$sel:sortCriteria:SearchAddressBooks', searchAddressBooks_sortCriteria - The sort order to use in listing the specified set of address books. The supported sort key is AddressBookName.

$sel:nextToken:SearchAddressBooks', searchAddressBooks_nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

$sel:maxResults:SearchAddressBooks', searchAddressBooks_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Request Lenses

searchAddressBooks_filters :: Lens' SearchAddressBooks (Maybe [Filter]) Source #

The filters to use to list a specified set of address books. The supported filter key is AddressBookName.

searchAddressBooks_sortCriteria :: Lens' SearchAddressBooks (Maybe [Sort]) Source #

The sort order to use in listing the specified set of address books. The supported sort key is AddressBookName.

searchAddressBooks_nextToken :: Lens' SearchAddressBooks (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

searchAddressBooks_maxResults :: Lens' SearchAddressBooks (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Destructuring the Response

data SearchAddressBooksResponse Source #

See: newSearchAddressBooksResponse smart constructor.

Constructors

SearchAddressBooksResponse' 

Fields

Instances

Instances details
Eq SearchAddressBooksResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Read SearchAddressBooksResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Show SearchAddressBooksResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Generic SearchAddressBooksResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

Associated Types

type Rep SearchAddressBooksResponse :: Type -> Type #

NFData SearchAddressBooksResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

type Rep SearchAddressBooksResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.SearchAddressBooks

type Rep SearchAddressBooksResponse = D1 ('MetaData "SearchAddressBooksResponse" "Amazonka.AlexaBusiness.SearchAddressBooks" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "SearchAddressBooksResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "addressBooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AddressBookData]))) :*: (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchAddressBooksResponse Source #

Create a value of SearchAddressBooksResponse 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:SearchAddressBooks', searchAddressBooksResponse_nextToken - The token returned to indicate that there is more data available.

$sel:addressBooks:SearchAddressBooksResponse', searchAddressBooksResponse_addressBooks - The address books that meet the specified set of filter criteria, in sort order.

$sel:totalCount:SearchAddressBooksResponse', searchAddressBooksResponse_totalCount - The total number of address books returned.

$sel:httpStatus:SearchAddressBooksResponse', searchAddressBooksResponse_httpStatus - The response's http status code.

Response Lenses

searchAddressBooksResponse_nextToken :: Lens' SearchAddressBooksResponse (Maybe Text) Source #

The token returned to indicate that there is more data available.

searchAddressBooksResponse_addressBooks :: Lens' SearchAddressBooksResponse (Maybe [AddressBookData]) Source #

The address books that meet the specified set of filter criteria, in sort order.