@aws-sdk/client-vpc-lattice 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.
@@ -40,7 +40,7 @@ const se_CreateAccessLogSubscriptionCommand = async (input, context) => {
40
40
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/accesslogsubscriptions";
41
41
  let body;
42
42
  body = JSON.stringify((0, smithy_client_1.take)(input, {
43
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
43
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
44
44
  destinationArn: [],
45
45
  resourceIdentifier: [],
46
46
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -65,7 +65,7 @@ const se_CreateListenerCommand = async (input, context) => {
65
65
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
66
66
  let body;
67
67
  body = JSON.stringify((0, smithy_client_1.take)(input, {
68
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
68
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
69
69
  defaultAction: (_) => (0, smithy_client_1._json)(_),
70
70
  name: [],
71
71
  port: [],
@@ -95,7 +95,7 @@ const se_CreateRuleCommand = async (input, context) => {
95
95
  let body;
96
96
  body = JSON.stringify((0, smithy_client_1.take)(input, {
97
97
  action: (_) => (0, smithy_client_1._json)(_),
98
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
98
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
99
99
  match: (_) => (0, smithy_client_1._json)(_),
100
100
  name: [],
101
101
  priority: [],
@@ -122,7 +122,7 @@ const se_CreateServiceCommand = async (input, context) => {
122
122
  body = JSON.stringify((0, smithy_client_1.take)(input, {
123
123
  authType: [],
124
124
  certificateArn: [],
125
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
125
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
126
126
  customDomainName: [],
127
127
  name: [],
128
128
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -147,7 +147,7 @@ const se_CreateServiceNetworkCommand = async (input, context) => {
147
147
  let body;
148
148
  body = JSON.stringify((0, smithy_client_1.take)(input, {
149
149
  authType: [],
150
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
150
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
151
151
  name: [],
152
152
  tags: (_) => (0, smithy_client_1._json)(_),
153
153
  }));
@@ -170,7 +170,7 @@ const se_CreateServiceNetworkServiceAssociationCommand = async (input, context)
170
170
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworkserviceassociations";
171
171
  let body;
172
172
  body = JSON.stringify((0, smithy_client_1.take)(input, {
173
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
173
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
174
174
  serviceIdentifier: [],
175
175
  serviceNetworkIdentifier: [],
176
176
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -194,7 +194,7 @@ const se_CreateServiceNetworkVpcAssociationCommand = async (input, context) => {
194
194
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/servicenetworkvpcassociations";
195
195
  let body;
196
196
  body = JSON.stringify((0, smithy_client_1.take)(input, {
197
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
197
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
198
198
  securityGroupIds: (_) => (0, smithy_client_1._json)(_),
199
199
  serviceNetworkIdentifier: [],
200
200
  tags: (_) => (0, smithy_client_1._json)(_),
@@ -219,7 +219,7 @@ const se_CreateTargetGroupCommand = async (input, context) => {
219
219
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/targetgroups";
220
220
  let body;
221
221
  body = JSON.stringify((0, smithy_client_1.take)(input, {
222
- clientToken: (_) => _ ?? (0, uuid_1.v4)(),
222
+ clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
223
223
  config: (_) => (0, smithy_client_1._json)(_),
224
224
  name: [],
225
225
  tags: (_) => (0, smithy_client_1._json)(_),