@aws-sdk/client-resource-explorer-2 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 +34 -34
  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
  AWSServiceAccessStatus: () => AWSServiceAccessStatus,
25
25
  AccessDeniedException: () => AccessDeniedException,
26
26
  AssociateDefaultViewCommand: () => AssociateDefaultViewCommand,
@@ -85,7 +85,7 @@ __export(src_exports, {
85
85
  paginateListViews: () => paginateListViews,
86
86
  paginateSearch: () => paginateSearch
87
87
  });
88
- module.exports = __toCommonJS(src_exports);
88
+ module.exports = __toCommonJS(index_exports);
89
89
 
90
90
  // src/ResourceExplorer2Client.ts
91
91
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -212,9 +212,9 @@ var ResourceExplorer2Client = class extends import_smithy_client.Client {
212
212
  this.middlewareStack.use(
213
213
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
214
214
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultResourceExplorer2HttpAuthSchemeParametersProvider,
215
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
215
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
216
216
  "aws.auth#sigv4": config.credentials
217
- })
217
+ }), "identityProviderConfigProvider")
218
218
  })
219
219
  );
220
220
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -571,7 +571,7 @@ var se_BatchGetViewCommand = /* @__PURE__ */ __name(async (input, context) => {
571
571
  let body;
572
572
  body = JSON.stringify(
573
573
  (0, import_smithy_client.take)(input, {
574
- ViewArns: (_) => (0, import_smithy_client._json)(_)
574
+ ViewArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ViewArns")
575
575
  })
576
576
  );
577
577
  b.m("POST").h(headers).b(body);
@@ -587,7 +587,7 @@ var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
587
587
  body = JSON.stringify(
588
588
  (0, import_smithy_client.take)(input, {
589
589
  ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
590
- Tags: (_) => (0, import_smithy_client._json)(_)
590
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
591
591
  })
592
592
  );
593
593
  b.m("POST").h(headers).b(body);
@@ -603,10 +603,10 @@ var se_CreateViewCommand = /* @__PURE__ */ __name(async (input, context) => {
603
603
  body = JSON.stringify(
604
604
  (0, import_smithy_client.take)(input, {
605
605
  ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
606
- Filters: (_) => (0, import_smithy_client._json)(_),
607
- IncludedProperties: (_) => (0, import_smithy_client._json)(_),
606
+ Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
607
+ IncludedProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncludedProperties"),
608
608
  Scope: [],
609
- Tags: (_) => (0, import_smithy_client._json)(_),
609
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
610
610
  ViewName: []
611
611
  })
612
612
  );
@@ -716,7 +716,7 @@ var se_ListIndexesCommand = /* @__PURE__ */ __name(async (input, context) => {
716
716
  (0, import_smithy_client.take)(input, {
717
717
  MaxResults: [],
718
718
  NextToken: [],
719
- Regions: (_) => (0, import_smithy_client._json)(_),
719
+ Regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Regions"),
720
720
  Type: []
721
721
  })
722
722
  );
@@ -732,7 +732,7 @@ var se_ListIndexesForMembersCommand = /* @__PURE__ */ __name(async (input, conte
732
732
  let body;
733
733
  body = JSON.stringify(
734
734
  (0, import_smithy_client.take)(input, {
735
- AccountIdList: (_) => (0, import_smithy_client._json)(_),
735
+ AccountIdList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccountIdList"),
736
736
  MaxResults: [],
737
737
  NextToken: []
738
738
  })
@@ -766,7 +766,7 @@ var se_ListResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
766
766
  let body;
767
767
  body = JSON.stringify(
768
768
  (0, import_smithy_client.take)(input, {
769
- Filters: (_) => (0, import_smithy_client._json)(_),
769
+ Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
770
770
  MaxResults: [],
771
771
  NextToken: [],
772
772
  ViewArn: []
@@ -844,7 +844,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
844
844
  let body;
845
845
  body = JSON.stringify(
846
846
  (0, import_smithy_client.take)(input, {
847
- Tags: (_) => (0, import_smithy_client._json)(_)
847
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
848
848
  })
849
849
  );
850
850
  b.m("POST").h(headers).b(body);
@@ -887,8 +887,8 @@ var se_UpdateViewCommand = /* @__PURE__ */ __name(async (input, context) => {
887
887
  let body;
888
888
  body = JSON.stringify(
889
889
  (0, import_smithy_client.take)(input, {
890
- Filters: (_) => (0, import_smithy_client._json)(_),
891
- IncludedProperties: (_) => (0, import_smithy_client._json)(_),
890
+ Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
891
+ IncludedProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncludedProperties"),
892
892
  ViewArn: []
893
893
  })
894
894
  );
@@ -919,7 +919,7 @@ var de_BatchGetViewCommand = /* @__PURE__ */ __name(async (output, context) => {
919
919
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
920
920
  const doc = (0, import_smithy_client.take)(data, {
921
921
  Errors: import_smithy_client._json,
922
- Views: (_) => de_ViewList(_, context)
922
+ Views: /* @__PURE__ */ __name((_) => de_ViewList(_, context), "Views")
923
923
  });
924
924
  Object.assign(contents, doc);
925
925
  return contents;
@@ -934,7 +934,7 @@ var de_CreateIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
934
934
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
935
935
  const doc = (0, import_smithy_client.take)(data, {
936
936
  Arn: import_smithy_client.expectString,
937
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
937
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
938
938
  State: import_smithy_client.expectString
939
939
  });
940
940
  Object.assign(contents, doc);
@@ -949,7 +949,7 @@ var de_CreateViewCommand = /* @__PURE__ */ __name(async (output, context) => {
949
949
  });
950
950
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
951
951
  const doc = (0, import_smithy_client.take)(data, {
952
- View: (_) => de_View(_, context)
952
+ View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
953
953
  });
954
954
  Object.assign(contents, doc);
955
955
  return contents;
@@ -964,7 +964,7 @@ var de_DeleteIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
964
964
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
965
965
  const doc = (0, import_smithy_client.take)(data, {
966
966
  Arn: import_smithy_client.expectString,
967
- LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
967
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
968
968
  State: import_smithy_client.expectString
969
969
  });
970
970
  Object.assign(contents, doc);
@@ -1032,8 +1032,8 @@ var de_GetIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
1032
1032
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1033
1033
  const doc = (0, import_smithy_client.take)(data, {
1034
1034
  Arn: import_smithy_client.expectString,
1035
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1036
- LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1035
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
1036
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1037
1037
  ReplicatingFrom: import_smithy_client._json,
1038
1038
  ReplicatingTo: import_smithy_client._json,
1039
1039
  State: import_smithy_client.expectString,
@@ -1052,7 +1052,7 @@ var de_GetManagedViewCommand = /* @__PURE__ */ __name(async (output, context) =>
1052
1052
  });
1053
1053
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1054
1054
  const doc = (0, import_smithy_client.take)(data, {
1055
- ManagedView: (_) => de_ManagedView(_, context)
1055
+ ManagedView: /* @__PURE__ */ __name((_) => de_ManagedView(_, context), "ManagedView")
1056
1056
  });
1057
1057
  Object.assign(contents, doc);
1058
1058
  return contents;
@@ -1067,7 +1067,7 @@ var de_GetViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1067
1067
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1068
1068
  const doc = (0, import_smithy_client.take)(data, {
1069
1069
  Tags: import_smithy_client._json,
1070
- View: (_) => de_View(_, context)
1070
+ View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
1071
1071
  });
1072
1072
  Object.assign(contents, doc);
1073
1073
  return contents;
@@ -1127,7 +1127,7 @@ var de_ListResourcesCommand = /* @__PURE__ */ __name(async (output, context) =>
1127
1127
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1128
1128
  const doc = (0, import_smithy_client.take)(data, {
1129
1129
  NextToken: import_smithy_client.expectString,
1130
- Resources: (_) => de_ResourceList(_, context),
1130
+ Resources: /* @__PURE__ */ __name((_) => de_ResourceList(_, context), "Resources"),
1131
1131
  ViewArn: import_smithy_client.expectString
1132
1132
  });
1133
1133
  Object.assign(contents, doc);
@@ -1188,7 +1188,7 @@ var de_SearchCommand = /* @__PURE__ */ __name(async (output, context) => {
1188
1188
  const doc = (0, import_smithy_client.take)(data, {
1189
1189
  Count: import_smithy_client._json,
1190
1190
  NextToken: import_smithy_client.expectString,
1191
- Resources: (_) => de_ResourceList(_, context),
1191
+ Resources: /* @__PURE__ */ __name((_) => de_ResourceList(_, context), "Resources"),
1192
1192
  ViewArn: import_smithy_client.expectString
1193
1193
  });
1194
1194
  Object.assign(contents, doc);
@@ -1224,7 +1224,7 @@ var de_UpdateIndexTypeCommand = /* @__PURE__ */ __name(async (output, context) =
1224
1224
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1225
1225
  const doc = (0, import_smithy_client.take)(data, {
1226
1226
  Arn: import_smithy_client.expectString,
1227
- LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1227
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1228
1228
  State: import_smithy_client.expectString,
1229
1229
  Type: import_smithy_client.expectString
1230
1230
  });
@@ -1240,7 +1240,7 @@ var de_UpdateViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1240
1240
  });
1241
1241
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1242
1242
  const doc = (0, import_smithy_client.take)(data, {
1243
- View: (_) => de_View(_, context)
1243
+ View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
1244
1244
  });
1245
1245
  Object.assign(contents, doc);
1246
1246
  return contents;
@@ -1397,7 +1397,7 @@ var de_ManagedView = /* @__PURE__ */ __name((output, context) => {
1397
1397
  return (0, import_smithy_client.take)(output, {
1398
1398
  Filters: import_smithy_client._json,
1399
1399
  IncludedProperties: import_smithy_client._json,
1400
- LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1400
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1401
1401
  ManagedViewArn: import_smithy_client.expectString,
1402
1402
  ManagedViewName: import_smithy_client.expectString,
1403
1403
  Owner: import_smithy_client.expectString,
@@ -1410,9 +1410,9 @@ var de_ManagedView = /* @__PURE__ */ __name((output, context) => {
1410
1410
  var de_Resource = /* @__PURE__ */ __name((output, context) => {
1411
1411
  return (0, import_smithy_client.take)(output, {
1412
1412
  Arn: import_smithy_client.expectString,
1413
- LastReportedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1413
+ LastReportedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastReportedAt"),
1414
1414
  OwningAccountId: import_smithy_client.expectString,
1415
- Properties: (_) => de_ResourcePropertyList(_, context),
1415
+ Properties: /* @__PURE__ */ __name((_) => de_ResourcePropertyList(_, context), "Properties"),
1416
1416
  Region: import_smithy_client.expectString,
1417
1417
  ResourceType: import_smithy_client.expectString,
1418
1418
  Service: import_smithy_client.expectString
@@ -1426,8 +1426,8 @@ var de_ResourceList = /* @__PURE__ */ __name((output, context) => {
1426
1426
  }, "de_ResourceList");
1427
1427
  var de_ResourceProperty = /* @__PURE__ */ __name((output, context) => {
1428
1428
  return (0, import_smithy_client.take)(output, {
1429
- Data: (_) => de_Document(_, context),
1430
- LastReportedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1429
+ Data: /* @__PURE__ */ __name((_) => de_Document(_, context), "Data"),
1430
+ LastReportedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastReportedAt"),
1431
1431
  Name: import_smithy_client.expectString
1432
1432
  });
1433
1433
  }, "de_ResourceProperty");
@@ -1441,7 +1441,7 @@ var de_View = /* @__PURE__ */ __name((output, context) => {
1441
1441
  return (0, import_smithy_client.take)(output, {
1442
1442
  Filters: import_smithy_client._json,
1443
1443
  IncludedProperties: import_smithy_client._json,
1444
- LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1444
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1445
1445
  Owner: import_smithy_client.expectString,
1446
1446
  Scope: import_smithy_client.expectString,
1447
1447
  ViewArn: import_smithy_client.expectString
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-explorer-2",
3
3
  "description": "AWS SDK for JavaScript Resource Explorer 2 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-resource-explorer-2",
@@ -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",