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 |
Changes information about the specified API.
- updateRestAPI :: Text -> UpdateRestAPI
- data UpdateRestAPI
- uraPatchOperations :: Lens' UpdateRestAPI [PatchOperation]
- uraRestAPIId :: Lens' UpdateRestAPI Text
- restAPI :: RestAPI
- data RestAPI
- 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 UpdateRestAPI
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateRestAPI Source
Request to update an existing RestApi resource in your collection.
See: updateRestAPI
smart constructor.
Request Lenses
uraPatchOperations :: Lens' UpdateRestAPI [PatchOperation] Source
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
uraRestAPIId :: Lens' UpdateRestAPI Text Source
The ID of the RestApi you want to update.
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.