@aws-sdk/client-appstream 3.42.0 → 3.43.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/AppStream.js +150 -0
  4. package/dist-cjs/commands/AssociateApplicationFleetCommand.js +36 -0
  5. package/dist-cjs/commands/CreateAppBlockCommand.js +36 -0
  6. package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteAppBlockCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeAppBlocksCommand.js +36 -0
  10. package/dist-cjs/commands/DescribeApplicationFleetAssociationsCommand.js +36 -0
  11. package/dist-cjs/commands/DescribeApplicationsCommand.js +36 -0
  12. package/dist-cjs/commands/DisassociateApplicationFleetCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/models/models_0.js +185 -34
  16. package/dist-cjs/protocols/Aws_json1_1.js +1329 -241
  17. package/dist-es/AppStream.js +150 -0
  18. package/dist-es/commands/AssociateApplicationFleetCommand.js +39 -0
  19. package/dist-es/commands/CreateAppBlockCommand.js +39 -0
  20. package/dist-es/commands/CreateApplicationCommand.js +39 -0
  21. package/dist-es/commands/DeleteAppBlockCommand.js +39 -0
  22. package/dist-es/commands/DeleteApplicationCommand.js +39 -0
  23. package/dist-es/commands/DescribeAppBlocksCommand.js +39 -0
  24. package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +39 -0
  25. package/dist-es/commands/DescribeApplicationsCommand.js +39 -0
  26. package/dist-es/commands/DisassociateApplicationFleetCommand.js +39 -0
  27. package/dist-es/commands/UpdateApplicationCommand.js +39 -0
  28. package/dist-es/commands/index.js +10 -0
  29. package/dist-es/models/models_0.js +127 -24
  30. package/dist-es/protocols/Aws_json1_1.js +1154 -33
  31. package/dist-types/AppStream.d.ts +104 -4
  32. package/dist-types/AppStreamClient.d.ts +12 -2
  33. package/dist-types/commands/AssociateApplicationFleetCommand.d.ts +35 -0
  34. package/dist-types/commands/CreateAppBlockCommand.d.ts +41 -0
  35. package/dist-types/commands/CreateApplicationCommand.d.ts +41 -0
  36. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteAppBlockCommand.d.ts +35 -0
  38. package/dist-types/commands/DeleteApplicationCommand.d.ts +35 -0
  39. package/dist-types/commands/DescribeAppBlocksCommand.d.ts +35 -0
  40. package/dist-types/commands/DescribeApplicationFleetAssociationsCommand.d.ts +35 -0
  41. package/dist-types/commands/DescribeApplicationsCommand.d.ts +35 -0
  42. package/dist-types/commands/DisassociateApplicationFleetCommand.d.ts +35 -0
  43. package/dist-types/commands/UpdateApplicationCommand.d.ts +35 -0
  44. package/dist-types/commands/UpdateFleetCommand.d.ts +21 -3
  45. package/dist-types/commands/index.d.ts +10 -0
  46. package/dist-types/models/models_0.d.ts +647 -63
  47. package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
  48. package/dist-types/ts3.4/AppStream.d.ts +50 -0
  49. package/dist-types/ts3.4/AppStreamClient.d.ts +12 -2
  50. package/dist-types/ts3.4/commands/AssociateApplicationFleetCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/CreateAppBlockCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DeleteAppBlockCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/DescribeAppBlocksCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/DescribeApplicationFleetAssociationsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/DisassociateApplicationFleetCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +368 -42
  62. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
  63. package/package.json +2 -2
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
4
+ import { DisassociateApplicationFleetRequest, DisassociateApplicationFleetResult } from "../models/models_0";
5
+ export interface DisassociateApplicationFleetCommandInput extends DisassociateApplicationFleetRequest {
6
+ }
7
+ export interface DisassociateApplicationFleetCommandOutput extends DisassociateApplicationFleetResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Disassociates the specified application from the fleet.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppStreamClient, DisassociateApplicationFleetCommand } from "@aws-sdk/client-appstream"; // ES Modules import
15
+ * // const { AppStreamClient, DisassociateApplicationFleetCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
16
+ * const client = new AppStreamClient(config);
17
+ * const command = new DisassociateApplicationFleetCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DisassociateApplicationFleetCommandInput} for command's `input` shape.
22
+ * @see {@link DisassociateApplicationFleetCommandOutput} for command's `response` shape.
23
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DisassociateApplicationFleetCommand extends $Command<DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput, AppStreamClientResolvedConfig> {
27
+ readonly input: DisassociateApplicationFleetCommandInput;
28
+ constructor(input: DisassociateApplicationFleetCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateApplicationFleetCommandInput, DisassociateApplicationFleetCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
4
+ import { UpdateApplicationRequest, UpdateApplicationResult } from "../models/models_0";
5
+ export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
6
+ }
7
+ export interface UpdateApplicationCommandOutput extends UpdateApplicationResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates the specified application.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AppStreamClient, UpdateApplicationCommand } from "@aws-sdk/client-appstream"; // ES Modules import
15
+ * // const { AppStreamClient, UpdateApplicationCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
16
+ * const client = new AppStreamClient(config);
17
+ * const command = new UpdateApplicationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateApplicationCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
23
+ * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, AppStreamClientResolvedConfig> {
27
+ readonly input: UpdateApplicationCommandInput;
28
+ constructor(input: UpdateApplicationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationCommandInput, UpdateApplicationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -8,9 +8,27 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResult, __MetadataB
8
8
  }
9
9
  /**
10
10
  * <p>Updates the specified fleet.</p>
11
- * <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except the fleet name.
12
- * If the fleet is in the <code>RUNNING</code> state, you can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> attributes.
13
- * If the fleet is in the <code>STARTING</code> or <code>STOPPING</code> state, you can't update it.</p>
11
+ * <p>If the fleet is in the <code>STOPPED</code> state, you can update any attribute except
12
+ * the fleet name.</p>
13
+ * <p>If the fleet is in the <code>RUNNING</code> state, you can update the following based
14
+ * on the fleet type:</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>Always-On and On-Demand fleet types</p>
18
+ * <p>You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>,
19
+ * <code>ImageARN</code>, <code>ImageName</code>,
20
+ * <code>IdleDisconnectTimeoutInSeconds</code>, and
21
+ * <code>DisconnectTimeoutInSeconds</code> attributes.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>Elastic fleet type</p>
25
+ * <p>You can update the <code>DisplayName</code>,
26
+ * <code>IdleDisconnectTimeoutInSeconds</code>,
27
+ * <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>,
28
+ * and <code>UsbDeviceFilterStrings</code> attributes.</p>
29
+ * </li>
30
+ * </ul>
31
+ * <p>If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't update it.</p>
14
32
  * @example
15
33
  * Use a bare-bones client and the command you need to make an API call.
16
34
  * ```javascript
@@ -1,7 +1,10 @@
1
+ export * from "./AssociateApplicationFleetCommand";
1
2
  export * from "./AssociateFleetCommand";
2
3
  export * from "./BatchAssociateUserStackCommand";
3
4
  export * from "./BatchDisassociateUserStackCommand";
4
5
  export * from "./CopyImageCommand";
6
+ export * from "./CreateAppBlockCommand";
7
+ export * from "./CreateApplicationCommand";
5
8
  export * from "./CreateDirectoryConfigCommand";
6
9
  export * from "./CreateFleetCommand";
7
10
  export * from "./CreateImageBuilderCommand";
@@ -11,6 +14,8 @@ export * from "./CreateStreamingURLCommand";
11
14
  export * from "./CreateUpdatedImageCommand";
12
15
  export * from "./CreateUsageReportSubscriptionCommand";
13
16
  export * from "./CreateUserCommand";
17
+ export * from "./DeleteAppBlockCommand";
18
+ export * from "./DeleteApplicationCommand";
14
19
  export * from "./DeleteDirectoryConfigCommand";
15
20
  export * from "./DeleteFleetCommand";
16
21
  export * from "./DeleteImageBuilderCommand";
@@ -19,6 +24,9 @@ export * from "./DeleteImagePermissionsCommand";
19
24
  export * from "./DeleteStackCommand";
20
25
  export * from "./DeleteUsageReportSubscriptionCommand";
21
26
  export * from "./DeleteUserCommand";
27
+ export * from "./DescribeAppBlocksCommand";
28
+ export * from "./DescribeApplicationFleetAssociationsCommand";
29
+ export * from "./DescribeApplicationsCommand";
22
30
  export * from "./DescribeDirectoryConfigsCommand";
23
31
  export * from "./DescribeFleetsCommand";
24
32
  export * from "./DescribeImageBuildersCommand";
@@ -30,6 +38,7 @@ export * from "./DescribeUsageReportSubscriptionsCommand";
30
38
  export * from "./DescribeUserStackAssociationsCommand";
31
39
  export * from "./DescribeUsersCommand";
32
40
  export * from "./DisableUserCommand";
41
+ export * from "./DisassociateApplicationFleetCommand";
33
42
  export * from "./DisassociateFleetCommand";
34
43
  export * from "./EnableUserCommand";
35
44
  export * from "./ExpireSessionCommand";
@@ -42,6 +51,7 @@ export * from "./StopFleetCommand";
42
51
  export * from "./StopImageBuilderCommand";
43
52
  export * from "./TagResourceCommand";
44
53
  export * from "./UntagResourceCommand";
54
+ export * from "./UpdateApplicationCommand";
45
55
  export * from "./UpdateDirectoryConfigCommand";
46
56
  export * from "./UpdateFleetCommand";
47
57
  export * from "./UpdateImagePermissionsCommand";