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 |
Put code binding URI
Synopsis
- data PutCodeBinding = PutCodeBinding' {
- schemaVersion :: Maybe Text
- registryName :: Text
- schemaName :: Text
- language :: Text
- newPutCodeBinding :: Text -> Text -> Text -> PutCodeBinding
- putCodeBinding_schemaVersion :: Lens' PutCodeBinding (Maybe Text)
- putCodeBinding_registryName :: Lens' PutCodeBinding Text
- putCodeBinding_schemaName :: Lens' PutCodeBinding Text
- putCodeBinding_language :: Lens' PutCodeBinding Text
- data PutCodeBindingResponse = PutCodeBindingResponse' {}
- newPutCodeBindingResponse :: Int -> PutCodeBindingResponse
- putCodeBindingResponse_status :: Lens' PutCodeBindingResponse (Maybe CodeGenerationStatus)
- putCodeBindingResponse_schemaVersion :: Lens' PutCodeBindingResponse (Maybe Text)
- putCodeBindingResponse_creationDate :: Lens' PutCodeBindingResponse (Maybe UTCTime)
- putCodeBindingResponse_lastModified :: Lens' PutCodeBindingResponse (Maybe UTCTime)
- putCodeBindingResponse_httpStatus :: Lens' PutCodeBindingResponse Int
Creating a Request
data PutCodeBinding Source #
See: newPutCodeBinding
smart constructor.
PutCodeBinding' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> PutCodeBinding |
Create a value of PutCodeBinding
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:schemaVersion:PutCodeBinding'
, putCodeBinding_schemaVersion
- Specifying this limits the results to only this schema version.
$sel:registryName:PutCodeBinding'
, putCodeBinding_registryName
- The name of the registry.
$sel:schemaName:PutCodeBinding'
, putCodeBinding_schemaName
- The name of the schema.
$sel:language:PutCodeBinding'
, putCodeBinding_language
- The language of the code binding.
Request Lenses
putCodeBinding_schemaVersion :: Lens' PutCodeBinding (Maybe Text) Source #
Specifying this limits the results to only this schema version.
putCodeBinding_registryName :: Lens' PutCodeBinding Text Source #
The name of the registry.
putCodeBinding_schemaName :: Lens' PutCodeBinding Text Source #
The name of the schema.
putCodeBinding_language :: Lens' PutCodeBinding Text Source #
The language of the code binding.
Destructuring the Response
data PutCodeBindingResponse Source #
See: newPutCodeBindingResponse
smart constructor.
PutCodeBindingResponse' | |
|
Instances
newPutCodeBindingResponse Source #
Create a value of PutCodeBindingResponse
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:status:PutCodeBindingResponse'
, putCodeBindingResponse_status
- The current status of code binding generation.
$sel:schemaVersion:PutCodeBinding'
, putCodeBindingResponse_schemaVersion
- The version number of the schema.
$sel:creationDate:PutCodeBindingResponse'
, putCodeBindingResponse_creationDate
- The time and date that the code binding was created.
$sel:lastModified:PutCodeBindingResponse'
, putCodeBindingResponse_lastModified
- The date and time that code bindings were modified.
$sel:httpStatus:PutCodeBindingResponse'
, putCodeBindingResponse_httpStatus
- The response's http status code.
Response Lenses
putCodeBindingResponse_status :: Lens' PutCodeBindingResponse (Maybe CodeGenerationStatus) Source #
The current status of code binding generation.
putCodeBindingResponse_schemaVersion :: Lens' PutCodeBindingResponse (Maybe Text) Source #
The version number of the schema.
putCodeBindingResponse_creationDate :: Lens' PutCodeBindingResponse (Maybe UTCTime) Source #
The time and date that the code binding was created.
putCodeBindingResponse_lastModified :: Lens' PutCodeBindingResponse (Maybe UTCTime) Source #
The date and time that code bindings were modified.
putCodeBindingResponse_httpStatus :: Lens' PutCodeBindingResponse Int Source #
The response's http status code.