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 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.
CreateWorkerConfiguration' | |
|
Instances
newCreateWorkerConfiguration Source #
:: 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:
$sel:description:CreateWorkerConfiguration'
, createWorkerConfiguration_description
- A summary description of the worker configuration.
$sel:name:CreateWorkerConfiguration'
, createWorkerConfiguration_name
- The name of the worker configuration.
$sel:propertiesFileContent: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.
CreateWorkerConfigurationResponse' | |
|
Instances
newCreateWorkerConfigurationResponse Source #
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:
$sel:creationTime:CreateWorkerConfigurationResponse'
, createWorkerConfigurationResponse_creationTime
- The time that the worker configuration was created.
$sel:latestRevision:CreateWorkerConfigurationResponse'
, createWorkerConfigurationResponse_latestRevision
- The latest revision of the worker configuration.
$sel:name:CreateWorkerConfiguration'
, createWorkerConfigurationResponse_name
- The name of the worker configuration.
$sel:workerConfigurationArn: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.