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.DisassociateDataShareConsumer

Description

From a consumer account, remove association for the specified datashare.

Synopsis

Creating a Request

data DisassociateDataShareConsumer Source #

See: newDisassociateDataShareConsumer smart constructor.

Constructors

DisassociateDataShareConsumer' 

Fields

  • disassociateEntireAccount :: Maybe Bool

    A value that specifies whether association for the datashare is removed from the entire account.

  • consumerArn :: Maybe Text

    The Amazon Resource Name (ARN) of the consumer that association for the datashare is removed from.

  • dataShareArn :: Text

    The Amazon Resource Name (ARN) of the datashare to remove association for.

Instances

Instances details
Eq DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

Read DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

Show DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

Generic DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

Associated Types

type Rep DisassociateDataShareConsumer :: Type -> Type #

NFData DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

Hashable DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

AWSRequest DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

ToHeaders DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

ToPath DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

ToQuery DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

type Rep DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

type Rep DisassociateDataShareConsumer = D1 ('MetaData "DisassociateDataShareConsumer" "Amazonka.Redshift.DisassociateDataShareConsumer" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DisassociateDataShareConsumer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "disassociateEntireAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "consumerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DisassociateDataShareConsumer Source # 
Instance details

Defined in Amazonka.Redshift.DisassociateDataShareConsumer

newDisassociateDataShareConsumer Source #

Create a value of DisassociateDataShareConsumer 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:disassociateEntireAccount:DisassociateDataShareConsumer', disassociateDataShareConsumer_disassociateEntireAccount - A value that specifies whether association for the datashare is removed from the entire account.

$sel:consumerArn:DisassociateDataShareConsumer', disassociateDataShareConsumer_consumerArn - The Amazon Resource Name (ARN) of the consumer that association for the datashare is removed from.

$sel:dataShareArn:DisassociateDataShareConsumer', disassociateDataShareConsumer_dataShareArn - The Amazon Resource Name (ARN) of the datashare to remove association for.

Request Lenses

disassociateDataShareConsumer_disassociateEntireAccount :: Lens' DisassociateDataShareConsumer (Maybe Bool) Source #

A value that specifies whether association for the datashare is removed from the entire account.

disassociateDataShareConsumer_consumerArn :: Lens' DisassociateDataShareConsumer (Maybe Text) Source #

The Amazon Resource Name (ARN) of the consumer that association for the datashare is removed from.

disassociateDataShareConsumer_dataShareArn :: Lens' DisassociateDataShareConsumer Text Source #

The Amazon Resource Name (ARN) of the datashare to remove association for.

Destructuring the Response

data DataShare Source #

See: newDataShare smart constructor.

Constructors

DataShare' 

Fields

Instances

Instances details
Eq DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Read DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Show DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Generic DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Associated Types

type Rep DataShare :: Type -> Type #

NFData DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Methods

rnf :: DataShare -> () #

Hashable DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

FromXML DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

type Rep DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

type Rep DataShare = D1 ('MetaData "DataShare" "Amazonka.Redshift.Types.DataShare" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DataShare'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "producerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataShareAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataShareAssociation]))) :*: (S1 ('MetaSel ('Just "dataShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allowPubliclyAccessibleConsumers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newDataShare :: DataShare Source #

Create a value of DataShare 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:producerArn:DataShare', dataShare_producerArn - The Amazon Resource Name (ARN) of the producer.

$sel:dataShareAssociations:DataShare', dataShare_dataShareAssociations - A value that specifies when the datashare has an association between a producer and data consumers.

$sel:dataShareArn:DataShare', dataShare_dataShareArn - An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name} format.

$sel:allowPubliclyAccessibleConsumers:DataShare', dataShare_allowPubliclyAccessibleConsumers - A value that specifies whether the datashare can be shared to a publicly accessible cluster.

Response Lenses

dataShare_producerArn :: Lens' DataShare (Maybe Text) Source #

The Amazon Resource Name (ARN) of the producer.

dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation]) Source #

A value that specifies when the datashare has an association between a producer and data consumers.

dataShare_dataShareArn :: Lens' DataShare (Maybe Text) Source #

An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name} format.

dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool) Source #

A value that specifies whether the datashare can be shared to a publicly accessible cluster.