list_resources
async
¶
list_resources(
organization_id: OrganizationId,
*,
config_overrides: Optional[AsyncWorkMailClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
filters: Optional[ListResourcesFilters] = None,
) -> ListResourcesResponse
Returns summaries of the organization's resources.
Parameters:
-
organization_id(OrganizationId) –The identifier for the organization under which the resources exist.
-
next_token(Optional[NextToken], default:None) –The token to use to retrieve the next page of results. The first call does not contain any tokens.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
-
filters(Optional[ListResourcesFilters], default:None) –Limit the resource search results based on the filter criteria. You can only use one filter per request.
Raises:
-
InvalidParameterException–One or more of the input parameters don't match the service's restrictions.
-
OrganizationNotFoundException–An operation received a valid organization identifier that either doesn't belong or exist in the system.
-
OrganizationStateException–The organization must have a valid state to perform certain operations on the organization or its members.
-
UnsupportedOperationException–You can't perform a write operation against a read-only directory.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workmail/_services/async_work_mail.py
4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 | |