aws_sdk_lakeformation/client/batch_grant_permissions.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`BatchGrantPermissions`](crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`catalog_id(impl Into<String>)`](crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.</p><br>
7 /// - [`entries(BatchPermissionsRequestEntry)`](crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder::entries) / [`set_entries(Option<Vec::<BatchPermissionsRequestEntry>>)`](crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder::set_entries):<br>required: **true**<br><p>A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.</p><br>
8 /// - On success, responds with [`BatchGrantPermissionsOutput`](crate::operation::batch_grant_permissions::BatchGrantPermissionsOutput) with field(s):
9 /// - [`failures(Option<Vec::<BatchPermissionsFailureEntry>>)`](crate::operation::batch_grant_permissions::BatchGrantPermissionsOutput::failures): <p>A list of failures to grant permissions to the resources.</p>
10 /// - On failure, responds with [`SdkError<BatchGrantPermissionsError>`](crate::operation::batch_grant_permissions::BatchGrantPermissionsError)
11 pub fn batch_grant_permissions(&self) -> crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder {
12 crate::operation::batch_grant_permissions::builders::BatchGrantPermissionsFluentBuilder::new(self.handle.clone())
13 }
14}