describe_folder_contents
async
¶
describe_folder_contents(
folder_id: ResourceIdType,
*,
config_overrides: Optional[AsyncWorkDocsClientConfig] = None,
authentication_token: Optional[AuthenticationHeaderType] = None,
sort: Optional[ResourceSortType] = None,
order: Optional[OrderType] = None,
limit: Optional[LimitType] = None,
marker: Optional[PageMarkerType] = None,
type: Optional[FolderContentType] = None,
include: Optional[FieldNamesType] = None,
) -> DescribeFolderContentsResponse
Describes the contents of the specified folder, including its documents and subfolders.
By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.
Parameters:
-
authentication_token(Optional[AuthenticationHeaderType], default:None) –Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
-
folder_id(ResourceIdType) –The ID of the folder.
-
sort(Optional[ResourceSortType], default:None) –The sorting criteria.
-
order(Optional[OrderType], default:None) –The order for the contents of the folder.
-
limit(Optional[LimitType], default:None) –The maximum number of items to return with this call.
-
marker(Optional[PageMarkerType], default:None) –The marker for the next set of results. This marker was received from a previous call.
-
type(Optional[FolderContentType], default:None) –The type of items.
-
include(Optional[FieldNamesType], default:None) –The contents to include. Specify "INITIALIZED" to include initialized documents.
Raises:
-
EntityNotExistsException–The resource does not exist.
-
FailedDependencyException–The Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
-
InvalidArgumentException–The pagination marker or limit fields are not valid.
-
ProhibitedStateException–The specified document version is not in the INITIALIZED state.
-
ServiceUnavailableException–One or more of the dependencies is unavailable.
-
UnauthorizedResourceAccessException–The caller does not have access to perform the action on the resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workdocs/_services/async_work_docs.py
2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 | |