Skip to content

Commit 9f77114

Browse files
Changes include new StartSession API for SageMaker Studio spaces and CreateHubContentPresignedUrls API for SageMaker JumpStart.
1 parent 39a670e commit 9f77114

31 files changed

+2243
-9
lines changed

generator/ServiceModels/sagemaker/sagemaker-2017-07-24.api.json

Lines changed: 116 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,15 @@
376376
{"shape":"ResourceLimitExceeded"}
377377
]
378378
},
379+
"CreateHubContentPresignedUrls":{
380+
"name":"CreateHubContentPresignedUrls",
381+
"http":{
382+
"method":"POST",
383+
"requestUri":"/"
384+
},
385+
"input":{"shape":"CreateHubContentPresignedUrlsRequest"},
386+
"output":{"shape":"CreateHubContentPresignedUrlsResponse"}
387+
},
379388
"CreateHubContentReference":{
380389
"name":"CreateHubContentReference",
381390
"http":{
@@ -3340,6 +3349,19 @@
33403349
{"shape":"ResourceLimitExceeded"}
33413350
]
33423351
},
3352+
"StartSession":{
3353+
"name":"StartSession",
3354+
"http":{
3355+
"method":"POST",
3356+
"requestUri":"/"
3357+
},
3358+
"input":{"shape":"StartSessionRequest"},
3359+
"output":{"shape":"StartSessionResponse"},
3360+
"errors":[
3361+
{"shape":"ResourceNotFound"},
3362+
{"shape":"ResourceLimitExceeded"}
3363+
]
3364+
},
33433365
"StopAutoMLJob":{
33443366
"name":"StopAutoMLJob",
33453367
"http":{
@@ -5002,6 +5024,17 @@
50025024
"min":0,
50035025
"pattern":".*"
50045026
},
5027+
"AuthorizedUrl":{
5028+
"type":"structure",
5029+
"members":{
5030+
"Url":{"shape":"LongS3Uri"},
5031+
"LocalPath":{"shape":"LocalPath"}
5032+
}
5033+
},
5034+
"AuthorizedUrlConfigs":{
5035+
"type":"list",
5036+
"member":{"shape":"AuthorizedUrl"}
5037+
},
50055038
"AutoGenerateEndpointName":{"type":"boolean"},
50065039
"AutoMLAlgorithm":{
50075040
"type":"string",
@@ -7832,9 +7865,7 @@
78327865
"required":[
78337866
"DomainName",
78347867
"AuthMode",
7835-
"DefaultUserSettings",
7836-
"SubnetIds",
7837-
"VpcId"
7868+
"DefaultUserSettings"
78387869
],
78397870
"members":{
78407871
"DomainName":{"shape":"DomainName"},
@@ -8036,6 +8067,31 @@
80368067
"FlowDefinitionArn":{"shape":"FlowDefinitionArn"}
80378068
}
80388069
},
8070+
"CreateHubContentPresignedUrlsRequest":{
8071+
"type":"structure",
8072+
"required":[
8073+
"HubName",
8074+
"HubContentType",
8075+
"HubContentName"
8076+
],
8077+
"members":{
8078+
"HubName":{"shape":"HubNameOrArn"},
8079+
"HubContentType":{"shape":"HubContentType"},
8080+
"HubContentName":{"shape":"HubContentName"},
8081+
"HubContentVersion":{"shape":"HubContentVersion"},
8082+
"AccessConfig":{"shape":"PresignedUrlAccessConfig"},
8083+
"MaxResults":{"shape":"MaxResults"},
8084+
"NextToken":{"shape":"NextToken"}
8085+
}
8086+
},
8087+
"CreateHubContentPresignedUrlsResponse":{
8088+
"type":"structure",
8089+
"required":["AuthorizedUrlConfigs"],
8090+
"members":{
8091+
"AuthorizedUrlConfigs":{"shape":"AuthorizedUrlConfigs"},
8092+
"NextToken":{"shape":"NextToken"}
8093+
}
8094+
},
80398095
"CreateHubContentReferenceRequest":{
80408096
"type":"structure",
80418097
"required":[
@@ -18182,7 +18238,19 @@
1818218238
"CreateDate"
1818318239
]
1818418240
},
18241+
"LocalPath":{
18242+
"type":"string",
18243+
"max":1024,
18244+
"min":0,
18245+
"pattern":"\\/.*"
18246+
},
1818518247
"Long":{"type":"long"},
18248+
"LongS3Uri":{
18249+
"type":"string",
18250+
"max":2048,
18251+
"min":0,
18252+
"pattern":"(https|s3)://([^/]+)/?(.*)"
18253+
},
1818618254
"MLFramework":{
1818718255
"type":"string",
1818818256
"max":128,
@@ -21159,6 +21227,16 @@
2115921227
]
2116021228
},
2116121229
"PresignedDomainUrl":{"type":"string"},
21230+
"PresignedUrlAccessConfig":{
21231+
"type":"structure",
21232+
"members":{
21233+
"AcceptEula":{
21234+
"shape":"Boolean",
21235+
"box":true
21236+
},
21237+
"ExpectedS3Url":{"shape":"S3ModelUri"}
21238+
}
21239+
},
2116221240
"PriorityClass":{
2116321241
"type":"structure",
2116421242
"required":[
@@ -23093,6 +23171,12 @@
2309323171
"max":32,
2309423172
"min":0
2309523173
},
23174+
"ResourceIdentifier":{
23175+
"type":"string",
23176+
"max":256,
23177+
"min":1,
23178+
"pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:.*\\/.*"
23179+
},
2309623180
"ResourceInUse":{
2309723181
"type":"structure",
2309823182
"members":{
@@ -23823,6 +23907,11 @@
2382323907
"max":43200,
2382423908
"min":1800
2382523909
},
23910+
"SessionId":{
23911+
"type":"string",
23912+
"max":256,
23913+
"min":1
23914+
},
2382623915
"ShadowModeConfig":{
2382723916
"type":"structure",
2382823917
"required":[
@@ -24132,13 +24221,15 @@
2413224221
"AppType":{"shape":"AppType"},
2413324222
"SpaceStorageSettings":{"shape":"SpaceStorageSettings"},
2413424223
"SpaceManagedResources":{"shape":"FeatureStatus"},
24135-
"CustomFileSystems":{"shape":"CustomFileSystems"}
24224+
"CustomFileSystems":{"shape":"CustomFileSystems"},
24225+
"RemoteAccess":{"shape":"FeatureStatus"}
2413624226
}
2413724227
},
2413824228
"SpaceSettingsSummary":{
2413924229
"type":"structure",
2414024230
"members":{
2414124231
"AppType":{"shape":"AppType"},
24232+
"RemoteAccess":{"shape":"FeatureStatus"},
2414224233
"SpaceStorageSettings":{"shape":"SpaceStorageSettings"}
2414324234
}
2414424235
},
@@ -24298,6 +24389,21 @@
2429824389
"PipelineExecutionArn":{"shape":"PipelineExecutionArn"}
2429924390
}
2430024391
},
24392+
"StartSessionRequest":{
24393+
"type":"structure",
24394+
"required":["ResourceIdentifier"],
24395+
"members":{
24396+
"ResourceIdentifier":{"shape":"ResourceIdentifier"}
24397+
}
24398+
},
24399+
"StartSessionResponse":{
24400+
"type":"structure",
24401+
"members":{
24402+
"SessionId":{"shape":"SessionId"},
24403+
"StreamUrl":{"shape":"StreamUrl"},
24404+
"TokenValue":{"shape":"TokenValue"}
24405+
}
24406+
},
2430124407
"Statistic":{
2430224408
"type":"string",
2430324409
"enum":[
@@ -24511,6 +24617,7 @@
2451124617
"InMemory"
2451224618
]
2451324619
},
24620+
"StreamUrl":{"type":"string"},
2451424621
"String":{"type":"string"},
2451524622
"String1024":{
2451624623
"type":"string",
@@ -25081,6 +25188,11 @@
2508125188
"max":256,
2508225189
"min":1
2508325190
},
25191+
"TokenValue":{
25192+
"type":"string",
25193+
"max":1024,
25194+
"min":0
25195+
},
2508425196
"TotalHits":{
2508525197
"type":"structure",
2508625198
"members":{

0 commit comments

Comments
 (0)