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 |
Returns an integration for a domain.
Synopsis
- data GetIntegration = GetIntegration' {
- domainName :: Text
- uri :: Text
- newGetIntegration :: Text -> Text -> GetIntegration
- getIntegration_domainName :: Lens' GetIntegration Text
- getIntegration_uri :: Lens' GetIntegration Text
- data GetIntegrationResponse = GetIntegrationResponse' {
- 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
- newGetIntegrationResponse :: Int -> Text -> Text -> UTCTime -> UTCTime -> GetIntegrationResponse
- getIntegrationResponse_isUnstructured :: Lens' GetIntegrationResponse (Maybe Bool)
- getIntegrationResponse_objectTypeName :: Lens' GetIntegrationResponse (Maybe Text)
- getIntegrationResponse_objectTypeNames :: Lens' GetIntegrationResponse (Maybe (HashMap Text Text))
- getIntegrationResponse_tags :: Lens' GetIntegrationResponse (Maybe (HashMap Text Text))
- getIntegrationResponse_workflowId :: Lens' GetIntegrationResponse (Maybe Text)
- getIntegrationResponse_httpStatus :: Lens' GetIntegrationResponse Int
- getIntegrationResponse_domainName :: Lens' GetIntegrationResponse Text
- getIntegrationResponse_uri :: Lens' GetIntegrationResponse Text
- getIntegrationResponse_createdAt :: Lens' GetIntegrationResponse UTCTime
- getIntegrationResponse_lastUpdatedAt :: Lens' GetIntegrationResponse UTCTime
Creating a Request
data GetIntegration Source #
See: newGetIntegration
smart constructor.
GetIntegration' | |
|
Instances
Create a value of GetIntegration
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:
GetIntegration
, getIntegration_domainName
- The unique name of the domain.
GetIntegration
, getIntegration_uri
- The URI of the S3 bucket or any other type of data source.
Request Lenses
getIntegration_domainName :: Lens' GetIntegration Text Source #
The unique name of the domain.
getIntegration_uri :: Lens' GetIntegration Text Source #
The URI of the S3 bucket or any other type of data source.
Destructuring the Response
data GetIntegrationResponse Source #
See: newGetIntegrationResponse
smart constructor.
GetIntegrationResponse' | |
|
Instances
newGetIntegrationResponse Source #
Create a value of GetIntegrationResponse
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:
GetIntegrationResponse
, getIntegrationResponse_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
GetIntegrationResponse
, getIntegrationResponse_objectTypeName
- The name of the profile object type.
GetIntegrationResponse
, getIntegrationResponse_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
.
GetIntegrationResponse
, getIntegrationResponse_tags
- The tags used to organize, track, or control access for this resource.
GetIntegrationResponse
, getIntegrationResponse_workflowId
- Unique identifier for the workflow.
$sel:httpStatus:GetIntegrationResponse'
, getIntegrationResponse_httpStatus
- The response's http status code.
GetIntegration
, getIntegrationResponse_domainName
- The unique name of the domain.
GetIntegration
, getIntegrationResponse_uri
- The URI of the S3 bucket or any other type of data source.
GetIntegrationResponse
, getIntegrationResponse_createdAt
- The timestamp of when the domain was created.
GetIntegrationResponse
, getIntegrationResponse_lastUpdatedAt
- The timestamp of when the domain was most recently edited.
Response Lenses
getIntegrationResponse_isUnstructured :: Lens' GetIntegrationResponse (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
getIntegrationResponse_objectTypeName :: Lens' GetIntegrationResponse (Maybe Text) Source #
The name of the profile object type.
getIntegrationResponse_objectTypeNames :: Lens' GetIntegrationResponse (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
.
getIntegrationResponse_tags :: Lens' GetIntegrationResponse (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource.
getIntegrationResponse_workflowId :: Lens' GetIntegrationResponse (Maybe Text) Source #
Unique identifier for the workflow.
getIntegrationResponse_httpStatus :: Lens' GetIntegrationResponse Int Source #
The response's http status code.
getIntegrationResponse_domainName :: Lens' GetIntegrationResponse Text Source #
The unique name of the domain.
getIntegrationResponse_uri :: Lens' GetIntegrationResponse Text Source #
The URI of the S3 bucket or any other type of data source.
getIntegrationResponse_createdAt :: Lens' GetIntegrationResponse UTCTime Source #
The timestamp of when the domain was created.
getIntegrationResponse_lastUpdatedAt :: Lens' GetIntegrationResponse UTCTime Source #
The timestamp of when the domain was most recently edited.