add_partner
¶
add_partner(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
account_id: Optional[PartnerIntegrationAccountId] = None,
cluster_identifier: Optional[PartnerIntegrationClusterIdentifier] = None,
database_name: Optional[PartnerIntegrationDatabaseName] = None,
partner_name: Optional[PartnerIntegrationPartnerName] = None,
) -> PartnerIntegrationOutputMessage
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.
Parameters:
-
account_id(Optional[PartnerIntegrationAccountId], default:None) –The Amazon Web Services account ID that owns the cluster.
-
cluster_identifier(Optional[PartnerIntegrationClusterIdentifier], default:None) –The cluster identifier of the cluster that receives data from the partner.
-
database_name(Optional[PartnerIntegrationDatabaseName], default:None) –The name of the database that receives data from the partner.
-
partner_name(Optional[PartnerIntegrationPartnerName], default:None) –The name of the partner that is authorized to send data.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
PartnerNotFoundFault–The name of the partner was not found.
-
UnauthorizedPartnerIntegrationFault–The partner integration is not authorized.
-
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.