@aws-sdk/client-sagemaker 3.461.0 → 3.462.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -0
- package/dist-cjs/SageMaker.js +26 -0
- package/dist-cjs/commands/CreateClusterCommand.js +51 -0
- package/dist-cjs/commands/CreateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/CreateWorkforceCommand.js +2 -2
- package/dist-cjs/commands/DeleteClusterCommand.js +51 -0
- package/dist-cjs/commands/DeleteInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterNodeCommand.js +51 -0
- package/dist-cjs/commands/DescribeInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/ListClusterNodesCommand.js +51 -0
- package/dist-cjs/commands/ListClustersCommand.js +51 -0
- package/dist-cjs/commands/ListInferenceComponentsCommand.js +51 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentRuntimeConfigCommand.js +51 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +62 -51
- package/dist-cjs/models/models_1.js +63 -30
- package/dist-cjs/models/models_2.js +37 -39
- package/dist-cjs/models/models_3.js +45 -44
- package/dist-cjs/models/models_4.js +45 -3
- package/dist-cjs/pagination/ListInferenceComponentsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +845 -13
- package/dist-es/SageMaker.js +26 -0
- package/dist-es/commands/CreateClusterCommand.js +47 -0
- package/dist-es/commands/CreateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/CreateWorkforceCommand.js +1 -1
- package/dist-es/commands/DeleteClusterCommand.js +47 -0
- package/dist-es/commands/DeleteInferenceComponentCommand.js +47 -0
- package/dist-es/commands/DescribeClusterCommand.js +47 -0
- package/dist-es/commands/DescribeClusterNodeCommand.js +47 -0
- package/dist-es/commands/DescribeInferenceComponentCommand.js +47 -0
- package/dist-es/commands/ListClusterNodesCommand.js +47 -0
- package/dist-es/commands/ListClustersCommand.js +47 -0
- package/dist-es/commands/ListInferenceComponentsCommand.js +47 -0
- package/dist-es/commands/UpdateClusterCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentRuntimeConfigCommand.js +47 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +60 -50
- package/dist-es/models/models_1.js +62 -27
- package/dist-es/models/models_2.js +34 -38
- package/dist-es/models/models_3.js +43 -42
- package/dist-es/models/models_4.js +43 -1
- package/dist-es/pagination/ListInferenceComponentsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +807 -1
- package/dist-types/SageMaker.d.ts +91 -0
- package/dist-types/SageMakerClient.d.ts +15 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +2 -1
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +109 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +15 -8
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/CreateInferenceComponentCommand.d.ts +115 -0
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpaceCommand.d.ts +2 -0
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserProfileCommand.d.ts +9 -2
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +80 -0
- package/dist-types/commands/DeleteInferenceComponentCommand.d.ts +71 -0
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAppCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +102 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +92 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +7 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +32 -0
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +109 -0
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpaceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +8 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +96 -0
- package/dist-types/commands/ListClustersCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceComponentsCommand.d.ts +96 -0
- package/dist-types/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpacesCommand.d.ts +1 -1
- package/dist-types/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -2
- package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +97 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +11 -0
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +100 -0
- package/dist-types/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +80 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +409 -345
- package/dist-types/models/models_1.d.ts +708 -551
- package/dist-types/models/models_2.d.ts +5059 -5239
- package/dist-types/models/models_3.d.ts +4732 -4693
- package/dist-types/models/models_4.d.ts +1446 -4
- package/dist-types/pagination/ListInferenceComponentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
- package/dist-types/ts3.4/SageMaker.d.ts +227 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteInferenceComponentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListInferenceComponentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +124 -111
- package/dist-types/ts3.4/models/models_1.d.ts +188 -151
- package/dist-types/ts3.4/models/models_2.d.ts +227 -288
- package/dist-types/ts3.4/models/models_3.d.ts +349 -344
- package/dist-types/ts3.4/models/models_4.d.ts +372 -15
- package/dist-types/ts3.4/pagination/ListInferenceComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +156 -0
- package/package.json +2 -2
|
@@ -23,7 +23,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a <code>Domain</code
|
|
26
|
+
* <p>Creates a <code>Domain</code>. A domain consists of an associated
|
|
27
27
|
* Amazon Elastic File System (EFS) volume, a list of authorized users, and a variety of security, application,
|
|
28
28
|
* policy, and Amazon Virtual Private Cloud (VPC) configurations.
|
|
29
29
|
* Users within a domain can share notebook files and other artifacts with each other.</p>
|
|
@@ -41,10 +41,10 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
41
41
|
* <p>
|
|
42
42
|
* <b>VPC configuration</b>
|
|
43
43
|
* </p>
|
|
44
|
-
* <p>All
|
|
45
|
-
*
|
|
44
|
+
* <p>All traffic between the domain and the EFS volume is through the specified
|
|
45
|
+
* VPC and subnets. For other traffic, you can specify the <code>AppNetworkAccessType</code>
|
|
46
46
|
* parameter. <code>AppNetworkAccessType</code> corresponds to the network access type that you
|
|
47
|
-
*
|
|
47
|
+
* choose when you onboard to the domain. The following options are available:</p>
|
|
48
48
|
* <ul>
|
|
49
49
|
* <li>
|
|
50
50
|
* <p>
|
|
@@ -53,21 +53,21 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
53
53
|
* </li>
|
|
54
54
|
* <li>
|
|
55
55
|
* <p>
|
|
56
|
-
* <code>VpcOnly</code> - All
|
|
56
|
+
* <code>VpcOnly</code> - All traffic is through the specified VPC and subnets.
|
|
57
57
|
* Internet access is disabled by default. To allow internet access, you must specify a
|
|
58
58
|
* NAT gateway.</p>
|
|
59
|
-
* <p>When internet access is disabled, you won't be able to run a Studio notebook or to
|
|
59
|
+
* <p>When internet access is disabled, you won't be able to run a Amazon SageMaker Studio notebook or to
|
|
60
60
|
* train or host models unless your VPC has an interface endpoint to the SageMaker API and runtime
|
|
61
61
|
* or a NAT gateway and your security groups allow outbound connections.</p>
|
|
62
62
|
* </li>
|
|
63
63
|
* </ul>
|
|
64
64
|
* <important>
|
|
65
65
|
* <p>NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules
|
|
66
|
-
*
|
|
66
|
+
* in order to launch a Amazon SageMaker Studio app successfully.</p>
|
|
67
67
|
* </important>
|
|
68
68
|
* <p>For more information, see
|
|
69
69
|
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html">Connect
|
|
70
|
-
* SageMaker Studio Notebooks to Resources in a VPC</a>.</p>
|
|
70
|
+
* Amazon SageMaker Studio Notebooks to Resources in a VPC</a>.</p>
|
|
71
71
|
* @example
|
|
72
72
|
* Use a bare-bones client and the command you need to make an API call.
|
|
73
73
|
* ```javascript
|
|
@@ -91,6 +91,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
91
91
|
* DefaultResourceSpec: { // ResourceSpec
|
|
92
92
|
* SageMakerImageArn: "STRING_VALUE",
|
|
93
93
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
94
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
94
95
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
95
96
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
96
97
|
* },
|
|
@@ -107,6 +108,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
107
108
|
* DefaultResourceSpec: {
|
|
108
109
|
* SageMakerImageArn: "STRING_VALUE",
|
|
109
110
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
111
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
110
112
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
111
113
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
112
114
|
* },
|
|
@@ -125,6 +127,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
125
127
|
* DefaultResourceSpec: {
|
|
126
128
|
* SageMakerImageArn: "STRING_VALUE",
|
|
127
129
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
130
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
128
131
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
129
132
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
130
133
|
* },
|
|
@@ -137,6 +140,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
137
140
|
* DefaultResourceSpec: {
|
|
138
141
|
* SageMakerImageArn: "STRING_VALUE",
|
|
139
142
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
143
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
140
144
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
141
145
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
142
146
|
* },
|
|
@@ -175,6 +179,8 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
175
179
|
* Status: "ENABLED" || "DISABLED",
|
|
176
180
|
* },
|
|
177
181
|
* },
|
|
182
|
+
* DefaultLandingUri: "STRING_VALUE",
|
|
183
|
+
* StudioWebPortal: "ENABLED" || "DISABLED",
|
|
178
184
|
* },
|
|
179
185
|
* SubnetIds: [ // Subnets // required
|
|
180
186
|
* "STRING_VALUE",
|
|
@@ -201,6 +207,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
201
207
|
* DefaultResourceSpec: {
|
|
202
208
|
* SageMakerImageArn: "STRING_VALUE",
|
|
203
209
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
210
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
204
211
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
205
212
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
206
213
|
* },
|
|
@@ -65,7 +65,7 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
65
65
|
* ProductionVariants: [ // ProductionVariantList // required
|
|
66
66
|
* { // ProductionVariant
|
|
67
67
|
* VariantName: "STRING_VALUE", // required
|
|
68
|
-
* ModelName: "STRING_VALUE",
|
|
68
|
+
* ModelName: "STRING_VALUE",
|
|
69
69
|
* InitialInstanceCount: Number("int"),
|
|
70
70
|
* InstanceType: "ml.t2.medium" || "ml.t2.large" || "ml.t2.xlarge" || "ml.t2.2xlarge" || "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.12xlarge" || "ml.m5d.24xlarge" || "ml.c4.large" || "ml.c4.xlarge" || "ml.c4.2xlarge" || "ml.c4.4xlarge" || "ml.c4.8xlarge" || "ml.p2.xlarge" || "ml.p2.8xlarge" || "ml.p2.16xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5d.large" || "ml.c5d.xlarge" || "ml.c5d.2xlarge" || "ml.c5d.4xlarge" || "ml.c5d.9xlarge" || "ml.c5d.18xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.12xlarge" || "ml.r5.24xlarge" || "ml.r5d.large" || "ml.r5d.xlarge" || "ml.r5d.2xlarge" || "ml.r5d.4xlarge" || "ml.r5d.12xlarge" || "ml.r5d.24xlarge" || "ml.inf1.xlarge" || "ml.inf1.2xlarge" || "ml.inf1.6xlarge" || "ml.inf1.24xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.p4d.24xlarge" || "ml.c7g.large" || "ml.c7g.xlarge" || "ml.c7g.2xlarge" || "ml.c7g.4xlarge" || "ml.c7g.8xlarge" || "ml.c7g.12xlarge" || "ml.c7g.16xlarge" || "ml.m6g.large" || "ml.m6g.xlarge" || "ml.m6g.2xlarge" || "ml.m6g.4xlarge" || "ml.m6g.8xlarge" || "ml.m6g.12xlarge" || "ml.m6g.16xlarge" || "ml.m6gd.large" || "ml.m6gd.xlarge" || "ml.m6gd.2xlarge" || "ml.m6gd.4xlarge" || "ml.m6gd.8xlarge" || "ml.m6gd.12xlarge" || "ml.m6gd.16xlarge" || "ml.c6g.large" || "ml.c6g.xlarge" || "ml.c6g.2xlarge" || "ml.c6g.4xlarge" || "ml.c6g.8xlarge" || "ml.c6g.12xlarge" || "ml.c6g.16xlarge" || "ml.c6gd.large" || "ml.c6gd.xlarge" || "ml.c6gd.2xlarge" || "ml.c6gd.4xlarge" || "ml.c6gd.8xlarge" || "ml.c6gd.12xlarge" || "ml.c6gd.16xlarge" || "ml.c6gn.large" || "ml.c6gn.xlarge" || "ml.c6gn.2xlarge" || "ml.c6gn.4xlarge" || "ml.c6gn.8xlarge" || "ml.c6gn.12xlarge" || "ml.c6gn.16xlarge" || "ml.r6g.large" || "ml.r6g.xlarge" || "ml.r6g.2xlarge" || "ml.r6g.4xlarge" || "ml.r6g.8xlarge" || "ml.r6g.12xlarge" || "ml.r6g.16xlarge" || "ml.r6gd.large" || "ml.r6gd.xlarge" || "ml.r6gd.2xlarge" || "ml.r6gd.4xlarge" || "ml.r6gd.8xlarge" || "ml.r6gd.12xlarge" || "ml.r6gd.16xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge" || "ml.p5.48xlarge",
|
|
71
71
|
* InitialVariantWeight: Number("float"),
|
|
@@ -83,6 +83,14 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
83
83
|
* ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
84
84
|
* ContainerStartupHealthCheckTimeoutInSeconds: Number("int"),
|
|
85
85
|
* EnableSSMAccess: true || false,
|
|
86
|
+
* ManagedInstanceScaling: { // ProductionVariantManagedInstanceScaling
|
|
87
|
+
* Status: "ENABLED" || "DISABLED",
|
|
88
|
+
* MinInstanceCount: Number("int"),
|
|
89
|
+
* MaxInstanceCount: Number("int"),
|
|
90
|
+
* },
|
|
91
|
+
* RoutingConfig: { // ProductionVariantRoutingConfig
|
|
92
|
+
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
93
|
+
* },
|
|
86
94
|
* },
|
|
87
95
|
* ],
|
|
88
96
|
* DataCaptureConfig: { // DataCaptureConfig
|
|
@@ -169,7 +177,7 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
169
177
|
* ShadowProductionVariants: [
|
|
170
178
|
* {
|
|
171
179
|
* VariantName: "STRING_VALUE", // required
|
|
172
|
-
* ModelName: "STRING_VALUE",
|
|
180
|
+
* ModelName: "STRING_VALUE",
|
|
173
181
|
* InitialInstanceCount: Number("int"),
|
|
174
182
|
* InstanceType: "ml.t2.medium" || "ml.t2.large" || "ml.t2.xlarge" || "ml.t2.2xlarge" || "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.12xlarge" || "ml.m5d.24xlarge" || "ml.c4.large" || "ml.c4.xlarge" || "ml.c4.2xlarge" || "ml.c4.4xlarge" || "ml.c4.8xlarge" || "ml.p2.xlarge" || "ml.p2.8xlarge" || "ml.p2.16xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5d.large" || "ml.c5d.xlarge" || "ml.c5d.2xlarge" || "ml.c5d.4xlarge" || "ml.c5d.9xlarge" || "ml.c5d.18xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.12xlarge" || "ml.r5.24xlarge" || "ml.r5d.large" || "ml.r5d.xlarge" || "ml.r5d.2xlarge" || "ml.r5d.4xlarge" || "ml.r5d.12xlarge" || "ml.r5d.24xlarge" || "ml.inf1.xlarge" || "ml.inf1.2xlarge" || "ml.inf1.6xlarge" || "ml.inf1.24xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.p4d.24xlarge" || "ml.c7g.large" || "ml.c7g.xlarge" || "ml.c7g.2xlarge" || "ml.c7g.4xlarge" || "ml.c7g.8xlarge" || "ml.c7g.12xlarge" || "ml.c7g.16xlarge" || "ml.m6g.large" || "ml.m6g.xlarge" || "ml.m6g.2xlarge" || "ml.m6g.4xlarge" || "ml.m6g.8xlarge" || "ml.m6g.12xlarge" || "ml.m6g.16xlarge" || "ml.m6gd.large" || "ml.m6gd.xlarge" || "ml.m6gd.2xlarge" || "ml.m6gd.4xlarge" || "ml.m6gd.8xlarge" || "ml.m6gd.12xlarge" || "ml.m6gd.16xlarge" || "ml.c6g.large" || "ml.c6g.xlarge" || "ml.c6g.2xlarge" || "ml.c6g.4xlarge" || "ml.c6g.8xlarge" || "ml.c6g.12xlarge" || "ml.c6g.16xlarge" || "ml.c6gd.large" || "ml.c6gd.xlarge" || "ml.c6gd.2xlarge" || "ml.c6gd.4xlarge" || "ml.c6gd.8xlarge" || "ml.c6gd.12xlarge" || "ml.c6gd.16xlarge" || "ml.c6gn.large" || "ml.c6gn.xlarge" || "ml.c6gn.2xlarge" || "ml.c6gn.4xlarge" || "ml.c6gn.8xlarge" || "ml.c6gn.12xlarge" || "ml.c6gn.16xlarge" || "ml.r6g.large" || "ml.r6g.xlarge" || "ml.r6g.2xlarge" || "ml.r6g.4xlarge" || "ml.r6g.8xlarge" || "ml.r6g.12xlarge" || "ml.r6g.16xlarge" || "ml.r6gd.large" || "ml.r6gd.xlarge" || "ml.r6gd.2xlarge" || "ml.r6gd.4xlarge" || "ml.r6gd.8xlarge" || "ml.r6gd.12xlarge" || "ml.r6gd.16xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge" || "ml.p5.48xlarge",
|
|
175
183
|
* InitialVariantWeight: Number("float"),
|
|
@@ -187,8 +195,26 @@ export interface CreateEndpointConfigCommandOutput extends CreateEndpointConfigO
|
|
|
187
195
|
* ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
188
196
|
* ContainerStartupHealthCheckTimeoutInSeconds: Number("int"),
|
|
189
197
|
* EnableSSMAccess: true || false,
|
|
198
|
+
* ManagedInstanceScaling: {
|
|
199
|
+
* Status: "ENABLED" || "DISABLED",
|
|
200
|
+
* MinInstanceCount: Number("int"),
|
|
201
|
+
* MaxInstanceCount: Number("int"),
|
|
202
|
+
* },
|
|
203
|
+
* RoutingConfig: {
|
|
204
|
+
* RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
205
|
+
* },
|
|
190
206
|
* },
|
|
191
207
|
* ],
|
|
208
|
+
* ExecutionRoleArn: "STRING_VALUE",
|
|
209
|
+
* VpcConfig: { // VpcConfig
|
|
210
|
+
* SecurityGroupIds: [ // VpcSecurityGroupIds // required
|
|
211
|
+
* "STRING_VALUE",
|
|
212
|
+
* ],
|
|
213
|
+
* Subnets: [ // Subnets // required
|
|
214
|
+
* "STRING_VALUE",
|
|
215
|
+
* ],
|
|
216
|
+
* },
|
|
217
|
+
* EnableNetworkIsolation: true || false,
|
|
192
218
|
* };
|
|
193
219
|
* const command = new CreateEndpointConfigCommand(input);
|
|
194
220
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateInferenceComponentInput, CreateInferenceComponentOutput } from "../models/models_1";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInferenceComponentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInferenceComponentCommandInput extends CreateInferenceComponentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInferenceComponentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInferenceComponentCommandOutput extends CreateInferenceComponentOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an inference component, which is a SageMaker hosting object that you can
|
|
27
|
+
* use to deploy a model to an endpoint. In the inference component settings, you specify the
|
|
28
|
+
* model, the endpoint, and how the model utilizes the resources that the endpoint hosts. You
|
|
29
|
+
* can optimize resource utilization by tailoring how the required CPU cores, accelerators,
|
|
30
|
+
* and memory are allocated. You can deploy multiple inference components to an endpoint,
|
|
31
|
+
* where each inference component contains one model and the resource utilization needs for
|
|
32
|
+
* that individual model. After you deploy an inference component, you can directly invoke the
|
|
33
|
+
* associated model when you use the InvokeEndpoint API action.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { SageMakerClient, CreateInferenceComponentCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
38
|
+
* // const { SageMakerClient, CreateInferenceComponentCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
39
|
+
* const client = new SageMakerClient(config);
|
|
40
|
+
* const input = { // CreateInferenceComponentInput
|
|
41
|
+
* InferenceComponentName: "STRING_VALUE", // required
|
|
42
|
+
* EndpointName: "STRING_VALUE", // required
|
|
43
|
+
* VariantName: "STRING_VALUE", // required
|
|
44
|
+
* Specification: { // InferenceComponentSpecification
|
|
45
|
+
* ModelName: "STRING_VALUE",
|
|
46
|
+
* Container: { // InferenceComponentContainerSpecification
|
|
47
|
+
* Image: "STRING_VALUE",
|
|
48
|
+
* ArtifactUrl: "STRING_VALUE",
|
|
49
|
+
* Environment: { // EnvironmentMap
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* StartupParameters: { // InferenceComponentStartupParameters
|
|
54
|
+
* ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
55
|
+
* ContainerStartupHealthCheckTimeoutInSeconds: Number("int"),
|
|
56
|
+
* },
|
|
57
|
+
* ComputeResourceRequirements: { // InferenceComponentComputeResourceRequirements
|
|
58
|
+
* NumberOfCpuCoresRequired: Number("float"),
|
|
59
|
+
* NumberOfAcceleratorDevicesRequired: Number("float"),
|
|
60
|
+
* MinMemoryRequiredInMb: Number("int"), // required
|
|
61
|
+
* MaxMemoryRequiredInMb: Number("int"),
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* RuntimeConfig: { // InferenceComponentRuntimeConfig
|
|
65
|
+
* CopyCount: Number("int"), // required
|
|
66
|
+
* },
|
|
67
|
+
* Tags: [ // TagList
|
|
68
|
+
* { // Tag
|
|
69
|
+
* Key: "STRING_VALUE", // required
|
|
70
|
+
* Value: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* };
|
|
74
|
+
* const command = new CreateInferenceComponentCommand(input);
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* // { // CreateInferenceComponentOutput
|
|
77
|
+
* // InferenceComponentArn: "STRING_VALUE", // required
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param CreateInferenceComponentCommandInput - {@link CreateInferenceComponentCommandInput}
|
|
83
|
+
* @returns {@link CreateInferenceComponentCommandOutput}
|
|
84
|
+
* @see {@link CreateInferenceComponentCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link CreateInferenceComponentCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
89
|
+
* <p> You have exceeded an SageMaker resource limit. For example, you might have too many
|
|
90
|
+
* training jobs created. </p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link SageMakerServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare class CreateInferenceComponentCommand extends $Command<CreateInferenceComponentCommandInput, CreateInferenceComponentCommandOutput, SageMakerClientResolvedConfig> {
|
|
97
|
+
readonly input: CreateInferenceComponentCommandInput;
|
|
98
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
constructor(input: CreateInferenceComponentCommandInput);
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInferenceComponentCommandInput, CreateInferenceComponentCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
private serialize;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
private deserialize;
|
|
115
|
+
}
|
|
@@ -116,7 +116,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
|
|
|
116
116
|
* InferenceExecutionConfig: { // InferenceExecutionConfig
|
|
117
117
|
* Mode: "Serial" || "Direct", // required
|
|
118
118
|
* },
|
|
119
|
-
* ExecutionRoleArn: "STRING_VALUE",
|
|
119
|
+
* ExecutionRoleArn: "STRING_VALUE",
|
|
120
120
|
* Tags: [ // TagList
|
|
121
121
|
* { // Tag
|
|
122
122
|
* Key: "STRING_VALUE", // required
|
|
@@ -24,7 +24,7 @@ export interface CreatePresignedDomainUrlCommandOutput extends CreatePresignedDo
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser,
|
|
27
|
-
* the user will be automatically signed in to
|
|
27
|
+
* the user will be automatically signed in to the domain, and granted access to all of
|
|
28
28
|
* the Apps and files associated with the Domain's Amazon Elastic File System (EFS) volume.
|
|
29
29
|
* This operation can only be called when the authentication mode equals IAM.
|
|
30
30
|
* </p>
|
|
@@ -34,7 +34,7 @@ export interface CreatePresignedDomainUrlCommandOutput extends CreatePresignedDo
|
|
|
34
34
|
* frame that attempts to connect to the app.</p>
|
|
35
35
|
* <p>You can restrict access to this API and to the
|
|
36
36
|
* URL that it returns to a list of IP addresses, Amazon VPCs or Amazon VPC Endpoints that you specify. For more
|
|
37
|
-
* information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-interface-endpoint.html">Connect to SageMaker Studio Through an Interface VPC Endpoint</a>
|
|
37
|
+
* information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-interface-endpoint.html">Connect to Amazon SageMaker Studio Through an Interface VPC Endpoint</a>
|
|
38
38
|
* .</p>
|
|
39
39
|
* <note>
|
|
40
40
|
* <p>The URL that you get from a call to <code>CreatePresignedDomainUrl</code> has a default timeout of 5 minutes. You can configure this value using <code>ExpiresInSeconds</code>. If you try to use the URL after the timeout limit expires, you
|
|
@@ -52,6 +52,7 @@ export interface CreatePresignedDomainUrlCommandOutput extends CreatePresignedDo
|
|
|
52
52
|
* SessionExpirationDurationInSeconds: Number("int"),
|
|
53
53
|
* ExpiresInSeconds: Number("int"),
|
|
54
54
|
* SpaceName: "STRING_VALUE",
|
|
55
|
+
* LandingUri: "STRING_VALUE",
|
|
55
56
|
* };
|
|
56
57
|
* const command = new CreatePresignedDomainUrlCommand(input);
|
|
57
58
|
* const response = await client.send(command);
|
|
@@ -44,6 +44,7 @@ export interface CreateSpaceCommandOutput extends CreateSpaceResponse, __Metadat
|
|
|
44
44
|
* DefaultResourceSpec: { // ResourceSpec
|
|
45
45
|
* SageMakerImageArn: "STRING_VALUE",
|
|
46
46
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
47
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
47
48
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
48
49
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
49
50
|
* },
|
|
@@ -60,6 +61,7 @@ export interface CreateSpaceCommandOutput extends CreateSpaceResponse, __Metadat
|
|
|
60
61
|
* DefaultResourceSpec: {
|
|
61
62
|
* SageMakerImageArn: "STRING_VALUE",
|
|
62
63
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
64
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
63
65
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
64
66
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
65
67
|
* },
|
|
@@ -23,7 +23,7 @@ export interface CreateStudioLifecycleConfigCommandOutput extends CreateStudioLi
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a new Studio Lifecycle Configuration.</p>
|
|
26
|
+
* <p>Creates a new Amazon SageMaker Studio Lifecycle Configuration.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -278,6 +278,9 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
|
|
|
278
278
|
* RetryStrategy: { // RetryStrategy
|
|
279
279
|
* MaximumRetryAttempts: Number("int"), // required
|
|
280
280
|
* },
|
|
281
|
+
* InfraCheckConfig: { // InfraCheckConfig
|
|
282
|
+
* EnableInfraCheck: true || false,
|
|
283
|
+
* },
|
|
281
284
|
* };
|
|
282
285
|
* const command = new CreateTrainingJobCommand(input);
|
|
283
286
|
* const response = await client.send(command);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CreateUserProfileRequest
|
|
4
|
+
import { CreateUserProfileRequest } from "../models/models_1";
|
|
5
|
+
import { CreateUserProfileResponse } from "../models/models_2";
|
|
5
6
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
@@ -25,7 +26,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
|
|
|
25
26
|
* @public
|
|
26
27
|
* <p>Creates a user profile. A user profile represents a single user within a domain, and is
|
|
27
28
|
* the main way to reference a "person" for the purposes of sharing, reporting, and other
|
|
28
|
-
* user-oriented features. This entity is created when a user onboards to
|
|
29
|
+
* user-oriented features. This entity is created when a user onboards to a domain. If an
|
|
29
30
|
* administrator invites a person by email or imports them from IAM Identity Center, a user profile is
|
|
30
31
|
* automatically created. A user profile is the primary holder of settings for an individual
|
|
31
32
|
* user and has a reference to the user's private Amazon Elastic File System (EFS) home directory.
|
|
@@ -61,6 +62,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
|
|
|
61
62
|
* DefaultResourceSpec: { // ResourceSpec
|
|
62
63
|
* SageMakerImageArn: "STRING_VALUE",
|
|
63
64
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
65
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
64
66
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
65
67
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
66
68
|
* },
|
|
@@ -77,6 +79,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
|
|
|
77
79
|
* DefaultResourceSpec: {
|
|
78
80
|
* SageMakerImageArn: "STRING_VALUE",
|
|
79
81
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
82
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
80
83
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
81
84
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
82
85
|
* },
|
|
@@ -95,6 +98,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
|
|
|
95
98
|
* DefaultResourceSpec: {
|
|
96
99
|
* SageMakerImageArn: "STRING_VALUE",
|
|
97
100
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
101
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
98
102
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
99
103
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
100
104
|
* },
|
|
@@ -107,6 +111,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
|
|
|
107
111
|
* DefaultResourceSpec: {
|
|
108
112
|
* SageMakerImageArn: "STRING_VALUE",
|
|
109
113
|
* SageMakerImageVersionArn: "STRING_VALUE",
|
|
114
|
+
* SageMakerImageVersionAlias: "STRING_VALUE",
|
|
110
115
|
* InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
111
116
|
* LifecycleConfigArn: "STRING_VALUE",
|
|
112
117
|
* },
|
|
@@ -145,6 +150,8 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
|
|
|
145
150
|
* Status: "ENABLED" || "DISABLED",
|
|
146
151
|
* },
|
|
147
152
|
* },
|
|
153
|
+
* DefaultLandingUri: "STRING_VALUE",
|
|
154
|
+
* StudioWebPortal: "ENABLED" || "DISABLED",
|
|
148
155
|
* },
|
|
149
156
|
* };
|
|
150
157
|
* const command = new CreateUserProfileCommand(input);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CreateWorkforceRequest, CreateWorkforceResponse } from "../models/
|
|
4
|
+
import { CreateWorkforceRequest, CreateWorkforceResponse } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CreateWorkteamRequest, CreateWorkteamResponse } from "../models/
|
|
4
|
+
import { CreateWorkteamRequest, CreateWorkteamResponse } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DeleteActionRequest, DeleteActionResponse } from "../models/
|
|
4
|
+
import { DeleteActionRequest, DeleteActionResponse } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DeleteAlgorithmInput } from "../models/
|
|
4
|
+
import { DeleteAlgorithmInput } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DeleteAppRequest } from "../models/
|
|
4
|
+
import { DeleteAppRequest } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DeleteAppImageConfigRequest } from "../models/
|
|
4
|
+
import { DeleteAppImageConfigRequest } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DeleteArtifactRequest, DeleteArtifactResponse } from "../models/
|
|
4
|
+
import { DeleteArtifactRequest, DeleteArtifactResponse } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DeleteAssociationRequest, DeleteAssociationResponse } from "../models/
|
|
4
|
+
import { DeleteAssociationRequest, DeleteAssociationResponse } from "../models/models_2";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_2";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteClusterCommandInput extends DeleteClusterRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Delete a SageMaker HyperPod cluster.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SageMakerClient, DeleteClusterCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
31
|
+
* // const { SageMakerClient, DeleteClusterCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
32
|
+
* const client = new SageMakerClient(config);
|
|
33
|
+
* const input = { // DeleteClusterRequest
|
|
34
|
+
* ClusterName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteClusterCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DeleteClusterResponse
|
|
39
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeleteClusterCommandInput - {@link DeleteClusterCommandInput}
|
|
45
|
+
* @returns {@link DeleteClusterCommandOutput}
|
|
46
|
+
* @see {@link DeleteClusterCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeleteClusterCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ConflictException} (client fault)
|
|
51
|
+
* <p>There was a conflict when you attempted to modify a SageMaker entity such as an
|
|
52
|
+
* <code>Experiment</code> or <code>Artifact</code>.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
55
|
+
* <p>Resource being access is not found.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SageMakerServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, SageMakerClientResolvedConfig> {
|
|
62
|
+
readonly input: DeleteClusterCommandInput;
|
|
63
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
constructor(input: DeleteClusterCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private deserialize;
|
|
80
|
+
}
|