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 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_apiVersion :: Lens' ListConnectorEntities (Maybe Text)
- listConnectorEntities_connectorProfileName :: Lens' ListConnectorEntities (Maybe Text)
- listConnectorEntities_connectorType :: Lens' ListConnectorEntities (Maybe ConnectorType)
- listConnectorEntities_entitiesPath :: Lens' ListConnectorEntities (Maybe Text)
- listConnectorEntities_maxResults :: Lens' ListConnectorEntities (Maybe Natural)
- listConnectorEntities_nextToken :: Lens' ListConnectorEntities (Maybe Text)
- data ListConnectorEntitiesResponse = ListConnectorEntitiesResponse' {}
- newListConnectorEntitiesResponse :: Int -> ListConnectorEntitiesResponse
- listConnectorEntitiesResponse_nextToken :: Lens' ListConnectorEntitiesResponse (Maybe Text)
- 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:
ListConnectorEntities
, listConnectorEntities_apiVersion
- The version of the API that's used by the connector.
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.
ListConnectorEntities
, listConnectorEntities_connectorType
- The type of connector, such as Salesforce, Amplitude, and so on.
$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:maxResults:ListConnectorEntities'
, listConnectorEntities_maxResults
- The maximum number of items that the operation returns in the response.
ListConnectorEntities
, listConnectorEntities_nextToken
- A token that was provided by your prior ListConnectorEntities
operation if the response was too big for the page size. You specify
this token to get the next page of results in paginated response.
Request Lenses
listConnectorEntities_apiVersion :: Lens' ListConnectorEntities (Maybe Text) Source #
The version of the API that's used by the connector.
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_connectorType :: Lens' ListConnectorEntities (Maybe ConnectorType) Source #
The type of connector, such as Salesforce, Amplitude, and so on.
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_maxResults :: Lens' ListConnectorEntities (Maybe Natural) Source #
The maximum number of items that the operation returns in the response.
listConnectorEntities_nextToken :: Lens' ListConnectorEntities (Maybe Text) Source #
A token that was provided by your prior ListConnectorEntities
operation if the response was too big for the page size. You specify
this token to get the next page of results in paginated response.
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:
ListConnectorEntities
, listConnectorEntitiesResponse_nextToken
- A token that you specify in your next ListConnectorEntities
operation
to get the next page of results in paginated response. The
ListConnectorEntities
operation provides this token if the response is
too big for the page size.
$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_nextToken :: Lens' ListConnectorEntitiesResponse (Maybe Text) Source #
A token that you specify in your next ListConnectorEntities
operation
to get the next page of results in paginated response. The
ListConnectorEntities
operation provides this token if the response is
too big for the page size.
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.