@aws-sdk/client-app-mesh 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.
@@ -21,7 +21,7 @@ const se_CreateGatewayRouteCommand = async (input, context) => {
21
21
  });
22
22
  let body;
23
23
  body = JSON.stringify((0, smithy_client_1.take)(input, {
24
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
24
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
25
25
  gatewayRouteName: [],
26
26
  spec: (_) => (0, smithy_client_1._json)(_),
27
27
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -46,7 +46,7 @@ const se_CreateMeshCommand = async (input, context) => {
46
46
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20190125/meshes";
47
47
  let body;
48
48
  body = JSON.stringify((0, smithy_client_1.take)(input, {
49
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
49
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
50
50
  meshName: [],
51
51
  spec: (_) => (0, smithy_client_1._json)(_),
52
52
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -76,7 +76,7 @@ const se_CreateRouteCommand = async (input, context) => {
76
76
  });
77
77
  let body;
78
78
  body = JSON.stringify((0, smithy_client_1.take)(input, {
79
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
79
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
80
80
  routeName: [],
81
81
  spec: (_) => (0, smithy_client_1._json)(_),
82
82
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -106,7 +106,7 @@ const se_CreateVirtualGatewayCommand = async (input, context) => {
106
106
  });
107
107
  let body;
108
108
  body = JSON.stringify((0, smithy_client_1.take)(input, {
109
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
109
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
110
110
  spec: (_) => (0, smithy_client_1._json)(_),
111
111
  tags: (_) => (0, smithy_client_1._json)(_),
112
112
  virtualGatewayName: [],
@@ -135,7 +135,7 @@ const se_CreateVirtualNodeCommand = async (input, context) => {
135
135
  });
136
136
  let body;
137
137
  body = JSON.stringify((0, smithy_client_1.take)(input, {
138
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
138
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
139
139
  spec: (_) => (0, smithy_client_1._json)(_),
140
140
  tags: (_) => (0, smithy_client_1._json)(_),
141
141
  virtualNodeName: [],
@@ -165,7 +165,7 @@ const se_CreateVirtualRouterCommand = async (input, context) => {
165
165
  });
166
166
  let body;
167
167
  body = JSON.stringify((0, smithy_client_1.take)(input, {
168
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
168
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
169
169
  spec: (_) => (0, smithy_client_1._json)(_),
170
170
  tags: (_) => (0, smithy_client_1._json)(_),
171
171
  virtualRouterName: [],
@@ -195,7 +195,7 @@ const se_CreateVirtualServiceCommand = async (input, context) => {
195
195
  });
196
196
  let body;
197
197
  body = JSON.stringify((0, smithy_client_1.take)(input, {
198
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
198
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
199
199
  spec: (_) => (0, smithy_client_1._json)(_),
200
200
  tags: (_) => (0, smithy_client_1._json)(_),
201
201
  virtualServiceName: [],
@@ -783,7 +783,7 @@ const se_UpdateGatewayRouteCommand = async (input, context) => {
783
783
  });
784
784
  let body;
785
785
  body = JSON.stringify((0, smithy_client_1.take)(input, {
786
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
786
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
787
787
  spec: (_) => (0, smithy_client_1._json)(_),
788
788
  }));
789
789
  return new protocol_http_1.HttpRequest({
@@ -807,7 +807,7 @@ const se_UpdateMeshCommand = async (input, context) => {
807
807
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "meshName", () => input.meshName, "{meshName}", false);
808
808
  let body;
809
809
  body = JSON.stringify((0, smithy_client_1.take)(input, {
810
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
810
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
811
811
  spec: (_) => (0, smithy_client_1._json)(_),
812
812
  }));
813
813
  return new protocol_http_1.HttpRequest({
@@ -836,7 +836,7 @@ const se_UpdateRouteCommand = async (input, context) => {
836
836
  });
837
837
  let body;
838
838
  body = JSON.stringify((0, smithy_client_1.take)(input, {
839
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
839
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
840
840
  spec: (_) => (0, smithy_client_1._json)(_),
841
841
  }));
842
842
  return new protocol_http_1.HttpRequest({
@@ -865,7 +865,7 @@ const se_UpdateVirtualGatewayCommand = async (input, context) => {
865
865
  });
866
866
  let body;
867
867
  body = JSON.stringify((0, smithy_client_1.take)(input, {
868
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
868
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
869
869
  spec: (_) => (0, smithy_client_1._json)(_),
870
870
  }));
871
871
  return new protocol_http_1.HttpRequest({
@@ -894,7 +894,7 @@ const se_UpdateVirtualNodeCommand = async (input, context) => {
894
894
  });
895
895
  let body;
896
896
  body = JSON.stringify((0, smithy_client_1.take)(input, {
897
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
897
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
898
898
  spec: (_) => (0, smithy_client_1._json)(_),
899
899
  }));
900
900
  return new protocol_http_1.HttpRequest({
@@ -923,7 +923,7 @@ const se_UpdateVirtualRouterCommand = async (input, context) => {
923
923
  });
924
924
  let body;
925
925
  body = JSON.stringify((0, smithy_client_1.take)(input, {
926
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
926
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
927
927
  spec: (_) => (0, smithy_client_1._json)(_),
928
928
  }));
929
929
  return new protocol_http_1.HttpRequest({
@@ -952,7 +952,7 @@ const se_UpdateVirtualServiceCommand = async (input, context) => {
952
952
  });
953
953
  let body;
954
954
  body = JSON.stringify((0, smithy_client_1.take)(input, {
955
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
955
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
956
956
  spec: (_) => (0, smithy_client_1._json)(_),
957
957
  }));
958
958
  return new protocol_http_1.HttpRequest({