| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Schemas.PutCodeBinding
Description
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_creationDate :: Lens' PutCodeBindingResponse (Maybe UTCTime)
- putCodeBindingResponse_lastModified :: Lens' PutCodeBindingResponse (Maybe UTCTime)
- putCodeBindingResponse_schemaVersion :: Lens' PutCodeBindingResponse (Maybe Text)
- putCodeBindingResponse_status :: Lens' PutCodeBindingResponse (Maybe CodeGenerationStatus)
- putCodeBindingResponse_httpStatus :: Lens' PutCodeBindingResponse Int
Creating a Request
data PutCodeBinding Source #
See: newPutCodeBinding smart constructor.
Constructors
| PutCodeBinding' | |
Fields
| |
Instances
Arguments
| :: 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:
PutCodeBinding, putCodeBinding_schemaVersion - Specifying this limits the results to only this schema version.
PutCodeBinding, putCodeBinding_registryName - The name of the registry.
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.
Constructors
| PutCodeBindingResponse' | |
Fields
| |
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:creationDate:PutCodeBindingResponse', putCodeBindingResponse_creationDate - The time and date that the code binding was created.
PutCodeBindingResponse, putCodeBindingResponse_lastModified - The date and time that code bindings were modified.
PutCodeBinding, putCodeBindingResponse_schemaVersion - The version number of the schema.
$sel:status:PutCodeBindingResponse', putCodeBindingResponse_status - The current status of code binding generation.
$sel:httpStatus:PutCodeBindingResponse', putCodeBindingResponse_httpStatus - The response's http status code.
Response Lenses
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_schemaVersion :: Lens' PutCodeBindingResponse (Maybe Text) Source #
The version number of the schema.
putCodeBindingResponse_status :: Lens' PutCodeBindingResponse (Maybe CodeGenerationStatus) Source #
The current status of code binding generation.
putCodeBindingResponse_httpStatus :: Lens' PutCodeBindingResponse Int Source #
The response's http status code.