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 |
Get the code binding source URI.
Synopsis
- data GetCodeBindingSource = GetCodeBindingSource' {
- schemaVersion :: Maybe Text
- registryName :: Text
- schemaName :: Text
- language :: Text
- newGetCodeBindingSource :: Text -> Text -> Text -> GetCodeBindingSource
- getCodeBindingSource_schemaVersion :: Lens' GetCodeBindingSource (Maybe Text)
- getCodeBindingSource_registryName :: Lens' GetCodeBindingSource Text
- getCodeBindingSource_schemaName :: Lens' GetCodeBindingSource Text
- getCodeBindingSource_language :: Lens' GetCodeBindingSource Text
- data GetCodeBindingSourceResponse = GetCodeBindingSourceResponse' {
- body :: Maybe ByteString
- httpStatus :: Int
- newGetCodeBindingSourceResponse :: Int -> GetCodeBindingSourceResponse
- getCodeBindingSourceResponse_body :: Lens' GetCodeBindingSourceResponse (Maybe ByteString)
- getCodeBindingSourceResponse_httpStatus :: Lens' GetCodeBindingSourceResponse Int
Creating a Request
data GetCodeBindingSource Source #
See: newGetCodeBindingSource
smart constructor.
GetCodeBindingSource' | |
|
Instances
newGetCodeBindingSource Source #
:: Text | |
-> Text | |
-> Text | |
-> GetCodeBindingSource |
Create a value of GetCodeBindingSource
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:GetCodeBindingSource'
, getCodeBindingSource_schemaVersion
- Specifying this limits the results to only this schema version.
$sel:registryName:GetCodeBindingSource'
, getCodeBindingSource_registryName
- The name of the registry.
$sel:schemaName:GetCodeBindingSource'
, getCodeBindingSource_schemaName
- The name of the schema.
$sel:language:GetCodeBindingSource'
, getCodeBindingSource_language
- The language of the code binding.
Request Lenses
getCodeBindingSource_schemaVersion :: Lens' GetCodeBindingSource (Maybe Text) Source #
Specifying this limits the results to only this schema version.
getCodeBindingSource_registryName :: Lens' GetCodeBindingSource Text Source #
The name of the registry.
getCodeBindingSource_schemaName :: Lens' GetCodeBindingSource Text Source #
The name of the schema.
getCodeBindingSource_language :: Lens' GetCodeBindingSource Text Source #
The language of the code binding.
Destructuring the Response
data GetCodeBindingSourceResponse Source #
See: newGetCodeBindingSourceResponse
smart constructor.
GetCodeBindingSourceResponse' | |
|
Instances
newGetCodeBindingSourceResponse Source #
Create a value of GetCodeBindingSourceResponse
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:body:GetCodeBindingSourceResponse'
, getCodeBindingSourceResponse_body
- Undocumented member.
$sel:httpStatus:GetCodeBindingSourceResponse'
, getCodeBindingSourceResponse_httpStatus
- The response's http status code.
Response Lenses
getCodeBindingSourceResponse_body :: Lens' GetCodeBindingSourceResponse (Maybe ByteString) Source #
Undocumented member.
getCodeBindingSourceResponse_httpStatus :: Lens' GetCodeBindingSourceResponse Int Source #
The response's http status code.