@aws-sdk/client-codeguru-reviewer 3.952.0 → 3.954.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 (34) hide show
  1. package/dist-cjs/index.js +253 -172
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AssociateRepositoryCommand.js +2 -2
  4. package/dist-es/commands/CreateCodeReviewCommand.js +2 -2
  5. package/dist-es/commands/DescribeCodeReviewCommand.js +2 -2
  6. package/dist-es/commands/DescribeRecommendationFeedbackCommand.js +2 -2
  7. package/dist-es/commands/DescribeRepositoryAssociationCommand.js +2 -2
  8. package/dist-es/commands/DisassociateRepositoryCommand.js +2 -2
  9. package/dist-es/commands/ListCodeReviewsCommand.js +2 -2
  10. package/dist-es/commands/ListRecommendationFeedbackCommand.js +2 -2
  11. package/dist-es/commands/ListRecommendationsCommand.js +2 -2
  12. package/dist-es/commands/ListRepositoryAssociationsCommand.js +2 -2
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  14. package/dist-es/commands/PutRecommendationFeedbackCommand.js +2 -2
  15. package/dist-es/commands/TagResourceCommand.js +2 -2
  16. package/dist-es/commands/UntagResourceCommand.js +2 -2
  17. package/dist-es/index.js +1 -0
  18. package/dist-es/runtimeConfig.shared.js +6 -1
  19. package/dist-es/schemas/schemas_0.js +155 -150
  20. package/dist-types/CodeGuruReviewerClient.d.ts +1 -10
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  23. package/dist-types/runtimeConfig.d.ts +6 -2
  24. package/dist-types/runtimeConfig.native.d.ts +6 -2
  25. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  26. package/dist-types/schemas/schemas_0.d.ts +77 -94
  27. package/dist-types/ts3.4/CodeGuruReviewerClient.d.ts +0 -4
  28. package/dist-types/ts3.4/index.d.ts +1 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -94
  34. package/package.json +35 -35
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codegurureviewer" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.codegurureviewer",
32
+ version: "2019-09-19",
33
+ serviceTarget: "AWSGuruFrontendService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "CodeGuru Reviewer",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AssociateRepository } from "../schemas/schemas_0";
4
+ import { AssociateRepository$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AssociateRepositoryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AssociateRepositoryCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "AssociateRepository", {})
13
13
  .n("CodeGuruReviewerClient", "AssociateRepositoryCommand")
14
- .sc(AssociateRepository)
14
+ .sc(AssociateRepository$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateCodeReview } from "../schemas/schemas_0";
4
+ import { CreateCodeReview$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateCodeReviewCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateCodeReviewCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "CreateCodeReview", {})
13
13
  .n("CodeGuruReviewerClient", "CreateCodeReviewCommand")
14
- .sc(CreateCodeReview)
14
+ .sc(CreateCodeReview$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeCodeReview } from "../schemas/schemas_0";
4
+ import { DescribeCodeReview$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeCodeReviewCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeCodeReviewCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "DescribeCodeReview", {})
13
13
  .n("CodeGuruReviewerClient", "DescribeCodeReviewCommand")
14
- .sc(DescribeCodeReview)
14
+ .sc(DescribeCodeReview$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeRecommendationFeedback } from "../schemas/schemas_0";
4
+ import { DescribeRecommendationFeedback$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeRecommendationFeedbackCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeRecommendationFeedbackCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "DescribeRecommendationFeedback", {})
13
13
  .n("CodeGuruReviewerClient", "DescribeRecommendationFeedbackCommand")
14
- .sc(DescribeRecommendationFeedback)
14
+ .sc(DescribeRecommendationFeedback$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeRepositoryAssociation } from "../schemas/schemas_0";
4
+ import { DescribeRepositoryAssociation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeRepositoryAssociationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeRepositoryAssociationCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "DescribeRepositoryAssociation", {})
13
13
  .n("CodeGuruReviewerClient", "DescribeRepositoryAssociationCommand")
14
- .sc(DescribeRepositoryAssociation)
14
+ .sc(DescribeRepositoryAssociation$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisassociateRepository } from "../schemas/schemas_0";
4
+ import { DisassociateRepository$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateRepositoryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateRepositoryCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "DisassociateRepository", {})
13
13
  .n("CodeGuruReviewerClient", "DisassociateRepositoryCommand")
14
- .sc(DisassociateRepository)
14
+ .sc(DisassociateRepository$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCodeReviews } from "../schemas/schemas_0";
4
+ import { ListCodeReviews$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCodeReviewsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCodeReviewsCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "ListCodeReviews", {})
13
13
  .n("CodeGuruReviewerClient", "ListCodeReviewsCommand")
14
- .sc(ListCodeReviews)
14
+ .sc(ListCodeReviews$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRecommendationFeedback } from "../schemas/schemas_0";
4
+ import { ListRecommendationFeedback$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRecommendationFeedbackCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRecommendationFeedbackCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "ListRecommendationFeedback", {})
13
13
  .n("CodeGuruReviewerClient", "ListRecommendationFeedbackCommand")
14
- .sc(ListRecommendationFeedback)
14
+ .sc(ListRecommendationFeedback$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRecommendations } from "../schemas/schemas_0";
4
+ import { ListRecommendations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRecommendationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRecommendationsCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "ListRecommendations", {})
13
13
  .n("CodeGuruReviewerClient", "ListRecommendationsCommand")
14
- .sc(ListRecommendations)
14
+ .sc(ListRecommendations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRepositoryAssociations } from "../schemas/schemas_0";
4
+ import { ListRepositoryAssociations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRepositoryAssociationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRepositoryAssociationsCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "ListRepositoryAssociations", {})
13
13
  .n("CodeGuruReviewerClient", "ListRepositoryAssociationsCommand")
14
- .sc(ListRepositoryAssociations)
14
+ .sc(ListRepositoryAssociations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "ListTagsForResource", {})
13
13
  .n("CodeGuruReviewerClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutRecommendationFeedback } from "../schemas/schemas_0";
4
+ import { PutRecommendationFeedback$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutRecommendationFeedbackCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutRecommendationFeedbackCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "PutRecommendationFeedback", {})
13
13
  .n("CodeGuruReviewerClient", "PutRecommendationFeedbackCommand")
14
- .sc(PutRecommendationFeedback)
14
+ .sc(PutRecommendationFeedback$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "TagResource", {})
13
13
  .n("CodeGuruReviewerClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSGuruFrontendService", "UntagResource", {})
13
13
  .n("CodeGuruReviewerClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CodeGuruReviewerClient";
2
2
  export * from "./CodeGuruReviewer";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codegurureviewer" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.codegurureviewer",
29
+ version: "2019-09-19",
30
+ serviceTarget: "AWSGuruFrontendService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "CodeGuru Reviewer",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,