Module Values_1.CreateFolderRequestSource

Creates an empty shared folder.

Sourcetype nonrec t = {
  1. awsAccountId : AwsAccountId.t;
    (*

    The ID for the Amazon Web Services account where you want to create the folder.

    *)
  2. folderId : Values_0.RestrictiveResourceId.t;
    (*

    The ID of the folder.

    *)
  3. name : FolderName.t option;
    (*

    The name of the folder.

    *)
  4. folderType : FolderType.t option;
    (*

    The type of folder. By default, folderType is SHARED.

    *)
  5. parentFolderArn : Values_0.Arn.t option;
    (*

    The Amazon Resource Name (ARN) for the parent folder. ParentFolderArn can be null. An empty parentFolderArn creates a root-level folder.

    *)
  6. permissions : ResourcePermissionList.t option;
    (*

    A structure that describes the principals and the resource-level permissions of a folder. To specify no permissions, omit Permissions.

    *)
  7. tags : TagList.t option;
    (*

    Tags for the folder.

    *)
  8. sharingModel : SharingModel.t option;
    (*

    An optional parameter that determines the sharing scope of the folder. The default value for this parameter is ACCOUNT.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?folderType:??? -> ?parentFolderArn:??? -> ?permissions:??? -> ?tags:??? -> ?sharingModel:??? -> awsAccountId:AwsAccountId.t -> folderId:Values_0.RestrictiveResourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of Principal.t ]) list ] list | `String of AwsAccountId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t