Skip to content

Commit 8bce810

Browse files
author
AWS
committed
Amazon SageMaker Service Update: Cross account support for SageMaker Feature Store
1 parent 5de999e commit 8bce810

File tree

3 files changed

+152
-10
lines changed

3 files changed

+152
-10
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon SageMaker Service",
4+
"contributor": "",
5+
"description": "Cross account support for SageMaker Feature Store"
6+
}

services/sagemaker/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,12 @@
329329
"output_token": "NextToken",
330330
"limit_key": "MaxResults"
331331
},
332+
"ListResourceCatalogs": {
333+
"input_token": "NextToken",
334+
"output_token": "NextToken",
335+
"limit_key": "MaxResults",
336+
"result_key": "ResourceCatalogs"
337+
},
332338
"ListSpaces": {
333339
"input_token": "NextToken",
334340
"output_token": "NextToken",

services/sagemaker/src/main/resources/codegen-resources/service-2.json

Lines changed: 140 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,6 +2780,16 @@
27802780
"output":{"shape":"ListProjectsOutput"},
27812781
"documentation":"<p>Gets a list of the projects in an Amazon Web Services account.</p>"
27822782
},
2783+
"ListResourceCatalogs":{
2784+
"name":"ListResourceCatalogs",
2785+
"http":{
2786+
"method":"POST",
2787+
"requestUri":"/"
2788+
},
2789+
"input":{"shape":"ListResourceCatalogsRequest"},
2790+
"output":{"shape":"ListResourceCatalogsResponse"},
2791+
"documentation":"<p> Lists Amazon SageMaker Catalogs based on given filters and orders. The maximum number of <code>ResourceCatalog</code>s viewable is 1000. </p>"
2792+
},
27832793
"ListSpaces":{
27842794
"name":"ListSpaces",
27852795
"http":{
@@ -3398,7 +3408,7 @@
33983408
"errors":[
33993409
{"shape":"ResourceNotFound"}
34003410
],
3401-
"documentation":"<p>Updates the feature group.</p>"
3411+
"documentation":"<p>Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the <code>UpdateFeatureGroup</code> API.</p> <p>You can add features for your feature group using the <code>FeatureAdditions</code> request parameter. Features cannot be removed from a feature group.</p> <p>You can update the online store configuration by using the <code>OnlineStoreConfig</code> request parameter. If a <code>TtlDuration</code> is specified, the default <code>TtlDuration</code> applies for all records added to the feature group <i>after the feature group is updated</i>. If a record level <code>TtlDuration</code> exists from using the <code>PutRecord</code> API, the record level <code>TtlDuration</code> applies to that record instead of the default <code>TtlDuration</code>.</p>"
34023412
},
34033413
"UpdateFeatureMetadata":{
34043414
"name":"UpdateFeatureMetadata",
@@ -9570,6 +9580,13 @@
95709580
}
95719581
},
95729582
"CreationTime":{"type":"timestamp"},
9583+
"CrossAccountFilterOption":{
9584+
"type":"string",
9585+
"enum":[
9586+
"SameAccount",
9587+
"CrossAccount"
9588+
]
9589+
},
95739590
"CsvContentType":{
95749591
"type":"string",
95759592
"max":256,
@@ -12127,8 +12144,8 @@
1212712144
"required":["FeatureGroupName"],
1212812145
"members":{
1212912146
"FeatureGroupName":{
12130-
"shape":"FeatureGroupName",
12131-
"documentation":"<p>The name of the <code>FeatureGroup</code> you want described. </p>"
12147+
"shape":"FeatureGroupNameOrArn",
12148+
"documentation":"<p>The name or Amazon Resource Name (ARN) of the <code>FeatureGroup</code> you want described. </p>"
1213212149
},
1213312150
"NextToken":{
1213412151
"shape":"NextToken",
@@ -12226,8 +12243,8 @@
1222612243
],
1222712244
"members":{
1222812245
"FeatureGroupName":{
12229-
"shape":"FeatureGroupName",
12230-
"documentation":"<p>The name of the feature group containing the feature.</p>"
12246+
"shape":"FeatureGroupNameOrArn",
12247+
"documentation":"<p>The name or Amazon Resource Name (ARN) of the feature group containing the feature.</p>"
1223112248
},
1223212249
"FeatureName":{
1223312250
"shape":"FeatureName",
@@ -16491,6 +16508,12 @@
1649116508
"max":64,
1649216509
"min":1
1649316510
},
16511+
"FeatureGroupNameOrArn":{
16512+
"type":"string",
16513+
"max":256,
16514+
"min":1,
16515+
"pattern":"(arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:feature-group\\/)?([a-zA-Z0-9]([_-]*[a-zA-Z0-9]){0,63})"
16516+
},
1649416517
"FeatureGroupSortBy":{
1649516518
"type":"string",
1649616519
"enum":[
@@ -16550,7 +16573,7 @@
1655016573
"documentation":"<p>Notifies you if replicating data into the <code>OfflineStore</code> has failed. Returns either: <code>Active</code> or <code>Blocked</code>.</p>"
1655116574
}
1655216575
},
16553-
"documentation":"<p>The name, Arn, <code>CreationTime</code>, <code>FeatureGroup</code> values, <code>LastUpdatedTime</code> and <code>EnableOnlineStorage</code> status of a <code>FeatureGroup</code>.</p>"
16576+
"documentation":"<p>The name, ARN, <code>CreationTime</code>, <code>FeatureGroup</code> values, <code>LastUpdatedTime</code> and <code>EnableOnlineStorage</code> status of a <code>FeatureGroup</code>.</p>"
1655416577
},
1655516578
"FeatureMetadata":{
1655616579
"type":"structure",
@@ -22869,6 +22892,52 @@
2286922892
}
2287022893
}
2287122894
},
22895+
"ListResourceCatalogsRequest":{
22896+
"type":"structure",
22897+
"members":{
22898+
"NameContains":{
22899+
"shape":"ResourceCatalogName",
22900+
"documentation":"<p> A string that partially matches one or more <code>ResourceCatalog</code>s names. Filters <code>ResourceCatalog</code> by name. </p>"
22901+
},
22902+
"CreationTimeAfter":{
22903+
"shape":"Timestamp",
22904+
"documentation":"<p> Use this parameter to search for <code>ResourceCatalog</code>s created after a specific date and time. </p>"
22905+
},
22906+
"CreationTimeBefore":{
22907+
"shape":"Timestamp",
22908+
"documentation":"<p> Use this parameter to search for <code>ResourceCatalog</code>s created before a specific date and time. </p>"
22909+
},
22910+
"SortOrder":{
22911+
"shape":"ResourceCatalogSortOrder",
22912+
"documentation":"<p> The order in which the resource catalogs are listed. </p>"
22913+
},
22914+
"SortBy":{
22915+
"shape":"ResourceCatalogSortBy",
22916+
"documentation":"<p> The value on which the resource catalog list is sorted. </p>"
22917+
},
22918+
"MaxResults":{
22919+
"shape":"MaxResults",
22920+
"documentation":"<p> The maximum number of results returned by <code>ListResourceCatalogs</code>. </p>"
22921+
},
22922+
"NextToken":{
22923+
"shape":"NextToken",
22924+
"documentation":"<p> A token to resume pagination of <code>ListResourceCatalogs</code> results. </p>"
22925+
}
22926+
}
22927+
},
22928+
"ListResourceCatalogsResponse":{
22929+
"type":"structure",
22930+
"members":{
22931+
"ResourceCatalogs":{
22932+
"shape":"ResourceCatalogList",
22933+
"documentation":"<p> A list of the requested <code>ResourceCatalog</code>s. </p>"
22934+
},
22935+
"NextToken":{
22936+
"shape":"NextToken",
22937+
"documentation":"<p> A token to resume pagination of <code>ListResourceCatalogs</code> results. </p>"
22938+
}
22939+
}
22940+
},
2287222941
"ListSpacesRequest":{
2287322942
"type":"structure",
2287422943
"members":{
@@ -29455,6 +29524,63 @@
2945529524
"max":256,
2945629525
"pattern":"arn:aws[a-z-]*:sagemaker:[a-z0-9-]*:[0-9]{12}:.+"
2945729526
},
29527+
"ResourceCatalog":{
29528+
"type":"structure",
29529+
"required":[
29530+
"ResourceCatalogArn",
29531+
"ResourceCatalogName",
29532+
"Description",
29533+
"CreationTime"
29534+
],
29535+
"members":{
29536+
"ResourceCatalogArn":{
29537+
"shape":"ResourceCatalogArn",
29538+
"documentation":"<p> The Amazon Resource Name (ARN) of the <code>ResourceCatalog</code>. </p>"
29539+
},
29540+
"ResourceCatalogName":{
29541+
"shape":"ResourceCatalogName",
29542+
"documentation":"<p> The name of the <code>ResourceCatalog</code>. </p>"
29543+
},
29544+
"Description":{
29545+
"shape":"ResourceCatalogDescription",
29546+
"documentation":"<p> A free form description of the <code>ResourceCatalog</code>. </p>"
29547+
},
29548+
"CreationTime":{
29549+
"shape":"Timestamp",
29550+
"documentation":"<p> The time the <code>ResourceCatalog</code> was created. </p>"
29551+
}
29552+
},
29553+
"documentation":"<p> A resource catalog containing all of the resources of a specific resource type within a resource owner account. For an example on sharing the Amazon SageMaker Feature Store <code>DefaultFeatureGroupCatalog</code>, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/feature-store-cross-account-discoverability-share-sagemaker-catalog.html\">Share Amazon SageMaker Catalog resource type</a> in the Amazon SageMaker Developer Guide. </p>"
29554+
},
29555+
"ResourceCatalogArn":{
29556+
"type":"string",
29557+
"max":256,
29558+
"pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:sagemaker-catalog/.*"
29559+
},
29560+
"ResourceCatalogDescription":{
29561+
"type":"string",
29562+
"max":256
29563+
},
29564+
"ResourceCatalogList":{
29565+
"type":"list",
29566+
"member":{"shape":"ResourceCatalog"}
29567+
},
29568+
"ResourceCatalogName":{
29569+
"type":"string",
29570+
"max":64,
29571+
"min":1
29572+
},
29573+
"ResourceCatalogSortBy":{
29574+
"type":"string",
29575+
"enum":["CreationTime"]
29576+
},
29577+
"ResourceCatalogSortOrder":{
29578+
"type":"string",
29579+
"enum":[
29580+
"Ascending",
29581+
"Descending"
29582+
]
29583+
},
2945829584
"ResourceConfig":{
2945929585
"type":"structure",
2946029586
"required":["VolumeSizeInGB"],
@@ -29995,6 +30121,10 @@
2999530121
"shape":"MaxResults",
2999630122
"documentation":"<p>The maximum number of results to return.</p>",
2999730123
"box":true
30124+
},
30125+
"CrossAccountFilterOption":{
30126+
"shape":"CrossAccountFilterOption",
30127+
"documentation":"<p> A cross account filter option. When the value is <code>\"CrossAccount\"</code> the search results will only include resources made discoverable to you from other accounts. When the value is <code>\"SameAccount\"</code> or <code>null</code> the search results will only include resources from your account. Default is <code>null</code>. For more information on searching for resources made discoverable to your account, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/feature-store-cross-account-discoverability-use.html\"> Search discoverable resources</a> in the SageMaker Developer Guide. The maximum number of <code>ResourceCatalog</code>s viewable is 1000. </p>"
2999830128
}
2999930129
}
3000030130
},
@@ -33278,8 +33408,8 @@
3327833408
"required":["FeatureGroupName"],
3327933409
"members":{
3328033410
"FeatureGroupName":{
33281-
"shape":"FeatureGroupName",
33282-
"documentation":"<p>The name of the feature group that you're updating.</p>"
33411+
"shape":"FeatureGroupNameOrArn",
33412+
"documentation":"<p>The name or Amazon Resource Name (ARN) of the feature group that you're updating.</p>"
3328333413
},
3328433414
"FeatureAdditions":{
3328533415
"shape":"FeatureAdditions",
@@ -33309,8 +33439,8 @@
3330933439
],
3331033440
"members":{
3331133441
"FeatureGroupName":{
33312-
"shape":"FeatureGroupName",
33313-
"documentation":"<p>The name of the feature group containing the feature that you're updating.</p>"
33442+
"shape":"FeatureGroupNameOrArn",
33443+
"documentation":"<p>The name or Amazon Resource Name (ARN) of the feature group containing the feature that you're updating.</p>"
3331433444
},
3331533445
"FeatureName":{
3331633446
"shape":"FeatureName",

0 commit comments

Comments
 (0)