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