| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.KafkaConnect.CreateWorkerConfiguration
Description
Creates a worker configuration using the specified properties.
Synopsis
- data CreateWorkerConfiguration = CreateWorkerConfiguration' {}
- newCreateWorkerConfiguration :: Text -> Text -> CreateWorkerConfiguration
- createWorkerConfiguration_description :: Lens' CreateWorkerConfiguration (Maybe Text)
- createWorkerConfiguration_name :: Lens' CreateWorkerConfiguration Text
- createWorkerConfiguration_propertiesFileContent :: Lens' CreateWorkerConfiguration Text
- data CreateWorkerConfigurationResponse = CreateWorkerConfigurationResponse' {}
- newCreateWorkerConfigurationResponse :: Int -> CreateWorkerConfigurationResponse
- createWorkerConfigurationResponse_creationTime :: Lens' CreateWorkerConfigurationResponse (Maybe UTCTime)
- createWorkerConfigurationResponse_latestRevision :: Lens' CreateWorkerConfigurationResponse (Maybe WorkerConfigurationRevisionSummary)
- createWorkerConfigurationResponse_name :: Lens' CreateWorkerConfigurationResponse (Maybe Text)
- createWorkerConfigurationResponse_workerConfigurationArn :: Lens' CreateWorkerConfigurationResponse (Maybe Text)
- createWorkerConfigurationResponse_httpStatus :: Lens' CreateWorkerConfigurationResponse Int
Creating a Request
data CreateWorkerConfiguration Source #
See: newCreateWorkerConfiguration smart constructor.
Constructors
| CreateWorkerConfiguration' | |
Fields
| |
Instances
newCreateWorkerConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateWorkerConfiguration |
Create a value of CreateWorkerConfiguration 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:
CreateWorkerConfiguration, createWorkerConfiguration_description - A summary description of the worker configuration.
CreateWorkerConfiguration, createWorkerConfiguration_name - The name of the worker configuration.
CreateWorkerConfiguration, createWorkerConfiguration_propertiesFileContent - Base64 encoded contents of connect-distributed.properties file.
Request Lenses
createWorkerConfiguration_description :: Lens' CreateWorkerConfiguration (Maybe Text) Source #
A summary description of the worker configuration.
createWorkerConfiguration_name :: Lens' CreateWorkerConfiguration Text Source #
The name of the worker configuration.
createWorkerConfiguration_propertiesFileContent :: Lens' CreateWorkerConfiguration Text Source #
Base64 encoded contents of connect-distributed.properties file.
Destructuring the Response
data CreateWorkerConfigurationResponse Source #
See: newCreateWorkerConfigurationResponse smart constructor.
Constructors
| CreateWorkerConfigurationResponse' | |
Fields
| |
Instances
newCreateWorkerConfigurationResponse Source #
Arguments
| :: Int | |
| -> CreateWorkerConfigurationResponse |
Create a value of CreateWorkerConfigurationResponse 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:
CreateWorkerConfigurationResponse, createWorkerConfigurationResponse_creationTime - The time that the worker configuration was created.
CreateWorkerConfigurationResponse, createWorkerConfigurationResponse_latestRevision - The latest revision of the worker configuration.
CreateWorkerConfiguration, createWorkerConfigurationResponse_name - The name of the worker configuration.
CreateWorkerConfigurationResponse, createWorkerConfigurationResponse_workerConfigurationArn - The Amazon Resource Name (ARN) that Amazon assigned to the worker
configuration.
$sel:httpStatus:CreateWorkerConfigurationResponse', createWorkerConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
createWorkerConfigurationResponse_creationTime :: Lens' CreateWorkerConfigurationResponse (Maybe UTCTime) Source #
The time that the worker configuration was created.
createWorkerConfigurationResponse_latestRevision :: Lens' CreateWorkerConfigurationResponse (Maybe WorkerConfigurationRevisionSummary) Source #
The latest revision of the worker configuration.
createWorkerConfigurationResponse_name :: Lens' CreateWorkerConfigurationResponse (Maybe Text) Source #
The name of the worker configuration.
createWorkerConfigurationResponse_workerConfigurationArn :: Lens' CreateWorkerConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) that Amazon assigned to the worker configuration.
createWorkerConfigurationResponse_httpStatus :: Lens' CreateWorkerConfigurationResponse Int Source #
The response's http status code.