libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KafkaConnect.CreateConnector

Description

Creates a connector using the specified properties.

Synopsis

Creating a Request

data CreateConnector Source #

See: newCreateConnector smart constructor.

Constructors

CreateConnector' 

Fields

Instances

Instances details
Eq CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Read CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Show CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Generic CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Associated Types

type Rep CreateConnector :: Type -> Type #

NFData CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Methods

rnf :: CreateConnector -> () #

Hashable CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

ToJSON CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

AWSRequest CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Associated Types

type AWSResponse CreateConnector #

ToHeaders CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

ToPath CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

ToQuery CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

type Rep CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

type Rep CreateConnector = D1 ('MetaData "CreateConnector" "Amazonka.KafkaConnect.CreateConnector" "libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect" 'False) (C1 ('MetaCons "CreateConnector'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "logDelivery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogDelivery)) :*: (S1 ('MetaSel ('Just "workerConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkerConfiguration)) :*: S1 ('MetaSel ('Just "connectorDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "capacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Capacity) :*: (S1 ('MetaSel ('Just "connectorConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "connectorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "kafkaCluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KafkaCluster) :*: (S1 ('MetaSel ('Just "kafkaClusterClientAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KafkaClusterClientAuthentication) :*: S1 ('MetaSel ('Just "kafkaClusterEncryptionInTransit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KafkaClusterEncryptionInTransit))) :*: (S1 ('MetaSel ('Just "kafkaConnectVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "plugins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Plugin]) :*: S1 ('MetaSel ('Just "serviceExecutionRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateConnector Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

newCreateConnector Source #

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_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_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_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.

Constructors

CreateConnectorResponse' 

Fields

Instances

Instances details
Eq CreateConnectorResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Read CreateConnectorResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Show CreateConnectorResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Generic CreateConnectorResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Associated Types

type Rep CreateConnectorResponse :: Type -> Type #

NFData CreateConnectorResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

Methods

rnf :: CreateConnectorResponse -> () #

type Rep CreateConnectorResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.CreateConnector

type Rep CreateConnectorResponse = D1 ('MetaData "CreateConnectorResponse" "Amazonka.KafkaConnect.CreateConnector" "libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect" 'False) (C1 ('MetaCons "CreateConnectorResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "connectorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "connectorState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectorState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.