diff --git a/sample/sagemaker/2017-07-24/service-2.json b/sample/sagemaker/2017-07-24/service-2.json index 67f510a..0c609f9 100644 --- a/sample/sagemaker/2017-07-24/service-2.json +++ b/sample/sagemaker/2017-07-24/service-2.json @@ -54,6 +54,19 @@ ], "documentation":"
Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.
" }, + "AttachClusterNodeVolume":{ + "name":"AttachClusterNodeVolume", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AttachClusterNodeVolumeRequest"}, + "output":{"shape":"AttachClusterNodeVolumeResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ], + "documentation":"Attaches your Amazon Elastic Block Store (Amazon EBS) volume to a node in your EKS-orchestrated HyperPod cluster.
This API works with the Amazon Elastic Block Store (Amazon EBS) Container Storage Interface (CSI) driver to manage the lifecycle of persistent storage in your HyperPod EKS clusters.
" + }, "BatchDeleteClusterNodes":{ "name":"BatchDeleteClusterNodes", "http":{ @@ -2464,6 +2477,19 @@ "output":{"shape":"DescribeWorkteamResponse"}, "documentation":"Gets information about a specific work team. You can see information such as the creation date, the last updated date, membership information, and the work team's Amazon Resource Name (ARN).
" }, + "DetachClusterNodeVolume":{ + "name":"DetachClusterNodeVolume", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DetachClusterNodeVolumeRequest"}, + "output":{"shape":"DetachClusterNodeVolumeResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ], + "documentation":"Detaches your Amazon Elastic Block Store (Amazon EBS) volume from a node in your EKS-orchestrated SageMaker HyperPod cluster.
This API works with the Amazon Elastic Block Store (Amazon EBS) Container Storage Interface (CSI) driver to manage the lifecycle of persistent storage in your HyperPod EKS clusters.
" + }, "DisableSagemakerServicecatalogPortfolio":{ "name":"DisableSagemakerServicecatalogPortfolio", "http":{ @@ -4452,7 +4478,7 @@ "errors":[ {"shape":"ConflictException"} ], - "documentation":"Use this operation to update your workforce. You can use this operation to require that workers use specific IP addresses to work on tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.
The worker portal is now supported in VPC and public internet.
Use SourceIpConfig to restrict worker access to tasks to a specific range of IP addresses. You specify allowed IP addresses by creating a list of up to ten CIDRs. By default, a workforce isn't restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied and get a Not Found error message on the worker portal.
To restrict access to all the workers in public internet, add the SourceIpConfig CIDR value as \"10.0.0.0/16\".
Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.
Use OidcConfig to update the configuration of a workforce created using your own OIDC IdP.
You can only update your OIDC IdP configuration when there are no work teams associated with your workforce. You can delete work teams using the DeleteWorkteam operation.
After restricting access to a range of IP addresses or updating your OIDC IdP configuration with this operation, you can view details about your update workforce using the DescribeWorkforce operation.
This operation only applies to private workforces.
Use this operation to update your workforce. You can use this operation to require that workers use specific IP addresses to work on tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.
The worker portal is now supported in VPC and public internet.
Use SourceIpConfig to restrict worker access to tasks to a specific range of IP addresses. You specify allowed IP addresses by creating a list of up to ten CIDRs. By default, a workforce isn't restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied and get a Not Found error message on the worker portal.
To restrict public internet access for all workers, configure the SourceIpConfig CIDR value. For example, when using SourceIpConfig with an IpAddressType of IPv4, you can restrict access to the IPv4 CIDR block \"10.0.0.0/16\". When using an IpAddressType of dualstack, you can specify both the IPv4 and IPv6 CIDR blocks, such as \"10.0.0.0/16\" for IPv4 only, \"2001:db8:1234:1a00::/56\" for IPv6 only, or \"10.0.0.0/16\" and \"2001:db8:1234:1a00::/56\" for dual stack.
Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.
Use OidcConfig to update the configuration of a workforce created using your own OIDC IdP.
You can only update your OIDC IdP configuration when there are no work teams associated with your workforce. You can delete work teams using the DeleteWorkteam operation.
After restricting access to a range of IP addresses or updating your OIDC IdP configuration with this operation, you can view details about your update workforce using the DescribeWorkforce operation.
This operation only applies to private workforces.
The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster containing the target node. Your cluster must use EKS as the orchestration and be in the InService state.
The unique identifier of the cluster node to which you want to attach the volume. The node must belong to your specified HyperPod cluster and cannot be part of a Restricted Instance Group (RIG).
" + }, + "VolumeId":{ + "shape":"VolumeId", + "documentation":" The unique identifier of your EBS volume to attach. The volume must be in the available state.
The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster where the volume attachment operation was performed.
" + }, + "NodeId":{ + "shape":"ClusterNodeId", + "documentation":"The unique identifier of the cluster node where your volume was attached.
" + }, + "VolumeId":{ + "shape":"VolumeId", + "documentation":"The unique identifier of your EBS volume that was attached.
" + }, + "AttachTime":{ + "shape":"Timestamp", + "documentation":"The timestamp when the volume attachment operation was initiated by the SageMaker HyperPod service.
" + }, + "Status":{ + "shape":"VolumeAttachmentStatus", + "documentation":"The current status of your volume attachment operation.
" + }, + "DeviceName":{ + "shape":"VolumeDeviceName", + "documentation":"The device name assigned to your attached volume on the target instance.
" + } + } + }, "AttributeName":{ "type":"string", "max":256, @@ -19116,6 +19201,65 @@ "min":0, "pattern":"(https|s3)://([^/])/?(.*)" }, + "DetachClusterNodeVolumeRequest":{ + "type":"structure", + "required":[ + "ClusterArn", + "NodeId", + "VolumeId" + ], + "members":{ + "ClusterArn":{ + "shape":"ClusterArn", + "documentation":" The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster containing the target node. Your cluster must use EKS as the orchestration and be in the InService state.
The unique identifier of the cluster node from which you want to detach the volume.
" + }, + "VolumeId":{ + "shape":"VolumeId", + "documentation":"The unique identifier of your EBS volume that you want to detach. Your volume must be currently attached to the specified node.
" + } + } + }, + "DetachClusterNodeVolumeResponse":{ + "type":"structure", + "required":[ + "ClusterArn", + "NodeId", + "VolumeId", + "AttachTime", + "Status", + "DeviceName" + ], + "members":{ + "ClusterArn":{ + "shape":"ClusterArn", + "documentation":"The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster where the volume detachment operation was performed.
" + }, + "NodeId":{ + "shape":"ClusterNodeId", + "documentation":"The unique identifier of the cluster node from which your volume was detached.
" + }, + "VolumeId":{ + "shape":"VolumeId", + "documentation":"The unique identifier of your EBS volume that was detached.
" + }, + "AttachTime":{ + "shape":"Timestamp", + "documentation":"The original timestamp when your volume was initially attached to the node.
" + }, + "Status":{ + "shape":"VolumeAttachmentStatus", + "documentation":"The current status of your volume detachment operation.
" + }, + "DeviceName":{ + "shape":"VolumeDeviceName", + "documentation":"The device name assigned to your attached volume on the target instance.
" + } + } + }, "DetailedAlgorithmStatus":{ "type":"string", "enum":[ @@ -42165,7 +42309,7 @@ }, "SingleSignOnApplicationArn":{ "shape":"SingleSignOnApplicationArn", - "documentation":"The ARN of the application managed by SageMaker AI and SageMaker Unified Studio in the Amazon Web Services IAM Identity Center.
" + "documentation":"The ARN of the Amazon DataZone application managed by Amazon SageMaker Unified Studio in the Amazon Web Services IAM Identity Center.
" } }, "documentation":"The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.
" @@ -44170,6 +44314,28 @@ "min":0, "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, + "VolumeAttachmentStatus":{ + "type":"string", + "enum":[ + "attaching", + "attached", + "detaching", + "detached", + "busy" + ] + }, + "VolumeDeviceName":{ + "type":"string", + "max":32, + "min":1, + "pattern":"/dev/(xvd[a-z]|sd[b-z]|sd[f-p][1-6])" + }, + "VolumeId":{ + "type":"string", + "max":256, + "min":1, + "pattern":"vol-[a-f0-9]{8}(?:[a-f0-9]{9})?" + }, "VolumeSizeInGB":{ "type":"integer", "min":1 diff --git a/src/sagemaker_core/main/code_injection/shape_dag.py b/src/sagemaker_core/main/code_injection/shape_dag.py index 4412f5b..b1a25c7 100644 --- a/src/sagemaker_core/main/code_injection/shape_dag.py +++ b/src/sagemaker_core/main/code_injection/shape_dag.py @@ -413,6 +413,25 @@ ], "type": "structure", }, + "AttachClusterNodeVolumeRequest": { + "members": [ + {"name": "ClusterArn", "shape": "ClusterArn", "type": "string"}, + {"name": "NodeId", "shape": "ClusterNodeId", "type": "string"}, + {"name": "VolumeId", "shape": "VolumeId", "type": "string"}, + ], + "type": "structure", + }, + "AttachClusterNodeVolumeResponse": { + "members": [ + {"name": "ClusterArn", "shape": "ClusterArn", "type": "string"}, + {"name": "NodeId", "shape": "ClusterNodeId", "type": "string"}, + {"name": "VolumeId", "shape": "VolumeId", "type": "string"}, + {"name": "AttachTime", "shape": "Timestamp", "type": "timestamp"}, + {"name": "Status", "shape": "VolumeAttachmentStatus", "type": "string"}, + {"name": "DeviceName", "shape": "VolumeDeviceName", "type": "string"}, + ], + "type": "structure", + }, "AttributeNames": {"member_shape": "AttributeName", "member_type": "string", "type": "list"}, "AuthenticationRequestExtraParams": { "key_shape": "AuthenticationRequestExtraParamsKey", @@ -6262,6 +6281,25 @@ "member_type": "structure", "type": "list", }, + "DetachClusterNodeVolumeRequest": { + "members": [ + {"name": "ClusterArn", "shape": "ClusterArn", "type": "string"}, + {"name": "NodeId", "shape": "ClusterNodeId", "type": "string"}, + {"name": "VolumeId", "shape": "VolumeId", "type": "string"}, + ], + "type": "structure", + }, + "DetachClusterNodeVolumeResponse": { + "members": [ + {"name": "ClusterArn", "shape": "ClusterArn", "type": "string"}, + {"name": "NodeId", "shape": "ClusterNodeId", "type": "string"}, + {"name": "VolumeId", "shape": "VolumeId", "type": "string"}, + {"name": "AttachTime", "shape": "Timestamp", "type": "timestamp"}, + {"name": "Status", "shape": "VolumeAttachmentStatus", "type": "string"}, + {"name": "DeviceName", "shape": "VolumeDeviceName", "type": "string"}, + ], + "type": "structure", + }, "Device": { "members": [ {"name": "DeviceName", "shape": "DeviceName", "type": "string"}, diff --git a/src/sagemaker_core/main/shapes.py b/src/sagemaker_core/main/shapes.py index b7937eb..7f7d405 100644 --- a/src/sagemaker_core/main/shapes.py +++ b/src/sagemaker_core/main/shapes.py @@ -5045,7 +5045,7 @@ class UnifiedStudioSettings(Base): project_id: The ID of the Amazon SageMaker Unified Studio project that corresponds to the domain. environment_id: The ID of the environment that Amazon SageMaker Unified Studio associates with the domain. project_s3_path: The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain. - single_sign_on_application_arn: The ARN of the application managed by SageMaker AI and SageMaker Unified Studio in the Amazon Web Services IAM Identity Center. + single_sign_on_application_arn: The ARN of the Amazon DataZone application managed by Amazon SageMaker Unified Studio in the Amazon Web Services IAM Identity Center. """ studio_web_portal_access: Optional[str] = Unassigned() diff --git a/src/sagemaker_core/tools/api_coverage.json b/src/sagemaker_core/tools/api_coverage.json index 438900f..e0b0d52 100644 --- a/src/sagemaker_core/tools/api_coverage.json +++ b/src/sagemaker_core/tools/api_coverage.json @@ -1 +1 @@ -{"SupportedAPIs": 363, "UnsupportedAPIs": 8} \ No newline at end of file +{"SupportedAPIs": 363, "UnsupportedAPIs": 10} \ No newline at end of file