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 |
Creates a connector using the specified properties.
Synopsis
- data CreateConnector = CreateConnector' {
- logDelivery :: Maybe LogDelivery
- workerConfiguration :: Maybe WorkerConfiguration
- connectorDescription :: Maybe Text
- capacity :: Capacity
- connectorConfiguration :: HashMap Text Text
- connectorName :: Text
- kafkaCluster :: KafkaCluster
- kafkaClusterClientAuthentication :: KafkaClusterClientAuthentication
- kafkaClusterEncryptionInTransit :: KafkaClusterEncryptionInTransit
- kafkaConnectVersion :: Text
- plugins :: [Plugin]
- serviceExecutionRoleArn :: Text
- newCreateConnector :: Capacity -> Text -> KafkaCluster -> KafkaClusterClientAuthentication -> KafkaClusterEncryptionInTransit -> Text -> Text -> CreateConnector
- createConnector_logDelivery :: Lens' CreateConnector (Maybe LogDelivery)
- createConnector_workerConfiguration :: Lens' CreateConnector (Maybe WorkerConfiguration)
- createConnector_connectorDescription :: Lens' CreateConnector (Maybe Text)
- createConnector_capacity :: Lens' CreateConnector Capacity
- createConnector_connectorConfiguration :: Lens' CreateConnector (HashMap Text Text)
- createConnector_connectorName :: Lens' CreateConnector Text
- createConnector_kafkaCluster :: Lens' CreateConnector KafkaCluster
- createConnector_kafkaClusterClientAuthentication :: Lens' CreateConnector KafkaClusterClientAuthentication
- createConnector_kafkaClusterEncryptionInTransit :: Lens' CreateConnector KafkaClusterEncryptionInTransit
- createConnector_kafkaConnectVersion :: Lens' CreateConnector Text
- createConnector_plugins :: Lens' CreateConnector [Plugin]
- createConnector_serviceExecutionRoleArn :: Lens' CreateConnector Text
- data CreateConnectorResponse = CreateConnectorResponse' {}
- newCreateConnectorResponse :: Int -> CreateConnectorResponse
- createConnectorResponse_connectorArn :: Lens' CreateConnectorResponse (Maybe Text)
- createConnectorResponse_connectorName :: Lens' CreateConnectorResponse (Maybe Text)
- createConnectorResponse_connectorState :: Lens' CreateConnectorResponse (Maybe ConnectorState)
- createConnectorResponse_httpStatus :: Lens' CreateConnectorResponse Int
Creating a Request
data CreateConnector Source #
See: newCreateConnector
smart constructor.
CreateConnector' | |
|
Instances
:: Capacity | |
-> Text | |
-> KafkaCluster | |
-> KafkaClusterClientAuthentication | |
-> KafkaClusterEncryptionInTransit | |
-> Text | |
-> Text | |
-> CreateConnector |
Create a value of CreateConnector
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:logDelivery:CreateConnector'
, createConnector_logDelivery
- Details about log delivery.
$sel:workerConfiguration:CreateConnector'
, createConnector_workerConfiguration
- Specifies which worker configuration to use with the connector.
$sel:connectorDescription:CreateConnector'
, createConnector_connectorDescription
- A summary description of the connector.
$sel:capacity:CreateConnector'
, createConnector_capacity
- Information about the capacity allocated to the connector. Exactly one
of the two properties must be specified.
$sel:connectorConfiguration:CreateConnector'
, createConnector_connectorConfiguration
- A map of keys to values that represent the configuration for the
connector.
$sel:connectorName:CreateConnector'
, createConnector_connectorName
- The name of the connector.
$sel:kafkaCluster:CreateConnector'
, createConnector_kafkaCluster
- Specifies which Apache Kafka cluster to connect to.
$sel:kafkaClusterClientAuthentication:CreateConnector'
, createConnector_kafkaClusterClientAuthentication
- Details of the client authentication used by the Apache Kafka cluster.
$sel:kafkaClusterEncryptionInTransit:CreateConnector'
, createConnector_kafkaClusterEncryptionInTransit
- Details of encryption in transit to the Apache Kafka cluster.
$sel:kafkaConnectVersion:CreateConnector'
, createConnector_kafkaConnectVersion
- The version of Kafka Connect. It has to be compatible with both the
Apache Kafka cluster's version and the plugins.
$sel:plugins:CreateConnector'
, createConnector_plugins
- Specifies which plugins to use for the connector.
$sel:serviceExecutionRoleArn:CreateConnector'
, createConnector_serviceExecutionRoleArn
- The Amazon Resource Name (ARN) of the IAM role used by the connector to
access the Amazon Web Services resources that it needs. The types of
resources depends on the logic of the connector. For example, a
connector that has Amazon S3 as a destination must have permissions that
allow it to write to the S3 destination bucket.
Request Lenses
createConnector_logDelivery :: Lens' CreateConnector (Maybe LogDelivery) Source #
Details about log delivery.
createConnector_workerConfiguration :: Lens' CreateConnector (Maybe WorkerConfiguration) Source #
Specifies which worker configuration to use with the connector.
createConnector_connectorDescription :: Lens' CreateConnector (Maybe Text) Source #
A summary description of the connector.
createConnector_capacity :: Lens' CreateConnector Capacity Source #
Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.
createConnector_connectorConfiguration :: Lens' CreateConnector (HashMap Text Text) Source #
A map of keys to values that represent the configuration for the connector.
createConnector_connectorName :: Lens' CreateConnector Text Source #
The name of the connector.
createConnector_kafkaCluster :: Lens' CreateConnector KafkaCluster Source #
Specifies which Apache Kafka cluster to connect to.
createConnector_kafkaClusterClientAuthentication :: Lens' CreateConnector KafkaClusterClientAuthentication Source #
Details of the client authentication used by the Apache Kafka cluster.
createConnector_kafkaClusterEncryptionInTransit :: Lens' CreateConnector KafkaClusterEncryptionInTransit Source #
Details of encryption in transit to the Apache Kafka cluster.
createConnector_kafkaConnectVersion :: Lens' CreateConnector Text Source #
The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.
createConnector_plugins :: Lens' CreateConnector [Plugin] Source #
Specifies which plugins to use for the connector.
createConnector_serviceExecutionRoleArn :: Lens' CreateConnector Text Source #
The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs. The types of resources depends on the logic of the connector. For example, a connector that has Amazon S3 as a destination must have permissions that allow it to write to the S3 destination bucket.
Destructuring the Response
data CreateConnectorResponse Source #
See: newCreateConnectorResponse
smart constructor.
CreateConnectorResponse' | |
|
Instances
newCreateConnectorResponse Source #
Create a value of CreateConnectorResponse
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:connectorArn:CreateConnectorResponse'
, createConnectorResponse_connectorArn
- The Amazon Resource Name (ARN) that Amazon assigned to the connector.
$sel:connectorName:CreateConnector'
, createConnectorResponse_connectorName
- The name of the connector.
$sel:connectorState:CreateConnectorResponse'
, createConnectorResponse_connectorState
- The state of the connector.
$sel:httpStatus:CreateConnectorResponse'
, createConnectorResponse_httpStatus
- The response's http status code.
Response Lenses
createConnectorResponse_connectorArn :: Lens' CreateConnectorResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) that Amazon assigned to the connector.
createConnectorResponse_connectorName :: Lens' CreateConnectorResponse (Maybe Text) Source #
The name of the connector.
createConnectorResponse_connectorState :: Lens' CreateConnectorResponse (Maybe ConnectorState) Source #
The state of the connector.
createConnectorResponse_httpStatus :: Lens' CreateConnectorResponse Int Source #
The response's http status code.