-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client-cleanroomsml): This release introduces support for Custom…
… Models in AWS Clean Rooms ML.
- v3.731.0
- v3.730.0
- v3.729.0
- v3.728.0
- v3.727.0
- v3.726.1
- v3.726.0
- v3.725.0
- v3.724.0
- v3.723.0
- v3.722.0
- v3.721.0
- v3.720.0
- v3.719.1
- v3.719.0
- v3.718.0
- v3.717.0
- v3.716.0
- v3.715.0
- v3.714.0
- v3.713.0
- v3.712.0
- v3.711.0
- v3.710.0
- v3.709.0
- v3.708.0
- v3.707.0
- v3.706.0
- v3.705.0
- v3.704.0
- v3.703.0
- v3.702.0
- v3.701.0
- v3.700.0
- v3.699.0
- v3.698.0
- v3.697.0
- v3.696.0
- v3.695.0
- v3.694.0
- v3.693.0
- v3.692.0
- v3.691.0
- v3.690.0
- v3.689.0
- v3.688.0
- v3.687.0
awstools
committed
Nov 7, 2024
1 parent
b06511c
commit 188d601
Showing
51 changed files
with
20,554 additions
and
2,119 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
clients/client-cleanroomsml/src/commands/CancelTrainedModelCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { CancelTrainedModelRequest } from "../models/models_0"; | ||
import { de_CancelTrainedModelCommand, se_CancelTrainedModelCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link CancelTrainedModelCommand}. | ||
*/ | ||
export interface CancelTrainedModelCommandInput extends CancelTrainedModelRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link CancelTrainedModelCommand}. | ||
*/ | ||
export interface CancelTrainedModelCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Submits a request to cancel the trained model job.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, CancelTrainedModelCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, CancelTrainedModelCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // CancelTrainedModelRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* trainedModelArn: "STRING_VALUE", // required | ||
* }; | ||
* const command = new CancelTrainedModelCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param CancelTrainedModelCommandInput - {@link CancelTrainedModelCommandInput} | ||
* @returns {@link CancelTrainedModelCommandOutput} | ||
* @see {@link CancelTrainedModelCommandInput} for command's `input` shape. | ||
* @see {@link CancelTrainedModelCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class CancelTrainedModelCommand extends $Command | ||
.classBuilder< | ||
CancelTrainedModelCommandInput, | ||
CancelTrainedModelCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "CancelTrainedModel", {}) | ||
.n("CleanRoomsMLClient", "CancelTrainedModelCommand") | ||
.f(void 0, void 0) | ||
.ser(se_CancelTrainedModelCommand) | ||
.de(de_CancelTrainedModelCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: CancelTrainedModelRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: CancelTrainedModelCommandInput; | ||
output: CancelTrainedModelCommandOutput; | ||
}; | ||
}; | ||
} |
106 changes: 106 additions & 0 deletions
106
clients/client-cleanroomsml/src/commands/CancelTrainedModelInferenceJobCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { CancelTrainedModelInferenceJobRequest } from "../models/models_0"; | ||
import { | ||
de_CancelTrainedModelInferenceJobCommand, | ||
se_CancelTrainedModelInferenceJobCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link CancelTrainedModelInferenceJobCommand}. | ||
*/ | ||
export interface CancelTrainedModelInferenceJobCommandInput extends CancelTrainedModelInferenceJobRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link CancelTrainedModelInferenceJobCommand}. | ||
*/ | ||
export interface CancelTrainedModelInferenceJobCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Submits a request to cancel a trained model inference job.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, CancelTrainedModelInferenceJobCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, CancelTrainedModelInferenceJobCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // CancelTrainedModelInferenceJobRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* trainedModelInferenceJobArn: "STRING_VALUE", // required | ||
* }; | ||
* const command = new CancelTrainedModelInferenceJobCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param CancelTrainedModelInferenceJobCommandInput - {@link CancelTrainedModelInferenceJobCommandInput} | ||
* @returns {@link CancelTrainedModelInferenceJobCommandOutput} | ||
* @see {@link CancelTrainedModelInferenceJobCommandInput} for command's `input` shape. | ||
* @see {@link CancelTrainedModelInferenceJobCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class CancelTrainedModelInferenceJobCommand extends $Command | ||
.classBuilder< | ||
CancelTrainedModelInferenceJobCommandInput, | ||
CancelTrainedModelInferenceJobCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "CancelTrainedModelInferenceJob", {}) | ||
.n("CleanRoomsMLClient", "CancelTrainedModelInferenceJobCommand") | ||
.f(void 0, void 0) | ||
.ser(se_CancelTrainedModelInferenceJobCommand) | ||
.de(de_CancelTrainedModelInferenceJobCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: CancelTrainedModelInferenceJobRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: CancelTrainedModelInferenceJobCommandInput; | ||
output: CancelTrainedModelInferenceJobCommandOutput; | ||
}; | ||
}; | ||
} |
162 changes: 162 additions & 0 deletions
162
clients/client-cleanroomsml/src/commands/CreateConfiguredModelAlgorithmAssociationCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { | ||
CreateConfiguredModelAlgorithmAssociationRequest, | ||
CreateConfiguredModelAlgorithmAssociationResponse, | ||
} from "../models/models_0"; | ||
import { | ||
de_CreateConfiguredModelAlgorithmAssociationCommand, | ||
se_CreateConfiguredModelAlgorithmAssociationCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link CreateConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface CreateConfiguredModelAlgorithmAssociationCommandInput | ||
extends CreateConfiguredModelAlgorithmAssociationRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link CreateConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface CreateConfiguredModelAlgorithmAssociationCommandOutput | ||
extends CreateConfiguredModelAlgorithmAssociationResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Associates a configured model algorithm to a collaboration for use by any member of the collaboration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, CreateConfiguredModelAlgorithmAssociationCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, CreateConfiguredModelAlgorithmAssociationCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // CreateConfiguredModelAlgorithmAssociationRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* name: "STRING_VALUE", // required | ||
* description: "STRING_VALUE", | ||
* privacyConfiguration: { // PrivacyConfiguration | ||
* policies: { // PrivacyConfigurationPolicies | ||
* trainedModels: { // TrainedModelsConfigurationPolicy | ||
* containerLogs: [ // LogsConfigurationPolicyList | ||
* { // LogsConfigurationPolicy | ||
* allowedAccountIds: [ // AccountIdList // required | ||
* "STRING_VALUE", | ||
* ], | ||
* filterPattern: "STRING_VALUE", | ||
* }, | ||
* ], | ||
* containerMetrics: { // MetricsConfigurationPolicy | ||
* noiseLevel: "HIGH" || "MEDIUM" || "LOW" || "NONE", // required | ||
* }, | ||
* }, | ||
* trainedModelExports: { // TrainedModelExportsConfigurationPolicy | ||
* maxSize: { // TrainedModelExportsMaxSize | ||
* unit: "GB", // required | ||
* value: Number("double"), // required | ||
* }, | ||
* filesToExport: [ // TrainedModelExportFileTypeList // required | ||
* "MODEL" || "OUTPUT", | ||
* ], | ||
* }, | ||
* trainedModelInferenceJobs: { // TrainedModelInferenceJobsConfigurationPolicy | ||
* containerLogs: [ | ||
* { | ||
* allowedAccountIds: [ // required | ||
* "STRING_VALUE", | ||
* ], | ||
* filterPattern: "STRING_VALUE", | ||
* }, | ||
* ], | ||
* maxOutputSize: { // TrainedModelInferenceMaxOutputSize | ||
* unit: "GB", // required | ||
* value: Number("double"), // required | ||
* }, | ||
* }, | ||
* }, | ||
* }, | ||
* tags: { // TagMap | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* }; | ||
* const command = new CreateConfiguredModelAlgorithmAssociationCommand(input); | ||
* const response = await client.send(command); | ||
* // { // CreateConfiguredModelAlgorithmAssociationResponse | ||
* // configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param CreateConfiguredModelAlgorithmAssociationCommandInput - {@link CreateConfiguredModelAlgorithmAssociationCommandInput} | ||
* @returns {@link CreateConfiguredModelAlgorithmAssociationCommandOutput} | ||
* @see {@link CreateConfiguredModelAlgorithmAssociationCommandInput} for command's `input` shape. | ||
* @see {@link CreateConfiguredModelAlgorithmAssociationCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ServiceQuotaExceededException} (client fault) | ||
* <p>You have exceeded your service quota.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class CreateConfiguredModelAlgorithmAssociationCommand extends $Command | ||
.classBuilder< | ||
CreateConfiguredModelAlgorithmAssociationCommandInput, | ||
CreateConfiguredModelAlgorithmAssociationCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "CreateConfiguredModelAlgorithmAssociation", {}) | ||
.n("CleanRoomsMLClient", "CreateConfiguredModelAlgorithmAssociationCommand") | ||
.f(void 0, void 0) | ||
.ser(se_CreateConfiguredModelAlgorithmAssociationCommand) | ||
.de(de_CreateConfiguredModelAlgorithmAssociationCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: CreateConfiguredModelAlgorithmAssociationRequest; | ||
output: CreateConfiguredModelAlgorithmAssociationResponse; | ||
}; | ||
sdk: { | ||
input: CreateConfiguredModelAlgorithmAssociationCommandInput; | ||
output: CreateConfiguredModelAlgorithmAssociationCommandOutput; | ||
}; | ||
}; | ||
} |
133 changes: 133 additions & 0 deletions
133
clients/client-cleanroomsml/src/commands/CreateConfiguredModelAlgorithmCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { CreateConfiguredModelAlgorithmRequest, CreateConfiguredModelAlgorithmResponse } from "../models/models_0"; | ||
import { | ||
de_CreateConfiguredModelAlgorithmCommand, | ||
se_CreateConfiguredModelAlgorithmCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link CreateConfiguredModelAlgorithmCommand}. | ||
*/ | ||
export interface CreateConfiguredModelAlgorithmCommandInput extends CreateConfiguredModelAlgorithmRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link CreateConfiguredModelAlgorithmCommand}. | ||
*/ | ||
export interface CreateConfiguredModelAlgorithmCommandOutput | ||
extends CreateConfiguredModelAlgorithmResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Creates a configured model algorithm using a container image stored in an ECR repository.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, CreateConfiguredModelAlgorithmCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, CreateConfiguredModelAlgorithmCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // CreateConfiguredModelAlgorithmRequest | ||
* name: "STRING_VALUE", // required | ||
* description: "STRING_VALUE", | ||
* roleArn: "STRING_VALUE", // required | ||
* trainingContainerConfig: { // ContainerConfig | ||
* imageUri: "STRING_VALUE", // required | ||
* entrypoint: [ // ContainerEntrypoint | ||
* "STRING_VALUE", | ||
* ], | ||
* arguments: [ // ContainerArguments | ||
* "STRING_VALUE", | ||
* ], | ||
* metricDefinitions: [ // MetricDefinitionList | ||
* { // MetricDefinition | ||
* name: "STRING_VALUE", // required | ||
* regex: "STRING_VALUE", // required | ||
* }, | ||
* ], | ||
* }, | ||
* inferenceContainerConfig: { // InferenceContainerConfig | ||
* imageUri: "STRING_VALUE", // required | ||
* }, | ||
* tags: { // TagMap | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* kmsKeyArn: "STRING_VALUE", | ||
* }; | ||
* const command = new CreateConfiguredModelAlgorithmCommand(input); | ||
* const response = await client.send(command); | ||
* // { // CreateConfiguredModelAlgorithmResponse | ||
* // configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param CreateConfiguredModelAlgorithmCommandInput - {@link CreateConfiguredModelAlgorithmCommandInput} | ||
* @returns {@link CreateConfiguredModelAlgorithmCommandOutput} | ||
* @see {@link CreateConfiguredModelAlgorithmCommandInput} for command's `input` shape. | ||
* @see {@link CreateConfiguredModelAlgorithmCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ServiceQuotaExceededException} (client fault) | ||
* <p>You have exceeded your service quota.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class CreateConfiguredModelAlgorithmCommand extends $Command | ||
.classBuilder< | ||
CreateConfiguredModelAlgorithmCommandInput, | ||
CreateConfiguredModelAlgorithmCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "CreateConfiguredModelAlgorithm", {}) | ||
.n("CleanRoomsMLClient", "CreateConfiguredModelAlgorithmCommand") | ||
.f(void 0, void 0) | ||
.ser(se_CreateConfiguredModelAlgorithmCommand) | ||
.de(de_CreateConfiguredModelAlgorithmCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: CreateConfiguredModelAlgorithmRequest; | ||
output: CreateConfiguredModelAlgorithmResponse; | ||
}; | ||
sdk: { | ||
input: CreateConfiguredModelAlgorithmCommandInput; | ||
output: CreateConfiguredModelAlgorithmCommandOutput; | ||
}; | ||
}; | ||
} |
141 changes: 141 additions & 0 deletions
141
clients/client-cleanroomsml/src/commands/CreateMLInputChannelCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { | ||
CreateMLInputChannelRequest, | ||
CreateMLInputChannelRequestFilterSensitiveLog, | ||
CreateMLInputChannelResponse, | ||
} from "../models/models_0"; | ||
import { de_CreateMLInputChannelCommand, se_CreateMLInputChannelCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link CreateMLInputChannelCommand}. | ||
*/ | ||
export interface CreateMLInputChannelCommandInput extends CreateMLInputChannelRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link CreateMLInputChannelCommand}. | ||
*/ | ||
export interface CreateMLInputChannelCommandOutput extends CreateMLInputChannelResponse, __MetadataBearer {} | ||
|
||
/** | ||
* <p>Provides the information to create an ML input channel. An ML input channel is the result of a query that can be used for ML modeling.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, CreateMLInputChannelCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, CreateMLInputChannelCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // CreateMLInputChannelRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* configuredModelAlgorithmAssociations: [ // ConfiguredModelAlgorithmAssociationArnList // required | ||
* "STRING_VALUE", | ||
* ], | ||
* inputChannel: { // InputChannel | ||
* dataSource: { // InputChannelDataSource Union: only one key present | ||
* protectedQueryInputParameters: { // ProtectedQueryInputParameters | ||
* sqlParameters: { // ProtectedQuerySQLParameters | ||
* queryString: "STRING_VALUE", | ||
* analysisTemplateArn: "STRING_VALUE", | ||
* parameters: { // ParameterMap | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* }, | ||
* computeConfiguration: { // ComputeConfiguration Union: only one key present | ||
* worker: { // WorkerComputeConfiguration | ||
* type: "CR.1X" || "CR.4X", | ||
* number: Number("int"), | ||
* }, | ||
* }, | ||
* }, | ||
* }, | ||
* roleArn: "STRING_VALUE", // required | ||
* }, | ||
* name: "STRING_VALUE", // required | ||
* retentionInDays: Number("int"), // required | ||
* description: "STRING_VALUE", | ||
* kmsKeyArn: "STRING_VALUE", | ||
* tags: { // TagMap | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* }; | ||
* const command = new CreateMLInputChannelCommand(input); | ||
* const response = await client.send(command); | ||
* // { // CreateMLInputChannelResponse | ||
* // mlInputChannelArn: "STRING_VALUE", // required | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param CreateMLInputChannelCommandInput - {@link CreateMLInputChannelCommandInput} | ||
* @returns {@link CreateMLInputChannelCommandOutput} | ||
* @see {@link CreateMLInputChannelCommandInput} for command's `input` shape. | ||
* @see {@link CreateMLInputChannelCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ServiceQuotaExceededException} (client fault) | ||
* <p>You have exceeded your service quota.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class CreateMLInputChannelCommand extends $Command | ||
.classBuilder< | ||
CreateMLInputChannelCommandInput, | ||
CreateMLInputChannelCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "CreateMLInputChannel", {}) | ||
.n("CleanRoomsMLClient", "CreateMLInputChannelCommand") | ||
.f(CreateMLInputChannelRequestFilterSensitiveLog, void 0) | ||
.ser(se_CreateMLInputChannelCommand) | ||
.de(de_CreateMLInputChannelCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: CreateMLInputChannelRequest; | ||
output: CreateMLInputChannelResponse; | ||
}; | ||
sdk: { | ||
input: CreateMLInputChannelCommandInput; | ||
output: CreateMLInputChannelCommandOutput; | ||
}; | ||
}; | ||
} |
134 changes: 134 additions & 0 deletions
134
clients/client-cleanroomsml/src/commands/CreateTrainedModelCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { CreateTrainedModelRequest, CreateTrainedModelResponse } from "../models/models_0"; | ||
import { de_CreateTrainedModelCommand, se_CreateTrainedModelCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link CreateTrainedModelCommand}. | ||
*/ | ||
export interface CreateTrainedModelCommandInput extends CreateTrainedModelRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link CreateTrainedModelCommand}. | ||
*/ | ||
export interface CreateTrainedModelCommandOutput extends CreateTrainedModelResponse, __MetadataBearer {} | ||
|
||
/** | ||
* <p>Creates a trained model from an associated configured model algorithm using data from any member of the collaboration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, CreateTrainedModelCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, CreateTrainedModelCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // CreateTrainedModelRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* name: "STRING_VALUE", // required | ||
* configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* hyperparameters: { // HyperParameters | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* environment: { // Environment | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* resourceConfig: { // ResourceConfig | ||
* instanceCount: Number("int"), | ||
* instanceType: "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "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.p3dn.24xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5n.xlarge" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "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.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.8xlarge" || "ml.c6i.4xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.r5d.large" || "ml.r5d.xlarge" || "ml.r5d.2xlarge" || "ml.r5d.4xlarge" || "ml.r5d.8xlarge" || "ml.r5d.12xlarge" || "ml.r5d.16xlarge" || "ml.r5d.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge", // required | ||
* volumeSizeInGB: Number("int"), // required | ||
* }, | ||
* stoppingCondition: { // StoppingCondition | ||
* maxRuntimeInSeconds: Number("int"), | ||
* }, | ||
* dataChannels: [ // ModelTrainingDataChannels // required | ||
* { // ModelTrainingDataChannel | ||
* mlInputChannelArn: "STRING_VALUE", // required | ||
* channelName: "STRING_VALUE", // required | ||
* }, | ||
* ], | ||
* description: "STRING_VALUE", | ||
* kmsKeyArn: "STRING_VALUE", | ||
* tags: { // TagMap | ||
* "<keys>": "STRING_VALUE", | ||
* }, | ||
* }; | ||
* const command = new CreateTrainedModelCommand(input); | ||
* const response = await client.send(command); | ||
* // { // CreateTrainedModelResponse | ||
* // trainedModelArn: "STRING_VALUE", // required | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param CreateTrainedModelCommandInput - {@link CreateTrainedModelCommandInput} | ||
* @returns {@link CreateTrainedModelCommandOutput} | ||
* @see {@link CreateTrainedModelCommandInput} for command's `input` shape. | ||
* @see {@link CreateTrainedModelCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ServiceQuotaExceededException} (client fault) | ||
* <p>You have exceeded your service quota.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class CreateTrainedModelCommand extends $Command | ||
.classBuilder< | ||
CreateTrainedModelCommandInput, | ||
CreateTrainedModelCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "CreateTrainedModel", {}) | ||
.n("CleanRoomsMLClient", "CreateTrainedModelCommand") | ||
.f(void 0, void 0) | ||
.ser(se_CreateTrainedModelCommand) | ||
.de(de_CreateTrainedModelCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: CreateTrainedModelRequest; | ||
output: CreateTrainedModelResponse; | ||
}; | ||
sdk: { | ||
input: CreateTrainedModelCommandInput; | ||
output: CreateTrainedModelCommandOutput; | ||
}; | ||
}; | ||
} |
107 changes: 107 additions & 0 deletions
107
clients/client-cleanroomsml/src/commands/DeleteConfiguredModelAlgorithmAssociationCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { DeleteConfiguredModelAlgorithmAssociationRequest } from "../models/models_0"; | ||
import { | ||
de_DeleteConfiguredModelAlgorithmAssociationCommand, | ||
se_DeleteConfiguredModelAlgorithmAssociationCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DeleteConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface DeleteConfiguredModelAlgorithmAssociationCommandInput | ||
extends DeleteConfiguredModelAlgorithmAssociationRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DeleteConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface DeleteConfiguredModelAlgorithmAssociationCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Deletes a configured model algorithm association.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, DeleteConfiguredModelAlgorithmAssociationCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, DeleteConfiguredModelAlgorithmAssociationCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // DeleteConfiguredModelAlgorithmAssociationRequest | ||
* configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DeleteConfiguredModelAlgorithmAssociationCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param DeleteConfiguredModelAlgorithmAssociationCommandInput - {@link DeleteConfiguredModelAlgorithmAssociationCommandInput} | ||
* @returns {@link DeleteConfiguredModelAlgorithmAssociationCommandOutput} | ||
* @see {@link DeleteConfiguredModelAlgorithmAssociationCommandInput} for command's `input` shape. | ||
* @see {@link DeleteConfiguredModelAlgorithmAssociationCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DeleteConfiguredModelAlgorithmAssociationCommand extends $Command | ||
.classBuilder< | ||
DeleteConfiguredModelAlgorithmAssociationCommandInput, | ||
DeleteConfiguredModelAlgorithmAssociationCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "DeleteConfiguredModelAlgorithmAssociation", {}) | ||
.n("CleanRoomsMLClient", "DeleteConfiguredModelAlgorithmAssociationCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DeleteConfiguredModelAlgorithmAssociationCommand) | ||
.de(de_DeleteConfiguredModelAlgorithmAssociationCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: DeleteConfiguredModelAlgorithmAssociationRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: DeleteConfiguredModelAlgorithmAssociationCommandInput; | ||
output: DeleteConfiguredModelAlgorithmAssociationCommandOutput; | ||
}; | ||
}; | ||
} |
105 changes: 105 additions & 0 deletions
105
clients/client-cleanroomsml/src/commands/DeleteConfiguredModelAlgorithmCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { DeleteConfiguredModelAlgorithmRequest } from "../models/models_0"; | ||
import { | ||
de_DeleteConfiguredModelAlgorithmCommand, | ||
se_DeleteConfiguredModelAlgorithmCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DeleteConfiguredModelAlgorithmCommand}. | ||
*/ | ||
export interface DeleteConfiguredModelAlgorithmCommandInput extends DeleteConfiguredModelAlgorithmRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DeleteConfiguredModelAlgorithmCommand}. | ||
*/ | ||
export interface DeleteConfiguredModelAlgorithmCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Deletes a configured model algorithm.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, DeleteConfiguredModelAlgorithmCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, DeleteConfiguredModelAlgorithmCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // DeleteConfiguredModelAlgorithmRequest | ||
* configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DeleteConfiguredModelAlgorithmCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param DeleteConfiguredModelAlgorithmCommandInput - {@link DeleteConfiguredModelAlgorithmCommandInput} | ||
* @returns {@link DeleteConfiguredModelAlgorithmCommandOutput} | ||
* @see {@link DeleteConfiguredModelAlgorithmCommandInput} for command's `input` shape. | ||
* @see {@link DeleteConfiguredModelAlgorithmCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DeleteConfiguredModelAlgorithmCommand extends $Command | ||
.classBuilder< | ||
DeleteConfiguredModelAlgorithmCommandInput, | ||
DeleteConfiguredModelAlgorithmCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "DeleteConfiguredModelAlgorithm", {}) | ||
.n("CleanRoomsMLClient", "DeleteConfiguredModelAlgorithmCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DeleteConfiguredModelAlgorithmCommand) | ||
.de(de_DeleteConfiguredModelAlgorithmCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: DeleteConfiguredModelAlgorithmRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: DeleteConfiguredModelAlgorithmCommandInput; | ||
output: DeleteConfiguredModelAlgorithmCommandOutput; | ||
}; | ||
}; | ||
} |
99 changes: 99 additions & 0 deletions
99
clients/client-cleanroomsml/src/commands/DeleteMLConfigurationCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { DeleteMLConfigurationRequest } from "../models/models_0"; | ||
import { de_DeleteMLConfigurationCommand, se_DeleteMLConfigurationCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DeleteMLConfigurationCommand}. | ||
*/ | ||
export interface DeleteMLConfigurationCommandInput extends DeleteMLConfigurationRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DeleteMLConfigurationCommand}. | ||
*/ | ||
export interface DeleteMLConfigurationCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Deletes a ML modeling configuration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, DeleteMLConfigurationCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, DeleteMLConfigurationCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // DeleteMLConfigurationRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DeleteMLConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param DeleteMLConfigurationCommandInput - {@link DeleteMLConfigurationCommandInput} | ||
* @returns {@link DeleteMLConfigurationCommandOutput} | ||
* @see {@link DeleteMLConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link DeleteMLConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DeleteMLConfigurationCommand extends $Command | ||
.classBuilder< | ||
DeleteMLConfigurationCommandInput, | ||
DeleteMLConfigurationCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "DeleteMLConfiguration", {}) | ||
.n("CleanRoomsMLClient", "DeleteMLConfigurationCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DeleteMLConfigurationCommand) | ||
.de(de_DeleteMLConfigurationCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: DeleteMLConfigurationRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: DeleteMLConfigurationCommandInput; | ||
output: DeleteMLConfigurationCommandOutput; | ||
}; | ||
}; | ||
} |
103 changes: 103 additions & 0 deletions
103
clients/client-cleanroomsml/src/commands/DeleteMLInputChannelDataCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { DeleteMLInputChannelDataRequest } from "../models/models_0"; | ||
import { de_DeleteMLInputChannelDataCommand, se_DeleteMLInputChannelDataCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DeleteMLInputChannelDataCommand}. | ||
*/ | ||
export interface DeleteMLInputChannelDataCommandInput extends DeleteMLInputChannelDataRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DeleteMLInputChannelDataCommand}. | ||
*/ | ||
export interface DeleteMLInputChannelDataCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Provides the information necessary to delete an ML input channel.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, DeleteMLInputChannelDataCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, DeleteMLInputChannelDataCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // DeleteMLInputChannelDataRequest | ||
* mlInputChannelArn: "STRING_VALUE", // required | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DeleteMLInputChannelDataCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param DeleteMLInputChannelDataCommandInput - {@link DeleteMLInputChannelDataCommandInput} | ||
* @returns {@link DeleteMLInputChannelDataCommandOutput} | ||
* @see {@link DeleteMLInputChannelDataCommandInput} for command's `input` shape. | ||
* @see {@link DeleteMLInputChannelDataCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DeleteMLInputChannelDataCommand extends $Command | ||
.classBuilder< | ||
DeleteMLInputChannelDataCommandInput, | ||
DeleteMLInputChannelDataCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "DeleteMLInputChannelData", {}) | ||
.n("CleanRoomsMLClient", "DeleteMLInputChannelDataCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DeleteMLInputChannelDataCommand) | ||
.de(de_DeleteMLInputChannelDataCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: DeleteMLInputChannelDataRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: DeleteMLInputChannelDataCommandInput; | ||
output: DeleteMLInputChannelDataCommandOutput; | ||
}; | ||
}; | ||
} |
103 changes: 103 additions & 0 deletions
103
clients/client-cleanroomsml/src/commands/DeleteTrainedModelOutputCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { DeleteTrainedModelOutputRequest } from "../models/models_0"; | ||
import { de_DeleteTrainedModelOutputCommand, se_DeleteTrainedModelOutputCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DeleteTrainedModelOutputCommand}. | ||
*/ | ||
export interface DeleteTrainedModelOutputCommandInput extends DeleteTrainedModelOutputRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DeleteTrainedModelOutputCommand}. | ||
*/ | ||
export interface DeleteTrainedModelOutputCommandOutput extends __MetadataBearer {} | ||
|
||
/** | ||
* <p>Deletes the output of a trained model.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, DeleteTrainedModelOutputCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, DeleteTrainedModelOutputCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // DeleteTrainedModelOutputRequest | ||
* trainedModelArn: "STRING_VALUE", // required | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DeleteTrainedModelOutputCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param DeleteTrainedModelOutputCommandInput - {@link DeleteTrainedModelOutputCommandInput} | ||
* @returns {@link DeleteTrainedModelOutputCommandOutput} | ||
* @see {@link DeleteTrainedModelOutputCommandInput} for command's `input` shape. | ||
* @see {@link DeleteTrainedModelOutputCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ConflictException} (client fault) | ||
* <p>You can't complete this action because another resource depends on this resource.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DeleteTrainedModelOutputCommand extends $Command | ||
.classBuilder< | ||
DeleteTrainedModelOutputCommandInput, | ||
DeleteTrainedModelOutputCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "DeleteTrainedModelOutput", {}) | ||
.n("CleanRoomsMLClient", "DeleteTrainedModelOutputCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DeleteTrainedModelOutputCommand) | ||
.de(de_DeleteTrainedModelOutputCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: DeleteTrainedModelOutputRequest; | ||
output: {}; | ||
}; | ||
sdk: { | ||
input: DeleteTrainedModelOutputCommandInput; | ||
output: DeleteTrainedModelOutputCommandOutput; | ||
}; | ||
}; | ||
} |
159 changes: 159 additions & 0 deletions
159
...t-cleanroomsml/src/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { | ||
GetCollaborationConfiguredModelAlgorithmAssociationRequest, | ||
GetCollaborationConfiguredModelAlgorithmAssociationResponse, | ||
} from "../models/models_0"; | ||
import { | ||
de_GetCollaborationConfiguredModelAlgorithmAssociationCommand, | ||
se_GetCollaborationConfiguredModelAlgorithmAssociationCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetCollaborationConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface GetCollaborationConfiguredModelAlgorithmAssociationCommandInput | ||
extends GetCollaborationConfiguredModelAlgorithmAssociationRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetCollaborationConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput | ||
extends GetCollaborationConfiguredModelAlgorithmAssociationResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about the configured model algorithm association in a collaboration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetCollaborationConfiguredModelAlgorithmAssociationCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetCollaborationConfiguredModelAlgorithmAssociationCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetCollaborationConfiguredModelAlgorithmAssociationRequest | ||
* configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* collaborationIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetCollaborationConfiguredModelAlgorithmAssociationCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetCollaborationConfiguredModelAlgorithmAssociationResponse | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* // membershipIdentifier: "STRING_VALUE", // required | ||
* // collaborationIdentifier: "STRING_VALUE", // required | ||
* // configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* // name: "STRING_VALUE", // required | ||
* // description: "STRING_VALUE", | ||
* // creatorAccountId: "STRING_VALUE", // required | ||
* // privacyConfiguration: { // PrivacyConfiguration | ||
* // policies: { // PrivacyConfigurationPolicies | ||
* // trainedModels: { // TrainedModelsConfigurationPolicy | ||
* // containerLogs: [ // LogsConfigurationPolicyList | ||
* // { // LogsConfigurationPolicy | ||
* // allowedAccountIds: [ // AccountIdList // required | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // filterPattern: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // containerMetrics: { // MetricsConfigurationPolicy | ||
* // noiseLevel: "HIGH" || "MEDIUM" || "LOW" || "NONE", // required | ||
* // }, | ||
* // }, | ||
* // trainedModelExports: { // TrainedModelExportsConfigurationPolicy | ||
* // maxSize: { // TrainedModelExportsMaxSize | ||
* // unit: "GB", // required | ||
* // value: Number("double"), // required | ||
* // }, | ||
* // filesToExport: [ // TrainedModelExportFileTypeList // required | ||
* // "MODEL" || "OUTPUT", | ||
* // ], | ||
* // }, | ||
* // trainedModelInferenceJobs: { // TrainedModelInferenceJobsConfigurationPolicy | ||
* // containerLogs: [ | ||
* // { | ||
* // allowedAccountIds: [ // required | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // filterPattern: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // maxOutputSize: { // TrainedModelInferenceMaxOutputSize | ||
* // unit: "GB", // required | ||
* // value: Number("double"), // required | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetCollaborationConfiguredModelAlgorithmAssociationCommandInput - {@link GetCollaborationConfiguredModelAlgorithmAssociationCommandInput} | ||
* @returns {@link GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput} | ||
* @see {@link GetCollaborationConfiguredModelAlgorithmAssociationCommandInput} for command's `input` shape. | ||
* @see {@link GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetCollaborationConfiguredModelAlgorithmAssociationCommand extends $Command | ||
.classBuilder< | ||
GetCollaborationConfiguredModelAlgorithmAssociationCommandInput, | ||
GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetCollaborationConfiguredModelAlgorithmAssociation", {}) | ||
.n("CleanRoomsMLClient", "GetCollaborationConfiguredModelAlgorithmAssociationCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetCollaborationConfiguredModelAlgorithmAssociationCommand) | ||
.de(de_GetCollaborationConfiguredModelAlgorithmAssociationCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetCollaborationConfiguredModelAlgorithmAssociationRequest; | ||
output: GetCollaborationConfiguredModelAlgorithmAssociationResponse; | ||
}; | ||
sdk: { | ||
input: GetCollaborationConfiguredModelAlgorithmAssociationCommandInput; | ||
output: GetCollaborationConfiguredModelAlgorithmAssociationCommandOutput; | ||
}; | ||
}; | ||
} |
124 changes: 124 additions & 0 deletions
124
clients/client-cleanroomsml/src/commands/GetCollaborationMLInputChannelCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetCollaborationMLInputChannelRequest, GetCollaborationMLInputChannelResponse } from "../models/models_0"; | ||
import { | ||
de_GetCollaborationMLInputChannelCommand, | ||
se_GetCollaborationMLInputChannelCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetCollaborationMLInputChannelCommand}. | ||
*/ | ||
export interface GetCollaborationMLInputChannelCommandInput extends GetCollaborationMLInputChannelRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetCollaborationMLInputChannelCommand}. | ||
*/ | ||
export interface GetCollaborationMLInputChannelCommandOutput | ||
extends GetCollaborationMLInputChannelResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about a specific ML input channel in a collaboration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetCollaborationMLInputChannelCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetCollaborationMLInputChannelCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetCollaborationMLInputChannelRequest | ||
* mlInputChannelArn: "STRING_VALUE", // required | ||
* collaborationIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetCollaborationMLInputChannelCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetCollaborationMLInputChannelResponse | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // creatorAccountId: "STRING_VALUE", // required | ||
* // membershipIdentifier: "STRING_VALUE", // required | ||
* // collaborationIdentifier: "STRING_VALUE", // required | ||
* // mlInputChannelArn: "STRING_VALUE", // required | ||
* // name: "STRING_VALUE", // required | ||
* // configuredModelAlgorithmAssociations: [ // ConfiguredModelAlgorithmAssociationArnList // required | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // status: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "ACTIVE" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "INACTIVE", // required | ||
* // statusDetails: { // StatusDetails | ||
* // statusCode: "STRING_VALUE", | ||
* // message: "STRING_VALUE", | ||
* // }, | ||
* // retentionInDays: Number("int"), // required | ||
* // numberOfRecords: Number("long"), | ||
* // description: "STRING_VALUE", | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetCollaborationMLInputChannelCommandInput - {@link GetCollaborationMLInputChannelCommandInput} | ||
* @returns {@link GetCollaborationMLInputChannelCommandOutput} | ||
* @see {@link GetCollaborationMLInputChannelCommandInput} for command's `input` shape. | ||
* @see {@link GetCollaborationMLInputChannelCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetCollaborationMLInputChannelCommand extends $Command | ||
.classBuilder< | ||
GetCollaborationMLInputChannelCommandInput, | ||
GetCollaborationMLInputChannelCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetCollaborationMLInputChannel", {}) | ||
.n("CleanRoomsMLClient", "GetCollaborationMLInputChannelCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetCollaborationMLInputChannelCommand) | ||
.de(de_GetCollaborationMLInputChannelCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetCollaborationMLInputChannelRequest; | ||
output: GetCollaborationMLInputChannelResponse; | ||
}; | ||
sdk: { | ||
input: GetCollaborationMLInputChannelCommandInput; | ||
output: GetCollaborationMLInputChannelCommandOutput; | ||
}; | ||
}; | ||
} |
133 changes: 133 additions & 0 deletions
133
clients/client-cleanroomsml/src/commands/GetCollaborationTrainedModelCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetCollaborationTrainedModelRequest, GetCollaborationTrainedModelResponse } from "../models/models_0"; | ||
import { | ||
de_GetCollaborationTrainedModelCommand, | ||
se_GetCollaborationTrainedModelCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetCollaborationTrainedModelCommand}. | ||
*/ | ||
export interface GetCollaborationTrainedModelCommandInput extends GetCollaborationTrainedModelRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetCollaborationTrainedModelCommand}. | ||
*/ | ||
export interface GetCollaborationTrainedModelCommandOutput | ||
extends GetCollaborationTrainedModelResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about a trained model in a collaboration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetCollaborationTrainedModelCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetCollaborationTrainedModelCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetCollaborationTrainedModelRequest | ||
* trainedModelArn: "STRING_VALUE", // required | ||
* collaborationIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetCollaborationTrainedModelCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetCollaborationTrainedModelResponse | ||
* // membershipIdentifier: "STRING_VALUE", // required | ||
* // collaborationIdentifier: "STRING_VALUE", // required | ||
* // trainedModelArn: "STRING_VALUE", // required | ||
* // name: "STRING_VALUE", // required | ||
* // description: "STRING_VALUE", | ||
* // status: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "ACTIVE" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "INACTIVE" || "CANCEL_PENDING" || "CANCEL_IN_PROGRESS" || "CANCEL_FAILED", // required | ||
* // statusDetails: { // StatusDetails | ||
* // statusCode: "STRING_VALUE", | ||
* // message: "STRING_VALUE", | ||
* // }, | ||
* // configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* // resourceConfig: { // ResourceConfig | ||
* // instanceCount: Number("int"), | ||
* // instanceType: "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "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.p3dn.24xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5n.xlarge" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "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.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.8xlarge" || "ml.c6i.4xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.r5d.large" || "ml.r5d.xlarge" || "ml.r5d.2xlarge" || "ml.r5d.4xlarge" || "ml.r5d.8xlarge" || "ml.r5d.12xlarge" || "ml.r5d.16xlarge" || "ml.r5d.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge", // required | ||
* // volumeSizeInGB: Number("int"), // required | ||
* // }, | ||
* // stoppingCondition: { // StoppingCondition | ||
* // maxRuntimeInSeconds: Number("int"), | ||
* // }, | ||
* // metricsStatus: "PUBLISH_SUCCEEDED" || "PUBLISH_FAILED", | ||
* // metricsStatusDetails: "STRING_VALUE", | ||
* // logsStatus: "PUBLISH_SUCCEEDED" || "PUBLISH_FAILED", | ||
* // logsStatusDetails: "STRING_VALUE", | ||
* // trainingContainerImageDigest: "STRING_VALUE", | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // creatorAccountId: "STRING_VALUE", // required | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetCollaborationTrainedModelCommandInput - {@link GetCollaborationTrainedModelCommandInput} | ||
* @returns {@link GetCollaborationTrainedModelCommandOutput} | ||
* @see {@link GetCollaborationTrainedModelCommandInput} for command's `input` shape. | ||
* @see {@link GetCollaborationTrainedModelCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetCollaborationTrainedModelCommand extends $Command | ||
.classBuilder< | ||
GetCollaborationTrainedModelCommandInput, | ||
GetCollaborationTrainedModelCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetCollaborationTrainedModel", {}) | ||
.n("CleanRoomsMLClient", "GetCollaborationTrainedModelCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetCollaborationTrainedModelCommand) | ||
.de(de_GetCollaborationTrainedModelCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetCollaborationTrainedModelRequest; | ||
output: GetCollaborationTrainedModelResponse; | ||
}; | ||
sdk: { | ||
input: GetCollaborationTrainedModelCommandInput; | ||
output: GetCollaborationTrainedModelCommandOutput; | ||
}; | ||
}; | ||
} |
161 changes: 161 additions & 0 deletions
161
clients/client-cleanroomsml/src/commands/GetConfiguredModelAlgorithmAssociationCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { | ||
GetConfiguredModelAlgorithmAssociationRequest, | ||
GetConfiguredModelAlgorithmAssociationResponse, | ||
} from "../models/models_0"; | ||
import { | ||
de_GetConfiguredModelAlgorithmAssociationCommand, | ||
se_GetConfiguredModelAlgorithmAssociationCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface GetConfiguredModelAlgorithmAssociationCommandInput | ||
extends GetConfiguredModelAlgorithmAssociationRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetConfiguredModelAlgorithmAssociationCommand}. | ||
*/ | ||
export interface GetConfiguredModelAlgorithmAssociationCommandOutput | ||
extends GetConfiguredModelAlgorithmAssociationResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about a configured model algorithm association.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetConfiguredModelAlgorithmAssociationCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetConfiguredModelAlgorithmAssociationCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetConfiguredModelAlgorithmAssociationRequest | ||
* configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetConfiguredModelAlgorithmAssociationCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetConfiguredModelAlgorithmAssociationResponse | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // configuredModelAlgorithmAssociationArn: "STRING_VALUE", // required | ||
* // membershipIdentifier: "STRING_VALUE", // required | ||
* // collaborationIdentifier: "STRING_VALUE", // required | ||
* // configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* // name: "STRING_VALUE", // required | ||
* // privacyConfiguration: { // PrivacyConfiguration | ||
* // policies: { // PrivacyConfigurationPolicies | ||
* // trainedModels: { // TrainedModelsConfigurationPolicy | ||
* // containerLogs: [ // LogsConfigurationPolicyList | ||
* // { // LogsConfigurationPolicy | ||
* // allowedAccountIds: [ // AccountIdList // required | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // filterPattern: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // containerMetrics: { // MetricsConfigurationPolicy | ||
* // noiseLevel: "HIGH" || "MEDIUM" || "LOW" || "NONE", // required | ||
* // }, | ||
* // }, | ||
* // trainedModelExports: { // TrainedModelExportsConfigurationPolicy | ||
* // maxSize: { // TrainedModelExportsMaxSize | ||
* // unit: "GB", // required | ||
* // value: Number("double"), // required | ||
* // }, | ||
* // filesToExport: [ // TrainedModelExportFileTypeList // required | ||
* // "MODEL" || "OUTPUT", | ||
* // ], | ||
* // }, | ||
* // trainedModelInferenceJobs: { // TrainedModelInferenceJobsConfigurationPolicy | ||
* // containerLogs: [ | ||
* // { | ||
* // allowedAccountIds: [ // required | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // filterPattern: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // maxOutputSize: { // TrainedModelInferenceMaxOutputSize | ||
* // unit: "GB", // required | ||
* // value: Number("double"), // required | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // description: "STRING_VALUE", | ||
* // tags: { // TagMap | ||
* // "<keys>": "STRING_VALUE", | ||
* // }, | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetConfiguredModelAlgorithmAssociationCommandInput - {@link GetConfiguredModelAlgorithmAssociationCommandInput} | ||
* @returns {@link GetConfiguredModelAlgorithmAssociationCommandOutput} | ||
* @see {@link GetConfiguredModelAlgorithmAssociationCommandInput} for command's `input` shape. | ||
* @see {@link GetConfiguredModelAlgorithmAssociationCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetConfiguredModelAlgorithmAssociationCommand extends $Command | ||
.classBuilder< | ||
GetConfiguredModelAlgorithmAssociationCommandInput, | ||
GetConfiguredModelAlgorithmAssociationCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetConfiguredModelAlgorithmAssociation", {}) | ||
.n("CleanRoomsMLClient", "GetConfiguredModelAlgorithmAssociationCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetConfiguredModelAlgorithmAssociationCommand) | ||
.de(de_GetConfiguredModelAlgorithmAssociationCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetConfiguredModelAlgorithmAssociationRequest; | ||
output: GetConfiguredModelAlgorithmAssociationResponse; | ||
}; | ||
sdk: { | ||
input: GetConfiguredModelAlgorithmAssociationCommandInput; | ||
output: GetConfiguredModelAlgorithmAssociationCommandOutput; | ||
}; | ||
}; | ||
} |
133 changes: 133 additions & 0 deletions
133
clients/client-cleanroomsml/src/commands/GetConfiguredModelAlgorithmCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetConfiguredModelAlgorithmRequest, GetConfiguredModelAlgorithmResponse } from "../models/models_0"; | ||
import { | ||
de_GetConfiguredModelAlgorithmCommand, | ||
se_GetConfiguredModelAlgorithmCommand, | ||
} from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetConfiguredModelAlgorithmCommand}. | ||
*/ | ||
export interface GetConfiguredModelAlgorithmCommandInput extends GetConfiguredModelAlgorithmRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetConfiguredModelAlgorithmCommand}. | ||
*/ | ||
export interface GetConfiguredModelAlgorithmCommandOutput | ||
extends GetConfiguredModelAlgorithmResponse, | ||
__MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about a configured model algorithm.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetConfiguredModelAlgorithmCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetConfiguredModelAlgorithmCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetConfiguredModelAlgorithmRequest | ||
* configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetConfiguredModelAlgorithmCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetConfiguredModelAlgorithmResponse | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // configuredModelAlgorithmArn: "STRING_VALUE", // required | ||
* // name: "STRING_VALUE", // required | ||
* // trainingContainerConfig: { // ContainerConfig | ||
* // imageUri: "STRING_VALUE", // required | ||
* // entrypoint: [ // ContainerEntrypoint | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // arguments: [ // ContainerArguments | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // metricDefinitions: [ // MetricDefinitionList | ||
* // { // MetricDefinition | ||
* // name: "STRING_VALUE", // required | ||
* // regex: "STRING_VALUE", // required | ||
* // }, | ||
* // ], | ||
* // }, | ||
* // inferenceContainerConfig: { // InferenceContainerConfig | ||
* // imageUri: "STRING_VALUE", // required | ||
* // }, | ||
* // roleArn: "STRING_VALUE", // required | ||
* // description: "STRING_VALUE", | ||
* // tags: { // TagMap | ||
* // "<keys>": "STRING_VALUE", | ||
* // }, | ||
* // kmsKeyArn: "STRING_VALUE", | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetConfiguredModelAlgorithmCommandInput - {@link GetConfiguredModelAlgorithmCommandInput} | ||
* @returns {@link GetConfiguredModelAlgorithmCommandOutput} | ||
* @see {@link GetConfiguredModelAlgorithmCommandInput} for command's `input` shape. | ||
* @see {@link GetConfiguredModelAlgorithmCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetConfiguredModelAlgorithmCommand extends $Command | ||
.classBuilder< | ||
GetConfiguredModelAlgorithmCommandInput, | ||
GetConfiguredModelAlgorithmCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetConfiguredModelAlgorithm", {}) | ||
.n("CleanRoomsMLClient", "GetConfiguredModelAlgorithmCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetConfiguredModelAlgorithmCommand) | ||
.de(de_GetConfiguredModelAlgorithmCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetConfiguredModelAlgorithmRequest; | ||
output: GetConfiguredModelAlgorithmResponse; | ||
}; | ||
sdk: { | ||
input: GetConfiguredModelAlgorithmCommandInput; | ||
output: GetConfiguredModelAlgorithmCommandOutput; | ||
}; | ||
}; | ||
} |
111 changes: 111 additions & 0 deletions
111
clients/client-cleanroomsml/src/commands/GetMLConfigurationCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetMLConfigurationRequest, GetMLConfigurationResponse } from "../models/models_0"; | ||
import { de_GetMLConfigurationCommand, se_GetMLConfigurationCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetMLConfigurationCommand}. | ||
*/ | ||
export interface GetMLConfigurationCommandInput extends GetMLConfigurationRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetMLConfigurationCommand}. | ||
*/ | ||
export interface GetMLConfigurationCommandOutput extends GetMLConfigurationResponse, __MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about a specific ML configuration.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetMLConfigurationCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetMLConfigurationCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetMLConfigurationRequest | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetMLConfigurationCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetMLConfigurationResponse | ||
* // membershipIdentifier: "STRING_VALUE", // required | ||
* // defaultOutputLocation: { // MLOutputConfiguration | ||
* // destination: { // Destination | ||
* // s3Destination: { // S3ConfigMap | ||
* // s3Uri: "STRING_VALUE", // required | ||
* // }, | ||
* // }, | ||
* // roleArn: "STRING_VALUE", // required | ||
* // }, | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetMLConfigurationCommandInput - {@link GetMLConfigurationCommandInput} | ||
* @returns {@link GetMLConfigurationCommandOutput} | ||
* @see {@link GetMLConfigurationCommandInput} for command's `input` shape. | ||
* @see {@link GetMLConfigurationCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetMLConfigurationCommand extends $Command | ||
.classBuilder< | ||
GetMLConfigurationCommandInput, | ||
GetMLConfigurationCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetMLConfiguration", {}) | ||
.n("CleanRoomsMLClient", "GetMLConfigurationCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetMLConfigurationCommand) | ||
.de(de_GetMLConfigurationCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetMLConfigurationRequest; | ||
output: GetMLConfigurationResponse; | ||
}; | ||
sdk: { | ||
input: GetMLConfigurationCommandInput; | ||
output: GetMLConfigurationCommandOutput; | ||
}; | ||
}; | ||
} |
149 changes: 149 additions & 0 deletions
149
clients/client-cleanroomsml/src/commands/GetMLInputChannelCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { CleanRoomsMLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsMLClient"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { | ||
GetMLInputChannelRequest, | ||
GetMLInputChannelResponse, | ||
GetMLInputChannelResponseFilterSensitiveLog, | ||
} from "../models/models_0"; | ||
import { de_GetMLInputChannelCommand, se_GetMLInputChannelCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export type { __MetadataBearer }; | ||
export { $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetMLInputChannelCommand}. | ||
*/ | ||
export interface GetMLInputChannelCommandInput extends GetMLInputChannelRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetMLInputChannelCommand}. | ||
*/ | ||
export interface GetMLInputChannelCommandOutput extends GetMLInputChannelResponse, __MetadataBearer {} | ||
|
||
/** | ||
* <p>Returns information about an ML input channel.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { CleanRoomsMLClient, GetMLInputChannelCommand } from "@aws-sdk/client-cleanroomsml"; // ES Modules import | ||
* // const { CleanRoomsMLClient, GetMLInputChannelCommand } = require("@aws-sdk/client-cleanroomsml"); // CommonJS import | ||
* const client = new CleanRoomsMLClient(config); | ||
* const input = { // GetMLInputChannelRequest | ||
* mlInputChannelArn: "STRING_VALUE", // required | ||
* membershipIdentifier: "STRING_VALUE", // required | ||
* }; | ||
* const command = new GetMLInputChannelCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetMLInputChannelResponse | ||
* // createTime: new Date("TIMESTAMP"), // required | ||
* // updateTime: new Date("TIMESTAMP"), // required | ||
* // membershipIdentifier: "STRING_VALUE", // required | ||
* // collaborationIdentifier: "STRING_VALUE", // required | ||
* // inputChannel: { // InputChannel | ||
* // dataSource: { // InputChannelDataSource Union: only one key present | ||
* // protectedQueryInputParameters: { // ProtectedQueryInputParameters | ||
* // sqlParameters: { // ProtectedQuerySQLParameters | ||
* // queryString: "STRING_VALUE", | ||
* // analysisTemplateArn: "STRING_VALUE", | ||
* // parameters: { // ParameterMap | ||
* // "<keys>": "STRING_VALUE", | ||
* // }, | ||
* // }, | ||
* // computeConfiguration: { // ComputeConfiguration Union: only one key present | ||
* // worker: { // WorkerComputeConfiguration | ||
* // type: "CR.1X" || "CR.4X", | ||
* // number: Number("int"), | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // }, | ||
* // roleArn: "STRING_VALUE", // required | ||
* // }, | ||
* // protectedQueryIdentifier: "STRING_VALUE", | ||
* // mlInputChannelArn: "STRING_VALUE", // required | ||
* // name: "STRING_VALUE", // required | ||
* // configuredModelAlgorithmAssociations: [ // ConfiguredModelAlgorithmAssociationArnList // required | ||
* // "STRING_VALUE", | ||
* // ], | ||
* // status: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "ACTIVE" || "DELETE_PENDING" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "INACTIVE", // required | ||
* // statusDetails: { // StatusDetails | ||
* // statusCode: "STRING_VALUE", | ||
* // message: "STRING_VALUE", | ||
* // }, | ||
* // retentionInDays: Number("int"), // required | ||
* // numberOfRecords: Number("long"), | ||
* // numberOfFiles: Number("double"), | ||
* // sizeInGb: Number("double"), | ||
* // description: "STRING_VALUE", | ||
* // kmsKeyArn: "STRING_VALUE", | ||
* // tags: { // TagMap | ||
* // "<keys>": "STRING_VALUE", | ||
* // }, | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetMLInputChannelCommandInput - {@link GetMLInputChannelCommandInput} | ||
* @returns {@link GetMLInputChannelCommandOutput} | ||
* @see {@link GetMLInputChannelCommandInput} for command's `input` shape. | ||
* @see {@link GetMLInputChannelCommandOutput} for command's `response` shape. | ||
* @see {@link CleanRoomsMLClientResolvedConfig | config} for CleanRoomsMLClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>The resource you are requesting does not exist.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The request parameters for this request are incorrect.</p> | ||
* | ||
* @throws {@link CleanRoomsMLServiceException} | ||
* <p>Base exception class for all service exceptions from CleanRoomsML service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetMLInputChannelCommand extends $Command | ||
.classBuilder< | ||
GetMLInputChannelCommandInput, | ||
GetMLInputChannelCommandOutput, | ||
CleanRoomsMLClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep(commonParams) | ||
.m(function (this: any, Command: any, cs: any, config: CleanRoomsMLClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSStarkControlService", "GetMLInputChannel", {}) | ||
.n("CleanRoomsMLClient", "GetMLInputChannelCommand") | ||
.f(void 0, GetMLInputChannelResponseFilterSensitiveLog) | ||
.ser(se_GetMLInputChannelCommand) | ||
.de(de_GetMLInputChannelCommand) | ||
.build() { | ||
/** @internal type navigation helper, not in runtime. */ | ||
protected declare static __types: { | ||
api: { | ||
input: GetMLInputChannelRequest; | ||
output: GetMLInputChannelResponse; | ||
}; | ||
sdk: { | ||
input: GetMLInputChannelCommandInput; | ||
output: GetMLInputChannelCommandOutput; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.