Struct aws_sdk_redshift::operation::authorize_data_share::builders::AuthorizeDataShareFluentBuilder
source · pub struct AuthorizeDataShareFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AuthorizeDataShare
.
From a data producer account, authorizes the sharing of a datashare with one or more consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account must have the correct access permissions.
Implementations§
sourcepub fn as_input(&self) -> &AuthorizeDataShareInputBuilder
pub fn as_input(&self) -> &AuthorizeDataShareInputBuilder
Access the AuthorizeDataShare as a reference.
sourcepub async fn send(
self
) -> Result<AuthorizeDataShareOutput, SdkError<AuthorizeDataShareError, HttpResponse>>
pub async fn send( self ) -> Result<AuthorizeDataShareOutput, SdkError<AuthorizeDataShareError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AuthorizeDataShareOutput, AuthorizeDataShareError, Self>
pub fn customize( self ) -> CustomizableOperation<AuthorizeDataShareOutput, AuthorizeDataShareError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize sharing for.
sourcepub fn consumer_identifier(self, input: impl Into<String>) -> Self
pub fn consumer_identifier(self, input: impl Into<String>) -> Self
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
sourcepub fn set_consumer_identifier(self, input: Option<String>) -> Self
pub fn set_consumer_identifier(self, input: Option<String>) -> Self
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
sourcepub fn get_consumer_identifier(&self) -> &Option<String>
pub fn get_consumer_identifier(&self) -> &Option<String>
The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.
sourcepub fn allow_writes(self, input: bool) -> Self
pub fn allow_writes(self, input: bool) -> Self
If set to true, allows write operations for a datashare.
sourcepub fn set_allow_writes(self, input: Option<bool>) -> Self
pub fn set_allow_writes(self, input: Option<bool>) -> Self
If set to true, allows write operations for a datashare.
sourcepub fn get_allow_writes(&self) -> &Option<bool>
pub fn get_allow_writes(&self) -> &Option<bool>
If set to true, allows write operations for a datashare.
Trait Implementations§
source§fn clone(&self) -> AuthorizeDataShareFluentBuilder
fn clone(&self) -> AuthorizeDataShareFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more