| 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.Redshift.AddPartner
Description
Adds a partner integration to a cluster. This operation authorizes a partner to push status updates for the specified database. To complete the integration, you also set up the integration on the partner website.
Synopsis
- data AddPartner = AddPartner' {}
- newAddPartner :: Text -> Text -> Text -> Text -> AddPartner
- addPartner_accountId :: Lens' AddPartner Text
- addPartner_clusterIdentifier :: Lens' AddPartner Text
- addPartner_databaseName :: Lens' AddPartner Text
- addPartner_partnerName :: Lens' AddPartner Text
- data PartnerIntegrationOutputMessage = PartnerIntegrationOutputMessage' {}
- newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
- partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
- partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
Creating a Request
data AddPartner Source #
See: newAddPartner smart constructor.
Constructors
| AddPartner' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> AddPartner |
Create a value of AddPartner 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:
AddPartner, addPartner_accountId - The Amazon Web Services account ID that owns the cluster.
AddPartner, addPartner_clusterIdentifier - The cluster identifier of the cluster that receives data from the
partner.
AddPartner, addPartner_databaseName - The name of the database that receives data from the partner.
AddPartner, addPartner_partnerName - The name of the partner that is authorized to send data.
Request Lenses
addPartner_accountId :: Lens' AddPartner Text Source #
The Amazon Web Services account ID that owns the cluster.
addPartner_clusterIdentifier :: Lens' AddPartner Text Source #
The cluster identifier of the cluster that receives data from the partner.
addPartner_databaseName :: Lens' AddPartner Text Source #
The name of the database that receives data from the partner.
addPartner_partnerName :: Lens' AddPartner Text Source #
The name of the partner that is authorized to send data.
Destructuring the Response
data PartnerIntegrationOutputMessage Source #
See: newPartnerIntegrationOutputMessage smart constructor.
Constructors
| PartnerIntegrationOutputMessage' | |
Fields
| |
Instances
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage Source #
Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage', partnerIntegrationOutputMessage_databaseName - The name of the database that receives data from the partner.
$sel:partnerName:PartnerIntegrationOutputMessage', partnerIntegrationOutputMessage_partnerName - The name of the partner that is authorized to send data.
Response Lenses
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text) Source #
The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text) Source #
The name of the partner that is authorized to send data.