@aws-sdk/client-codeguruprofiler 3.50.0 → 3.53.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 (55) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CodeGuruProfilerServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +84 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +258 -862
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CodeGuruProfilerServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +77 -1
  9. package/dist-es/protocols/Aws_restJson1.js +523 -961
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CodeGuruProfilerServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +44 -25
  13. package/dist-types/ts3.4/CodeGuruProfiler.d.ts +120 -0
  14. package/dist-types/ts3.4/CodeGuruProfilerClient.d.ts +96 -0
  15. package/dist-types/ts3.4/commands/AddNotificationChannelsCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/ConfigureAgentCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateProfilingGroupCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteProfilingGroupCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/ListFindingsReportsCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/ListProfileTimesCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListProfilingGroupsCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/PostAgentProfileCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/UpdateProfilingGroupCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  39. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  40. package/dist-types/ts3.4/index.d.ts +6 -0
  41. package/dist-types/ts3.4/models/CodeGuruProfilerServiceException.d.ts +6 -0
  42. package/dist-types/ts3.4/models/index.d.ts +1 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +920 -0
  44. package/dist-types/ts3.4/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +4 -0
  45. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  46. package/dist-types/ts3.4/pagination/ListFindingsReportsPaginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/ListProfileTimesPaginator.d.ts +4 -0
  48. package/dist-types/ts3.4/pagination/ListProfilingGroupsPaginator.d.ts +4 -0
  49. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  55. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-codeguruprofiler
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-codeguruprofiler
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-codeguruprofiler
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeGuruProfilerServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./CodeGuruProfiler"), exports);
5
6
  tslib_1.__exportStar(require("./CodeGuruProfilerClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var CodeGuruProfilerServiceException_1 = require("./models/CodeGuruProfilerServiceException");
11
+ Object.defineProperty(exports, "CodeGuruProfilerServiceException", { enumerable: true, get: function () { return CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeGuruProfilerServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class CodeGuruProfilerServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, CodeGuruProfilerServiceException.prototype);
9
+ }
10
+ }
11
+ exports.CodeGuruProfilerServiceException = CodeGuruProfilerServiceException;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetRecommendationsResponse = exports.Recommendation = exports.Match = exports.Pattern = exports.GetRecommendationsRequest = exports.GetProfileResponse = exports.GetProfileRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetNotificationConfigurationResponse = exports.GetNotificationConfigurationRequest = exports.DescribeProfilingGroupResponse = exports.DescribeProfilingGroupRequest = exports.DeleteProfilingGroupResponse = exports.DeleteProfilingGroupRequest = exports.CreateProfilingGroupResponse = exports.ProfilingGroupDescription = exports.ProfilingStatus = exports.CreateProfilingGroupRequest = exports.ComputePlatform = exports.ConfigureAgentResponse = exports.ConfigureAgentRequest = exports.MetadataField = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetFindingsReportAccountSummaryResponse = exports.FindingsReportSummary = exports.GetFindingsReportAccountSummaryRequest = exports.BatchGetFrameMetricDataResponse = exports.FrameMetricDatum = exports.TimestampStructure = exports.BatchGetFrameMetricDataRequest = exports.FrameMetric = exports.Anomaly = exports.Metric = exports.MetricType = exports.AnomalyInstance = exports.UserFeedback = exports.FeedbackType = exports.AggregatedProfileTime = exports.AggregationPeriod = exports.AgentOrchestrationConfig = exports.AgentConfiguration = exports.AgentParameterField = exports.AddNotificationChannelsResponse = exports.NotificationConfiguration = exports.AddNotificationChannelsRequest = exports.Channel = exports.EventPublisher = exports.ActionGroup = void 0;
4
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.UpdateProfilingGroupResponse = exports.UpdateProfilingGroupRequest = exports.SubmitFeedbackResponse = exports.SubmitFeedbackRequest = exports.RemovePermissionResponse = exports.RemovePermissionRequest = exports.RemoveNotificationChannelResponse = exports.RemoveNotificationChannelRequest = exports.PutPermissionResponse = exports.PutPermissionRequest = exports.PostAgentProfileResponse = exports.PostAgentProfileRequest = exports.ListProfilingGroupsResponse = exports.ListProfilingGroupsRequest = exports.ListProfileTimesResponse = exports.ProfileTime = exports.ListProfileTimesRequest = exports.OrderBy = exports.ListFindingsReportsResponse = exports.ListFindingsReportsRequest = void 0;
3
+ exports.GetProfileRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetNotificationConfigurationResponse = exports.GetNotificationConfigurationRequest = exports.DescribeProfilingGroupResponse = exports.DescribeProfilingGroupRequest = exports.DeleteProfilingGroupResponse = exports.DeleteProfilingGroupRequest = exports.CreateProfilingGroupResponse = exports.ProfilingGroupDescription = exports.ProfilingStatus = exports.CreateProfilingGroupRequest = exports.ComputePlatform = exports.ConfigureAgentResponse = exports.ConfigureAgentRequest = exports.MetadataField = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.GetFindingsReportAccountSummaryResponse = exports.FindingsReportSummary = exports.GetFindingsReportAccountSummaryRequest = exports.BatchGetFrameMetricDataResponse = exports.FrameMetricDatum = exports.TimestampStructure = exports.BatchGetFrameMetricDataRequest = exports.FrameMetric = exports.Anomaly = exports.Metric = exports.MetricType = exports.AnomalyInstance = exports.UserFeedback = exports.FeedbackType = exports.AggregatedProfileTime = exports.AggregationPeriod = exports.AgentOrchestrationConfig = exports.AgentConfiguration = exports.AgentParameterField = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AddNotificationChannelsResponse = exports.NotificationConfiguration = exports.AddNotificationChannelsRequest = exports.Channel = exports.EventPublisher = exports.ActionGroup = void 0;
4
+ exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.UpdateProfilingGroupResponse = exports.UpdateProfilingGroupRequest = exports.SubmitFeedbackResponse = exports.SubmitFeedbackRequest = exports.RemovePermissionResponse = exports.RemovePermissionRequest = exports.RemoveNotificationChannelResponse = exports.RemoveNotificationChannelRequest = exports.PutPermissionResponse = exports.PutPermissionRequest = exports.PostAgentProfileResponse = exports.PostAgentProfileRequest = exports.ListProfilingGroupsResponse = exports.ListProfilingGroupsRequest = exports.ListProfileTimesResponse = exports.ProfileTime = exports.ListProfileTimesRequest = exports.OrderBy = exports.ListFindingsReportsResponse = exports.ListFindingsReportsRequest = exports.GetRecommendationsResponse = exports.Recommendation = exports.Match = exports.Pattern = exports.GetRecommendationsRequest = exports.GetProfileResponse = void 0;
5
+ const CodeGuruProfilerServiceException_1 = require("./CodeGuruProfilerServiceException");
5
6
  var ActionGroup;
6
7
  (function (ActionGroup) {
7
8
  ActionGroup["AGENT_PERMISSIONS"] = "agentPermissions";
@@ -34,6 +35,87 @@ var AddNotificationChannelsResponse;
34
35
  ...obj,
35
36
  });
36
37
  })(AddNotificationChannelsResponse = exports.AddNotificationChannelsResponse || (exports.AddNotificationChannelsResponse = {}));
38
+ class ConflictException extends CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException {
39
+ constructor(opts) {
40
+ super({
41
+ name: "ConflictException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ this.name = "ConflictException";
46
+ this.$fault = "client";
47
+ Object.setPrototypeOf(this, ConflictException.prototype);
48
+ }
49
+ }
50
+ exports.ConflictException = ConflictException;
51
+ class InternalServerException extends CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException {
52
+ constructor(opts) {
53
+ super({
54
+ name: "InternalServerException",
55
+ $fault: "server",
56
+ ...opts,
57
+ });
58
+ this.name = "InternalServerException";
59
+ this.$fault = "server";
60
+ this.$retryable = {};
61
+ Object.setPrototypeOf(this, InternalServerException.prototype);
62
+ }
63
+ }
64
+ exports.InternalServerException = InternalServerException;
65
+ class ResourceNotFoundException extends CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException {
66
+ constructor(opts) {
67
+ super({
68
+ name: "ResourceNotFoundException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ this.name = "ResourceNotFoundException";
73
+ this.$fault = "client";
74
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
75
+ }
76
+ }
77
+ exports.ResourceNotFoundException = ResourceNotFoundException;
78
+ class ServiceQuotaExceededException extends CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException {
79
+ constructor(opts) {
80
+ super({
81
+ name: "ServiceQuotaExceededException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ this.name = "ServiceQuotaExceededException";
86
+ this.$fault = "client";
87
+ this.$retryable = {};
88
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
89
+ }
90
+ }
91
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
92
+ class ThrottlingException extends CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException {
93
+ constructor(opts) {
94
+ super({
95
+ name: "ThrottlingException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ this.name = "ThrottlingException";
100
+ this.$fault = "client";
101
+ this.$retryable = {};
102
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
103
+ }
104
+ }
105
+ exports.ThrottlingException = ThrottlingException;
106
+ class ValidationException extends CodeGuruProfilerServiceException_1.CodeGuruProfilerServiceException {
107
+ constructor(opts) {
108
+ super({
109
+ name: "ValidationException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ this.name = "ValidationException";
114
+ this.$fault = "client";
115
+ Object.setPrototypeOf(this, ValidationException.prototype);
116
+ }
117
+ }
118
+ exports.ValidationException = ValidationException;
37
119
  var AgentParameterField;
38
120
  (function (AgentParameterField) {
39
121
  AgentParameterField["MAX_STACK_DEPTH"] = "MaxStackDepth";