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