list_policies
¶
list_policies(
*,
config_overrides: Optional[IoTClientConfig] = 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/io_t.py
12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 | |