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 |
Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect.
An integration can belong to only one domain.
To add or remove tags on an existing Integration, see TagResource / UntagResource.
Synopsis
- data PutIntegration = PutIntegration' {
- flowDefinition :: Maybe FlowDefinition
- objectTypeName :: Maybe Text
- objectTypeNames :: Maybe (HashMap Text Text)
- tags :: Maybe (HashMap Text Text)
- uri :: Maybe Text
- domainName :: Text
- newPutIntegration :: Text -> PutIntegration
- putIntegration_flowDefinition :: Lens' PutIntegration (Maybe FlowDefinition)
- putIntegration_objectTypeName :: Lens' PutIntegration (Maybe Text)
- putIntegration_objectTypeNames :: Lens' PutIntegration (Maybe (HashMap Text Text))
- putIntegration_tags :: Lens' PutIntegration (Maybe (HashMap Text Text))
- putIntegration_uri :: Lens' PutIntegration (Maybe Text)
- putIntegration_domainName :: Lens' PutIntegration Text
- data PutIntegrationResponse = PutIntegrationResponse' {
- isUnstructured :: Maybe Bool
- objectTypeName :: Maybe Text
- objectTypeNames :: Maybe (HashMap Text Text)
- tags :: Maybe (HashMap Text Text)
- workflowId :: Maybe Text
- httpStatus :: Int
- domainName :: Text
- uri :: Text
- createdAt :: POSIX
- lastUpdatedAt :: POSIX
- newPutIntegrationResponse :: Int -> Text -> Text -> UTCTime -> UTCTime -> PutIntegrationResponse
- putIntegrationResponse_isUnstructured :: Lens' PutIntegrationResponse (Maybe Bool)
- putIntegrationResponse_objectTypeName :: Lens' PutIntegrationResponse (Maybe Text)
- putIntegrationResponse_objectTypeNames :: Lens' PutIntegrationResponse (Maybe (HashMap Text Text))
- putIntegrationResponse_tags :: Lens' PutIntegrationResponse (Maybe (HashMap Text Text))
- putIntegrationResponse_workflowId :: Lens' PutIntegrationResponse (Maybe Text)
- putIntegrationResponse_httpStatus :: Lens' PutIntegrationResponse Int
- putIntegrationResponse_domainName :: Lens' PutIntegrationResponse Text
- putIntegrationResponse_uri :: Lens' PutIntegrationResponse Text
- putIntegrationResponse_createdAt :: Lens' PutIntegrationResponse UTCTime
- putIntegrationResponse_lastUpdatedAt :: Lens' PutIntegrationResponse UTCTime
Creating a Request
data PutIntegration Source #
See: newPutIntegration
smart constructor.
PutIntegration' | |
|
Instances
Create a value of PutIntegration
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:
PutIntegration
, putIntegration_flowDefinition
- The configuration that controls how Customer Profiles retrieves data
from the source.
PutIntegration
, putIntegration_objectTypeName
- The name of the profile object type.
PutIntegration
, putIntegration_objectTypeNames
- A map in which each key is an event type from an external application
such as Segment or Shopify, and each value is an ObjectTypeName
(template) used to ingest the event. It supports the following event
types: SegmentIdentify
, ShopifyCreateCustomers
,
ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
ShopifyUpdatedOrders
.
PutIntegration
, putIntegration_tags
- The tags used to organize, track, or control access for this resource.
PutIntegration
, putIntegration_uri
- The URI of the S3 bucket or any other type of data source.
PutIntegration
, putIntegration_domainName
- The unique name of the domain.
Request Lenses
putIntegration_flowDefinition :: Lens' PutIntegration (Maybe FlowDefinition) Source #
The configuration that controls how Customer Profiles retrieves data from the source.
putIntegration_objectTypeName :: Lens' PutIntegration (Maybe Text) Source #
The name of the profile object type.
putIntegration_objectTypeNames :: Lens' PutIntegration (Maybe (HashMap Text Text)) Source #
A map in which each key is an event type from an external application
such as Segment or Shopify, and each value is an ObjectTypeName
(template) used to ingest the event. It supports the following event
types: SegmentIdentify
, ShopifyCreateCustomers
,
ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
ShopifyUpdatedOrders
.
putIntegration_tags :: Lens' PutIntegration (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
putIntegration_uri :: Lens' PutIntegration (Maybe Text) Source #
The URI of the S3 bucket or any other type of data source.
putIntegration_domainName :: Lens' PutIntegration Text Source #
The unique name of the domain.
Destructuring the Response
data PutIntegrationResponse Source #
See: newPutIntegrationResponse
smart constructor.
PutIntegrationResponse' | |
|
Instances
newPutIntegrationResponse Source #
Create a value of PutIntegrationResponse
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:
PutIntegrationResponse
, putIntegrationResponse_isUnstructured
- Boolean to indicate if the Flow associated with the Integration is
created via Appflow console or with ObjectTypeName equals _unstructured
via API/CLI in flowDefinition
PutIntegration
, putIntegrationResponse_objectTypeName
- The name of the profile object type.
PutIntegration
, putIntegrationResponse_objectTypeNames
- A map in which each key is an event type from an external application
such as Segment or Shopify, and each value is an ObjectTypeName
(template) used to ingest the event. It supports the following event
types: SegmentIdentify
, ShopifyCreateCustomers
,
ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
ShopifyUpdatedOrders
.
PutIntegration
, putIntegrationResponse_tags
- The tags used to organize, track, or control access for this resource.
PutIntegrationResponse
, putIntegrationResponse_workflowId
- Unique identifier for the workflow.
$sel:httpStatus:PutIntegrationResponse'
, putIntegrationResponse_httpStatus
- The response's http status code.
PutIntegration
, putIntegrationResponse_domainName
- The unique name of the domain.
PutIntegration
, putIntegrationResponse_uri
- The URI of the S3 bucket or any other type of data source.
PutIntegrationResponse
, putIntegrationResponse_createdAt
- The timestamp of when the domain was created.
PutIntegrationResponse
, putIntegrationResponse_lastUpdatedAt
- The timestamp of when the domain was most recently edited.
Response Lenses
putIntegrationResponse_isUnstructured :: Lens' PutIntegrationResponse (Maybe Bool) Source #
Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition
putIntegrationResponse_objectTypeName :: Lens' PutIntegrationResponse (Maybe Text) Source #
The name of the profile object type.
putIntegrationResponse_objectTypeNames :: Lens' PutIntegrationResponse (Maybe (HashMap Text Text)) Source #
A map in which each key is an event type from an external application
such as Segment or Shopify, and each value is an ObjectTypeName
(template) used to ingest the event. It supports the following event
types: SegmentIdentify
, ShopifyCreateCustomers
,
ShopifyUpdateCustomers
, ShopifyCreateDraftOrders
,
ShopifyUpdateDraftOrders
, ShopifyCreateOrders
, and
ShopifyUpdatedOrders
.
putIntegrationResponse_tags :: Lens' PutIntegrationResponse (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
putIntegrationResponse_workflowId :: Lens' PutIntegrationResponse (Maybe Text) Source #
Unique identifier for the workflow.
putIntegrationResponse_httpStatus :: Lens' PutIntegrationResponse Int Source #
The response's http status code.
putIntegrationResponse_domainName :: Lens' PutIntegrationResponse Text Source #
The unique name of the domain.
putIntegrationResponse_uri :: Lens' PutIntegrationResponse Text Source #
The URI of the S3 bucket or any other type of data source.
putIntegrationResponse_createdAt :: Lens' PutIntegrationResponse UTCTime Source #
The timestamp of when the domain was created.
putIntegrationResponse_lastUpdatedAt :: Lens' PutIntegrationResponse UTCTime Source #
The timestamp of when the domain was most recently edited.