An internal error has occurred. Retry your request, but if the problem persists, contact * us with details by posting a question on re:Post.
* + * @throws {@link ResourceLimitException} (client fault) + *You have exceeded an Launch Wizard resource limit. For example, you might have too many + * deployments in progress.
+ * * @throws {@link ResourceNotFoundException} (client fault) *The specified workload or deployment resource can't be found.
* diff --git a/clients/client-launch-wizard/src/commands/GetDeploymentCommand.ts b/clients/client-launch-wizard/src/commands/GetDeploymentCommand.ts index 07a0214bce90..511623bdfc8e 100644 --- a/clients/client-launch-wizard/src/commands/GetDeploymentCommand.ts +++ b/clients/client-launch-wizard/src/commands/GetDeploymentCommand.ts @@ -52,6 +52,10 @@ export interface GetDeploymentCommandOutput extends GetDeploymentOutput, __Metad * // }, * // resourceGroup: "STRING_VALUE", * // deletedAt: new Date("TIMESTAMP"), + * // tags: { // Tags + * // "Returns details for a given workload and deployment pattern, including the available + * specifications. You can use the ListWorkloads + * operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment + * pattern names of a given workload.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LaunchWizardClient, GetWorkloadDeploymentPatternCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import + * // const { LaunchWizardClient, GetWorkloadDeploymentPatternCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import + * const client = new LaunchWizardClient(config); + * const input = { // GetWorkloadDeploymentPatternInput + * workloadName: "STRING_VALUE", // required + * deploymentPatternName: "STRING_VALUE", // required + * }; + * const command = new GetWorkloadDeploymentPatternCommand(input); + * const response = await client.send(command); + * // { // GetWorkloadDeploymentPatternOutput + * // workloadDeploymentPattern: { // WorkloadDeploymentPatternData + * // workloadName: "STRING_VALUE", + * // deploymentPatternName: "STRING_VALUE", + * // workloadVersionName: "STRING_VALUE", + * // displayName: "STRING_VALUE", + * // description: "STRING_VALUE", + * // status: "ACTIVE" || "INACTIVE" || "DISABLED" || "DELETED", + * // statusMessage: "STRING_VALUE", + * // specifications: [ // DeploymentSpecificationsData + * // { // DeploymentSpecificationsField + * // name: "STRING_VALUE", + * // description: "STRING_VALUE", + * // allowedValues: [ // AllowedValues + * // "STRING_VALUE", + * // ], + * // required: "STRING_VALUE", + * // conditionals: [ // SpecificationsConditionalData + * // { // DeploymentConditionalField + * // name: "STRING_VALUE", + * // value: "STRING_VALUE", + * // comparator: "STRING_VALUE", + * // }, + * // ], + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param GetWorkloadDeploymentPatternCommandInput - {@link GetWorkloadDeploymentPatternCommandInput} + * @returns {@link GetWorkloadDeploymentPatternCommandOutput} + * @see {@link GetWorkloadDeploymentPatternCommandInput} for command's `input` shape. + * @see {@link GetWorkloadDeploymentPatternCommandOutput} for command's `response` shape. + * @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape. + * + * @throws {@link InternalServerException} (server fault) + *An internal error has occurred. Retry your request, but if the problem persists, contact + * us with details by posting a question on re:Post.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The specified workload or deployment resource can't be found.
+ * + * @throws {@link ValidationException} (client fault) + *The input fails to satisfy the constraints specified by an Amazon Web Services service.
+ * + * @throws {@link LaunchWizardServiceException} + *Base exception class for all service exceptions from LaunchWizard service.
+ * + * @public + */ +export class GetWorkloadDeploymentPatternCommand extends $Command + .classBuilder< + GetWorkloadDeploymentPatternCommandInput, + GetWorkloadDeploymentPatternCommandOutput, + LaunchWizardClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: LaunchWizardClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LaunchWizard", "GetWorkloadDeploymentPattern", {}) + .n("LaunchWizardClient", "GetWorkloadDeploymentPatternCommand") + .f(void 0, void 0) + .ser(se_GetWorkloadDeploymentPatternCommand) + .de(de_GetWorkloadDeploymentPatternCommand) + .build() {} diff --git a/clients/client-launch-wizard/src/commands/ListTagsForResourceCommand.ts b/clients/client-launch-wizard/src/commands/ListTagsForResourceCommand.ts new file mode 100644 index 000000000000..f65a5688180d --- /dev/null +++ b/clients/client-launch-wizard/src/commands/ListTagsForResourceCommand.ts @@ -0,0 +1,93 @@ +// 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 { commonParams } from "../endpoint/EndpointParameters"; +import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient"; +import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0"; +import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListTagsForResourceCommand}. + */ +export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {} +/** + * @public + * + * The output of {@link ListTagsForResourceCommand}. + */ +export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {} + +/** + *Lists the tags associated with a specified resource.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LaunchWizardClient, ListTagsForResourceCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import + * // const { LaunchWizardClient, ListTagsForResourceCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import + * const client = new LaunchWizardClient(config); + * const input = { // ListTagsForResourceInput + * resourceArn: "STRING_VALUE", // required + * }; + * const command = new ListTagsForResourceCommand(input); + * const response = await client.send(command); + * // { // ListTagsForResourceOutput + * // tags: { // Tags + * // "An internal error has occurred. Retry your request, but if the problem persists, contact + * us with details by posting a question on re:Post.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The specified workload or deployment resource can't be found.
+ * + * @throws {@link ValidationException} (client fault) + *The input fails to satisfy the constraints specified by an Amazon Web Services service.
+ * + * @throws {@link LaunchWizardServiceException} + *Base exception class for all service exceptions from LaunchWizard service.
+ * + * @public + */ +export class ListTagsForResourceCommand extends $Command + .classBuilder< + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, + LaunchWizardClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: LaunchWizardClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LaunchWizard", "ListTagsForResource", {}) + .n("LaunchWizardClient", "ListTagsForResourceCommand") + .f(void 0, void 0) + .ser(se_ListTagsForResourceCommand) + .de(de_ListTagsForResourceCommand) + .build() {} diff --git a/clients/client-launch-wizard/src/commands/ListWorkloadDeploymentPatternsCommand.ts b/clients/client-launch-wizard/src/commands/ListWorkloadDeploymentPatternsCommand.ts index b871911ce0ad..6d52329758c0 100644 --- a/clients/client-launch-wizard/src/commands/ListWorkloadDeploymentPatternsCommand.ts +++ b/clients/client-launch-wizard/src/commands/ListWorkloadDeploymentPatternsCommand.ts @@ -32,7 +32,7 @@ export interface ListWorkloadDeploymentPatternsCommandOutput __MetadataBearer {} /** - *Lists the workload deployment patterns.
+ *Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-launch-wizard/src/commands/ListWorkloadsCommand.ts b/clients/client-launch-wizard/src/commands/ListWorkloadsCommand.ts index dc5e1861fab9..138b316636e7 100644 --- a/clients/client-launch-wizard/src/commands/ListWorkloadsCommand.ts +++ b/clients/client-launch-wizard/src/commands/ListWorkloadsCommand.ts @@ -27,7 +27,7 @@ export interface ListWorkloadsCommandInput extends ListWorkloadsInput {} export interface ListWorkloadsCommandOutput extends ListWorkloadsOutput, __MetadataBearer {} /** - *Lists the workloads.
+ *Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-launch-wizard/src/commands/TagResourceCommand.ts b/clients/client-launch-wizard/src/commands/TagResourceCommand.ts new file mode 100644 index 000000000000..40eed5baf2bc --- /dev/null +++ b/clients/client-launch-wizard/src/commands/TagResourceCommand.ts @@ -0,0 +1,92 @@ +// 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 { commonParams } from "../endpoint/EndpointParameters"; +import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient"; +import { TagResourceInput, TagResourceOutput } from "../models/models_0"; +import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link TagResourceCommand}. + */ +export interface TagResourceCommandInput extends TagResourceInput {} +/** + * @public + * + * The output of {@link TagResourceCommand}. + */ +export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {} + +/** + *Adds the specified tags to the given resource.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LaunchWizardClient, TagResourceCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import + * // const { LaunchWizardClient, TagResourceCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import + * const client = new LaunchWizardClient(config); + * const input = { // TagResourceInput + * resourceArn: "STRING_VALUE", // required + * tags: { // Tags // required + * "An internal error has occurred. Retry your request, but if the problem persists, contact + * us with details by posting a question on re:Post.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The specified workload or deployment resource can't be found.
+ * + * @throws {@link ValidationException} (client fault) + *The input fails to satisfy the constraints specified by an Amazon Web Services service.
+ * + * @throws {@link LaunchWizardServiceException} + *Base exception class for all service exceptions from LaunchWizard service.
+ * + * @public + */ +export class TagResourceCommand extends $Command + .classBuilder< + TagResourceCommandInput, + TagResourceCommandOutput, + LaunchWizardClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: LaunchWizardClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LaunchWizard", "TagResource", {}) + .n("LaunchWizardClient", "TagResourceCommand") + .f(void 0, void 0) + .ser(se_TagResourceCommand) + .de(de_TagResourceCommand) + .build() {} diff --git a/clients/client-launch-wizard/src/commands/UntagResourceCommand.ts b/clients/client-launch-wizard/src/commands/UntagResourceCommand.ts new file mode 100644 index 000000000000..b0d6b4a53700 --- /dev/null +++ b/clients/client-launch-wizard/src/commands/UntagResourceCommand.ts @@ -0,0 +1,92 @@ +// 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 { commonParams } from "../endpoint/EndpointParameters"; +import { LaunchWizardClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LaunchWizardClient"; +import { UntagResourceInput, UntagResourceOutput } from "../models/models_0"; +import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; + +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UntagResourceCommand}. + */ +export interface UntagResourceCommandInput extends UntagResourceInput {} +/** + * @public + * + * The output of {@link UntagResourceCommand}. + */ +export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {} + +/** + *Removes the specified tags from the given resource.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { LaunchWizardClient, UntagResourceCommand } from "@aws-sdk/client-launch-wizard"; // ES Modules import + * // const { LaunchWizardClient, UntagResourceCommand } = require("@aws-sdk/client-launch-wizard"); // CommonJS import + * const client = new LaunchWizardClient(config); + * const input = { // UntagResourceInput + * resourceArn: "STRING_VALUE", // required + * tagKeys: [ // TagKeyList // required + * "STRING_VALUE", + * ], + * }; + * const command = new UntagResourceCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} + * @returns {@link UntagResourceCommandOutput} + * @see {@link UntagResourceCommandInput} for command's `input` shape. + * @see {@link UntagResourceCommandOutput} for command's `response` shape. + * @see {@link LaunchWizardClientResolvedConfig | config} for LaunchWizardClient's `config` shape. + * + * @throws {@link InternalServerException} (server fault) + *An internal error has occurred. Retry your request, but if the problem persists, contact + * us with details by posting a question on re:Post.
+ * + * @throws {@link ResourceNotFoundException} (client fault) + *The specified workload or deployment resource can't be found.
+ * + * @throws {@link ValidationException} (client fault) + *The input fails to satisfy the constraints specified by an Amazon Web Services service.
+ * + * @throws {@link LaunchWizardServiceException} + *Base exception class for all service exceptions from LaunchWizard service.
+ * + * @public + */ +export class UntagResourceCommand extends $Command + .classBuilder< + UntagResourceCommandInput, + UntagResourceCommandOutput, + LaunchWizardClientResolvedConfig, + ServiceInputTypes, + ServiceOutputTypes + >() + .ep({ + ...commonParams, + }) + .m(function (this: any, Command: any, cs: any, config: LaunchWizardClientResolvedConfig, o: any) { + return [ + getSerdePlugin(config, this.serialize, this.deserialize), + getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + ]; + }) + .s("LaunchWizard", "UntagResource", {}) + .n("LaunchWizardClient", "UntagResourceCommand") + .f(void 0, void 0) + .ser(se_UntagResourceCommand) + .de(de_UntagResourceCommand) + .build() {} diff --git a/clients/client-launch-wizard/src/commands/index.ts b/clients/client-launch-wizard/src/commands/index.ts index 1cd7fcf00f57..dff07b09c819 100644 --- a/clients/client-launch-wizard/src/commands/index.ts +++ b/clients/client-launch-wizard/src/commands/index.ts @@ -3,7 +3,11 @@ export * from "./CreateDeploymentCommand"; export * from "./DeleteDeploymentCommand"; export * from "./GetDeploymentCommand"; export * from "./GetWorkloadCommand"; +export * from "./GetWorkloadDeploymentPatternCommand"; export * from "./ListDeploymentEventsCommand"; export * from "./ListDeploymentsCommand"; +export * from "./ListTagsForResourceCommand"; export * from "./ListWorkloadDeploymentPatternsCommand"; export * from "./ListWorkloadsCommand"; +export * from "./TagResourceCommand"; +export * from "./UntagResourceCommand"; diff --git a/clients/client-launch-wizard/src/models/models_0.ts b/clients/client-launch-wizard/src/models/models_0.ts index 89873f509c69..0b8598710f7b 100644 --- a/clients/client-launch-wizard/src/models/models_0.ts +++ b/clients/client-launch-wizard/src/models/models_0.ts @@ -8,8 +8,8 @@ import { LaunchWizardServiceException as __BaseException } from "./LaunchWizardS */ export interface CreateDeploymentInput { /** - *The name of the workload. You can use the
- * The name of the workload. You can use the
+ * The settings specified for the deployment. For more information on the specifications
- * required for creating a deployment, see Workload specifications. The settings specified for the deployment. These settings define how to deploy and configure your
+ * resources created by the deployment. For more information about the specifications
+ * required for creating a deployment for a SAP workload, see SAP deployment
+ * specifications. To retrieve the specifications required to create a deployment for other workloads,
+ * use the
+ * The tags to add to the deployment. The specifications of the deployment. For more information on specifications for each
- * deployment, see Workload specifications. The settings specified for the deployment. These settings define how to deploy and configure your
+ * resources created by the deployment. For more information about the specifications
+ * required for creating a deployment for a SAP workload, see SAP deployment
+ * specifications. To retrieve the specifications required to create a deployment for other workloads,
+ * use the
+ * Information about the tags attached to a deployment. The Amazon Resource Name (ARN) of the deployment.
- * ListWorkloadDeploymentPatterns
+ * ListWorkloads
* operation to discover supported
* values for this parameter.GetWorkloadDeploymentPattern
+ * operation.GetWorkloadDeploymentPattern
+ * operation.
*
WORKLOAD_NAME
- * WORKLOAD_NAME
- The name used in deployments.
- * DEPLOYMENT_STATUS
+ * DEPLOYMENT_STATUS
- COMPLETED
| CREATING
|
+ * DELETE_IN_PROGRESS
| DELETE_INITIATING
|
+ * DELETE_FAILED
| DELETED
| FAILED
|
+ * IN_PROGRESS
| VALIDATING
*
A field that details a condition of the specifications for a deployment.
+ * @public + */ +export interface DeploymentConditionalField { + /** + *The name of the deployment condition.
+ * @public + */ + name?: string; + + /** + *The value of the condition.
+ * @public + */ + value?: string; + + /** + *The comparator of the condition.
+ *Valid values: Equal | NotEqual
+ *
A field that details a specification of a deployment pattern.
+ * @public + */ +export interface DeploymentSpecificationsField { + /** + *The name of the deployment specification.
+ * @public + */ + name?: string; + + /** + *The description of the deployment specification.
+ * @public + */ + description?: string; + + /** + *The allowed values of the deployment specification.
+ * @public + */ + allowedValues?: string[]; + + /** + *Indicates if the deployment specification is required.
+ * @public + */ + required?: string; + + /** + *The conditionals used for the deployment specification.
+ * @public + */ + conditionals?: DeploymentConditionalField[]; +} + /** * @public */ @@ -591,6 +683,177 @@ export interface GetWorkloadOutput { workload?: WorkloadData; } +/** + * @public + */ +export interface GetWorkloadDeploymentPatternInput { + /** + *The name of the workload.
+ * @public + */ + workloadName: string | undefined; + + /** + *The name of the deployment pattern.
+ * @public + */ + deploymentPatternName: string | undefined; +} + +/** + * @public + * @enum + */ +export const WorkloadDeploymentPatternStatus = { + ACTIVE: "ACTIVE", + DELETED: "DELETED", + DISABLED: "DISABLED", + INACTIVE: "INACTIVE", +} as const; + +/** + * @public + */ +export type WorkloadDeploymentPatternStatus = + (typeof WorkloadDeploymentPatternStatus)[keyof typeof WorkloadDeploymentPatternStatus]; + +/** + *The data that details a workload deployment pattern.
+ * @public + */ +export interface WorkloadDeploymentPatternData { + /** + *The workload name of the deployment pattern.
+ * @public + */ + workloadName?: string; + + /** + *The name of the deployment pattern.
+ * @public + */ + deploymentPatternName?: string; + + /** + *The workload version name of the deployment pattern.
+ * @public + */ + workloadVersionName?: string; + + /** + *The display name of the deployment pattern.
+ * @public + */ + displayName?: string; + + /** + *The description of the deployment pattern.
+ * @public + */ + description?: string; + + /** + *The status of the deployment pattern.
+ * @public + */ + status?: WorkloadDeploymentPatternStatus; + + /** + *The status message of the deployment pattern.
+ * @public + */ + statusMessage?: string; + + /** + *The settings specified for the deployment. These settings define how to deploy and configure your
+ * resources created by the deployment. For more information about the specifications
+ * required for creating a deployment for a SAP workload, see SAP deployment
+ * specifications. To retrieve the specifications required to create a deployment for other workloads,
+ * use the
+ * GetWorkloadDeploymentPattern
+ * operation.
Details about the workload deployment pattern.
+ * @public + */ + workloadDeploymentPattern?: WorkloadDeploymentPatternData; +} + +/** + * @public + */ +export interface ListTagsForResourceInput { + /** + *The Amazon Resource Name (ARN) of the resource.
+ * @public + */ + resourceArn: string | undefined; +} + +/** + * @public + */ +export interface ListTagsForResourceOutput { + /** + *Information about the tags.
+ * @public + */ + tags?: RecordThe Amazon Resource Name (ARN) of the resource.
+ * @public + */ + resourceArn: string | undefined; + + /** + *One or more tags to attach to the resource.
+ * @public + */ + tags: RecordThe Amazon Resource Name (ARN) of the resource.
+ * @public + */ + resourceArn: string | undefined; + + /** + *Keys identifying the tags to remove.
+ * @public + */ + tagKeys: string[] | undefined; +} + +/** + * @public + */ +export interface UntagResourceOutput {} + /** * @public */ @@ -671,23 +934,6 @@ export interface ListWorkloadDeploymentPatternsInput { nextToken?: string; } -/** - * @public - * @enum - */ -export const WorkloadDeploymentPatternStatus = { - ACTIVE: "ACTIVE", - DELETED: "DELETED", - DISABLED: "DISABLED", - INACTIVE: "INACTIVE", -} as const; - -/** - * @public - */ -export type WorkloadDeploymentPatternStatus = - (typeof WorkloadDeploymentPatternStatus)[keyof typeof WorkloadDeploymentPatternStatus]; - /** *Describes a workload deployment pattern.
* @public diff --git a/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts b/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts index b98ea59b31ab..2b0e0ec76a15 100644 --- a/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts +++ b/clients/client-launch-wizard/src/protocols/Aws_restJson1.ts @@ -10,8 +10,10 @@ import { expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, + extendedEncodeURIComponent as __extendedEncodeURIComponent, map, parseEpochTimestamp as __parseEpochTimestamp, + resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client"; @@ -25,16 +27,26 @@ import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "../ import { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "../commands/DeleteDeploymentCommand"; import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "../commands/GetDeploymentCommand"; import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "../commands/GetWorkloadCommand"; +import { + GetWorkloadDeploymentPatternCommandInput, + GetWorkloadDeploymentPatternCommandOutput, +} from "../commands/GetWorkloadDeploymentPatternCommand"; import { ListDeploymentEventsCommandInput, ListDeploymentEventsCommandOutput, } from "../commands/ListDeploymentEventsCommand"; import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "../commands/ListDeploymentsCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "../commands/ListTagsForResourceCommand"; import { ListWorkloadDeploymentPatternsCommandInput, ListWorkloadDeploymentPatternsCommandOutput, } from "../commands/ListWorkloadDeploymentPatternsCommand"; import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "../commands/ListWorkloadsCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { LaunchWizardServiceException as __BaseException } from "../models/LaunchWizardServiceException"; import { DeploymentData, @@ -66,6 +78,7 @@ export const se_CreateDeploymentCommand = async ( dryRun: [], name: [], specifications: (_) => _json(_), + tags: (_) => _json(_), workloadName: [], }) ); @@ -139,6 +152,29 @@ export const se_GetWorkloadCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1GetWorkloadDeploymentPatternCommand + */ +export const se_GetWorkloadDeploymentPatternCommand = async ( + input: GetWorkloadDeploymentPatternCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/getWorkloadDeploymentPattern"); + let body: any; + body = JSON.stringify( + take(input, { + deploymentPatternName: [], + workloadName: [], + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1ListDeploymentEventsCommand */ @@ -187,6 +223,22 @@ export const se_ListDeploymentsCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1ListTagsForResourceCommand + */ +export const se_ListTagsForResourceCommand = async ( + input: ListTagsForResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/tags/{resourceArn}"); + b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); + let body: any; + b.m("GET").h(headers).b(body); + return b.build(); +}; + /** * serializeAws_restJson1ListWorkloadDeploymentPatternsCommand */ @@ -234,6 +286,51 @@ export const se_ListWorkloadsCommand = async ( return b.build(); }; +/** + * serializeAws_restJson1TagResourceCommand + */ +export const se_TagResourceCommand = async ( + input: TagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = { + "content-type": "application/json", + }; + b.bp("/tags/{resourceArn}"); + b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); + let body: any; + body = JSON.stringify( + take(input, { + tags: (_) => _json(_), + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}; + +/** + * serializeAws_restJson1UntagResourceCommand + */ +export const se_UntagResourceCommand = async ( + input: UntagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const b = rb(input, context); + const headers: any = {}; + b.bp("/tags/{resourceArn}"); + b.p("resourceArn", () => input.resourceArn!, "{resourceArn}", false); + const query: any = map({ + [_tK]: [ + __expectNonNull(input.tagKeys, `tagKeys`) != null, + () => (input[_tK]! || []).map((_entry) => _entry as any), + ], + }); + let body: any; + b.m("DELETE").h(headers).q(query).b(body); + return b.build(); +}; + /** * deserializeAws_restJson1CreateDeploymentCommand */ @@ -319,6 +416,27 @@ export const de_GetWorkloadCommand = async ( return contents; }; +/** + * deserializeAws_restJson1GetWorkloadDeploymentPatternCommand + */ +export const de_GetWorkloadDeploymentPatternCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseThe name of the workload. You can use the \n ListWorkloadDeploymentPatterns
\n operation to discover supported\n values for this parameter.
The name of the workload. You can use the \n ListWorkloads
\n operation to discover supported\n values for this parameter.
The settings specified for the deployment. For more information on the specifications\n required for creating a deployment, see Workload specifications.
", + "smithy.api#documentation": "The settings specified for the deployment. These settings define how to deploy and configure your\n resources created by the deployment. For more information about the specifications\n required for creating a deployment for a SAP workload, see SAP deployment\n specifications. To retrieve the specifications required to create a deployment for other workloads,\n use the \n GetWorkloadDeploymentPattern
\n operation.
Checks whether you have the required permissions for the action, without actually making\n the request, and provides an error response. If you have the required permissions, the\n error response is DryRunOperation
. Otherwise, it is\n UnauthorizedOperation
.
The tags to add to the deployment.
" + } } }, "traits": { @@ -127,6 +167,9 @@ { "target": "com.amazonaws.launchwizard#InternalServerException" }, + { + "target": "com.amazonaws.launchwizard#ResourceLimitException" + }, { "target": "com.amazonaws.launchwizard#ResourceNotFoundException" }, @@ -216,6 +259,32 @@ } ] }, + "com.amazonaws.launchwizard#DeploymentConditionalField": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the deployment condition.
" + } + }, + "value": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The value of the condition.
" + } + }, + "comparator": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The comparator of the condition.
\nValid values: Equal | NotEqual
\n
A field that details a condition of the specifications for a deployment.
" + } + }, "com.amazonaws.launchwizard#DeploymentData": { "type": "structure", "members": { @@ -258,7 +327,7 @@ "specifications": { "target": "com.amazonaws.launchwizard#DeploymentSpecifications", "traits": { - "smithy.api#documentation": "The specifications of the deployment. For more information on specifications for each\n deployment, see Workload specifications.
" + "smithy.api#documentation": "The settings specified for the deployment. These settings define how to deploy and configure your\n resources created by the deployment. For more information about the specifications\n required for creating a deployment for a SAP workload, see SAP deployment\n specifications. To retrieve the specifications required to create a deployment for other workloads,\n use the \n GetWorkloadDeploymentPattern
\n operation.
The time the deployment was deleted.
" } + }, + "tags": { + "target": "com.amazonaws.launchwizard#Tags", + "traits": { + "smithy.api#documentation": "Information about the tags attached to a deployment.
" + } + }, + "deploymentArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the deployment.
" + } } }, "traits": { @@ -461,9 +542,9 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 25 + "max": 50 }, - "smithy.api#pattern": "^[A-Za-z0-9_\\s\\.-]+$" + "smithy.api#pattern": "^[A-Za-z0-9_\\.-]+$" } }, "com.amazonaws.launchwizard#DeploymentPatternName": { @@ -473,7 +554,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + "smithy.api#pattern": "^[A-Za-z0-9][a-zA-Z0-9-]*$" } }, "com.amazonaws.launchwizard#DeploymentSpecifications": { @@ -492,6 +573,56 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.launchwizard#DeploymentSpecificationsData": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#DeploymentSpecificationsField" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.launchwizard#DeploymentSpecificationsField": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the deployment specification.
" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The description of the deployment specification.
" + } + }, + "allowedValues": { + "target": "com.amazonaws.launchwizard#AllowedValues", + "traits": { + "smithy.api#documentation": "The allowed values of the deployment specification.
" + } + }, + "required": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Indicates if the deployment specification is required.
" + } + }, + "conditionals": { + "target": "com.amazonaws.launchwizard#SpecificationsConditionalData", + "traits": { + "smithy.api#documentation": "The conditionals used for the deployment specification.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A field that details a specification of a deployment pattern.
" + } + }, "com.amazonaws.launchwizard#DeploymentStatus": { "type": "enum", "members": { @@ -638,12 +769,12 @@ { "title": "Get details about a given deployment.", "input": { - "deploymentId": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d" + "deploymentId": "1111111-1111-1111-1111-111111111111" }, "output": { "deployment": { "name": "SapHanaSingleForTest", - "id": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", + "id": "1111111-1111-1111-1111-111111111111", "workloadName": "SapHanaSingle", "status": "FAILED", "createdAt": "2023-04-24T13:10:09.857Z", @@ -658,6 +789,11 @@ "environmentType": "production", "SAPTZ": "America/Vancouver", "Encryption": "Yes" + }, + "deploymentArn": "arn:aws:launchwizard:us-east-1:123456789012:deployment/1111111-1111-1111-1111-111111111111", + "tags": { + "key1": "val1", + "key2": "val2" } } } @@ -747,6 +883,107 @@ "smithy.api#readonly": {} } }, + "com.amazonaws.launchwizard#GetWorkloadDeploymentPattern": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#GetWorkloadDeploymentPatternInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#GetWorkloadDeploymentPatternOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns details for a given workload and deployment pattern, including the available\n specifications. You can use the ListWorkloads\n operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment\n pattern names of a given workload.
", + "smithy.api#examples": [ + { + "title": "Get details about a specific Workload deployment pattern", + "input": { + "workloadName": "MicrosoftActiveDirectory", + "deploymentPatternName": "adSelfManagedNewVpc" + }, + "output": { + "workloadDeploymentPattern": { + "workloadName": "MicrosoftActiveDirectory", + "deploymentPatternName": "adSelfManagedNewVpc", + "workloadVersionName": "2024-03-19-14-00-09", + "displayName": "Self-managed AD - new VPC", + "description": "Builds a new AWS environment (VPC and other components), and deploys AD DS into this new VPC.", + "status": "ACTIVE", + "specifications": [ + { + "name": "NumberOfAZs", + "description": "Number of Availability Zones to use in the VPC.", + "required": "Yes" + }, + { + "name": "AvailabilityZones", + "description": "List of Availability Zones (AZs) to use for the subnets in the VPC.", + "required": "Yes" + }, + { + "name": "VPCCIDR", + "description": "CIDR block for the VPC.", + "required": "Yes" + } + ] + } + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/getWorkloadDeploymentPattern" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#GetWorkloadDeploymentPatternInput": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "The name of the workload.
", + "smithy.api#required": {} + } + }, + "deploymentPatternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName", + "traits": { + "smithy.api#documentation": "The name of the deployment pattern.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#GetWorkloadDeploymentPatternOutput": { + "type": "structure", + "members": { + "workloadDeploymentPattern": { + "target": "com.amazonaws.launchwizard#WorkloadDeploymentPatternData", + "traits": { + "smithy.api#documentation": "Details about the workload deployment pattern.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.launchwizard#GetWorkloadInput": { "type": "structure", "members": { @@ -802,6 +1039,17 @@ "com.amazonaws.launchwizard#LaunchWizard": { "type": "service", "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.launchwizard#ListTagsForResource" + }, + { + "target": "com.amazonaws.launchwizard#TagResource" + }, + { + "target": "com.amazonaws.launchwizard#UntagResource" + } + ], "resources": [ { "target": "com.amazonaws.launchwizard#Deployment" @@ -1488,17 +1736,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" @@ -1677,7 +1914,7 @@ "filters": { "target": "com.amazonaws.launchwizard#DeploymentFilterList", "traits": { - "smithy.api#documentation": "Filters to scope the results. The following filters are supported:
\n\n WORKLOAD_NAME
\n
\n DEPLOYMENT_STATUS
\n
Filters to scope the results. The following filters are supported:
\n\n WORKLOAD_NAME
- The name used in deployments.
\n DEPLOYMENT_STATUS
- COMPLETED
| CREATING
|\n DELETE_IN_PROGRESS
| DELETE_INITIATING
|\n DELETE_FAILED
| DELETED
| FAILED
|\n IN_PROGRESS
| VALIDATING
\n
Lists the tags associated with a specified resource.
", + "smithy.api#examples": [ + { + "title": "Listing tags on a Launch Wizard deployment resource.", + "input": { + "resourceArn": "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111" + }, + "output": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#ListTagsForResourceInput": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#ListTagsForResourceOutput": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.launchwizard#Tags", + "traits": { + "smithy.api#documentation": "Information about the tags.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.launchwizard#ListWorkloadDeploymentPatterns": { "type": "operation", "input": { @@ -1738,7 +2047,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the workload deployment patterns.
", + "smithy.api#documentation": "Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names.
", "smithy.api#examples": [ { "title": "List all available workloads supported by AWS Launch Wizard.", @@ -1846,7 +2155,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the workloads.
", + "smithy.api#documentation": "Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload.
", "smithy.api#examples": [ { "title": "List all available workloads supported by AWS Launch Wizard.", @@ -2005,6 +2314,203 @@ "smithy.api#pattern": "^[a-zA-Z0-9-]{2,50}$" } }, + "com.amazonaws.launchwizard#SpecificationsConditionalData": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#DeploymentConditionalField" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.launchwizard#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.launchwizard#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.launchwizard#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#TagResourceInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#TagResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Adds the specified tags to the given resource.
", + "smithy.api#examples": [ + { + "title": "Adding tags to a Launch Wizard deployment resource.", + "input": { + "resourceArn": "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111", + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "output": {} + } + ], + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{resourceArn}" + } + } + }, + "com.amazonaws.launchwizard#TagResourceInput": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.launchwizard#Tags", + "traits": { + "smithy.api#documentation": "One or more tags to attach to the resource.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#TagResourceOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.launchwizard#Tags": { + "type": "map", + "key": { + "target": "com.amazonaws.launchwizard#TagKey" + }, + "value": { + "target": "com.amazonaws.launchwizard#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.launchwizard#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#UntagResourceInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#UntagResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Removes the specified tags from the given resource.
", + "smithy.api#examples": [ + { + "title": "Removing tags on a Launch Wizard deployment resource.", + "input": { + "resourceArn": "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111", + "tagKeys": ["key1", "key2"] + }, + "output": {} + } + ], + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{resourceArn}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.launchwizard#UntagResourceInput": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.launchwizard#TagKeyList", + "traits": { + "smithy.api#documentation": "Keys identifying the tags to remove.
", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#UntagResourceOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.launchwizard#ValidationException": { "type": "structure", "members": { @@ -2132,10 +2638,69 @@ "target": "com.amazonaws.launchwizard#DeploymentPatternName" } }, + "read": { + "target": "com.amazonaws.launchwizard#GetWorkloadDeploymentPattern" + }, "list": { "target": "com.amazonaws.launchwizard#ListWorkloadDeploymentPatterns" } }, + "com.amazonaws.launchwizard#WorkloadDeploymentPatternData": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "The workload name of the deployment pattern.
" + } + }, + "deploymentPatternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName", + "traits": { + "smithy.api#documentation": "The name of the deployment pattern.
" + } + }, + "workloadVersionName": { + "target": "com.amazonaws.launchwizard#WorkloadVersionName", + "traits": { + "smithy.api#documentation": "The workload version name of the deployment pattern.
" + } + }, + "displayName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The display name of the deployment pattern.
" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The description of the deployment pattern.
" + } + }, + "status": { + "target": "com.amazonaws.launchwizard#WorkloadDeploymentPatternStatus", + "traits": { + "smithy.api#documentation": "The status of the deployment pattern.
" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The status message of the deployment pattern.
" + } + }, + "specifications": { + "target": "com.amazonaws.launchwizard#DeploymentSpecificationsData", + "traits": { + "smithy.api#documentation": "The settings specified for the deployment. These settings define how to deploy and configure your\n resources created by the deployment. For more information about the specifications\n required for creating a deployment for a SAP workload, see SAP deployment\n specifications. To retrieve the specifications required to create a deployment for other workloads,\n use the \n GetWorkloadDeploymentPattern
\n operation.
The data that details a workload deployment pattern.
" + } + }, "com.amazonaws.launchwizard#WorkloadDeploymentPatternDataSummary": { "type": "structure", "members": { @@ -2226,9 +2791,9 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 256 + "max": 100 }, - "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + "smithy.api#pattern": "^[A-Za-z][a-zA-Z0-9-_]*$" } }, "com.amazonaws.launchwizard#WorkloadStatus": { @@ -2267,7 +2832,7 @@ "min": 5, "max": 30 }, - "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + "smithy.api#pattern": "^[A-Za-z0-9][a-zA-Z0-9-]*$" } } }