| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Redshift.DisassociateDataShareConsumer
Description
From a datashare consumer account, remove association for the specified datashare.
Synopsis
- data DisassociateDataShareConsumer = DisassociateDataShareConsumer' {}
- newDisassociateDataShareConsumer :: Text -> DisassociateDataShareConsumer
- disassociateDataShareConsumer_consumerArn :: Lens' DisassociateDataShareConsumer (Maybe Text)
- disassociateDataShareConsumer_consumerRegion :: Lens' DisassociateDataShareConsumer (Maybe Text)
- disassociateDataShareConsumer_disassociateEntireAccount :: Lens' DisassociateDataShareConsumer (Maybe Bool)
- disassociateDataShareConsumer_dataShareArn :: Lens' DisassociateDataShareConsumer Text
- data DataShare = DataShare' {}
- newDataShare :: DataShare
- dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
- dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
- dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
- dataShare_managedBy :: Lens' DataShare (Maybe Text)
- dataShare_producerArn :: Lens' DataShare (Maybe Text)
Creating a Request
data DisassociateDataShareConsumer Source #
See: newDisassociateDataShareConsumer smart constructor.
Constructors
| DisassociateDataShareConsumer' | |
Fields
| |
Instances
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:consumerArn:DisassociateDataShareConsumer', disassociateDataShareConsumer_consumerArn - The Amazon Resource Name (ARN) of the consumer that association for the
datashare is removed from.
DisassociateDataShareConsumer, disassociateDataShareConsumer_consumerRegion - From a datashare consumer account, removes association of a datashare
from all the existing and future namespaces in the specified Amazon Web
Services Region.
$sel:disassociateEntireAccount:DisassociateDataShareConsumer', disassociateDataShareConsumer_disassociateEntireAccount - A value that specifies whether association for the datashare is removed
from the entire account.
DisassociateDataShareConsumer, disassociateDataShareConsumer_dataShareArn - The Amazon Resource Name (ARN) of the datashare to remove association
for.
Request Lenses
disassociateDataShareConsumer_consumerArn :: Lens' DisassociateDataShareConsumer (Maybe Text) Source #
The Amazon Resource Name (ARN) of the consumer that association for the datashare is removed from.
disassociateDataShareConsumer_consumerRegion :: Lens' DisassociateDataShareConsumer (Maybe Text) Source #
From a datashare consumer account, removes association of a datashare from all the existing and future namespaces in the specified Amazon Web Services Region.
disassociateDataShareConsumer_disassociateEntireAccount :: Lens' DisassociateDataShareConsumer (Maybe Bool) Source #
A value that specifies whether association for the datashare is removed from the entire account.
disassociateDataShareConsumer_dataShareArn :: Lens' DisassociateDataShareConsumer Text Source #
The Amazon Resource Name (ARN) of the datashare to remove association for.
Destructuring the Response
See: newDataShare smart constructor.
Constructors
| DataShare' | |
Fields
| |
Instances
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.