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 |
Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors.
Synopsis
- data DescribeConnector = DescribeConnector' {}
- newDescribeConnector :: ConnectorType -> DescribeConnector
- describeConnector_connectorLabel :: Lens' DescribeConnector (Maybe Text)
- describeConnector_connectorType :: Lens' DescribeConnector ConnectorType
- data DescribeConnectorResponse = DescribeConnectorResponse' {}
- newDescribeConnectorResponse :: Int -> DescribeConnectorResponse
- describeConnectorResponse_connectorConfiguration :: Lens' DescribeConnectorResponse (Maybe ConnectorConfiguration)
- describeConnectorResponse_httpStatus :: Lens' DescribeConnectorResponse Int
Creating a Request
data DescribeConnector Source #
See: newDescribeConnector
smart constructor.
DescribeConnector' | |
|
Instances
Create a value of DescribeConnector
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:
DescribeConnector
, describeConnector_connectorLabel
- The label of the connector. The label is unique for each
ConnectorRegistration
in your Amazon Web Services account. Only needed
if calling for CUSTOMCONNECTOR connector type/.
DescribeConnector
, describeConnector_connectorType
- The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please
choose CUSTOMCONNECTOR for Lambda based custom connectors.
Request Lenses
describeConnector_connectorLabel :: Lens' DescribeConnector (Maybe Text) Source #
The label of the connector. The label is unique for each
ConnectorRegistration
in your Amazon Web Services account. Only needed
if calling for CUSTOMCONNECTOR connector type/.
describeConnector_connectorType :: Lens' DescribeConnector ConnectorType Source #
The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please choose CUSTOMCONNECTOR for Lambda based custom connectors.
Destructuring the Response
data DescribeConnectorResponse Source #
See: newDescribeConnectorResponse
smart constructor.
DescribeConnectorResponse' | |
|
Instances
newDescribeConnectorResponse Source #
Create a value of DescribeConnectorResponse
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:connectorConfiguration:DescribeConnectorResponse'
, describeConnectorResponse_connectorConfiguration
- Configuration info of all the connectors that the user requested.
$sel:httpStatus:DescribeConnectorResponse'
, describeConnectorResponse_httpStatus
- The response's http status code.
Response Lenses
describeConnectorResponse_connectorConfiguration :: Lens' DescribeConnectorResponse (Maybe ConnectorConfiguration) Source #
Configuration info of all the connectors that the user requested.
describeConnectorResponse_httpStatus :: Lens' DescribeConnectorResponse Int Source #
The response's http status code.