#[non_exhaustive]pub struct UpdateDataSetPermissionsInput { /* private fields */ }Implementations§
source§impl UpdateDataSetPermissionsInput
impl UpdateDataSetPermissionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDataSetPermissions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDataSetPermissions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDataSetPermissions>
Examples found in repository?
src/client.rs (line 14134)
14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDataSetPermissions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDataSetPermissionsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateDataSetPermissionsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDataSetPermissionsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDataSetPermissionsInput.
source§impl UpdateDataSetPermissionsInput
impl UpdateDataSetPermissionsInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID.
sourcepub fn data_set_id(&self) -> Option<&str>
pub fn data_set_id(&self) -> Option<&str>
The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
sourcepub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
pub fn grant_permissions(&self) -> Option<&[ResourcePermission]>
The resource permissions that you want to grant to the dataset.
sourcepub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
pub fn revoke_permissions(&self) -> Option<&[ResourcePermission]>
The resource permissions that you want to revoke from the dataset.
Trait Implementations§
source§impl Clone for UpdateDataSetPermissionsInput
impl Clone for UpdateDataSetPermissionsInput
source§fn clone(&self) -> UpdateDataSetPermissionsInput
fn clone(&self) -> UpdateDataSetPermissionsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more