@aws-sdk/client-codeguruprofiler 3.52.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
  **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";