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 |
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.
PutCaseEventConfiguration' | |
|
Instances
newPutCaseEventConfiguration Source #
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.
PutCaseEventConfigurationResponse' | |
|
Instances
Generic PutCaseEventConfigurationResponse Source # | |
Read PutCaseEventConfigurationResponse Source # | |
Show PutCaseEventConfigurationResponse Source # | |
NFData PutCaseEventConfigurationResponse Source # | |
Defined in Amazonka.ConnectCases.PutCaseEventConfiguration rnf :: PutCaseEventConfigurationResponse -> () # | |
Eq PutCaseEventConfigurationResponse Source # | |
type Rep PutCaseEventConfigurationResponse Source # | |
Defined in Amazonka.ConnectCases.PutCaseEventConfiguration type Rep PutCaseEventConfigurationResponse = D1 ('MetaData "PutCaseEventConfigurationResponse" "Amazonka.ConnectCases.PutCaseEventConfiguration" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "PutCaseEventConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutCaseEventConfigurationResponse Source #
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.