| 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 |
Amazonka.AppFlow.RegisterConnector
Description
Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.
Synopsis
- data RegisterConnector = RegisterConnector' {}
- newRegisterConnector :: RegisterConnector
- registerConnector_connectorLabel :: Lens' RegisterConnector (Maybe Text)
- registerConnector_connectorProvisioningConfig :: Lens' RegisterConnector (Maybe ConnectorProvisioningConfig)
- registerConnector_connectorProvisioningType :: Lens' RegisterConnector (Maybe ConnectorProvisioningType)
- registerConnector_description :: Lens' RegisterConnector (Maybe Text)
- data RegisterConnectorResponse = RegisterConnectorResponse' {
- connectorArn :: Maybe Text
- httpStatus :: Int
- newRegisterConnectorResponse :: Int -> RegisterConnectorResponse
- registerConnectorResponse_connectorArn :: Lens' RegisterConnectorResponse (Maybe Text)
- registerConnectorResponse_httpStatus :: Lens' RegisterConnectorResponse Int
Creating a Request
data RegisterConnector Source #
See: newRegisterConnector smart constructor.
Constructors
| RegisterConnector' | |
Fields
| |
Instances
newRegisterConnector :: RegisterConnector Source #
Create a value of RegisterConnector 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:
RegisterConnector, registerConnector_connectorLabel - The name of the connector. The name is unique for each
ConnectorRegistration in your Amazon Web Services account.
RegisterConnector, registerConnector_connectorProvisioningConfig - The provisioning type of the connector. Currently the only supported
value is LAMBDA.
RegisterConnector, registerConnector_connectorProvisioningType - The provisioning type of the connector. Currently the only supported
value is LAMBDA.
RegisterConnector, registerConnector_description - A description about the connector that's being registered.
Request Lenses
registerConnector_connectorLabel :: Lens' RegisterConnector (Maybe Text) Source #
The name of the connector. The name is unique for each
ConnectorRegistration in your Amazon Web Services account.
registerConnector_connectorProvisioningConfig :: Lens' RegisterConnector (Maybe ConnectorProvisioningConfig) Source #
The provisioning type of the connector. Currently the only supported value is LAMBDA.
registerConnector_connectorProvisioningType :: Lens' RegisterConnector (Maybe ConnectorProvisioningType) Source #
The provisioning type of the connector. Currently the only supported value is LAMBDA.
registerConnector_description :: Lens' RegisterConnector (Maybe Text) Source #
A description about the connector that's being registered.
Destructuring the Response
data RegisterConnectorResponse Source #
See: newRegisterConnectorResponse smart constructor.
Constructors
| RegisterConnectorResponse' | |
Fields
| |
Instances
newRegisterConnectorResponse Source #
Create a value of RegisterConnectorResponse 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:
RegisterConnectorResponse, registerConnectorResponse_connectorArn - The ARN of the connector being registered.
$sel:httpStatus:RegisterConnectorResponse', registerConnectorResponse_httpStatus - The response's http status code.
Response Lenses
registerConnectorResponse_connectorArn :: Lens' RegisterConnectorResponse (Maybe Text) Source #
The ARN of the connector being registered.
registerConnectorResponse_httpStatus :: Lens' RegisterConnectorResponse Int Source #
The response's http status code.