@aws-sdk/client-sso 3.303.0 → 3.309.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.
@@ -37,10 +37,10 @@ class GetRoleCredentialsCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1GetRoleCredentialsCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_GetRoleCredentialsCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetRoleCredentialsCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_GetRoleCredentialsCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand;
@@ -37,10 +37,10 @@ class ListAccountRolesCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1ListAccountRolesCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_ListAccountRolesCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListAccountRolesCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_ListAccountRolesCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.ListAccountRolesCommand = ListAccountRolesCommand;
@@ -37,10 +37,10 @@ class ListAccountsCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1ListAccountsCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_ListAccountsCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListAccountsCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_ListAccountsCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.ListAccountsCommand = ListAccountsCommand;
@@ -37,10 +37,10 @@ class LogoutCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1LogoutCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_LogoutCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1LogoutCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_LogoutCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.LogoutCommand = LogoutCommand;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1LogoutCommand = exports.deserializeAws_restJson1ListAccountsCommand = exports.deserializeAws_restJson1ListAccountRolesCommand = exports.deserializeAws_restJson1GetRoleCredentialsCommand = exports.serializeAws_restJson1LogoutCommand = exports.serializeAws_restJson1ListAccountsCommand = exports.serializeAws_restJson1ListAccountRolesCommand = exports.serializeAws_restJson1GetRoleCredentialsCommand = void 0;
3
+ exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const SSOServiceException_1 = require("../models/SSOServiceException");
8
- const serializeAws_restJson1GetRoleCredentialsCommand = async (input, context) => {
8
+ const se_GetRoleCredentialsCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = map({}, isSerializableHeaderValue, {
11
11
  "x-amz-sso_bearer_token": input.accessToken,
@@ -27,8 +27,8 @@ const serializeAws_restJson1GetRoleCredentialsCommand = async (input, context) =
27
27
  body,
28
28
  });
29
29
  };
30
- exports.serializeAws_restJson1GetRoleCredentialsCommand = serializeAws_restJson1GetRoleCredentialsCommand;
31
- const serializeAws_restJson1ListAccountRolesCommand = async (input, context) => {
30
+ exports.se_GetRoleCredentialsCommand = se_GetRoleCredentialsCommand;
31
+ const se_ListAccountRolesCommand = async (input, context) => {
32
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
33
33
  const headers = map({}, isSerializableHeaderValue, {
34
34
  "x-amz-sso_bearer_token": input.accessToken,
@@ -51,8 +51,8 @@ const serializeAws_restJson1ListAccountRolesCommand = async (input, context) =>
51
51
  body,
52
52
  });
53
53
  };
54
- exports.serializeAws_restJson1ListAccountRolesCommand = serializeAws_restJson1ListAccountRolesCommand;
55
- const serializeAws_restJson1ListAccountsCommand = async (input, context) => {
54
+ exports.se_ListAccountRolesCommand = se_ListAccountRolesCommand;
55
+ const se_ListAccountsCommand = async (input, context) => {
56
56
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
57
57
  const headers = map({}, isSerializableHeaderValue, {
58
58
  "x-amz-sso_bearer_token": input.accessToken,
@@ -74,8 +74,8 @@ const serializeAws_restJson1ListAccountsCommand = async (input, context) => {
74
74
  body,
75
75
  });
76
76
  };
77
- exports.serializeAws_restJson1ListAccountsCommand = serializeAws_restJson1ListAccountsCommand;
78
- const serializeAws_restJson1LogoutCommand = async (input, context) => {
77
+ exports.se_ListAccountsCommand = se_ListAccountsCommand;
78
+ const se_LogoutCommand = async (input, context) => {
79
79
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
80
80
  const headers = map({}, isSerializableHeaderValue, {
81
81
  "x-amz-sso_bearer_token": input.accessToken,
@@ -92,22 +92,22 @@ const serializeAws_restJson1LogoutCommand = async (input, context) => {
92
92
  body,
93
93
  });
94
94
  };
95
- exports.serializeAws_restJson1LogoutCommand = serializeAws_restJson1LogoutCommand;
96
- const deserializeAws_restJson1GetRoleCredentialsCommand = async (output, context) => {
95
+ exports.se_LogoutCommand = se_LogoutCommand;
96
+ const de_GetRoleCredentialsCommand = async (output, context) => {
97
97
  if (output.statusCode !== 200 && output.statusCode >= 300) {
98
- return deserializeAws_restJson1GetRoleCredentialsCommandError(output, context);
98
+ return de_GetRoleCredentialsCommandError(output, context);
99
99
  }
100
100
  const contents = map({
101
101
  $metadata: deserializeMetadata(output),
102
102
  });
103
103
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
104
104
  if (data.roleCredentials != null) {
105
- contents.roleCredentials = deserializeAws_restJson1RoleCredentials(data.roleCredentials, context);
105
+ contents.roleCredentials = de_RoleCredentials(data.roleCredentials, context);
106
106
  }
107
107
  return contents;
108
108
  };
109
- exports.deserializeAws_restJson1GetRoleCredentialsCommand = deserializeAws_restJson1GetRoleCredentialsCommand;
110
- const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, context) => {
109
+ exports.de_GetRoleCredentialsCommand = de_GetRoleCredentialsCommand;
110
+ const de_GetRoleCredentialsCommandError = async (output, context) => {
111
111
  const parsedOutput = {
112
112
  ...output,
113
113
  body: await parseErrorBody(output.body, context),
@@ -116,16 +116,16 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
116
116
  switch (errorCode) {
117
117
  case "InvalidRequestException":
118
118
  case "com.amazonaws.sso#InvalidRequestException":
119
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
119
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
120
120
  case "ResourceNotFoundException":
121
121
  case "com.amazonaws.sso#ResourceNotFoundException":
122
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
122
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
123
123
  case "TooManyRequestsException":
124
124
  case "com.amazonaws.sso#TooManyRequestsException":
125
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
125
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
126
126
  case "UnauthorizedException":
127
127
  case "com.amazonaws.sso#UnauthorizedException":
128
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
128
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
129
129
  default:
130
130
  const parsedBody = parsedOutput.body;
131
131
  (0, smithy_client_1.throwDefaultError)({
@@ -136,9 +136,9 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
136
136
  });
137
137
  }
138
138
  };
139
- const deserializeAws_restJson1ListAccountRolesCommand = async (output, context) => {
139
+ const de_ListAccountRolesCommand = async (output, context) => {
140
140
  if (output.statusCode !== 200 && output.statusCode >= 300) {
141
- return deserializeAws_restJson1ListAccountRolesCommandError(output, context);
141
+ return de_ListAccountRolesCommandError(output, context);
142
142
  }
143
143
  const contents = map({
144
144
  $metadata: deserializeMetadata(output),
@@ -148,12 +148,12 @@ const deserializeAws_restJson1ListAccountRolesCommand = async (output, context)
148
148
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
149
149
  }
150
150
  if (data.roleList != null) {
151
- contents.roleList = deserializeAws_restJson1RoleListType(data.roleList, context);
151
+ contents.roleList = de_RoleListType(data.roleList, context);
152
152
  }
153
153
  return contents;
154
154
  };
155
- exports.deserializeAws_restJson1ListAccountRolesCommand = deserializeAws_restJson1ListAccountRolesCommand;
156
- const deserializeAws_restJson1ListAccountRolesCommandError = async (output, context) => {
155
+ exports.de_ListAccountRolesCommand = de_ListAccountRolesCommand;
156
+ const de_ListAccountRolesCommandError = async (output, context) => {
157
157
  const parsedOutput = {
158
158
  ...output,
159
159
  body: await parseErrorBody(output.body, context),
@@ -162,16 +162,16 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
162
162
  switch (errorCode) {
163
163
  case "InvalidRequestException":
164
164
  case "com.amazonaws.sso#InvalidRequestException":
165
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
165
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
166
166
  case "ResourceNotFoundException":
167
167
  case "com.amazonaws.sso#ResourceNotFoundException":
168
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
168
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
169
169
  case "TooManyRequestsException":
170
170
  case "com.amazonaws.sso#TooManyRequestsException":
171
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
171
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
172
172
  case "UnauthorizedException":
173
173
  case "com.amazonaws.sso#UnauthorizedException":
174
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
174
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
175
175
  default:
176
176
  const parsedBody = parsedOutput.body;
177
177
  (0, smithy_client_1.throwDefaultError)({
@@ -182,24 +182,24 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
182
182
  });
183
183
  }
184
184
  };
185
- const deserializeAws_restJson1ListAccountsCommand = async (output, context) => {
185
+ const de_ListAccountsCommand = async (output, context) => {
186
186
  if (output.statusCode !== 200 && output.statusCode >= 300) {
187
- return deserializeAws_restJson1ListAccountsCommandError(output, context);
187
+ return de_ListAccountsCommandError(output, context);
188
188
  }
189
189
  const contents = map({
190
190
  $metadata: deserializeMetadata(output),
191
191
  });
192
192
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
193
193
  if (data.accountList != null) {
194
- contents.accountList = deserializeAws_restJson1AccountListType(data.accountList, context);
194
+ contents.accountList = de_AccountListType(data.accountList, context);
195
195
  }
196
196
  if (data.nextToken != null) {
197
197
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
198
198
  }
199
199
  return contents;
200
200
  };
201
- exports.deserializeAws_restJson1ListAccountsCommand = deserializeAws_restJson1ListAccountsCommand;
202
- const deserializeAws_restJson1ListAccountsCommandError = async (output, context) => {
201
+ exports.de_ListAccountsCommand = de_ListAccountsCommand;
202
+ const de_ListAccountsCommandError = async (output, context) => {
203
203
  const parsedOutput = {
204
204
  ...output,
205
205
  body: await parseErrorBody(output.body, context),
@@ -208,16 +208,16 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
208
208
  switch (errorCode) {
209
209
  case "InvalidRequestException":
210
210
  case "com.amazonaws.sso#InvalidRequestException":
211
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
211
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
212
212
  case "ResourceNotFoundException":
213
213
  case "com.amazonaws.sso#ResourceNotFoundException":
214
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
214
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
215
215
  case "TooManyRequestsException":
216
216
  case "com.amazonaws.sso#TooManyRequestsException":
217
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
217
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
218
218
  case "UnauthorizedException":
219
219
  case "com.amazonaws.sso#UnauthorizedException":
220
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
220
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
221
221
  default:
222
222
  const parsedBody = parsedOutput.body;
223
223
  (0, smithy_client_1.throwDefaultError)({
@@ -228,9 +228,9 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
228
228
  });
229
229
  }
230
230
  };
231
- const deserializeAws_restJson1LogoutCommand = async (output, context) => {
231
+ const de_LogoutCommand = async (output, context) => {
232
232
  if (output.statusCode !== 200 && output.statusCode >= 300) {
233
- return deserializeAws_restJson1LogoutCommandError(output, context);
233
+ return de_LogoutCommandError(output, context);
234
234
  }
235
235
  const contents = map({
236
236
  $metadata: deserializeMetadata(output),
@@ -238,8 +238,8 @@ const deserializeAws_restJson1LogoutCommand = async (output, context) => {
238
238
  await collectBody(output.body, context);
239
239
  return contents;
240
240
  };
241
- exports.deserializeAws_restJson1LogoutCommand = deserializeAws_restJson1LogoutCommand;
242
- const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
241
+ exports.de_LogoutCommand = de_LogoutCommand;
242
+ const de_LogoutCommandError = async (output, context) => {
243
243
  const parsedOutput = {
244
244
  ...output,
245
245
  body: await parseErrorBody(output.body, context),
@@ -248,13 +248,13 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
248
248
  switch (errorCode) {
249
249
  case "InvalidRequestException":
250
250
  case "com.amazonaws.sso#InvalidRequestException":
251
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
251
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
252
252
  case "TooManyRequestsException":
253
253
  case "com.amazonaws.sso#TooManyRequestsException":
254
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
254
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
255
255
  case "UnauthorizedException":
256
256
  case "com.amazonaws.sso#UnauthorizedException":
257
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
257
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
258
258
  default:
259
259
  const parsedBody = parsedOutput.body;
260
260
  (0, smithy_client_1.throwDefaultError)({
@@ -266,7 +266,7 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
266
266
  }
267
267
  };
268
268
  const map = smithy_client_1.map;
269
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
269
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
270
270
  const contents = map({});
271
271
  const data = parsedOutput.body;
272
272
  if (data.message != null) {
@@ -278,7 +278,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
278
278
  });
279
279
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
280
280
  };
281
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
281
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
282
282
  const contents = map({});
283
283
  const data = parsedOutput.body;
284
284
  if (data.message != null) {
@@ -290,7 +290,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
290
290
  });
291
291
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
292
292
  };
293
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
293
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
294
294
  const contents = map({});
295
295
  const data = parsedOutput.body;
296
296
  if (data.message != null) {
@@ -302,7 +302,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
302
302
  });
303
303
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
304
304
  };
305
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
305
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
306
306
  const contents = map({});
307
307
  const data = parsedOutput.body;
308
308
  if (data.message != null) {
@@ -314,25 +314,25 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
314
314
  });
315
315
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
316
316
  };
317
- const deserializeAws_restJson1AccountInfo = (output, context) => {
317
+ const de_AccountInfo = (output, context) => {
318
318
  return {
319
319
  accountId: (0, smithy_client_1.expectString)(output.accountId),
320
320
  accountName: (0, smithy_client_1.expectString)(output.accountName),
321
321
  emailAddress: (0, smithy_client_1.expectString)(output.emailAddress),
322
322
  };
323
323
  };
324
- const deserializeAws_restJson1AccountListType = (output, context) => {
324
+ const de_AccountListType = (output, context) => {
325
325
  const retVal = (output || [])
326
326
  .filter((e) => e != null)
327
327
  .map((entry) => {
328
328
  if (entry === null) {
329
329
  return null;
330
330
  }
331
- return deserializeAws_restJson1AccountInfo(entry, context);
331
+ return de_AccountInfo(entry, context);
332
332
  });
333
333
  return retVal;
334
334
  };
335
- const deserializeAws_restJson1RoleCredentials = (output, context) => {
335
+ const de_RoleCredentials = (output, context) => {
336
336
  return {
337
337
  accessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
338
338
  expiration: (0, smithy_client_1.expectLong)(output.expiration),
@@ -340,20 +340,20 @@ const deserializeAws_restJson1RoleCredentials = (output, context) => {
340
340
  sessionToken: (0, smithy_client_1.expectString)(output.sessionToken),
341
341
  };
342
342
  };
343
- const deserializeAws_restJson1RoleInfo = (output, context) => {
343
+ const de_RoleInfo = (output, context) => {
344
344
  return {
345
345
  accountId: (0, smithy_client_1.expectString)(output.accountId),
346
346
  roleName: (0, smithy_client_1.expectString)(output.roleName),
347
347
  };
348
348
  };
349
- const deserializeAws_restJson1RoleListType = (output, context) => {
349
+ const de_RoleListType = (output, context) => {
350
350
  const retVal = (output || [])
351
351
  .filter((e) => e != null)
352
352
  .map((entry) => {
353
353
  if (entry === null) {
354
354
  return null;
355
355
  }
356
- return deserializeAws_restJson1RoleInfo(entry, context);
356
+ return de_RoleInfo(entry, context);
357
357
  });
358
358
  return retVal;
359
359
  };
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1GetRoleCredentialsCommand, serializeAws_restJson1GetRoleCredentialsCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_GetRoleCredentialsCommand, se_GetRoleCredentialsCommand } from "../protocols/Aws_restJson1";
6
6
  export class GetRoleCredentialsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class GetRoleCredentialsCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1GetRoleCredentialsCommand(input, context);
37
+ return se_GetRoleCredentialsCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1GetRoleCredentialsCommand(output, context);
40
+ return de_GetRoleCredentialsCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAccountRolesRequestFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_restJson1ListAccountRolesCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_ListAccountRolesCommand, se_ListAccountRolesCommand } from "../protocols/Aws_restJson1";
6
6
  export class ListAccountRolesCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class ListAccountRolesCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1ListAccountRolesCommand(input, context);
37
+ return se_ListAccountRolesCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1ListAccountRolesCommand(output, context);
40
+ return de_ListAccountRolesCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAccountsRequestFilterSensitiveLog } from "../models/models_0";
5
- import { deserializeAws_restJson1ListAccountsCommand, serializeAws_restJson1ListAccountsCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws_restJson1";
6
6
  export class ListAccountsCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class ListAccountsCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1ListAccountsCommand(input, context);
37
+ return se_ListAccountsCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1ListAccountsCommand(output, context);
40
+ return de_ListAccountsCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { LogoutRequestFilterSensitiveLog } from "../models/models_0";
5
- import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1";
5
+ import { de_LogoutCommand, se_LogoutCommand } from "../protocols/Aws_restJson1";
6
6
  export class LogoutCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class LogoutCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1LogoutCommand(input, context);
37
+ return se_LogoutCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1LogoutCommand(output, context);
40
+ return de_LogoutCommand(output, context);
41
41
  }
42
42
  }
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
4
4
  import { SSOServiceException as __BaseException } from "../models/SSOServiceException";
5
- export const serializeAws_restJson1GetRoleCredentialsCommand = async (input, context) => {
5
+ export const se_GetRoleCredentialsCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = map({}, isSerializableHeaderValue, {
8
8
  "x-amz-sso_bearer_token": input.accessToken,
@@ -24,7 +24,7 @@ export const serializeAws_restJson1GetRoleCredentialsCommand = async (input, con
24
24
  body,
25
25
  });
26
26
  };
27
- export const serializeAws_restJson1ListAccountRolesCommand = async (input, context) => {
27
+ export const se_ListAccountRolesCommand = async (input, context) => {
28
28
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
29
29
  const headers = map({}, isSerializableHeaderValue, {
30
30
  "x-amz-sso_bearer_token": input.accessToken,
@@ -47,7 +47,7 @@ export const serializeAws_restJson1ListAccountRolesCommand = async (input, conte
47
47
  body,
48
48
  });
49
49
  };
50
- export const serializeAws_restJson1ListAccountsCommand = async (input, context) => {
50
+ export const se_ListAccountsCommand = async (input, context) => {
51
51
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
52
52
  const headers = map({}, isSerializableHeaderValue, {
53
53
  "x-amz-sso_bearer_token": input.accessToken,
@@ -69,7 +69,7 @@ export const serializeAws_restJson1ListAccountsCommand = async (input, context)
69
69
  body,
70
70
  });
71
71
  };
72
- export const serializeAws_restJson1LogoutCommand = async (input, context) => {
72
+ export const se_LogoutCommand = async (input, context) => {
73
73
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
74
74
  const headers = map({}, isSerializableHeaderValue, {
75
75
  "x-amz-sso_bearer_token": input.accessToken,
@@ -86,20 +86,20 @@ export const serializeAws_restJson1LogoutCommand = async (input, context) => {
86
86
  body,
87
87
  });
88
88
  };
89
- export const deserializeAws_restJson1GetRoleCredentialsCommand = async (output, context) => {
89
+ export const de_GetRoleCredentialsCommand = async (output, context) => {
90
90
  if (output.statusCode !== 200 && output.statusCode >= 300) {
91
- return deserializeAws_restJson1GetRoleCredentialsCommandError(output, context);
91
+ return de_GetRoleCredentialsCommandError(output, context);
92
92
  }
93
93
  const contents = map({
94
94
  $metadata: deserializeMetadata(output),
95
95
  });
96
96
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
97
97
  if (data.roleCredentials != null) {
98
- contents.roleCredentials = deserializeAws_restJson1RoleCredentials(data.roleCredentials, context);
98
+ contents.roleCredentials = de_RoleCredentials(data.roleCredentials, context);
99
99
  }
100
100
  return contents;
101
101
  };
102
- const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, context) => {
102
+ const de_GetRoleCredentialsCommandError = async (output, context) => {
103
103
  const parsedOutput = {
104
104
  ...output,
105
105
  body: await parseErrorBody(output.body, context),
@@ -108,16 +108,16 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
108
108
  switch (errorCode) {
109
109
  case "InvalidRequestException":
110
110
  case "com.amazonaws.sso#InvalidRequestException":
111
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
111
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
112
112
  case "ResourceNotFoundException":
113
113
  case "com.amazonaws.sso#ResourceNotFoundException":
114
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
114
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
115
115
  case "TooManyRequestsException":
116
116
  case "com.amazonaws.sso#TooManyRequestsException":
117
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
117
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
118
118
  case "UnauthorizedException":
119
119
  case "com.amazonaws.sso#UnauthorizedException":
120
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
120
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
121
121
  default:
122
122
  const parsedBody = parsedOutput.body;
123
123
  throwDefaultError({
@@ -128,9 +128,9 @@ const deserializeAws_restJson1GetRoleCredentialsCommandError = async (output, co
128
128
  });
129
129
  }
130
130
  };
131
- export const deserializeAws_restJson1ListAccountRolesCommand = async (output, context) => {
131
+ export const de_ListAccountRolesCommand = async (output, context) => {
132
132
  if (output.statusCode !== 200 && output.statusCode >= 300) {
133
- return deserializeAws_restJson1ListAccountRolesCommandError(output, context);
133
+ return de_ListAccountRolesCommandError(output, context);
134
134
  }
135
135
  const contents = map({
136
136
  $metadata: deserializeMetadata(output),
@@ -140,11 +140,11 @@ export const deserializeAws_restJson1ListAccountRolesCommand = async (output, co
140
140
  contents.nextToken = __expectString(data.nextToken);
141
141
  }
142
142
  if (data.roleList != null) {
143
- contents.roleList = deserializeAws_restJson1RoleListType(data.roleList, context);
143
+ contents.roleList = de_RoleListType(data.roleList, context);
144
144
  }
145
145
  return contents;
146
146
  };
147
- const deserializeAws_restJson1ListAccountRolesCommandError = async (output, context) => {
147
+ const de_ListAccountRolesCommandError = async (output, context) => {
148
148
  const parsedOutput = {
149
149
  ...output,
150
150
  body: await parseErrorBody(output.body, context),
@@ -153,16 +153,16 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
153
153
  switch (errorCode) {
154
154
  case "InvalidRequestException":
155
155
  case "com.amazonaws.sso#InvalidRequestException":
156
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
156
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
157
157
  case "ResourceNotFoundException":
158
158
  case "com.amazonaws.sso#ResourceNotFoundException":
159
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
159
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
160
160
  case "TooManyRequestsException":
161
161
  case "com.amazonaws.sso#TooManyRequestsException":
162
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
162
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
163
163
  case "UnauthorizedException":
164
164
  case "com.amazonaws.sso#UnauthorizedException":
165
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
165
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
166
166
  default:
167
167
  const parsedBody = parsedOutput.body;
168
168
  throwDefaultError({
@@ -173,23 +173,23 @@ const deserializeAws_restJson1ListAccountRolesCommandError = async (output, cont
173
173
  });
174
174
  }
175
175
  };
176
- export const deserializeAws_restJson1ListAccountsCommand = async (output, context) => {
176
+ export const de_ListAccountsCommand = async (output, context) => {
177
177
  if (output.statusCode !== 200 && output.statusCode >= 300) {
178
- return deserializeAws_restJson1ListAccountsCommandError(output, context);
178
+ return de_ListAccountsCommandError(output, context);
179
179
  }
180
180
  const contents = map({
181
181
  $metadata: deserializeMetadata(output),
182
182
  });
183
183
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
184
184
  if (data.accountList != null) {
185
- contents.accountList = deserializeAws_restJson1AccountListType(data.accountList, context);
185
+ contents.accountList = de_AccountListType(data.accountList, context);
186
186
  }
187
187
  if (data.nextToken != null) {
188
188
  contents.nextToken = __expectString(data.nextToken);
189
189
  }
190
190
  return contents;
191
191
  };
192
- const deserializeAws_restJson1ListAccountsCommandError = async (output, context) => {
192
+ const de_ListAccountsCommandError = async (output, context) => {
193
193
  const parsedOutput = {
194
194
  ...output,
195
195
  body: await parseErrorBody(output.body, context),
@@ -198,16 +198,16 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
198
198
  switch (errorCode) {
199
199
  case "InvalidRequestException":
200
200
  case "com.amazonaws.sso#InvalidRequestException":
201
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
201
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
202
202
  case "ResourceNotFoundException":
203
203
  case "com.amazonaws.sso#ResourceNotFoundException":
204
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
204
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
205
205
  case "TooManyRequestsException":
206
206
  case "com.amazonaws.sso#TooManyRequestsException":
207
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
207
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
208
208
  case "UnauthorizedException":
209
209
  case "com.amazonaws.sso#UnauthorizedException":
210
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
210
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
211
211
  default:
212
212
  const parsedBody = parsedOutput.body;
213
213
  throwDefaultError({
@@ -218,9 +218,9 @@ const deserializeAws_restJson1ListAccountsCommandError = async (output, context)
218
218
  });
219
219
  }
220
220
  };
221
- export const deserializeAws_restJson1LogoutCommand = async (output, context) => {
221
+ export const de_LogoutCommand = async (output, context) => {
222
222
  if (output.statusCode !== 200 && output.statusCode >= 300) {
223
- return deserializeAws_restJson1LogoutCommandError(output, context);
223
+ return de_LogoutCommandError(output, context);
224
224
  }
225
225
  const contents = map({
226
226
  $metadata: deserializeMetadata(output),
@@ -228,7 +228,7 @@ export const deserializeAws_restJson1LogoutCommand = async (output, context) =>
228
228
  await collectBody(output.body, context);
229
229
  return contents;
230
230
  };
231
- const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
231
+ const de_LogoutCommandError = async (output, context) => {
232
232
  const parsedOutput = {
233
233
  ...output,
234
234
  body: await parseErrorBody(output.body, context),
@@ -237,13 +237,13 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
237
237
  switch (errorCode) {
238
238
  case "InvalidRequestException":
239
239
  case "com.amazonaws.sso#InvalidRequestException":
240
- throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
240
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
241
241
  case "TooManyRequestsException":
242
242
  case "com.amazonaws.sso#TooManyRequestsException":
243
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
243
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
244
244
  case "UnauthorizedException":
245
245
  case "com.amazonaws.sso#UnauthorizedException":
246
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
246
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
247
247
  default:
248
248
  const parsedBody = parsedOutput.body;
249
249
  throwDefaultError({
@@ -255,7 +255,7 @@ const deserializeAws_restJson1LogoutCommandError = async (output, context) => {
255
255
  }
256
256
  };
257
257
  const map = __map;
258
- const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
258
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
259
259
  const contents = map({});
260
260
  const data = parsedOutput.body;
261
261
  if (data.message != null) {
@@ -267,7 +267,7 @@ const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOut
267
267
  });
268
268
  return __decorateServiceException(exception, parsedOutput.body);
269
269
  };
270
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
270
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
271
271
  const contents = map({});
272
272
  const data = parsedOutput.body;
273
273
  if (data.message != null) {
@@ -279,7 +279,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
279
279
  });
280
280
  return __decorateServiceException(exception, parsedOutput.body);
281
281
  };
282
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
282
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
283
283
  const contents = map({});
284
284
  const data = parsedOutput.body;
285
285
  if (data.message != null) {
@@ -291,7 +291,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
291
291
  });
292
292
  return __decorateServiceException(exception, parsedOutput.body);
293
293
  };
294
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
294
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
295
295
  const contents = map({});
296
296
  const data = parsedOutput.body;
297
297
  if (data.message != null) {
@@ -303,25 +303,25 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
303
303
  });
304
304
  return __decorateServiceException(exception, parsedOutput.body);
305
305
  };
306
- const deserializeAws_restJson1AccountInfo = (output, context) => {
306
+ const de_AccountInfo = (output, context) => {
307
307
  return {
308
308
  accountId: __expectString(output.accountId),
309
309
  accountName: __expectString(output.accountName),
310
310
  emailAddress: __expectString(output.emailAddress),
311
311
  };
312
312
  };
313
- const deserializeAws_restJson1AccountListType = (output, context) => {
313
+ const de_AccountListType = (output, context) => {
314
314
  const retVal = (output || [])
315
315
  .filter((e) => e != null)
316
316
  .map((entry) => {
317
317
  if (entry === null) {
318
318
  return null;
319
319
  }
320
- return deserializeAws_restJson1AccountInfo(entry, context);
320
+ return de_AccountInfo(entry, context);
321
321
  });
322
322
  return retVal;
323
323
  };
324
- const deserializeAws_restJson1RoleCredentials = (output, context) => {
324
+ const de_RoleCredentials = (output, context) => {
325
325
  return {
326
326
  accessKeyId: __expectString(output.accessKeyId),
327
327
  expiration: __expectLong(output.expiration),
@@ -329,20 +329,20 @@ const deserializeAws_restJson1RoleCredentials = (output, context) => {
329
329
  sessionToken: __expectString(output.sessionToken),
330
330
  };
331
331
  };
332
- const deserializeAws_restJson1RoleInfo = (output, context) => {
332
+ const de_RoleInfo = (output, context) => {
333
333
  return {
334
334
  accountId: __expectString(output.accountId),
335
335
  roleName: __expectString(output.roleName),
336
336
  };
337
337
  };
338
- const deserializeAws_restJson1RoleListType = (output, context) => {
338
+ const de_RoleListType = (output, context) => {
339
339
  const retVal = (output || [])
340
340
  .filter((e) => e != null)
341
341
  .map((entry) => {
342
342
  if (entry === null) {
343
343
  return null;
344
344
  }
345
- return deserializeAws_restJson1RoleInfo(entry, context);
345
+ return de_RoleInfo(entry, context);
346
346
  });
347
347
  return retVal;
348
348
  };
@@ -4,11 +4,35 @@ import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from
4
4
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
5
5
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
6
6
  import { LogoutCommandInput, LogoutCommandOutput } from "../commands/LogoutCommand";
7
- export declare const serializeAws_restJson1GetRoleCredentialsCommand: (input: GetRoleCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
- export declare const serializeAws_restJson1ListAccountRolesCommand: (input: ListAccountRolesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
- export declare const serializeAws_restJson1ListAccountsCommand: (input: ListAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
- export declare const serializeAws_restJson1LogoutCommand: (input: LogoutCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
- export declare const deserializeAws_restJson1GetRoleCredentialsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoleCredentialsCommandOutput>;
12
- export declare const deserializeAws_restJson1ListAccountRolesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountRolesCommandOutput>;
13
- export declare const deserializeAws_restJson1ListAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountsCommandOutput>;
14
- export declare const deserializeAws_restJson1LogoutCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LogoutCommandOutput>;
7
+ /**
8
+ * serializeAws_restJson1GetRoleCredentialsCommand
9
+ */
10
+ export declare const se_GetRoleCredentialsCommand: (input: GetRoleCredentialsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
+ /**
12
+ * serializeAws_restJson1ListAccountRolesCommand
13
+ */
14
+ export declare const se_ListAccountRolesCommand: (input: ListAccountRolesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ /**
16
+ * serializeAws_restJson1ListAccountsCommand
17
+ */
18
+ export declare const se_ListAccountsCommand: (input: ListAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ /**
20
+ * serializeAws_restJson1LogoutCommand
21
+ */
22
+ export declare const se_LogoutCommand: (input: LogoutCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ /**
24
+ * deserializeAws_restJson1GetRoleCredentialsCommand
25
+ */
26
+ export declare const de_GetRoleCredentialsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoleCredentialsCommandOutput>;
27
+ /**
28
+ * deserializeAws_restJson1ListAccountRolesCommand
29
+ */
30
+ export declare const de_ListAccountRolesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountRolesCommandOutput>;
31
+ /**
32
+ * deserializeAws_restJson1ListAccountsCommand
33
+ */
34
+ export declare const de_ListAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountsCommandOutput>;
35
+ /**
36
+ * deserializeAws_restJson1LogoutCommand
37
+ */
38
+ export declare const de_LogoutCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LogoutCommandOutput>;
@@ -19,35 +19,35 @@ import {
19
19
  LogoutCommandInput,
20
20
  LogoutCommandOutput,
21
21
  } from "../commands/LogoutCommand";
22
- export declare const serializeAws_restJson1GetRoleCredentialsCommand: (
22
+ export declare const se_GetRoleCredentialsCommand: (
23
23
  input: GetRoleCredentialsCommandInput,
24
24
  context: __SerdeContext
25
25
  ) => Promise<__HttpRequest>;
26
- export declare const serializeAws_restJson1ListAccountRolesCommand: (
26
+ export declare const se_ListAccountRolesCommand: (
27
27
  input: ListAccountRolesCommandInput,
28
28
  context: __SerdeContext
29
29
  ) => Promise<__HttpRequest>;
30
- export declare const serializeAws_restJson1ListAccountsCommand: (
30
+ export declare const se_ListAccountsCommand: (
31
31
  input: ListAccountsCommandInput,
32
32
  context: __SerdeContext
33
33
  ) => Promise<__HttpRequest>;
34
- export declare const serializeAws_restJson1LogoutCommand: (
34
+ export declare const se_LogoutCommand: (
35
35
  input: LogoutCommandInput,
36
36
  context: __SerdeContext
37
37
  ) => Promise<__HttpRequest>;
38
- export declare const deserializeAws_restJson1GetRoleCredentialsCommand: (
38
+ export declare const de_GetRoleCredentialsCommand: (
39
39
  output: __HttpResponse,
40
40
  context: __SerdeContext
41
41
  ) => Promise<GetRoleCredentialsCommandOutput>;
42
- export declare const deserializeAws_restJson1ListAccountRolesCommand: (
42
+ export declare const de_ListAccountRolesCommand: (
43
43
  output: __HttpResponse,
44
44
  context: __SerdeContext
45
45
  ) => Promise<ListAccountRolesCommandOutput>;
46
- export declare const deserializeAws_restJson1ListAccountsCommand: (
46
+ export declare const de_ListAccountsCommand: (
47
47
  output: __HttpResponse,
48
48
  context: __SerdeContext
49
49
  ) => Promise<ListAccountsCommandOutput>;
50
- export declare const deserializeAws_restJson1LogoutCommand: (
50
+ export declare const de_LogoutCommand: (
51
51
  output: __HttpResponse,
52
52
  context: __SerdeContext
53
53
  ) => Promise<LogoutCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.303.0",
4
+ "version": "3.309.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",
@@ -21,34 +21,34 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/config-resolver": "3.303.0",
25
- "@aws-sdk/fetch-http-handler": "3.303.0",
26
- "@aws-sdk/hash-node": "3.303.0",
27
- "@aws-sdk/invalid-dependency": "3.303.0",
28
- "@aws-sdk/middleware-content-length": "3.303.0",
29
- "@aws-sdk/middleware-endpoint": "3.303.0",
30
- "@aws-sdk/middleware-host-header": "3.303.0",
31
- "@aws-sdk/middleware-logger": "3.303.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.303.0",
33
- "@aws-sdk/middleware-retry": "3.303.0",
34
- "@aws-sdk/middleware-serde": "3.303.0",
35
- "@aws-sdk/middleware-stack": "3.303.0",
36
- "@aws-sdk/middleware-user-agent": "3.303.0",
37
- "@aws-sdk/node-config-provider": "3.303.0",
38
- "@aws-sdk/node-http-handler": "3.303.0",
39
- "@aws-sdk/protocol-http": "3.303.0",
40
- "@aws-sdk/smithy-client": "3.303.0",
41
- "@aws-sdk/types": "3.303.0",
42
- "@aws-sdk/url-parser": "3.303.0",
24
+ "@aws-sdk/config-resolver": "3.306.0",
25
+ "@aws-sdk/fetch-http-handler": "3.306.0",
26
+ "@aws-sdk/hash-node": "3.306.0",
27
+ "@aws-sdk/invalid-dependency": "3.306.0",
28
+ "@aws-sdk/middleware-content-length": "3.306.0",
29
+ "@aws-sdk/middleware-endpoint": "3.306.0",
30
+ "@aws-sdk/middleware-host-header": "3.306.0",
31
+ "@aws-sdk/middleware-logger": "3.306.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
33
+ "@aws-sdk/middleware-retry": "3.306.0",
34
+ "@aws-sdk/middleware-serde": "3.306.0",
35
+ "@aws-sdk/middleware-stack": "3.306.0",
36
+ "@aws-sdk/middleware-user-agent": "3.306.0",
37
+ "@aws-sdk/node-config-provider": "3.306.0",
38
+ "@aws-sdk/node-http-handler": "3.306.0",
39
+ "@aws-sdk/protocol-http": "3.306.0",
40
+ "@aws-sdk/smithy-client": "3.309.0",
41
+ "@aws-sdk/types": "3.306.0",
42
+ "@aws-sdk/url-parser": "3.306.0",
43
43
  "@aws-sdk/util-base64": "3.303.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.303.0",
45
45
  "@aws-sdk/util-body-length-node": "3.303.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.303.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.303.0",
48
- "@aws-sdk/util-endpoints": "3.303.0",
49
- "@aws-sdk/util-retry": "3.303.0",
50
- "@aws-sdk/util-user-agent-browser": "3.303.0",
51
- "@aws-sdk/util-user-agent-node": "3.303.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.309.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.309.0",
48
+ "@aws-sdk/util-endpoints": "3.306.0",
49
+ "@aws-sdk/util-retry": "3.306.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
51
+ "@aws-sdk/util-user-agent-node": "3.306.0",
52
52
  "@aws-sdk/util-utf8": "3.303.0",
53
53
  "tslib": "^2.5.0"
54
54
  },