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 |
Lists the RestApi resource in the collection.
- getRestAPI :: Text -> GetRestAPI
- data GetRestAPI
- graRestAPIId :: Lens' GetRestAPI Text
- restAPI :: RestAPI
- data RestAPI
- raWarnings :: Lens' RestAPI [Text]
- raCreatedDate :: Lens' RestAPI (Maybe UTCTime)
- raName :: Lens' RestAPI (Maybe Text)
- raId :: Lens' RestAPI (Maybe Text)
- raDescription :: Lens' RestAPI (Maybe Text)
Creating a Request
Creates a value of GetRestAPI
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetRestAPI Source #
The GET request to list an existing RestApi defined for your collection.
See: getRestAPI
smart constructor.
Request Lenses
graRestAPIId :: Lens' GetRestAPI Text Source #
The identifier of the RestApi resource.
Destructuring the Response
Creates a value of RestAPI
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Represents a REST API.
See: restAPI
smart constructor.
Response Lenses
raCreatedDate :: Lens' RestAPI (Maybe UTCTime) Source #
The date when the API was created, in ISO 8601 format.