Skip to content

Commit

Permalink
feat(client-sms): Deprecating AWS Server Migration Service.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Mar 31, 2023
1 parent e36cdb7 commit 4a0bb37
Show file tree
Hide file tree
Showing 21 changed files with 1,303 additions and 1,619 deletions.
1 change: 0 additions & 1 deletion clients/client-sms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ MGN) as the primary migration service for lift-and-shift migrations. If Amazon W
unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March
2023.</p>
</important>

<p>Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your
on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following
resources:</p>
Expand Down
21 changes: 11 additions & 10 deletions clients/client-sms/src/SMS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ import { SMSClient } from "./SMSClient";

/**
* @public
* @deprecated
*
* <important>
* <p>
* <b>Product update</b>
Expand All @@ -161,19 +163,18 @@ import { SMSClient } from "./SMSClient";
* unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March
* 2023.</p>
* </important>
*
* <p>Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your
* <p>Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your
* on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following
* resources:</p>
* <ul>
* <ul>
* <li>
* <p>
* <p>
* <a href="http://aws.amazon.com/server-migration-service/">Server Migration Service
* product page</a>
* </p>
* </li>
* <li>
* <p>
* <p>
* <a href="https://docs.aws.amazon.com/server-migration-service/latest/userguide/">Server Migration Service User Guide</a>
* </p>
* </li>
Expand Down Expand Up @@ -373,7 +374,7 @@ export class SMS extends SMSClient {
/**
* @public
* <p>Deletes the specified replication job.</p>
* <p>After you delete a replication job, there are no further replication runs. Amazon Web Services
* <p>After you delete a replication job, there are no further replication runs. Amazon Web Services
* deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created
* by the replication runs are not deleted.</p>
*/
Expand Down Expand Up @@ -442,7 +443,7 @@ export class SMS extends SMSClient {
/**
* @public
* <p>Disassociates the specified connector from Server Migration Service.</p>
* <p>After you disassociate a connector, it is no longer available to support
* <p>After you disassociate a connector, it is no longer available to support
* replication jobs.</p>
*/
public disassociateConnector(
Expand Down Expand Up @@ -804,7 +805,7 @@ export class SMS extends SMSClient {
/**
* @public
* <p>Describes the servers in your server catalog.</p>
* <p>Before you can describe your servers, you must import them using <a>ImportServerCatalog</a>.</p>
* <p>Before you can describe your servers, you must import them using <a>ImportServerCatalog</a>.</p>
*/
public getServers(args: GetServersCommandInput, options?: __HttpHandlerOptions): Promise<GetServersCommandOutput>;
public getServers(args: GetServersCommandInput, cb: (err: any, data?: GetServersCommandOutput) => void): void;
Expand Down Expand Up @@ -866,7 +867,7 @@ export class SMS extends SMSClient {
* @public
* <p>Gathers a complete list of on-premises servers. Connectors must be installed and
* monitoring all servers to import.</p>
* <p>This call returns immediately, but might take additional time to retrieve all the
* <p>This call returns immediately, but might take additional time to retrieve all the
* servers.</p>
*/
public importServerCatalog(
Expand Down Expand Up @@ -1156,7 +1157,7 @@ export class SMS extends SMSClient {
* <p>Starts an on-demand replication run for the specified replication job. This
* replication run starts immediately. This replication run is in addition to the ones
* already scheduled.</p>
* <p>There is a limit on the number of on-demand replications runs that you can request
* <p>There is a limit on the number of on-demand replications runs that you can request
* in a 24-hour period.</p>
*/
public startOnDemandReplicationRun(
Expand Down
11 changes: 6 additions & 5 deletions clients/client-sms/src/SMSClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ export interface SMSClientResolvedConfig extends SMSClientResolvedConfigType {}

/**
* @public
* @deprecated
*
* <important>
* <p>
* <b>Product update</b>
Expand All @@ -405,19 +407,18 @@ export interface SMSClientResolvedConfig extends SMSClientResolvedConfigType {}
* unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March
* 2023.</p>
* </important>
*
* <p>Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your
* <p>Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your
* on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following
* resources:</p>
* <ul>
* <ul>
* <li>
* <p>
* <p>
* <a href="http://aws.amazon.com/server-migration-service/">Server Migration Service
* product page</a>
* </p>
* </li>
* <li>
* <p>
* <p>
* <a href="https://docs.aws.amazon.com/server-migration-service/latest/userguide/">Server Migration Service User Guide</a>
* </p>
* </li>
Expand Down
4 changes: 2 additions & 2 deletions clients/client-sms/src/commands/CreateAppCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
* serverList: [ // ServerList
* { // Server
* serverId: "STRING_VALUE",
* serverType: "STRING_VALUE",
* serverType: "VIRTUAL_MACHINE",
* vmServer: { // VmServer
* vmServerAddress: { // VmServerAddress
* vmManagerId: "STRING_VALUE",
* vmId: "STRING_VALUE",
* },
* vmName: "STRING_VALUE",
* vmManagerName: "STRING_VALUE",
* vmManagerType: "STRING_VALUE",
* vmManagerType: "VSPHERE" || "SCVMM" || "HYPERV-MANAGER",
* vmPath: "STRING_VALUE",
* },
* replicationJobId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface CreateReplicationJobCommandOutput extends CreateReplicationJobR
* seedReplicationTime: new Date("TIMESTAMP"), // required
* frequency: Number("int"),
* runOnce: true || false,
* licenseType: "STRING_VALUE",
* licenseType: "AWS" || "BYOL",
* roleName: "STRING_VALUE",
* description: "STRING_VALUE",
* numberOfRecentAmisToKeep: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface DeleteReplicationJobCommandOutput extends DeleteReplicationJobR
/**
* @public
* <p>Deletes the specified replication job.</p>
* <p>After you delete a replication job, there are no further replication runs. Amazon Web Services
* <p>After you delete a replication job, there are no further replication runs. Amazon Web Services
* deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created
* by the replication runs are not deleted.</p>
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface DisassociateConnectorCommandOutput extends DisassociateConnecto
/**
* @public
* <p>Disassociates the specified connector from Server Migration Service.</p>
* <p>After you disassociate a connector, it is no longer available to support
* <p>After you disassociate a connector, it is no longer available to support
* replication jobs.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface GenerateChangeSetCommandOutput extends GenerateChangeSetRespons
* const client = new SMSClient(config);
* const input = { // GenerateChangeSetRequest
* appId: "STRING_VALUE",
* changesetFormat: "STRING_VALUE",
* changesetFormat: "JSON" || "YAML",
* };
* const command = new GenerateChangeSetCommand(input);
* const response = await client.send(command);
Expand Down
2 changes: 1 addition & 1 deletion clients/client-sms/src/commands/GenerateTemplateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface GenerateTemplateCommandOutput extends GenerateTemplateResponse,
* const client = new SMSClient(config);
* const input = { // GenerateTemplateRequest
* appId: "STRING_VALUE",
* templateFormat: "STRING_VALUE",
* templateFormat: "JSON" || "YAML",
* };
* const command = new GenerateTemplateCommand(input);
* const response = await client.send(command);
Expand Down
2 changes: 1 addition & 1 deletion clients/client-sms/src/commands/GetServersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface GetServersCommandOutput extends GetServersResponse, __MetadataB
/**
* @public
* <p>Describes the servers in your server catalog.</p>
* <p>Before you can describe your servers, you must import them using <a>ImportServerCatalog</a>.</p>
* <p>Before you can describe your servers, you must import them using <a>ImportServerCatalog</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface ImportServerCatalogCommandOutput extends ImportServerCatalogRes
* @public
* <p>Gathers a complete list of on-premises servers. Connectors must be installed and
* monitoring all servers to import.</p>
* <p>This call returns immediately, but might take additional time to retrieve all the
* <p>This call returns immediately, but might take additional time to retrieve all the
* servers.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface NotifyAppValidationOutputCommandOutput extends NotifyAppValidat
* appId: "STRING_VALUE", // required
* notificationContext: { // NotificationContext
* validationId: "STRING_VALUE",
* status: "STRING_VALUE",
* status: "READY_FOR_VALIDATION" || "PENDING" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
* statusMessage: "STRING_VALUE",
* },
* };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ export interface PutAppLaunchConfigurationCommandOutput extends PutAppLaunchConf
* { // ServerLaunchConfiguration
* server: { // Server
* serverId: "STRING_VALUE",
* serverType: "STRING_VALUE",
* serverType: "VIRTUAL_MACHINE",
* vmServer: { // VmServer
* vmServerAddress: { // VmServerAddress
* vmManagerId: "STRING_VALUE",
* vmId: "STRING_VALUE",
* },
* vmName: "STRING_VALUE",
* vmManagerName: "STRING_VALUE",
* vmManagerType: "STRING_VALUE",
* vmManagerType: "VSPHERE" || "SCVMM" || "HYPERV-MANAGER",
* vmPath: "STRING_VALUE",
* },
* replicationJobId: "STRING_VALUE",
Expand All @@ -86,7 +86,7 @@ export interface PutAppLaunchConfigurationCommandOutput extends PutAppLaunchConf
* bucket: "STRING_VALUE",
* key: "STRING_VALUE",
* },
* configureScriptType: "STRING_VALUE",
* configureScriptType: "SHELL_SCRIPT" || "POWERSHELL_SCRIPT",
* },
* ],
* },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ export interface PutAppReplicationConfigurationCommandOutput
* { // ServerReplicationConfiguration
* server: { // Server
* serverId: "STRING_VALUE",
* serverType: "STRING_VALUE",
* serverType: "VIRTUAL_MACHINE",
* vmServer: { // VmServer
* vmServerAddress: { // VmServerAddress
* vmManagerId: "STRING_VALUE",
* vmId: "STRING_VALUE",
* },
* vmName: "STRING_VALUE",
* vmManagerName: "STRING_VALUE",
* vmManagerType: "STRING_VALUE",
* vmManagerType: "VSPHERE" || "SCVMM" || "HYPERV-MANAGER",
* vmPath: "STRING_VALUE",
* },
* replicationJobId: "STRING_VALUE",
Expand All @@ -71,7 +71,7 @@ export interface PutAppReplicationConfigurationCommandOutput
* seedTime: new Date("TIMESTAMP"),
* frequency: Number("int"),
* runOnce: true || false,
* licenseType: "STRING_VALUE",
* licenseType: "AWS" || "BYOL",
* numberOfRecentAmisToKeep: Number("int"),
* encrypted: true || false,
* kmsKeyId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface PutAppValidationConfigurationCommandOutput
* { // AppValidationConfiguration
* validationId: "STRING_VALUE",
* name: "STRING_VALUE",
* appValidationStrategy: "STRING_VALUE",
* appValidationStrategy: "SSM",
* ssmValidationParameters: { // SSMValidationParameters
* source: { // Source
* s3Location: { // S3Location
Expand All @@ -59,7 +59,7 @@ export interface PutAppValidationConfigurationCommandOutput
* },
* },
* instanceId: "STRING_VALUE",
* scriptType: "STRING_VALUE",
* scriptType: "SHELL_SCRIPT" || "POWERSHELL_SCRIPT",
* command: "STRING_VALUE",
* executionTimeoutSeconds: Number("int"),
* outputS3BucketName: "STRING_VALUE",
Expand All @@ -73,31 +73,31 @@ export interface PutAppValidationConfigurationCommandOutput
* { // ServerValidationConfiguration
* server: { // Server
* serverId: "STRING_VALUE",
* serverType: "STRING_VALUE",
* serverType: "VIRTUAL_MACHINE",
* vmServer: { // VmServer
* vmServerAddress: { // VmServerAddress
* vmManagerId: "STRING_VALUE",
* vmId: "STRING_VALUE",
* },
* vmName: "STRING_VALUE",
* vmManagerName: "STRING_VALUE",
* vmManagerType: "STRING_VALUE",
* vmManagerType: "VSPHERE" || "SCVMM" || "HYPERV-MANAGER",
* vmPath: "STRING_VALUE",
* },
* replicationJobId: "STRING_VALUE",
* replicationJobTerminated: true || false,
* },
* validationId: "STRING_VALUE",
* name: "STRING_VALUE",
* serverValidationStrategy: "STRING_VALUE",
* serverValidationStrategy: "USERDATA",
* userDataValidationParameters: { // UserDataValidationParameters
* source: {
* s3Location: {
* bucket: "STRING_VALUE",
* key: "STRING_VALUE",
* },
* },
* scriptType: "STRING_VALUE",
* scriptType: "SHELL_SCRIPT" || "POWERSHELL_SCRIPT",
* },
* },
* ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface StartOnDemandReplicationRunCommandOutput
* <p>Starts an on-demand replication run for the specified replication job. This
* replication run starts immediately. This replication run is in addition to the ones
* already scheduled.</p>
* <p>There is a limit on the number of on-demand replications runs that you can request
* <p>There is a limit on the number of on-demand replications runs that you can request
* in a 24-hour period.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-sms/src/commands/UpdateAppCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBea
* serverList: [ // ServerList
* { // Server
* serverId: "STRING_VALUE",
* serverType: "STRING_VALUE",
* serverType: "VIRTUAL_MACHINE",
* vmServer: { // VmServer
* vmServerAddress: { // VmServerAddress
* vmManagerId: "STRING_VALUE",
* vmId: "STRING_VALUE",
* },
* vmName: "STRING_VALUE",
* vmManagerName: "STRING_VALUE",
* vmManagerType: "STRING_VALUE",
* vmManagerType: "VSPHERE" || "SCVMM" || "HYPERV-MANAGER",
* vmPath: "STRING_VALUE",
* },
* replicationJobId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface UpdateReplicationJobCommandOutput extends UpdateReplicationJobR
* replicationJobId: "STRING_VALUE", // required
* frequency: Number("int"),
* nextReplicationRunStartTime: new Date("TIMESTAMP"),
* licenseType: "STRING_VALUE",
* licenseType: "AWS" || "BYOL",
* roleName: "STRING_VALUE",
* description: "STRING_VALUE",
* numberOfRecentAmisToKeep: Number("int"),
Expand Down
Loading

0 comments on commit 4a0bb37

Please sign in to comment.