list_spaces
¶
list_spaces(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
sort_order: Optional[SortOrder] = None,
sort_by: Optional[SpaceSortKey] = None,
domain_id_equals: Optional[DomainId] = None,
space_name_contains: Optional[SpaceName] = None,
) -> ListSpacesResponse
Lists spaces.
Parameters:
-
next_token(Optional[NextToken], default:None) –If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
-
max_results(Optional[MaxResults], default:None) –This parameter defines the maximum number of results that can be return in a single response. The
MaxResultsparameter is an upper bound, not a target. If there are more results available than the value specified, aNextTokenis provided in the response. TheNextTokenindicates that the user should get the next set of results by providing this token as a part of a subsequent call. The default value forMaxResultsis 10. -
sort_order(Optional[SortOrder], default:None) –The sort order for the results. The default is
Ascending. -
sort_by(Optional[SpaceSortKey], default:None) –The parameter by which to sort the results. The default is
CreationTime. -
domain_id_equals(Optional[DomainId], default:None) –A parameter to search for the domain ID.
-
space_name_contains(Optional[SpaceName], default:None) –A parameter by which to filter the results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
25033 25034 25035 25036 25037 25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 25050 25051 25052 25053 25054 25055 25056 25057 25058 25059 25060 25061 25062 25063 25064 25065 25066 25067 25068 25069 25070 25071 25072 25073 25074 25075 25076 25077 25078 25079 25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 25095 25096 25097 | |