@aws-sdk/client-chime-sdk-identity 3.934.0 → 3.935.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/dist-cjs/index.js +51 -50
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +50 -0
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +1 -195
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +122 -0
- package/dist-types/models/errors.d.ts +130 -0
- package/dist-types/models/models_0.d.ts +1 -251
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +65 -0
- package/dist-types/ts3.4/models/errors.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -142
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,56 +117,6 @@ let ChimeSDKIdentityServiceException$1 = class ChimeSDKIdentityServiceException
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const AllowMessages = {
|
|
121
|
-
ALL: "ALL",
|
|
122
|
-
NONE: "NONE",
|
|
123
|
-
};
|
|
124
|
-
const StandardMessages = {
|
|
125
|
-
ALL: "ALL",
|
|
126
|
-
AUTO: "AUTO",
|
|
127
|
-
MENTIONS: "MENTIONS",
|
|
128
|
-
NONE: "NONE",
|
|
129
|
-
};
|
|
130
|
-
const TargetedMessages = {
|
|
131
|
-
ALL: "ALL",
|
|
132
|
-
NONE: "NONE",
|
|
133
|
-
};
|
|
134
|
-
const RespondsTo = {
|
|
135
|
-
STANDARD_MESSAGES: "STANDARD_MESSAGES",
|
|
136
|
-
};
|
|
137
|
-
const ExpirationCriterion = {
|
|
138
|
-
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
139
|
-
};
|
|
140
|
-
const EndpointStatus = {
|
|
141
|
-
ACTIVE: "ACTIVE",
|
|
142
|
-
INACTIVE: "INACTIVE",
|
|
143
|
-
};
|
|
144
|
-
const EndpointStatusReason = {
|
|
145
|
-
INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
|
|
146
|
-
INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN",
|
|
147
|
-
};
|
|
148
|
-
const AppInstanceUserEndpointType = {
|
|
149
|
-
APNS: "APNS",
|
|
150
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
151
|
-
GCM: "GCM",
|
|
152
|
-
};
|
|
153
|
-
const ErrorCode = {
|
|
154
|
-
AccessDenied: "AccessDenied",
|
|
155
|
-
BadRequest: "BadRequest",
|
|
156
|
-
Conflict: "Conflict",
|
|
157
|
-
Forbidden: "Forbidden",
|
|
158
|
-
NotFound: "NotFound",
|
|
159
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
160
|
-
PreconditionFailed: "PreconditionFailed",
|
|
161
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
162
|
-
ServiceFailure: "ServiceFailure",
|
|
163
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
164
|
-
Throttled: "Throttled",
|
|
165
|
-
Throttling: "Throttling",
|
|
166
|
-
Unauthorized: "Unauthorized",
|
|
167
|
-
Unprocessable: "Unprocessable",
|
|
168
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
169
|
-
};
|
|
170
120
|
let BadRequestException$1 = class BadRequestException extends ChimeSDKIdentityServiceException$1 {
|
|
171
121
|
name = "BadRequestException";
|
|
172
122
|
$fault = "client";
|
|
@@ -1865,6 +1815,57 @@ const paginateListAppInstanceUsers = core.createPaginator(ChimeSDKIdentityClient
|
|
|
1865
1815
|
|
|
1866
1816
|
const paginateListAppInstances = core.createPaginator(ChimeSDKIdentityClient, ListAppInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1867
1817
|
|
|
1818
|
+
const AllowMessages = {
|
|
1819
|
+
ALL: "ALL",
|
|
1820
|
+
NONE: "NONE",
|
|
1821
|
+
};
|
|
1822
|
+
const StandardMessages = {
|
|
1823
|
+
ALL: "ALL",
|
|
1824
|
+
AUTO: "AUTO",
|
|
1825
|
+
MENTIONS: "MENTIONS",
|
|
1826
|
+
NONE: "NONE",
|
|
1827
|
+
};
|
|
1828
|
+
const TargetedMessages = {
|
|
1829
|
+
ALL: "ALL",
|
|
1830
|
+
NONE: "NONE",
|
|
1831
|
+
};
|
|
1832
|
+
const RespondsTo = {
|
|
1833
|
+
STANDARD_MESSAGES: "STANDARD_MESSAGES",
|
|
1834
|
+
};
|
|
1835
|
+
const ExpirationCriterion = {
|
|
1836
|
+
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
1837
|
+
};
|
|
1838
|
+
const EndpointStatus = {
|
|
1839
|
+
ACTIVE: "ACTIVE",
|
|
1840
|
+
INACTIVE: "INACTIVE",
|
|
1841
|
+
};
|
|
1842
|
+
const EndpointStatusReason = {
|
|
1843
|
+
INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
|
|
1844
|
+
INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN",
|
|
1845
|
+
};
|
|
1846
|
+
const AppInstanceUserEndpointType = {
|
|
1847
|
+
APNS: "APNS",
|
|
1848
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
1849
|
+
GCM: "GCM",
|
|
1850
|
+
};
|
|
1851
|
+
const ErrorCode = {
|
|
1852
|
+
AccessDenied: "AccessDenied",
|
|
1853
|
+
BadRequest: "BadRequest",
|
|
1854
|
+
Conflict: "Conflict",
|
|
1855
|
+
Forbidden: "Forbidden",
|
|
1856
|
+
NotFound: "NotFound",
|
|
1857
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
1858
|
+
PreconditionFailed: "PreconditionFailed",
|
|
1859
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
1860
|
+
ServiceFailure: "ServiceFailure",
|
|
1861
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
1862
|
+
Throttled: "Throttled",
|
|
1863
|
+
Throttling: "Throttling",
|
|
1864
|
+
Unauthorized: "Unauthorized",
|
|
1865
|
+
Unprocessable: "Unprocessable",
|
|
1866
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1868
1869
|
Object.defineProperty(exports, "$Command", {
|
|
1869
1870
|
enumerable: true,
|
|
1870
1871
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ChimeSDKIdentityClient";
|
|
|
2
2
|
export * from "./ChimeSDKIdentity";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ChimeSDKIdentityServiceException } from "./models/ChimeSDKIdentityServiceException";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export const AllowMessages = {
|
|
2
|
+
ALL: "ALL",
|
|
3
|
+
NONE: "NONE",
|
|
4
|
+
};
|
|
5
|
+
export const StandardMessages = {
|
|
6
|
+
ALL: "ALL",
|
|
7
|
+
AUTO: "AUTO",
|
|
8
|
+
MENTIONS: "MENTIONS",
|
|
9
|
+
NONE: "NONE",
|
|
10
|
+
};
|
|
11
|
+
export const TargetedMessages = {
|
|
12
|
+
ALL: "ALL",
|
|
13
|
+
NONE: "NONE",
|
|
14
|
+
};
|
|
15
|
+
export const RespondsTo = {
|
|
16
|
+
STANDARD_MESSAGES: "STANDARD_MESSAGES",
|
|
17
|
+
};
|
|
18
|
+
export const ExpirationCriterion = {
|
|
19
|
+
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
20
|
+
};
|
|
21
|
+
export const EndpointStatus = {
|
|
22
|
+
ACTIVE: "ACTIVE",
|
|
23
|
+
INACTIVE: "INACTIVE",
|
|
24
|
+
};
|
|
25
|
+
export const EndpointStatusReason = {
|
|
26
|
+
INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
|
|
27
|
+
INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN",
|
|
28
|
+
};
|
|
29
|
+
export const AppInstanceUserEndpointType = {
|
|
30
|
+
APNS: "APNS",
|
|
31
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
32
|
+
GCM: "GCM",
|
|
33
|
+
};
|
|
34
|
+
export const ErrorCode = {
|
|
35
|
+
AccessDenied: "AccessDenied",
|
|
36
|
+
BadRequest: "BadRequest",
|
|
37
|
+
Conflict: "Conflict",
|
|
38
|
+
Forbidden: "Forbidden",
|
|
39
|
+
NotFound: "NotFound",
|
|
40
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
41
|
+
PreconditionFailed: "PreconditionFailed",
|
|
42
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
43
|
+
ServiceFailure: "ServiceFailure",
|
|
44
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
45
|
+
Throttled: "Throttled",
|
|
46
|
+
Throttling: "Throttling",
|
|
47
|
+
Unauthorized: "Unauthorized",
|
|
48
|
+
Unprocessable: "Unprocessable",
|
|
49
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
50
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { ChimeSDKIdentityServiceException as __BaseException } from "./ChimeSDKIdentityServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BadRequestException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
14
|
+
this.Code = opts.Code;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Code;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.Code = opts.Code;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Code;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.Code = opts.Code;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ResourceLimitExceededException extends __BaseException {
|
|
51
|
+
name = "ResourceLimitExceededException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Code;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ResourceLimitExceededException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
62
|
+
this.Code = opts.Code;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ServiceFailureException extends __BaseException {
|
|
67
|
+
name = "ServiceFailureException";
|
|
68
|
+
$fault = "server";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ServiceFailureException",
|
|
74
|
+
$fault: "server",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
78
|
+
this.Code = opts.Code;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
83
|
+
name = "ServiceUnavailableException";
|
|
84
|
+
$fault = "server";
|
|
85
|
+
Code;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceUnavailableException",
|
|
90
|
+
$fault: "server",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
94
|
+
this.Code = opts.Code;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ThrottledClientException extends __BaseException {
|
|
99
|
+
name = "ThrottledClientException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Code;
|
|
102
|
+
Message;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ThrottledClientException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
110
|
+
this.Code = opts.Code;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class UnauthorizedClientException extends __BaseException {
|
|
115
|
+
name = "UnauthorizedClientException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Code;
|
|
118
|
+
Message;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "UnauthorizedClientException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
126
|
+
this.Code = opts.Code;
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class NotFoundException extends __BaseException {
|
|
131
|
+
name = "NotFoundException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Code;
|
|
134
|
+
Message;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "NotFoundException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
142
|
+
this.Code = opts.Code;
|
|
143
|
+
this.Message = opts.Message;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -1,195 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const AllowMessages = {
|
|
3
|
-
ALL: "ALL",
|
|
4
|
-
NONE: "NONE",
|
|
5
|
-
};
|
|
6
|
-
export const StandardMessages = {
|
|
7
|
-
ALL: "ALL",
|
|
8
|
-
AUTO: "AUTO",
|
|
9
|
-
MENTIONS: "MENTIONS",
|
|
10
|
-
NONE: "NONE",
|
|
11
|
-
};
|
|
12
|
-
export const TargetedMessages = {
|
|
13
|
-
ALL: "ALL",
|
|
14
|
-
NONE: "NONE",
|
|
15
|
-
};
|
|
16
|
-
export const RespondsTo = {
|
|
17
|
-
STANDARD_MESSAGES: "STANDARD_MESSAGES",
|
|
18
|
-
};
|
|
19
|
-
export const ExpirationCriterion = {
|
|
20
|
-
CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
|
|
21
|
-
};
|
|
22
|
-
export const EndpointStatus = {
|
|
23
|
-
ACTIVE: "ACTIVE",
|
|
24
|
-
INACTIVE: "INACTIVE",
|
|
25
|
-
};
|
|
26
|
-
export const EndpointStatusReason = {
|
|
27
|
-
INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
|
|
28
|
-
INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN",
|
|
29
|
-
};
|
|
30
|
-
export const AppInstanceUserEndpointType = {
|
|
31
|
-
APNS: "APNS",
|
|
32
|
-
APNS_SANDBOX: "APNS_SANDBOX",
|
|
33
|
-
GCM: "GCM",
|
|
34
|
-
};
|
|
35
|
-
export const ErrorCode = {
|
|
36
|
-
AccessDenied: "AccessDenied",
|
|
37
|
-
BadRequest: "BadRequest",
|
|
38
|
-
Conflict: "Conflict",
|
|
39
|
-
Forbidden: "Forbidden",
|
|
40
|
-
NotFound: "NotFound",
|
|
41
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
42
|
-
PreconditionFailed: "PreconditionFailed",
|
|
43
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
44
|
-
ServiceFailure: "ServiceFailure",
|
|
45
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
46
|
-
Throttled: "Throttled",
|
|
47
|
-
Throttling: "Throttling",
|
|
48
|
-
Unauthorized: "Unauthorized",
|
|
49
|
-
Unprocessable: "Unprocessable",
|
|
50
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
51
|
-
};
|
|
52
|
-
export class BadRequestException extends __BaseException {
|
|
53
|
-
name = "BadRequestException";
|
|
54
|
-
$fault = "client";
|
|
55
|
-
Code;
|
|
56
|
-
Message;
|
|
57
|
-
constructor(opts) {
|
|
58
|
-
super({
|
|
59
|
-
name: "BadRequestException",
|
|
60
|
-
$fault: "client",
|
|
61
|
-
...opts,
|
|
62
|
-
});
|
|
63
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
64
|
-
this.Code = opts.Code;
|
|
65
|
-
this.Message = opts.Message;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export class ConflictException extends __BaseException {
|
|
69
|
-
name = "ConflictException";
|
|
70
|
-
$fault = "client";
|
|
71
|
-
Code;
|
|
72
|
-
Message;
|
|
73
|
-
constructor(opts) {
|
|
74
|
-
super({
|
|
75
|
-
name: "ConflictException",
|
|
76
|
-
$fault: "client",
|
|
77
|
-
...opts,
|
|
78
|
-
});
|
|
79
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
80
|
-
this.Code = opts.Code;
|
|
81
|
-
this.Message = opts.Message;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
export class ForbiddenException extends __BaseException {
|
|
85
|
-
name = "ForbiddenException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
Code;
|
|
88
|
-
Message;
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ForbiddenException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
96
|
-
this.Code = opts.Code;
|
|
97
|
-
this.Message = opts.Message;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export class ResourceLimitExceededException extends __BaseException {
|
|
101
|
-
name = "ResourceLimitExceededException";
|
|
102
|
-
$fault = "client";
|
|
103
|
-
Code;
|
|
104
|
-
Message;
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "ResourceLimitExceededException",
|
|
108
|
-
$fault: "client",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
112
|
-
this.Code = opts.Code;
|
|
113
|
-
this.Message = opts.Message;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
export class ServiceFailureException extends __BaseException {
|
|
117
|
-
name = "ServiceFailureException";
|
|
118
|
-
$fault = "server";
|
|
119
|
-
Code;
|
|
120
|
-
Message;
|
|
121
|
-
constructor(opts) {
|
|
122
|
-
super({
|
|
123
|
-
name: "ServiceFailureException",
|
|
124
|
-
$fault: "server",
|
|
125
|
-
...opts,
|
|
126
|
-
});
|
|
127
|
-
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
128
|
-
this.Code = opts.Code;
|
|
129
|
-
this.Message = opts.Message;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
133
|
-
name = "ServiceUnavailableException";
|
|
134
|
-
$fault = "server";
|
|
135
|
-
Code;
|
|
136
|
-
Message;
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "ServiceUnavailableException",
|
|
140
|
-
$fault: "server",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
144
|
-
this.Code = opts.Code;
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
export class ThrottledClientException extends __BaseException {
|
|
149
|
-
name = "ThrottledClientException";
|
|
150
|
-
$fault = "client";
|
|
151
|
-
Code;
|
|
152
|
-
Message;
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "ThrottledClientException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
160
|
-
this.Code = opts.Code;
|
|
161
|
-
this.Message = opts.Message;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
export class UnauthorizedClientException extends __BaseException {
|
|
165
|
-
name = "UnauthorizedClientException";
|
|
166
|
-
$fault = "client";
|
|
167
|
-
Code;
|
|
168
|
-
Message;
|
|
169
|
-
constructor(opts) {
|
|
170
|
-
super({
|
|
171
|
-
name: "UnauthorizedClientException",
|
|
172
|
-
$fault: "client",
|
|
173
|
-
...opts,
|
|
174
|
-
});
|
|
175
|
-
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
176
|
-
this.Code = opts.Code;
|
|
177
|
-
this.Message = opts.Message;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
export class NotFoundException extends __BaseException {
|
|
181
|
-
name = "NotFoundException";
|
|
182
|
-
$fault = "client";
|
|
183
|
-
Code;
|
|
184
|
-
Message;
|
|
185
|
-
constructor(opts) {
|
|
186
|
-
super({
|
|
187
|
-
name: "NotFoundException",
|
|
188
|
-
$fault: "client",
|
|
189
|
-
...opts,
|
|
190
|
-
});
|
|
191
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
192
|
-
this.Code = opts.Code;
|
|
193
|
-
this.Message = opts.Message;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
1
|
+
export {};
|
|
@@ -185,7 +185,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.chimesdkidentity";
|
|
|
185
185
|
const n0 = "com.amazonaws.chimesdkidentity";
|
|
186
186
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
187
187
|
import { ChimeSDKIdentityServiceException as __ChimeSDKIdentityServiceException } from "../models/ChimeSDKIdentityServiceException";
|
|
188
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, NotFoundException as __NotFoundException, ResourceLimitExceededException as __ResourceLimitExceededException, ServiceFailureException as __ServiceFailureException, ServiceUnavailableException as __ServiceUnavailableException, ThrottledClientException as __ThrottledClientException, UnauthorizedClientException as __UnauthorizedClientException, } from "../models/
|
|
188
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, NotFoundException as __NotFoundException, ResourceLimitExceededException as __ResourceLimitExceededException, ServiceFailureException as __ServiceFailureException, ServiceUnavailableException as __ServiceUnavailableException, ThrottledClientException as __ThrottledClientException, UnauthorizedClientException as __UnauthorizedClientException, } from "../models/errors";
|
|
189
189
|
export var Metadata = [0, n0, _M, 8, 0];
|
|
190
190
|
export var NextToken = [0, n0, _NT, 8, 0];
|
|
191
191
|
export var NonEmptyResourceName = [0, n0, _NERN, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
13
13
|
export type { ChimeSDKIdentityExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
15
|
export * from "./pagination";
|
|
16
|
-
export * from "./models";
|
|
16
|
+
export * from "./models/enums";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
17
19
|
export { ChimeSDKIdentityServiceException } from "./models/ChimeSDKIdentityServiceException";
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AllowMessages: {
|
|
6
|
+
readonly ALL: "ALL";
|
|
7
|
+
readonly NONE: "NONE";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type AllowMessages = (typeof AllowMessages)[keyof typeof AllowMessages];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const StandardMessages: {
|
|
18
|
+
readonly ALL: "ALL";
|
|
19
|
+
readonly AUTO: "AUTO";
|
|
20
|
+
readonly MENTIONS: "MENTIONS";
|
|
21
|
+
readonly NONE: "NONE";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type StandardMessages = (typeof StandardMessages)[keyof typeof StandardMessages];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const TargetedMessages: {
|
|
32
|
+
readonly ALL: "ALL";
|
|
33
|
+
readonly NONE: "NONE";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type TargetedMessages = (typeof TargetedMessages)[keyof typeof TargetedMessages];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const RespondsTo: {
|
|
44
|
+
readonly STANDARD_MESSAGES: "STANDARD_MESSAGES";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const ExpirationCriterion: {
|
|
55
|
+
readonly CREATED_TIMESTAMP: "CREATED_TIMESTAMP";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type ExpirationCriterion = (typeof ExpirationCriterion)[keyof typeof ExpirationCriterion];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const EndpointStatus: {
|
|
66
|
+
readonly ACTIVE: "ACTIVE";
|
|
67
|
+
readonly INACTIVE: "INACTIVE";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type EndpointStatus = (typeof EndpointStatus)[keyof typeof EndpointStatus];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const EndpointStatusReason: {
|
|
78
|
+
readonly INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN";
|
|
79
|
+
readonly INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN";
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export type EndpointStatusReason = (typeof EndpointStatusReason)[keyof typeof EndpointStatusReason];
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @enum
|
|
88
|
+
*/
|
|
89
|
+
export declare const AppInstanceUserEndpointType: {
|
|
90
|
+
readonly APNS: "APNS";
|
|
91
|
+
readonly APNS_SANDBOX: "APNS_SANDBOX";
|
|
92
|
+
readonly GCM: "GCM";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type AppInstanceUserEndpointType = (typeof AppInstanceUserEndpointType)[keyof typeof AppInstanceUserEndpointType];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @enum
|
|
101
|
+
*/
|
|
102
|
+
export declare const ErrorCode: {
|
|
103
|
+
readonly AccessDenied: "AccessDenied";
|
|
104
|
+
readonly BadRequest: "BadRequest";
|
|
105
|
+
readonly Conflict: "Conflict";
|
|
106
|
+
readonly Forbidden: "Forbidden";
|
|
107
|
+
readonly NotFound: "NotFound";
|
|
108
|
+
readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
|
|
109
|
+
readonly PreconditionFailed: "PreconditionFailed";
|
|
110
|
+
readonly ResourceLimitExceeded: "ResourceLimitExceeded";
|
|
111
|
+
readonly ServiceFailure: "ServiceFailure";
|
|
112
|
+
readonly ServiceUnavailable: "ServiceUnavailable";
|
|
113
|
+
readonly Throttled: "Throttled";
|
|
114
|
+
readonly Throttling: "Throttling";
|
|
115
|
+
readonly Unauthorized: "Unauthorized";
|
|
116
|
+
readonly Unprocessable: "Unprocessable";
|
|
117
|
+
readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|