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

Description

From a datashare consumer account, rejects the specified datashare.

Synopsis

Creating a Request

data RejectDataShare Source #

See: newRejectDataShare smart constructor.

Constructors

RejectDataShare' 

Fields

Instances

Instances details
ToHeaders RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

ToPath RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

ToQuery RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

AWSRequest RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

Associated Types

type AWSResponse RejectDataShare #

Generic RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

Associated Types

type Rep RejectDataShare :: Type -> Type #

Read RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

Show RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

NFData RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

Methods

rnf :: RejectDataShare -> () #

Eq RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

Hashable RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

type AWSResponse RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

type Rep RejectDataShare Source # 
Instance details

Defined in Amazonka.Redshift.RejectDataShare

type Rep RejectDataShare = D1 ('MetaData "RejectDataShare" "Amazonka.Redshift.RejectDataShare" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "RejectDataShare'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRejectDataShare Source #

Create a value of RejectDataShare 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:

RejectDataShare, rejectDataShare_dataShareArn - The Amazon Resource Name (ARN) of the datashare to reject.

Request Lenses

rejectDataShare_dataShareArn :: Lens' RejectDataShare Text Source #

The Amazon Resource Name (ARN) of the datashare to reject.

Destructuring the Response

data DataShare Source #

See: newDataShare smart constructor.

Constructors

DataShare' 

Fields

Instances

Instances details
FromXML 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 #

Read DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Show DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

NFData DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Methods

rnf :: DataShare -> () #

Eq DataShare Source # 
Instance details

Defined in Amazonka.Redshift.Types.DataShare

Hashable 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" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DataShare'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowPubliclyAccessibleConsumers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "dataShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataShareAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataShareAssociation])) :*: (S1 ('MetaSel ('Just "managedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "producerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:allowPubliclyAccessibleConsumers:DataShare', dataShare_allowPubliclyAccessibleConsumers - A value that specifies whether the datashare can be shared to a publicly accessible cluster.

$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:dataShareAssociations:DataShare', dataShare_dataShareAssociations - A value that specifies when the datashare has an association between producer and data consumers.

$sel:managedBy:DataShare', dataShare_managedBy - The identifier of a datashare to show its managing entity.

$sel:producerArn:DataShare', dataShare_producerArn - The Amazon Resource Name (ARN) of the producer.

Response Lenses

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

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

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_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation]) Source #

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

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

The identifier of a datashare to show its managing entity.

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

The Amazon Resource Name (ARN) of the producer.