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.GetDocumentationParts
Description
Undocumented operation.
- getDocumentationParts :: Text -> GetDocumentationParts
- data GetDocumentationParts
- gdpPath :: Lens' GetDocumentationParts (Maybe Text)
- gdpNameQuery :: Lens' GetDocumentationParts (Maybe Text)
- gdpLimit :: Lens' GetDocumentationParts (Maybe Int)
- gdpType :: Lens' GetDocumentationParts (Maybe DocumentationPartType)
- gdpPosition :: Lens' GetDocumentationParts (Maybe Text)
- gdpRestAPIId :: Lens' GetDocumentationParts Text
- getDocumentationPartsResponse :: Int -> GetDocumentationPartsResponse
- data GetDocumentationPartsResponse
- gdprsItems :: Lens' GetDocumentationPartsResponse [DocumentationPart]
- gdprsPosition :: Lens' GetDocumentationPartsResponse (Maybe Text)
- gdprsResponseStatus :: Lens' GetDocumentationPartsResponse Int
Creating a Request
getDocumentationParts Source #
Arguments
:: Text | |
-> GetDocumentationParts |
Creates a value of GetDocumentationParts
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdpPath
- The path of API entities of the to-be-retrieved documentation parts.gdpNameQuery
- The name of API entities of the to-be-retrieved documentation parts.gdpLimit
- The size of the paged results.gdpType
- The type of API entities of the to-be-retrieved documentation parts.gdpPosition
- The position of the to-be-retrieved documentation part in theDocumentationParts
collection.gdpRestAPIId
- [Required] The identifier of the API of the to-be-retrieved documentation parts.
data GetDocumentationParts Source #
Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).
See: getDocumentationParts
smart constructor.
Instances
Request Lenses
gdpPath :: Lens' GetDocumentationParts (Maybe Text) Source #
The path of API entities of the to-be-retrieved documentation parts.
gdpNameQuery :: Lens' GetDocumentationParts (Maybe Text) Source #
The name of API entities of the to-be-retrieved documentation parts.
gdpType :: Lens' GetDocumentationParts (Maybe DocumentationPartType) Source #
The type of API entities of the to-be-retrieved documentation parts.
gdpPosition :: Lens' GetDocumentationParts (Maybe Text) Source #
The position of the to-be-retrieved documentation part in the DocumentationParts
collection.
gdpRestAPIId :: Lens' GetDocumentationParts Text Source #
- Required
- The identifier of the API of the to-be-retrieved documentation parts.
Destructuring the Response
getDocumentationPartsResponse Source #
Arguments
:: Int | |
-> GetDocumentationPartsResponse |
Creates a value of GetDocumentationPartsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdprsItems
- The current page ofDocumentationPart
resources in theDocumentationParts
collection.gdprsPosition
- Undocumented member.gdprsResponseStatus
- -- | The response status code.
data GetDocumentationPartsResponse Source #
The collection of documentation parts of an API.
Documenting an API , DocumentationPart
See: getDocumentationPartsResponse
smart constructor.
Instances
Response Lenses
gdprsItems :: Lens' GetDocumentationPartsResponse [DocumentationPart] Source #
The current page of DocumentationPart
resources in the DocumentationParts
collection.
gdprsPosition :: Lens' GetDocumentationPartsResponse (Maybe Text) Source #
Undocumented member.
gdprsResponseStatus :: Lens' GetDocumentationPartsResponse Int Source #
- - | The response status code.