#[non_exhaustive]pub struct CreateFolderInput {
pub aws_account_id: Option<String>,
pub folder_id: Option<String>,
pub name: Option<String>,
pub folder_type: Option<FolderType>,
pub parent_folder_arn: Option<String>,
pub permissions: Option<Vec<ResourcePermission>>,
pub tags: Option<Vec<Tag>>,
pub sharing_model: Option<SharingModel>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aws_account_id: Option<String>The ID for the Amazon Web Services account where you want to create the folder.
folder_id: Option<String>The ID of the folder.
name: Option<String>The name of the folder.
folder_type: Option<FolderType>The type of folder. By default, folderType is SHARED.
parent_folder_arn: Option<String>The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.
permissions: Option<Vec<ResourcePermission>>A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
Tags for the folder.
sharing_model: Option<SharingModel>An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.
Implementations§
source§impl CreateFolderInput
impl CreateFolderInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID for the Amazon Web Services account where you want to create the folder.
sourcepub fn folder_type(&self) -> Option<&FolderType>
pub fn folder_type(&self) -> Option<&FolderType>
The type of folder. By default, folderType is SHARED.
sourcepub fn parent_folder_arn(&self) -> Option<&str>
pub fn parent_folder_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the parent folder.
ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.
sourcepub fn permissions(&self) -> &[ResourcePermission]
pub fn permissions(&self) -> &[ResourcePermission]
A structure that describes the principals and the resource-level permissions of a folder.
To specify no permissions, omit Permissions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none().
Tags for the folder.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
sourcepub fn sharing_model(&self) -> Option<&SharingModel>
pub fn sharing_model(&self) -> Option<&SharingModel>
An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.
source§impl CreateFolderInput
impl CreateFolderInput
sourcepub fn builder() -> CreateFolderInputBuilder
pub fn builder() -> CreateFolderInputBuilder
Creates a new builder-style object to manufacture CreateFolderInput.
Trait Implementations§
source§impl Clone for CreateFolderInput
impl Clone for CreateFolderInput
source§fn clone(&self) -> CreateFolderInput
fn clone(&self) -> CreateFolderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFolderInput
impl Debug for CreateFolderInput
source§impl PartialEq for CreateFolderInput
impl PartialEq for CreateFolderInput
source§fn eq(&self, other: &CreateFolderInput) -> bool
fn eq(&self, other: &CreateFolderInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateFolderInput
Auto Trait Implementations§
impl Freeze for CreateFolderInput
impl RefUnwindSafe for CreateFolderInput
impl Send for CreateFolderInput
impl Sync for CreateFolderInput
impl Unpin for CreateFolderInput
impl UnwindSafe for CreateFolderInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more