amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data AddPartner Source #

See: newAddPartner smart constructor.

Constructors

AddPartner' 

Fields

  • accountId :: Text

    The Amazon Web Services account ID that owns the cluster.

  • clusterIdentifier :: Text

    The cluster identifier of the cluster that receives data from the partner.

  • databaseName :: Text

    The name of the database that receives data from the partner.

  • partnerName :: Text

    The name of the partner that is authorized to send data.

Instances

Instances details
ToHeaders AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Methods

toHeaders :: AddPartner -> [Header] #

ToPath AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

ToQuery AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

AWSRequest AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Associated Types

type AWSResponse AddPartner #

Generic AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Associated Types

type Rep AddPartner :: Type -> Type #

Read AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Show AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

NFData AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Methods

rnf :: AddPartner -> () #

Eq AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Hashable AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

type AWSResponse AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

type Rep AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

type Rep AddPartner = D1 ('MetaData "AddPartner" "Amazonka.Redshift.AddPartner" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "AddPartner'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "partnerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAddPartner Source #

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

Instances details
FromXML PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Generic PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Associated Types

type Rep PartnerIntegrationOutputMessage :: Type -> Type #

Read PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Show PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

NFData PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Eq PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Hashable PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

type Rep PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

type Rep PartnerIntegrationOutputMessage = D1 ('MetaData "PartnerIntegrationOutputMessage" "Amazonka.Redshift.Types.PartnerIntegrationOutputMessage" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "PartnerIntegrationOutputMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "partnerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.