list_associations
async
¶
list_associations(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
source_arn: Optional[AssociationEntityArn] = None,
destination_arn: Optional[AssociationEntityArn] = None,
source_type: Optional[String256] = None,
destination_type: Optional[String256] = None,
association_type: Optional[AssociationEdgeType] = None,
created_after: Optional[Timestamp] = None,
created_before: Optional[Timestamp] = None,
sort_by: Optional[SortAssociationsBy] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListAssociationsResponse
Lists the associations in your account and their properties.
Parameters:
-
source_arn(Optional[AssociationEntityArn], default:None) –A filter that returns only associations with the specified source ARN.
-
destination_arn(Optional[AssociationEntityArn], default:None) –A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
-
source_type(Optional[String256], default:None) –A filter that returns only associations with the specified source type.
-
destination_type(Optional[String256], default:None) –A filter that returns only associations with the specified destination type.
-
association_type(Optional[AssociationEdgeType], default:None) –A filter that returns only associations of the specified type.
-
created_after(Optional[Timestamp], default:None) –A filter that returns only associations created on or after the specified time.
-
created_before(Optional[Timestamp], default:None) –A filter that returns only associations created on or before the specified time.
-
sort_by(Optional[SortAssociationsBy], default:None) –The property used to sort results. The default value is
CreationTime. -
sort_order(Optional[SortOrder], default:None) –The sort order. The default value is
Descending. -
next_token(Optional[NextToken], default:None) –If the previous call to
ListAssociationsdidn't return the full set of associations, the call returns a token for getting the next set of associations. -
max_results(Optional[MaxResults], default:None) –The maximum number of associations to return in the response. The default value is 10.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 | |