| 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.GetApiKeys
Description
Gets information about the current ApiKeys resource.
This operation returns paginated results.
Synopsis
- data GetApiKeys = GetApiKeys' {}
- newGetApiKeys :: GetApiKeys
- getApiKeys_customerId :: Lens' GetApiKeys (Maybe Text)
- getApiKeys_includeValues :: Lens' GetApiKeys (Maybe Bool)
- getApiKeys_limit :: Lens' GetApiKeys (Maybe Int)
- getApiKeys_nameQuery :: Lens' GetApiKeys (Maybe Text)
- getApiKeys_position :: Lens' GetApiKeys (Maybe Text)
- data GetApiKeysResponse = GetApiKeysResponse' {}
- newGetApiKeysResponse :: Int -> GetApiKeysResponse
- getApiKeysResponse_items :: Lens' GetApiKeysResponse (Maybe [ApiKey])
- getApiKeysResponse_position :: Lens' GetApiKeysResponse (Maybe Text)
- getApiKeysResponse_warnings :: Lens' GetApiKeysResponse (Maybe [Text])
- getApiKeysResponse_httpStatus :: Lens' GetApiKeysResponse Int
Creating a Request
data GetApiKeys Source #
A request to get information about the current ApiKeys resource.
See: newGetApiKeys smart constructor.
Constructors
| GetApiKeys' | |
Fields
| |
Instances
newGetApiKeys :: GetApiKeys Source #
Create a value of GetApiKeys 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:
GetApiKeys, getApiKeys_customerId - The identifier of a customer in AWS Marketplace or an external system,
such as a developer portal.
$sel:includeValues:GetApiKeys', getApiKeys_includeValues - A boolean flag to specify whether (true) or not (false) the result
contains key values.
GetApiKeys, getApiKeys_limit - The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
$sel:nameQuery:GetApiKeys', getApiKeys_nameQuery - The name of queried API keys.
GetApiKeys, getApiKeys_position - The current pagination position in the paged result set.
Request Lenses
getApiKeys_customerId :: Lens' GetApiKeys (Maybe Text) Source #
The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.
getApiKeys_includeValues :: Lens' GetApiKeys (Maybe Bool) Source #
A boolean flag to specify whether (true) or not (false) the result
contains key values.
getApiKeys_limit :: Lens' GetApiKeys (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getApiKeys_nameQuery :: Lens' GetApiKeys (Maybe Text) Source #
The name of queried API keys.
getApiKeys_position :: Lens' GetApiKeys (Maybe Text) Source #
The current pagination position in the paged result set.
Destructuring the Response
data GetApiKeysResponse Source #
Represents a collection of API keys as represented by an ApiKeys resource.
See: newGetApiKeysResponse smart constructor.
Constructors
| GetApiKeysResponse' | |
Instances
newGetApiKeysResponse Source #
Arguments
| :: Int | |
| -> GetApiKeysResponse |
Create a value of GetApiKeysResponse 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:
GetApiKeysResponse, getApiKeysResponse_items - The current page of elements from this collection.
GetApiKeys, getApiKeysResponse_position - Undocumented member.
GetApiKeysResponse, getApiKeysResponse_warnings - A list of warning messages logged during the import of API keys when the
failOnWarnings option is set to true.
$sel:httpStatus:GetApiKeysResponse', getApiKeysResponse_httpStatus - The response's http status code.
Response Lenses
getApiKeysResponse_items :: Lens' GetApiKeysResponse (Maybe [ApiKey]) Source #
The current page of elements from this collection.
getApiKeysResponse_position :: Lens' GetApiKeysResponse (Maybe Text) Source #
Undocumented member.
getApiKeysResponse_warnings :: Lens' GetApiKeysResponse (Maybe [Text]) Source #
A list of warning messages logged during the import of API keys when the
failOnWarnings option is set to true.
getApiKeysResponse_httpStatus :: Lens' GetApiKeysResponse Int Source #
The response's http status code.