@aws-sdk/client-ssm-contacts 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 (61) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/SSMContactsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +129 -2
  5. package/dist-cjs/protocols/Aws_json1_1.js +302 -1219
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/SSMContactsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +120 -1
  9. package/dist-es/protocols/Aws_json1_1.js +669 -1312
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/SSMContactsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +58 -25
  13. package/dist-types/ts3.4/SSMContacts.d.ts +140 -0
  14. package/dist-types/ts3.4/SSMContactsClient.d.ts +100 -0
  15. package/dist-types/ts3.4/commands/AcceptPageCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ActivateContactChannelCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateContactChannelCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeactivateContactChannelCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteContactChannelCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DescribeEngagementCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DescribePageCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetContactChannelCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetContactCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetContactPolicyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/ListContactChannelsCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListPageReceiptsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListPagesByContactCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ListPagesByEngagementCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/PutContactPolicyCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/SendActivationCodeCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/StartEngagementCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/StopEngagementCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/UpdateContactChannelCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  43. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  44. package/dist-types/ts3.4/index.d.ts +6 -0
  45. package/dist-types/ts3.4/models/SSMContactsServiceException.d.ts +6 -0
  46. package/dist-types/ts3.4/models/index.d.ts +1 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +884 -0
  48. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  49. package/dist-types/ts3.4/pagination/ListContactChannelsPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/ListPageReceiptsPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/ListPagesByContactPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/ListPagesByEngagementPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +83 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  60. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  61. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./SSMContactsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SSMContactsServiceException } from "./models/SSMContactsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var SSMContactsServiceException = (function (_super) {
4
+ __extends(SSMContactsServiceException, _super);
5
+ function SSMContactsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SSMContactsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return SSMContactsServiceException;
11
+ }(__ServiceException));
12
+ export { SSMContactsServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SSMContactsServiceException as __BaseException } from "./SSMContactsServiceException";
2
3
  export var AcceptCodeValidation;
3
4
  (function (AcceptCodeValidation) {
4
5
  AcceptCodeValidation["ENFORCE"] = "ENFORCE";
@@ -17,6 +18,64 @@ export var AcceptPageResult;
17
18
  (function (AcceptPageResult) {
18
19
  AcceptPageResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
19
20
  })(AcceptPageResult || (AcceptPageResult = {}));
21
+ var AccessDeniedException = (function (_super) {
22
+ __extends(AccessDeniedException, _super);
23
+ function AccessDeniedException(opts) {
24
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
25
+ _this.name = "AccessDeniedException";
26
+ _this.$fault = "client";
27
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
28
+ _this.Message = opts.Message;
29
+ return _this;
30
+ }
31
+ return AccessDeniedException;
32
+ }(__BaseException));
33
+ export { AccessDeniedException };
34
+ var InternalServerException = (function (_super) {
35
+ __extends(InternalServerException, _super);
36
+ function InternalServerException(opts) {
37
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
38
+ _this.name = "InternalServerException";
39
+ _this.$fault = "server";
40
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
41
+ _this.Message = opts.Message;
42
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
43
+ return _this;
44
+ }
45
+ return InternalServerException;
46
+ }(__BaseException));
47
+ export { InternalServerException };
48
+ var ResourceNotFoundException = (function (_super) {
49
+ __extends(ResourceNotFoundException, _super);
50
+ function ResourceNotFoundException(opts) {
51
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
52
+ _this.name = "ResourceNotFoundException";
53
+ _this.$fault = "client";
54
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
55
+ _this.Message = opts.Message;
56
+ _this.ResourceId = opts.ResourceId;
57
+ _this.ResourceType = opts.ResourceType;
58
+ return _this;
59
+ }
60
+ return ResourceNotFoundException;
61
+ }(__BaseException));
62
+ export { ResourceNotFoundException };
63
+ var ThrottlingException = (function (_super) {
64
+ __extends(ThrottlingException, _super);
65
+ function ThrottlingException(opts) {
66
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
67
+ _this.name = "ThrottlingException";
68
+ _this.$fault = "client";
69
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
70
+ _this.Message = opts.Message;
71
+ _this.QuotaCode = opts.QuotaCode;
72
+ _this.ServiceCode = opts.ServiceCode;
73
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
74
+ return _this;
75
+ }
76
+ return ThrottlingException;
77
+ }(__BaseException));
78
+ export { ThrottlingException };
20
79
  export var ValidationExceptionField;
21
80
  (function (ValidationExceptionField) {
22
81
  ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -28,6 +87,21 @@ export var ValidationExceptionReason;
28
87
  ValidationExceptionReason["OTHER"] = "OTHER";
29
88
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
30
89
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
90
+ var ValidationException = (function (_super) {
91
+ __extends(ValidationException, _super);
92
+ function ValidationException(opts) {
93
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
94
+ _this.name = "ValidationException";
95
+ _this.$fault = "client";
96
+ Object.setPrototypeOf(_this, ValidationException.prototype);
97
+ _this.Message = opts.Message;
98
+ _this.Reason = opts.Reason;
99
+ _this.Fields = opts.Fields;
100
+ return _this;
101
+ }
102
+ return ValidationException;
103
+ }(__BaseException));
104
+ export { ValidationException };
31
105
  export var ActivateContactChannelRequest;
32
106
  (function (ActivateContactChannelRequest) {
33
107
  ActivateContactChannelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -51,6 +125,21 @@ export var ChannelType;
51
125
  ChannelType["SMS"] = "SMS";
52
126
  ChannelType["VOICE"] = "VOICE";
53
127
  })(ChannelType || (ChannelType = {}));
128
+ var ConflictException = (function (_super) {
129
+ __extends(ConflictException, _super);
130
+ function ConflictException(opts) {
131
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
132
+ _this.name = "ConflictException";
133
+ _this.$fault = "client";
134
+ Object.setPrototypeOf(_this, ConflictException.prototype);
135
+ _this.Message = opts.Message;
136
+ _this.ResourceId = opts.ResourceId;
137
+ _this.ResourceType = opts.ResourceType;
138
+ return _this;
139
+ }
140
+ return ConflictException;
141
+ }(__BaseException));
142
+ export { ConflictException };
54
143
  export var ContactType;
55
144
  (function (ContactType) {
56
145
  ContactType["ESCALATION"] = "ESCALATION";
@@ -96,6 +185,36 @@ export var CreateContactResult;
96
185
  (function (CreateContactResult) {
97
186
  CreateContactResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
98
187
  })(CreateContactResult || (CreateContactResult = {}));
188
+ var DataEncryptionException = (function (_super) {
189
+ __extends(DataEncryptionException, _super);
190
+ function DataEncryptionException(opts) {
191
+ var _this = _super.call(this, __assign({ name: "DataEncryptionException", $fault: "client" }, opts)) || this;
192
+ _this.name = "DataEncryptionException";
193
+ _this.$fault = "client";
194
+ Object.setPrototypeOf(_this, DataEncryptionException.prototype);
195
+ _this.Message = opts.Message;
196
+ return _this;
197
+ }
198
+ return DataEncryptionException;
199
+ }(__BaseException));
200
+ export { DataEncryptionException };
201
+ var ServiceQuotaExceededException = (function (_super) {
202
+ __extends(ServiceQuotaExceededException, _super);
203
+ function ServiceQuotaExceededException(opts) {
204
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
205
+ _this.name = "ServiceQuotaExceededException";
206
+ _this.$fault = "client";
207
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
208
+ _this.Message = opts.Message;
209
+ _this.ResourceId = opts.ResourceId;
210
+ _this.ResourceType = opts.ResourceType;
211
+ _this.QuotaCode = opts.QuotaCode;
212
+ _this.ServiceCode = opts.ServiceCode;
213
+ return _this;
214
+ }
215
+ return ServiceQuotaExceededException;
216
+ }(__BaseException));
217
+ export { ServiceQuotaExceededException };
99
218
  export var CreateContactChannelRequest;
100
219
  (function (CreateContactChannelRequest) {
101
220
  CreateContactChannelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };