@aws-sdk/client-codeguru-reviewer 3.758.0 → 3.772.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 +28 -28
  2. package/package.json +3 -3
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
  AnalysisType: () => AnalysisType,
26
26
  AssociateRepositoryCommand: () => AssociateRepositoryCommand,
@@ -66,7 +66,7 @@ __export(src_exports, {
66
66
  waitUntilCodeReviewCompleted: () => waitUntilCodeReviewCompleted,
67
67
  waitUntilRepositoryAssociationSucceeded: () => waitUntilRepositoryAssociationSucceeded
68
68
  });
69
- module.exports = __toCommonJS(src_exports);
69
+ module.exports = __toCommonJS(index_exports);
70
70
 
71
71
  // src/CodeGuruReviewerClient.ts
72
72
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -193,9 +193,9 @@ var CodeGuruReviewerClient = class extends import_smithy_client.Client {
193
193
  this.middlewareStack.use(
194
194
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
195
195
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCodeGuruReviewerHttpAuthSchemeParametersProvider,
196
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
196
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
197
197
  "aws.auth#sigv4": config.credentials
198
- })
198
+ }), "identityProviderConfigProvider")
199
199
  })
200
200
  );
201
201
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -458,9 +458,9 @@ var se_AssociateRepositoryCommand = /* @__PURE__ */ __name(async (input, context
458
458
  body = JSON.stringify(
459
459
  (0, import_smithy_client.take)(input, {
460
460
  ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
461
- KMSKeyDetails: (_) => (0, import_smithy_client._json)(_),
462
- Repository: (_) => (0, import_smithy_client._json)(_),
463
- Tags: (_) => (0, import_smithy_client._json)(_)
461
+ KMSKeyDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "KMSKeyDetails"),
462
+ Repository: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Repository"),
463
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
464
464
  })
465
465
  );
466
466
  b.m("POST").h(headers).b(body);
@@ -478,7 +478,7 @@ var se_CreateCodeReviewCommand = /* @__PURE__ */ __name(async (input, context) =
478
478
  ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
479
479
  Name: [],
480
480
  RepositoryAssociationArn: [],
481
- Type: (_) => (0, import_smithy_client._json)(_)
481
+ Type: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Type")
482
482
  })
483
483
  );
484
484
  b.m("POST").h(headers).b(body);
@@ -603,7 +603,7 @@ var se_PutRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (input, c
603
603
  body = JSON.stringify(
604
604
  (0, import_smithy_client.take)(input, {
605
605
  CodeReviewArn: [],
606
- Reactions: (_) => (0, import_smithy_client._json)(_),
606
+ Reactions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Reactions"),
607
607
  RecommendationId: []
608
608
  })
609
609
  );
@@ -620,7 +620,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
620
620
  let body;
621
621
  body = JSON.stringify(
622
622
  (0, import_smithy_client.take)(input, {
623
- Tags: (_) => (0, import_smithy_client._json)(_)
623
+ Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
624
624
  })
625
625
  );
626
626
  b.m("POST").h(headers).b(body);
@@ -647,7 +647,7 @@ var de_AssociateRepositoryCommand = /* @__PURE__ */ __name(async (output, contex
647
647
  });
648
648
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
649
649
  const doc = (0, import_smithy_client.take)(data, {
650
- RepositoryAssociation: (_) => de_RepositoryAssociation(_, context),
650
+ RepositoryAssociation: /* @__PURE__ */ __name((_) => de_RepositoryAssociation(_, context), "RepositoryAssociation"),
651
651
  Tags: import_smithy_client._json
652
652
  });
653
653
  Object.assign(contents, doc);
@@ -662,7 +662,7 @@ var de_CreateCodeReviewCommand = /* @__PURE__ */ __name(async (output, context)
662
662
  });
663
663
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
664
664
  const doc = (0, import_smithy_client.take)(data, {
665
- CodeReview: (_) => de_CodeReview(_, context)
665
+ CodeReview: /* @__PURE__ */ __name((_) => de_CodeReview(_, context), "CodeReview")
666
666
  });
667
667
  Object.assign(contents, doc);
668
668
  return contents;
@@ -676,7 +676,7 @@ var de_DescribeCodeReviewCommand = /* @__PURE__ */ __name(async (output, context
676
676
  });
677
677
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
678
678
  const doc = (0, import_smithy_client.take)(data, {
679
- CodeReview: (_) => de_CodeReview(_, context)
679
+ CodeReview: /* @__PURE__ */ __name((_) => de_CodeReview(_, context), "CodeReview")
680
680
  });
681
681
  Object.assign(contents, doc);
682
682
  return contents;
@@ -690,7 +690,7 @@ var de_DescribeRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (out
690
690
  });
691
691
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
692
692
  const doc = (0, import_smithy_client.take)(data, {
693
- RecommendationFeedback: (_) => de_RecommendationFeedback(_, context)
693
+ RecommendationFeedback: /* @__PURE__ */ __name((_) => de_RecommendationFeedback(_, context), "RecommendationFeedback")
694
694
  });
695
695
  Object.assign(contents, doc);
696
696
  return contents;
@@ -704,7 +704,7 @@ var de_DescribeRepositoryAssociationCommand = /* @__PURE__ */ __name(async (outp
704
704
  });
705
705
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
706
706
  const doc = (0, import_smithy_client.take)(data, {
707
- RepositoryAssociation: (_) => de_RepositoryAssociation(_, context),
707
+ RepositoryAssociation: /* @__PURE__ */ __name((_) => de_RepositoryAssociation(_, context), "RepositoryAssociation"),
708
708
  Tags: import_smithy_client._json
709
709
  });
710
710
  Object.assign(contents, doc);
@@ -719,7 +719,7 @@ var de_DisassociateRepositoryCommand = /* @__PURE__ */ __name(async (output, con
719
719
  });
720
720
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
721
721
  const doc = (0, import_smithy_client.take)(data, {
722
- RepositoryAssociation: (_) => de_RepositoryAssociation(_, context),
722
+ RepositoryAssociation: /* @__PURE__ */ __name((_) => de_RepositoryAssociation(_, context), "RepositoryAssociation"),
723
723
  Tags: import_smithy_client._json
724
724
  });
725
725
  Object.assign(contents, doc);
@@ -734,7 +734,7 @@ var de_ListCodeReviewsCommand = /* @__PURE__ */ __name(async (output, context) =
734
734
  });
735
735
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
736
736
  const doc = (0, import_smithy_client.take)(data, {
737
- CodeReviewSummaries: (_) => de_CodeReviewSummaries(_, context),
737
+ CodeReviewSummaries: /* @__PURE__ */ __name((_) => de_CodeReviewSummaries(_, context), "CodeReviewSummaries"),
738
738
  NextToken: import_smithy_client.expectString
739
739
  });
740
740
  Object.assign(contents, doc);
@@ -780,7 +780,7 @@ var de_ListRepositoryAssociationsCommand = /* @__PURE__ */ __name(async (output,
780
780
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
781
781
  const doc = (0, import_smithy_client.take)(data, {
782
782
  NextToken: import_smithy_client.expectString,
783
- RepositoryAssociationSummaries: (_) => de_RepositoryAssociationSummaries(_, context)
783
+ RepositoryAssociationSummaries: /* @__PURE__ */ __name((_) => de_RepositoryAssociationSummaries(_, context), "RepositoryAssociationSummaries")
784
784
  });
785
785
  Object.assign(contents, doc);
786
786
  return contents;
@@ -964,8 +964,8 @@ var de_CodeReview = /* @__PURE__ */ __name((output, context) => {
964
964
  AssociationArn: import_smithy_client.expectString,
965
965
  CodeReviewArn: import_smithy_client.expectString,
966
966
  ConfigFileState: import_smithy_client.expectString,
967
- CreatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
968
- LastUpdatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
967
+ CreatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimeStamp"),
968
+ LastUpdatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimeStamp"),
969
969
  Metrics: import_smithy_client._json,
970
970
  Name: import_smithy_client.expectString,
971
971
  Owner: import_smithy_client.expectString,
@@ -987,8 +987,8 @@ var de_CodeReviewSummaries = /* @__PURE__ */ __name((output, context) => {
987
987
  var de_CodeReviewSummary = /* @__PURE__ */ __name((output, context) => {
988
988
  return (0, import_smithy_client.take)(output, {
989
989
  CodeReviewArn: import_smithy_client.expectString,
990
- CreatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
991
- LastUpdatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
990
+ CreatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimeStamp"),
991
+ LastUpdatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimeStamp"),
992
992
  MetricsSummary: import_smithy_client._json,
993
993
  Name: import_smithy_client.expectString,
994
994
  Owner: import_smithy_client.expectString,
@@ -1003,8 +1003,8 @@ var de_CodeReviewSummary = /* @__PURE__ */ __name((output, context) => {
1003
1003
  var de_RecommendationFeedback = /* @__PURE__ */ __name((output, context) => {
1004
1004
  return (0, import_smithy_client.take)(output, {
1005
1005
  CodeReviewArn: import_smithy_client.expectString,
1006
- CreatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1007
- LastUpdatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1006
+ CreatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimeStamp"),
1007
+ LastUpdatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimeStamp"),
1008
1008
  Reactions: import_smithy_client._json,
1009
1009
  RecommendationId: import_smithy_client.expectString,
1010
1010
  UserId: import_smithy_client.expectString
@@ -1015,9 +1015,9 @@ var de_RepositoryAssociation = /* @__PURE__ */ __name((output, context) => {
1015
1015
  AssociationArn: import_smithy_client.expectString,
1016
1016
  AssociationId: import_smithy_client.expectString,
1017
1017
  ConnectionArn: import_smithy_client.expectString,
1018
- CreatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1018
+ CreatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimeStamp"),
1019
1019
  KMSKeyDetails: import_smithy_client._json,
1020
- LastUpdatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1020
+ LastUpdatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimeStamp"),
1021
1021
  Name: import_smithy_client.expectString,
1022
1022
  Owner: import_smithy_client.expectString,
1023
1023
  ProviderType: import_smithy_client.expectString,
@@ -1037,7 +1037,7 @@ var de_RepositoryAssociationSummary = /* @__PURE__ */ __name((output, context) =
1037
1037
  AssociationArn: import_smithy_client.expectString,
1038
1038
  AssociationId: import_smithy_client.expectString,
1039
1039
  ConnectionArn: import_smithy_client.expectString,
1040
- LastUpdatedTimeStamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1040
+ LastUpdatedTimeStamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimeStamp"),
1041
1041
  Name: import_smithy_client.expectString,
1042
1042
  Owner: import_smithy_client.expectString,
1043
1043
  ProviderType: import_smithy_client.expectString,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-reviewer",
3
3
  "description": "AWS SDK for JavaScript Codeguru Reviewer Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.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-codeguru-reviewer",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",