@alicloud/appstream-center20210901 5.10.0 → 5.10.1

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 (27) hide show
  1. package/dist/client.d.ts +60 -56
  2. package/dist/client.js +66 -56
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.d.ts +28 -20
  5. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js +2 -0
  6. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js.map +1 -1
  7. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.d.ts +34 -21
  8. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js +4 -0
  9. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js.map +1 -1
  10. package/dist/models/ListPublishedAppInstanceGroupRequest.d.ts +28 -20
  11. package/dist/models/ListPublishedAppInstanceGroupRequest.js +2 -0
  12. package/dist/models/ListPublishedAppInstanceGroupRequest.js.map +1 -1
  13. package/dist/models/ListPublishedAppInstanceGroupResponseBody.d.ts +35 -22
  14. package/dist/models/ListPublishedAppInstanceGroupResponseBody.js +4 -0
  15. package/dist/models/ListPublishedAppInstanceGroupResponseBody.js.map +1 -1
  16. package/dist/models/ModifyShareImageRequest.d.ts +17 -0
  17. package/dist/models/ModifyShareImageRequest.js.map +1 -1
  18. package/dist/models/ModifyShareImageResponseBody.d.ts +15 -0
  19. package/dist/models/ModifyShareImageResponseBody.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/client.ts +68 -56
  22. package/src/models/ListAuthorizedAppInstanceGroupByUserRequest.ts +30 -20
  23. package/src/models/ListAuthorizedAppInstanceGroupByUserResponseBody.ts +38 -21
  24. package/src/models/ListPublishedAppInstanceGroupRequest.ts +30 -20
  25. package/src/models/ListPublishedAppInstanceGroupResponseBody.ts +39 -22
  26. package/src/models/ModifyShareImageRequest.ts +17 -0
  27. package/src/models/ModifyShareImageResponseBody.ts +15 -0
package/dist/client.d.ts CHANGED
@@ -892,26 +892,26 @@ export default class Client extends OpenApi {
892
892
  */
893
893
  listAppsByAppInstanceGroupId(request: $_model.ListAppsByAppInstanceGroupIdRequest): Promise<$_model.ListAppsByAppInstanceGroupIdResponse>;
894
894
  /**
895
- * Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
895
+ * Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
896
896
  *
897
897
  * @remarks
898
898
  * ## Operation description
899
- * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
900
- * Scope of returned results:
901
- * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
902
- * - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
903
- * - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
899
+ * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
900
+ * Return scope:
901
+ * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
902
+ * - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
903
+ * - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
904
904
  * ## Before you begin
905
- * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
906
- * ## Parameter description
907
- * - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
908
- * - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
909
- * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
910
- * - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
905
+ * - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
906
+ * ## Metric description
907
+ * - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
908
+ * - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
909
+ * - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
910
+ * - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
911
911
  * ## Call sequence
912
912
  * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
913
- * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
914
- * 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
913
+ * 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
914
+ * 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
915
915
  *
916
916
  * @param request - ListAuthorizedAppInstanceGroupByUserRequest
917
917
  * @param runtime - runtime options for this request RuntimeOptions
@@ -919,26 +919,26 @@ export default class Client extends OpenApi {
919
919
  */
920
920
  listAuthorizedAppInstanceGroupByUserWithOptions(request: $_model.ListAuthorizedAppInstanceGroupByUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAuthorizedAppInstanceGroupByUserResponse>;
921
921
  /**
922
- * Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
922
+ * Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
923
923
  *
924
924
  * @remarks
925
925
  * ## Operation description
926
- * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
927
- * Scope of returned results:
928
- * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
929
- * - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
930
- * - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
926
+ * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
927
+ * Return scope:
928
+ * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
929
+ * - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
930
+ * - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
931
931
  * ## Before you begin
932
- * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
933
- * ## Parameter description
934
- * - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
935
- * - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
936
- * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
937
- * - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
932
+ * - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
933
+ * ## Metric description
934
+ * - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
935
+ * - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
936
+ * - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
937
+ * - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
938
938
  * ## Call sequence
939
939
  * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
940
- * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
941
- * 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
940
+ * 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
941
+ * 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
942
942
  *
943
943
  * @param request - ListAuthorizedAppInstanceGroupByUserRequest
944
944
  * @returns ListAuthorizedAppInstanceGroupByUserResponse
@@ -1339,23 +1339,23 @@ export default class Client extends OpenApi {
1339
1339
  */
1340
1340
  listPersistentAppInstances(request: $_model.ListPersistentAppInstancesRequest): Promise<$_model.ListPersistentAppInstancesResponse>;
1341
1341
  /**
1342
- * Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging. Supports filtering by delivery group, application, and user authorization status.
1342
+ * Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
1343
1343
  *
1344
1344
  * @remarks
1345
- * ## Before you begin
1346
- * When calling this operation with a RAM user or STS credential, the `appstreaming:ListPublishedAppInstanceGroup` permission is required.
1347
- * A delivery group must be in the published state and have deployed applications in its image to appear in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
1345
+ * ## Prerequisites
1346
+ * When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
1347
+ * Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
1348
1348
  * ## Query and pagination
1349
- * - **You must explicitly pass in `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`.
1350
- * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can pass them individually or in combination. When multiple conditions are specified, all conditions must be met simultaneously. When both `AppId` and `AppName` are specified, the same application must satisfy both conditions.
1351
- * - If an optional filter parameter is not specified or is set to an empty string, that condition is not applied. Query results are sorted by delivery group creation time from newest to oldest. A delivery group is not returned multiple times even if it contains multiple matching applications.
1352
- * - `ExcludeUserId` excludes delivery groups in which all applications have been directly authorized to the specified user. It cannot be used to determine whether the user has no access permissions at all.
1353
- * - `AppId` and `AppName` only filter delivery groups. **They do not restrict the returned `Apps` list to only the matched applications.**
1354
- * ## Invoke sequence
1355
- * 1. Invoke a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
1356
- * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the result range, the list may also be empty, but the total count still represents the total number of matching delivery groups.
1357
- * 3. To retrieve details of a single delivery group, pass the full `AppInstanceGroupId` from the response and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
1358
- * The masked identifiers in the examples are for format demonstration purposes. Replace them with your actual identifiers when invoking the operation.
1349
+ * - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
1350
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
1351
+ * - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
1352
+ * - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
1353
+ * - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
1354
+ * ## Invocation sequence
1355
+ * 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
1356
+ * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
1357
+ * 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
1358
+ * The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
1359
1359
  *
1360
1360
  * @param request - ListPublishedAppInstanceGroupRequest
1361
1361
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1363,23 +1363,23 @@ export default class Client extends OpenApi {
1363
1363
  */
1364
1364
  listPublishedAppInstanceGroupWithOptions(request: $_model.ListPublishedAppInstanceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPublishedAppInstanceGroupResponse>;
1365
1365
  /**
1366
- * Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging. Supports filtering by delivery group, application, and user authorization status.
1366
+ * Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
1367
1367
  *
1368
1368
  * @remarks
1369
- * ## Before you begin
1370
- * When calling this operation with a RAM user or STS credential, the `appstreaming:ListPublishedAppInstanceGroup` permission is required.
1371
- * A delivery group must be in the published state and have deployed applications in its image to appear in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
1369
+ * ## Prerequisites
1370
+ * When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
1371
+ * Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
1372
1372
  * ## Query and pagination
1373
- * - **You must explicitly pass in `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`.
1374
- * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can pass them individually or in combination. When multiple conditions are specified, all conditions must be met simultaneously. When both `AppId` and `AppName` are specified, the same application must satisfy both conditions.
1375
- * - If an optional filter parameter is not specified or is set to an empty string, that condition is not applied. Query results are sorted by delivery group creation time from newest to oldest. A delivery group is not returned multiple times even if it contains multiple matching applications.
1376
- * - `ExcludeUserId` excludes delivery groups in which all applications have been directly authorized to the specified user. It cannot be used to determine whether the user has no access permissions at all.
1377
- * - `AppId` and `AppName` only filter delivery groups. **They do not restrict the returned `Apps` list to only the matched applications.**
1378
- * ## Invoke sequence
1379
- * 1. Invoke a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
1380
- * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the result range, the list may also be empty, but the total count still represents the total number of matching delivery groups.
1381
- * 3. To retrieve details of a single delivery group, pass the full `AppInstanceGroupId` from the response and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
1382
- * The masked identifiers in the examples are for format demonstration purposes. Replace them with your actual identifiers when invoking the operation.
1373
+ * - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
1374
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
1375
+ * - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
1376
+ * - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
1377
+ * - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
1378
+ * ## Invocation sequence
1379
+ * 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
1380
+ * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
1381
+ * 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
1382
+ * The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
1383
1383
  *
1384
1384
  * @param request - ListPublishedAppInstanceGroupRequest
1385
1385
  * @returns ListPublishedAppInstanceGroupResponse
@@ -1722,12 +1722,16 @@ export default class Client extends OpenApi {
1722
1722
  */
1723
1723
  modifyNodePoolAttribute(request: $_model.ModifyNodePoolAttributeRequest): Promise<$_model.ModifyNodePoolAttributeResponse>;
1724
1724
  /**
1725
+ * Shares an image with other WUYING users or cancels the sharing of a shared image.
1726
+ *
1725
1727
  * @param request - ModifyShareImageRequest
1726
1728
  * @param runtime - runtime options for this request RuntimeOptions
1727
1729
  * @returns ModifyShareImageResponse
1728
1730
  */
1729
1731
  modifyShareImageWithOptions(request: $_model.ModifyShareImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyShareImageResponse>;
1730
1732
  /**
1733
+ * Shares an image with other WUYING users or cancels the sharing of a shared image.
1734
+ *
1731
1735
  * @param request - ModifyShareImageRequest
1732
1736
  * @returns ModifyShareImageResponse
1733
1737
  */
package/dist/client.js CHANGED
@@ -2574,26 +2574,26 @@ class Client extends openapi_core_1.default {
2574
2574
  return await this.listAppsByAppInstanceGroupIdWithOptions(request, runtime);
2575
2575
  }
2576
2576
  /**
2577
- * Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
2577
+ * Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
2578
2578
  *
2579
2579
  * @remarks
2580
2580
  * ## Operation description
2581
- * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
2582
- * Scope of returned results:
2583
- * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
2584
- * - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
2585
- * - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
2581
+ * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
2582
+ * Return scope:
2583
+ * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
2584
+ * - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
2585
+ * - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
2586
2586
  * ## Before you begin
2587
- * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2588
- * ## Parameter description
2589
- * - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
2590
- * - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
2591
- * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2592
- * - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
2587
+ * - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
2588
+ * ## Metric description
2589
+ * - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
2590
+ * - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
2591
+ * - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
2592
+ * - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
2593
2593
  * ## Call sequence
2594
2594
  * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2595
- * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
2596
- * 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
2595
+ * 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
2596
+ * 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
2597
2597
  *
2598
2598
  * @param request - ListAuthorizedAppInstanceGroupByUserRequest
2599
2599
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2617,6 +2617,9 @@ class Client extends openapi_core_1.default {
2617
2617
  if (!$dara.isNull(request.endUserId)) {
2618
2618
  query["EndUserId"] = request.endUserId;
2619
2619
  }
2620
+ if (!$dara.isNull(request.officeSiteId)) {
2621
+ query["OfficeSiteId"] = request.officeSiteId;
2622
+ }
2620
2623
  if (!$dara.isNull(request.pageNumber)) {
2621
2624
  query["PageNumber"] = request.pageNumber;
2622
2625
  }
@@ -2643,26 +2646,26 @@ class Client extends openapi_core_1.default {
2643
2646
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAppInstanceGroupByUserResponse({}));
2644
2647
  }
2645
2648
  /**
2646
- * Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
2649
+ * Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
2647
2650
  *
2648
2651
  * @remarks
2649
2652
  * ## Operation description
2650
- * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
2651
- * Scope of returned results:
2652
- * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
2653
- * - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
2654
- * - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
2653
+ * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
2654
+ * Return scope:
2655
+ * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
2656
+ * - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
2657
+ * - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
2655
2658
  * ## Before you begin
2656
- * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2657
- * ## Parameter description
2658
- * - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
2659
- * - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
2660
- * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2661
- * - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
2659
+ * - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
2660
+ * ## Metric description
2661
+ * - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
2662
+ * - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
2663
+ * - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
2664
+ * - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
2662
2665
  * ## Call sequence
2663
2666
  * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2664
- * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
2665
- * 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
2667
+ * 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
2668
+ * 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
2666
2669
  *
2667
2670
  * @param request - ListAuthorizedAppInstanceGroupByUserRequest
2668
2671
  * @returns ListAuthorizedAppInstanceGroupByUserResponse
@@ -3905,23 +3908,23 @@ class Client extends openapi_core_1.default {
3905
3908
  return await this.listPersistentAppInstancesWithOptions(request, runtime);
3906
3909
  }
3907
3910
  /**
3908
- * Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging. Supports filtering by delivery group, application, and user authorization status.
3911
+ * Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
3909
3912
  *
3910
3913
  * @remarks
3911
- * ## Before you begin
3912
- * When calling this operation with a RAM user or STS credential, the `appstreaming:ListPublishedAppInstanceGroup` permission is required.
3913
- * A delivery group must be in the published state and have deployed applications in its image to appear in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
3914
+ * ## Prerequisites
3915
+ * When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
3916
+ * Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
3914
3917
  * ## Query and pagination
3915
- * - **You must explicitly pass in `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`.
3916
- * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can pass them individually or in combination. When multiple conditions are specified, all conditions must be met simultaneously. When both `AppId` and `AppName` are specified, the same application must satisfy both conditions.
3917
- * - If an optional filter parameter is not specified or is set to an empty string, that condition is not applied. Query results are sorted by delivery group creation time from newest to oldest. A delivery group is not returned multiple times even if it contains multiple matching applications.
3918
- * - `ExcludeUserId` excludes delivery groups in which all applications have been directly authorized to the specified user. It cannot be used to determine whether the user has no access permissions at all.
3919
- * - `AppId` and `AppName` only filter delivery groups. **They do not restrict the returned `Apps` list to only the matched applications.**
3920
- * ## Invoke sequence
3921
- * 1. Invoke a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
3922
- * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the result range, the list may also be empty, but the total count still represents the total number of matching delivery groups.
3923
- * 3. To retrieve details of a single delivery group, pass the full `AppInstanceGroupId` from the response and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
3924
- * The masked identifiers in the examples are for format demonstration purposes. Replace them with your actual identifiers when invoking the operation.
3918
+ * - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
3919
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
3920
+ * - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
3921
+ * - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
3922
+ * - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
3923
+ * ## Invocation sequence
3924
+ * 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
3925
+ * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
3926
+ * 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
3927
+ * The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
3925
3928
  *
3926
3929
  * @param request - ListPublishedAppInstanceGroupRequest
3927
3930
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3945,6 +3948,9 @@ class Client extends openapi_core_1.default {
3945
3948
  if (!$dara.isNull(request.excludeUserId)) {
3946
3949
  query["ExcludeUserId"] = request.excludeUserId;
3947
3950
  }
3951
+ if (!$dara.isNull(request.officeSiteId)) {
3952
+ query["OfficeSiteId"] = request.officeSiteId;
3953
+ }
3948
3954
  if (!$dara.isNull(request.pageNumber)) {
3949
3955
  query["PageNumber"] = request.pageNumber;
3950
3956
  }
@@ -3971,23 +3977,23 @@ class Client extends openapi_core_1.default {
3971
3977
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPublishedAppInstanceGroupResponse({}));
3972
3978
  }
3973
3979
  /**
3974
- * Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging. Supports filtering by delivery group, application, and user authorization status.
3980
+ * Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
3975
3981
  *
3976
3982
  * @remarks
3977
- * ## Before you begin
3978
- * When calling this operation with a RAM user or STS credential, the `appstreaming:ListPublishedAppInstanceGroup` permission is required.
3979
- * A delivery group must be in the published state and have deployed applications in its image to appear in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
3983
+ * ## Prerequisites
3984
+ * When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
3985
+ * Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
3980
3986
  * ## Query and pagination
3981
- * - **You must explicitly pass in `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`.
3982
- * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can pass them individually or in combination. When multiple conditions are specified, all conditions must be met simultaneously. When both `AppId` and `AppName` are specified, the same application must satisfy both conditions.
3983
- * - If an optional filter parameter is not specified or is set to an empty string, that condition is not applied. Query results are sorted by delivery group creation time from newest to oldest. A delivery group is not returned multiple times even if it contains multiple matching applications.
3984
- * - `ExcludeUserId` excludes delivery groups in which all applications have been directly authorized to the specified user. It cannot be used to determine whether the user has no access permissions at all.
3985
- * - `AppId` and `AppName` only filter delivery groups. **They do not restrict the returned `Apps` list to only the matched applications.**
3986
- * ## Invoke sequence
3987
- * 1. Invoke a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
3988
- * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the result range, the list may also be empty, but the total count still represents the total number of matching delivery groups.
3989
- * 3. To retrieve details of a single delivery group, pass the full `AppInstanceGroupId` from the response and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
3990
- * The masked identifiers in the examples are for format demonstration purposes. Replace them with your actual identifiers when invoking the operation.
3987
+ * - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
3988
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
3989
+ * - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
3990
+ * - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
3991
+ * - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
3992
+ * ## Invocation sequence
3993
+ * 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
3994
+ * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
3995
+ * 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
3996
+ * The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
3991
3997
  *
3992
3998
  * @param request - ListPublishedAppInstanceGroupRequest
3993
3999
  * @returns ListPublishedAppInstanceGroupResponse
@@ -4887,6 +4893,8 @@ class Client extends openapi_core_1.default {
4887
4893
  return await this.modifyNodePoolAttributeWithOptions(request, runtime);
4888
4894
  }
4889
4895
  /**
4896
+ * Shares an image with other WUYING users or cancels the sharing of a shared image.
4897
+ *
4890
4898
  * @param request - ModifyShareImageRequest
4891
4899
  * @param runtime - runtime options for this request RuntimeOptions
4892
4900
  * @returns ModifyShareImageResponse
@@ -4926,6 +4934,8 @@ class Client extends openapi_core_1.default {
4926
4934
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyShareImageResponse({}));
4927
4935
  }
4928
4936
  /**
4937
+ * Shares an image with other WUYING users or cancels the sharing of a shared image.
4938
+ *
4929
4939
  * @param request - ModifyShareImageRequest
4930
4940
  * @returns ModifyShareImageResponse
4931
4941
  */