@aws-sdk/client-supplychain 3.758.0 → 3.774.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +35 -35
  2. package/package.json +7 -7
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  ConfigurationJobStatus: () => ConfigurationJobStatus,
26
26
  ConflictException: () => ConflictException,
@@ -67,7 +67,7 @@ __export(src_exports, {
67
67
  paginateListDataLakeDatasets: () => paginateListDataLakeDatasets,
68
68
  paginateListInstances: () => paginateListInstances
69
69
  });
70
- module.exports = __toCommonJS(src_exports);
70
+ module.exports = __toCommonJS(index_exports);
71
71
 
72
72
  // src/SupplyChainClient.ts
73
73
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -194,9 +194,9 @@ var SupplyChainClient = class extends import_smithy_client.Client {
194
194
  this.middlewareStack.use(
195
195
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
196
196
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSupplyChainHttpAuthSchemeParametersProvider,
197
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
197
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
198
198
  "aws.auth#sigv4": config.credentials
199
- })
199
+ }), "identityProviderConfigProvider")
200
200
  })
201
201
  );
202
202
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -467,10 +467,10 @@ var se_CreateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, c
467
467
  let body;
468
468
  body = JSON.stringify(
469
469
  (0, import_smithy_client.take)(input, {
470
- sources: (_) => (0, import_smithy_client._json)(_),
471
- tags: (_) => (0, import_smithy_client._json)(_),
472
- target: (_) => (0, import_smithy_client._json)(_),
473
- transformation: (_) => (0, import_smithy_client._json)(_)
470
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
471
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
472
+ target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "target"),
473
+ transformation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "transformation")
474
474
  })
475
475
  );
476
476
  b.m("PUT").h(headers).b(body);
@@ -489,8 +489,8 @@ var se_CreateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (input, conte
489
489
  body = JSON.stringify(
490
490
  (0, import_smithy_client.take)(input, {
491
491
  description: [],
492
- schema: (_) => (0, import_smithy_client._json)(_),
493
- tags: (_) => (0, import_smithy_client._json)(_)
492
+ schema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "schema"),
493
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
494
494
  })
495
495
  );
496
496
  b.m("PUT").h(headers).b(body);
@@ -509,7 +509,7 @@ var se_CreateInstanceCommand = /* @__PURE__ */ __name(async (input, context) =>
509
509
  instanceDescription: [],
510
510
  instanceName: [],
511
511
  kmsKeyArn: [],
512
- tags: (_) => (0, import_smithy_client._json)(_),
512
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
513
513
  webAppDnsDomain: []
514
514
  })
515
515
  );
@@ -649,7 +649,7 @@ var se_SendDataIntegrationEventCommand = /* @__PURE__ */ __name(async (input, co
649
649
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
650
650
  data: [],
651
651
  eventGroupId: [],
652
- eventTimestamp: (_) => _.getTime() / 1e3,
652
+ eventTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "eventTimestamp"),
653
653
  eventType: []
654
654
  })
655
655
  );
@@ -666,7 +666,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
666
666
  let body;
667
667
  body = JSON.stringify(
668
668
  (0, import_smithy_client.take)(input, {
669
- tags: (_) => (0, import_smithy_client._json)(_)
669
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
670
670
  })
671
671
  );
672
672
  b.m("POST").h(headers).b(body);
@@ -695,9 +695,9 @@ var se_UpdateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (input, c
695
695
  let body;
696
696
  body = JSON.stringify(
697
697
  (0, import_smithy_client.take)(input, {
698
- sources: (_) => (0, import_smithy_client._json)(_),
699
- target: (_) => (0, import_smithy_client._json)(_),
700
- transformation: (_) => (0, import_smithy_client._json)(_)
698
+ sources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sources"),
699
+ target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "target"),
700
+ transformation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "transformation")
701
701
  })
702
702
  );
703
703
  b.m("PATCH").h(headers).b(body);
@@ -776,7 +776,7 @@ var de_CreateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, cont
776
776
  });
777
777
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
778
778
  const doc = (0, import_smithy_client.take)(data, {
779
- dataset: (_) => de_DataLakeDataset(_, context)
779
+ dataset: /* @__PURE__ */ __name((_) => de_DataLakeDataset(_, context), "dataset")
780
780
  });
781
781
  Object.assign(contents, doc);
782
782
  return contents;
@@ -790,7 +790,7 @@ var de_CreateInstanceCommand = /* @__PURE__ */ __name(async (output, context) =>
790
790
  });
791
791
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
792
792
  const doc = (0, import_smithy_client.take)(data, {
793
- instance: (_) => de_Instance(_, context)
793
+ instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
794
794
  });
795
795
  Object.assign(contents, doc);
796
796
  return contents;
@@ -835,7 +835,7 @@ var de_DeleteInstanceCommand = /* @__PURE__ */ __name(async (output, context) =>
835
835
  });
836
836
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
837
837
  const doc = (0, import_smithy_client.take)(data, {
838
- instance: (_) => de_Instance(_, context)
838
+ instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
839
839
  });
840
840
  Object.assign(contents, doc);
841
841
  return contents;
@@ -863,7 +863,7 @@ var de_GetDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (output, con
863
863
  });
864
864
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
865
865
  const doc = (0, import_smithy_client.take)(data, {
866
- flow: (_) => de_DataIntegrationFlow(_, context)
866
+ flow: /* @__PURE__ */ __name((_) => de_DataIntegrationFlow(_, context), "flow")
867
867
  });
868
868
  Object.assign(contents, doc);
869
869
  return contents;
@@ -877,7 +877,7 @@ var de_GetDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, context
877
877
  });
878
878
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
879
879
  const doc = (0, import_smithy_client.take)(data, {
880
- dataset: (_) => de_DataLakeDataset(_, context)
880
+ dataset: /* @__PURE__ */ __name((_) => de_DataLakeDataset(_, context), "dataset")
881
881
  });
882
882
  Object.assign(contents, doc);
883
883
  return contents;
@@ -891,7 +891,7 @@ var de_GetInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
891
891
  });
892
892
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
893
893
  const doc = (0, import_smithy_client.take)(data, {
894
- instance: (_) => de_Instance(_, context)
894
+ instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
895
895
  });
896
896
  Object.assign(contents, doc);
897
897
  return contents;
@@ -905,7 +905,7 @@ var de_ListDataIntegrationFlowsCommand = /* @__PURE__ */ __name(async (output, c
905
905
  });
906
906
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
907
907
  const doc = (0, import_smithy_client.take)(data, {
908
- flows: (_) => de_DataIntegrationFlowList(_, context),
908
+ flows: /* @__PURE__ */ __name((_) => de_DataIntegrationFlowList(_, context), "flows"),
909
909
  nextToken: import_smithy_client.expectString
910
910
  });
911
911
  Object.assign(contents, doc);
@@ -920,7 +920,7 @@ var de_ListDataLakeDatasetsCommand = /* @__PURE__ */ __name(async (output, conte
920
920
  });
921
921
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
922
922
  const doc = (0, import_smithy_client.take)(data, {
923
- datasets: (_) => de_DataLakeDatasetList(_, context),
923
+ datasets: /* @__PURE__ */ __name((_) => de_DataLakeDatasetList(_, context), "datasets"),
924
924
  nextToken: import_smithy_client.expectString
925
925
  });
926
926
  Object.assign(contents, doc);
@@ -935,7 +935,7 @@ var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) =>
935
935
  });
936
936
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
937
937
  const doc = (0, import_smithy_client.take)(data, {
938
- instances: (_) => de_InstanceList(_, context),
938
+ instances: /* @__PURE__ */ __name((_) => de_InstanceList(_, context), "instances"),
939
939
  nextToken: import_smithy_client.expectString
940
940
  });
941
941
  Object.assign(contents, doc);
@@ -998,7 +998,7 @@ var de_UpdateDataIntegrationFlowCommand = /* @__PURE__ */ __name(async (output,
998
998
  });
999
999
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1000
1000
  const doc = (0, import_smithy_client.take)(data, {
1001
- flow: (_) => de_DataIntegrationFlow(_, context)
1001
+ flow: /* @__PURE__ */ __name((_) => de_DataIntegrationFlow(_, context), "flow")
1002
1002
  });
1003
1003
  Object.assign(contents, doc);
1004
1004
  return contents;
@@ -1012,7 +1012,7 @@ var de_UpdateDataLakeDatasetCommand = /* @__PURE__ */ __name(async (output, cont
1012
1012
  });
1013
1013
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1014
1014
  const doc = (0, import_smithy_client.take)(data, {
1015
- dataset: (_) => de_DataLakeDataset(_, context)
1015
+ dataset: /* @__PURE__ */ __name((_) => de_DataLakeDataset(_, context), "dataset")
1016
1016
  });
1017
1017
  Object.assign(contents, doc);
1018
1018
  return contents;
@@ -1026,7 +1026,7 @@ var de_UpdateInstanceCommand = /* @__PURE__ */ __name(async (output, context) =>
1026
1026
  });
1027
1027
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1028
1028
  const doc = (0, import_smithy_client.take)(data, {
1029
- instance: (_) => de_Instance(_, context)
1029
+ instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "instance")
1030
1030
  });
1031
1031
  Object.assign(contents, doc);
1032
1032
  return contents;
@@ -1162,9 +1162,9 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
1162
1162
  }, "de_ValidationExceptionRes");
1163
1163
  var de_DataIntegrationFlow = /* @__PURE__ */ __name((output, context) => {
1164
1164
  return (0, import_smithy_client.take)(output, {
1165
- createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1165
+ createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1166
1166
  instanceId: import_smithy_client.expectString,
1167
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1167
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1168
1168
  name: import_smithy_client.expectString,
1169
1169
  sources: import_smithy_client._json,
1170
1170
  target: import_smithy_client._json,
@@ -1180,10 +1180,10 @@ var de_DataIntegrationFlowList = /* @__PURE__ */ __name((output, context) => {
1180
1180
  var de_DataLakeDataset = /* @__PURE__ */ __name((output, context) => {
1181
1181
  return (0, import_smithy_client.take)(output, {
1182
1182
  arn: import_smithy_client.expectString,
1183
- createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1183
+ createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1184
1184
  description: import_smithy_client.expectString,
1185
1185
  instanceId: import_smithy_client.expectString,
1186
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1186
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1187
1187
  name: import_smithy_client.expectString,
1188
1188
  namespace: import_smithy_client.expectString,
1189
1189
  schema: import_smithy_client._json
@@ -1198,13 +1198,13 @@ var de_DataLakeDatasetList = /* @__PURE__ */ __name((output, context) => {
1198
1198
  var de_Instance = /* @__PURE__ */ __name((output, context) => {
1199
1199
  return (0, import_smithy_client.take)(output, {
1200
1200
  awsAccountId: import_smithy_client.expectString,
1201
- createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1201
+ createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdTime"),
1202
1202
  errorMessage: import_smithy_client.expectString,
1203
1203
  instanceDescription: import_smithy_client.expectString,
1204
1204
  instanceId: import_smithy_client.expectString,
1205
1205
  instanceName: import_smithy_client.expectString,
1206
1206
  kmsKeyArn: import_smithy_client.expectString,
1207
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1207
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedTime"),
1208
1208
  state: import_smithy_client.expectString,
1209
1209
  versionNumber: import_smithy_client.limitedParseDouble,
1210
1210
  webAppDnsDomain: import_smithy_client.expectString
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-supplychain",
3
3
  "description": "AWS SDK for JavaScript Supplychain Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.774.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-supplychain",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",