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 |
Updates a connector definition.
Synopsis
- data UpdateConnectorDefinition = UpdateConnectorDefinition' {}
- newUpdateConnectorDefinition :: Text -> UpdateConnectorDefinition
- updateConnectorDefinition_name :: Lens' UpdateConnectorDefinition (Maybe Text)
- updateConnectorDefinition_connectorDefinitionId :: Lens' UpdateConnectorDefinition Text
- data UpdateConnectorDefinitionResponse = UpdateConnectorDefinitionResponse' {
- httpStatus :: Int
- newUpdateConnectorDefinitionResponse :: Int -> UpdateConnectorDefinitionResponse
- updateConnectorDefinitionResponse_httpStatus :: Lens' UpdateConnectorDefinitionResponse Int
Creating a Request
data UpdateConnectorDefinition Source #
See: newUpdateConnectorDefinition
smart constructor.
UpdateConnectorDefinition' | |
|
Instances
newUpdateConnectorDefinition Source #
Create a value of UpdateConnectorDefinition
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:name:UpdateConnectorDefinition'
, updateConnectorDefinition_name
- The name of the definition.
$sel:connectorDefinitionId:UpdateConnectorDefinition'
, updateConnectorDefinition_connectorDefinitionId
- The ID of the connector definition.
Request Lenses
updateConnectorDefinition_name :: Lens' UpdateConnectorDefinition (Maybe Text) Source #
The name of the definition.
updateConnectorDefinition_connectorDefinitionId :: Lens' UpdateConnectorDefinition Text Source #
The ID of the connector definition.
Destructuring the Response
data UpdateConnectorDefinitionResponse Source #
See: newUpdateConnectorDefinitionResponse
smart constructor.
UpdateConnectorDefinitionResponse' | |
|
Instances
Eq UpdateConnectorDefinitionResponse Source # | |
Read UpdateConnectorDefinitionResponse Source # | |
Show UpdateConnectorDefinitionResponse Source # | |
Generic UpdateConnectorDefinitionResponse Source # | |
NFData UpdateConnectorDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateConnectorDefinition rnf :: UpdateConnectorDefinitionResponse -> () # | |
type Rep UpdateConnectorDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateConnectorDefinition type Rep UpdateConnectorDefinitionResponse = D1 ('MetaData "UpdateConnectorDefinitionResponse" "Amazonka.Greengrass.UpdateConnectorDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "UpdateConnectorDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateConnectorDefinitionResponse Source #
Create a value of UpdateConnectorDefinitionResponse
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:httpStatus:UpdateConnectorDefinitionResponse'
, updateConnectorDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
updateConnectorDefinitionResponse_httpStatus :: Lens' UpdateConnectorDefinitionResponse Int Source #
The response's http status code.