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 |
Describes the connectors vended by Amazon AppFlow for specified
connector types. If you don't specify a connector type, this operation
describes all connectors vended by Amazon AppFlow. If there are more
connectors than can be returned in one page, the response contains a
nextToken
object, which can be be passed in to the next call to the
DescribeConnectors
API operation to retrieve the next page.
Synopsis
- data DescribeConnectors = DescribeConnectors' {}
- newDescribeConnectors :: DescribeConnectors
- describeConnectors_nextToken :: Lens' DescribeConnectors (Maybe Text)
- describeConnectors_connectorTypes :: Lens' DescribeConnectors (Maybe [ConnectorType])
- data DescribeConnectorsResponse = DescribeConnectorsResponse' {}
- newDescribeConnectorsResponse :: Int -> DescribeConnectorsResponse
- describeConnectorsResponse_connectorConfigurations :: Lens' DescribeConnectorsResponse (Maybe (HashMap ConnectorType ConnectorConfiguration))
- describeConnectorsResponse_nextToken :: Lens' DescribeConnectorsResponse (Maybe Text)
- describeConnectorsResponse_httpStatus :: Lens' DescribeConnectorsResponse Int
Creating a Request
data DescribeConnectors Source #
See: newDescribeConnectors
smart constructor.
DescribeConnectors' | |
|
Instances
newDescribeConnectors :: DescribeConnectors Source #
Create a value of DescribeConnectors
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:nextToken:DescribeConnectors'
, describeConnectors_nextToken
- The pagination token for the next page of data.
$sel:connectorTypes:DescribeConnectors'
, describeConnectors_connectorTypes
- The type of connector, such as Salesforce, Amplitude, and so on.
Request Lenses
describeConnectors_nextToken :: Lens' DescribeConnectors (Maybe Text) Source #
The pagination token for the next page of data.
describeConnectors_connectorTypes :: Lens' DescribeConnectors (Maybe [ConnectorType]) Source #
The type of connector, such as Salesforce, Amplitude, and so on.
Destructuring the Response
data DescribeConnectorsResponse Source #
See: newDescribeConnectorsResponse
smart constructor.
DescribeConnectorsResponse' | |
|
Instances
newDescribeConnectorsResponse Source #
Create a value of DescribeConnectorsResponse
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:connectorConfigurations:DescribeConnectorsResponse'
, describeConnectorsResponse_connectorConfigurations
- The configuration that is applied to the connectors used in the flow.
$sel:nextToken:DescribeConnectors'
, describeConnectorsResponse_nextToken
- The pagination token for the next page of data.
$sel:httpStatus:DescribeConnectorsResponse'
, describeConnectorsResponse_httpStatus
- The response's http status code.
Response Lenses
describeConnectorsResponse_connectorConfigurations :: Lens' DescribeConnectorsResponse (Maybe (HashMap ConnectorType ConnectorConfiguration)) Source #
The configuration that is applied to the connectors used in the flow.
describeConnectorsResponse_nextToken :: Lens' DescribeConnectorsResponse (Maybe Text) Source #
The pagination token for the next page of data.
describeConnectorsResponse_httpStatus :: Lens' DescribeConnectorsResponse Int Source #
The response's http status code.