libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Read AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Show AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Generic AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Associated Types

type Rep AddPartner :: Type -> Type #

NFData AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Methods

rnf :: AddPartner -> () #

Hashable AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

AWSRequest AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

Associated Types

type AWSResponse AddPartner #

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

type Rep AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

type Rep AddPartner = D1 ('MetaData "AddPartner" "Amazonka.Redshift.AddPartner" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" '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))))
type AWSResponse AddPartner Source # 
Instance details

Defined in Amazonka.Redshift.AddPartner

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:

$sel:accountId:AddPartner', addPartner_accountId - The Amazon Web Services account ID that owns the cluster.

$sel:clusterIdentifier:AddPartner', addPartner_clusterIdentifier - The cluster identifier of the cluster that receives data from the partner.

$sel:databaseName:AddPartner', addPartner_databaseName - The name of the database that receives data from the partner.

$sel:partnerName: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
Eq PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Read PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Show 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 #

NFData PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

Hashable PartnerIntegrationOutputMessage Source # 
Instance details

Defined in Amazonka.Redshift.Types.PartnerIntegrationOutputMessage

FromXML 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" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "PartnerIntegrationOutputMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "partnerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "databaseName") '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:partnerName:PartnerIntegrationOutputMessage', partnerIntegrationOutputMessage_partnerName - The name of the partner that is authorized to send data.

$sel:databaseName:PartnerIntegrationOutputMessage', partnerIntegrationOutputMessage_databaseName - The name of the database that receives data from the partner.

Response Lenses

partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text) Source #

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

partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text) Source #

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