list_policies
async
¶
list_policies(
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
marker: Optional[Marker] = None,
page_size: Optional[PageSize] = None,
ascending_order: Optional[AscendingOrder] = None,
) -> ListPoliciesResponse
Lists your policies.
Requires permission to access the ListPolicies action.
Parameters:
-
marker(Optional[Marker], default:None) –The marker for the next set of results.
-
page_size(Optional[PageSize], default:None) –The result page size.
-
ascending_order(Optional[AscendingOrder], default:None) –Specifies the order for results. If true, the results are returned in ascending creation order.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 | |