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
18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 | |