@aws-sdk/client-repostspace 3.933.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.
@@ -1,19 +1,13 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { RepostspaceServiceException as __BaseException } from "./RepostspaceServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
- export declare const ChannelRole: {
11
- readonly ASKER: "ASKER";
12
- readonly EXPERT: "EXPERT";
13
- readonly MODERATOR: "MODERATOR";
14
- readonly SUPPORTREQUESTOR: "SUPPORTREQUESTOR";
15
- };
16
- export type ChannelRole = (typeof ChannelRole)[keyof typeof ChannelRole];
1
+ import {
2
+ ChannelRole,
3
+ ChannelStatus,
4
+ ConfigurationStatus,
5
+ FeatureEnableParameter,
6
+ FeatureEnableStatus,
7
+ Role,
8
+ TierLevel,
9
+ VanityDomainStatus,
10
+ } from "./enums";
17
11
  export interface BatchAddChannelRoleToAccessorsInput {
18
12
  spaceId: string | undefined;
19
13
  channelId: string | undefined;
@@ -29,65 +23,10 @@ export interface BatchAddChannelRoleToAccessorsOutput {
29
23
  addedAccessorIds: string[] | undefined;
30
24
  errors: BatchError[] | undefined;
31
25
  }
32
- export declare class InternalServerException extends __BaseException {
33
- readonly name: "InternalServerException";
34
- readonly $fault: "server";
35
- $retryable: {};
36
- retryAfterSeconds?: number | undefined;
37
- constructor(
38
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
39
- );
40
- }
41
- export declare class ResourceNotFoundException extends __BaseException {
42
- readonly name: "ResourceNotFoundException";
43
- readonly $fault: "client";
44
- resourceId: string | undefined;
45
- resourceType: string | undefined;
46
- constructor(
47
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
48
- );
49
- }
50
- export declare class ThrottlingException extends __BaseException {
51
- readonly name: "ThrottlingException";
52
- readonly $fault: "client";
53
- $retryable: {
54
- throttling: boolean;
55
- };
56
- serviceCode?: string | undefined;
57
- quotaCode?: string | undefined;
58
- retryAfterSeconds?: number | undefined;
59
- constructor(
60
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
61
- );
62
- }
63
26
  export interface ValidationExceptionField {
64
27
  name: string | undefined;
65
28
  message: string | undefined;
66
29
  }
67
- export declare const ValidationExceptionReason: {
68
- readonly CANNOT_PARSE: "cannotParse";
69
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
70
- readonly OTHER: "other";
71
- readonly UNKNOWN_OPERATION: "unknownOperation";
72
- };
73
- export type ValidationExceptionReason =
74
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
75
- export declare class ValidationException extends __BaseException {
76
- readonly name: "ValidationException";
77
- readonly $fault: "client";
78
- reason: ValidationExceptionReason | undefined;
79
- fieldList?: ValidationExceptionField[] | undefined;
80
- constructor(
81
- opts: __ExceptionOptionType<ValidationException, __BaseException>
82
- );
83
- }
84
- export declare const Role: {
85
- readonly ADMINISTRATOR: "ADMINISTRATOR";
86
- readonly EXPERT: "EXPERT";
87
- readonly MODERATOR: "MODERATOR";
88
- readonly SUPPORTREQUESTOR: "SUPPORTREQUESTOR";
89
- };
90
- export type Role = (typeof Role)[keyof typeof Role];
91
30
  export interface BatchAddRoleInput {
92
31
  spaceId: string | undefined;
93
32
  accessorIds: string[] | undefined;
@@ -116,15 +55,6 @@ export interface BatchRemoveRoleOutput {
116
55
  removedAccessorIds: string[] | undefined;
117
56
  errors: BatchError[] | undefined;
118
57
  }
119
- export declare const ChannelStatus: {
120
- readonly CREATED: "CREATED";
121
- readonly CREATE_FAILED: "CREATE_FAILED";
122
- readonly CREATING: "CREATING";
123
- readonly DELETED: "DELETED";
124
- readonly DELETE_FAILED: "DELETE_FAILED";
125
- readonly DELETING: "DELETING";
126
- };
127
- export type ChannelStatus = (typeof ChannelStatus)[keyof typeof ChannelStatus];
128
58
  export interface ChannelData {
129
59
  spaceId: string | undefined;
130
60
  channelId: string | undefined;
@@ -136,19 +66,6 @@ export interface ChannelData {
136
66
  userCount: number | undefined;
137
67
  groupCount: number | undefined;
138
68
  }
139
- export declare const ConfigurationStatus: {
140
- readonly CONFIGURED: "CONFIGURED";
141
- readonly UNCONFIGURED: "UNCONFIGURED";
142
- };
143
- export type ConfigurationStatus =
144
- (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
145
- export declare class ConflictException extends __BaseException {
146
- readonly name: "ConflictException";
147
- readonly $fault: "client";
148
- resourceId: string | undefined;
149
- resourceType: string | undefined;
150
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
151
- }
152
69
  export interface CreateChannelInput {
153
70
  spaceId: string | undefined;
154
71
  channelName: string | undefined;
@@ -157,32 +74,10 @@ export interface CreateChannelInput {
157
74
  export interface CreateChannelOutput {
158
75
  channelId: string | undefined;
159
76
  }
160
- export declare class ServiceQuotaExceededException extends __BaseException {
161
- readonly name: "ServiceQuotaExceededException";
162
- readonly $fault: "client";
163
- resourceId: string | undefined;
164
- resourceType: string | undefined;
165
- serviceCode: string | undefined;
166
- quotaCode: string | undefined;
167
- constructor(
168
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
169
- );
170
- }
171
- export declare const FeatureEnableParameter: {
172
- readonly DISABLED: "DISABLED";
173
- readonly ENABLED: "ENABLED";
174
- };
175
- export type FeatureEnableParameter =
176
- (typeof FeatureEnableParameter)[keyof typeof FeatureEnableParameter];
177
77
  export interface SupportedEmailDomainsParameters {
178
78
  enabled?: FeatureEnableParameter | undefined;
179
79
  allowedDomains?: string[] | undefined;
180
80
  }
181
- export declare const TierLevel: {
182
- readonly BASIC: "BASIC";
183
- readonly STANDARD: "STANDARD";
184
- };
185
- export type TierLevel = (typeof TierLevel)[keyof typeof TierLevel];
186
81
  export interface CreateSpaceInput {
187
82
  name: string | undefined;
188
83
  subdomain: string | undefined;
@@ -203,13 +98,6 @@ export interface DeregisterAdminInput {
203
98
  spaceId: string | undefined;
204
99
  adminId: string | undefined;
205
100
  }
206
- export declare const FeatureEnableStatus: {
207
- readonly DISABLED: "DISABLED";
208
- readonly ENABLED: "ENABLED";
209
- readonly NOT_ALLOWED: "NOT_ALLOWED";
210
- };
211
- export type FeatureEnableStatus =
212
- (typeof FeatureEnableStatus)[keyof typeof FeatureEnableStatus];
213
101
  export interface GetChannelInput {
214
102
  spaceId: string | undefined;
215
103
  channelId: string | undefined;
@@ -231,13 +119,6 @@ export interface SupportedEmailDomainsStatus {
231
119
  enabled?: FeatureEnableStatus | undefined;
232
120
  allowedDomains?: string[] | undefined;
233
121
  }
234
- export declare const VanityDomainStatus: {
235
- readonly APPROVED: "APPROVED";
236
- readonly PENDING: "PENDING";
237
- readonly UNAPPROVED: "UNAPPROVED";
238
- };
239
- export type VanityDomainStatus =
240
- (typeof VanityDomainStatus)[keyof typeof VanityDomainStatus];
241
122
  export interface GetSpaceOutput {
242
123
  spaceId: string | undefined;
243
124
  arn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-repostspace",
3
3
  "description": "AWS SDK for JavaScript Repostspace Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-repostspace",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";