@alicloud/ecs20140526 7.8.1 → 7.8.2

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/client.js CHANGED
@@ -3285,6 +3285,9 @@ class Client extends openapi_core_1.default {
3285
3285
  async createDeploymentSetWithOptions(request, runtime) {
3286
3286
  request.validate();
3287
3287
  let query = {};
3288
+ if (!$dara.isNull(request.affinity)) {
3289
+ query["Affinity"] = request.affinity;
3290
+ }
3288
3291
  if (!$dara.isNull(request.clientToken)) {
3289
3292
  query["ClientToken"] = request.clientToken;
3290
3293
  }
@@ -21940,6 +21943,9 @@ class Client extends openapi_core_1.default {
21940
21943
  async modifyDeploymentSetAttributeWithOptions(request, runtime) {
21941
21944
  request.validate();
21942
21945
  let query = {};
21946
+ if (!$dara.isNull(request.affinity)) {
21947
+ query["Affinity"] = request.affinity;
21948
+ }
21943
21949
  if (!$dara.isNull(request.deploymentSetId)) {
21944
21950
  query["DeploymentSetId"] = request.deploymentSetId;
21945
21951
  }