@aws-sdk/client-support 3.52.0 → 3.54.1

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,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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-support
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-support
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-support
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SupportServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Support"), exports);
5
6
  tslib_1.__exportStar(require("./SupportClient"), 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 SupportServiceException_1 = require("./models/SupportServiceException");
11
+ Object.defineProperty(exports, "SupportServiceException", { enumerable: true, get: function () { return SupportServiceException_1.SupportServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SupportServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class SupportServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, SupportServiceException.prototype);
9
+ }
10
+ }
11
+ exports.SupportServiceException = SupportServiceException;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResolveCaseResponse = exports.ResolveCaseRequest = exports.RefreshTrustedAdvisorCheckResponse = exports.RefreshTrustedAdvisorCheckRequest = exports.DescribeTrustedAdvisorCheckSummariesResponse = exports.TrustedAdvisorCheckSummary = exports.DescribeTrustedAdvisorCheckSummariesRequest = exports.DescribeTrustedAdvisorChecksResponse = exports.TrustedAdvisorCheckDescription = exports.DescribeTrustedAdvisorChecksRequest = exports.DescribeTrustedAdvisorCheckResultResponse = exports.TrustedAdvisorCheckResult = exports.TrustedAdvisorResourcesSummary = exports.TrustedAdvisorResourceDetail = exports.TrustedAdvisorCategorySpecificSummary = exports.TrustedAdvisorCostOptimizingSummary = exports.DescribeTrustedAdvisorCheckResultRequest = exports.DescribeTrustedAdvisorCheckRefreshStatusesResponse = exports.TrustedAdvisorCheckRefreshStatus = exports.DescribeTrustedAdvisorCheckRefreshStatusesRequest = exports.DescribeSeverityLevelsResponse = exports.SeverityLevel = exports.DescribeSeverityLevelsRequest = exports.DescribeServicesResponse = exports.Service = exports.Category = exports.DescribeServicesRequest = exports.DescribeCommunicationsResponse = exports.DescribeCommunicationsRequest = exports.DescribeCasesResponse = exports.CaseDetails = exports.RecentCaseCommunications = exports.Communication = exports.DescribeCasesRequest = exports.DescribeAttachmentResponse = exports.DescribeAttachmentRequest = exports.CreateCaseResponse = exports.CreateCaseRequest = exports.AttachmentDetails = exports.AddCommunicationToCaseResponse = exports.AddCommunicationToCaseRequest = exports.AddAttachmentsToSetResponse = exports.AddAttachmentsToSetRequest = exports.Attachment = void 0;
3
+ exports.RefreshTrustedAdvisorCheckRequest = exports.DescribeTrustedAdvisorCheckSummariesResponse = exports.TrustedAdvisorCheckSummary = exports.DescribeTrustedAdvisorCheckSummariesRequest = exports.DescribeTrustedAdvisorChecksResponse = exports.TrustedAdvisorCheckDescription = exports.DescribeTrustedAdvisorChecksRequest = exports.DescribeTrustedAdvisorCheckResultResponse = exports.TrustedAdvisorCheckResult = exports.TrustedAdvisorResourcesSummary = exports.TrustedAdvisorResourceDetail = exports.TrustedAdvisorCategorySpecificSummary = exports.TrustedAdvisorCostOptimizingSummary = exports.DescribeTrustedAdvisorCheckResultRequest = exports.DescribeTrustedAdvisorCheckRefreshStatusesResponse = exports.TrustedAdvisorCheckRefreshStatus = exports.DescribeTrustedAdvisorCheckRefreshStatusesRequest = exports.DescribeSeverityLevelsResponse = exports.SeverityLevel = exports.DescribeSeverityLevelsRequest = exports.DescribeServicesResponse = exports.Service = exports.Category = exports.DescribeServicesRequest = exports.DescribeCommunicationsResponse = exports.DescribeCommunicationsRequest = exports.DescribeCasesResponse = exports.CaseDetails = exports.RecentCaseCommunications = exports.Communication = exports.DescribeCasesRequest = exports.DescribeAttachmentResponse = exports.DescribeAttachmentRequest = exports.DescribeAttachmentLimitExceeded = exports.CreateCaseResponse = exports.CreateCaseRequest = exports.CaseCreationLimitExceeded = exports.AttachmentIdNotFound = exports.AttachmentDetails = exports.CaseIdNotFound = exports.AddCommunicationToCaseResponse = exports.AddCommunicationToCaseRequest = exports.InternalServerError = exports.AttachmentSetSizeLimitExceeded = exports.AttachmentSetIdNotFound = exports.AttachmentSetExpired = exports.AttachmentLimitExceeded = exports.AddAttachmentsToSetResponse = exports.AddAttachmentsToSetRequest = exports.Attachment = void 0;
4
+ exports.ResolveCaseResponse = exports.ResolveCaseRequest = exports.RefreshTrustedAdvisorCheckResponse = void 0;
5
+ const SupportServiceException_1 = require("./SupportServiceException");
4
6
  var Attachment;
5
7
  (function (Attachment) {
6
8
  Attachment.filterSensitiveLog = (obj) => ({
@@ -19,6 +21,71 @@ var AddAttachmentsToSetResponse;
19
21
  ...obj,
20
22
  });
21
23
  })(AddAttachmentsToSetResponse = exports.AddAttachmentsToSetResponse || (exports.AddAttachmentsToSetResponse = {}));
24
+ class AttachmentLimitExceeded extends SupportServiceException_1.SupportServiceException {
25
+ constructor(opts) {
26
+ super({
27
+ name: "AttachmentLimitExceeded",
28
+ $fault: "client",
29
+ ...opts,
30
+ });
31
+ this.name = "AttachmentLimitExceeded";
32
+ this.$fault = "client";
33
+ Object.setPrototypeOf(this, AttachmentLimitExceeded.prototype);
34
+ }
35
+ }
36
+ exports.AttachmentLimitExceeded = AttachmentLimitExceeded;
37
+ class AttachmentSetExpired extends SupportServiceException_1.SupportServiceException {
38
+ constructor(opts) {
39
+ super({
40
+ name: "AttachmentSetExpired",
41
+ $fault: "client",
42
+ ...opts,
43
+ });
44
+ this.name = "AttachmentSetExpired";
45
+ this.$fault = "client";
46
+ Object.setPrototypeOf(this, AttachmentSetExpired.prototype);
47
+ }
48
+ }
49
+ exports.AttachmentSetExpired = AttachmentSetExpired;
50
+ class AttachmentSetIdNotFound extends SupportServiceException_1.SupportServiceException {
51
+ constructor(opts) {
52
+ super({
53
+ name: "AttachmentSetIdNotFound",
54
+ $fault: "client",
55
+ ...opts,
56
+ });
57
+ this.name = "AttachmentSetIdNotFound";
58
+ this.$fault = "client";
59
+ Object.setPrototypeOf(this, AttachmentSetIdNotFound.prototype);
60
+ }
61
+ }
62
+ exports.AttachmentSetIdNotFound = AttachmentSetIdNotFound;
63
+ class AttachmentSetSizeLimitExceeded extends SupportServiceException_1.SupportServiceException {
64
+ constructor(opts) {
65
+ super({
66
+ name: "AttachmentSetSizeLimitExceeded",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ this.name = "AttachmentSetSizeLimitExceeded";
71
+ this.$fault = "client";
72
+ Object.setPrototypeOf(this, AttachmentSetSizeLimitExceeded.prototype);
73
+ }
74
+ }
75
+ exports.AttachmentSetSizeLimitExceeded = AttachmentSetSizeLimitExceeded;
76
+ class InternalServerError extends SupportServiceException_1.SupportServiceException {
77
+ constructor(opts) {
78
+ super({
79
+ name: "InternalServerError",
80
+ $fault: "server",
81
+ ...opts,
82
+ });
83
+ this.name = "InternalServerError";
84
+ this.$fault = "server";
85
+ Object.setPrototypeOf(this, InternalServerError.prototype);
86
+ }
87
+ }
88
+ exports.InternalServerError = InternalServerError;
22
89
  var AddCommunicationToCaseRequest;
23
90
  (function (AddCommunicationToCaseRequest) {
24
91
  AddCommunicationToCaseRequest.filterSensitiveLog = (obj) => ({
@@ -31,12 +98,51 @@ var AddCommunicationToCaseResponse;
31
98
  ...obj,
32
99
  });
33
100
  })(AddCommunicationToCaseResponse = exports.AddCommunicationToCaseResponse || (exports.AddCommunicationToCaseResponse = {}));
101
+ class CaseIdNotFound extends SupportServiceException_1.SupportServiceException {
102
+ constructor(opts) {
103
+ super({
104
+ name: "CaseIdNotFound",
105
+ $fault: "client",
106
+ ...opts,
107
+ });
108
+ this.name = "CaseIdNotFound";
109
+ this.$fault = "client";
110
+ Object.setPrototypeOf(this, CaseIdNotFound.prototype);
111
+ }
112
+ }
113
+ exports.CaseIdNotFound = CaseIdNotFound;
34
114
  var AttachmentDetails;
35
115
  (function (AttachmentDetails) {
36
116
  AttachmentDetails.filterSensitiveLog = (obj) => ({
37
117
  ...obj,
38
118
  });
39
119
  })(AttachmentDetails = exports.AttachmentDetails || (exports.AttachmentDetails = {}));
120
+ class AttachmentIdNotFound extends SupportServiceException_1.SupportServiceException {
121
+ constructor(opts) {
122
+ super({
123
+ name: "AttachmentIdNotFound",
124
+ $fault: "client",
125
+ ...opts,
126
+ });
127
+ this.name = "AttachmentIdNotFound";
128
+ this.$fault = "client";
129
+ Object.setPrototypeOf(this, AttachmentIdNotFound.prototype);
130
+ }
131
+ }
132
+ exports.AttachmentIdNotFound = AttachmentIdNotFound;
133
+ class CaseCreationLimitExceeded extends SupportServiceException_1.SupportServiceException {
134
+ constructor(opts) {
135
+ super({
136
+ name: "CaseCreationLimitExceeded",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ this.name = "CaseCreationLimitExceeded";
141
+ this.$fault = "client";
142
+ Object.setPrototypeOf(this, CaseCreationLimitExceeded.prototype);
143
+ }
144
+ }
145
+ exports.CaseCreationLimitExceeded = CaseCreationLimitExceeded;
40
146
  var CreateCaseRequest;
41
147
  (function (CreateCaseRequest) {
42
148
  CreateCaseRequest.filterSensitiveLog = (obj) => ({
@@ -49,6 +155,19 @@ var CreateCaseResponse;
49
155
  ...obj,
50
156
  });
51
157
  })(CreateCaseResponse = exports.CreateCaseResponse || (exports.CreateCaseResponse = {}));
158
+ class DescribeAttachmentLimitExceeded extends SupportServiceException_1.SupportServiceException {
159
+ constructor(opts) {
160
+ super({
161
+ name: "DescribeAttachmentLimitExceeded",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ this.name = "DescribeAttachmentLimitExceeded";
166
+ this.$fault = "client";
167
+ Object.setPrototypeOf(this, DescribeAttachmentLimitExceeded.prototype);
168
+ }
169
+ }
170
+ exports.DescribeAttachmentLimitExceeded = DescribeAttachmentLimitExceeded;
52
171
  var DescribeAttachmentRequest;
53
172
  (function (DescribeAttachmentRequest) {
54
173
  DescribeAttachmentRequest.filterSensitiveLog = (obj) => ({