list_rule_groups_namespaces
¶
list_rule_groups_namespaces(
workspace_id: WorkspaceId,
*,
config_overrides: Optional[ampClientConfig] = None,
name: Optional[RuleGroupsNamespaceName] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[int] = None,
) -> ListRuleGroupsNamespacesResponse
Returns a list of rule groups namespaces in a workspace.
Parameters:
-
workspace_id(WorkspaceId) –The ID of the workspace containing the rule groups namespaces.
-
name(Optional[RuleGroupsNamespaceName], default:None) –Use this parameter to filter the rule groups namespaces that are returned. Only the namespaces with names that begin with the value that you specify are returned.
-
next_token(Optional[PaginationToken], default:None) –The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has
maxResultsof 10, and there are 12 rule groups namespaces to return, then your initial request will return 10 and anextToken. Using the next token in a subsequent call will return the remaining 2 namespaces. -
max_results(Optional[int], default:None) –The maximum number of results to return. The default is 100.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The request references a resources that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amp/_services/amp.py
2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 | |