list_associations
¶
list_associations(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 | |