#[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>>,
}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.
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) -> Option<&[ResourcePermission]>
pub fn permissions(&self) -> Option<&[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.
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<CreateFolderInput> for CreateFolderInput
impl PartialEq<CreateFolderInput> 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 ==.