@aws-sdk/client-iam 3.183.0 → 3.186.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 (203) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/IAM.js +641 -634
  4. package/dist-es/IAMClient.js +28 -22
  5. package/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +29 -22
  6. package/dist-es/commands/AddRoleToInstanceProfileCommand.js +29 -22
  7. package/dist-es/commands/AddUserToGroupCommand.js +29 -22
  8. package/dist-es/commands/AttachGroupPolicyCommand.js +29 -22
  9. package/dist-es/commands/AttachRolePolicyCommand.js +29 -22
  10. package/dist-es/commands/AttachUserPolicyCommand.js +29 -22
  11. package/dist-es/commands/ChangePasswordCommand.js +29 -22
  12. package/dist-es/commands/CreateAccessKeyCommand.js +28 -21
  13. package/dist-es/commands/CreateAccountAliasCommand.js +29 -22
  14. package/dist-es/commands/CreateGroupCommand.js +28 -21
  15. package/dist-es/commands/CreateInstanceProfileCommand.js +28 -21
  16. package/dist-es/commands/CreateLoginProfileCommand.js +28 -21
  17. package/dist-es/commands/CreateOpenIDConnectProviderCommand.js +28 -21
  18. package/dist-es/commands/CreatePolicyCommand.js +28 -21
  19. package/dist-es/commands/CreatePolicyVersionCommand.js +28 -21
  20. package/dist-es/commands/CreateRoleCommand.js +28 -21
  21. package/dist-es/commands/CreateSAMLProviderCommand.js +28 -21
  22. package/dist-es/commands/CreateServiceLinkedRoleCommand.js +28 -21
  23. package/dist-es/commands/CreateServiceSpecificCredentialCommand.js +28 -21
  24. package/dist-es/commands/CreateUserCommand.js +28 -21
  25. package/dist-es/commands/CreateVirtualMFADeviceCommand.js +28 -21
  26. package/dist-es/commands/DeactivateMFADeviceCommand.js +29 -22
  27. package/dist-es/commands/DeleteAccessKeyCommand.js +29 -22
  28. package/dist-es/commands/DeleteAccountAliasCommand.js +29 -22
  29. package/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +30 -23
  30. package/dist-es/commands/DeleteGroupCommand.js +29 -22
  31. package/dist-es/commands/DeleteGroupPolicyCommand.js +29 -22
  32. package/dist-es/commands/DeleteInstanceProfileCommand.js +29 -22
  33. package/dist-es/commands/DeleteLoginProfileCommand.js +29 -22
  34. package/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +29 -22
  35. package/dist-es/commands/DeletePolicyCommand.js +29 -22
  36. package/dist-es/commands/DeletePolicyVersionCommand.js +29 -22
  37. package/dist-es/commands/DeleteRoleCommand.js +29 -22
  38. package/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +29 -22
  39. package/dist-es/commands/DeleteRolePolicyCommand.js +29 -22
  40. package/dist-es/commands/DeleteSAMLProviderCommand.js +29 -22
  41. package/dist-es/commands/DeleteSSHPublicKeyCommand.js +29 -22
  42. package/dist-es/commands/DeleteServerCertificateCommand.js +29 -22
  43. package/dist-es/commands/DeleteServiceLinkedRoleCommand.js +28 -21
  44. package/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +29 -22
  45. package/dist-es/commands/DeleteSigningCertificateCommand.js +29 -22
  46. package/dist-es/commands/DeleteUserCommand.js +29 -22
  47. package/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +29 -22
  48. package/dist-es/commands/DeleteUserPolicyCommand.js +29 -22
  49. package/dist-es/commands/DeleteVirtualMFADeviceCommand.js +29 -22
  50. package/dist-es/commands/DetachGroupPolicyCommand.js +29 -22
  51. package/dist-es/commands/DetachRolePolicyCommand.js +29 -22
  52. package/dist-es/commands/DetachUserPolicyCommand.js +29 -22
  53. package/dist-es/commands/EnableMFADeviceCommand.js +29 -22
  54. package/dist-es/commands/GenerateCredentialReportCommand.js +29 -22
  55. package/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +28 -21
  56. package/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +28 -21
  57. package/dist-es/commands/GetAccessKeyLastUsedCommand.js +28 -21
  58. package/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +28 -21
  59. package/dist-es/commands/GetAccountPasswordPolicyCommand.js +29 -22
  60. package/dist-es/commands/GetAccountSummaryCommand.js +29 -22
  61. package/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +28 -21
  62. package/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +28 -21
  63. package/dist-es/commands/GetCredentialReportCommand.js +29 -22
  64. package/dist-es/commands/GetGroupCommand.js +28 -21
  65. package/dist-es/commands/GetGroupPolicyCommand.js +28 -21
  66. package/dist-es/commands/GetInstanceProfileCommand.js +28 -21
  67. package/dist-es/commands/GetLoginProfileCommand.js +28 -21
  68. package/dist-es/commands/GetOpenIDConnectProviderCommand.js +28 -21
  69. package/dist-es/commands/GetOrganizationsAccessReportCommand.js +28 -21
  70. package/dist-es/commands/GetPolicyCommand.js +28 -21
  71. package/dist-es/commands/GetPolicyVersionCommand.js +28 -21
  72. package/dist-es/commands/GetRoleCommand.js +28 -21
  73. package/dist-es/commands/GetRolePolicyCommand.js +28 -21
  74. package/dist-es/commands/GetSAMLProviderCommand.js +28 -21
  75. package/dist-es/commands/GetSSHPublicKeyCommand.js +28 -21
  76. package/dist-es/commands/GetServerCertificateCommand.js +28 -21
  77. package/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +28 -21
  78. package/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +28 -21
  79. package/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +28 -21
  80. package/dist-es/commands/GetUserCommand.js +28 -21
  81. package/dist-es/commands/GetUserPolicyCommand.js +28 -21
  82. package/dist-es/commands/ListAccessKeysCommand.js +28 -21
  83. package/dist-es/commands/ListAccountAliasesCommand.js +28 -21
  84. package/dist-es/commands/ListAttachedGroupPoliciesCommand.js +28 -21
  85. package/dist-es/commands/ListAttachedRolePoliciesCommand.js +28 -21
  86. package/dist-es/commands/ListAttachedUserPoliciesCommand.js +28 -21
  87. package/dist-es/commands/ListEntitiesForPolicyCommand.js +28 -21
  88. package/dist-es/commands/ListGroupPoliciesCommand.js +28 -21
  89. package/dist-es/commands/ListGroupsCommand.js +28 -21
  90. package/dist-es/commands/ListGroupsForUserCommand.js +28 -21
  91. package/dist-es/commands/ListInstanceProfileTagsCommand.js +28 -21
  92. package/dist-es/commands/ListInstanceProfilesCommand.js +28 -21
  93. package/dist-es/commands/ListInstanceProfilesForRoleCommand.js +28 -21
  94. package/dist-es/commands/ListMFADeviceTagsCommand.js +28 -21
  95. package/dist-es/commands/ListMFADevicesCommand.js +28 -21
  96. package/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +28 -21
  97. package/dist-es/commands/ListOpenIDConnectProvidersCommand.js +28 -21
  98. package/dist-es/commands/ListPoliciesCommand.js +28 -21
  99. package/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +28 -21
  100. package/dist-es/commands/ListPolicyTagsCommand.js +28 -21
  101. package/dist-es/commands/ListPolicyVersionsCommand.js +28 -21
  102. package/dist-es/commands/ListRolePoliciesCommand.js +28 -21
  103. package/dist-es/commands/ListRoleTagsCommand.js +28 -21
  104. package/dist-es/commands/ListRolesCommand.js +28 -21
  105. package/dist-es/commands/ListSAMLProviderTagsCommand.js +28 -21
  106. package/dist-es/commands/ListSAMLProvidersCommand.js +28 -21
  107. package/dist-es/commands/ListSSHPublicKeysCommand.js +28 -21
  108. package/dist-es/commands/ListServerCertificateTagsCommand.js +28 -21
  109. package/dist-es/commands/ListServerCertificatesCommand.js +28 -21
  110. package/dist-es/commands/ListServiceSpecificCredentialsCommand.js +28 -21
  111. package/dist-es/commands/ListSigningCertificatesCommand.js +28 -21
  112. package/dist-es/commands/ListUserPoliciesCommand.js +28 -21
  113. package/dist-es/commands/ListUserTagsCommand.js +28 -21
  114. package/dist-es/commands/ListUsersCommand.js +28 -21
  115. package/dist-es/commands/ListVirtualMFADevicesCommand.js +28 -21
  116. package/dist-es/commands/PutGroupPolicyCommand.js +29 -22
  117. package/dist-es/commands/PutRolePermissionsBoundaryCommand.js +29 -22
  118. package/dist-es/commands/PutRolePolicyCommand.js +29 -22
  119. package/dist-es/commands/PutUserPermissionsBoundaryCommand.js +29 -22
  120. package/dist-es/commands/PutUserPolicyCommand.js +29 -22
  121. package/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +29 -22
  122. package/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +29 -22
  123. package/dist-es/commands/RemoveUserFromGroupCommand.js +29 -22
  124. package/dist-es/commands/ResetServiceSpecificCredentialCommand.js +28 -21
  125. package/dist-es/commands/ResyncMFADeviceCommand.js +29 -22
  126. package/dist-es/commands/SetDefaultPolicyVersionCommand.js +29 -22
  127. package/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +29 -22
  128. package/dist-es/commands/SimulateCustomPolicyCommand.js +28 -21
  129. package/dist-es/commands/SimulatePrincipalPolicyCommand.js +28 -21
  130. package/dist-es/commands/TagInstanceProfileCommand.js +29 -22
  131. package/dist-es/commands/TagMFADeviceCommand.js +29 -22
  132. package/dist-es/commands/TagOpenIDConnectProviderCommand.js +29 -22
  133. package/dist-es/commands/TagPolicyCommand.js +29 -22
  134. package/dist-es/commands/TagRoleCommand.js +29 -22
  135. package/dist-es/commands/TagSAMLProviderCommand.js +29 -22
  136. package/dist-es/commands/TagServerCertificateCommand.js +29 -22
  137. package/dist-es/commands/TagUserCommand.js +29 -22
  138. package/dist-es/commands/UntagInstanceProfileCommand.js +29 -22
  139. package/dist-es/commands/UntagMFADeviceCommand.js +29 -22
  140. package/dist-es/commands/UntagOpenIDConnectProviderCommand.js +29 -22
  141. package/dist-es/commands/UntagPolicyCommand.js +29 -22
  142. package/dist-es/commands/UntagRoleCommand.js +29 -22
  143. package/dist-es/commands/UntagSAMLProviderCommand.js +29 -22
  144. package/dist-es/commands/UntagServerCertificateCommand.js +29 -22
  145. package/dist-es/commands/UntagUserCommand.js +29 -22
  146. package/dist-es/commands/UpdateAccessKeyCommand.js +29 -22
  147. package/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +29 -22
  148. package/dist-es/commands/UpdateAssumeRolePolicyCommand.js +29 -22
  149. package/dist-es/commands/UpdateGroupCommand.js +29 -22
  150. package/dist-es/commands/UpdateLoginProfileCommand.js +29 -22
  151. package/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +29 -22
  152. package/dist-es/commands/UpdateRoleCommand.js +28 -21
  153. package/dist-es/commands/UpdateRoleDescriptionCommand.js +28 -21
  154. package/dist-es/commands/UpdateSAMLProviderCommand.js +28 -21
  155. package/dist-es/commands/UpdateSSHPublicKeyCommand.js +29 -22
  156. package/dist-es/commands/UpdateServerCertificateCommand.js +29 -22
  157. package/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +29 -22
  158. package/dist-es/commands/UpdateSigningCertificateCommand.js +29 -22
  159. package/dist-es/commands/UpdateUserCommand.js +29 -22
  160. package/dist-es/commands/UploadSSHPublicKeyCommand.js +28 -21
  161. package/dist-es/commands/UploadServerCertificateCommand.js +28 -21
  162. package/dist-es/commands/UploadSigningCertificateCommand.js +28 -21
  163. package/dist-es/endpoints.js +8 -8
  164. package/dist-es/models/IAMServiceException.js +10 -5
  165. package/dist-es/models/models_0.js +497 -1026
  166. package/dist-es/models/models_1.js +95 -152
  167. package/dist-es/pagination/GetAccountAuthorizationDetailsPaginator.js +68 -25
  168. package/dist-es/pagination/GetGroupPaginator.js +68 -25
  169. package/dist-es/pagination/ListAccessKeysPaginator.js +68 -25
  170. package/dist-es/pagination/ListAccountAliasesPaginator.js +68 -25
  171. package/dist-es/pagination/ListAttachedGroupPoliciesPaginator.js +68 -25
  172. package/dist-es/pagination/ListAttachedRolePoliciesPaginator.js +68 -25
  173. package/dist-es/pagination/ListAttachedUserPoliciesPaginator.js +68 -25
  174. package/dist-es/pagination/ListEntitiesForPolicyPaginator.js +68 -25
  175. package/dist-es/pagination/ListGroupPoliciesPaginator.js +68 -25
  176. package/dist-es/pagination/ListGroupsForUserPaginator.js +68 -25
  177. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  178. package/dist-es/pagination/ListInstanceProfilesForRolePaginator.js +68 -25
  179. package/dist-es/pagination/ListInstanceProfilesPaginator.js +68 -25
  180. package/dist-es/pagination/ListMFADevicesPaginator.js +68 -25
  181. package/dist-es/pagination/ListPoliciesPaginator.js +68 -25
  182. package/dist-es/pagination/ListPolicyVersionsPaginator.js +68 -25
  183. package/dist-es/pagination/ListRolePoliciesPaginator.js +68 -25
  184. package/dist-es/pagination/ListRolesPaginator.js +68 -25
  185. package/dist-es/pagination/ListSSHPublicKeysPaginator.js +68 -25
  186. package/dist-es/pagination/ListServerCertificatesPaginator.js +68 -25
  187. package/dist-es/pagination/ListSigningCertificatesPaginator.js +68 -25
  188. package/dist-es/pagination/ListUserPoliciesPaginator.js +68 -25
  189. package/dist-es/pagination/ListUserTagsPaginator.js +68 -25
  190. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  191. package/dist-es/pagination/ListVirtualMFADevicesPaginator.js +68 -25
  192. package/dist-es/pagination/SimulateCustomPolicyPaginator.js +68 -25
  193. package/dist-es/pagination/SimulatePrincipalPolicyPaginator.js +68 -25
  194. package/dist-es/protocols/Aws_query.js +12379 -9069
  195. package/dist-es/runtimeConfig.browser.js +12 -26
  196. package/dist-es/runtimeConfig.js +12 -30
  197. package/dist-es/runtimeConfig.native.js +5 -8
  198. package/dist-es/runtimeConfig.shared.js +11 -8
  199. package/dist-es/waiters/waitForInstanceProfileExists.js +42 -23
  200. package/dist-es/waiters/waitForPolicyExists.js +42 -23
  201. package/dist-es/waiters/waitForRoleExists.js +42 -23
  202. package/dist-es/waiters/waitForUserExists.js +42 -23
  203. package/package.json +34 -34
package/dist-es/IAM.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { AddClientIDToOpenIDConnectProviderCommand, } from "./commands/AddClientIDToOpenIDConnectProviderCommand";
2
3
  import { AddRoleToInstanceProfileCommand, } from "./commands/AddRoleToInstanceProfileCommand";
3
4
  import { AddUserToGroupCommand, } from "./commands/AddUserToGroupCommand";
@@ -157,2217 +158,2223 @@ import { UploadServerCertificateCommand, } from "./commands/UploadServerCertific
157
158
  import { UploadSigningCertificateCommand, } from "./commands/UploadSigningCertificateCommand";
158
159
  import { UploadSSHPublicKeyCommand, } from "./commands/UploadSSHPublicKeyCommand";
159
160
  import { IAMClient } from "./IAMClient";
160
- export class IAM extends IAMClient {
161
- addClientIDToOpenIDConnectProvider(args, optionsOrCb, cb) {
162
- const command = new AddClientIDToOpenIDConnectProviderCommand(args);
161
+ var IAM = (function (_super) {
162
+ __extends(IAM, _super);
163
+ function IAM() {
164
+ return _super !== null && _super.apply(this, arguments) || this;
165
+ }
166
+ IAM.prototype.addClientIDToOpenIDConnectProvider = function (args, optionsOrCb, cb) {
167
+ var command = new AddClientIDToOpenIDConnectProviderCommand(args);
163
168
  if (typeof optionsOrCb === "function") {
164
169
  this.send(command, optionsOrCb);
165
170
  }
166
171
  else if (typeof cb === "function") {
167
172
  if (typeof optionsOrCb !== "object")
168
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
173
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
169
174
  this.send(command, optionsOrCb || {}, cb);
170
175
  }
171
176
  else {
172
177
  return this.send(command, optionsOrCb);
173
178
  }
174
- }
175
- addRoleToInstanceProfile(args, optionsOrCb, cb) {
176
- const command = new AddRoleToInstanceProfileCommand(args);
179
+ };
180
+ IAM.prototype.addRoleToInstanceProfile = function (args, optionsOrCb, cb) {
181
+ var command = new AddRoleToInstanceProfileCommand(args);
177
182
  if (typeof optionsOrCb === "function") {
178
183
  this.send(command, optionsOrCb);
179
184
  }
180
185
  else if (typeof cb === "function") {
181
186
  if (typeof optionsOrCb !== "object")
182
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
187
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
183
188
  this.send(command, optionsOrCb || {}, cb);
184
189
  }
185
190
  else {
186
191
  return this.send(command, optionsOrCb);
187
192
  }
188
- }
189
- addUserToGroup(args, optionsOrCb, cb) {
190
- const command = new AddUserToGroupCommand(args);
193
+ };
194
+ IAM.prototype.addUserToGroup = function (args, optionsOrCb, cb) {
195
+ var command = new AddUserToGroupCommand(args);
191
196
  if (typeof optionsOrCb === "function") {
192
197
  this.send(command, optionsOrCb);
193
198
  }
194
199
  else if (typeof cb === "function") {
195
200
  if (typeof optionsOrCb !== "object")
196
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
201
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
197
202
  this.send(command, optionsOrCb || {}, cb);
198
203
  }
199
204
  else {
200
205
  return this.send(command, optionsOrCb);
201
206
  }
202
- }
203
- attachGroupPolicy(args, optionsOrCb, cb) {
204
- const command = new AttachGroupPolicyCommand(args);
207
+ };
208
+ IAM.prototype.attachGroupPolicy = function (args, optionsOrCb, cb) {
209
+ var command = new AttachGroupPolicyCommand(args);
205
210
  if (typeof optionsOrCb === "function") {
206
211
  this.send(command, optionsOrCb);
207
212
  }
208
213
  else if (typeof cb === "function") {
209
214
  if (typeof optionsOrCb !== "object")
210
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
215
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
211
216
  this.send(command, optionsOrCb || {}, cb);
212
217
  }
213
218
  else {
214
219
  return this.send(command, optionsOrCb);
215
220
  }
216
- }
217
- attachRolePolicy(args, optionsOrCb, cb) {
218
- const command = new AttachRolePolicyCommand(args);
221
+ };
222
+ IAM.prototype.attachRolePolicy = function (args, optionsOrCb, cb) {
223
+ var command = new AttachRolePolicyCommand(args);
219
224
  if (typeof optionsOrCb === "function") {
220
225
  this.send(command, optionsOrCb);
221
226
  }
222
227
  else if (typeof cb === "function") {
223
228
  if (typeof optionsOrCb !== "object")
224
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
229
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
225
230
  this.send(command, optionsOrCb || {}, cb);
226
231
  }
227
232
  else {
228
233
  return this.send(command, optionsOrCb);
229
234
  }
230
- }
231
- attachUserPolicy(args, optionsOrCb, cb) {
232
- const command = new AttachUserPolicyCommand(args);
235
+ };
236
+ IAM.prototype.attachUserPolicy = function (args, optionsOrCb, cb) {
237
+ var command = new AttachUserPolicyCommand(args);
233
238
  if (typeof optionsOrCb === "function") {
234
239
  this.send(command, optionsOrCb);
235
240
  }
236
241
  else if (typeof cb === "function") {
237
242
  if (typeof optionsOrCb !== "object")
238
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
243
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
239
244
  this.send(command, optionsOrCb || {}, cb);
240
245
  }
241
246
  else {
242
247
  return this.send(command, optionsOrCb);
243
248
  }
244
- }
245
- changePassword(args, optionsOrCb, cb) {
246
- const command = new ChangePasswordCommand(args);
249
+ };
250
+ IAM.prototype.changePassword = function (args, optionsOrCb, cb) {
251
+ var command = new ChangePasswordCommand(args);
247
252
  if (typeof optionsOrCb === "function") {
248
253
  this.send(command, optionsOrCb);
249
254
  }
250
255
  else if (typeof cb === "function") {
251
256
  if (typeof optionsOrCb !== "object")
252
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
257
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
253
258
  this.send(command, optionsOrCb || {}, cb);
254
259
  }
255
260
  else {
256
261
  return this.send(command, optionsOrCb);
257
262
  }
258
- }
259
- createAccessKey(args, optionsOrCb, cb) {
260
- const command = new CreateAccessKeyCommand(args);
263
+ };
264
+ IAM.prototype.createAccessKey = function (args, optionsOrCb, cb) {
265
+ var command = new CreateAccessKeyCommand(args);
261
266
  if (typeof optionsOrCb === "function") {
262
267
  this.send(command, optionsOrCb);
263
268
  }
264
269
  else if (typeof cb === "function") {
265
270
  if (typeof optionsOrCb !== "object")
266
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
271
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
267
272
  this.send(command, optionsOrCb || {}, cb);
268
273
  }
269
274
  else {
270
275
  return this.send(command, optionsOrCb);
271
276
  }
272
- }
273
- createAccountAlias(args, optionsOrCb, cb) {
274
- const command = new CreateAccountAliasCommand(args);
277
+ };
278
+ IAM.prototype.createAccountAlias = function (args, optionsOrCb, cb) {
279
+ var command = new CreateAccountAliasCommand(args);
275
280
  if (typeof optionsOrCb === "function") {
276
281
  this.send(command, optionsOrCb);
277
282
  }
278
283
  else if (typeof cb === "function") {
279
284
  if (typeof optionsOrCb !== "object")
280
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
285
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
281
286
  this.send(command, optionsOrCb || {}, cb);
282
287
  }
283
288
  else {
284
289
  return this.send(command, optionsOrCb);
285
290
  }
286
- }
287
- createGroup(args, optionsOrCb, cb) {
288
- const command = new CreateGroupCommand(args);
291
+ };
292
+ IAM.prototype.createGroup = function (args, optionsOrCb, cb) {
293
+ var command = new CreateGroupCommand(args);
289
294
  if (typeof optionsOrCb === "function") {
290
295
  this.send(command, optionsOrCb);
291
296
  }
292
297
  else if (typeof cb === "function") {
293
298
  if (typeof optionsOrCb !== "object")
294
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
299
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
295
300
  this.send(command, optionsOrCb || {}, cb);
296
301
  }
297
302
  else {
298
303
  return this.send(command, optionsOrCb);
299
304
  }
300
- }
301
- createInstanceProfile(args, optionsOrCb, cb) {
302
- const command = new CreateInstanceProfileCommand(args);
305
+ };
306
+ IAM.prototype.createInstanceProfile = function (args, optionsOrCb, cb) {
307
+ var command = new CreateInstanceProfileCommand(args);
303
308
  if (typeof optionsOrCb === "function") {
304
309
  this.send(command, optionsOrCb);
305
310
  }
306
311
  else if (typeof cb === "function") {
307
312
  if (typeof optionsOrCb !== "object")
308
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
309
314
  this.send(command, optionsOrCb || {}, cb);
310
315
  }
311
316
  else {
312
317
  return this.send(command, optionsOrCb);
313
318
  }
314
- }
315
- createLoginProfile(args, optionsOrCb, cb) {
316
- const command = new CreateLoginProfileCommand(args);
319
+ };
320
+ IAM.prototype.createLoginProfile = function (args, optionsOrCb, cb) {
321
+ var command = new CreateLoginProfileCommand(args);
317
322
  if (typeof optionsOrCb === "function") {
318
323
  this.send(command, optionsOrCb);
319
324
  }
320
325
  else if (typeof cb === "function") {
321
326
  if (typeof optionsOrCb !== "object")
322
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
327
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
323
328
  this.send(command, optionsOrCb || {}, cb);
324
329
  }
325
330
  else {
326
331
  return this.send(command, optionsOrCb);
327
332
  }
328
- }
329
- createOpenIDConnectProvider(args, optionsOrCb, cb) {
330
- const command = new CreateOpenIDConnectProviderCommand(args);
333
+ };
334
+ IAM.prototype.createOpenIDConnectProvider = function (args, optionsOrCb, cb) {
335
+ var command = new CreateOpenIDConnectProviderCommand(args);
331
336
  if (typeof optionsOrCb === "function") {
332
337
  this.send(command, optionsOrCb);
333
338
  }
334
339
  else if (typeof cb === "function") {
335
340
  if (typeof optionsOrCb !== "object")
336
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
341
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
337
342
  this.send(command, optionsOrCb || {}, cb);
338
343
  }
339
344
  else {
340
345
  return this.send(command, optionsOrCb);
341
346
  }
342
- }
343
- createPolicy(args, optionsOrCb, cb) {
344
- const command = new CreatePolicyCommand(args);
347
+ };
348
+ IAM.prototype.createPolicy = function (args, optionsOrCb, cb) {
349
+ var command = new CreatePolicyCommand(args);
345
350
  if (typeof optionsOrCb === "function") {
346
351
  this.send(command, optionsOrCb);
347
352
  }
348
353
  else if (typeof cb === "function") {
349
354
  if (typeof optionsOrCb !== "object")
350
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
355
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
351
356
  this.send(command, optionsOrCb || {}, cb);
352
357
  }
353
358
  else {
354
359
  return this.send(command, optionsOrCb);
355
360
  }
356
- }
357
- createPolicyVersion(args, optionsOrCb, cb) {
358
- const command = new CreatePolicyVersionCommand(args);
361
+ };
362
+ IAM.prototype.createPolicyVersion = function (args, optionsOrCb, cb) {
363
+ var command = new CreatePolicyVersionCommand(args);
359
364
  if (typeof optionsOrCb === "function") {
360
365
  this.send(command, optionsOrCb);
361
366
  }
362
367
  else if (typeof cb === "function") {
363
368
  if (typeof optionsOrCb !== "object")
364
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
369
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
365
370
  this.send(command, optionsOrCb || {}, cb);
366
371
  }
367
372
  else {
368
373
  return this.send(command, optionsOrCb);
369
374
  }
370
- }
371
- createRole(args, optionsOrCb, cb) {
372
- const command = new CreateRoleCommand(args);
375
+ };
376
+ IAM.prototype.createRole = function (args, optionsOrCb, cb) {
377
+ var command = new CreateRoleCommand(args);
373
378
  if (typeof optionsOrCb === "function") {
374
379
  this.send(command, optionsOrCb);
375
380
  }
376
381
  else if (typeof cb === "function") {
377
382
  if (typeof optionsOrCb !== "object")
378
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
383
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
379
384
  this.send(command, optionsOrCb || {}, cb);
380
385
  }
381
386
  else {
382
387
  return this.send(command, optionsOrCb);
383
388
  }
384
- }
385
- createSAMLProvider(args, optionsOrCb, cb) {
386
- const command = new CreateSAMLProviderCommand(args);
389
+ };
390
+ IAM.prototype.createSAMLProvider = function (args, optionsOrCb, cb) {
391
+ var command = new CreateSAMLProviderCommand(args);
387
392
  if (typeof optionsOrCb === "function") {
388
393
  this.send(command, optionsOrCb);
389
394
  }
390
395
  else if (typeof cb === "function") {
391
396
  if (typeof optionsOrCb !== "object")
392
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
397
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
393
398
  this.send(command, optionsOrCb || {}, cb);
394
399
  }
395
400
  else {
396
401
  return this.send(command, optionsOrCb);
397
402
  }
398
- }
399
- createServiceLinkedRole(args, optionsOrCb, cb) {
400
- const command = new CreateServiceLinkedRoleCommand(args);
403
+ };
404
+ IAM.prototype.createServiceLinkedRole = function (args, optionsOrCb, cb) {
405
+ var command = new CreateServiceLinkedRoleCommand(args);
401
406
  if (typeof optionsOrCb === "function") {
402
407
  this.send(command, optionsOrCb);
403
408
  }
404
409
  else if (typeof cb === "function") {
405
410
  if (typeof optionsOrCb !== "object")
406
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
411
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
407
412
  this.send(command, optionsOrCb || {}, cb);
408
413
  }
409
414
  else {
410
415
  return this.send(command, optionsOrCb);
411
416
  }
412
- }
413
- createServiceSpecificCredential(args, optionsOrCb, cb) {
414
- const command = new CreateServiceSpecificCredentialCommand(args);
417
+ };
418
+ IAM.prototype.createServiceSpecificCredential = function (args, optionsOrCb, cb) {
419
+ var command = new CreateServiceSpecificCredentialCommand(args);
415
420
  if (typeof optionsOrCb === "function") {
416
421
  this.send(command, optionsOrCb);
417
422
  }
418
423
  else if (typeof cb === "function") {
419
424
  if (typeof optionsOrCb !== "object")
420
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
425
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
421
426
  this.send(command, optionsOrCb || {}, cb);
422
427
  }
423
428
  else {
424
429
  return this.send(command, optionsOrCb);
425
430
  }
426
- }
427
- createUser(args, optionsOrCb, cb) {
428
- const command = new CreateUserCommand(args);
431
+ };
432
+ IAM.prototype.createUser = function (args, optionsOrCb, cb) {
433
+ var command = new CreateUserCommand(args);
429
434
  if (typeof optionsOrCb === "function") {
430
435
  this.send(command, optionsOrCb);
431
436
  }
432
437
  else if (typeof cb === "function") {
433
438
  if (typeof optionsOrCb !== "object")
434
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
439
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
435
440
  this.send(command, optionsOrCb || {}, cb);
436
441
  }
437
442
  else {
438
443
  return this.send(command, optionsOrCb);
439
444
  }
440
- }
441
- createVirtualMFADevice(args, optionsOrCb, cb) {
442
- const command = new CreateVirtualMFADeviceCommand(args);
445
+ };
446
+ IAM.prototype.createVirtualMFADevice = function (args, optionsOrCb, cb) {
447
+ var command = new CreateVirtualMFADeviceCommand(args);
443
448
  if (typeof optionsOrCb === "function") {
444
449
  this.send(command, optionsOrCb);
445
450
  }
446
451
  else if (typeof cb === "function") {
447
452
  if (typeof optionsOrCb !== "object")
448
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
453
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
449
454
  this.send(command, optionsOrCb || {}, cb);
450
455
  }
451
456
  else {
452
457
  return this.send(command, optionsOrCb);
453
458
  }
454
- }
455
- deactivateMFADevice(args, optionsOrCb, cb) {
456
- const command = new DeactivateMFADeviceCommand(args);
459
+ };
460
+ IAM.prototype.deactivateMFADevice = function (args, optionsOrCb, cb) {
461
+ var command = new DeactivateMFADeviceCommand(args);
457
462
  if (typeof optionsOrCb === "function") {
458
463
  this.send(command, optionsOrCb);
459
464
  }
460
465
  else if (typeof cb === "function") {
461
466
  if (typeof optionsOrCb !== "object")
462
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
467
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
463
468
  this.send(command, optionsOrCb || {}, cb);
464
469
  }
465
470
  else {
466
471
  return this.send(command, optionsOrCb);
467
472
  }
468
- }
469
- deleteAccessKey(args, optionsOrCb, cb) {
470
- const command = new DeleteAccessKeyCommand(args);
473
+ };
474
+ IAM.prototype.deleteAccessKey = function (args, optionsOrCb, cb) {
475
+ var command = new DeleteAccessKeyCommand(args);
471
476
  if (typeof optionsOrCb === "function") {
472
477
  this.send(command, optionsOrCb);
473
478
  }
474
479
  else if (typeof cb === "function") {
475
480
  if (typeof optionsOrCb !== "object")
476
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
481
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
477
482
  this.send(command, optionsOrCb || {}, cb);
478
483
  }
479
484
  else {
480
485
  return this.send(command, optionsOrCb);
481
486
  }
482
- }
483
- deleteAccountAlias(args, optionsOrCb, cb) {
484
- const command = new DeleteAccountAliasCommand(args);
487
+ };
488
+ IAM.prototype.deleteAccountAlias = function (args, optionsOrCb, cb) {
489
+ var command = new DeleteAccountAliasCommand(args);
485
490
  if (typeof optionsOrCb === "function") {
486
491
  this.send(command, optionsOrCb);
487
492
  }
488
493
  else if (typeof cb === "function") {
489
494
  if (typeof optionsOrCb !== "object")
490
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
495
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
491
496
  this.send(command, optionsOrCb || {}, cb);
492
497
  }
493
498
  else {
494
499
  return this.send(command, optionsOrCb);
495
500
  }
496
- }
497
- deleteAccountPasswordPolicy(args, optionsOrCb, cb) {
498
- const command = new DeleteAccountPasswordPolicyCommand(args);
501
+ };
502
+ IAM.prototype.deleteAccountPasswordPolicy = function (args, optionsOrCb, cb) {
503
+ var command = new DeleteAccountPasswordPolicyCommand(args);
499
504
  if (typeof optionsOrCb === "function") {
500
505
  this.send(command, optionsOrCb);
501
506
  }
502
507
  else if (typeof cb === "function") {
503
508
  if (typeof optionsOrCb !== "object")
504
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
509
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
505
510
  this.send(command, optionsOrCb || {}, cb);
506
511
  }
507
512
  else {
508
513
  return this.send(command, optionsOrCb);
509
514
  }
510
- }
511
- deleteGroup(args, optionsOrCb, cb) {
512
- const command = new DeleteGroupCommand(args);
515
+ };
516
+ IAM.prototype.deleteGroup = function (args, optionsOrCb, cb) {
517
+ var command = new DeleteGroupCommand(args);
513
518
  if (typeof optionsOrCb === "function") {
514
519
  this.send(command, optionsOrCb);
515
520
  }
516
521
  else if (typeof cb === "function") {
517
522
  if (typeof optionsOrCb !== "object")
518
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
523
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
519
524
  this.send(command, optionsOrCb || {}, cb);
520
525
  }
521
526
  else {
522
527
  return this.send(command, optionsOrCb);
523
528
  }
524
- }
525
- deleteGroupPolicy(args, optionsOrCb, cb) {
526
- const command = new DeleteGroupPolicyCommand(args);
529
+ };
530
+ IAM.prototype.deleteGroupPolicy = function (args, optionsOrCb, cb) {
531
+ var command = new DeleteGroupPolicyCommand(args);
527
532
  if (typeof optionsOrCb === "function") {
528
533
  this.send(command, optionsOrCb);
529
534
  }
530
535
  else if (typeof cb === "function") {
531
536
  if (typeof optionsOrCb !== "object")
532
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
533
538
  this.send(command, optionsOrCb || {}, cb);
534
539
  }
535
540
  else {
536
541
  return this.send(command, optionsOrCb);
537
542
  }
538
- }
539
- deleteInstanceProfile(args, optionsOrCb, cb) {
540
- const command = new DeleteInstanceProfileCommand(args);
543
+ };
544
+ IAM.prototype.deleteInstanceProfile = function (args, optionsOrCb, cb) {
545
+ var command = new DeleteInstanceProfileCommand(args);
541
546
  if (typeof optionsOrCb === "function") {
542
547
  this.send(command, optionsOrCb);
543
548
  }
544
549
  else if (typeof cb === "function") {
545
550
  if (typeof optionsOrCb !== "object")
546
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
551
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
547
552
  this.send(command, optionsOrCb || {}, cb);
548
553
  }
549
554
  else {
550
555
  return this.send(command, optionsOrCb);
551
556
  }
552
- }
553
- deleteLoginProfile(args, optionsOrCb, cb) {
554
- const command = new DeleteLoginProfileCommand(args);
557
+ };
558
+ IAM.prototype.deleteLoginProfile = function (args, optionsOrCb, cb) {
559
+ var command = new DeleteLoginProfileCommand(args);
555
560
  if (typeof optionsOrCb === "function") {
556
561
  this.send(command, optionsOrCb);
557
562
  }
558
563
  else if (typeof cb === "function") {
559
564
  if (typeof optionsOrCb !== "object")
560
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
565
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
561
566
  this.send(command, optionsOrCb || {}, cb);
562
567
  }
563
568
  else {
564
569
  return this.send(command, optionsOrCb);
565
570
  }
566
- }
567
- deleteOpenIDConnectProvider(args, optionsOrCb, cb) {
568
- const command = new DeleteOpenIDConnectProviderCommand(args);
571
+ };
572
+ IAM.prototype.deleteOpenIDConnectProvider = function (args, optionsOrCb, cb) {
573
+ var command = new DeleteOpenIDConnectProviderCommand(args);
569
574
  if (typeof optionsOrCb === "function") {
570
575
  this.send(command, optionsOrCb);
571
576
  }
572
577
  else if (typeof cb === "function") {
573
578
  if (typeof optionsOrCb !== "object")
574
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
575
580
  this.send(command, optionsOrCb || {}, cb);
576
581
  }
577
582
  else {
578
583
  return this.send(command, optionsOrCb);
579
584
  }
580
- }
581
- deletePolicy(args, optionsOrCb, cb) {
582
- const command = new DeletePolicyCommand(args);
585
+ };
586
+ IAM.prototype.deletePolicy = function (args, optionsOrCb, cb) {
587
+ var command = new DeletePolicyCommand(args);
583
588
  if (typeof optionsOrCb === "function") {
584
589
  this.send(command, optionsOrCb);
585
590
  }
586
591
  else if (typeof cb === "function") {
587
592
  if (typeof optionsOrCb !== "object")
588
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
593
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
589
594
  this.send(command, optionsOrCb || {}, cb);
590
595
  }
591
596
  else {
592
597
  return this.send(command, optionsOrCb);
593
598
  }
594
- }
595
- deletePolicyVersion(args, optionsOrCb, cb) {
596
- const command = new DeletePolicyVersionCommand(args);
599
+ };
600
+ IAM.prototype.deletePolicyVersion = function (args, optionsOrCb, cb) {
601
+ var command = new DeletePolicyVersionCommand(args);
597
602
  if (typeof optionsOrCb === "function") {
598
603
  this.send(command, optionsOrCb);
599
604
  }
600
605
  else if (typeof cb === "function") {
601
606
  if (typeof optionsOrCb !== "object")
602
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
607
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
603
608
  this.send(command, optionsOrCb || {}, cb);
604
609
  }
605
610
  else {
606
611
  return this.send(command, optionsOrCb);
607
612
  }
608
- }
609
- deleteRole(args, optionsOrCb, cb) {
610
- const command = new DeleteRoleCommand(args);
613
+ };
614
+ IAM.prototype.deleteRole = function (args, optionsOrCb, cb) {
615
+ var command = new DeleteRoleCommand(args);
611
616
  if (typeof optionsOrCb === "function") {
612
617
  this.send(command, optionsOrCb);
613
618
  }
614
619
  else if (typeof cb === "function") {
615
620
  if (typeof optionsOrCb !== "object")
616
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
621
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
617
622
  this.send(command, optionsOrCb || {}, cb);
618
623
  }
619
624
  else {
620
625
  return this.send(command, optionsOrCb);
621
626
  }
622
- }
623
- deleteRolePermissionsBoundary(args, optionsOrCb, cb) {
624
- const command = new DeleteRolePermissionsBoundaryCommand(args);
627
+ };
628
+ IAM.prototype.deleteRolePermissionsBoundary = function (args, optionsOrCb, cb) {
629
+ var command = new DeleteRolePermissionsBoundaryCommand(args);
625
630
  if (typeof optionsOrCb === "function") {
626
631
  this.send(command, optionsOrCb);
627
632
  }
628
633
  else if (typeof cb === "function") {
629
634
  if (typeof optionsOrCb !== "object")
630
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
635
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
631
636
  this.send(command, optionsOrCb || {}, cb);
632
637
  }
633
638
  else {
634
639
  return this.send(command, optionsOrCb);
635
640
  }
636
- }
637
- deleteRolePolicy(args, optionsOrCb, cb) {
638
- const command = new DeleteRolePolicyCommand(args);
641
+ };
642
+ IAM.prototype.deleteRolePolicy = function (args, optionsOrCb, cb) {
643
+ var command = new DeleteRolePolicyCommand(args);
639
644
  if (typeof optionsOrCb === "function") {
640
645
  this.send(command, optionsOrCb);
641
646
  }
642
647
  else if (typeof cb === "function") {
643
648
  if (typeof optionsOrCb !== "object")
644
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
649
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
645
650
  this.send(command, optionsOrCb || {}, cb);
646
651
  }
647
652
  else {
648
653
  return this.send(command, optionsOrCb);
649
654
  }
650
- }
651
- deleteSAMLProvider(args, optionsOrCb, cb) {
652
- const command = new DeleteSAMLProviderCommand(args);
655
+ };
656
+ IAM.prototype.deleteSAMLProvider = function (args, optionsOrCb, cb) {
657
+ var command = new DeleteSAMLProviderCommand(args);
653
658
  if (typeof optionsOrCb === "function") {
654
659
  this.send(command, optionsOrCb);
655
660
  }
656
661
  else if (typeof cb === "function") {
657
662
  if (typeof optionsOrCb !== "object")
658
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
659
664
  this.send(command, optionsOrCb || {}, cb);
660
665
  }
661
666
  else {
662
667
  return this.send(command, optionsOrCb);
663
668
  }
664
- }
665
- deleteServerCertificate(args, optionsOrCb, cb) {
666
- const command = new DeleteServerCertificateCommand(args);
669
+ };
670
+ IAM.prototype.deleteServerCertificate = function (args, optionsOrCb, cb) {
671
+ var command = new DeleteServerCertificateCommand(args);
667
672
  if (typeof optionsOrCb === "function") {
668
673
  this.send(command, optionsOrCb);
669
674
  }
670
675
  else if (typeof cb === "function") {
671
676
  if (typeof optionsOrCb !== "object")
672
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
677
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
673
678
  this.send(command, optionsOrCb || {}, cb);
674
679
  }
675
680
  else {
676
681
  return this.send(command, optionsOrCb);
677
682
  }
678
- }
679
- deleteServiceLinkedRole(args, optionsOrCb, cb) {
680
- const command = new DeleteServiceLinkedRoleCommand(args);
683
+ };
684
+ IAM.prototype.deleteServiceLinkedRole = function (args, optionsOrCb, cb) {
685
+ var command = new DeleteServiceLinkedRoleCommand(args);
681
686
  if (typeof optionsOrCb === "function") {
682
687
  this.send(command, optionsOrCb);
683
688
  }
684
689
  else if (typeof cb === "function") {
685
690
  if (typeof optionsOrCb !== "object")
686
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
691
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
687
692
  this.send(command, optionsOrCb || {}, cb);
688
693
  }
689
694
  else {
690
695
  return this.send(command, optionsOrCb);
691
696
  }
692
- }
693
- deleteServiceSpecificCredential(args, optionsOrCb, cb) {
694
- const command = new DeleteServiceSpecificCredentialCommand(args);
697
+ };
698
+ IAM.prototype.deleteServiceSpecificCredential = function (args, optionsOrCb, cb) {
699
+ var command = new DeleteServiceSpecificCredentialCommand(args);
695
700
  if (typeof optionsOrCb === "function") {
696
701
  this.send(command, optionsOrCb);
697
702
  }
698
703
  else if (typeof cb === "function") {
699
704
  if (typeof optionsOrCb !== "object")
700
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
701
706
  this.send(command, optionsOrCb || {}, cb);
702
707
  }
703
708
  else {
704
709
  return this.send(command, optionsOrCb);
705
710
  }
706
- }
707
- deleteSigningCertificate(args, optionsOrCb, cb) {
708
- const command = new DeleteSigningCertificateCommand(args);
711
+ };
712
+ IAM.prototype.deleteSigningCertificate = function (args, optionsOrCb, cb) {
713
+ var command = new DeleteSigningCertificateCommand(args);
709
714
  if (typeof optionsOrCb === "function") {
710
715
  this.send(command, optionsOrCb);
711
716
  }
712
717
  else if (typeof cb === "function") {
713
718
  if (typeof optionsOrCb !== "object")
714
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
719
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
715
720
  this.send(command, optionsOrCb || {}, cb);
716
721
  }
717
722
  else {
718
723
  return this.send(command, optionsOrCb);
719
724
  }
720
- }
721
- deleteSSHPublicKey(args, optionsOrCb, cb) {
722
- const command = new DeleteSSHPublicKeyCommand(args);
725
+ };
726
+ IAM.prototype.deleteSSHPublicKey = function (args, optionsOrCb, cb) {
727
+ var command = new DeleteSSHPublicKeyCommand(args);
723
728
  if (typeof optionsOrCb === "function") {
724
729
  this.send(command, optionsOrCb);
725
730
  }
726
731
  else if (typeof cb === "function") {
727
732
  if (typeof optionsOrCb !== "object")
728
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
733
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
729
734
  this.send(command, optionsOrCb || {}, cb);
730
735
  }
731
736
  else {
732
737
  return this.send(command, optionsOrCb);
733
738
  }
734
- }
735
- deleteUser(args, optionsOrCb, cb) {
736
- const command = new DeleteUserCommand(args);
739
+ };
740
+ IAM.prototype.deleteUser = function (args, optionsOrCb, cb) {
741
+ var command = new DeleteUserCommand(args);
737
742
  if (typeof optionsOrCb === "function") {
738
743
  this.send(command, optionsOrCb);
739
744
  }
740
745
  else if (typeof cb === "function") {
741
746
  if (typeof optionsOrCb !== "object")
742
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
747
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
743
748
  this.send(command, optionsOrCb || {}, cb);
744
749
  }
745
750
  else {
746
751
  return this.send(command, optionsOrCb);
747
752
  }
748
- }
749
- deleteUserPermissionsBoundary(args, optionsOrCb, cb) {
750
- const command = new DeleteUserPermissionsBoundaryCommand(args);
753
+ };
754
+ IAM.prototype.deleteUserPermissionsBoundary = function (args, optionsOrCb, cb) {
755
+ var command = new DeleteUserPermissionsBoundaryCommand(args);
751
756
  if (typeof optionsOrCb === "function") {
752
757
  this.send(command, optionsOrCb);
753
758
  }
754
759
  else if (typeof cb === "function") {
755
760
  if (typeof optionsOrCb !== "object")
756
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
761
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
757
762
  this.send(command, optionsOrCb || {}, cb);
758
763
  }
759
764
  else {
760
765
  return this.send(command, optionsOrCb);
761
766
  }
762
- }
763
- deleteUserPolicy(args, optionsOrCb, cb) {
764
- const command = new DeleteUserPolicyCommand(args);
767
+ };
768
+ IAM.prototype.deleteUserPolicy = function (args, optionsOrCb, cb) {
769
+ var command = new DeleteUserPolicyCommand(args);
765
770
  if (typeof optionsOrCb === "function") {
766
771
  this.send(command, optionsOrCb);
767
772
  }
768
773
  else if (typeof cb === "function") {
769
774
  if (typeof optionsOrCb !== "object")
770
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
775
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
771
776
  this.send(command, optionsOrCb || {}, cb);
772
777
  }
773
778
  else {
774
779
  return this.send(command, optionsOrCb);
775
780
  }
776
- }
777
- deleteVirtualMFADevice(args, optionsOrCb, cb) {
778
- const command = new DeleteVirtualMFADeviceCommand(args);
781
+ };
782
+ IAM.prototype.deleteVirtualMFADevice = function (args, optionsOrCb, cb) {
783
+ var command = new DeleteVirtualMFADeviceCommand(args);
779
784
  if (typeof optionsOrCb === "function") {
780
785
  this.send(command, optionsOrCb);
781
786
  }
782
787
  else if (typeof cb === "function") {
783
788
  if (typeof optionsOrCb !== "object")
784
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
789
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
785
790
  this.send(command, optionsOrCb || {}, cb);
786
791
  }
787
792
  else {
788
793
  return this.send(command, optionsOrCb);
789
794
  }
790
- }
791
- detachGroupPolicy(args, optionsOrCb, cb) {
792
- const command = new DetachGroupPolicyCommand(args);
795
+ };
796
+ IAM.prototype.detachGroupPolicy = function (args, optionsOrCb, cb) {
797
+ var command = new DetachGroupPolicyCommand(args);
793
798
  if (typeof optionsOrCb === "function") {
794
799
  this.send(command, optionsOrCb);
795
800
  }
796
801
  else if (typeof cb === "function") {
797
802
  if (typeof optionsOrCb !== "object")
798
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
803
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
799
804
  this.send(command, optionsOrCb || {}, cb);
800
805
  }
801
806
  else {
802
807
  return this.send(command, optionsOrCb);
803
808
  }
804
- }
805
- detachRolePolicy(args, optionsOrCb, cb) {
806
- const command = new DetachRolePolicyCommand(args);
809
+ };
810
+ IAM.prototype.detachRolePolicy = function (args, optionsOrCb, cb) {
811
+ var command = new DetachRolePolicyCommand(args);
807
812
  if (typeof optionsOrCb === "function") {
808
813
  this.send(command, optionsOrCb);
809
814
  }
810
815
  else if (typeof cb === "function") {
811
816
  if (typeof optionsOrCb !== "object")
812
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
817
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
813
818
  this.send(command, optionsOrCb || {}, cb);
814
819
  }
815
820
  else {
816
821
  return this.send(command, optionsOrCb);
817
822
  }
818
- }
819
- detachUserPolicy(args, optionsOrCb, cb) {
820
- const command = new DetachUserPolicyCommand(args);
823
+ };
824
+ IAM.prototype.detachUserPolicy = function (args, optionsOrCb, cb) {
825
+ var command = new DetachUserPolicyCommand(args);
821
826
  if (typeof optionsOrCb === "function") {
822
827
  this.send(command, optionsOrCb);
823
828
  }
824
829
  else if (typeof cb === "function") {
825
830
  if (typeof optionsOrCb !== "object")
826
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
831
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
827
832
  this.send(command, optionsOrCb || {}, cb);
828
833
  }
829
834
  else {
830
835
  return this.send(command, optionsOrCb);
831
836
  }
832
- }
833
- enableMFADevice(args, optionsOrCb, cb) {
834
- const command = new EnableMFADeviceCommand(args);
837
+ };
838
+ IAM.prototype.enableMFADevice = function (args, optionsOrCb, cb) {
839
+ var command = new EnableMFADeviceCommand(args);
835
840
  if (typeof optionsOrCb === "function") {
836
841
  this.send(command, optionsOrCb);
837
842
  }
838
843
  else if (typeof cb === "function") {
839
844
  if (typeof optionsOrCb !== "object")
840
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
845
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
841
846
  this.send(command, optionsOrCb || {}, cb);
842
847
  }
843
848
  else {
844
849
  return this.send(command, optionsOrCb);
845
850
  }
846
- }
847
- generateCredentialReport(args, optionsOrCb, cb) {
848
- const command = new GenerateCredentialReportCommand(args);
851
+ };
852
+ IAM.prototype.generateCredentialReport = function (args, optionsOrCb, cb) {
853
+ var command = new GenerateCredentialReportCommand(args);
849
854
  if (typeof optionsOrCb === "function") {
850
855
  this.send(command, optionsOrCb);
851
856
  }
852
857
  else if (typeof cb === "function") {
853
858
  if (typeof optionsOrCb !== "object")
854
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
859
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
855
860
  this.send(command, optionsOrCb || {}, cb);
856
861
  }
857
862
  else {
858
863
  return this.send(command, optionsOrCb);
859
864
  }
860
- }
861
- generateOrganizationsAccessReport(args, optionsOrCb, cb) {
862
- const command = new GenerateOrganizationsAccessReportCommand(args);
865
+ };
866
+ IAM.prototype.generateOrganizationsAccessReport = function (args, optionsOrCb, cb) {
867
+ var command = new GenerateOrganizationsAccessReportCommand(args);
863
868
  if (typeof optionsOrCb === "function") {
864
869
  this.send(command, optionsOrCb);
865
870
  }
866
871
  else if (typeof cb === "function") {
867
872
  if (typeof optionsOrCb !== "object")
868
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
873
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
869
874
  this.send(command, optionsOrCb || {}, cb);
870
875
  }
871
876
  else {
872
877
  return this.send(command, optionsOrCb);
873
878
  }
874
- }
875
- generateServiceLastAccessedDetails(args, optionsOrCb, cb) {
876
- const command = new GenerateServiceLastAccessedDetailsCommand(args);
879
+ };
880
+ IAM.prototype.generateServiceLastAccessedDetails = function (args, optionsOrCb, cb) {
881
+ var command = new GenerateServiceLastAccessedDetailsCommand(args);
877
882
  if (typeof optionsOrCb === "function") {
878
883
  this.send(command, optionsOrCb);
879
884
  }
880
885
  else if (typeof cb === "function") {
881
886
  if (typeof optionsOrCb !== "object")
882
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
887
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
883
888
  this.send(command, optionsOrCb || {}, cb);
884
889
  }
885
890
  else {
886
891
  return this.send(command, optionsOrCb);
887
892
  }
888
- }
889
- getAccessKeyLastUsed(args, optionsOrCb, cb) {
890
- const command = new GetAccessKeyLastUsedCommand(args);
893
+ };
894
+ IAM.prototype.getAccessKeyLastUsed = function (args, optionsOrCb, cb) {
895
+ var command = new GetAccessKeyLastUsedCommand(args);
891
896
  if (typeof optionsOrCb === "function") {
892
897
  this.send(command, optionsOrCb);
893
898
  }
894
899
  else if (typeof cb === "function") {
895
900
  if (typeof optionsOrCb !== "object")
896
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
901
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
897
902
  this.send(command, optionsOrCb || {}, cb);
898
903
  }
899
904
  else {
900
905
  return this.send(command, optionsOrCb);
901
906
  }
902
- }
903
- getAccountAuthorizationDetails(args, optionsOrCb, cb) {
904
- const command = new GetAccountAuthorizationDetailsCommand(args);
907
+ };
908
+ IAM.prototype.getAccountAuthorizationDetails = function (args, optionsOrCb, cb) {
909
+ var command = new GetAccountAuthorizationDetailsCommand(args);
905
910
  if (typeof optionsOrCb === "function") {
906
911
  this.send(command, optionsOrCb);
907
912
  }
908
913
  else if (typeof cb === "function") {
909
914
  if (typeof optionsOrCb !== "object")
910
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
915
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
911
916
  this.send(command, optionsOrCb || {}, cb);
912
917
  }
913
918
  else {
914
919
  return this.send(command, optionsOrCb);
915
920
  }
916
- }
917
- getAccountPasswordPolicy(args, optionsOrCb, cb) {
918
- const command = new GetAccountPasswordPolicyCommand(args);
921
+ };
922
+ IAM.prototype.getAccountPasswordPolicy = function (args, optionsOrCb, cb) {
923
+ var command = new GetAccountPasswordPolicyCommand(args);
919
924
  if (typeof optionsOrCb === "function") {
920
925
  this.send(command, optionsOrCb);
921
926
  }
922
927
  else if (typeof cb === "function") {
923
928
  if (typeof optionsOrCb !== "object")
924
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
929
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
925
930
  this.send(command, optionsOrCb || {}, cb);
926
931
  }
927
932
  else {
928
933
  return this.send(command, optionsOrCb);
929
934
  }
930
- }
931
- getAccountSummary(args, optionsOrCb, cb) {
932
- const command = new GetAccountSummaryCommand(args);
935
+ };
936
+ IAM.prototype.getAccountSummary = function (args, optionsOrCb, cb) {
937
+ var command = new GetAccountSummaryCommand(args);
933
938
  if (typeof optionsOrCb === "function") {
934
939
  this.send(command, optionsOrCb);
935
940
  }
936
941
  else if (typeof cb === "function") {
937
942
  if (typeof optionsOrCb !== "object")
938
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
943
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
939
944
  this.send(command, optionsOrCb || {}, cb);
940
945
  }
941
946
  else {
942
947
  return this.send(command, optionsOrCb);
943
948
  }
944
- }
945
- getContextKeysForCustomPolicy(args, optionsOrCb, cb) {
946
- const command = new GetContextKeysForCustomPolicyCommand(args);
949
+ };
950
+ IAM.prototype.getContextKeysForCustomPolicy = function (args, optionsOrCb, cb) {
951
+ var command = new GetContextKeysForCustomPolicyCommand(args);
947
952
  if (typeof optionsOrCb === "function") {
948
953
  this.send(command, optionsOrCb);
949
954
  }
950
955
  else if (typeof cb === "function") {
951
956
  if (typeof optionsOrCb !== "object")
952
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
957
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
953
958
  this.send(command, optionsOrCb || {}, cb);
954
959
  }
955
960
  else {
956
961
  return this.send(command, optionsOrCb);
957
962
  }
958
- }
959
- getContextKeysForPrincipalPolicy(args, optionsOrCb, cb) {
960
- const command = new GetContextKeysForPrincipalPolicyCommand(args);
963
+ };
964
+ IAM.prototype.getContextKeysForPrincipalPolicy = function (args, optionsOrCb, cb) {
965
+ var command = new GetContextKeysForPrincipalPolicyCommand(args);
961
966
  if (typeof optionsOrCb === "function") {
962
967
  this.send(command, optionsOrCb);
963
968
  }
964
969
  else if (typeof cb === "function") {
965
970
  if (typeof optionsOrCb !== "object")
966
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
971
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
967
972
  this.send(command, optionsOrCb || {}, cb);
968
973
  }
969
974
  else {
970
975
  return this.send(command, optionsOrCb);
971
976
  }
972
- }
973
- getCredentialReport(args, optionsOrCb, cb) {
974
- const command = new GetCredentialReportCommand(args);
977
+ };
978
+ IAM.prototype.getCredentialReport = function (args, optionsOrCb, cb) {
979
+ var command = new GetCredentialReportCommand(args);
975
980
  if (typeof optionsOrCb === "function") {
976
981
  this.send(command, optionsOrCb);
977
982
  }
978
983
  else if (typeof cb === "function") {
979
984
  if (typeof optionsOrCb !== "object")
980
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
985
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
981
986
  this.send(command, optionsOrCb || {}, cb);
982
987
  }
983
988
  else {
984
989
  return this.send(command, optionsOrCb);
985
990
  }
986
- }
987
- getGroup(args, optionsOrCb, cb) {
988
- const command = new GetGroupCommand(args);
991
+ };
992
+ IAM.prototype.getGroup = function (args, optionsOrCb, cb) {
993
+ var command = new GetGroupCommand(args);
989
994
  if (typeof optionsOrCb === "function") {
990
995
  this.send(command, optionsOrCb);
991
996
  }
992
997
  else if (typeof cb === "function") {
993
998
  if (typeof optionsOrCb !== "object")
994
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
995
1000
  this.send(command, optionsOrCb || {}, cb);
996
1001
  }
997
1002
  else {
998
1003
  return this.send(command, optionsOrCb);
999
1004
  }
1000
- }
1001
- getGroupPolicy(args, optionsOrCb, cb) {
1002
- const command = new GetGroupPolicyCommand(args);
1005
+ };
1006
+ IAM.prototype.getGroupPolicy = function (args, optionsOrCb, cb) {
1007
+ var command = new GetGroupPolicyCommand(args);
1003
1008
  if (typeof optionsOrCb === "function") {
1004
1009
  this.send(command, optionsOrCb);
1005
1010
  }
1006
1011
  else if (typeof cb === "function") {
1007
1012
  if (typeof optionsOrCb !== "object")
1008
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1013
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1009
1014
  this.send(command, optionsOrCb || {}, cb);
1010
1015
  }
1011
1016
  else {
1012
1017
  return this.send(command, optionsOrCb);
1013
1018
  }
1014
- }
1015
- getInstanceProfile(args, optionsOrCb, cb) {
1016
- const command = new GetInstanceProfileCommand(args);
1019
+ };
1020
+ IAM.prototype.getInstanceProfile = function (args, optionsOrCb, cb) {
1021
+ var command = new GetInstanceProfileCommand(args);
1017
1022
  if (typeof optionsOrCb === "function") {
1018
1023
  this.send(command, optionsOrCb);
1019
1024
  }
1020
1025
  else if (typeof cb === "function") {
1021
1026
  if (typeof optionsOrCb !== "object")
1022
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1027
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1023
1028
  this.send(command, optionsOrCb || {}, cb);
1024
1029
  }
1025
1030
  else {
1026
1031
  return this.send(command, optionsOrCb);
1027
1032
  }
1028
- }
1029
- getLoginProfile(args, optionsOrCb, cb) {
1030
- const command = new GetLoginProfileCommand(args);
1033
+ };
1034
+ IAM.prototype.getLoginProfile = function (args, optionsOrCb, cb) {
1035
+ var command = new GetLoginProfileCommand(args);
1031
1036
  if (typeof optionsOrCb === "function") {
1032
1037
  this.send(command, optionsOrCb);
1033
1038
  }
1034
1039
  else if (typeof cb === "function") {
1035
1040
  if (typeof optionsOrCb !== "object")
1036
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1041
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1037
1042
  this.send(command, optionsOrCb || {}, cb);
1038
1043
  }
1039
1044
  else {
1040
1045
  return this.send(command, optionsOrCb);
1041
1046
  }
1042
- }
1043
- getOpenIDConnectProvider(args, optionsOrCb, cb) {
1044
- const command = new GetOpenIDConnectProviderCommand(args);
1047
+ };
1048
+ IAM.prototype.getOpenIDConnectProvider = function (args, optionsOrCb, cb) {
1049
+ var command = new GetOpenIDConnectProviderCommand(args);
1045
1050
  if (typeof optionsOrCb === "function") {
1046
1051
  this.send(command, optionsOrCb);
1047
1052
  }
1048
1053
  else if (typeof cb === "function") {
1049
1054
  if (typeof optionsOrCb !== "object")
1050
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1055
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1051
1056
  this.send(command, optionsOrCb || {}, cb);
1052
1057
  }
1053
1058
  else {
1054
1059
  return this.send(command, optionsOrCb);
1055
1060
  }
1056
- }
1057
- getOrganizationsAccessReport(args, optionsOrCb, cb) {
1058
- const command = new GetOrganizationsAccessReportCommand(args);
1061
+ };
1062
+ IAM.prototype.getOrganizationsAccessReport = function (args, optionsOrCb, cb) {
1063
+ var command = new GetOrganizationsAccessReportCommand(args);
1059
1064
  if (typeof optionsOrCb === "function") {
1060
1065
  this.send(command, optionsOrCb);
1061
1066
  }
1062
1067
  else if (typeof cb === "function") {
1063
1068
  if (typeof optionsOrCb !== "object")
1064
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1069
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1065
1070
  this.send(command, optionsOrCb || {}, cb);
1066
1071
  }
1067
1072
  else {
1068
1073
  return this.send(command, optionsOrCb);
1069
1074
  }
1070
- }
1071
- getPolicy(args, optionsOrCb, cb) {
1072
- const command = new GetPolicyCommand(args);
1075
+ };
1076
+ IAM.prototype.getPolicy = function (args, optionsOrCb, cb) {
1077
+ var command = new GetPolicyCommand(args);
1073
1078
  if (typeof optionsOrCb === "function") {
1074
1079
  this.send(command, optionsOrCb);
1075
1080
  }
1076
1081
  else if (typeof cb === "function") {
1077
1082
  if (typeof optionsOrCb !== "object")
1078
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1083
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1079
1084
  this.send(command, optionsOrCb || {}, cb);
1080
1085
  }
1081
1086
  else {
1082
1087
  return this.send(command, optionsOrCb);
1083
1088
  }
1084
- }
1085
- getPolicyVersion(args, optionsOrCb, cb) {
1086
- const command = new GetPolicyVersionCommand(args);
1089
+ };
1090
+ IAM.prototype.getPolicyVersion = function (args, optionsOrCb, cb) {
1091
+ var command = new GetPolicyVersionCommand(args);
1087
1092
  if (typeof optionsOrCb === "function") {
1088
1093
  this.send(command, optionsOrCb);
1089
1094
  }
1090
1095
  else if (typeof cb === "function") {
1091
1096
  if (typeof optionsOrCb !== "object")
1092
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1097
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1093
1098
  this.send(command, optionsOrCb || {}, cb);
1094
1099
  }
1095
1100
  else {
1096
1101
  return this.send(command, optionsOrCb);
1097
1102
  }
1098
- }
1099
- getRole(args, optionsOrCb, cb) {
1100
- const command = new GetRoleCommand(args);
1103
+ };
1104
+ IAM.prototype.getRole = function (args, optionsOrCb, cb) {
1105
+ var command = new GetRoleCommand(args);
1101
1106
  if (typeof optionsOrCb === "function") {
1102
1107
  this.send(command, optionsOrCb);
1103
1108
  }
1104
1109
  else if (typeof cb === "function") {
1105
1110
  if (typeof optionsOrCb !== "object")
1106
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1111
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1107
1112
  this.send(command, optionsOrCb || {}, cb);
1108
1113
  }
1109
1114
  else {
1110
1115
  return this.send(command, optionsOrCb);
1111
1116
  }
1112
- }
1113
- getRolePolicy(args, optionsOrCb, cb) {
1114
- const command = new GetRolePolicyCommand(args);
1117
+ };
1118
+ IAM.prototype.getRolePolicy = function (args, optionsOrCb, cb) {
1119
+ var command = new GetRolePolicyCommand(args);
1115
1120
  if (typeof optionsOrCb === "function") {
1116
1121
  this.send(command, optionsOrCb);
1117
1122
  }
1118
1123
  else if (typeof cb === "function") {
1119
1124
  if (typeof optionsOrCb !== "object")
1120
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1125
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1121
1126
  this.send(command, optionsOrCb || {}, cb);
1122
1127
  }
1123
1128
  else {
1124
1129
  return this.send(command, optionsOrCb);
1125
1130
  }
1126
- }
1127
- getSAMLProvider(args, optionsOrCb, cb) {
1128
- const command = new GetSAMLProviderCommand(args);
1131
+ };
1132
+ IAM.prototype.getSAMLProvider = function (args, optionsOrCb, cb) {
1133
+ var command = new GetSAMLProviderCommand(args);
1129
1134
  if (typeof optionsOrCb === "function") {
1130
1135
  this.send(command, optionsOrCb);
1131
1136
  }
1132
1137
  else if (typeof cb === "function") {
1133
1138
  if (typeof optionsOrCb !== "object")
1134
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1139
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1135
1140
  this.send(command, optionsOrCb || {}, cb);
1136
1141
  }
1137
1142
  else {
1138
1143
  return this.send(command, optionsOrCb);
1139
1144
  }
1140
- }
1141
- getServerCertificate(args, optionsOrCb, cb) {
1142
- const command = new GetServerCertificateCommand(args);
1145
+ };
1146
+ IAM.prototype.getServerCertificate = function (args, optionsOrCb, cb) {
1147
+ var command = new GetServerCertificateCommand(args);
1143
1148
  if (typeof optionsOrCb === "function") {
1144
1149
  this.send(command, optionsOrCb);
1145
1150
  }
1146
1151
  else if (typeof cb === "function") {
1147
1152
  if (typeof optionsOrCb !== "object")
1148
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1153
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1149
1154
  this.send(command, optionsOrCb || {}, cb);
1150
1155
  }
1151
1156
  else {
1152
1157
  return this.send(command, optionsOrCb);
1153
1158
  }
1154
- }
1155
- getServiceLastAccessedDetails(args, optionsOrCb, cb) {
1156
- const command = new GetServiceLastAccessedDetailsCommand(args);
1159
+ };
1160
+ IAM.prototype.getServiceLastAccessedDetails = function (args, optionsOrCb, cb) {
1161
+ var command = new GetServiceLastAccessedDetailsCommand(args);
1157
1162
  if (typeof optionsOrCb === "function") {
1158
1163
  this.send(command, optionsOrCb);
1159
1164
  }
1160
1165
  else if (typeof cb === "function") {
1161
1166
  if (typeof optionsOrCb !== "object")
1162
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1167
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1163
1168
  this.send(command, optionsOrCb || {}, cb);
1164
1169
  }
1165
1170
  else {
1166
1171
  return this.send(command, optionsOrCb);
1167
1172
  }
1168
- }
1169
- getServiceLastAccessedDetailsWithEntities(args, optionsOrCb, cb) {
1170
- const command = new GetServiceLastAccessedDetailsWithEntitiesCommand(args);
1173
+ };
1174
+ IAM.prototype.getServiceLastAccessedDetailsWithEntities = function (args, optionsOrCb, cb) {
1175
+ var command = new GetServiceLastAccessedDetailsWithEntitiesCommand(args);
1171
1176
  if (typeof optionsOrCb === "function") {
1172
1177
  this.send(command, optionsOrCb);
1173
1178
  }
1174
1179
  else if (typeof cb === "function") {
1175
1180
  if (typeof optionsOrCb !== "object")
1176
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1181
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1177
1182
  this.send(command, optionsOrCb || {}, cb);
1178
1183
  }
1179
1184
  else {
1180
1185
  return this.send(command, optionsOrCb);
1181
1186
  }
1182
- }
1183
- getServiceLinkedRoleDeletionStatus(args, optionsOrCb, cb) {
1184
- const command = new GetServiceLinkedRoleDeletionStatusCommand(args);
1187
+ };
1188
+ IAM.prototype.getServiceLinkedRoleDeletionStatus = function (args, optionsOrCb, cb) {
1189
+ var command = new GetServiceLinkedRoleDeletionStatusCommand(args);
1185
1190
  if (typeof optionsOrCb === "function") {
1186
1191
  this.send(command, optionsOrCb);
1187
1192
  }
1188
1193
  else if (typeof cb === "function") {
1189
1194
  if (typeof optionsOrCb !== "object")
1190
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1195
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1191
1196
  this.send(command, optionsOrCb || {}, cb);
1192
1197
  }
1193
1198
  else {
1194
1199
  return this.send(command, optionsOrCb);
1195
1200
  }
1196
- }
1197
- getSSHPublicKey(args, optionsOrCb, cb) {
1198
- const command = new GetSSHPublicKeyCommand(args);
1201
+ };
1202
+ IAM.prototype.getSSHPublicKey = function (args, optionsOrCb, cb) {
1203
+ var command = new GetSSHPublicKeyCommand(args);
1199
1204
  if (typeof optionsOrCb === "function") {
1200
1205
  this.send(command, optionsOrCb);
1201
1206
  }
1202
1207
  else if (typeof cb === "function") {
1203
1208
  if (typeof optionsOrCb !== "object")
1204
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1209
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1205
1210
  this.send(command, optionsOrCb || {}, cb);
1206
1211
  }
1207
1212
  else {
1208
1213
  return this.send(command, optionsOrCb);
1209
1214
  }
1210
- }
1211
- getUser(args, optionsOrCb, cb) {
1212
- const command = new GetUserCommand(args);
1215
+ };
1216
+ IAM.prototype.getUser = function (args, optionsOrCb, cb) {
1217
+ var command = new GetUserCommand(args);
1213
1218
  if (typeof optionsOrCb === "function") {
1214
1219
  this.send(command, optionsOrCb);
1215
1220
  }
1216
1221
  else if (typeof cb === "function") {
1217
1222
  if (typeof optionsOrCb !== "object")
1218
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1223
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1219
1224
  this.send(command, optionsOrCb || {}, cb);
1220
1225
  }
1221
1226
  else {
1222
1227
  return this.send(command, optionsOrCb);
1223
1228
  }
1224
- }
1225
- getUserPolicy(args, optionsOrCb, cb) {
1226
- const command = new GetUserPolicyCommand(args);
1229
+ };
1230
+ IAM.prototype.getUserPolicy = function (args, optionsOrCb, cb) {
1231
+ var command = new GetUserPolicyCommand(args);
1227
1232
  if (typeof optionsOrCb === "function") {
1228
1233
  this.send(command, optionsOrCb);
1229
1234
  }
1230
1235
  else if (typeof cb === "function") {
1231
1236
  if (typeof optionsOrCb !== "object")
1232
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1237
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1233
1238
  this.send(command, optionsOrCb || {}, cb);
1234
1239
  }
1235
1240
  else {
1236
1241
  return this.send(command, optionsOrCb);
1237
1242
  }
1238
- }
1239
- listAccessKeys(args, optionsOrCb, cb) {
1240
- const command = new ListAccessKeysCommand(args);
1243
+ };
1244
+ IAM.prototype.listAccessKeys = function (args, optionsOrCb, cb) {
1245
+ var command = new ListAccessKeysCommand(args);
1241
1246
  if (typeof optionsOrCb === "function") {
1242
1247
  this.send(command, optionsOrCb);
1243
1248
  }
1244
1249
  else if (typeof cb === "function") {
1245
1250
  if (typeof optionsOrCb !== "object")
1246
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1251
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1247
1252
  this.send(command, optionsOrCb || {}, cb);
1248
1253
  }
1249
1254
  else {
1250
1255
  return this.send(command, optionsOrCb);
1251
1256
  }
1252
- }
1253
- listAccountAliases(args, optionsOrCb, cb) {
1254
- const command = new ListAccountAliasesCommand(args);
1257
+ };
1258
+ IAM.prototype.listAccountAliases = function (args, optionsOrCb, cb) {
1259
+ var command = new ListAccountAliasesCommand(args);
1255
1260
  if (typeof optionsOrCb === "function") {
1256
1261
  this.send(command, optionsOrCb);
1257
1262
  }
1258
1263
  else if (typeof cb === "function") {
1259
1264
  if (typeof optionsOrCb !== "object")
1260
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1265
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1261
1266
  this.send(command, optionsOrCb || {}, cb);
1262
1267
  }
1263
1268
  else {
1264
1269
  return this.send(command, optionsOrCb);
1265
1270
  }
1266
- }
1267
- listAttachedGroupPolicies(args, optionsOrCb, cb) {
1268
- const command = new ListAttachedGroupPoliciesCommand(args);
1271
+ };
1272
+ IAM.prototype.listAttachedGroupPolicies = function (args, optionsOrCb, cb) {
1273
+ var command = new ListAttachedGroupPoliciesCommand(args);
1269
1274
  if (typeof optionsOrCb === "function") {
1270
1275
  this.send(command, optionsOrCb);
1271
1276
  }
1272
1277
  else if (typeof cb === "function") {
1273
1278
  if (typeof optionsOrCb !== "object")
1274
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1279
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1275
1280
  this.send(command, optionsOrCb || {}, cb);
1276
1281
  }
1277
1282
  else {
1278
1283
  return this.send(command, optionsOrCb);
1279
1284
  }
1280
- }
1281
- listAttachedRolePolicies(args, optionsOrCb, cb) {
1282
- const command = new ListAttachedRolePoliciesCommand(args);
1285
+ };
1286
+ IAM.prototype.listAttachedRolePolicies = function (args, optionsOrCb, cb) {
1287
+ var command = new ListAttachedRolePoliciesCommand(args);
1283
1288
  if (typeof optionsOrCb === "function") {
1284
1289
  this.send(command, optionsOrCb);
1285
1290
  }
1286
1291
  else if (typeof cb === "function") {
1287
1292
  if (typeof optionsOrCb !== "object")
1288
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1293
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1289
1294
  this.send(command, optionsOrCb || {}, cb);
1290
1295
  }
1291
1296
  else {
1292
1297
  return this.send(command, optionsOrCb);
1293
1298
  }
1294
- }
1295
- listAttachedUserPolicies(args, optionsOrCb, cb) {
1296
- const command = new ListAttachedUserPoliciesCommand(args);
1299
+ };
1300
+ IAM.prototype.listAttachedUserPolicies = function (args, optionsOrCb, cb) {
1301
+ var command = new ListAttachedUserPoliciesCommand(args);
1297
1302
  if (typeof optionsOrCb === "function") {
1298
1303
  this.send(command, optionsOrCb);
1299
1304
  }
1300
1305
  else if (typeof cb === "function") {
1301
1306
  if (typeof optionsOrCb !== "object")
1302
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1307
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1303
1308
  this.send(command, optionsOrCb || {}, cb);
1304
1309
  }
1305
1310
  else {
1306
1311
  return this.send(command, optionsOrCb);
1307
1312
  }
1308
- }
1309
- listEntitiesForPolicy(args, optionsOrCb, cb) {
1310
- const command = new ListEntitiesForPolicyCommand(args);
1313
+ };
1314
+ IAM.prototype.listEntitiesForPolicy = function (args, optionsOrCb, cb) {
1315
+ var command = new ListEntitiesForPolicyCommand(args);
1311
1316
  if (typeof optionsOrCb === "function") {
1312
1317
  this.send(command, optionsOrCb);
1313
1318
  }
1314
1319
  else if (typeof cb === "function") {
1315
1320
  if (typeof optionsOrCb !== "object")
1316
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1321
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1317
1322
  this.send(command, optionsOrCb || {}, cb);
1318
1323
  }
1319
1324
  else {
1320
1325
  return this.send(command, optionsOrCb);
1321
1326
  }
1322
- }
1323
- listGroupPolicies(args, optionsOrCb, cb) {
1324
- const command = new ListGroupPoliciesCommand(args);
1327
+ };
1328
+ IAM.prototype.listGroupPolicies = function (args, optionsOrCb, cb) {
1329
+ var command = new ListGroupPoliciesCommand(args);
1325
1330
  if (typeof optionsOrCb === "function") {
1326
1331
  this.send(command, optionsOrCb);
1327
1332
  }
1328
1333
  else if (typeof cb === "function") {
1329
1334
  if (typeof optionsOrCb !== "object")
1330
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1335
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1331
1336
  this.send(command, optionsOrCb || {}, cb);
1332
1337
  }
1333
1338
  else {
1334
1339
  return this.send(command, optionsOrCb);
1335
1340
  }
1336
- }
1337
- listGroups(args, optionsOrCb, cb) {
1338
- const command = new ListGroupsCommand(args);
1341
+ };
1342
+ IAM.prototype.listGroups = function (args, optionsOrCb, cb) {
1343
+ var command = new ListGroupsCommand(args);
1339
1344
  if (typeof optionsOrCb === "function") {
1340
1345
  this.send(command, optionsOrCb);
1341
1346
  }
1342
1347
  else if (typeof cb === "function") {
1343
1348
  if (typeof optionsOrCb !== "object")
1344
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1349
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1345
1350
  this.send(command, optionsOrCb || {}, cb);
1346
1351
  }
1347
1352
  else {
1348
1353
  return this.send(command, optionsOrCb);
1349
1354
  }
1350
- }
1351
- listGroupsForUser(args, optionsOrCb, cb) {
1352
- const command = new ListGroupsForUserCommand(args);
1355
+ };
1356
+ IAM.prototype.listGroupsForUser = function (args, optionsOrCb, cb) {
1357
+ var command = new ListGroupsForUserCommand(args);
1353
1358
  if (typeof optionsOrCb === "function") {
1354
1359
  this.send(command, optionsOrCb);
1355
1360
  }
1356
1361
  else if (typeof cb === "function") {
1357
1362
  if (typeof optionsOrCb !== "object")
1358
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1363
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1359
1364
  this.send(command, optionsOrCb || {}, cb);
1360
1365
  }
1361
1366
  else {
1362
1367
  return this.send(command, optionsOrCb);
1363
1368
  }
1364
- }
1365
- listInstanceProfiles(args, optionsOrCb, cb) {
1366
- const command = new ListInstanceProfilesCommand(args);
1369
+ };
1370
+ IAM.prototype.listInstanceProfiles = function (args, optionsOrCb, cb) {
1371
+ var command = new ListInstanceProfilesCommand(args);
1367
1372
  if (typeof optionsOrCb === "function") {
1368
1373
  this.send(command, optionsOrCb);
1369
1374
  }
1370
1375
  else if (typeof cb === "function") {
1371
1376
  if (typeof optionsOrCb !== "object")
1372
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1377
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1373
1378
  this.send(command, optionsOrCb || {}, cb);
1374
1379
  }
1375
1380
  else {
1376
1381
  return this.send(command, optionsOrCb);
1377
1382
  }
1378
- }
1379
- listInstanceProfilesForRole(args, optionsOrCb, cb) {
1380
- const command = new ListInstanceProfilesForRoleCommand(args);
1383
+ };
1384
+ IAM.prototype.listInstanceProfilesForRole = function (args, optionsOrCb, cb) {
1385
+ var command = new ListInstanceProfilesForRoleCommand(args);
1381
1386
  if (typeof optionsOrCb === "function") {
1382
1387
  this.send(command, optionsOrCb);
1383
1388
  }
1384
1389
  else if (typeof cb === "function") {
1385
1390
  if (typeof optionsOrCb !== "object")
1386
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1391
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1387
1392
  this.send(command, optionsOrCb || {}, cb);
1388
1393
  }
1389
1394
  else {
1390
1395
  return this.send(command, optionsOrCb);
1391
1396
  }
1392
- }
1393
- listInstanceProfileTags(args, optionsOrCb, cb) {
1394
- const command = new ListInstanceProfileTagsCommand(args);
1397
+ };
1398
+ IAM.prototype.listInstanceProfileTags = function (args, optionsOrCb, cb) {
1399
+ var command = new ListInstanceProfileTagsCommand(args);
1395
1400
  if (typeof optionsOrCb === "function") {
1396
1401
  this.send(command, optionsOrCb);
1397
1402
  }
1398
1403
  else if (typeof cb === "function") {
1399
1404
  if (typeof optionsOrCb !== "object")
1400
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1405
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1401
1406
  this.send(command, optionsOrCb || {}, cb);
1402
1407
  }
1403
1408
  else {
1404
1409
  return this.send(command, optionsOrCb);
1405
1410
  }
1406
- }
1407
- listMFADevices(args, optionsOrCb, cb) {
1408
- const command = new ListMFADevicesCommand(args);
1411
+ };
1412
+ IAM.prototype.listMFADevices = function (args, optionsOrCb, cb) {
1413
+ var command = new ListMFADevicesCommand(args);
1409
1414
  if (typeof optionsOrCb === "function") {
1410
1415
  this.send(command, optionsOrCb);
1411
1416
  }
1412
1417
  else if (typeof cb === "function") {
1413
1418
  if (typeof optionsOrCb !== "object")
1414
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1419
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1415
1420
  this.send(command, optionsOrCb || {}, cb);
1416
1421
  }
1417
1422
  else {
1418
1423
  return this.send(command, optionsOrCb);
1419
1424
  }
1420
- }
1421
- listMFADeviceTags(args, optionsOrCb, cb) {
1422
- const command = new ListMFADeviceTagsCommand(args);
1425
+ };
1426
+ IAM.prototype.listMFADeviceTags = function (args, optionsOrCb, cb) {
1427
+ var command = new ListMFADeviceTagsCommand(args);
1423
1428
  if (typeof optionsOrCb === "function") {
1424
1429
  this.send(command, optionsOrCb);
1425
1430
  }
1426
1431
  else if (typeof cb === "function") {
1427
1432
  if (typeof optionsOrCb !== "object")
1428
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1433
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1429
1434
  this.send(command, optionsOrCb || {}, cb);
1430
1435
  }
1431
1436
  else {
1432
1437
  return this.send(command, optionsOrCb);
1433
1438
  }
1434
- }
1435
- listOpenIDConnectProviders(args, optionsOrCb, cb) {
1436
- const command = new ListOpenIDConnectProvidersCommand(args);
1439
+ };
1440
+ IAM.prototype.listOpenIDConnectProviders = function (args, optionsOrCb, cb) {
1441
+ var command = new ListOpenIDConnectProvidersCommand(args);
1437
1442
  if (typeof optionsOrCb === "function") {
1438
1443
  this.send(command, optionsOrCb);
1439
1444
  }
1440
1445
  else if (typeof cb === "function") {
1441
1446
  if (typeof optionsOrCb !== "object")
1442
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1447
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1443
1448
  this.send(command, optionsOrCb || {}, cb);
1444
1449
  }
1445
1450
  else {
1446
1451
  return this.send(command, optionsOrCb);
1447
1452
  }
1448
- }
1449
- listOpenIDConnectProviderTags(args, optionsOrCb, cb) {
1450
- const command = new ListOpenIDConnectProviderTagsCommand(args);
1453
+ };
1454
+ IAM.prototype.listOpenIDConnectProviderTags = function (args, optionsOrCb, cb) {
1455
+ var command = new ListOpenIDConnectProviderTagsCommand(args);
1451
1456
  if (typeof optionsOrCb === "function") {
1452
1457
  this.send(command, optionsOrCb);
1453
1458
  }
1454
1459
  else if (typeof cb === "function") {
1455
1460
  if (typeof optionsOrCb !== "object")
1456
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1461
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1457
1462
  this.send(command, optionsOrCb || {}, cb);
1458
1463
  }
1459
1464
  else {
1460
1465
  return this.send(command, optionsOrCb);
1461
1466
  }
1462
- }
1463
- listPolicies(args, optionsOrCb, cb) {
1464
- const command = new ListPoliciesCommand(args);
1467
+ };
1468
+ IAM.prototype.listPolicies = function (args, optionsOrCb, cb) {
1469
+ var command = new ListPoliciesCommand(args);
1465
1470
  if (typeof optionsOrCb === "function") {
1466
1471
  this.send(command, optionsOrCb);
1467
1472
  }
1468
1473
  else if (typeof cb === "function") {
1469
1474
  if (typeof optionsOrCb !== "object")
1470
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1475
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1471
1476
  this.send(command, optionsOrCb || {}, cb);
1472
1477
  }
1473
1478
  else {
1474
1479
  return this.send(command, optionsOrCb);
1475
1480
  }
1476
- }
1477
- listPoliciesGrantingServiceAccess(args, optionsOrCb, cb) {
1478
- const command = new ListPoliciesGrantingServiceAccessCommand(args);
1481
+ };
1482
+ IAM.prototype.listPoliciesGrantingServiceAccess = function (args, optionsOrCb, cb) {
1483
+ var command = new ListPoliciesGrantingServiceAccessCommand(args);
1479
1484
  if (typeof optionsOrCb === "function") {
1480
1485
  this.send(command, optionsOrCb);
1481
1486
  }
1482
1487
  else if (typeof cb === "function") {
1483
1488
  if (typeof optionsOrCb !== "object")
1484
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1489
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1485
1490
  this.send(command, optionsOrCb || {}, cb);
1486
1491
  }
1487
1492
  else {
1488
1493
  return this.send(command, optionsOrCb);
1489
1494
  }
1490
- }
1491
- listPolicyTags(args, optionsOrCb, cb) {
1492
- const command = new ListPolicyTagsCommand(args);
1495
+ };
1496
+ IAM.prototype.listPolicyTags = function (args, optionsOrCb, cb) {
1497
+ var command = new ListPolicyTagsCommand(args);
1493
1498
  if (typeof optionsOrCb === "function") {
1494
1499
  this.send(command, optionsOrCb);
1495
1500
  }
1496
1501
  else if (typeof cb === "function") {
1497
1502
  if (typeof optionsOrCb !== "object")
1498
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1503
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1499
1504
  this.send(command, optionsOrCb || {}, cb);
1500
1505
  }
1501
1506
  else {
1502
1507
  return this.send(command, optionsOrCb);
1503
1508
  }
1504
- }
1505
- listPolicyVersions(args, optionsOrCb, cb) {
1506
- const command = new ListPolicyVersionsCommand(args);
1509
+ };
1510
+ IAM.prototype.listPolicyVersions = function (args, optionsOrCb, cb) {
1511
+ var command = new ListPolicyVersionsCommand(args);
1507
1512
  if (typeof optionsOrCb === "function") {
1508
1513
  this.send(command, optionsOrCb);
1509
1514
  }
1510
1515
  else if (typeof cb === "function") {
1511
1516
  if (typeof optionsOrCb !== "object")
1512
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1517
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1513
1518
  this.send(command, optionsOrCb || {}, cb);
1514
1519
  }
1515
1520
  else {
1516
1521
  return this.send(command, optionsOrCb);
1517
1522
  }
1518
- }
1519
- listRolePolicies(args, optionsOrCb, cb) {
1520
- const command = new ListRolePoliciesCommand(args);
1523
+ };
1524
+ IAM.prototype.listRolePolicies = function (args, optionsOrCb, cb) {
1525
+ var command = new ListRolePoliciesCommand(args);
1521
1526
  if (typeof optionsOrCb === "function") {
1522
1527
  this.send(command, optionsOrCb);
1523
1528
  }
1524
1529
  else if (typeof cb === "function") {
1525
1530
  if (typeof optionsOrCb !== "object")
1526
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1531
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1527
1532
  this.send(command, optionsOrCb || {}, cb);
1528
1533
  }
1529
1534
  else {
1530
1535
  return this.send(command, optionsOrCb);
1531
1536
  }
1532
- }
1533
- listRoles(args, optionsOrCb, cb) {
1534
- const command = new ListRolesCommand(args);
1537
+ };
1538
+ IAM.prototype.listRoles = function (args, optionsOrCb, cb) {
1539
+ var command = new ListRolesCommand(args);
1535
1540
  if (typeof optionsOrCb === "function") {
1536
1541
  this.send(command, optionsOrCb);
1537
1542
  }
1538
1543
  else if (typeof cb === "function") {
1539
1544
  if (typeof optionsOrCb !== "object")
1540
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1545
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1541
1546
  this.send(command, optionsOrCb || {}, cb);
1542
1547
  }
1543
1548
  else {
1544
1549
  return this.send(command, optionsOrCb);
1545
1550
  }
1546
- }
1547
- listRoleTags(args, optionsOrCb, cb) {
1548
- const command = new ListRoleTagsCommand(args);
1551
+ };
1552
+ IAM.prototype.listRoleTags = function (args, optionsOrCb, cb) {
1553
+ var command = new ListRoleTagsCommand(args);
1549
1554
  if (typeof optionsOrCb === "function") {
1550
1555
  this.send(command, optionsOrCb);
1551
1556
  }
1552
1557
  else if (typeof cb === "function") {
1553
1558
  if (typeof optionsOrCb !== "object")
1554
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1559
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1555
1560
  this.send(command, optionsOrCb || {}, cb);
1556
1561
  }
1557
1562
  else {
1558
1563
  return this.send(command, optionsOrCb);
1559
1564
  }
1560
- }
1561
- listSAMLProviders(args, optionsOrCb, cb) {
1562
- const command = new ListSAMLProvidersCommand(args);
1565
+ };
1566
+ IAM.prototype.listSAMLProviders = function (args, optionsOrCb, cb) {
1567
+ var command = new ListSAMLProvidersCommand(args);
1563
1568
  if (typeof optionsOrCb === "function") {
1564
1569
  this.send(command, optionsOrCb);
1565
1570
  }
1566
1571
  else if (typeof cb === "function") {
1567
1572
  if (typeof optionsOrCb !== "object")
1568
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1573
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1569
1574
  this.send(command, optionsOrCb || {}, cb);
1570
1575
  }
1571
1576
  else {
1572
1577
  return this.send(command, optionsOrCb);
1573
1578
  }
1574
- }
1575
- listSAMLProviderTags(args, optionsOrCb, cb) {
1576
- const command = new ListSAMLProviderTagsCommand(args);
1579
+ };
1580
+ IAM.prototype.listSAMLProviderTags = function (args, optionsOrCb, cb) {
1581
+ var command = new ListSAMLProviderTagsCommand(args);
1577
1582
  if (typeof optionsOrCb === "function") {
1578
1583
  this.send(command, optionsOrCb);
1579
1584
  }
1580
1585
  else if (typeof cb === "function") {
1581
1586
  if (typeof optionsOrCb !== "object")
1582
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1587
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1583
1588
  this.send(command, optionsOrCb || {}, cb);
1584
1589
  }
1585
1590
  else {
1586
1591
  return this.send(command, optionsOrCb);
1587
1592
  }
1588
- }
1589
- listServerCertificates(args, optionsOrCb, cb) {
1590
- const command = new ListServerCertificatesCommand(args);
1593
+ };
1594
+ IAM.prototype.listServerCertificates = function (args, optionsOrCb, cb) {
1595
+ var command = new ListServerCertificatesCommand(args);
1591
1596
  if (typeof optionsOrCb === "function") {
1592
1597
  this.send(command, optionsOrCb);
1593
1598
  }
1594
1599
  else if (typeof cb === "function") {
1595
1600
  if (typeof optionsOrCb !== "object")
1596
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1601
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1597
1602
  this.send(command, optionsOrCb || {}, cb);
1598
1603
  }
1599
1604
  else {
1600
1605
  return this.send(command, optionsOrCb);
1601
1606
  }
1602
- }
1603
- listServerCertificateTags(args, optionsOrCb, cb) {
1604
- const command = new ListServerCertificateTagsCommand(args);
1607
+ };
1608
+ IAM.prototype.listServerCertificateTags = function (args, optionsOrCb, cb) {
1609
+ var command = new ListServerCertificateTagsCommand(args);
1605
1610
  if (typeof optionsOrCb === "function") {
1606
1611
  this.send(command, optionsOrCb);
1607
1612
  }
1608
1613
  else if (typeof cb === "function") {
1609
1614
  if (typeof optionsOrCb !== "object")
1610
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1615
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1611
1616
  this.send(command, optionsOrCb || {}, cb);
1612
1617
  }
1613
1618
  else {
1614
1619
  return this.send(command, optionsOrCb);
1615
1620
  }
1616
- }
1617
- listServiceSpecificCredentials(args, optionsOrCb, cb) {
1618
- const command = new ListServiceSpecificCredentialsCommand(args);
1621
+ };
1622
+ IAM.prototype.listServiceSpecificCredentials = function (args, optionsOrCb, cb) {
1623
+ var command = new ListServiceSpecificCredentialsCommand(args);
1619
1624
  if (typeof optionsOrCb === "function") {
1620
1625
  this.send(command, optionsOrCb);
1621
1626
  }
1622
1627
  else if (typeof cb === "function") {
1623
1628
  if (typeof optionsOrCb !== "object")
1624
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1629
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1625
1630
  this.send(command, optionsOrCb || {}, cb);
1626
1631
  }
1627
1632
  else {
1628
1633
  return this.send(command, optionsOrCb);
1629
1634
  }
1630
- }
1631
- listSigningCertificates(args, optionsOrCb, cb) {
1632
- const command = new ListSigningCertificatesCommand(args);
1635
+ };
1636
+ IAM.prototype.listSigningCertificates = function (args, optionsOrCb, cb) {
1637
+ var command = new ListSigningCertificatesCommand(args);
1633
1638
  if (typeof optionsOrCb === "function") {
1634
1639
  this.send(command, optionsOrCb);
1635
1640
  }
1636
1641
  else if (typeof cb === "function") {
1637
1642
  if (typeof optionsOrCb !== "object")
1638
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1643
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1639
1644
  this.send(command, optionsOrCb || {}, cb);
1640
1645
  }
1641
1646
  else {
1642
1647
  return this.send(command, optionsOrCb);
1643
1648
  }
1644
- }
1645
- listSSHPublicKeys(args, optionsOrCb, cb) {
1646
- const command = new ListSSHPublicKeysCommand(args);
1649
+ };
1650
+ IAM.prototype.listSSHPublicKeys = function (args, optionsOrCb, cb) {
1651
+ var command = new ListSSHPublicKeysCommand(args);
1647
1652
  if (typeof optionsOrCb === "function") {
1648
1653
  this.send(command, optionsOrCb);
1649
1654
  }
1650
1655
  else if (typeof cb === "function") {
1651
1656
  if (typeof optionsOrCb !== "object")
1652
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1657
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1653
1658
  this.send(command, optionsOrCb || {}, cb);
1654
1659
  }
1655
1660
  else {
1656
1661
  return this.send(command, optionsOrCb);
1657
1662
  }
1658
- }
1659
- listUserPolicies(args, optionsOrCb, cb) {
1660
- const command = new ListUserPoliciesCommand(args);
1663
+ };
1664
+ IAM.prototype.listUserPolicies = function (args, optionsOrCb, cb) {
1665
+ var command = new ListUserPoliciesCommand(args);
1661
1666
  if (typeof optionsOrCb === "function") {
1662
1667
  this.send(command, optionsOrCb);
1663
1668
  }
1664
1669
  else if (typeof cb === "function") {
1665
1670
  if (typeof optionsOrCb !== "object")
1666
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1671
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1667
1672
  this.send(command, optionsOrCb || {}, cb);
1668
1673
  }
1669
1674
  else {
1670
1675
  return this.send(command, optionsOrCb);
1671
1676
  }
1672
- }
1673
- listUsers(args, optionsOrCb, cb) {
1674
- const command = new ListUsersCommand(args);
1677
+ };
1678
+ IAM.prototype.listUsers = function (args, optionsOrCb, cb) {
1679
+ var command = new ListUsersCommand(args);
1675
1680
  if (typeof optionsOrCb === "function") {
1676
1681
  this.send(command, optionsOrCb);
1677
1682
  }
1678
1683
  else if (typeof cb === "function") {
1679
1684
  if (typeof optionsOrCb !== "object")
1680
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1685
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1681
1686
  this.send(command, optionsOrCb || {}, cb);
1682
1687
  }
1683
1688
  else {
1684
1689
  return this.send(command, optionsOrCb);
1685
1690
  }
1686
- }
1687
- listUserTags(args, optionsOrCb, cb) {
1688
- const command = new ListUserTagsCommand(args);
1691
+ };
1692
+ IAM.prototype.listUserTags = function (args, optionsOrCb, cb) {
1693
+ var command = new ListUserTagsCommand(args);
1689
1694
  if (typeof optionsOrCb === "function") {
1690
1695
  this.send(command, optionsOrCb);
1691
1696
  }
1692
1697
  else if (typeof cb === "function") {
1693
1698
  if (typeof optionsOrCb !== "object")
1694
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1699
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1695
1700
  this.send(command, optionsOrCb || {}, cb);
1696
1701
  }
1697
1702
  else {
1698
1703
  return this.send(command, optionsOrCb);
1699
1704
  }
1700
- }
1701
- listVirtualMFADevices(args, optionsOrCb, cb) {
1702
- const command = new ListVirtualMFADevicesCommand(args);
1705
+ };
1706
+ IAM.prototype.listVirtualMFADevices = function (args, optionsOrCb, cb) {
1707
+ var command = new ListVirtualMFADevicesCommand(args);
1703
1708
  if (typeof optionsOrCb === "function") {
1704
1709
  this.send(command, optionsOrCb);
1705
1710
  }
1706
1711
  else if (typeof cb === "function") {
1707
1712
  if (typeof optionsOrCb !== "object")
1708
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1713
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1709
1714
  this.send(command, optionsOrCb || {}, cb);
1710
1715
  }
1711
1716
  else {
1712
1717
  return this.send(command, optionsOrCb);
1713
1718
  }
1714
- }
1715
- putGroupPolicy(args, optionsOrCb, cb) {
1716
- const command = new PutGroupPolicyCommand(args);
1719
+ };
1720
+ IAM.prototype.putGroupPolicy = function (args, optionsOrCb, cb) {
1721
+ var command = new PutGroupPolicyCommand(args);
1717
1722
  if (typeof optionsOrCb === "function") {
1718
1723
  this.send(command, optionsOrCb);
1719
1724
  }
1720
1725
  else if (typeof cb === "function") {
1721
1726
  if (typeof optionsOrCb !== "object")
1722
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1727
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1723
1728
  this.send(command, optionsOrCb || {}, cb);
1724
1729
  }
1725
1730
  else {
1726
1731
  return this.send(command, optionsOrCb);
1727
1732
  }
1728
- }
1729
- putRolePermissionsBoundary(args, optionsOrCb, cb) {
1730
- const command = new PutRolePermissionsBoundaryCommand(args);
1733
+ };
1734
+ IAM.prototype.putRolePermissionsBoundary = function (args, optionsOrCb, cb) {
1735
+ var command = new PutRolePermissionsBoundaryCommand(args);
1731
1736
  if (typeof optionsOrCb === "function") {
1732
1737
  this.send(command, optionsOrCb);
1733
1738
  }
1734
1739
  else if (typeof cb === "function") {
1735
1740
  if (typeof optionsOrCb !== "object")
1736
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1741
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1737
1742
  this.send(command, optionsOrCb || {}, cb);
1738
1743
  }
1739
1744
  else {
1740
1745
  return this.send(command, optionsOrCb);
1741
1746
  }
1742
- }
1743
- putRolePolicy(args, optionsOrCb, cb) {
1744
- const command = new PutRolePolicyCommand(args);
1747
+ };
1748
+ IAM.prototype.putRolePolicy = function (args, optionsOrCb, cb) {
1749
+ var command = new PutRolePolicyCommand(args);
1745
1750
  if (typeof optionsOrCb === "function") {
1746
1751
  this.send(command, optionsOrCb);
1747
1752
  }
1748
1753
  else if (typeof cb === "function") {
1749
1754
  if (typeof optionsOrCb !== "object")
1750
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1755
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1751
1756
  this.send(command, optionsOrCb || {}, cb);
1752
1757
  }
1753
1758
  else {
1754
1759
  return this.send(command, optionsOrCb);
1755
1760
  }
1756
- }
1757
- putUserPermissionsBoundary(args, optionsOrCb, cb) {
1758
- const command = new PutUserPermissionsBoundaryCommand(args);
1761
+ };
1762
+ IAM.prototype.putUserPermissionsBoundary = function (args, optionsOrCb, cb) {
1763
+ var command = new PutUserPermissionsBoundaryCommand(args);
1759
1764
  if (typeof optionsOrCb === "function") {
1760
1765
  this.send(command, optionsOrCb);
1761
1766
  }
1762
1767
  else if (typeof cb === "function") {
1763
1768
  if (typeof optionsOrCb !== "object")
1764
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1769
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1765
1770
  this.send(command, optionsOrCb || {}, cb);
1766
1771
  }
1767
1772
  else {
1768
1773
  return this.send(command, optionsOrCb);
1769
1774
  }
1770
- }
1771
- putUserPolicy(args, optionsOrCb, cb) {
1772
- const command = new PutUserPolicyCommand(args);
1775
+ };
1776
+ IAM.prototype.putUserPolicy = function (args, optionsOrCb, cb) {
1777
+ var command = new PutUserPolicyCommand(args);
1773
1778
  if (typeof optionsOrCb === "function") {
1774
1779
  this.send(command, optionsOrCb);
1775
1780
  }
1776
1781
  else if (typeof cb === "function") {
1777
1782
  if (typeof optionsOrCb !== "object")
1778
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1783
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1779
1784
  this.send(command, optionsOrCb || {}, cb);
1780
1785
  }
1781
1786
  else {
1782
1787
  return this.send(command, optionsOrCb);
1783
1788
  }
1784
- }
1785
- removeClientIDFromOpenIDConnectProvider(args, optionsOrCb, cb) {
1786
- const command = new RemoveClientIDFromOpenIDConnectProviderCommand(args);
1789
+ };
1790
+ IAM.prototype.removeClientIDFromOpenIDConnectProvider = function (args, optionsOrCb, cb) {
1791
+ var command = new RemoveClientIDFromOpenIDConnectProviderCommand(args);
1787
1792
  if (typeof optionsOrCb === "function") {
1788
1793
  this.send(command, optionsOrCb);
1789
1794
  }
1790
1795
  else if (typeof cb === "function") {
1791
1796
  if (typeof optionsOrCb !== "object")
1792
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1797
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1793
1798
  this.send(command, optionsOrCb || {}, cb);
1794
1799
  }
1795
1800
  else {
1796
1801
  return this.send(command, optionsOrCb);
1797
1802
  }
1798
- }
1799
- removeRoleFromInstanceProfile(args, optionsOrCb, cb) {
1800
- const command = new RemoveRoleFromInstanceProfileCommand(args);
1803
+ };
1804
+ IAM.prototype.removeRoleFromInstanceProfile = function (args, optionsOrCb, cb) {
1805
+ var command = new RemoveRoleFromInstanceProfileCommand(args);
1801
1806
  if (typeof optionsOrCb === "function") {
1802
1807
  this.send(command, optionsOrCb);
1803
1808
  }
1804
1809
  else if (typeof cb === "function") {
1805
1810
  if (typeof optionsOrCb !== "object")
1806
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1811
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1807
1812
  this.send(command, optionsOrCb || {}, cb);
1808
1813
  }
1809
1814
  else {
1810
1815
  return this.send(command, optionsOrCb);
1811
1816
  }
1812
- }
1813
- removeUserFromGroup(args, optionsOrCb, cb) {
1814
- const command = new RemoveUserFromGroupCommand(args);
1817
+ };
1818
+ IAM.prototype.removeUserFromGroup = function (args, optionsOrCb, cb) {
1819
+ var command = new RemoveUserFromGroupCommand(args);
1815
1820
  if (typeof optionsOrCb === "function") {
1816
1821
  this.send(command, optionsOrCb);
1817
1822
  }
1818
1823
  else if (typeof cb === "function") {
1819
1824
  if (typeof optionsOrCb !== "object")
1820
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1825
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1821
1826
  this.send(command, optionsOrCb || {}, cb);
1822
1827
  }
1823
1828
  else {
1824
1829
  return this.send(command, optionsOrCb);
1825
1830
  }
1826
- }
1827
- resetServiceSpecificCredential(args, optionsOrCb, cb) {
1828
- const command = new ResetServiceSpecificCredentialCommand(args);
1831
+ };
1832
+ IAM.prototype.resetServiceSpecificCredential = function (args, optionsOrCb, cb) {
1833
+ var command = new ResetServiceSpecificCredentialCommand(args);
1829
1834
  if (typeof optionsOrCb === "function") {
1830
1835
  this.send(command, optionsOrCb);
1831
1836
  }
1832
1837
  else if (typeof cb === "function") {
1833
1838
  if (typeof optionsOrCb !== "object")
1834
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1839
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1835
1840
  this.send(command, optionsOrCb || {}, cb);
1836
1841
  }
1837
1842
  else {
1838
1843
  return this.send(command, optionsOrCb);
1839
1844
  }
1840
- }
1841
- resyncMFADevice(args, optionsOrCb, cb) {
1842
- const command = new ResyncMFADeviceCommand(args);
1845
+ };
1846
+ IAM.prototype.resyncMFADevice = function (args, optionsOrCb, cb) {
1847
+ var command = new ResyncMFADeviceCommand(args);
1843
1848
  if (typeof optionsOrCb === "function") {
1844
1849
  this.send(command, optionsOrCb);
1845
1850
  }
1846
1851
  else if (typeof cb === "function") {
1847
1852
  if (typeof optionsOrCb !== "object")
1848
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1853
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1849
1854
  this.send(command, optionsOrCb || {}, cb);
1850
1855
  }
1851
1856
  else {
1852
1857
  return this.send(command, optionsOrCb);
1853
1858
  }
1854
- }
1855
- setDefaultPolicyVersion(args, optionsOrCb, cb) {
1856
- const command = new SetDefaultPolicyVersionCommand(args);
1859
+ };
1860
+ IAM.prototype.setDefaultPolicyVersion = function (args, optionsOrCb, cb) {
1861
+ var command = new SetDefaultPolicyVersionCommand(args);
1857
1862
  if (typeof optionsOrCb === "function") {
1858
1863
  this.send(command, optionsOrCb);
1859
1864
  }
1860
1865
  else if (typeof cb === "function") {
1861
1866
  if (typeof optionsOrCb !== "object")
1862
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1867
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1863
1868
  this.send(command, optionsOrCb || {}, cb);
1864
1869
  }
1865
1870
  else {
1866
1871
  return this.send(command, optionsOrCb);
1867
1872
  }
1868
- }
1869
- setSecurityTokenServicePreferences(args, optionsOrCb, cb) {
1870
- const command = new SetSecurityTokenServicePreferencesCommand(args);
1873
+ };
1874
+ IAM.prototype.setSecurityTokenServicePreferences = function (args, optionsOrCb, cb) {
1875
+ var command = new SetSecurityTokenServicePreferencesCommand(args);
1871
1876
  if (typeof optionsOrCb === "function") {
1872
1877
  this.send(command, optionsOrCb);
1873
1878
  }
1874
1879
  else if (typeof cb === "function") {
1875
1880
  if (typeof optionsOrCb !== "object")
1876
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1881
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1877
1882
  this.send(command, optionsOrCb || {}, cb);
1878
1883
  }
1879
1884
  else {
1880
1885
  return this.send(command, optionsOrCb);
1881
1886
  }
1882
- }
1883
- simulateCustomPolicy(args, optionsOrCb, cb) {
1884
- const command = new SimulateCustomPolicyCommand(args);
1887
+ };
1888
+ IAM.prototype.simulateCustomPolicy = function (args, optionsOrCb, cb) {
1889
+ var command = new SimulateCustomPolicyCommand(args);
1885
1890
  if (typeof optionsOrCb === "function") {
1886
1891
  this.send(command, optionsOrCb);
1887
1892
  }
1888
1893
  else if (typeof cb === "function") {
1889
1894
  if (typeof optionsOrCb !== "object")
1890
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1895
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1891
1896
  this.send(command, optionsOrCb || {}, cb);
1892
1897
  }
1893
1898
  else {
1894
1899
  return this.send(command, optionsOrCb);
1895
1900
  }
1896
- }
1897
- simulatePrincipalPolicy(args, optionsOrCb, cb) {
1898
- const command = new SimulatePrincipalPolicyCommand(args);
1901
+ };
1902
+ IAM.prototype.simulatePrincipalPolicy = function (args, optionsOrCb, cb) {
1903
+ var command = new SimulatePrincipalPolicyCommand(args);
1899
1904
  if (typeof optionsOrCb === "function") {
1900
1905
  this.send(command, optionsOrCb);
1901
1906
  }
1902
1907
  else if (typeof cb === "function") {
1903
1908
  if (typeof optionsOrCb !== "object")
1904
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1909
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1905
1910
  this.send(command, optionsOrCb || {}, cb);
1906
1911
  }
1907
1912
  else {
1908
1913
  return this.send(command, optionsOrCb);
1909
1914
  }
1910
- }
1911
- tagInstanceProfile(args, optionsOrCb, cb) {
1912
- const command = new TagInstanceProfileCommand(args);
1915
+ };
1916
+ IAM.prototype.tagInstanceProfile = function (args, optionsOrCb, cb) {
1917
+ var command = new TagInstanceProfileCommand(args);
1913
1918
  if (typeof optionsOrCb === "function") {
1914
1919
  this.send(command, optionsOrCb);
1915
1920
  }
1916
1921
  else if (typeof cb === "function") {
1917
1922
  if (typeof optionsOrCb !== "object")
1918
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1923
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1919
1924
  this.send(command, optionsOrCb || {}, cb);
1920
1925
  }
1921
1926
  else {
1922
1927
  return this.send(command, optionsOrCb);
1923
1928
  }
1924
- }
1925
- tagMFADevice(args, optionsOrCb, cb) {
1926
- const command = new TagMFADeviceCommand(args);
1929
+ };
1930
+ IAM.prototype.tagMFADevice = function (args, optionsOrCb, cb) {
1931
+ var command = new TagMFADeviceCommand(args);
1927
1932
  if (typeof optionsOrCb === "function") {
1928
1933
  this.send(command, optionsOrCb);
1929
1934
  }
1930
1935
  else if (typeof cb === "function") {
1931
1936
  if (typeof optionsOrCb !== "object")
1932
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1937
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1933
1938
  this.send(command, optionsOrCb || {}, cb);
1934
1939
  }
1935
1940
  else {
1936
1941
  return this.send(command, optionsOrCb);
1937
1942
  }
1938
- }
1939
- tagOpenIDConnectProvider(args, optionsOrCb, cb) {
1940
- const command = new TagOpenIDConnectProviderCommand(args);
1943
+ };
1944
+ IAM.prototype.tagOpenIDConnectProvider = function (args, optionsOrCb, cb) {
1945
+ var command = new TagOpenIDConnectProviderCommand(args);
1941
1946
  if (typeof optionsOrCb === "function") {
1942
1947
  this.send(command, optionsOrCb);
1943
1948
  }
1944
1949
  else if (typeof cb === "function") {
1945
1950
  if (typeof optionsOrCb !== "object")
1946
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1951
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1947
1952
  this.send(command, optionsOrCb || {}, cb);
1948
1953
  }
1949
1954
  else {
1950
1955
  return this.send(command, optionsOrCb);
1951
1956
  }
1952
- }
1953
- tagPolicy(args, optionsOrCb, cb) {
1954
- const command = new TagPolicyCommand(args);
1957
+ };
1958
+ IAM.prototype.tagPolicy = function (args, optionsOrCb, cb) {
1959
+ var command = new TagPolicyCommand(args);
1955
1960
  if (typeof optionsOrCb === "function") {
1956
1961
  this.send(command, optionsOrCb);
1957
1962
  }
1958
1963
  else if (typeof cb === "function") {
1959
1964
  if (typeof optionsOrCb !== "object")
1960
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1965
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1961
1966
  this.send(command, optionsOrCb || {}, cb);
1962
1967
  }
1963
1968
  else {
1964
1969
  return this.send(command, optionsOrCb);
1965
1970
  }
1966
- }
1967
- tagRole(args, optionsOrCb, cb) {
1968
- const command = new TagRoleCommand(args);
1971
+ };
1972
+ IAM.prototype.tagRole = function (args, optionsOrCb, cb) {
1973
+ var command = new TagRoleCommand(args);
1969
1974
  if (typeof optionsOrCb === "function") {
1970
1975
  this.send(command, optionsOrCb);
1971
1976
  }
1972
1977
  else if (typeof cb === "function") {
1973
1978
  if (typeof optionsOrCb !== "object")
1974
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1979
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1975
1980
  this.send(command, optionsOrCb || {}, cb);
1976
1981
  }
1977
1982
  else {
1978
1983
  return this.send(command, optionsOrCb);
1979
1984
  }
1980
- }
1981
- tagSAMLProvider(args, optionsOrCb, cb) {
1982
- const command = new TagSAMLProviderCommand(args);
1985
+ };
1986
+ IAM.prototype.tagSAMLProvider = function (args, optionsOrCb, cb) {
1987
+ var command = new TagSAMLProviderCommand(args);
1983
1988
  if (typeof optionsOrCb === "function") {
1984
1989
  this.send(command, optionsOrCb);
1985
1990
  }
1986
1991
  else if (typeof cb === "function") {
1987
1992
  if (typeof optionsOrCb !== "object")
1988
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1993
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1989
1994
  this.send(command, optionsOrCb || {}, cb);
1990
1995
  }
1991
1996
  else {
1992
1997
  return this.send(command, optionsOrCb);
1993
1998
  }
1994
- }
1995
- tagServerCertificate(args, optionsOrCb, cb) {
1996
- const command = new TagServerCertificateCommand(args);
1999
+ };
2000
+ IAM.prototype.tagServerCertificate = function (args, optionsOrCb, cb) {
2001
+ var command = new TagServerCertificateCommand(args);
1997
2002
  if (typeof optionsOrCb === "function") {
1998
2003
  this.send(command, optionsOrCb);
1999
2004
  }
2000
2005
  else if (typeof cb === "function") {
2001
2006
  if (typeof optionsOrCb !== "object")
2002
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2007
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2003
2008
  this.send(command, optionsOrCb || {}, cb);
2004
2009
  }
2005
2010
  else {
2006
2011
  return this.send(command, optionsOrCb);
2007
2012
  }
2008
- }
2009
- tagUser(args, optionsOrCb, cb) {
2010
- const command = new TagUserCommand(args);
2013
+ };
2014
+ IAM.prototype.tagUser = function (args, optionsOrCb, cb) {
2015
+ var command = new TagUserCommand(args);
2011
2016
  if (typeof optionsOrCb === "function") {
2012
2017
  this.send(command, optionsOrCb);
2013
2018
  }
2014
2019
  else if (typeof cb === "function") {
2015
2020
  if (typeof optionsOrCb !== "object")
2016
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2021
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2017
2022
  this.send(command, optionsOrCb || {}, cb);
2018
2023
  }
2019
2024
  else {
2020
2025
  return this.send(command, optionsOrCb);
2021
2026
  }
2022
- }
2023
- untagInstanceProfile(args, optionsOrCb, cb) {
2024
- const command = new UntagInstanceProfileCommand(args);
2027
+ };
2028
+ IAM.prototype.untagInstanceProfile = function (args, optionsOrCb, cb) {
2029
+ var command = new UntagInstanceProfileCommand(args);
2025
2030
  if (typeof optionsOrCb === "function") {
2026
2031
  this.send(command, optionsOrCb);
2027
2032
  }
2028
2033
  else if (typeof cb === "function") {
2029
2034
  if (typeof optionsOrCb !== "object")
2030
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2035
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2031
2036
  this.send(command, optionsOrCb || {}, cb);
2032
2037
  }
2033
2038
  else {
2034
2039
  return this.send(command, optionsOrCb);
2035
2040
  }
2036
- }
2037
- untagMFADevice(args, optionsOrCb, cb) {
2038
- const command = new UntagMFADeviceCommand(args);
2041
+ };
2042
+ IAM.prototype.untagMFADevice = function (args, optionsOrCb, cb) {
2043
+ var command = new UntagMFADeviceCommand(args);
2039
2044
  if (typeof optionsOrCb === "function") {
2040
2045
  this.send(command, optionsOrCb);
2041
2046
  }
2042
2047
  else if (typeof cb === "function") {
2043
2048
  if (typeof optionsOrCb !== "object")
2044
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2049
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2045
2050
  this.send(command, optionsOrCb || {}, cb);
2046
2051
  }
2047
2052
  else {
2048
2053
  return this.send(command, optionsOrCb);
2049
2054
  }
2050
- }
2051
- untagOpenIDConnectProvider(args, optionsOrCb, cb) {
2052
- const command = new UntagOpenIDConnectProviderCommand(args);
2055
+ };
2056
+ IAM.prototype.untagOpenIDConnectProvider = function (args, optionsOrCb, cb) {
2057
+ var command = new UntagOpenIDConnectProviderCommand(args);
2053
2058
  if (typeof optionsOrCb === "function") {
2054
2059
  this.send(command, optionsOrCb);
2055
2060
  }
2056
2061
  else if (typeof cb === "function") {
2057
2062
  if (typeof optionsOrCb !== "object")
2058
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2063
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2059
2064
  this.send(command, optionsOrCb || {}, cb);
2060
2065
  }
2061
2066
  else {
2062
2067
  return this.send(command, optionsOrCb);
2063
2068
  }
2064
- }
2065
- untagPolicy(args, optionsOrCb, cb) {
2066
- const command = new UntagPolicyCommand(args);
2069
+ };
2070
+ IAM.prototype.untagPolicy = function (args, optionsOrCb, cb) {
2071
+ var command = new UntagPolicyCommand(args);
2067
2072
  if (typeof optionsOrCb === "function") {
2068
2073
  this.send(command, optionsOrCb);
2069
2074
  }
2070
2075
  else if (typeof cb === "function") {
2071
2076
  if (typeof optionsOrCb !== "object")
2072
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2077
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2073
2078
  this.send(command, optionsOrCb || {}, cb);
2074
2079
  }
2075
2080
  else {
2076
2081
  return this.send(command, optionsOrCb);
2077
2082
  }
2078
- }
2079
- untagRole(args, optionsOrCb, cb) {
2080
- const command = new UntagRoleCommand(args);
2083
+ };
2084
+ IAM.prototype.untagRole = function (args, optionsOrCb, cb) {
2085
+ var command = new UntagRoleCommand(args);
2081
2086
  if (typeof optionsOrCb === "function") {
2082
2087
  this.send(command, optionsOrCb);
2083
2088
  }
2084
2089
  else if (typeof cb === "function") {
2085
2090
  if (typeof optionsOrCb !== "object")
2086
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2091
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2087
2092
  this.send(command, optionsOrCb || {}, cb);
2088
2093
  }
2089
2094
  else {
2090
2095
  return this.send(command, optionsOrCb);
2091
2096
  }
2092
- }
2093
- untagSAMLProvider(args, optionsOrCb, cb) {
2094
- const command = new UntagSAMLProviderCommand(args);
2097
+ };
2098
+ IAM.prototype.untagSAMLProvider = function (args, optionsOrCb, cb) {
2099
+ var command = new UntagSAMLProviderCommand(args);
2095
2100
  if (typeof optionsOrCb === "function") {
2096
2101
  this.send(command, optionsOrCb);
2097
2102
  }
2098
2103
  else if (typeof cb === "function") {
2099
2104
  if (typeof optionsOrCb !== "object")
2100
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2105
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2101
2106
  this.send(command, optionsOrCb || {}, cb);
2102
2107
  }
2103
2108
  else {
2104
2109
  return this.send(command, optionsOrCb);
2105
2110
  }
2106
- }
2107
- untagServerCertificate(args, optionsOrCb, cb) {
2108
- const command = new UntagServerCertificateCommand(args);
2111
+ };
2112
+ IAM.prototype.untagServerCertificate = function (args, optionsOrCb, cb) {
2113
+ var command = new UntagServerCertificateCommand(args);
2109
2114
  if (typeof optionsOrCb === "function") {
2110
2115
  this.send(command, optionsOrCb);
2111
2116
  }
2112
2117
  else if (typeof cb === "function") {
2113
2118
  if (typeof optionsOrCb !== "object")
2114
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2119
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2115
2120
  this.send(command, optionsOrCb || {}, cb);
2116
2121
  }
2117
2122
  else {
2118
2123
  return this.send(command, optionsOrCb);
2119
2124
  }
2120
- }
2121
- untagUser(args, optionsOrCb, cb) {
2122
- const command = new UntagUserCommand(args);
2125
+ };
2126
+ IAM.prototype.untagUser = function (args, optionsOrCb, cb) {
2127
+ var command = new UntagUserCommand(args);
2123
2128
  if (typeof optionsOrCb === "function") {
2124
2129
  this.send(command, optionsOrCb);
2125
2130
  }
2126
2131
  else if (typeof cb === "function") {
2127
2132
  if (typeof optionsOrCb !== "object")
2128
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2133
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2129
2134
  this.send(command, optionsOrCb || {}, cb);
2130
2135
  }
2131
2136
  else {
2132
2137
  return this.send(command, optionsOrCb);
2133
2138
  }
2134
- }
2135
- updateAccessKey(args, optionsOrCb, cb) {
2136
- const command = new UpdateAccessKeyCommand(args);
2139
+ };
2140
+ IAM.prototype.updateAccessKey = function (args, optionsOrCb, cb) {
2141
+ var command = new UpdateAccessKeyCommand(args);
2137
2142
  if (typeof optionsOrCb === "function") {
2138
2143
  this.send(command, optionsOrCb);
2139
2144
  }
2140
2145
  else if (typeof cb === "function") {
2141
2146
  if (typeof optionsOrCb !== "object")
2142
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2147
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2143
2148
  this.send(command, optionsOrCb || {}, cb);
2144
2149
  }
2145
2150
  else {
2146
2151
  return this.send(command, optionsOrCb);
2147
2152
  }
2148
- }
2149
- updateAccountPasswordPolicy(args, optionsOrCb, cb) {
2150
- const command = new UpdateAccountPasswordPolicyCommand(args);
2153
+ };
2154
+ IAM.prototype.updateAccountPasswordPolicy = function (args, optionsOrCb, cb) {
2155
+ var command = new UpdateAccountPasswordPolicyCommand(args);
2151
2156
  if (typeof optionsOrCb === "function") {
2152
2157
  this.send(command, optionsOrCb);
2153
2158
  }
2154
2159
  else if (typeof cb === "function") {
2155
2160
  if (typeof optionsOrCb !== "object")
2156
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2161
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2157
2162
  this.send(command, optionsOrCb || {}, cb);
2158
2163
  }
2159
2164
  else {
2160
2165
  return this.send(command, optionsOrCb);
2161
2166
  }
2162
- }
2163
- updateAssumeRolePolicy(args, optionsOrCb, cb) {
2164
- const command = new UpdateAssumeRolePolicyCommand(args);
2167
+ };
2168
+ IAM.prototype.updateAssumeRolePolicy = function (args, optionsOrCb, cb) {
2169
+ var command = new UpdateAssumeRolePolicyCommand(args);
2165
2170
  if (typeof optionsOrCb === "function") {
2166
2171
  this.send(command, optionsOrCb);
2167
2172
  }
2168
2173
  else if (typeof cb === "function") {
2169
2174
  if (typeof optionsOrCb !== "object")
2170
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2175
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2171
2176
  this.send(command, optionsOrCb || {}, cb);
2172
2177
  }
2173
2178
  else {
2174
2179
  return this.send(command, optionsOrCb);
2175
2180
  }
2176
- }
2177
- updateGroup(args, optionsOrCb, cb) {
2178
- const command = new UpdateGroupCommand(args);
2181
+ };
2182
+ IAM.prototype.updateGroup = function (args, optionsOrCb, cb) {
2183
+ var command = new UpdateGroupCommand(args);
2179
2184
  if (typeof optionsOrCb === "function") {
2180
2185
  this.send(command, optionsOrCb);
2181
2186
  }
2182
2187
  else if (typeof cb === "function") {
2183
2188
  if (typeof optionsOrCb !== "object")
2184
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2189
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2185
2190
  this.send(command, optionsOrCb || {}, cb);
2186
2191
  }
2187
2192
  else {
2188
2193
  return this.send(command, optionsOrCb);
2189
2194
  }
2190
- }
2191
- updateLoginProfile(args, optionsOrCb, cb) {
2192
- const command = new UpdateLoginProfileCommand(args);
2195
+ };
2196
+ IAM.prototype.updateLoginProfile = function (args, optionsOrCb, cb) {
2197
+ var command = new UpdateLoginProfileCommand(args);
2193
2198
  if (typeof optionsOrCb === "function") {
2194
2199
  this.send(command, optionsOrCb);
2195
2200
  }
2196
2201
  else if (typeof cb === "function") {
2197
2202
  if (typeof optionsOrCb !== "object")
2198
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2203
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2199
2204
  this.send(command, optionsOrCb || {}, cb);
2200
2205
  }
2201
2206
  else {
2202
2207
  return this.send(command, optionsOrCb);
2203
2208
  }
2204
- }
2205
- updateOpenIDConnectProviderThumbprint(args, optionsOrCb, cb) {
2206
- const command = new UpdateOpenIDConnectProviderThumbprintCommand(args);
2209
+ };
2210
+ IAM.prototype.updateOpenIDConnectProviderThumbprint = function (args, optionsOrCb, cb) {
2211
+ var command = new UpdateOpenIDConnectProviderThumbprintCommand(args);
2207
2212
  if (typeof optionsOrCb === "function") {
2208
2213
  this.send(command, optionsOrCb);
2209
2214
  }
2210
2215
  else if (typeof cb === "function") {
2211
2216
  if (typeof optionsOrCb !== "object")
2212
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2217
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2213
2218
  this.send(command, optionsOrCb || {}, cb);
2214
2219
  }
2215
2220
  else {
2216
2221
  return this.send(command, optionsOrCb);
2217
2222
  }
2218
- }
2219
- updateRole(args, optionsOrCb, cb) {
2220
- const command = new UpdateRoleCommand(args);
2223
+ };
2224
+ IAM.prototype.updateRole = function (args, optionsOrCb, cb) {
2225
+ var command = new UpdateRoleCommand(args);
2221
2226
  if (typeof optionsOrCb === "function") {
2222
2227
  this.send(command, optionsOrCb);
2223
2228
  }
2224
2229
  else if (typeof cb === "function") {
2225
2230
  if (typeof optionsOrCb !== "object")
2226
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2231
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2227
2232
  this.send(command, optionsOrCb || {}, cb);
2228
2233
  }
2229
2234
  else {
2230
2235
  return this.send(command, optionsOrCb);
2231
2236
  }
2232
- }
2233
- updateRoleDescription(args, optionsOrCb, cb) {
2234
- const command = new UpdateRoleDescriptionCommand(args);
2237
+ };
2238
+ IAM.prototype.updateRoleDescription = function (args, optionsOrCb, cb) {
2239
+ var command = new UpdateRoleDescriptionCommand(args);
2235
2240
  if (typeof optionsOrCb === "function") {
2236
2241
  this.send(command, optionsOrCb);
2237
2242
  }
2238
2243
  else if (typeof cb === "function") {
2239
2244
  if (typeof optionsOrCb !== "object")
2240
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2245
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2241
2246
  this.send(command, optionsOrCb || {}, cb);
2242
2247
  }
2243
2248
  else {
2244
2249
  return this.send(command, optionsOrCb);
2245
2250
  }
2246
- }
2247
- updateSAMLProvider(args, optionsOrCb, cb) {
2248
- const command = new UpdateSAMLProviderCommand(args);
2251
+ };
2252
+ IAM.prototype.updateSAMLProvider = function (args, optionsOrCb, cb) {
2253
+ var command = new UpdateSAMLProviderCommand(args);
2249
2254
  if (typeof optionsOrCb === "function") {
2250
2255
  this.send(command, optionsOrCb);
2251
2256
  }
2252
2257
  else if (typeof cb === "function") {
2253
2258
  if (typeof optionsOrCb !== "object")
2254
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2259
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2255
2260
  this.send(command, optionsOrCb || {}, cb);
2256
2261
  }
2257
2262
  else {
2258
2263
  return this.send(command, optionsOrCb);
2259
2264
  }
2260
- }
2261
- updateServerCertificate(args, optionsOrCb, cb) {
2262
- const command = new UpdateServerCertificateCommand(args);
2265
+ };
2266
+ IAM.prototype.updateServerCertificate = function (args, optionsOrCb, cb) {
2267
+ var command = new UpdateServerCertificateCommand(args);
2263
2268
  if (typeof optionsOrCb === "function") {
2264
2269
  this.send(command, optionsOrCb);
2265
2270
  }
2266
2271
  else if (typeof cb === "function") {
2267
2272
  if (typeof optionsOrCb !== "object")
2268
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2273
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2269
2274
  this.send(command, optionsOrCb || {}, cb);
2270
2275
  }
2271
2276
  else {
2272
2277
  return this.send(command, optionsOrCb);
2273
2278
  }
2274
- }
2275
- updateServiceSpecificCredential(args, optionsOrCb, cb) {
2276
- const command = new UpdateServiceSpecificCredentialCommand(args);
2279
+ };
2280
+ IAM.prototype.updateServiceSpecificCredential = function (args, optionsOrCb, cb) {
2281
+ var command = new UpdateServiceSpecificCredentialCommand(args);
2277
2282
  if (typeof optionsOrCb === "function") {
2278
2283
  this.send(command, optionsOrCb);
2279
2284
  }
2280
2285
  else if (typeof cb === "function") {
2281
2286
  if (typeof optionsOrCb !== "object")
2282
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2287
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2283
2288
  this.send(command, optionsOrCb || {}, cb);
2284
2289
  }
2285
2290
  else {
2286
2291
  return this.send(command, optionsOrCb);
2287
2292
  }
2288
- }
2289
- updateSigningCertificate(args, optionsOrCb, cb) {
2290
- const command = new UpdateSigningCertificateCommand(args);
2293
+ };
2294
+ IAM.prototype.updateSigningCertificate = function (args, optionsOrCb, cb) {
2295
+ var command = new UpdateSigningCertificateCommand(args);
2291
2296
  if (typeof optionsOrCb === "function") {
2292
2297
  this.send(command, optionsOrCb);
2293
2298
  }
2294
2299
  else if (typeof cb === "function") {
2295
2300
  if (typeof optionsOrCb !== "object")
2296
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2301
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2297
2302
  this.send(command, optionsOrCb || {}, cb);
2298
2303
  }
2299
2304
  else {
2300
2305
  return this.send(command, optionsOrCb);
2301
2306
  }
2302
- }
2303
- updateSSHPublicKey(args, optionsOrCb, cb) {
2304
- const command = new UpdateSSHPublicKeyCommand(args);
2307
+ };
2308
+ IAM.prototype.updateSSHPublicKey = function (args, optionsOrCb, cb) {
2309
+ var command = new UpdateSSHPublicKeyCommand(args);
2305
2310
  if (typeof optionsOrCb === "function") {
2306
2311
  this.send(command, optionsOrCb);
2307
2312
  }
2308
2313
  else if (typeof cb === "function") {
2309
2314
  if (typeof optionsOrCb !== "object")
2310
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2315
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2311
2316
  this.send(command, optionsOrCb || {}, cb);
2312
2317
  }
2313
2318
  else {
2314
2319
  return this.send(command, optionsOrCb);
2315
2320
  }
2316
- }
2317
- updateUser(args, optionsOrCb, cb) {
2318
- const command = new UpdateUserCommand(args);
2321
+ };
2322
+ IAM.prototype.updateUser = function (args, optionsOrCb, cb) {
2323
+ var command = new UpdateUserCommand(args);
2319
2324
  if (typeof optionsOrCb === "function") {
2320
2325
  this.send(command, optionsOrCb);
2321
2326
  }
2322
2327
  else if (typeof cb === "function") {
2323
2328
  if (typeof optionsOrCb !== "object")
2324
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2329
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2325
2330
  this.send(command, optionsOrCb || {}, cb);
2326
2331
  }
2327
2332
  else {
2328
2333
  return this.send(command, optionsOrCb);
2329
2334
  }
2330
- }
2331
- uploadServerCertificate(args, optionsOrCb, cb) {
2332
- const command = new UploadServerCertificateCommand(args);
2335
+ };
2336
+ IAM.prototype.uploadServerCertificate = function (args, optionsOrCb, cb) {
2337
+ var command = new UploadServerCertificateCommand(args);
2333
2338
  if (typeof optionsOrCb === "function") {
2334
2339
  this.send(command, optionsOrCb);
2335
2340
  }
2336
2341
  else if (typeof cb === "function") {
2337
2342
  if (typeof optionsOrCb !== "object")
2338
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2343
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2339
2344
  this.send(command, optionsOrCb || {}, cb);
2340
2345
  }
2341
2346
  else {
2342
2347
  return this.send(command, optionsOrCb);
2343
2348
  }
2344
- }
2345
- uploadSigningCertificate(args, optionsOrCb, cb) {
2346
- const command = new UploadSigningCertificateCommand(args);
2349
+ };
2350
+ IAM.prototype.uploadSigningCertificate = function (args, optionsOrCb, cb) {
2351
+ var command = new UploadSigningCertificateCommand(args);
2347
2352
  if (typeof optionsOrCb === "function") {
2348
2353
  this.send(command, optionsOrCb);
2349
2354
  }
2350
2355
  else if (typeof cb === "function") {
2351
2356
  if (typeof optionsOrCb !== "object")
2352
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2357
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2353
2358
  this.send(command, optionsOrCb || {}, cb);
2354
2359
  }
2355
2360
  else {
2356
2361
  return this.send(command, optionsOrCb);
2357
2362
  }
2358
- }
2359
- uploadSSHPublicKey(args, optionsOrCb, cb) {
2360
- const command = new UploadSSHPublicKeyCommand(args);
2363
+ };
2364
+ IAM.prototype.uploadSSHPublicKey = function (args, optionsOrCb, cb) {
2365
+ var command = new UploadSSHPublicKeyCommand(args);
2361
2366
  if (typeof optionsOrCb === "function") {
2362
2367
  this.send(command, optionsOrCb);
2363
2368
  }
2364
2369
  else if (typeof cb === "function") {
2365
2370
  if (typeof optionsOrCb !== "object")
2366
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2371
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2367
2372
  this.send(command, optionsOrCb || {}, cb);
2368
2373
  }
2369
2374
  else {
2370
2375
  return this.send(command, optionsOrCb);
2371
2376
  }
2372
- }
2373
- }
2377
+ };
2378
+ return IAM;
2379
+ }(IAMClient));
2380
+ export { IAM };