| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMaker.ListAssociations
Description
Lists the associations in your account and their properties.
This operation returns paginated results.
Synopsis
- data ListAssociations = ListAssociations' {
- associationType :: Maybe AssociationEdgeType
- createdAfter :: Maybe POSIX
- createdBefore :: Maybe POSIX
- destinationArn :: Maybe Text
- destinationType :: Maybe Text
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- sortBy :: Maybe SortAssociationsBy
- sortOrder :: Maybe SortOrder
- sourceArn :: Maybe Text
- sourceType :: Maybe Text
- newListAssociations :: ListAssociations
- listAssociations_associationType :: Lens' ListAssociations (Maybe AssociationEdgeType)
- listAssociations_createdAfter :: Lens' ListAssociations (Maybe UTCTime)
- listAssociations_createdBefore :: Lens' ListAssociations (Maybe UTCTime)
- listAssociations_destinationArn :: Lens' ListAssociations (Maybe Text)
- listAssociations_destinationType :: Lens' ListAssociations (Maybe Text)
- listAssociations_maxResults :: Lens' ListAssociations (Maybe Natural)
- listAssociations_nextToken :: Lens' ListAssociations (Maybe Text)
- listAssociations_sortBy :: Lens' ListAssociations (Maybe SortAssociationsBy)
- listAssociations_sortOrder :: Lens' ListAssociations (Maybe SortOrder)
- listAssociations_sourceArn :: Lens' ListAssociations (Maybe Text)
- listAssociations_sourceType :: Lens' ListAssociations (Maybe Text)
- data ListAssociationsResponse = ListAssociationsResponse' {}
- newListAssociationsResponse :: Int -> ListAssociationsResponse
- listAssociationsResponse_associationSummaries :: Lens' ListAssociationsResponse (Maybe [AssociationSummary])
- listAssociationsResponse_nextToken :: Lens' ListAssociationsResponse (Maybe Text)
- listAssociationsResponse_httpStatus :: Lens' ListAssociationsResponse Int
Creating a Request
data ListAssociations Source #
See: newListAssociations smart constructor.
Constructors
| ListAssociations' | |
Fields
| |
Instances
newListAssociations :: ListAssociations Source #
Create a value of ListAssociations with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListAssociations, listAssociations_associationType - A filter that returns only associations of the specified type.
ListAssociations, listAssociations_createdAfter - A filter that returns only associations created on or after the
specified time.
ListAssociations, listAssociations_createdBefore - A filter that returns only associations created on or before the
specified time.
ListAssociations, listAssociations_destinationArn - A filter that returns only associations with the specified destination
Amazon Resource Name (ARN).
ListAssociations, listAssociations_destinationType - A filter that returns only associations with the specified destination
type.
$sel:maxResults:ListAssociations', listAssociations_maxResults - The maximum number of associations to return in the response. The
default value is 10.
ListAssociations, listAssociations_nextToken - If the previous call to ListAssociations didn't return the full set
of associations, the call returns a token for getting the next set of
associations.
$sel:sortBy:ListAssociations', listAssociations_sortBy - The property used to sort results. The default value is CreationTime.
$sel:sortOrder:ListAssociations', listAssociations_sortOrder - The sort order. The default value is Descending.
ListAssociations, listAssociations_sourceArn - A filter that returns only associations with the specified source ARN.
ListAssociations, listAssociations_sourceType - A filter that returns only associations with the specified source type.
Request Lenses
listAssociations_associationType :: Lens' ListAssociations (Maybe AssociationEdgeType) Source #
A filter that returns only associations of the specified type.
listAssociations_createdAfter :: Lens' ListAssociations (Maybe UTCTime) Source #
A filter that returns only associations created on or after the specified time.
listAssociations_createdBefore :: Lens' ListAssociations (Maybe UTCTime) Source #
A filter that returns only associations created on or before the specified time.
listAssociations_destinationArn :: Lens' ListAssociations (Maybe Text) Source #
A filter that returns only associations with the specified destination Amazon Resource Name (ARN).
listAssociations_destinationType :: Lens' ListAssociations (Maybe Text) Source #
A filter that returns only associations with the specified destination type.
listAssociations_maxResults :: Lens' ListAssociations (Maybe Natural) Source #
The maximum number of associations to return in the response. The default value is 10.
listAssociations_nextToken :: Lens' ListAssociations (Maybe Text) Source #
If the previous call to ListAssociations didn't return the full set
of associations, the call returns a token for getting the next set of
associations.
listAssociations_sortBy :: Lens' ListAssociations (Maybe SortAssociationsBy) Source #
The property used to sort results. The default value is CreationTime.
listAssociations_sortOrder :: Lens' ListAssociations (Maybe SortOrder) Source #
The sort order. The default value is Descending.
listAssociations_sourceArn :: Lens' ListAssociations (Maybe Text) Source #
A filter that returns only associations with the specified source ARN.
listAssociations_sourceType :: Lens' ListAssociations (Maybe Text) Source #
A filter that returns only associations with the specified source type.
Destructuring the Response
data ListAssociationsResponse Source #
See: newListAssociationsResponse smart constructor.
Constructors
| ListAssociationsResponse' | |
Fields
| |
Instances
newListAssociationsResponse Source #
Create a value of ListAssociationsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associationSummaries:ListAssociationsResponse', listAssociationsResponse_associationSummaries - A list of associations and their properties.
ListAssociations, listAssociationsResponse_nextToken - A token for getting the next set of associations, if there are any.
$sel:httpStatus:ListAssociationsResponse', listAssociationsResponse_httpStatus - The response's http status code.
Response Lenses
listAssociationsResponse_associationSummaries :: Lens' ListAssociationsResponse (Maybe [AssociationSummary]) Source #
A list of associations and their properties.
listAssociationsResponse_nextToken :: Lens' ListAssociationsResponse (Maybe Text) Source #
A token for getting the next set of associations, if there are any.
listAssociationsResponse_httpStatus :: Lens' ListAssociationsResponse Int Source #
The response's http status code.