Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the list of available connector entities supported by Amazon AppFlow. For example, you can query Salesforce for Account and Opportunity entities, or query ServiceNow for the Incident entity.
Synopsis
- data ListConnectorEntities = ListConnectorEntities' {}
- newListConnectorEntities :: ListConnectorEntities
- listConnectorEntities_connectorProfileName :: Lens' ListConnectorEntities (Maybe Text)
- listConnectorEntities_entitiesPath :: Lens' ListConnectorEntities (Maybe Text)
- listConnectorEntities_connectorType :: Lens' ListConnectorEntities (Maybe ConnectorType)
- data ListConnectorEntitiesResponse = ListConnectorEntitiesResponse' {}
- newListConnectorEntitiesResponse :: Int -> ListConnectorEntitiesResponse
- listConnectorEntitiesResponse_httpStatus :: Lens' ListConnectorEntitiesResponse Int
- listConnectorEntitiesResponse_connectorEntityMap :: Lens' ListConnectorEntitiesResponse (HashMap Text [ConnectorEntity])
Creating a Request
data ListConnectorEntities Source #
See: newListConnectorEntities
smart constructor.
ListConnectorEntities' | |
|
Instances
newListConnectorEntities :: ListConnectorEntities Source #
Create a value of ListConnectorEntities
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:connectorProfileName:ListConnectorEntities'
, listConnectorEntities_connectorProfileName
- The name of the connector profile. The name is unique for each
ConnectorProfile
in the Amazon Web Services account, and is used to
query the downstream connector.
$sel:entitiesPath:ListConnectorEntities'
, listConnectorEntities_entitiesPath
- This optional parameter is specific to connector implementation. Some
connectors support multiple levels or categories of entities. You can
find out the list of roots for such providers by sending a request
without the entitiesPath
parameter. If the connector supports entities
at different roots, this initial request returns the list of roots.
Otherwise, this request returns all entities supported by the provider.
$sel:connectorType:ListConnectorEntities'
, listConnectorEntities_connectorType
- The type of connector, such as Salesforce, Amplitude, and so on.
Request Lenses
listConnectorEntities_connectorProfileName :: Lens' ListConnectorEntities (Maybe Text) Source #
The name of the connector profile. The name is unique for each
ConnectorProfile
in the Amazon Web Services account, and is used to
query the downstream connector.
listConnectorEntities_entitiesPath :: Lens' ListConnectorEntities (Maybe Text) Source #
This optional parameter is specific to connector implementation. Some
connectors support multiple levels or categories of entities. You can
find out the list of roots for such providers by sending a request
without the entitiesPath
parameter. If the connector supports entities
at different roots, this initial request returns the list of roots.
Otherwise, this request returns all entities supported by the provider.
listConnectorEntities_connectorType :: Lens' ListConnectorEntities (Maybe ConnectorType) Source #
The type of connector, such as Salesforce, Amplitude, and so on.
Destructuring the Response
data ListConnectorEntitiesResponse Source #
See: newListConnectorEntitiesResponse
smart constructor.
ListConnectorEntitiesResponse' | |
|
Instances
newListConnectorEntitiesResponse Source #
Create a value of ListConnectorEntitiesResponse
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:ListConnectorEntitiesResponse'
, listConnectorEntitiesResponse_httpStatus
- The response's http status code.
$sel:connectorEntityMap:ListConnectorEntitiesResponse'
, listConnectorEntitiesResponse_connectorEntityMap
- The response of ListConnectorEntities
lists entities grouped by
category. This map's key represents the group name, and its value
contains the list of entities belonging to that group.
Response Lenses
listConnectorEntitiesResponse_httpStatus :: Lens' ListConnectorEntitiesResponse Int Source #
The response's http status code.
listConnectorEntitiesResponse_connectorEntityMap :: Lens' ListConnectorEntitiesResponse (HashMap Text [ConnectorEntity]) Source #
The response of ListConnectorEntities
lists entities grouped by
category. This map's key represents the group name, and its value
contains the list of entities belonging to that group.