describe_packages
¶
describe_packages(
*,
config_overrides: Optional[OpenSearchClientConfig] = None,
filters: Optional[DescribePackagesFilterList] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribePackagesResponse
Describes all packages available to OpenSearch Service. For more information, see Custom packages for Amazon OpenSearch Service.
Parameters:
-
filters(Optional[DescribePackagesFilterList], default:None) –Only returns packages that match the
DescribePackagesFilterListvalues. -
max_results(Optional[MaxResults], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. -
next_token(Optional[NextToken], default:None) –If your initial
DescribePackageFiltersoperation returns anextToken, you can include the returnednextTokenin subsequentDescribePackageFiltersoperations, which returns results in the next page.
Raises:
-
AccessDeniedException–An error occurred because you don't have permissions to access the resource.
-
BaseException–An error occurred while processing the request.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.