Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets information about the provisioned products that meet the specified criteria.
Synopsis
- data SearchProvisionedProducts = SearchProvisionedProducts' {}
- newSearchProvisionedProducts :: SearchProvisionedProducts
- searchProvisionedProducts_filters :: Lens' SearchProvisionedProducts (Maybe (HashMap ProvisionedProductViewFilterBy [Text]))
- searchProvisionedProducts_sortOrder :: Lens' SearchProvisionedProducts (Maybe SortOrder)
- searchProvisionedProducts_acceptLanguage :: Lens' SearchProvisionedProducts (Maybe Text)
- searchProvisionedProducts_accessLevelFilter :: Lens' SearchProvisionedProducts (Maybe AccessLevelFilter)
- searchProvisionedProducts_pageToken :: Lens' SearchProvisionedProducts (Maybe Text)
- searchProvisionedProducts_pageSize :: Lens' SearchProvisionedProducts (Maybe Natural)
- searchProvisionedProducts_sortBy :: Lens' SearchProvisionedProducts (Maybe Text)
- data SearchProvisionedProductsResponse = SearchProvisionedProductsResponse' {}
- newSearchProvisionedProductsResponse :: Int -> SearchProvisionedProductsResponse
- searchProvisionedProductsResponse_nextPageToken :: Lens' SearchProvisionedProductsResponse (Maybe Text)
- searchProvisionedProductsResponse_provisionedProducts :: Lens' SearchProvisionedProductsResponse (Maybe [ProvisionedProductAttribute])
- searchProvisionedProductsResponse_totalResultsCount :: Lens' SearchProvisionedProductsResponse (Maybe Int)
- searchProvisionedProductsResponse_httpStatus :: Lens' SearchProvisionedProductsResponse Int
Creating a Request
data SearchProvisionedProducts Source #
See: newSearchProvisionedProducts
smart constructor.
SearchProvisionedProducts' | |
|
Instances
newSearchProvisionedProducts :: SearchProvisionedProducts Source #
Create a value of SearchProvisionedProducts
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:SearchProvisionedProducts'
, searchProvisionedProducts_filters
- The search filters.
When the key is SearchQuery
, the searchable fields are arn
,
createdTime
, id
, lastRecordId
, idempotencyToken
, name
,
physicalId
, productId
, provisioningArtifact
, type
, status
,
tags
, userArn
, userArnSession
, lastProvisioningRecordId
,
lastSuccessfulProvisioningRecordId
, productName
, and
provisioningArtifactName
.
Example: "SearchQuery":["status:AVAILABLE"]
$sel:sortOrder:SearchProvisionedProducts'
, searchProvisionedProducts_sortOrder
- The sort order. If no value is specified, the results are not sorted.
$sel:acceptLanguage:SearchProvisionedProducts'
, searchProvisionedProducts_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:accessLevelFilter:SearchProvisionedProducts'
, searchProvisionedProducts_accessLevelFilter
- The access level to use to obtain results. The default is User
.
$sel:pageToken:SearchProvisionedProducts'
, searchProvisionedProducts_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:SearchProvisionedProducts'
, searchProvisionedProducts_pageSize
- The maximum number of items to return with this call.
$sel:sortBy:SearchProvisionedProducts'
, searchProvisionedProducts_sortBy
- The sort field. If no value is specified, the results are not sorted.
The valid values are arn
, id
, name
, and lastRecordId
.
Request Lenses
searchProvisionedProducts_filters :: Lens' SearchProvisionedProducts (Maybe (HashMap ProvisionedProductViewFilterBy [Text])) Source #
The search filters.
When the key is SearchQuery
, the searchable fields are arn
,
createdTime
, id
, lastRecordId
, idempotencyToken
, name
,
physicalId
, productId
, provisioningArtifact
, type
, status
,
tags
, userArn
, userArnSession
, lastProvisioningRecordId
,
lastSuccessfulProvisioningRecordId
, productName
, and
provisioningArtifactName
.
Example: "SearchQuery":["status:AVAILABLE"]
searchProvisionedProducts_sortOrder :: Lens' SearchProvisionedProducts (Maybe SortOrder) Source #
The sort order. If no value is specified, the results are not sorted.
searchProvisionedProducts_acceptLanguage :: Lens' SearchProvisionedProducts (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
searchProvisionedProducts_accessLevelFilter :: Lens' SearchProvisionedProducts (Maybe AccessLevelFilter) Source #
The access level to use to obtain results. The default is User
.
searchProvisionedProducts_pageToken :: Lens' SearchProvisionedProducts (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
searchProvisionedProducts_pageSize :: Lens' SearchProvisionedProducts (Maybe Natural) Source #
The maximum number of items to return with this call.
searchProvisionedProducts_sortBy :: Lens' SearchProvisionedProducts (Maybe Text) Source #
The sort field. If no value is specified, the results are not sorted.
The valid values are arn
, id
, name
, and lastRecordId
.
Destructuring the Response
data SearchProvisionedProductsResponse Source #
See: newSearchProvisionedProductsResponse
smart constructor.
SearchProvisionedProductsResponse' | |
|
Instances
newSearchProvisionedProductsResponse Source #
Create a value of SearchProvisionedProductsResponse
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:nextPageToken:SearchProvisionedProductsResponse'
, searchProvisionedProductsResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:provisionedProducts:SearchProvisionedProductsResponse'
, searchProvisionedProductsResponse_provisionedProducts
- Information about the provisioned products.
$sel:totalResultsCount:SearchProvisionedProductsResponse'
, searchProvisionedProductsResponse_totalResultsCount
- The number of provisioned products found.
$sel:httpStatus:SearchProvisionedProductsResponse'
, searchProvisionedProductsResponse_httpStatus
- The response's http status code.
Response Lenses
searchProvisionedProductsResponse_nextPageToken :: Lens' SearchProvisionedProductsResponse (Maybe Text) Source #
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
searchProvisionedProductsResponse_provisionedProducts :: Lens' SearchProvisionedProductsResponse (Maybe [ProvisionedProductAttribute]) Source #
Information about the provisioned products.
searchProvisionedProductsResponse_totalResultsCount :: Lens' SearchProvisionedProductsResponse (Maybe Int) Source #
The number of provisioned products found.
searchProvisionedProductsResponse_httpStatus :: Lens' SearchProvisionedProductsResponse Int Source #
The response's http status code.