| 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.APIGateway.GetUsagePlanKeys
Description
Gets all the usage plan keys representing the API keys added to a specified usage plan.
This operation returns paginated results.
Synopsis
- data GetUsagePlanKeys = GetUsagePlanKeys' {}
- newGetUsagePlanKeys :: Text -> GetUsagePlanKeys
- getUsagePlanKeys_limit :: Lens' GetUsagePlanKeys (Maybe Int)
- getUsagePlanKeys_nameQuery :: Lens' GetUsagePlanKeys (Maybe Text)
- getUsagePlanKeys_position :: Lens' GetUsagePlanKeys (Maybe Text)
- getUsagePlanKeys_usagePlanId :: Lens' GetUsagePlanKeys Text
- data GetUsagePlanKeysResponse = GetUsagePlanKeysResponse' {
- items :: Maybe [UsagePlanKey]
- position :: Maybe Text
- httpStatus :: Int
- newGetUsagePlanKeysResponse :: Int -> GetUsagePlanKeysResponse
- getUsagePlanKeysResponse_items :: Lens' GetUsagePlanKeysResponse (Maybe [UsagePlanKey])
- getUsagePlanKeysResponse_position :: Lens' GetUsagePlanKeysResponse (Maybe Text)
- getUsagePlanKeysResponse_httpStatus :: Lens' GetUsagePlanKeysResponse Int
Creating a Request
data GetUsagePlanKeys Source #
The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.
See: newGetUsagePlanKeys smart constructor.
Constructors
| GetUsagePlanKeys' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetUsagePlanKeys |
Create a value of GetUsagePlanKeys 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:
GetUsagePlanKeys, getUsagePlanKeys_limit - The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
$sel:nameQuery:GetUsagePlanKeys', getUsagePlanKeys_nameQuery - A query parameter specifying the name of the to-be-returned usage plan
keys.
GetUsagePlanKeys, getUsagePlanKeys_position - The current pagination position in the paged result set.
GetUsagePlanKeys, getUsagePlanKeys_usagePlanId - The Id of the UsagePlan resource representing the usage plan containing
the to-be-retrieved UsagePlanKey resource representing a plan customer.
Request Lenses
getUsagePlanKeys_limit :: Lens' GetUsagePlanKeys (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getUsagePlanKeys_nameQuery :: Lens' GetUsagePlanKeys (Maybe Text) Source #
A query parameter specifying the name of the to-be-returned usage plan keys.
getUsagePlanKeys_position :: Lens' GetUsagePlanKeys (Maybe Text) Source #
The current pagination position in the paged result set.
getUsagePlanKeys_usagePlanId :: Lens' GetUsagePlanKeys Text Source #
The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
Destructuring the Response
data GetUsagePlanKeysResponse Source #
Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
See: newGetUsagePlanKeysResponse smart constructor.
Constructors
| GetUsagePlanKeysResponse' | |
Fields
| |
Instances
newGetUsagePlanKeysResponse Source #
Create a value of GetUsagePlanKeysResponse 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:
GetUsagePlanKeysResponse, getUsagePlanKeysResponse_items - The current page of elements from this collection.
GetUsagePlanKeys, getUsagePlanKeysResponse_position - Undocumented member.
$sel:httpStatus:GetUsagePlanKeysResponse', getUsagePlanKeysResponse_httpStatus - The response's http status code.
Response Lenses
getUsagePlanKeysResponse_items :: Lens' GetUsagePlanKeysResponse (Maybe [UsagePlanKey]) Source #
The current page of elements from this collection.
getUsagePlanKeysResponse_position :: Lens' GetUsagePlanKeysResponse (Maybe Text) Source #
Undocumented member.
getUsagePlanKeysResponse_httpStatus :: Lens' GetUsagePlanKeysResponse Int Source #
The response's http status code.