@aws-sdk/client-wellarchitected 3.315.0 → 3.316.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.
@@ -38,7 +38,7 @@ const se_CreateLensShareCommand = async (input, context) => {
38
38
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LensAlias", () => input.LensAlias, "{LensAlias}", false);
39
39
  let body;
40
40
  body = JSON.stringify((0, smithy_client_1.take)(input, {
41
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
41
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
42
42
  SharedWith: [],
43
43
  }));
44
44
  return new protocol_http_1.HttpRequest({
@@ -61,7 +61,7 @@ const se_CreateLensVersionCommand = async (input, context) => {
61
61
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LensAlias", () => input.LensAlias, "{LensAlias}", false);
62
62
  let body;
63
63
  body = JSON.stringify((0, smithy_client_1.take)(input, {
64
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
64
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
65
65
  IsMajorVersion: [],
66
66
  LensVersion: [],
67
67
  }));
@@ -85,7 +85,7 @@ const se_CreateMilestoneCommand = async (input, context) => {
85
85
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
86
86
  let body;
87
87
  body = JSON.stringify((0, smithy_client_1.take)(input, {
88
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
88
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
89
89
  MilestoneName: [],
90
90
  }));
91
91
  return new protocol_http_1.HttpRequest({
@@ -111,7 +111,7 @@ const se_CreateWorkloadCommand = async (input, context) => {
111
111
  Applications: (_) => (0, smithy_client_1._json)(_),
112
112
  ArchitecturalDesign: [],
113
113
  AwsRegions: (_) => (0, smithy_client_1._json)(_),
114
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
114
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
115
115
  Description: [],
116
116
  DiscoveryConfig: (_) => (0, smithy_client_1._json)(_),
117
117
  Environment: [],
@@ -145,7 +145,7 @@ const se_CreateWorkloadShareCommand = async (input, context) => {
145
145
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
146
146
  let body;
147
147
  body = JSON.stringify((0, smithy_client_1.take)(input, {
148
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
148
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
149
149
  PermissionType: [],
150
150
  SharedWith: [],
151
151
  }));
@@ -474,7 +474,7 @@ const se_ImportLensCommand = async (input, context) => {
474
474
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/importLens";
475
475
  let body;
476
476
  body = JSON.stringify((0, smithy_client_1.take)(input, {
477
- ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
477
+ ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
478
478
  JSONString: [],
479
479
  LensAlias: [],
480
480
  Tags: (_) => (0, smithy_client_1._json)(_),