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 |
Synopsis
- data Connector = Connector' {
- parameters :: Maybe (HashMap Text Text)
- connectorArn :: Text
- id :: Text
- newConnector :: Text -> Text -> Connector
- connector_parameters :: Lens' Connector (Maybe (HashMap Text Text))
- connector_connectorArn :: Lens' Connector Text
- connector_id :: Lens' Connector Text
Documentation
Information about a connector. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
See: newConnector
smart constructor.
Connector' | |
|
Instances
Eq Connector Source # | |
Read Connector Source # | |
Show Connector Source # | |
Generic Connector Source # | |
NFData Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector | |
Hashable Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector | |
ToJSON Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector | |
FromJSON Connector Source # | |
type Rep Connector Source # | |
Defined in Amazonka.Greengrass.Types.Connector type Rep Connector = D1 ('MetaData "Connector" "Amazonka.Greengrass.Types.Connector" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Connector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "connectorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Connector
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:parameters:Connector'
, connector_parameters
- The parameters or configuration that the connector uses.
$sel:connectorArn:Connector'
, connector_connectorArn
- The ARN of the connector.
$sel:id:Connector'
, connector_id
- A descriptive or arbitrary ID for the connector. This value must be
unique within the connector definition version. Max length is 128
characters with pattern [a-zA-Z0-9:_-]+.