list_connections
async
¶
list_connections(
domain_identifier: DomainId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
sort_by: Optional[SortFieldConnection] = None,
sort_order: Optional[SortOrder] = None,
name: Optional[ConnectionName] = None,
environment_identifier: Optional[EnvironmentId] = None,
project_identifier: Optional[ProjectId] = None,
type: Optional[ConnectionType] = None,
scope: Optional[ConnectionScope] = None,
) -> ListConnectionsOutput
Lists connections. In Amazon DataZone, a connection enables you to connect your resources (domains, projects, and environments) to external resources and services.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where you want to list connections.
-
max_results(Optional[MaxResults], default:None) –The maximum number of connections to return in a single call to ListConnections. When the number of connections to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListConnections to list the next set of connections.
-
next_token(Optional[PaginationToken], default:None) –When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.
-
sort_by(Optional[SortFieldConnection], default:None) –Specifies how you want to sort the listed connections.
-
sort_order(Optional[SortOrder], default:None) –Specifies the sort order for the listed connections.
-
name(Optional[ConnectionName], default:None) –The name of the connection.
-
environment_identifier(Optional[EnvironmentId], default:None) –The ID of the environment where you want to list connections.
-
project_identifier(Optional[ProjectId], default:None) –The ID of the project where you want to list connections.
-
type(Optional[ConnectionType], default:None) –The type of connection.
-
scope(Optional[ConnectionScope], default:None) –The scope of the connection.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 | |