Lists the associations in your account and their properties¶
Description¶
Lists the associations in your account and their properties.
Usage¶
sagemaker_list_associations(SourceArn, DestinationArn, SourceType,
DestinationType, AssociationType, CreatedAfter, CreatedBefore, SortBy,
SortOrder, NextToken, MaxResults)
Arguments¶
-
SourceArnA filter that returns only associations with the specified source ARN.
-
DestinationArnA filter that returns only associations with the specified destination Amazon Resource Name (ARN).
-
SourceTypeA filter that returns only associations with the specified source type.
-
DestinationTypeA filter that returns only associations with the specified destination type.
-
AssociationTypeA filter that returns only associations of the specified type.
-
CreatedAfterA filter that returns only associations created on or after the specified time.
-
CreatedBeforeA filter that returns only associations created on or before the specified time.
-
SortByThe property used to sort results. The default value is
CreationTime. -
SortOrderThe sort order. The default value is
Descending. -
NextTokenIf the previous call to
list_associationsdidn't return the full set of associations, the call returns a token for getting the next set of associations. -
MaxResultsThe maximum number of associations to return in the response. The default value is 10.
Value¶
A list with the following syntax:
list(
AssociationSummaries = list(
list(
SourceArn = "string",
DestinationArn = "string",
SourceType = "string",
DestinationType = "string",
AssociationType = "ContributedTo"|"AssociatedWith"|"DerivedFrom"|"Produced"|"SameAs",
SourceName = "string",
DestinationName = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
CreatedBy = list(
UserProfileArn = "string",
UserProfileName = "string",
DomainId = "string",
IamIdentity = list(
Arn = "string",
PrincipalId = "string",
SourceIdentity = "string"
)
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_associations(
SourceArn = "string",
DestinationArn = "string",
SourceType = "string",
DestinationType = "string",
AssociationType = "ContributedTo"|"AssociatedWith"|"DerivedFrom"|"Produced"|"SameAs",
CreatedAfter = as.POSIXct(
"2015-01-01"
),
CreatedBefore = as.POSIXct(
"2015-01-01"
),
SortBy = "SourceArn"|"DestinationArn"|"SourceType"|"DestinationType"|"CreationTime",
SortOrder = "Ascending"|"Descending",
NextToken = "string",
MaxResults = 123
)