#[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 ==
.