@aws-sdk/client-workspaces-web 3.315.0 → 3.319.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.
@@ -127,7 +127,7 @@ const se_CreateBrowserSettingsCommand = async (input, context) => {
127
127
  body = JSON.stringify((0, smithy_client_1.take)(input, {
128
128
  additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
129
129
  browserPolicy: [],
130
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
130
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
131
131
  customerManagedKey: [],
132
132
  tags: (_) => (0, smithy_client_1._json)(_),
133
133
  }));
@@ -150,7 +150,7 @@ const se_CreateIdentityProviderCommand = async (input, context) => {
150
150
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/identityProviders";
151
151
  let body;
152
152
  body = JSON.stringify((0, smithy_client_1.take)(input, {
153
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
153
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
154
154
  identityProviderDetails: (_) => (0, smithy_client_1._json)(_),
155
155
  identityProviderName: [],
156
156
  identityProviderType: [],
@@ -175,7 +175,7 @@ const se_CreateNetworkSettingsCommand = async (input, context) => {
175
175
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networkSettings";
176
176
  let body;
177
177
  body = JSON.stringify((0, smithy_client_1.take)(input, {
178
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
178
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
179
179
  securityGroupIds: (_) => (0, smithy_client_1._json)(_),
180
180
  subnetIds: (_) => (0, smithy_client_1._json)(_),
181
181
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -202,7 +202,7 @@ const se_CreatePortalCommand = async (input, context) => {
202
202
  body = JSON.stringify((0, smithy_client_1.take)(input, {
203
203
  additionalEncryptionContext: (_) => (0, smithy_client_1._json)(_),
204
204
  authenticationType: [],
205
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
205
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
206
206
  customerManagedKey: [],
207
207
  displayName: [],
208
208
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -227,7 +227,7 @@ const se_CreateTrustStoreCommand = async (input, context) => {
227
227
  let body;
228
228
  body = JSON.stringify((0, smithy_client_1.take)(input, {
229
229
  certificateList: (_) => se_CertificateList(_, context),
230
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
230
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
231
231
  tags: (_) => (0, smithy_client_1._json)(_),
232
232
  }));
233
233
  return new protocol_http_1.HttpRequest({
@@ -249,7 +249,7 @@ const se_CreateUserAccessLoggingSettingsCommand = async (input, context) => {
249
249
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userAccessLoggingSettings";
250
250
  let body;
251
251
  body = JSON.stringify((0, smithy_client_1.take)(input, {
252
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
252
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
253
253
  kinesisStreamArn: [],
254
254
  tags: (_) => (0, smithy_client_1._json)(_),
255
255
  }));
@@ -272,7 +272,7 @@ const se_CreateUserSettingsCommand = async (input, context) => {
272
272
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userSettings";
273
273
  let body;
274
274
  body = JSON.stringify((0, smithy_client_1.take)(input, {
275
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
275
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
276
276
  copyAllowed: [],
277
277
  disconnectTimeoutInMinutes: [],
278
278
  downloadAllowed: [],
@@ -854,7 +854,7 @@ const se_TagResourceCommand = async (input, context) => {
854
854
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn+}", true);
855
855
  let body;
856
856
  body = JSON.stringify((0, smithy_client_1.take)(input, {
857
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
857
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
858
858
  tags: (_) => (0, smithy_client_1._json)(_),
859
859
  }));
860
860
  return new protocol_http_1.HttpRequest({
@@ -902,7 +902,7 @@ const se_UpdateBrowserSettingsCommand = async (input, context) => {
902
902
  let body;
903
903
  body = JSON.stringify((0, smithy_client_1.take)(input, {
904
904
  browserPolicy: [],
905
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
905
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
906
906
  }));
907
907
  return new protocol_http_1.HttpRequest({
908
908
  protocol,
@@ -924,7 +924,7 @@ const se_UpdateIdentityProviderCommand = async (input, context) => {
924
924
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
925
925
  let body;
926
926
  body = JSON.stringify((0, smithy_client_1.take)(input, {
927
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
927
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
928
928
  identityProviderDetails: (_) => (0, smithy_client_1._json)(_),
929
929
  identityProviderName: [],
930
930
  identityProviderType: [],
@@ -949,7 +949,7 @@ const se_UpdateNetworkSettingsCommand = async (input, context) => {
949
949
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
950
950
  let body;
951
951
  body = JSON.stringify((0, smithy_client_1.take)(input, {
952
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
952
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
953
953
  securityGroupIds: (_) => (0, smithy_client_1._json)(_),
954
954
  subnetIds: (_) => (0, smithy_client_1._json)(_),
955
955
  vpcId: [],
@@ -999,7 +999,7 @@ const se_UpdateTrustStoreCommand = async (input, context) => {
999
999
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1000
1000
  certificatesToAdd: (_) => se_CertificateList(_, context),
1001
1001
  certificatesToDelete: (_) => (0, smithy_client_1._json)(_),
1002
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
1002
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1003
1003
  }));
1004
1004
  return new protocol_http_1.HttpRequest({
1005
1005
  protocol,
@@ -1022,7 +1022,7 @@ const se_UpdateUserAccessLoggingSettingsCommand = async (input, context) => {
1022
1022
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
1023
1023
  let body;
1024
1024
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1025
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
1025
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1026
1026
  kinesisStreamArn: [],
1027
1027
  }));
1028
1028
  return new protocol_http_1.HttpRequest({
@@ -1045,7 +1045,7 @@ const se_UpdateUserSettingsCommand = async (input, context) => {
1045
1045
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
1046
1046
  let body;
1047
1047
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1048
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
1048
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
1049
1049
  copyAllowed: [],
1050
1050
  disconnectTimeoutInMinutes: [],
1051
1051
  downloadAllowed: [],