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 async fn customize(
self
) -> Result<CustomizableOperation<AuthorizeDataShare, AwsResponseRetryClassifier>, SdkError<AuthorizeDataShareError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AuthorizeDataShare, AwsResponseRetryClassifier>, SdkError<AuthorizeDataShareError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AuthorizeDataShareOutput, SdkError<AuthorizeDataShareError>>
pub async fn send( self ) -> Result<AuthorizeDataShareOutput, SdkError<AuthorizeDataShareError>>
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.
The Amazon Resource Name (ARN) of the datashare that producers are to authorize sharing for.
The Amazon Resource Name (ARN) of the datashare 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.
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