| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.SearchProvisionedProducts
Description
Gets information about the provisioned products that meet the specified criteria.
To ensure a complete list of provisioned products and remove duplicate
products, use sort-by createdTime.
Here is a CLI example:
aws servicecatalog search-provisioned-products --sort-by createdTime
Synopsis
- data SearchProvisionedProducts = SearchProvisionedProducts' {}
- newSearchProvisionedProducts :: SearchProvisionedProducts
- searchProvisionedProducts_acceptLanguage :: Lens' SearchProvisionedProducts (Maybe Text)
- searchProvisionedProducts_accessLevelFilter :: Lens' SearchProvisionedProducts (Maybe AccessLevelFilter)
- searchProvisionedProducts_filters :: Lens' SearchProvisionedProducts (Maybe (HashMap ProvisionedProductViewFilterBy [Text]))
- searchProvisionedProducts_pageSize :: Lens' SearchProvisionedProducts (Maybe Natural)
- searchProvisionedProducts_pageToken :: Lens' SearchProvisionedProducts (Maybe Text)
- searchProvisionedProducts_sortBy :: Lens' SearchProvisionedProducts (Maybe Text)
- searchProvisionedProducts_sortOrder :: Lens' SearchProvisionedProducts (Maybe SortOrder)
- 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.
Constructors
| SearchProvisionedProducts' | |
Fields
| |
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: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: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:pageSize:SearchProvisionedProducts', searchProvisionedProducts_pageSize - The maximum number of items to return with this call.
$sel:pageToken:SearchProvisionedProducts', searchProvisionedProducts_pageToken - The page token for the next set of results. To retrieve the first set of
results, use null.
$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.
$sel:sortOrder:SearchProvisionedProducts', searchProvisionedProducts_sortOrder - The sort order. If no value is specified, the results are not sorted.
Request Lenses
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_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_pageSize :: Lens' SearchProvisionedProducts (Maybe Natural) Source #
The maximum number of items to return with this call.
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_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.
searchProvisionedProducts_sortOrder :: Lens' SearchProvisionedProducts (Maybe SortOrder) Source #
The sort order. If no value is specified, the results are not sorted.
Destructuring the Response
data SearchProvisionedProductsResponse Source #
See: newSearchProvisionedProductsResponse smart constructor.
Constructors
| SearchProvisionedProductsResponse' | |
Fields
| |
Instances
newSearchProvisionedProductsResponse Source #
Arguments
| :: Int | |
| -> SearchProvisionedProductsResponse |
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.