@aws-sdk/client-support-app 3.155.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 (108) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +260 -0
  4. package/dist-cjs/SupportApp.js +142 -0
  5. package/dist-cjs/SupportAppClient.js +37 -0
  6. package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteAccountAliasCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteSlackWorkspaceConfigurationCommand.js +36 -0
  10. package/dist-cjs/commands/GetAccountAliasCommand.js +36 -0
  11. package/dist-cjs/commands/ListSlackChannelConfigurationsCommand.js +36 -0
  12. package/dist-cjs/commands/ListSlackWorkspaceConfigurationsCommand.js +36 -0
  13. package/dist-cjs/commands/PutAccountAliasCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/endpoints.js +131 -0
  17. package/dist-cjs/index.js +11 -0
  18. package/dist-cjs/models/SupportAppServiceException.js +11 -0
  19. package/dist-cjs/models/index.js +4 -0
  20. package/dist-cjs/models/models_0.js +168 -0
  21. package/dist-cjs/pagination/Interfaces.js +2 -0
  22. package/dist-cjs/pagination/ListSlackChannelConfigurationsPaginator.js +35 -0
  23. package/dist-cjs/pagination/ListSlackWorkspaceConfigurationsPaginator.js +35 -0
  24. package/dist-cjs/pagination/index.js +6 -0
  25. package/dist-cjs/protocols/Aws_restJson1.js +766 -0
  26. package/dist-cjs/runtimeConfig.browser.js +45 -0
  27. package/dist-cjs/runtimeConfig.js +52 -0
  28. package/dist-cjs/runtimeConfig.native.js +16 -0
  29. package/dist-cjs/runtimeConfig.shared.js +17 -0
  30. package/dist-es/SupportApp.js +145 -0
  31. package/dist-es/SupportAppClient.js +39 -0
  32. package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +39 -0
  33. package/dist-es/commands/DeleteAccountAliasCommand.js +39 -0
  34. package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +39 -0
  35. package/dist-es/commands/DeleteSlackWorkspaceConfigurationCommand.js +39 -0
  36. package/dist-es/commands/GetAccountAliasCommand.js +39 -0
  37. package/dist-es/commands/ListSlackChannelConfigurationsCommand.js +39 -0
  38. package/dist-es/commands/ListSlackWorkspaceConfigurationsCommand.js +39 -0
  39. package/dist-es/commands/PutAccountAliasCommand.js +39 -0
  40. package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +39 -0
  41. package/dist-es/commands/index.js +9 -0
  42. package/dist-es/endpoints.js +127 -0
  43. package/dist-es/index.js +6 -0
  44. package/dist-es/models/SupportAppServiceException.js +12 -0
  45. package/dist-es/models/index.js +1 -0
  46. package/dist-es/models/models_0.js +100 -0
  47. package/dist-es/pagination/Interfaces.js +1 -0
  48. package/dist-es/pagination/ListSlackChannelConfigurationsPaginator.js +74 -0
  49. package/dist-es/pagination/ListSlackWorkspaceConfigurationsPaginator.js +74 -0
  50. package/dist-es/pagination/index.js +3 -0
  51. package/dist-es/protocols/Aws_restJson1.js +997 -0
  52. package/dist-es/runtimeConfig.browser.js +26 -0
  53. package/dist-es/runtimeConfig.js +30 -0
  54. package/dist-es/runtimeConfig.native.js +8 -0
  55. package/dist-es/runtimeConfig.shared.js +13 -0
  56. package/dist-types/SupportApp.d.ts +150 -0
  57. package/dist-types/SupportAppClient.d.ts +207 -0
  58. package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +55 -0
  59. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +36 -0
  60. package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +36 -0
  61. package/dist-types/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +36 -0
  62. package/dist-types/commands/GetAccountAliasCommand.d.ts +36 -0
  63. package/dist-types/commands/ListSlackChannelConfigurationsCommand.d.ts +35 -0
  64. package/dist-types/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +35 -0
  65. package/dist-types/commands/PutAccountAliasCommand.d.ts +37 -0
  66. package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +35 -0
  67. package/dist-types/commands/index.d.ts +9 -0
  68. package/dist-types/endpoints.d.ts +2 -0
  69. package/dist-types/index.d.ts +6 -0
  70. package/dist-types/models/SupportAppServiceException.d.ts +10 -0
  71. package/dist-types/models/index.d.ts +1 -0
  72. package/dist-types/models/models_0.d.ts +502 -0
  73. package/dist-types/pagination/Interfaces.d.ts +6 -0
  74. package/dist-types/pagination/ListSlackChannelConfigurationsPaginator.d.ts +4 -0
  75. package/dist-types/pagination/ListSlackWorkspaceConfigurationsPaginator.d.ts +4 -0
  76. package/dist-types/pagination/index.d.ts +3 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  79. package/dist-types/runtimeConfig.d.ts +40 -0
  80. package/dist-types/runtimeConfig.native.d.ts +39 -0
  81. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  82. package/dist-types/ts3.4/SupportApp.d.ts +50 -0
  83. package/dist-types/ts3.4/SupportAppClient.d.ts +82 -0
  84. package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/GetAccountAliasCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListSlackChannelConfigurationsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/PutAccountAliasCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  94. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  95. package/dist-types/ts3.4/index.d.ts +6 -0
  96. package/dist-types/ts3.4/models/SupportAppServiceException.d.ts +6 -0
  97. package/dist-types/ts3.4/models/index.d.ts +1 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +219 -0
  99. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  100. package/dist-types/ts3.4/pagination/ListSlackChannelConfigurationsPaginator.d.ts +4 -0
  101. package/dist-types/ts3.4/pagination/ListSlackWorkspaceConfigurationsPaginator.d.ts +4 -0
  102. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  103. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +29 -0
  104. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  105. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  107. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  108. package/package.json +99 -0
@@ -0,0 +1,502 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SupportAppServiceException as __BaseException } from "./SupportAppServiceException";
3
+ /**
4
+ * <p>You don't have sufficient permission to perform this action.</p>
5
+ */
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
13
+ }
14
+ /**
15
+ * <p>Your request has a conflict. For example, you might receive this error if you try the
16
+ * following:</p>
17
+ * <ul>
18
+ * <li>
19
+ * <p>Add, update, or delete a Slack channel configuration before you add a Slack workspace
20
+ * to your Amazon Web Services account.</p>
21
+ * </li>
22
+ * <li>
23
+ * <p>Add a Slack channel configuration that already exists in your Amazon Web Services account.</p>
24
+ * </li>
25
+ * <li>
26
+ * <p>Delete a Slack channel configuration for a live chat channel.</p>
27
+ * </li>
28
+ * <li>
29
+ * <p>Delete a Slack workspace from your Amazon Web Services account that has an active live chat
30
+ * channel.</p>
31
+ * </li>
32
+ * </ul>
33
+ */
34
+ export declare class ConflictException extends __BaseException {
35
+ readonly name: "ConflictException";
36
+ readonly $fault: "client";
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
41
+ }
42
+ export declare enum NotificationSeverityLevel {
43
+ ALL = "all",
44
+ HIGH = "high",
45
+ NONE = "none"
46
+ }
47
+ export interface CreateSlackChannelConfigurationRequest {
48
+ /**
49
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
50
+ */
51
+ teamId: string | undefined;
52
+ /**
53
+ * <p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p>
54
+ */
55
+ channelId: string | undefined;
56
+ /**
57
+ * <p>The name of the Slack channel that you configure for the Amazon Web Services Support App.</p>
58
+ */
59
+ channelName?: string;
60
+ /**
61
+ * <p>Whether you want to get notified when a support case is created or reopened.</p>
62
+ */
63
+ notifyOnCreateOrReopenCase?: boolean;
64
+ /**
65
+ * <p>Whether you want to get notified when a support case has a new correspondence.</p>
66
+ */
67
+ notifyOnAddCorrespondenceToCase?: boolean;
68
+ /**
69
+ * <p>Whether you want to get notified when a support case is resolved.</p>
70
+ */
71
+ notifyOnResolveCase?: boolean;
72
+ /**
73
+ * <p>The case severity for a support case that you want to receive notifications.</p>
74
+ *
75
+ * <p>If you specify <code>high</code> or <code>all</code>, you must specify <code>true</code>
76
+ * for at least one of the following parameters:</p>
77
+ * <ul>
78
+ * <li>
79
+ * <p>
80
+ * <code>notifyOnAddCorrespondenceToCase</code>
81
+ * </p>
82
+ * </li>
83
+ * <li>
84
+ * <p>
85
+ * <code>notifyOnCreateOrReopenCase</code>
86
+ * </p>
87
+ * </li>
88
+ * <li>
89
+ * <p>
90
+ * <code>notifyOnResolveCase</code>
91
+ * </p>
92
+ * </li>
93
+ * </ul>
94
+ *
95
+ * <p>If you specify <code>none</code>, the following parameters must be null or
96
+ * <code>false</code>:</p>
97
+ *
98
+ * <ul>
99
+ * <li>
100
+ * <p>
101
+ * <code>notifyOnAddCorrespondenceToCase</code>
102
+ * </p>
103
+ * </li>
104
+ * <li>
105
+ * <p>
106
+ * <code>notifyOnCreateOrReopenCase</code>
107
+ * </p>
108
+ * </li>
109
+ * <li>
110
+ * <p>
111
+ * <code>notifyOnResolveCase</code>
112
+ * </p>
113
+ * </li>
114
+ * </ul>
115
+ *
116
+ * <note>
117
+ * <p>If you don't specify these parameters in your request, they default to
118
+ * <code>false</code>.</p>
119
+ * </note>
120
+ */
121
+ notifyOnCaseSeverity: NotificationSeverityLevel | string | undefined;
122
+ /**
123
+ * <p>The Amazon Resource Name (ARN) of an IAM role that you want to
124
+ * use to perform operations on Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html">Managing access to
125
+ * the Amazon Web Services Support App</a> in the <i>Amazon Web Services Support User Guide</i>.</p>
126
+ */
127
+ channelRoleArn: string | undefined;
128
+ }
129
+ export interface CreateSlackChannelConfigurationResult {
130
+ }
131
+ /**
132
+ * <p>We can’t process your request right now because of a server issue. Try again later.</p>
133
+ */
134
+ export declare class InternalServerException extends __BaseException {
135
+ readonly name: "InternalServerException";
136
+ readonly $fault: "server";
137
+ /**
138
+ * @internal
139
+ */
140
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
141
+ }
142
+ /**
143
+ * <p>Your Service Quotas request exceeds the quota for the service. For example, your Service Quotas request to
144
+ * Amazon Web Services Support App might exceed the maximum number of workspaces or channels per account, or the maximum
145
+ * number of accounts per Slack channel.</p>
146
+ */
147
+ export declare class ServiceQuotaExceededException extends __BaseException {
148
+ readonly name: "ServiceQuotaExceededException";
149
+ readonly $fault: "client";
150
+ /**
151
+ * @internal
152
+ */
153
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
154
+ }
155
+ /**
156
+ * <p>Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.</p>
157
+ */
158
+ export declare class ValidationException extends __BaseException {
159
+ readonly name: "ValidationException";
160
+ readonly $fault: "client";
161
+ /**
162
+ * @internal
163
+ */
164
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
165
+ }
166
+ export interface DeleteAccountAliasRequest {
167
+ }
168
+ export interface DeleteAccountAliasResult {
169
+ }
170
+ /**
171
+ * <p>The specified resource is missing or doesn't exist, such as an account alias or Slack
172
+ * channel configuration.</p>
173
+ */
174
+ export declare class ResourceNotFoundException extends __BaseException {
175
+ readonly name: "ResourceNotFoundException";
176
+ readonly $fault: "client";
177
+ /**
178
+ * @internal
179
+ */
180
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
181
+ }
182
+ export interface DeleteSlackChannelConfigurationRequest {
183
+ /**
184
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
185
+ */
186
+ teamId: string | undefined;
187
+ /**
188
+ * <p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p>
189
+ */
190
+ channelId: string | undefined;
191
+ }
192
+ export interface DeleteSlackChannelConfigurationResult {
193
+ }
194
+ export interface DeleteSlackWorkspaceConfigurationRequest {
195
+ /**
196
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
197
+ */
198
+ teamId: string | undefined;
199
+ }
200
+ export interface DeleteSlackWorkspaceConfigurationResult {
201
+ }
202
+ export interface GetAccountAliasRequest {
203
+ }
204
+ export interface GetAccountAliasResult {
205
+ /**
206
+ * <p>An alias or short name for an Amazon Web Services account.</p>
207
+ */
208
+ accountAlias?: string;
209
+ }
210
+ export interface ListSlackChannelConfigurationsRequest {
211
+ /**
212
+ * <p>If the results of a search are large, the API only returns a portion of the results and
213
+ * includes a <code>nextToken</code> pagination token in the response. To retrieve the next batch of results, reissue the search request and include the returned token.
214
+ * When the API returns the last set of results, the response doesn't include a pagination token value.</p>
215
+ */
216
+ nextToken?: string;
217
+ }
218
+ /**
219
+ * <p>The configuration for a Slack channel that you added to an Amazon Web Services account.</p>
220
+ */
221
+ export interface SlackChannelConfiguration {
222
+ /**
223
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
224
+ */
225
+ teamId: string | undefined;
226
+ /**
227
+ * <p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p>
228
+ */
229
+ channelId: string | undefined;
230
+ /**
231
+ * <p>The name of the Slack channel that you configured with the Amazon Web Services Support App.</p>
232
+ */
233
+ channelName?: string;
234
+ /**
235
+ * <p>Whether you want to get notified when a support case is created or reopened.</p>
236
+ */
237
+ notifyOnCreateOrReopenCase?: boolean;
238
+ /**
239
+ * <p>Whether you want to get notified when a support case has a new correspondence.</p>
240
+ */
241
+ notifyOnAddCorrespondenceToCase?: boolean;
242
+ /**
243
+ * <p>Whether you want to get notified when a support case is resolved.</p>
244
+ */
245
+ notifyOnResolveCase?: boolean;
246
+ /**
247
+ * <p>The case severity for a support case that you want to receive notifications.</p>
248
+ */
249
+ notifyOnCaseSeverity?: NotificationSeverityLevel | string;
250
+ /**
251
+ * <p>The Amazon Resource Name (ARN) of an IAM role that you want to
252
+ * use to perform operations on Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html">Managing access to
253
+ * the Amazon Web Services Support App</a> in the <i>Amazon Web Services Support User Guide</i>.</p>
254
+ */
255
+ channelRoleArn?: string;
256
+ }
257
+ export interface ListSlackChannelConfigurationsResult {
258
+ /**
259
+ * <p>The point where pagination should resume when the response returns only partial
260
+ * results.</p>
261
+ */
262
+ nextToken?: string;
263
+ /**
264
+ * <p>The configurations for a Slack channel.</p>
265
+ */
266
+ slackChannelConfigurations: SlackChannelConfiguration[] | undefined;
267
+ }
268
+ export interface ListSlackWorkspaceConfigurationsRequest {
269
+ /**
270
+ * <p>If the results of a search are large, the API only returns a portion of the results and
271
+ * includes a <code>nextToken</code> pagination token in the response. To retrieve the next batch of results, reissue the search request and include the returned token.
272
+ * When the API returns the last set of results, the response doesn't include a pagination token value.</p>
273
+ */
274
+ nextToken?: string;
275
+ }
276
+ /**
277
+ * <p>The configuration for a Slack workspace that you added to an Amazon Web Services account.</p>
278
+ */
279
+ export interface SlackWorkspaceConfiguration {
280
+ /**
281
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
282
+ */
283
+ teamId: string | undefined;
284
+ }
285
+ export interface ListSlackWorkspaceConfigurationsResult {
286
+ /**
287
+ * <p>The point where pagination should resume when the response returns only partial
288
+ * results.</p>
289
+ */
290
+ nextToken?: string;
291
+ /**
292
+ * <p>The configurations for a Slack workspace.</p>
293
+ */
294
+ slackWorkspaceConfigurations?: SlackWorkspaceConfiguration[];
295
+ }
296
+ export interface PutAccountAliasRequest {
297
+ /**
298
+ * <p>An alias or short name for an Amazon Web Services account.</p>
299
+ */
300
+ accountAlias: string | undefined;
301
+ }
302
+ export interface PutAccountAliasResult {
303
+ }
304
+ export interface UpdateSlackChannelConfigurationRequest {
305
+ /**
306
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
307
+ */
308
+ teamId: string | undefined;
309
+ /**
310
+ * <p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p>
311
+ */
312
+ channelId: string | undefined;
313
+ /**
314
+ * <p>The Slack channel name that you want to update.</p>
315
+ */
316
+ channelName?: string;
317
+ /**
318
+ * <p>Whether you want to get notified when a support case is created or reopened.</p>
319
+ */
320
+ notifyOnCreateOrReopenCase?: boolean;
321
+ /**
322
+ * <p>Whether you want to get notified when a support case has a new correspondence.</p>
323
+ */
324
+ notifyOnAddCorrespondenceToCase?: boolean;
325
+ /**
326
+ * <p>Whether you want to get notified when a support case is resolved.</p>
327
+ */
328
+ notifyOnResolveCase?: boolean;
329
+ /**
330
+ * <p>The case severity for a support case that you want to receive notifications.</p>
331
+ *
332
+ * <p>If you specify <code>high</code> or <code>all</code>, at least one of the following
333
+ * parameters must be <code>true</code>:</p>
334
+ * <ul>
335
+ * <li>
336
+ * <p>
337
+ * <code>notifyOnAddCorrespondenceToCase</code>
338
+ * </p>
339
+ * </li>
340
+ * <li>
341
+ * <p>
342
+ * <code>notifyOnCreateOrReopenCase</code>
343
+ * </p>
344
+ * </li>
345
+ * <li>
346
+ * <p>
347
+ * <code>notifyOnResolveCase</code>
348
+ * </p>
349
+ * </li>
350
+ * </ul>
351
+ *
352
+ *
353
+ * <p>If you specify <code>none</code>, any of the following parameters that you specify in your
354
+ * request must be <code>false</code>:</p>
355
+ *
356
+ * <ul>
357
+ * <li>
358
+ * <p>
359
+ * <code>notifyOnAddCorrespondenceToCase</code>
360
+ * </p>
361
+ * </li>
362
+ * <li>
363
+ * <p>
364
+ * <code>notifyOnCreateOrReopenCase</code>
365
+ * </p>
366
+ * </li>
367
+ * <li>
368
+ * <p>
369
+ * <code>notifyOnResolveCase</code>
370
+ * </p>
371
+ * </li>
372
+ * </ul>
373
+ *
374
+ * <note>
375
+ * <p>If you don't specify these parameters in your request, the Amazon Web Services Support App uses the current
376
+ * values by default.</p>
377
+ * </note>
378
+ */
379
+ notifyOnCaseSeverity?: NotificationSeverityLevel | string;
380
+ /**
381
+ * <p>The Amazon Resource Name (ARN) of an IAM role that you want to
382
+ * use to perform operations on Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html">Managing access to
383
+ * the Amazon Web Services Support App</a> in the <i>Amazon Web Services Support User Guide</i>.</p>
384
+ */
385
+ channelRoleArn?: string;
386
+ }
387
+ export interface UpdateSlackChannelConfigurationResult {
388
+ /**
389
+ * <p>The team ID in Slack. This ID uniquely identifies a Slack workspace.</p>
390
+ */
391
+ teamId?: string;
392
+ /**
393
+ * <p>The channel ID in Slack. This ID identifies a channel within a Slack workspace.</p>
394
+ */
395
+ channelId?: string;
396
+ /**
397
+ * <p>The name of the Slack channel that you configure for the Amazon Web Services Support App.</p>
398
+ */
399
+ channelName?: string;
400
+ /**
401
+ * <p>Whether you want to get notified when a support case is created or reopened.</p>
402
+ */
403
+ notifyOnCreateOrReopenCase?: boolean;
404
+ /**
405
+ * <p>Whether you want to get notified when a support case has a new correspondence.</p>
406
+ */
407
+ notifyOnAddCorrespondenceToCase?: boolean;
408
+ /**
409
+ * <p>Whether you want to get notified when a support case is resolved.</p>
410
+ */
411
+ notifyOnResolveCase?: boolean;
412
+ /**
413
+ * <p>The case severity for a support case that you want to receive notifications.</p>
414
+ */
415
+ notifyOnCaseSeverity?: NotificationSeverityLevel | string;
416
+ /**
417
+ * <p>The Amazon Resource Name (ARN) of an IAM role that you want to
418
+ * use to perform operations on Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html">Managing access to
419
+ * the Amazon Web Services Support App</a> in the <i>Amazon Web Services Support User Guide</i>.</p>
420
+ */
421
+ channelRoleArn?: string;
422
+ }
423
+ /**
424
+ * @internal
425
+ */
426
+ export declare const CreateSlackChannelConfigurationRequestFilterSensitiveLog: (obj: CreateSlackChannelConfigurationRequest) => any;
427
+ /**
428
+ * @internal
429
+ */
430
+ export declare const CreateSlackChannelConfigurationResultFilterSensitiveLog: (obj: CreateSlackChannelConfigurationResult) => any;
431
+ /**
432
+ * @internal
433
+ */
434
+ export declare const DeleteAccountAliasRequestFilterSensitiveLog: (obj: DeleteAccountAliasRequest) => any;
435
+ /**
436
+ * @internal
437
+ */
438
+ export declare const DeleteAccountAliasResultFilterSensitiveLog: (obj: DeleteAccountAliasResult) => any;
439
+ /**
440
+ * @internal
441
+ */
442
+ export declare const DeleteSlackChannelConfigurationRequestFilterSensitiveLog: (obj: DeleteSlackChannelConfigurationRequest) => any;
443
+ /**
444
+ * @internal
445
+ */
446
+ export declare const DeleteSlackChannelConfigurationResultFilterSensitiveLog: (obj: DeleteSlackChannelConfigurationResult) => any;
447
+ /**
448
+ * @internal
449
+ */
450
+ export declare const DeleteSlackWorkspaceConfigurationRequestFilterSensitiveLog: (obj: DeleteSlackWorkspaceConfigurationRequest) => any;
451
+ /**
452
+ * @internal
453
+ */
454
+ export declare const DeleteSlackWorkspaceConfigurationResultFilterSensitiveLog: (obj: DeleteSlackWorkspaceConfigurationResult) => any;
455
+ /**
456
+ * @internal
457
+ */
458
+ export declare const GetAccountAliasRequestFilterSensitiveLog: (obj: GetAccountAliasRequest) => any;
459
+ /**
460
+ * @internal
461
+ */
462
+ export declare const GetAccountAliasResultFilterSensitiveLog: (obj: GetAccountAliasResult) => any;
463
+ /**
464
+ * @internal
465
+ */
466
+ export declare const ListSlackChannelConfigurationsRequestFilterSensitiveLog: (obj: ListSlackChannelConfigurationsRequest) => any;
467
+ /**
468
+ * @internal
469
+ */
470
+ export declare const SlackChannelConfigurationFilterSensitiveLog: (obj: SlackChannelConfiguration) => any;
471
+ /**
472
+ * @internal
473
+ */
474
+ export declare const ListSlackChannelConfigurationsResultFilterSensitiveLog: (obj: ListSlackChannelConfigurationsResult) => any;
475
+ /**
476
+ * @internal
477
+ */
478
+ export declare const ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog: (obj: ListSlackWorkspaceConfigurationsRequest) => any;
479
+ /**
480
+ * @internal
481
+ */
482
+ export declare const SlackWorkspaceConfigurationFilterSensitiveLog: (obj: SlackWorkspaceConfiguration) => any;
483
+ /**
484
+ * @internal
485
+ */
486
+ export declare const ListSlackWorkspaceConfigurationsResultFilterSensitiveLog: (obj: ListSlackWorkspaceConfigurationsResult) => any;
487
+ /**
488
+ * @internal
489
+ */
490
+ export declare const PutAccountAliasRequestFilterSensitiveLog: (obj: PutAccountAliasRequest) => any;
491
+ /**
492
+ * @internal
493
+ */
494
+ export declare const PutAccountAliasResultFilterSensitiveLog: (obj: PutAccountAliasResult) => any;
495
+ /**
496
+ * @internal
497
+ */
498
+ export declare const UpdateSlackChannelConfigurationRequestFilterSensitiveLog: (obj: UpdateSlackChannelConfigurationRequest) => any;
499
+ /**
500
+ * @internal
501
+ */
502
+ export declare const UpdateSlackChannelConfigurationResultFilterSensitiveLog: (obj: UpdateSlackChannelConfigurationResult) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { SupportApp } from "../SupportApp";
3
+ import { SupportAppClient } from "../SupportAppClient";
4
+ export interface SupportAppPaginationConfiguration extends PaginationConfiguration {
5
+ client: SupportApp | SupportAppClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSlackChannelConfigurationsCommandInput, ListSlackChannelConfigurationsCommandOutput } from "../commands/ListSlackChannelConfigurationsCommand";
3
+ import { SupportAppPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSlackChannelConfigurations(config: SupportAppPaginationConfiguration, input: ListSlackChannelConfigurationsCommandInput, ...additionalArguments: any): Paginator<ListSlackChannelConfigurationsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSlackWorkspaceConfigurationsCommandInput, ListSlackWorkspaceConfigurationsCommandOutput } from "../commands/ListSlackWorkspaceConfigurationsCommand";
3
+ import { SupportAppPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListSlackWorkspaceConfigurations(config: SupportAppPaginationConfiguration, input: ListSlackWorkspaceConfigurationsCommandInput, ...additionalArguments: any): Paginator<ListSlackWorkspaceConfigurationsCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListSlackChannelConfigurationsPaginator";
3
+ export * from "./ListSlackWorkspaceConfigurationsPaginator";
@@ -0,0 +1,29 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput } from "../commands/CreateSlackChannelConfigurationCommand";
4
+ import { DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput } from "../commands/DeleteAccountAliasCommand";
5
+ import { DeleteSlackChannelConfigurationCommandInput, DeleteSlackChannelConfigurationCommandOutput } from "../commands/DeleteSlackChannelConfigurationCommand";
6
+ import { DeleteSlackWorkspaceConfigurationCommandInput, DeleteSlackWorkspaceConfigurationCommandOutput } from "../commands/DeleteSlackWorkspaceConfigurationCommand";
7
+ import { GetAccountAliasCommandInput, GetAccountAliasCommandOutput } from "../commands/GetAccountAliasCommand";
8
+ import { ListSlackChannelConfigurationsCommandInput, ListSlackChannelConfigurationsCommandOutput } from "../commands/ListSlackChannelConfigurationsCommand";
9
+ import { ListSlackWorkspaceConfigurationsCommandInput, ListSlackWorkspaceConfigurationsCommandOutput } from "../commands/ListSlackWorkspaceConfigurationsCommand";
10
+ import { PutAccountAliasCommandInput, PutAccountAliasCommandOutput } from "../commands/PutAccountAliasCommand";
11
+ import { UpdateSlackChannelConfigurationCommandInput, UpdateSlackChannelConfigurationCommandOutput } from "../commands/UpdateSlackChannelConfigurationCommand";
12
+ export declare const serializeAws_restJson1CreateSlackChannelConfigurationCommand: (input: CreateSlackChannelConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ export declare const serializeAws_restJson1DeleteAccountAliasCommand: (input: DeleteAccountAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ export declare const serializeAws_restJson1DeleteSlackChannelConfigurationCommand: (input: DeleteSlackChannelConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ export declare const serializeAws_restJson1DeleteSlackWorkspaceConfigurationCommand: (input: DeleteSlackWorkspaceConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ export declare const serializeAws_restJson1GetAccountAliasCommand: (input: GetAccountAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ export declare const serializeAws_restJson1ListSlackChannelConfigurationsCommand: (input: ListSlackChannelConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ export declare const serializeAws_restJson1ListSlackWorkspaceConfigurationsCommand: (input: ListSlackWorkspaceConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const serializeAws_restJson1PutAccountAliasCommand: (input: PutAccountAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ export declare const serializeAws_restJson1UpdateSlackChannelConfigurationCommand: (input: UpdateSlackChannelConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ export declare const deserializeAws_restJson1CreateSlackChannelConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSlackChannelConfigurationCommandOutput>;
22
+ export declare const deserializeAws_restJson1DeleteAccountAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAccountAliasCommandOutput>;
23
+ export declare const deserializeAws_restJson1DeleteSlackChannelConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSlackChannelConfigurationCommandOutput>;
24
+ export declare const deserializeAws_restJson1DeleteSlackWorkspaceConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSlackWorkspaceConfigurationCommandOutput>;
25
+ export declare const deserializeAws_restJson1GetAccountAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccountAliasCommandOutput>;
26
+ export declare const deserializeAws_restJson1ListSlackChannelConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSlackChannelConfigurationsCommandOutput>;
27
+ export declare const deserializeAws_restJson1ListSlackWorkspaceConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSlackWorkspaceConfigurationsCommandOutput>;
28
+ export declare const deserializeAws_restJson1PutAccountAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAccountAliasCommandOutput>;
29
+ export declare const deserializeAws_restJson1UpdateSlackChannelConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSlackChannelConfigurationCommandOutput>;
@@ -0,0 +1,40 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { SupportAppClientConfig } from "./SupportAppClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ base64Decoder: import("@aws-sdk/types").Decoder;
10
+ base64Encoder: import("@aws-sdk/types").Encoder;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ region: string | import("@aws-sdk/types").Provider<any>;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ sha256: import("@aws-sdk/types").HashConstructor;
19
+ streamCollector: import("@aws-sdk/types").StreamCollector;
20
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ utf8Decoder: import("@aws-sdk/types").Decoder;
23
+ utf8Encoder: import("@aws-sdk/types").Encoder;
24
+ apiVersion: string;
25
+ urlParser: import("@aws-sdk/types").UrlParser;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
31
+ tls?: boolean | undefined;
32
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
35
+ signingEscapePath?: boolean | undefined;
36
+ systemClockOffset?: number | undefined;
37
+ signingRegion?: string | undefined;
38
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
39
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
40
+ };
@@ -0,0 +1,40 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { SupportAppClientConfig } from "./SupportAppClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
+ base64Decoder: import("@aws-sdk/types").Decoder;
10
+ base64Encoder: import("@aws-sdk/types").Encoder;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ region: string | import("@aws-sdk/types").Provider<string>;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ sha256: import("@aws-sdk/types").HashConstructor;
19
+ streamCollector: import("@aws-sdk/types").StreamCollector;
20
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ utf8Decoder: import("@aws-sdk/types").Decoder;
23
+ utf8Encoder: import("@aws-sdk/types").Encoder;
24
+ apiVersion: string;
25
+ urlParser: import("@aws-sdk/types").UrlParser;
26
+ disableHostPrefix: boolean;
27
+ logger: import("@aws-sdk/types").Logger;
28
+ serviceId: string;
29
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
31
+ tls?: boolean | undefined;
32
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
35
+ signingEscapePath?: boolean | undefined;
36
+ systemClockOffset?: number | undefined;
37
+ signingRegion?: string | undefined;
38
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
39
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
40
+ };