| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.APIGateway.GetUsagePlanKeys
Description
Gets all the usage plan keys representing the API keys added to a specified usage plan.
- getUsagePlanKeys :: Text -> GetUsagePlanKeys
- data GetUsagePlanKeys
- gupkNameQuery :: Lens' GetUsagePlanKeys (Maybe Text)
- gupkLimit :: Lens' GetUsagePlanKeys (Maybe Int)
- gupkPosition :: Lens' GetUsagePlanKeys (Maybe Text)
- gupkUsagePlanId :: Lens' GetUsagePlanKeys Text
- getUsagePlanKeysResponse :: Int -> GetUsagePlanKeysResponse
- data GetUsagePlanKeysResponse
- gupkrsItems :: Lens' GetUsagePlanKeysResponse [UsagePlanKey]
- gupkrsPosition :: Lens' GetUsagePlanKeysResponse (Maybe Text)
- gupkrsResponseStatus :: Lens' GetUsagePlanKeysResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetUsagePlanKeys |
Creates a value of GetUsagePlanKeys with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gupkNameQuery- A query parameter specifying the name of the to-be-returned usage plan keys.gupkLimit- A query parameter specifying the maximum number usage plan keys returned by the GET request.gupkPosition- A query parameter specifying the zero-based index specifying the position of a usage plan key.gupkUsagePlanId- The Id of theUsagePlanresource representing the usage plan containing the to-be-retrievedUsagePlanKeyresource representing a plan customer.
data GetUsagePlanKeys #
The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.
See: getUsagePlanKeys smart constructor.
Instances
Request Lenses
gupkNameQuery :: Lens' GetUsagePlanKeys (Maybe Text) #
A query parameter specifying the name of the to-be-returned usage plan keys.
gupkLimit :: Lens' GetUsagePlanKeys (Maybe Int) #
A query parameter specifying the maximum number usage plan keys returned by the GET request.
gupkPosition :: Lens' GetUsagePlanKeys (Maybe Text) #
A query parameter specifying the zero-based index specifying the position of a usage plan key.
gupkUsagePlanId :: Lens' GetUsagePlanKeys Text #
The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
Destructuring the Response
Arguments
| :: Int | |
| -> GetUsagePlanKeysResponse |
Creates a value of GetUsagePlanKeysResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gupkrsItems- Gets the current item of the usage plan keys collection.gupkrsPosition- Undocumented member.gupkrsResponseStatus- -- | The response status code.
data GetUsagePlanKeysResponse #
Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.
See: getUsagePlanKeysResponse smart constructor.
Response Lenses
gupkrsItems :: Lens' GetUsagePlanKeysResponse [UsagePlanKey] #
Gets the current item of the usage plan keys collection.
gupkrsPosition :: Lens' GetUsagePlanKeysResponse (Maybe Text) #
Undocumented member.
gupkrsResponseStatus :: Lens' GetUsagePlanKeysResponse Int #
- - | The response status code.