@aws-sdk/client-appstream 3.1055.0 → 3.1056.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1555,6 +1555,7 @@ const ExportImageTaskState = {
1555
1555
  COMPLETED: "COMPLETED",
1556
1556
  EXPORTING: "EXPORTING",
1557
1557
  FAILED: "FAILED",
1558
+ TIMED_OUT: "TIMED_OUT",
1558
1559
  };
1559
1560
  const FleetType = {
1560
1561
  ALWAYS_ON: "ALWAYS_ON",
@@ -1604,6 +1605,7 @@ const ImageSharedWithOthers = {
1604
1605
  TRUE: "TRUE",
1605
1606
  };
1606
1607
  const ImageType = {
1608
+ BYOL: "BYOL",
1607
1609
  CUSTOM: "CUSTOM",
1608
1610
  NATIVE: "NATIVE",
1609
1611
  };
@@ -603,6 +603,7 @@ const _Va = "Value";
603
603
  const _Val = "Values";
604
604
  const _Vi = "Visibility";
605
605
  const _WD = "WorkingDirectory";
606
+ const _WII = "WorkspaceImageId";
606
607
  const _aF = "allowFleet";
607
608
  const _aIB = "allowImageBuilder";
608
609
  const _c = "client";
@@ -1000,8 +1001,8 @@ exports.CreateImageBuilderStreamingURLResult$ = [3, n0, _CIBSURLRr,
1000
1001
  ];
1001
1002
  exports.CreateImportedImageRequest$ = [3, n0, _CIIR,
1002
1003
  0,
1003
- [_N, _SAI, _IRA, _D, _DN, _T, _RVCu, _ASV, _ACC, _DRr],
1004
- [0, 0, 0, 0, 0, 128 | 0, () => exports.RuntimeValidationConfig$, 0, [() => AppCatalogConfig, 0], 2], 3
1004
+ [_N, _SAI, _WII, _IRA, _D, _DN, _T, _RVCu, _ASV, _ACC, _DRr],
1005
+ [0, 0, 0, 0, 0, 0, 128 | 0, () => exports.RuntimeValidationConfig$, 0, [() => AppCatalogConfig, 0], 2], 1
1005
1006
  ];
1006
1007
  exports.CreateImportedImageResult$ = [3, n0, _CIIRr,
1007
1008
  0,
@@ -128,6 +128,7 @@ export const ExportImageTaskState = {
128
128
  COMPLETED: "COMPLETED",
129
129
  EXPORTING: "EXPORTING",
130
130
  FAILED: "FAILED",
131
+ TIMED_OUT: "TIMED_OUT",
131
132
  };
132
133
  export const FleetType = {
133
134
  ALWAYS_ON: "ALWAYS_ON",
@@ -177,6 +178,7 @@ export const ImageSharedWithOthers = {
177
178
  TRUE: "TRUE",
178
179
  };
179
180
  export const ImageType = {
181
+ BYOL: "BYOL",
180
182
  CUSTOM: "CUSTOM",
181
183
  NATIVE: "NATIVE",
182
184
  };
@@ -594,6 +594,7 @@ const _Va = "Value";
594
594
  const _Val = "Values";
595
595
  const _Vi = "Visibility";
596
596
  const _WD = "WorkingDirectory";
597
+ const _WII = "WorkspaceImageId";
597
598
  const _aF = "allowFleet";
598
599
  const _aIB = "allowImageBuilder";
599
600
  const _c = "client";
@@ -991,8 +992,8 @@ export var CreateImageBuilderStreamingURLResult$ = [3, n0, _CIBSURLRr,
991
992
  ];
992
993
  export var CreateImportedImageRequest$ = [3, n0, _CIIR,
993
994
  0,
994
- [_N, _SAI, _IRA, _D, _DN, _T, _RVCu, _ASV, _ACC, _DRr],
995
- [0, 0, 0, 0, 0, 128 | 0, () => RuntimeValidationConfig$, 0, [() => AppCatalogConfig, 0], 2], 3
995
+ [_N, _SAI, _WII, _IRA, _D, _DN, _T, _RVCu, _ASV, _ACC, _DRr],
996
+ [0, 0, 0, 0, 0, 0, 128 | 0, () => RuntimeValidationConfig$, 0, [() => AppCatalogConfig, 0], 2], 1
996
997
  ];
997
998
  export var CreateImportedImageResult$ = [3, n0, _CIIRr,
998
999
  0,
@@ -56,7 +56,7 @@ declare const CreateExportImageTaskCommand_base: {
56
56
  * // AmiName: "STRING_VALUE", // required
57
57
  * // CreatedDate: new Date("TIMESTAMP"), // required
58
58
  * // AmiDescription: "STRING_VALUE",
59
- * // State: "EXPORTING" || "COMPLETED" || "FAILED",
59
+ * // State: "EXPORTING" || "COMPLETED" || "FAILED" || "TIMED_OUT",
60
60
  * // AmiId: "STRING_VALUE",
61
61
  * // TagSpecifications: { // Tags
62
62
  * // "<keys>": "STRING_VALUE",
@@ -40,8 +40,9 @@ declare const CreateImportedImageCommand_base: {
40
40
  * const client = new AppStreamClient(config);
41
41
  * const input = { // CreateImportedImageRequest
42
42
  * Name: "STRING_VALUE", // required
43
- * SourceAmiId: "STRING_VALUE", // required
44
- * IamRoleArn: "STRING_VALUE", // required
43
+ * SourceAmiId: "STRING_VALUE",
44
+ * WorkspaceImageId: "STRING_VALUE",
45
+ * IamRoleArn: "STRING_VALUE",
45
46
  * Description: "STRING_VALUE",
46
47
  * DisplayName: "STRING_VALUE",
47
48
  * Tags: { // Tags
@@ -131,7 +132,7 @@ declare const CreateImportedImageCommand_base: {
131
132
  * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED",
132
133
  * // ImageSharedWithOthers: "TRUE" || "FALSE",
133
134
  * // ManagedSoftwareIncluded: true || false,
134
- * // ImageType: "CUSTOM" || "NATIVE",
135
+ * // ImageType: "CUSTOM" || "NATIVE" || "BYOL",
135
136
  * // },
136
137
  * // };
137
138
  *
@@ -152,6 +153,9 @@ declare const CreateImportedImageCommand_base: {
152
153
  * @throws {@link InvalidAccountStatusException} (client fault)
153
154
  * <p>The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support. </p>
154
155
  *
156
+ * @throws {@link InvalidParameterCombinationException} (client fault)
157
+ * <p>Indicates an incorrect combination of parameters, or a missing parameter.</p>
158
+ *
155
159
  * @throws {@link InvalidRoleException} (client fault)
156
160
  * <p>The specified role is invalid.</p>
157
161
  *
@@ -117,7 +117,7 @@ declare const CreateUpdatedImageCommand_base: {
117
117
  * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED",
118
118
  * // ImageSharedWithOthers: "TRUE" || "FALSE",
119
119
  * // ManagedSoftwareIncluded: true || false,
120
- * // ImageType: "CUSTOM" || "NATIVE",
120
+ * // ImageType: "CUSTOM" || "NATIVE" || "BYOL",
121
121
  * // },
122
122
  * // canUpdateImage: true || false,
123
123
  * // };
@@ -109,7 +109,7 @@ declare const DeleteImageCommand_base: {
109
109
  * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED",
110
110
  * // ImageSharedWithOthers: "TRUE" || "FALSE",
111
111
  * // ManagedSoftwareIncluded: true || false,
112
- * // ImageType: "CUSTOM" || "NATIVE",
112
+ * // ImageType: "CUSTOM" || "NATIVE" || "BYOL",
113
113
  * // },
114
114
  * // };
115
115
  *
@@ -117,7 +117,7 @@ declare const DescribeImagesCommand_base: {
117
117
  * // DynamicAppProvidersEnabled: "ENABLED" || "DISABLED",
118
118
  * // ImageSharedWithOthers: "TRUE" || "FALSE",
119
119
  * // ManagedSoftwareIncluded: true || false,
120
- * // ImageType: "CUSTOM" || "NATIVE",
120
+ * // ImageType: "CUSTOM" || "NATIVE" || "BYOL",
121
121
  * // },
122
122
  * // ],
123
123
  * // NextToken: "STRING_VALUE",
@@ -50,7 +50,7 @@ declare const GetExportImageTaskCommand_base: {
50
50
  * // AmiName: "STRING_VALUE", // required
51
51
  * // CreatedDate: new Date("TIMESTAMP"), // required
52
52
  * // AmiDescription: "STRING_VALUE",
53
- * // State: "EXPORTING" || "COMPLETED" || "FAILED",
53
+ * // State: "EXPORTING" || "COMPLETED" || "FAILED" || "TIMED_OUT",
54
54
  * // AmiId: "STRING_VALUE",
55
55
  * // TagSpecifications: { // Tags
56
56
  * // "<keys>": "STRING_VALUE",
@@ -60,7 +60,7 @@ declare const ListExportImageTasksCommand_base: {
60
60
  * // AmiName: "STRING_VALUE", // required
61
61
  * // CreatedDate: new Date("TIMESTAMP"), // required
62
62
  * // AmiDescription: "STRING_VALUE",
63
- * // State: "EXPORTING" || "COMPLETED" || "FAILED",
63
+ * // State: "EXPORTING" || "COMPLETED" || "FAILED" || "TIMED_OUT",
64
64
  * // AmiId: "STRING_VALUE",
65
65
  * // TagSpecifications: { // Tags
66
66
  * // "<keys>": "STRING_VALUE",
@@ -292,6 +292,7 @@ export declare const ExportImageTaskState: {
292
292
  readonly COMPLETED: "COMPLETED";
293
293
  readonly EXPORTING: "EXPORTING";
294
294
  readonly FAILED: "FAILED";
295
+ readonly TIMED_OUT: "TIMED_OUT";
295
296
  };
296
297
  /**
297
298
  * @public
@@ -413,6 +414,7 @@ export type ImageSharedWithOthers = (typeof ImageSharedWithOthers)[keyof typeof
413
414
  * @enum
414
415
  */
415
416
  export declare const ImageType: {
417
+ readonly BYOL: "BYOL";
416
418
  readonly CUSTOM: "CUSTOM";
417
419
  readonly NATIVE: "NATIVE";
418
420
  };
@@ -3082,15 +3082,20 @@ export interface CreateImportedImageRequest {
3082
3082
  */
3083
3083
  Name: string | undefined;
3084
3084
  /**
3085
- * <p>The ID of the EC2 AMI to import. The AMI must meet specific requirements including Windows Server 2022 Full Base, UEFI boot mode, TPM 2.0 support, and proper drivers.</p>
3085
+ * <p>The ID of the EC2 AMI to import.</p>
3086
3086
  * @public
3087
3087
  */
3088
- SourceAmiId: string | undefined;
3088
+ SourceAmiId?: string | undefined;
3089
+ /**
3090
+ * <p>The ID of the Workspaces Image to import.</p>
3091
+ * @public
3092
+ */
3093
+ WorkspaceImageId?: string | undefined;
3089
3094
  /**
3090
3095
  * <p>The ARN of the IAM role that allows WorkSpaces Applications to access your AMI. The role must have permissions to modify image attributes and describe images, with a trust relationship allowing appstream.amazonaws.com to assume the role.</p>
3091
3096
  * @public
3092
3097
  */
3093
- IamRoleArn: string | undefined;
3098
+ IamRoleArn?: string | undefined;
3094
3099
  /**
3095
3100
  * <p>An optional description for the imported image. The description must match approved regex patterns and can be up to 256 characters.</p>
3096
3101
  * @public
@@ -161,6 +161,7 @@ export declare const ExportImageTaskState: {
161
161
  readonly COMPLETED: "COMPLETED";
162
162
  readonly EXPORTING: "EXPORTING";
163
163
  readonly FAILED: "FAILED";
164
+ readonly TIMED_OUT: "TIMED_OUT";
164
165
  };
165
166
  export type ExportImageTaskState =
166
167
  (typeof ExportImageTaskState)[keyof typeof ExportImageTaskState];
@@ -225,6 +226,7 @@ export declare const ImageSharedWithOthers: {
225
226
  export type ImageSharedWithOthers =
226
227
  (typeof ImageSharedWithOthers)[keyof typeof ImageSharedWithOthers];
227
228
  export declare const ImageType: {
229
+ readonly BYOL: "BYOL";
228
230
  readonly CUSTOM: "CUSTOM";
229
231
  readonly NATIVE: "NATIVE";
230
232
  };
@@ -525,8 +525,9 @@ export interface RuntimeValidationConfig {
525
525
  }
526
526
  export interface CreateImportedImageRequest {
527
527
  Name: string | undefined;
528
- SourceAmiId: string | undefined;
529
- IamRoleArn: string | undefined;
528
+ SourceAmiId?: string | undefined;
529
+ WorkspaceImageId?: string | undefined;
530
+ IamRoleArn?: string | undefined;
530
531
  Description?: string | undefined;
531
532
  DisplayName?: string | undefined;
532
533
  Tags?: Record<string, string> | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appstream",
3
3
  "description": "AWS SDK for JavaScript Appstream Client for Node.js, Browser and React Native",
4
- "version": "3.1055.0",
4
+ "version": "3.1056.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appstream",
@@ -21,12 +21,12 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.14",
25
- "@aws-sdk/credential-provider-node": "^3.972.45",
24
+ "@aws-sdk/core": "^3.974.15",
25
+ "@aws-sdk/credential-provider-node": "^3.972.46",
26
26
  "@aws-sdk/types": "^3.973.9",
27
- "@smithy/core": "^3.24.3",
28
- "@smithy/fetch-http-handler": "^5.4.3",
29
- "@smithy/node-http-handler": "^4.7.3",
27
+ "@smithy/core": "^3.24.5",
28
+ "@smithy/fetch-http-handler": "^5.4.5",
29
+ "@smithy/node-http-handler": "^4.7.5",
30
30
  "@smithy/types": "^4.14.2",
31
31
  "tslib": "^2.6.2"
32
32
  },