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 |
- - | Undocumented operation.
This operation returns paginated results.
Synopsis
- data GetDocumentationVersions = GetDocumentationVersions' {}
- newGetDocumentationVersions :: Text -> GetDocumentationVersions
- getDocumentationVersions_limit :: Lens' GetDocumentationVersions (Maybe Int)
- getDocumentationVersions_position :: Lens' GetDocumentationVersions (Maybe Text)
- getDocumentationVersions_restApiId :: Lens' GetDocumentationVersions Text
- data GetDocumentationVersionsResponse = GetDocumentationVersionsResponse' {
- items :: Maybe [DocumentationVersion]
- position :: Maybe Text
- httpStatus :: Int
- newGetDocumentationVersionsResponse :: Int -> GetDocumentationVersionsResponse
- getDocumentationVersionsResponse_items :: Lens' GetDocumentationVersionsResponse (Maybe [DocumentationVersion])
- getDocumentationVersionsResponse_position :: Lens' GetDocumentationVersionsResponse (Maybe Text)
- getDocumentationVersionsResponse_httpStatus :: Lens' GetDocumentationVersionsResponse Int
Creating a Request
data GetDocumentationVersions Source #
Gets the documentation versions of an API.
See: newGetDocumentationVersions
smart constructor.
Instances
newGetDocumentationVersions Source #
Create a value of GetDocumentationVersions
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:limit:GetDocumentationVersions'
, getDocumentationVersions_limit
- The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
$sel:position:GetDocumentationVersions'
, getDocumentationVersions_position
- The current pagination position in the paged result set.
$sel:restApiId:GetDocumentationVersions'
, getDocumentationVersions_restApiId
- [Required] The string identifier of the associated RestApi.
Request Lenses
getDocumentationVersions_limit :: Lens' GetDocumentationVersions (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getDocumentationVersions_position :: Lens' GetDocumentationVersions (Maybe Text) Source #
The current pagination position in the paged result set.
getDocumentationVersions_restApiId :: Lens' GetDocumentationVersions Text Source #
- Required
- The string identifier of the associated RestApi.
Destructuring the Response
data GetDocumentationVersionsResponse Source #
The collection of documentation snapshots of an API.
Use the DocumentationVersions to manage documentation snapshots associated with various API stages.
Documenting an API, DocumentationPart, DocumentationVersion
See: newGetDocumentationVersionsResponse
smart constructor.
GetDocumentationVersionsResponse' | |
|
Instances
newGetDocumentationVersionsResponse Source #
Create a value of GetDocumentationVersionsResponse
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:GetDocumentationVersionsResponse'
, getDocumentationVersionsResponse_items
- The current page of elements from this collection.
$sel:position:GetDocumentationVersions'
, getDocumentationVersionsResponse_position
- Undocumented member.
$sel:httpStatus:GetDocumentationVersionsResponse'
, getDocumentationVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
getDocumentationVersionsResponse_items :: Lens' GetDocumentationVersionsResponse (Maybe [DocumentationVersion]) Source #
The current page of elements from this collection.
getDocumentationVersionsResponse_position :: Lens' GetDocumentationVersionsResponse (Maybe Text) Source #
Undocumented member.
getDocumentationVersionsResponse_httpStatus :: Lens' GetDocumentationVersionsResponse Int Source #
The response's http status code.