Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 17 additions & 37 deletions sample/sagemaker/2017-07-24/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9707,10 +9707,7 @@
},
"CreateClusterRequest":{
"type":"structure",
"required":[
"ClusterName",
"InstanceGroups"
],
"required":["ClusterName"],
"members":{
"ClusterName":{
"shape":"ClusterName",
Expand Down Expand Up @@ -13421,8 +13418,7 @@
},
"DeleteFlowDefinitionResponse":{
"type":"structure",
"members":{
}
"members":{}
},
"DeleteHubContentReferenceRequest":{
"type":"structure",
Expand Down Expand Up @@ -13495,8 +13491,7 @@
},
"DeleteHumanTaskUiResponse":{
"type":"structure",
"members":{
}
"members":{}
},
"DeleteHyperParameterTuningJobRequest":{
"type":"structure",
Expand All @@ -13520,8 +13515,7 @@
},
"DeleteImageResponse":{
"type":"structure",
"members":{
}
"members":{}
},
"DeleteImageVersionRequest":{
"type":"structure",
Expand All @@ -13543,8 +13537,7 @@
},
"DeleteImageVersionResponse":{
"type":"structure",
"members":{
}
"members":{}
},
"DeleteInferenceComponentInput":{
"type":"structure",
Expand Down Expand Up @@ -13822,8 +13815,7 @@
},
"DeleteTagsOutput":{
"type":"structure",
"members":{
}
"members":{}
},
"DeleteTrialComponentRequest":{
"type":"structure",
Expand Down Expand Up @@ -13892,8 +13884,7 @@
},
"DeleteWorkforceResponse":{
"type":"structure",
"members":{
}
"members":{}
},
"DeleteWorkteamRequest":{
"type":"structure",
Expand Down Expand Up @@ -19180,13 +19171,11 @@
"DisableProfiler":{"type":"boolean"},
"DisableSagemakerServicecatalogPortfolioInput":{
"type":"structure",
"members":{
}
"members":{}
},
"DisableSagemakerServicecatalogPortfolioOutput":{
"type":"structure",
"members":{
}
"members":{}
},
"DisassociateAdditionalCodeRepositories":{"type":"boolean"},
"DisassociateDefaultCodeRepository":{"type":"boolean"},
Expand Down Expand Up @@ -20033,13 +20022,11 @@
},
"EnableSagemakerServicecatalogPortfolioInput":{
"type":"structure",
"members":{
}
"members":{}
},
"EnableSagemakerServicecatalogPortfolioOutput":{
"type":"structure",
"members":{
}
"members":{}
},
"EnableSessionTagChaining":{
"type":"boolean",
Expand Down Expand Up @@ -21556,8 +21543,7 @@
},
"GetSagemakerServicecatalogPortfolioStatusInput":{
"type":"structure",
"members":{
}
"members":{}
},
"GetSagemakerServicecatalogPortfolioStatusOutput":{
"type":"structure",
Expand Down Expand Up @@ -25649,7 +25635,7 @@
},
"MaxResults":{
"shape":"MaxResults",
"documentation":"<p>Set the maximum number of SageMaker HyperPod clusters to list.</p>"
"documentation":"<p>Specifies the maximum number of clusters to evaluate for the operation (not necessarily the number of matching items). After SageMaker processes the number of clusters up to <code>MaxResults</code>, it stops the operation and returns the matching clusters up to that point. If all the matching clusters are desired, SageMaker will go through all the clusters until <code>NextToken</code> is empty.</p>"
},
"NameContains":{
"shape":"NameContains",
Expand Down Expand Up @@ -31857,8 +31843,7 @@
},
"MonitoringParquetDatasetFormat":{
"type":"structure",
"members":{
},
"members":{},
"documentation":"<p>Represents the Parquet dataset format used when running a monitoring job.</p>"
},
"MonitoringProblemType":{
Expand Down Expand Up @@ -41700,10 +41685,7 @@
},
"UpdateClusterRequest":{
"type":"structure",
"required":[
"ClusterName",
"InstanceGroups"
],
"required":["ClusterName"],
"members":{
"ClusterName":{
"shape":"ClusterNameOrArn",
Expand Down Expand Up @@ -42794,13 +42776,11 @@
},
"UpdateNotebookInstanceLifecycleConfigOutput":{
"type":"structure",
"members":{
}
"members":{}
},
"UpdateNotebookInstanceOutput":{
"type":"structure",
"members":{
}
"members":{}
},
"UpdatePartnerAppRequest":{
"type":"structure",
Expand Down
6 changes: 3 additions & 3 deletions src/sagemaker_core/main/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -3275,7 +3275,7 @@ def wrapper(*args, **kwargs):
def create(
cls,
cluster_name: str,
instance_groups: List[shapes.ClusterInstanceGroupSpecification],
instance_groups: Optional[List[shapes.ClusterInstanceGroupSpecification]] = Unassigned(),
vpc_config: Optional[shapes.VpcConfig] = Unassigned(),
tags: Optional[List[shapes.Tag]] = Unassigned(),
orchestrator: Optional[shapes.ClusterOrchestrator] = Unassigned(),
Expand Down Expand Up @@ -3437,7 +3437,7 @@ def refresh(
@Base.add_validate_call
def update(
self,
instance_groups: List[shapes.ClusterInstanceGroupSpecification],
instance_groups: Optional[List[shapes.ClusterInstanceGroupSpecification]] = Unassigned(),
node_recovery: Optional[str] = Unassigned(),
instance_groups_to_delete: Optional[List[str]] = Unassigned(),
) -> Optional["Cluster"]:
Expand Down Expand Up @@ -3664,7 +3664,7 @@ def get_all(
Parameters:
creation_time_after: Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard. Acceptable formats include: YYYY-MM-DDThh:mm:ss.sssTZD (UTC), for example, 2014-10-01T20:30:00.000Z YYYY-MM-DDThh:mm:ss.sssTZD (with offset), for example, 2014-10-01T12:30:00.000-08:00 YYYY-MM-DD, for example, 2014-10-01 Unix time in seconds, for example, 1412195400. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
creation_time_before: Set an end time for the time range during which you want to list SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker HyperPod cluster created before the specified time. The acceptable formats are the same as the timestamp formats for CreationTimeAfter. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
max_results: Set the maximum number of SageMaker HyperPod clusters to list.
max_results: Specifies the maximum number of clusters to evaluate for the operation (not necessarily the number of matching items). After SageMaker processes the number of clusters up to MaxResults, it stops the operation and returns the matching clusters up to that point. If all the matching clusters are desired, SageMaker will go through all the clusters until NextToken is empty.
name_contains: Set the maximum number of instances to print in the list.
next_token: Set the next token to retrieve the list of SageMaker HyperPod clusters.
sort_by: The field by which to sort results. The default value is CREATION_TIME.
Expand Down
Loading