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 |
Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.
Synopsis
- data CreateIntegrationWorkflow = CreateIntegrationWorkflow' {}
- newCreateIntegrationWorkflow :: Text -> WorkflowType -> IntegrationConfig -> Text -> Text -> CreateIntegrationWorkflow
- createIntegrationWorkflow_tags :: Lens' CreateIntegrationWorkflow (Maybe (HashMap Text Text))
- createIntegrationWorkflow_domainName :: Lens' CreateIntegrationWorkflow Text
- createIntegrationWorkflow_workflowType :: Lens' CreateIntegrationWorkflow WorkflowType
- createIntegrationWorkflow_integrationConfig :: Lens' CreateIntegrationWorkflow IntegrationConfig
- createIntegrationWorkflow_objectTypeName :: Lens' CreateIntegrationWorkflow Text
- createIntegrationWorkflow_roleArn :: Lens' CreateIntegrationWorkflow Text
- data CreateIntegrationWorkflowResponse = CreateIntegrationWorkflowResponse' {
- httpStatus :: Int
- workflowId :: Text
- message :: Text
- newCreateIntegrationWorkflowResponse :: Int -> Text -> Text -> CreateIntegrationWorkflowResponse
- createIntegrationWorkflowResponse_httpStatus :: Lens' CreateIntegrationWorkflowResponse Int
- createIntegrationWorkflowResponse_workflowId :: Lens' CreateIntegrationWorkflowResponse Text
- createIntegrationWorkflowResponse_message :: Lens' CreateIntegrationWorkflowResponse Text
Creating a Request
data CreateIntegrationWorkflow Source #
See: newCreateIntegrationWorkflow
smart constructor.
CreateIntegrationWorkflow' | |
|
Instances
newCreateIntegrationWorkflow Source #
:: Text | |
-> WorkflowType | |
-> IntegrationConfig | |
-> Text | |
-> Text | |
-> CreateIntegrationWorkflow |
Create a value of CreateIntegrationWorkflow
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:
CreateIntegrationWorkflow
, createIntegrationWorkflow_tags
- The tags used to organize, track, or control access for this resource.
CreateIntegrationWorkflow
, createIntegrationWorkflow_domainName
- The unique name of the domain.
CreateIntegrationWorkflow
, createIntegrationWorkflow_workflowType
- The type of workflow. The only supported value is APPFLOW_INTEGRATION.
$sel:integrationConfig:CreateIntegrationWorkflow'
, createIntegrationWorkflow_integrationConfig
- Configuration data for integration workflow.
CreateIntegrationWorkflow
, createIntegrationWorkflow_objectTypeName
- The name of the profile object type.
CreateIntegrationWorkflow
, createIntegrationWorkflow_roleArn
- The Amazon Resource Name (ARN) of the IAM role. Customer Profiles
assumes this role to create resources on your behalf as part of workflow
execution.
Request Lenses
createIntegrationWorkflow_tags :: Lens' CreateIntegrationWorkflow (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
createIntegrationWorkflow_domainName :: Lens' CreateIntegrationWorkflow Text Source #
The unique name of the domain.
createIntegrationWorkflow_workflowType :: Lens' CreateIntegrationWorkflow WorkflowType Source #
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
createIntegrationWorkflow_integrationConfig :: Lens' CreateIntegrationWorkflow IntegrationConfig Source #
Configuration data for integration workflow.
createIntegrationWorkflow_objectTypeName :: Lens' CreateIntegrationWorkflow Text Source #
The name of the profile object type.
createIntegrationWorkflow_roleArn :: Lens' CreateIntegrationWorkflow Text Source #
The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
Destructuring the Response
data CreateIntegrationWorkflowResponse Source #
See: newCreateIntegrationWorkflowResponse
smart constructor.
CreateIntegrationWorkflowResponse' | |
|
Instances
newCreateIntegrationWorkflowResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> CreateIntegrationWorkflowResponse |
Create a value of CreateIntegrationWorkflowResponse
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:CreateIntegrationWorkflowResponse'
, createIntegrationWorkflowResponse_httpStatus
- The response's http status code.
CreateIntegrationWorkflowResponse
, createIntegrationWorkflowResponse_workflowId
- Unique identifier for the workflow.
CreateIntegrationWorkflowResponse
, createIntegrationWorkflowResponse_message
- A message indicating create request was received.
Response Lenses
createIntegrationWorkflowResponse_httpStatus :: Lens' CreateIntegrationWorkflowResponse Int Source #
The response's http status code.
createIntegrationWorkflowResponse_workflowId :: Lens' CreateIntegrationWorkflowResponse Text Source #
Unique identifier for the workflow.
createIntegrationWorkflowResponse_message :: Lens' CreateIntegrationWorkflowResponse Text Source #
A message indicating create request was received.