list_pipes
¶
list_pipes(
*,
config_overrides: Optional[PipesClientConfig] = None,
name_prefix: Optional[PipeName] = None,
desired_state: Optional[RequestedPipeState] = None,
current_state: Optional[PipeState] = None,
source_prefix: Optional[ResourceArn] = None,
target_prefix: Optional[ResourceArn] = None,
next_token: Optional[NextToken] = None,
limit: Optional[LimitMax100] = None,
) -> ListPipesResponse
Get the pipes associated with this account. For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.
Parameters:
-
name_prefix(Optional[PipeName], default:None) –A value that will return a subset of the pipes associated with this account. For example,
"NamePrefix": "ABC"will return all endpoints with "ABC" in the name. -
desired_state(Optional[RequestedPipeState], default:None) –The state the pipe should be in.
-
current_state(Optional[PipeState], default:None) –The state the pipe is in.
-
source_prefix(Optional[ResourceArn], default:None) –The prefix matching the pipe source.
-
target_prefix(Optional[ResourceArn], default:None) –The prefix matching the pipe target.
-
next_token(Optional[NextToken], default:None) –If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error. -
limit(Optional[LimitMax100], default:None) –The maximum number of pipes to include in the response.
Raises:
-
InternalException–This exception occurs due to unexpected causes.
-
ThrottlingException–An action was throttled.
-
ValidationException–Indicates that an error has occurred while performing a validate operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pipes/_services/pipes.py
683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 | |