AWS Security ChangesHomeSearch

AWS aws-sdk-php documentation change

Service: aws-sdk-php · 2025-03-02 · Documentation low

File: aws-sdk-php/v3/api/api-sagemaker-2017-07-24.md

Summary

Added documentation for new UpdateHubContent and UpdateHubContentReference APIs, HubAccessConfig and ModelAccessConfig structures, and updated SupportStatus values. Also added LastModifiedTime field and related documentation.

Security assessment

The changes add documentation for new features related to private hubs and model access control, including EULA acceptance requirements. While these features have security implications, there is no evidence in the diff that they address specific security vulnerabilities or incidents.

Diff

diff --git a/aws-sdk-php/v3/api/api-sagemaker-2017-07-24.md
index b3ed2e999..1c665ec0e 100644
--- a/aws-sdk-php/v3/api/api-sagemaker-2017-07-24.md
+++ b/aws-sdk-php/v3/api/api-sagemaker-2017-07-24.md
@@ -803,0 +804,2 @@ You can also create and send a command immediately using the magic methods avail
+**UpdateHubContent** ( array $params = [] )    Updates SageMaker hub content (either a Model or Notebook resource).
+**UpdateHubContentReference** ( array $params = [] )    Updates the contents of a SageMaker hub for a ModelReference resource.
@@ -1668,0 +1671,3 @@ Create a machine learning algorithm that you can use in SageMaker and list in th
+                                        'HubAccessConfig' => [
+                                            'HubContentArn' => '<string>', // REQUIRED
+                                        ],
@@ -1669,0 +1675,3 @@ Create a machine learning algorithm that you can use in SageMaker and list in th
+                                        'ModelAccessConfig' => [
+                                            'AcceptEula' => true || false, // REQUIRED
+                                        ],
@@ -6069,0 +6078,3 @@ Do not include any security-sensitive information including account access IDs,
+                            'HubAccessConfig' => [
+                                'HubContentArn' => '<string>', // REQUIRED
+                            ],
@@ -6070,0 +6082,3 @@ Do not include any security-sensitive information including account access IDs,
+                            'ModelAccessConfig' => [
+                                'AcceptEula' => true || false, // REQUIRED
+                            ],
@@ -6209,0 +6224,3 @@ Do not include any security-sensitive information including account access IDs,
+                                'HubAccessConfig' => [
+                                    'HubContentArn' => '<string>', // REQUIRED
+                                ],
@@ -6210,0 +6228,3 @@ Do not include any security-sensitive information including account access IDs,
+                                'ModelAccessConfig' => [
+                                    'AcceptEula' => true || false, // REQUIRED
+                                ],
@@ -11347,0 +11368,3 @@ For more information about SageMaker, see [How It Works](https://docs.aws.amazon
+                        'HubAccessConfig' => [
+                            'HubContentArn' => '<string>', // REQUIRED
+                        ],
@@ -11348,0 +11372,3 @@ For more information about SageMaker, see [How It Works](https://docs.aws.amazon
+                        'ModelAccessConfig' => [
+                            'AcceptEula' => true || false, // REQUIRED
+                        ],
@@ -16127,0 +16154,3 @@ The name of the algorithm to describe.
+                                        'HubAccessConfig' => [
+                                            'HubContentArn' => '<string>',
+                                        ],
@@ -16128,0 +16158,3 @@ The name of the algorithm to describe.
+                                        'ModelAccessConfig' => [
+                                            'AcceptEula' => true || false,
+                                        ],
@@ -21775,0 +21808 @@ The name of the hub that contains the content to describe.
+        'LastModifiedTime' => <DateTime>,
@@ -21778 +21811 @@ The name of the hub that contains the content to describe.
-        'SupportStatus' => 'Supported|Deprecated',
+        'SupportStatus' => 'Supported|Deprecated|Restricted',
@@ -21906,0 +21940,7 @@ The name of the hub that contains the content.
+**LastModifiedTime**
+    
+
+    **Type:** _timestamp (string|DateTime or anything parsable by strtotime)_
+
+The last modified time of the hub content.
+
@@ -22260,0 +22301,3 @@ The name of the tuning job.
+                            'HubAccessConfig' => [
+                                'HubContentArn' => '<string>',
+                            ],
@@ -22261,0 +22305,3 @@ The name of the tuning job.
+                            'ModelAccessConfig' => [
+                                'AcceptEula' => true || false,
+                            ],
@@ -22400,0 +22447,3 @@ The name of the tuning job.
+                                'HubAccessConfig' => [
+                                    'HubContentArn' => '<string>',
+                                ],
@@ -22401,0 +22451,3 @@ The name of the tuning job.
+                                'ModelAccessConfig' => [
+                                    'AcceptEula' => true || false,
+                                ],
@@ -28654,0 +28707,3 @@ The name of the training job.
+                        'HubAccessConfig' => [
+                            'HubContentArn' => '<string>',
+                        ],
@@ -28655,0 +28711,3 @@ The name of the training job.
+                        'ModelAccessConfig' => [
+                            'AcceptEula' => true || false,
+                        ],
@@ -31265,0 +31324 @@ Import hub content.
+        'SupportStatus' => 'Supported|Deprecated|Restricted',
@@ -31354,0 +31414,7 @@ The name of the hub to import content into.
+**SupportStatus**
+    
+
+    **Type:** _string_
+
+The status of the hub content resource.
+
@@ -35116 +35182 @@ Sort hub content versions by ascending or descending order.
-                'SupportStatus' => 'Supported|Deprecated',
+                'SupportStatus' => 'Supported|Deprecated|Restricted',
@@ -35268 +35334 @@ Sort hubs by ascending or descending order.
-                'SupportStatus' => 'Supported|Deprecated',
+                'SupportStatus' => 'Supported|Deprecated|Restricted',
@@ -43298,0 +43365,3 @@ Limits the results of your search request to the resources that you can access.
+                                        'HubAccessConfig' => [
+                                            'HubContentArn' => '<string>',
+                                        ],
@@ -43299,0 +43369,3 @@ Limits the results of your search request to the resources that you can access.
+                                        'ModelAccessConfig' => [
+                                            'AcceptEula' => true || false,
+                                        ],
@@ -43438,0 +43511,3 @@ Limits the results of your search request to the resources that you can access.
+                                            'HubAccessConfig' => [
+                                                'HubContentArn' => '<string>',
+                                            ],
@@ -43439,0 +43515,3 @@ Limits the results of your search request to the resources that you can access.
+                                            'ModelAccessConfig' => [
+                                                'AcceptEula' => true || false,
+                                            ],
@@ -44597,0 +44676,3 @@ Limits the results of your search request to the resources that you can access.
+                                    'HubAccessConfig' => [
+                                        'HubContentArn' => '<string>',
+                                    ],
@@ -44598,0 +44680,3 @@ Limits the results of your search request to the resources that you can access.
+                                    'ModelAccessConfig' => [
+                                        'AcceptEula' => true || false,
+                                    ],
@@ -45042,0 +45127,3 @@ Limits the results of your search request to the resources that you can access.
+                                            'HubAccessConfig' => [
+                                                'HubContentArn' => '<string>',
+                                            ],
@@ -45043,0 +45131,3 @@ Limits the results of your search request to the resources that you can access.
+                                            'ModelAccessConfig' => [
+                                                'AcceptEula' => true || false,
+                                            ],
@@ -48755,0 +48846,252 @@ Resource being access is not found.
+###  UpdateHubContent 
+    
+    
+    $result = $client->updateHubContent([/* ... */]);
+    $promise = $client->updateHubContentAsync([/* ... */]);
+    
+
+Updates SageMaker hub content (either a `Model` or `Notebook` resource).
+
+You can update the metadata that describes the resource. In addition to the required request fields, specify at least one of the following fields to update:
+
+  * `HubContentDescription`
+
+  * `HubContentDisplayName`
+
+  * `HubContentMarkdown`
+
+  * `HubContentSearchKeywords`
+
+  * `SupportStatus`
+
+
+
+
+For more information about hubs, see [Private curated hubs for foundation model access control in JumpStart](https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html).
+
+If you want to update a `ModelReference` resource in your hub, use the `UpdateHubContentResource` API instead.
+
+#### Parameter Syntax
+    
+    
+    $result = $client->updateHubContent([
+        'HubContentDescription' => '<string>',
+        'HubContentDisplayName' => '<string>',
+        'HubContentMarkdown' => '<string>',
+        'HubContentName' => '<string>', // REQUIRED
+        'HubContentSearchKeywords' => ['<string>', ...],
+        'HubContentType' => 'Model|Notebook|ModelReference', // REQUIRED
+        'HubContentVersion' => '<string>', // REQUIRED
+        'HubName' => '<string>', // REQUIRED
+        'SupportStatus' => 'Supported|Deprecated|Restricted',
+    ]);
+    
+
+#### Parameter Details
+
+##### Members
+
+**HubContentDescription**
+    
+
+    **Type:** _string_
+
+The description of the hub content.
+
+**HubContentDisplayName**
+    
+
+    **Type:** _string_
+
+The display name of the hub content.
+
+**HubContentMarkdown**
+    
+
+    **Type:** _string_
+