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
17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 | |