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
170 changes: 168 additions & 2 deletions sample/sagemaker/2017-07-24/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@
],
"documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DisassociateTrialComponent.html\">DisassociateTrialComponent</a> API.</p>"
},
"AttachClusterNodeVolume":{
"name":"AttachClusterNodeVolume",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"AttachClusterNodeVolumeRequest"},
"output":{"shape":"AttachClusterNodeVolumeResponse"},
"errors":[
{"shape":"ResourceNotFound"}
],
"documentation":"<p> Attaches your Amazon Elastic Block Store (Amazon EBS) volume to a node in your EKS-orchestrated HyperPod cluster. </p> <p> 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. </p>"
},
"BatchDeleteClusterNodes":{
"name":"BatchDeleteClusterNodes",
"http":{
Expand Down Expand Up @@ -2464,6 +2477,19 @@
"output":{"shape":"DescribeWorkteamResponse"},
"documentation":"<p>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).</p>"
},
"DetachClusterNodeVolume":{
"name":"DetachClusterNodeVolume",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DetachClusterNodeVolumeRequest"},
"output":{"shape":"DetachClusterNodeVolumeResponse"},
"errors":[
{"shape":"ResourceNotFound"}
],
"documentation":"<p> Detaches your Amazon Elastic Block Store (Amazon EBS) volume from a node in your EKS-orchestrated SageMaker HyperPod cluster.</p> <p> 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. </p>"
},
"DisableSagemakerServicecatalogPortfolio":{
"name":"DisableSagemakerServicecatalogPortfolio",
"http":{
Expand Down Expand Up @@ -4452,7 +4478,7 @@
"errors":[
{"shape":"ConflictException"}
],
"documentation":"<p>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.</p> <p>The worker portal is now supported in VPC and public internet.</p> <p> Use <code>SourceIpConfig</code> 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 <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html\">CIDRs</a>. 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 <code>Not Found</code> error message on the worker portal.</p> <p>To restrict access to all the workers in public internet, add the <code>SourceIpConfig</code> CIDR value as \"10.0.0.0/16\".</p> <important> <p>Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.</p> </important> <p>Use <code>OidcConfig</code> to update the configuration of a workforce created using your own OIDC IdP. </p> <important> <p>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 <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteWorkteam.html\">DeleteWorkteam</a> operation.</p> </important> <p>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 <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeWorkforce.html\">DescribeWorkforce</a> operation.</p> <important> <p>This operation only applies to private workforces.</p> </important>"
"documentation":"<p>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.</p> <p>The worker portal is now supported in VPC and public internet.</p> <p> Use <code>SourceIpConfig</code> 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 <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html\">CIDRs</a>. 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 <code>Not Found</code> error message on the worker portal.</p> <p>To restrict public internet access for all workers, configure the <code>SourceIpConfig</code> CIDR value. For example, when using <code>SourceIpConfig</code> with an <code>IpAddressType</code> of <code>IPv4</code>, you can restrict access to the IPv4 CIDR block \"10.0.0.0/16\". When using an <code>IpAddressType</code> of <code>dualstack</code>, 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.</p> <important> <p>Amazon SageMaker does not support Source Ip restriction for worker portals in VPC.</p> </important> <p>Use <code>OidcConfig</code> to update the configuration of a workforce created using your own OIDC IdP. </p> <important> <p>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 <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteWorkteam.html\">DeleteWorkteam</a> operation.</p> </important> <p>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 <a href=\"https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeWorkforce.html\">DescribeWorkforce</a> operation.</p> <important> <p>This operation only applies to private workforces.</p> </important>"
},
"UpdateWorkteam":{
"name":"UpdateWorkteam",
Expand Down Expand Up @@ -5737,6 +5763,65 @@
"min":1,
"pattern":"[a-zA-Z0-9._-]+"
},
"AttachClusterNodeVolumeRequest":{
"type":"structure",
"required":[
"ClusterArn",
"NodeId",
"VolumeId"
],
"members":{
"ClusterArn":{
"shape":"ClusterArn",
"documentation":"<p> 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 <code>InService</code> state. </p>"
},
"NodeId":{
"shape":"ClusterNodeId",
"documentation":"<p> 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). </p>"
},
"VolumeId":{
"shape":"VolumeId",
"documentation":"<p> The unique identifier of your EBS volume to attach. The volume must be in the <code>available</code> state. </p>"
}
}
},
"AttachClusterNodeVolumeResponse":{
"type":"structure",
"required":[
"ClusterArn",
"NodeId",
"VolumeId",
"AttachTime",
"Status",
"DeviceName"
],
"members":{
"ClusterArn":{
"shape":"ClusterArn",
"documentation":"<p> The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster where the volume attachment operation was performed. </p>"
},
"NodeId":{
"shape":"ClusterNodeId",
"documentation":"<p> The unique identifier of the cluster node where your volume was attached. </p>"
},
"VolumeId":{
"shape":"VolumeId",
"documentation":"<p> The unique identifier of your EBS volume that was attached. </p>"
},
"AttachTime":{
"shape":"Timestamp",
"documentation":"<p> The timestamp when the volume attachment operation was initiated by the SageMaker HyperPod service. </p>"
},
"Status":{
"shape":"VolumeAttachmentStatus",
"documentation":"<p> The current status of your volume attachment operation. </p>"
},
"DeviceName":{
"shape":"VolumeDeviceName",
"documentation":"<p> The device name assigned to your attached volume on the target instance. </p>"
}
}
},
"AttributeName":{
"type":"string",
"max":256,
Expand Down Expand Up @@ -19116,6 +19201,65 @@
"min":0,
"pattern":"(https|s3)://([^/])/?(.*)"
},
"DetachClusterNodeVolumeRequest":{
"type":"structure",
"required":[
"ClusterArn",
"NodeId",
"VolumeId"
],
"members":{
"ClusterArn":{
"shape":"ClusterArn",
"documentation":"<p> 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 <code>InService</code> state. </p>"
},
"NodeId":{
"shape":"ClusterNodeId",
"documentation":"<p> The unique identifier of the cluster node from which you want to detach the volume. </p>"
},
"VolumeId":{
"shape":"VolumeId",
"documentation":"<p> The unique identifier of your EBS volume that you want to detach. Your volume must be currently attached to the specified node. </p>"
}
}
},
"DetachClusterNodeVolumeResponse":{
"type":"structure",
"required":[
"ClusterArn",
"NodeId",
"VolumeId",
"AttachTime",
"Status",
"DeviceName"
],
"members":{
"ClusterArn":{
"shape":"ClusterArn",
"documentation":"<p> The Amazon Resource Name (ARN) of your SageMaker HyperPod cluster where the volume detachment operation was performed. </p>"
},
"NodeId":{
"shape":"ClusterNodeId",
"documentation":"<p> The unique identifier of the cluster node from which your volume was detached. </p>"
},
"VolumeId":{
"shape":"VolumeId",
"documentation":"<p> The unique identifier of your EBS volume that was detached. </p>"
},
"AttachTime":{
"shape":"Timestamp",
"documentation":"<p> The original timestamp when your volume was initially attached to the node. </p>"
},
"Status":{
"shape":"VolumeAttachmentStatus",
"documentation":"<p> The current status of your volume detachment operation. </p>"
},
"DeviceName":{
"shape":"VolumeDeviceName",
"documentation":"<p> The device name assigned to your attached volume on the target instance. </p>"
}
}
},
"DetailedAlgorithmStatus":{
"type":"string",
"enum":[
Expand Down Expand Up @@ -42165,7 +42309,7 @@
},
"SingleSignOnApplicationArn":{
"shape":"SingleSignOnApplicationArn",
"documentation":"<p>The ARN of the application managed by SageMaker AI and SageMaker Unified Studio in the Amazon Web Services IAM Identity Center.</p>"
"documentation":"<p>The ARN of the Amazon DataZone application managed by Amazon SageMaker Unified Studio in the Amazon Web Services IAM Identity Center.</p>"
}
},
"documentation":"<p>The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.</p>"
Expand Down Expand Up @@ -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
Expand Down
38 changes: 38 additions & 0 deletions src/sagemaker_core/main/code_injection/shape_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"},
Expand Down
2 changes: 1 addition & 1 deletion src/sagemaker_core/main/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/sagemaker_core/tools/api_coverage.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"SupportedAPIs": 363, "UnsupportedAPIs": 8}
{"SupportedAPIs": 363, "UnsupportedAPIs": 10}
Loading