| 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.ConnectCases.PutCaseEventConfiguration
Description
API for adding case event publishing configuration
Synopsis
- data PutCaseEventConfiguration = PutCaseEventConfiguration' {}
- newPutCaseEventConfiguration :: Text -> EventBridgeConfiguration -> PutCaseEventConfiguration
- putCaseEventConfiguration_domainId :: Lens' PutCaseEventConfiguration Text
- putCaseEventConfiguration_eventBridge :: Lens' PutCaseEventConfiguration EventBridgeConfiguration
- data PutCaseEventConfigurationResponse = PutCaseEventConfigurationResponse' {
- httpStatus :: Int
- newPutCaseEventConfigurationResponse :: Int -> PutCaseEventConfigurationResponse
- putCaseEventConfigurationResponse_httpStatus :: Lens' PutCaseEventConfigurationResponse Int
Creating a Request
data PutCaseEventConfiguration Source #
See: newPutCaseEventConfiguration smart constructor.
Constructors
| PutCaseEventConfiguration' | |
Fields
| |
Instances
newPutCaseEventConfiguration Source #
Arguments
| :: Text | |
| -> EventBridgeConfiguration | |
| -> PutCaseEventConfiguration |
Create a value of PutCaseEventConfiguration 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:
PutCaseEventConfiguration, putCaseEventConfiguration_domainId - The unique identifier of the Cases domain.
$sel:eventBridge:PutCaseEventConfiguration', putCaseEventConfiguration_eventBridge - Configuration to enable EventBridge case event delivery and determine
what data is delivered.
Request Lenses
putCaseEventConfiguration_domainId :: Lens' PutCaseEventConfiguration Text Source #
The unique identifier of the Cases domain.
putCaseEventConfiguration_eventBridge :: Lens' PutCaseEventConfiguration EventBridgeConfiguration Source #
Configuration to enable EventBridge case event delivery and determine what data is delivered.
Destructuring the Response
data PutCaseEventConfigurationResponse Source #
See: newPutCaseEventConfigurationResponse smart constructor.
Constructors
| PutCaseEventConfigurationResponse' | |
Fields
| |
Instances
newPutCaseEventConfigurationResponse Source #
Arguments
| :: Int | |
| -> PutCaseEventConfigurationResponse |
Create a value of PutCaseEventConfigurationResponse 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:httpStatus:PutCaseEventConfigurationResponse', putCaseEventConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
putCaseEventConfigurationResponse_httpStatus :: Lens' PutCaseEventConfigurationResponse Int Source #
The response's http status code.