@aws-sdk/client-launch-wizard 3.775.0 → 3.782.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,6 +79,71 @@ declare const CreateDeploymentCommand_base: {
79
79
  * @throws {@link LaunchWizardServiceException}
80
80
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
81
81
  *
82
+ *
83
+ * @example Deploy a given workload with given settings.
84
+ * ```javascript
85
+ * //
86
+ * const input = {
87
+ * deploymentPatternName: "SapHanaSingle",
88
+ * dryRun: false,
89
+ * name: "SapHanaSingleForTest",
90
+ * specifications: {
91
+ * DisableDeploymentRollback: "true",
92
+ * Encryption: "Yes",
93
+ * KeyName: "testLinuxInstance",
94
+ * SAPTZ: "America/Vancouver",
95
+ * VPCID: "vpc-1234567",
96
+ * applicationName: "SapHanaSingleForTest",
97
+ * deploymentScenario: "SapHanaSingle",
98
+ * environmentType: "production",
99
+ * saveArtifactsS3Uri: "s3://testbucket",
100
+ * saveDeploymentArtifacts: "Yes"
101
+ * },
102
+ * workloadName: "SAP"
103
+ * };
104
+ * const command = new CreateDeploymentCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d"
109
+ * }
110
+ * *\/
111
+ * ```
112
+ *
113
+ * @example Deploy a given workload with given settings and passing tags for Launch Wizard deployment resource.
114
+ * ```javascript
115
+ * //
116
+ * const input = {
117
+ * deploymentPatternName: "SapHanaSingle",
118
+ * dryRun: false,
119
+ * name: "SapHanaSingleForTest",
120
+ * specifications: {
121
+ * DisableDeploymentRollback: "true",
122
+ * Encryption: "Yes",
123
+ * KeyName: "testLinuxInstance",
124
+ * SAPTZ: "America/Vancouver",
125
+ * VPCID: "vpc-1234567",
126
+ * applicationName: "SapHanaSingleForTest",
127
+ * deploymentScenario: "SapHanaSingle",
128
+ * environmentType: "production",
129
+ * saveArtifactsS3Uri: "s3://testbucket",
130
+ * saveDeploymentArtifacts: "Yes"
131
+ * },
132
+ * tags: {
133
+ * key1: "val1",
134
+ * key2: "val2"
135
+ * },
136
+ * workloadName: "SAP"
137
+ * };
138
+ * const command = new CreateDeploymentCommand(input);
139
+ * const response = await client.send(command);
140
+ * /* response is
141
+ * {
142
+ * deploymentId: "1111111-1111-1111-1111-111111111111"
143
+ * }
144
+ * *\/
145
+ * ```
146
+ *
82
147
  * @public
83
148
  */
84
149
  export declare class CreateDeploymentCommand extends CreateDeploymentCommand_base {
@@ -69,6 +69,23 @@ declare const DeleteDeploymentCommand_base: {
69
69
  * @throws {@link LaunchWizardServiceException}
70
70
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
71
71
  *
72
+ *
73
+ * @example Delete a deployment.
74
+ * ```javascript
75
+ * //
76
+ * const input = {
77
+ * deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d"
78
+ * };
79
+ * const command = new DeleteDeploymentCommand(input);
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * {
83
+ * status: "DELETED",
84
+ * statusReason: "Finished processing DeleteApp request"
85
+ * }
86
+ * *\/
87
+ * ```
88
+ *
72
89
  * @public
73
90
  */
74
91
  export declare class DeleteDeploymentCommand extends DeleteDeploymentCommand_base {
@@ -80,6 +80,45 @@ declare const GetDeploymentCommand_base: {
80
80
  * @throws {@link LaunchWizardServiceException}
81
81
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
82
82
  *
83
+ *
84
+ * @example Get details about a given deployment.
85
+ * ```javascript
86
+ * //
87
+ * const input = {
88
+ * deploymentId: "1111111-1111-1111-1111-111111111111"
89
+ * };
90
+ * const command = new GetDeploymentCommand(input);
91
+ * const response = await client.send(command);
92
+ * /* response is
93
+ * {
94
+ * deployment: {
95
+ * createdAt: "2023-04-24T13:10:09.857Z",
96
+ * deploymentArn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/1111111-1111-1111-1111-111111111111",
97
+ * id: "1111111-1111-1111-1111-111111111111",
98
+ * name: "SapHanaSingleForTest",
99
+ * specifications: {
100
+ * DisableDeploymentRollback: "true",
101
+ * Encryption: "Yes",
102
+ * KeyName: "testLinuxInstance",
103
+ * SAPTZ: "America/Vancouver",
104
+ * VPCID: "vpc-1234567",
105
+ * applicationName: "SapHanaSingleForTest",
106
+ * deploymentScenario: "SapHanaSingle",
107
+ * environmentType: "production",
108
+ * saveArtifactsS3Uri: "s3://testbucket",
109
+ * saveDeploymentArtifacts: "Yes"
110
+ * },
111
+ * status: "FAILED",
112
+ * tags: {
113
+ * key1: "val1",
114
+ * key2: "val2"
115
+ * },
116
+ * workloadName: "SapHanaSingle"
117
+ * }
118
+ * }
119
+ * *\/
120
+ * ```
121
+ *
83
122
  * @public
84
123
  */
85
124
  export declare class GetDeploymentCommand extends GetDeploymentCommand_base {
@@ -72,6 +72,29 @@ declare const GetWorkloadCommand_base: {
72
72
  * @throws {@link LaunchWizardServiceException}
73
73
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
74
74
  *
75
+ *
76
+ * @example Get details about a specific workload.
77
+ * ```javascript
78
+ * //
79
+ * const input = {
80
+ * workloadName: "SAP"
81
+ * };
82
+ * const command = new GetWorkloadCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response is
85
+ * {
86
+ * workload: {
87
+ * description: "Workload Description",
88
+ * displayName: "SAP",
89
+ * documentationUrl: "https://docs.aws.amazon.com/launchwizard/latest/userguide/launch-wizard-sap.html",
90
+ * iconUrl: "https://aws-lw-workload-assets-test-us-east-1.s3.amazonaws.com/amazon/SAP/icon.png?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEAUaCXVzLWVhc3QtMSJHMEUCIC4l3GCH4o%2Bgq3pJzcD1YJmtrmyNCoEgG2RIayjDWf9kAiEAnMK5nYixaZLuF1s1UVoNd7xIbDrOQ8EAbhcZWexMp9cq7wIIrf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAEGgw1ODI1NTgxMjEyMDYiDHxMN%2BZ8CoPORzvo4yrDAtkVZlBVxLwnFmwHw005vo13LOUUbyajEpp3HNh%2BaBL8K2DLx7Kzi0UPPD6z8pL1eiFLHAQ9zZgVc7pLVQjBKOdcw1GmIADDepqYEb%2B8zLi7zwWP1JT72YbT6ZXSoWpb5NCqcyAvdK47b0Ae586s6VkWzoeJ65jR%2FgbJMhRpFpqVSP2XI6Rf6yA3%2BkQyUCk3RdyF4ljIL8Nf5nIFb%2BOMK2PZ8aJX85l1j7UpJE1rfNb1PitVcQz3KlW5xkiXfcWRKeVhgHRyuCEL3FY0DyPFdqe3NxcA0%2FzPgBq6Y9B41kM6af5u2kQRfQOjWejDpzpG7w40eaIKAYnhBkjIA9550geSLB7O%2FuAPQLI9fI2lVowIBUKsKVOr0%2FFGIzW3WM7%2BbEx%2FZ0mDkP1IhcpZdP7owC77K8O%2BXDgBCabAy48K3ndi%2BQKQMPXjz6YGOp4Bbgv9mVc3sE4KvXZv1skhnOYcOKGdCncIKLne0W%2BgO3URxyDQiyO2FhM3OekXDH83CNCyDVIpkgpWkvgXDSaZiD5mj0T9iqEeJzfh6uQvX1dRN%2BxI1eV0M7HKY2e7F%2BKNjeLhzKgKpSpDqFIUSjLeBlLLyQCNKuUiO3DMiy3rB89aX4b9wyC8au0SfGb72YyNLXjh6M1whcj1VNGePyw%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230809T202649Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=ASIAYPIZLPT3GGDNTHTI%2F20230809%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=6a37e41e47208b426a5e7d32392d0815388cd0231187652204836943c37ad86a",
91
+ * status: "ACTIVE",
92
+ * workloadName: "SAP"
93
+ * }
94
+ * }
95
+ * *\/
96
+ * ```
97
+ *
75
98
  * @public
76
99
  */
77
100
  export declare class GetWorkloadCommand extends GetWorkloadCommand_base {
@@ -93,6 +93,47 @@ declare const GetWorkloadDeploymentPatternCommand_base: {
93
93
  * @throws {@link LaunchWizardServiceException}
94
94
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
95
95
  *
96
+ *
97
+ * @example Get details about a specific Workload deployment pattern
98
+ * ```javascript
99
+ * //
100
+ * const input = {
101
+ * deploymentPatternName: "adSelfManagedNewVpc",
102
+ * workloadName: "MicrosoftActiveDirectory"
103
+ * };
104
+ * const command = new GetWorkloadDeploymentPatternCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * workloadDeploymentPattern: {
109
+ * deploymentPatternName: "adSelfManagedNewVpc",
110
+ * description: "Builds a new AWS environment (VPC and other components), and deploys AD DS into this new VPC.",
111
+ * displayName: "Self-managed AD - new VPC",
112
+ * specifications: [
113
+ * {
114
+ * description: "Number of Availability Zones to use in the VPC.",
115
+ * name: "NumberOfAZs",
116
+ * required: "Yes"
117
+ * },
118
+ * {
119
+ * description: "List of Availability Zones (AZs) to use for the subnets in the VPC.",
120
+ * name: "AvailabilityZones",
121
+ * required: "Yes"
122
+ * },
123
+ * {
124
+ * description: "CIDR block for the VPC.",
125
+ * name: "VPCCIDR",
126
+ * required: "Yes"
127
+ * }
128
+ * ],
129
+ * status: "ACTIVE",
130
+ * workloadName: "MicrosoftActiveDirectory",
131
+ * workloadVersionName: "2024-03-19-14-00-09"
132
+ * }
133
+ * }
134
+ * *\/
135
+ * ```
136
+ *
96
137
  * @public
97
138
  */
98
139
  export declare class GetWorkloadDeploymentPatternCommand extends GetWorkloadDeploymentPatternCommand_base {
@@ -75,6 +75,37 @@ declare const ListDeploymentEventsCommand_base: {
75
75
  * @throws {@link LaunchWizardServiceException}
76
76
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
77
77
  *
78
+ *
79
+ * @example List all actions taken during a deployment.
80
+ * ```javascript
81
+ * //
82
+ * const input = {
83
+ * deploymentId: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d"
84
+ * };
85
+ * const command = new ListDeploymentEventsCommand(input);
86
+ * const response = await client.send(command);
87
+ * /* response is
88
+ * {
89
+ * deploymentEvents: [
90
+ * {
91
+ * description: "Creates a new secure parameter",
92
+ * name: "Create secure parameter",
93
+ * status: "COMPLETED",
94
+ * statusReason: "",
95
+ * timestamp: "2023-04-24T13:10:39.123Z"
96
+ * },
97
+ * {
98
+ * description: "Creates a resource group with all the application resources",
99
+ * name: "Create resource group",
100
+ * status: "COMPLETED",
101
+ * statusReason: "",
102
+ * timestamp: "2023-04-24T13:10:42.238Z"
103
+ * }
104
+ * ]
105
+ * }
106
+ * *\/
107
+ * ```
108
+ *
78
109
  * @public
79
110
  */
80
111
  export declare class ListDeploymentEventsCommand extends ListDeploymentEventsCommand_base {
@@ -80,6 +80,38 @@ declare const ListDeploymentsCommand_base: {
80
80
  * @throws {@link LaunchWizardServiceException}
81
81
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
82
82
  *
83
+ *
84
+ * @example List deployments in the account with filters.
85
+ * ```javascript
86
+ * //
87
+ * const input = {
88
+ * filters: [
89
+ * {
90
+ * name: "DEPLOYMENT_STATUS",
91
+ * values: [
92
+ * "IN_PROGRESS"
93
+ * ]
94
+ * }
95
+ * ]
96
+ * };
97
+ * const command = new ListDeploymentsCommand(input);
98
+ * const response = await client.send(command);
99
+ * /* response is
100
+ * {
101
+ * deployments: [
102
+ * {
103
+ * createdAt: "2023-04-24T13:10:09.857Z",
104
+ * id: "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d",
105
+ * name: "SapHanaSingleForTest",
106
+ * patternName: "SapHanaSingle",
107
+ * status: "IN_PROGRESS",
108
+ * workloadName: "SAP"
109
+ * }
110
+ * ]
111
+ * }
112
+ * *\/
113
+ * ```
114
+ *
83
115
  * @public
84
116
  */
85
117
  export declare class ListDeploymentsCommand extends ListDeploymentsCommand_base {
@@ -66,6 +66,25 @@ declare const ListTagsForResourceCommand_base: {
66
66
  * @throws {@link LaunchWizardServiceException}
67
67
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
68
68
  *
69
+ *
70
+ * @example Listing tags on a Launch Wizard deployment resource.
71
+ * ```javascript
72
+ * //
73
+ * const input = {
74
+ * resourceArn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111"
75
+ * };
76
+ * const command = new ListTagsForResourceCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * {
80
+ * tags: {
81
+ * key1: "value1",
82
+ * key2: "value2"
83
+ * }
84
+ * }
85
+ * *\/
86
+ * ```
87
+ *
69
88
  * @public
70
89
  */
71
90
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
@@ -77,6 +77,39 @@ declare const ListWorkloadDeploymentPatternsCommand_base: {
77
77
  * @throws {@link LaunchWizardServiceException}
78
78
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
79
79
  *
80
+ *
81
+ * @example List all available workloads supported by AWS Launch Wizard.
82
+ * ```javascript
83
+ * //
84
+ * const input = {
85
+ * workloadName: "SAP"
86
+ * };
87
+ * const command = new ListWorkloadDeploymentPatternsCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * {
91
+ * workloadDeploymentPatterns: [
92
+ * {
93
+ * deploymentPatternName: "SapHanaHA",
94
+ * description: "Deployment Option Description",
95
+ * displayName: "Deployment Option Display Name",
96
+ * status: "ACTIVE",
97
+ * workloadName: "SAP",
98
+ * workloadVersionName: "2023-08-02-01-00-00"
99
+ * },
100
+ * {
101
+ * deploymentPatternName: "SapHanaMulti",
102
+ * description: "Deployment Option Description",
103
+ * displayName: "Deployment Option Display Name",
104
+ * status: "ACTIVE",
105
+ * workloadName: "SAP",
106
+ * workloadVersionName: "2023-08-02-01-00-00"
107
+ * }
108
+ * ]
109
+ * }
110
+ * *\/
111
+ * ```
112
+ *
80
113
  * @public
81
114
  */
82
115
  export declare class ListWorkloadDeploymentPatternsCommand extends ListWorkloadDeploymentPatternsCommand_base {
@@ -68,6 +68,29 @@ declare const ListWorkloadsCommand_base: {
68
68
  * @throws {@link LaunchWizardServiceException}
69
69
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
70
70
  *
71
+ *
72
+ * @example List all available workloads supported by AWS Launch Wizard.
73
+ * ```javascript
74
+ * //
75
+ * const input = { /* empty *\/ };
76
+ * const command = new ListWorkloadsCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * {
80
+ * workloads: [
81
+ * {
82
+ * displayName: "SAP",
83
+ * workloadName: "SAP"
84
+ * },
85
+ * {
86
+ * displayName: "MS SQL Server",
87
+ * workloadName: "SQL"
88
+ * }
89
+ * ]
90
+ * }
91
+ * *\/
92
+ * ```
93
+ *
71
94
  * @public
72
95
  */
73
96
  export declare class ListWorkloadsCommand extends ListWorkloadsCommand_base {
@@ -65,6 +65,24 @@ declare const TagResourceCommand_base: {
65
65
  * @throws {@link LaunchWizardServiceException}
66
66
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
67
67
  *
68
+ *
69
+ * @example Adding tags to a Launch Wizard deployment resource.
70
+ * ```javascript
71
+ * //
72
+ * const input = {
73
+ * resourceArn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111",
74
+ * tags: {
75
+ * key1: "value1",
76
+ * key2: "value2"
77
+ * }
78
+ * };
79
+ * const command = new TagResourceCommand(input);
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* empty *\/ }
83
+ * *\/
84
+ * ```
85
+ *
68
86
  * @public
69
87
  */
70
88
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -65,6 +65,24 @@ declare const UntagResourceCommand_base: {
65
65
  * @throws {@link LaunchWizardServiceException}
66
66
  * <p>Base exception class for all service exceptions from LaunchWizard service.</p>
67
67
  *
68
+ *
69
+ * @example Removing tags on a Launch Wizard deployment resource.
70
+ * ```javascript
71
+ * //
72
+ * const input = {
73
+ * resourceArn: "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111",
74
+ * tagKeys: [
75
+ * "key1",
76
+ * "key2"
77
+ * ]
78
+ * };
79
+ * const command = new UntagResourceCommand(input);
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* empty *\/ }
83
+ * *\/
84
+ * ```
85
+ *
68
86
  * @public
69
87
  */
70
88
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-launch-wizard",
3
3
  "description": "AWS SDK for JavaScript Launch Wizard Client for Node.js, Browser and React Native",
4
- "version": "3.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-launch-wizard",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",