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 |
Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
Synopsis
- data DescribePackages = DescribePackages' {}
- newDescribePackages :: DescribePackages
- describePackages_filters :: Lens' DescribePackages (Maybe [DescribePackagesFilter])
- describePackages_nextToken :: Lens' DescribePackages (Maybe Text)
- describePackages_maxResults :: Lens' DescribePackages (Maybe Int)
- data DescribePackagesResponse = DescribePackagesResponse' {}
- newDescribePackagesResponse :: Int -> DescribePackagesResponse
- describePackagesResponse_packageDetailsList :: Lens' DescribePackagesResponse (Maybe [PackageDetails])
- describePackagesResponse_nextToken :: Lens' DescribePackagesResponse (Maybe Text)
- describePackagesResponse_httpStatus :: Lens' DescribePackagesResponse Int
Creating a Request
data DescribePackages Source #
Container for request parameters to DescribePackage
operation.
See: newDescribePackages
smart constructor.
DescribePackages' | |
|
Instances
newDescribePackages :: DescribePackages Source #
Create a value of DescribePackages
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:DescribePackages'
, describePackages_filters
- Only returns packages that match the DescribePackagesFilterList
values.
$sel:nextToken:DescribePackages'
, describePackages_nextToken
- Used for pagination. Only necessary if a previous API call includes a
non-null NextToken value. If provided, returns results for the next
page.
$sel:maxResults:DescribePackages'
, describePackages_maxResults
- Limits results to a maximum number of packages.
Request Lenses
describePackages_filters :: Lens' DescribePackages (Maybe [DescribePackagesFilter]) Source #
Only returns packages that match the DescribePackagesFilterList
values.
describePackages_nextToken :: Lens' DescribePackages (Maybe Text) Source #
Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
describePackages_maxResults :: Lens' DescribePackages (Maybe Int) Source #
Limits results to a maximum number of packages.
Destructuring the Response
data DescribePackagesResponse Source #
Container for response returned by DescribePackages
operation.
See: newDescribePackagesResponse
smart constructor.
DescribePackagesResponse' | |
|
Instances
newDescribePackagesResponse Source #
Create a value of DescribePackagesResponse
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:packageDetailsList:DescribePackagesResponse'
, describePackagesResponse_packageDetailsList
- List of PackageDetails
objects.
$sel:nextToken:DescribePackages'
, describePackagesResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribePackagesResponse'
, describePackagesResponse_httpStatus
- The response's http status code.
Response Lenses
describePackagesResponse_packageDetailsList :: Lens' DescribePackagesResponse (Maybe [PackageDetails]) Source #
List of PackageDetails
objects.
describePackagesResponse_nextToken :: Lens' DescribePackagesResponse (Maybe Text) Source #
Undocumented member.
describePackagesResponse_httpStatus :: Lens' DescribePackagesResponse Int Source #
The response's http status code.