Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
From the producer account, removes authorization from the specified datashare.
Synopsis
- data DeauthorizeDataShare = DeauthorizeDataShare' {}
- newDeauthorizeDataShare :: Text -> Text -> DeauthorizeDataShare
- deauthorizeDataShare_dataShareArn :: Lens' DeauthorizeDataShare Text
- deauthorizeDataShare_consumerIdentifier :: Lens' DeauthorizeDataShare Text
- data DataShare = DataShare' {}
- newDataShare :: DataShare
- dataShare_producerArn :: Lens' DataShare (Maybe Text)
- dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
- dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
- dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
Creating a Request
data DeauthorizeDataShare Source #
See: newDeauthorizeDataShare
smart constructor.
DeauthorizeDataShare' | |
|
Instances
newDeauthorizeDataShare Source #
:: Text | |
-> Text | |
-> DeauthorizeDataShare |
Create a value of DeauthorizeDataShare
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:dataShareArn:DeauthorizeDataShare'
, deauthorizeDataShare_dataShareArn
- The Amazon Resource Name (ARN) of the datashare to remove authorization
from.
$sel:consumerIdentifier:DeauthorizeDataShare'
, deauthorizeDataShare_consumerIdentifier
- The identifier of the data consumer that is to have authorization
removed from the datashare. This identifier is an AWS account ID.
Request Lenses
deauthorizeDataShare_dataShareArn :: Lens' DeauthorizeDataShare Text Source #
The Amazon Resource Name (ARN) of the datashare to remove authorization from.
deauthorizeDataShare_consumerIdentifier :: Lens' DeauthorizeDataShare Text Source #
The identifier of the data consumer that is to have authorization removed from the datashare. This identifier is an AWS account ID.
Destructuring the Response
See: newDataShare
smart constructor.
DataShare' | |
|
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: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.