@aws-sdk/client-support-app 3.474.0 → 3.477.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,17 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateSlackChannelConfigurationCommand = exports.de_RegisterSlackWorkspaceForOrganizationCommand = exports.de_PutAccountAliasCommand = exports.de_ListSlackWorkspaceConfigurationsCommand = exports.de_ListSlackChannelConfigurationsCommand = exports.de_GetAccountAliasCommand = exports.de_DeleteSlackWorkspaceConfigurationCommand = exports.de_DeleteSlackChannelConfigurationCommand = exports.de_DeleteAccountAliasCommand = exports.de_CreateSlackChannelConfigurationCommand = exports.se_UpdateSlackChannelConfigurationCommand = exports.se_RegisterSlackWorkspaceForOrganizationCommand = exports.se_PutAccountAliasCommand = exports.se_ListSlackWorkspaceConfigurationsCommand = exports.se_ListSlackChannelConfigurationsCommand = exports.se_GetAccountAliasCommand = exports.se_DeleteSlackWorkspaceConfigurationCommand = exports.se_DeleteSlackChannelConfigurationCommand = exports.se_DeleteAccountAliasCommand = exports.se_CreateSlackChannelConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const SupportAppServiceException_1 = require("../models/SupportAppServiceException");
|
|
8
8
|
const se_CreateSlackChannelConfigurationCommand = async (input, context) => {
|
|
9
|
-
const
|
|
9
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/json",
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
"/control/create-slack-channel-configuration";
|
|
13
|
+
b.bp("/control/create-slack-channel-configuration");
|
|
15
14
|
let body;
|
|
16
15
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
16
|
channelId: [],
|
|
@@ -23,194 +22,125 @@ const se_CreateSlackChannelConfigurationCommand = async (input, context) => {
|
|
|
23
22
|
notifyOnResolveCase: [],
|
|
24
23
|
teamId: [],
|
|
25
24
|
}));
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
hostname,
|
|
29
|
-
port,
|
|
30
|
-
method: "POST",
|
|
31
|
-
headers,
|
|
32
|
-
path: resolvedPath,
|
|
33
|
-
body,
|
|
34
|
-
});
|
|
25
|
+
b.m("POST").h(headers).b(body);
|
|
26
|
+
return b.build();
|
|
35
27
|
};
|
|
36
28
|
exports.se_CreateSlackChannelConfigurationCommand = se_CreateSlackChannelConfigurationCommand;
|
|
37
29
|
const se_DeleteAccountAliasCommand = async (input, context) => {
|
|
38
|
-
const
|
|
30
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
39
31
|
const headers = {
|
|
40
32
|
"content-type": "application/json",
|
|
41
33
|
};
|
|
42
|
-
|
|
34
|
+
b.bp("/control/delete-account-alias");
|
|
43
35
|
let body;
|
|
44
36
|
body = "";
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
hostname,
|
|
48
|
-
port,
|
|
49
|
-
method: "POST",
|
|
50
|
-
headers,
|
|
51
|
-
path: resolvedPath,
|
|
52
|
-
body,
|
|
53
|
-
});
|
|
37
|
+
b.m("POST").h(headers).b(body);
|
|
38
|
+
return b.build();
|
|
54
39
|
};
|
|
55
40
|
exports.se_DeleteAccountAliasCommand = se_DeleteAccountAliasCommand;
|
|
56
41
|
const se_DeleteSlackChannelConfigurationCommand = async (input, context) => {
|
|
57
|
-
const
|
|
42
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
58
43
|
const headers = {
|
|
59
44
|
"content-type": "application/json",
|
|
60
45
|
};
|
|
61
|
-
|
|
62
|
-
"/control/delete-slack-channel-configuration";
|
|
46
|
+
b.bp("/control/delete-slack-channel-configuration");
|
|
63
47
|
let body;
|
|
64
48
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
65
49
|
channelId: [],
|
|
66
50
|
teamId: [],
|
|
67
51
|
}));
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
hostname,
|
|
71
|
-
port,
|
|
72
|
-
method: "POST",
|
|
73
|
-
headers,
|
|
74
|
-
path: resolvedPath,
|
|
75
|
-
body,
|
|
76
|
-
});
|
|
52
|
+
b.m("POST").h(headers).b(body);
|
|
53
|
+
return b.build();
|
|
77
54
|
};
|
|
78
55
|
exports.se_DeleteSlackChannelConfigurationCommand = se_DeleteSlackChannelConfigurationCommand;
|
|
79
56
|
const se_DeleteSlackWorkspaceConfigurationCommand = async (input, context) => {
|
|
80
|
-
const
|
|
57
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
81
58
|
const headers = {
|
|
82
59
|
"content-type": "application/json",
|
|
83
60
|
};
|
|
84
|
-
|
|
85
|
-
"/control/delete-slack-workspace-configuration";
|
|
61
|
+
b.bp("/control/delete-slack-workspace-configuration");
|
|
86
62
|
let body;
|
|
87
63
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
88
64
|
teamId: [],
|
|
89
65
|
}));
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
hostname,
|
|
93
|
-
port,
|
|
94
|
-
method: "POST",
|
|
95
|
-
headers,
|
|
96
|
-
path: resolvedPath,
|
|
97
|
-
body,
|
|
98
|
-
});
|
|
66
|
+
b.m("POST").h(headers).b(body);
|
|
67
|
+
return b.build();
|
|
99
68
|
};
|
|
100
69
|
exports.se_DeleteSlackWorkspaceConfigurationCommand = se_DeleteSlackWorkspaceConfigurationCommand;
|
|
101
70
|
const se_GetAccountAliasCommand = async (input, context) => {
|
|
102
|
-
const
|
|
71
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
103
72
|
const headers = {
|
|
104
73
|
"content-type": "application/json",
|
|
105
74
|
};
|
|
106
|
-
|
|
75
|
+
b.bp("/control/get-account-alias");
|
|
107
76
|
let body;
|
|
108
77
|
body = "";
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
hostname,
|
|
112
|
-
port,
|
|
113
|
-
method: "POST",
|
|
114
|
-
headers,
|
|
115
|
-
path: resolvedPath,
|
|
116
|
-
body,
|
|
117
|
-
});
|
|
78
|
+
b.m("POST").h(headers).b(body);
|
|
79
|
+
return b.build();
|
|
118
80
|
};
|
|
119
81
|
exports.se_GetAccountAliasCommand = se_GetAccountAliasCommand;
|
|
120
82
|
const se_ListSlackChannelConfigurationsCommand = async (input, context) => {
|
|
121
|
-
const
|
|
83
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
122
84
|
const headers = {
|
|
123
85
|
"content-type": "application/json",
|
|
124
86
|
};
|
|
125
|
-
|
|
126
|
-
"/control/list-slack-channel-configurations";
|
|
87
|
+
b.bp("/control/list-slack-channel-configurations");
|
|
127
88
|
let body;
|
|
128
89
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
129
90
|
nextToken: [],
|
|
130
91
|
}));
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
hostname,
|
|
134
|
-
port,
|
|
135
|
-
method: "POST",
|
|
136
|
-
headers,
|
|
137
|
-
path: resolvedPath,
|
|
138
|
-
body,
|
|
139
|
-
});
|
|
92
|
+
b.m("POST").h(headers).b(body);
|
|
93
|
+
return b.build();
|
|
140
94
|
};
|
|
141
95
|
exports.se_ListSlackChannelConfigurationsCommand = se_ListSlackChannelConfigurationsCommand;
|
|
142
96
|
const se_ListSlackWorkspaceConfigurationsCommand = async (input, context) => {
|
|
143
|
-
const
|
|
97
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
144
98
|
const headers = {
|
|
145
99
|
"content-type": "application/json",
|
|
146
100
|
};
|
|
147
|
-
|
|
148
|
-
"/control/list-slack-workspace-configurations";
|
|
101
|
+
b.bp("/control/list-slack-workspace-configurations");
|
|
149
102
|
let body;
|
|
150
103
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
151
104
|
nextToken: [],
|
|
152
105
|
}));
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
hostname,
|
|
156
|
-
port,
|
|
157
|
-
method: "POST",
|
|
158
|
-
headers,
|
|
159
|
-
path: resolvedPath,
|
|
160
|
-
body,
|
|
161
|
-
});
|
|
106
|
+
b.m("POST").h(headers).b(body);
|
|
107
|
+
return b.build();
|
|
162
108
|
};
|
|
163
109
|
exports.se_ListSlackWorkspaceConfigurationsCommand = se_ListSlackWorkspaceConfigurationsCommand;
|
|
164
110
|
const se_PutAccountAliasCommand = async (input, context) => {
|
|
165
|
-
const
|
|
111
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
166
112
|
const headers = {
|
|
167
113
|
"content-type": "application/json",
|
|
168
114
|
};
|
|
169
|
-
|
|
115
|
+
b.bp("/control/put-account-alias");
|
|
170
116
|
let body;
|
|
171
117
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
172
118
|
accountAlias: [],
|
|
173
119
|
}));
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
hostname,
|
|
177
|
-
port,
|
|
178
|
-
method: "POST",
|
|
179
|
-
headers,
|
|
180
|
-
path: resolvedPath,
|
|
181
|
-
body,
|
|
182
|
-
});
|
|
120
|
+
b.m("POST").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
183
122
|
};
|
|
184
123
|
exports.se_PutAccountAliasCommand = se_PutAccountAliasCommand;
|
|
185
124
|
const se_RegisterSlackWorkspaceForOrganizationCommand = async (input, context) => {
|
|
186
|
-
const
|
|
125
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
187
126
|
const headers = {
|
|
188
127
|
"content-type": "application/json",
|
|
189
128
|
};
|
|
190
|
-
|
|
191
|
-
"/control/register-slack-workspace-for-organization";
|
|
129
|
+
b.bp("/control/register-slack-workspace-for-organization");
|
|
192
130
|
let body;
|
|
193
131
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
194
132
|
teamId: [],
|
|
195
133
|
}));
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
hostname,
|
|
199
|
-
port,
|
|
200
|
-
method: "POST",
|
|
201
|
-
headers,
|
|
202
|
-
path: resolvedPath,
|
|
203
|
-
body,
|
|
204
|
-
});
|
|
134
|
+
b.m("POST").h(headers).b(body);
|
|
135
|
+
return b.build();
|
|
205
136
|
};
|
|
206
137
|
exports.se_RegisterSlackWorkspaceForOrganizationCommand = se_RegisterSlackWorkspaceForOrganizationCommand;
|
|
207
138
|
const se_UpdateSlackChannelConfigurationCommand = async (input, context) => {
|
|
208
|
-
const
|
|
139
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
209
140
|
const headers = {
|
|
210
141
|
"content-type": "application/json",
|
|
211
142
|
};
|
|
212
|
-
|
|
213
|
-
"/control/update-slack-channel-configuration";
|
|
143
|
+
b.bp("/control/update-slack-channel-configuration");
|
|
214
144
|
let body;
|
|
215
145
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
216
146
|
channelId: [],
|
|
@@ -222,15 +152,8 @@ const se_UpdateSlackChannelConfigurationCommand = async (input, context) => {
|
|
|
222
152
|
notifyOnResolveCase: [],
|
|
223
153
|
teamId: [],
|
|
224
154
|
}));
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
hostname,
|
|
228
|
-
port,
|
|
229
|
-
method: "POST",
|
|
230
|
-
headers,
|
|
231
|
-
path: resolvedPath,
|
|
232
|
-
body,
|
|
233
|
-
});
|
|
155
|
+
b.m("POST").h(headers).b(body);
|
|
156
|
+
return b.build();
|
|
234
157
|
};
|
|
235
158
|
exports.se_UpdateSlackChannelConfigurationCommand = se_UpdateSlackChannelConfigurationCommand;
|
|
236
159
|
const de_CreateSlackChannelConfigurationCommand = async (output, context) => {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { SupportAppServiceException as __BaseException } from "../models/SupportAppServiceException";
|
|
5
5
|
export const se_CreateSlackChannelConfigurationCommand = async (input, context) => {
|
|
6
|
-
const
|
|
6
|
+
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
"/control/create-slack-channel-configuration";
|
|
10
|
+
b.bp("/control/create-slack-channel-configuration");
|
|
12
11
|
let body;
|
|
13
12
|
body = JSON.stringify(take(input, {
|
|
14
13
|
channelId: [],
|
|
@@ -20,185 +19,116 @@ export const se_CreateSlackChannelConfigurationCommand = async (input, context)
|
|
|
20
19
|
notifyOnResolveCase: [],
|
|
21
20
|
teamId: [],
|
|
22
21
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
hostname,
|
|
26
|
-
port,
|
|
27
|
-
method: "POST",
|
|
28
|
-
headers,
|
|
29
|
-
path: resolvedPath,
|
|
30
|
-
body,
|
|
31
|
-
});
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
32
24
|
};
|
|
33
25
|
export const se_DeleteAccountAliasCommand = async (input, context) => {
|
|
34
|
-
const
|
|
26
|
+
const b = rb(input, context);
|
|
35
27
|
const headers = {
|
|
36
28
|
"content-type": "application/json",
|
|
37
29
|
};
|
|
38
|
-
|
|
30
|
+
b.bp("/control/delete-account-alias");
|
|
39
31
|
let body;
|
|
40
32
|
body = "";
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
hostname,
|
|
44
|
-
port,
|
|
45
|
-
method: "POST",
|
|
46
|
-
headers,
|
|
47
|
-
path: resolvedPath,
|
|
48
|
-
body,
|
|
49
|
-
});
|
|
33
|
+
b.m("POST").h(headers).b(body);
|
|
34
|
+
return b.build();
|
|
50
35
|
};
|
|
51
36
|
export const se_DeleteSlackChannelConfigurationCommand = async (input, context) => {
|
|
52
|
-
const
|
|
37
|
+
const b = rb(input, context);
|
|
53
38
|
const headers = {
|
|
54
39
|
"content-type": "application/json",
|
|
55
40
|
};
|
|
56
|
-
|
|
57
|
-
"/control/delete-slack-channel-configuration";
|
|
41
|
+
b.bp("/control/delete-slack-channel-configuration");
|
|
58
42
|
let body;
|
|
59
43
|
body = JSON.stringify(take(input, {
|
|
60
44
|
channelId: [],
|
|
61
45
|
teamId: [],
|
|
62
46
|
}));
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
hostname,
|
|
66
|
-
port,
|
|
67
|
-
method: "POST",
|
|
68
|
-
headers,
|
|
69
|
-
path: resolvedPath,
|
|
70
|
-
body,
|
|
71
|
-
});
|
|
47
|
+
b.m("POST").h(headers).b(body);
|
|
48
|
+
return b.build();
|
|
72
49
|
};
|
|
73
50
|
export const se_DeleteSlackWorkspaceConfigurationCommand = async (input, context) => {
|
|
74
|
-
const
|
|
51
|
+
const b = rb(input, context);
|
|
75
52
|
const headers = {
|
|
76
53
|
"content-type": "application/json",
|
|
77
54
|
};
|
|
78
|
-
|
|
79
|
-
"/control/delete-slack-workspace-configuration";
|
|
55
|
+
b.bp("/control/delete-slack-workspace-configuration");
|
|
80
56
|
let body;
|
|
81
57
|
body = JSON.stringify(take(input, {
|
|
82
58
|
teamId: [],
|
|
83
59
|
}));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
hostname,
|
|
87
|
-
port,
|
|
88
|
-
method: "POST",
|
|
89
|
-
headers,
|
|
90
|
-
path: resolvedPath,
|
|
91
|
-
body,
|
|
92
|
-
});
|
|
60
|
+
b.m("POST").h(headers).b(body);
|
|
61
|
+
return b.build();
|
|
93
62
|
};
|
|
94
63
|
export const se_GetAccountAliasCommand = async (input, context) => {
|
|
95
|
-
const
|
|
64
|
+
const b = rb(input, context);
|
|
96
65
|
const headers = {
|
|
97
66
|
"content-type": "application/json",
|
|
98
67
|
};
|
|
99
|
-
|
|
68
|
+
b.bp("/control/get-account-alias");
|
|
100
69
|
let body;
|
|
101
70
|
body = "";
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
hostname,
|
|
105
|
-
port,
|
|
106
|
-
method: "POST",
|
|
107
|
-
headers,
|
|
108
|
-
path: resolvedPath,
|
|
109
|
-
body,
|
|
110
|
-
});
|
|
71
|
+
b.m("POST").h(headers).b(body);
|
|
72
|
+
return b.build();
|
|
111
73
|
};
|
|
112
74
|
export const se_ListSlackChannelConfigurationsCommand = async (input, context) => {
|
|
113
|
-
const
|
|
75
|
+
const b = rb(input, context);
|
|
114
76
|
const headers = {
|
|
115
77
|
"content-type": "application/json",
|
|
116
78
|
};
|
|
117
|
-
|
|
118
|
-
"/control/list-slack-channel-configurations";
|
|
79
|
+
b.bp("/control/list-slack-channel-configurations");
|
|
119
80
|
let body;
|
|
120
81
|
body = JSON.stringify(take(input, {
|
|
121
82
|
nextToken: [],
|
|
122
83
|
}));
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
hostname,
|
|
126
|
-
port,
|
|
127
|
-
method: "POST",
|
|
128
|
-
headers,
|
|
129
|
-
path: resolvedPath,
|
|
130
|
-
body,
|
|
131
|
-
});
|
|
84
|
+
b.m("POST").h(headers).b(body);
|
|
85
|
+
return b.build();
|
|
132
86
|
};
|
|
133
87
|
export const se_ListSlackWorkspaceConfigurationsCommand = async (input, context) => {
|
|
134
|
-
const
|
|
88
|
+
const b = rb(input, context);
|
|
135
89
|
const headers = {
|
|
136
90
|
"content-type": "application/json",
|
|
137
91
|
};
|
|
138
|
-
|
|
139
|
-
"/control/list-slack-workspace-configurations";
|
|
92
|
+
b.bp("/control/list-slack-workspace-configurations");
|
|
140
93
|
let body;
|
|
141
94
|
body = JSON.stringify(take(input, {
|
|
142
95
|
nextToken: [],
|
|
143
96
|
}));
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
hostname,
|
|
147
|
-
port,
|
|
148
|
-
method: "POST",
|
|
149
|
-
headers,
|
|
150
|
-
path: resolvedPath,
|
|
151
|
-
body,
|
|
152
|
-
});
|
|
97
|
+
b.m("POST").h(headers).b(body);
|
|
98
|
+
return b.build();
|
|
153
99
|
};
|
|
154
100
|
export const se_PutAccountAliasCommand = async (input, context) => {
|
|
155
|
-
const
|
|
101
|
+
const b = rb(input, context);
|
|
156
102
|
const headers = {
|
|
157
103
|
"content-type": "application/json",
|
|
158
104
|
};
|
|
159
|
-
|
|
105
|
+
b.bp("/control/put-account-alias");
|
|
160
106
|
let body;
|
|
161
107
|
body = JSON.stringify(take(input, {
|
|
162
108
|
accountAlias: [],
|
|
163
109
|
}));
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
hostname,
|
|
167
|
-
port,
|
|
168
|
-
method: "POST",
|
|
169
|
-
headers,
|
|
170
|
-
path: resolvedPath,
|
|
171
|
-
body,
|
|
172
|
-
});
|
|
110
|
+
b.m("POST").h(headers).b(body);
|
|
111
|
+
return b.build();
|
|
173
112
|
};
|
|
174
113
|
export const se_RegisterSlackWorkspaceForOrganizationCommand = async (input, context) => {
|
|
175
|
-
const
|
|
114
|
+
const b = rb(input, context);
|
|
176
115
|
const headers = {
|
|
177
116
|
"content-type": "application/json",
|
|
178
117
|
};
|
|
179
|
-
|
|
180
|
-
"/control/register-slack-workspace-for-organization";
|
|
118
|
+
b.bp("/control/register-slack-workspace-for-organization");
|
|
181
119
|
let body;
|
|
182
120
|
body = JSON.stringify(take(input, {
|
|
183
121
|
teamId: [],
|
|
184
122
|
}));
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
hostname,
|
|
188
|
-
port,
|
|
189
|
-
method: "POST",
|
|
190
|
-
headers,
|
|
191
|
-
path: resolvedPath,
|
|
192
|
-
body,
|
|
193
|
-
});
|
|
123
|
+
b.m("POST").h(headers).b(body);
|
|
124
|
+
return b.build();
|
|
194
125
|
};
|
|
195
126
|
export const se_UpdateSlackChannelConfigurationCommand = async (input, context) => {
|
|
196
|
-
const
|
|
127
|
+
const b = rb(input, context);
|
|
197
128
|
const headers = {
|
|
198
129
|
"content-type": "application/json",
|
|
199
130
|
};
|
|
200
|
-
|
|
201
|
-
"/control/update-slack-channel-configuration";
|
|
131
|
+
b.bp("/control/update-slack-channel-configuration");
|
|
202
132
|
let body;
|
|
203
133
|
body = JSON.stringify(take(input, {
|
|
204
134
|
channelId: [],
|
|
@@ -210,15 +140,8 @@ export const se_UpdateSlackChannelConfigurationCommand = async (input, context)
|
|
|
210
140
|
notifyOnResolveCase: [],
|
|
211
141
|
teamId: [],
|
|
212
142
|
}));
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
hostname,
|
|
216
|
-
port,
|
|
217
|
-
method: "POST",
|
|
218
|
-
headers,
|
|
219
|
-
path: resolvedPath,
|
|
220
|
-
body,
|
|
221
|
-
});
|
|
143
|
+
b.m("POST").h(headers).b(body);
|
|
144
|
+
return b.build();
|
|
222
145
|
};
|
|
223
146
|
export const de_CreateSlackChannelConfigurationCommand = async (output, context) => {
|
|
224
147
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support-app",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support App Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.477.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.477.0",
|
|
24
|
+
"@aws-sdk/core": "3.477.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.477.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|