@effect-aws/client-iam 1.10.6 → 1.10.7

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/src/IAMService.ts CHANGED
@@ -2,6 +2,9 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import {
5
+ AcceptDelegationRequestCommand,
6
+ type AcceptDelegationRequestCommandInput,
7
+ type AcceptDelegationRequestCommandOutput,
5
8
  AddClientIDToOpenIDConnectProviderCommand,
6
9
  type AddClientIDToOpenIDConnectProviderCommandInput,
7
10
  type AddClientIDToOpenIDConnectProviderCommandOutput,
@@ -11,6 +14,9 @@ import {
11
14
  AddUserToGroupCommand,
12
15
  type AddUserToGroupCommandInput,
13
16
  type AddUserToGroupCommandOutput,
17
+ AssociateDelegationRequestCommand,
18
+ type AssociateDelegationRequestCommandInput,
19
+ type AssociateDelegationRequestCommandOutput,
14
20
  AttachGroupPolicyCommand,
15
21
  type AttachGroupPolicyCommandInput,
16
22
  type AttachGroupPolicyCommandOutput,
@@ -29,6 +35,9 @@ import {
29
35
  CreateAccountAliasCommand,
30
36
  type CreateAccountAliasCommandInput,
31
37
  type CreateAccountAliasCommandOutput,
38
+ CreateDelegationRequestCommand,
39
+ type CreateDelegationRequestCommandInput,
40
+ type CreateDelegationRequestCommandOutput,
32
41
  CreateGroupCommand,
33
42
  type CreateGroupCommandInput,
34
43
  type CreateGroupCommandOutput,
@@ -152,6 +161,9 @@ import {
152
161
  DisableOrganizationsRootSessionsCommand,
153
162
  type DisableOrganizationsRootSessionsCommandInput,
154
163
  type DisableOrganizationsRootSessionsCommandOutput,
164
+ DisableOutboundWebIdentityFederationCommand,
165
+ type DisableOutboundWebIdentityFederationCommandInput,
166
+ type DisableOutboundWebIdentityFederationCommandOutput,
155
167
  EnableMFADeviceCommand,
156
168
  type EnableMFADeviceCommandInput,
157
169
  type EnableMFADeviceCommandOutput,
@@ -161,6 +173,9 @@ import {
161
173
  EnableOrganizationsRootSessionsCommand,
162
174
  type EnableOrganizationsRootSessionsCommandInput,
163
175
  type EnableOrganizationsRootSessionsCommandOutput,
176
+ EnableOutboundWebIdentityFederationCommand,
177
+ type EnableOutboundWebIdentityFederationCommandInput,
178
+ type EnableOutboundWebIdentityFederationCommandOutput,
164
179
  GenerateCredentialReportCommand,
165
180
  type GenerateCredentialReportCommandInput,
166
181
  type GenerateCredentialReportCommandOutput,
@@ -191,12 +206,18 @@ import {
191
206
  GetCredentialReportCommand,
192
207
  type GetCredentialReportCommandInput,
193
208
  type GetCredentialReportCommandOutput,
209
+ GetDelegationRequestCommand,
210
+ type GetDelegationRequestCommandInput,
211
+ type GetDelegationRequestCommandOutput,
194
212
  GetGroupCommand,
195
213
  type GetGroupCommandInput,
196
214
  type GetGroupCommandOutput,
197
215
  GetGroupPolicyCommand,
198
216
  type GetGroupPolicyCommandInput,
199
217
  type GetGroupPolicyCommandOutput,
218
+ GetHumanReadableSummaryCommand,
219
+ type GetHumanReadableSummaryCommandInput,
220
+ type GetHumanReadableSummaryCommandOutput,
200
221
  GetInstanceProfileCommand,
201
222
  type GetInstanceProfileCommandInput,
202
223
  type GetInstanceProfileCommandOutput,
@@ -212,6 +233,9 @@ import {
212
233
  GetOrganizationsAccessReportCommand,
213
234
  type GetOrganizationsAccessReportCommandInput,
214
235
  type GetOrganizationsAccessReportCommandOutput,
236
+ GetOutboundWebIdentityFederationInfoCommand,
237
+ type GetOutboundWebIdentityFederationInfoCommandInput,
238
+ type GetOutboundWebIdentityFederationInfoCommandOutput,
215
239
  GetPolicyCommand,
216
240
  type GetPolicyCommandInput,
217
241
  type GetPolicyCommandOutput,
@@ -265,6 +289,9 @@ import {
265
289
  ListAttachedUserPoliciesCommand,
266
290
  type ListAttachedUserPoliciesCommandInput,
267
291
  type ListAttachedUserPoliciesCommandOutput,
292
+ ListDelegationRequestsCommand,
293
+ type ListDelegationRequestsCommandInput,
294
+ type ListDelegationRequestsCommandOutput,
268
295
  ListEntitiesForPolicyCommand,
269
296
  type ListEntitiesForPolicyCommandInput,
270
297
  type ListEntitiesForPolicyCommandOutput,
@@ -370,6 +397,9 @@ import {
370
397
  PutUserPolicyCommand,
371
398
  type PutUserPolicyCommandInput,
372
399
  type PutUserPolicyCommandOutput,
400
+ RejectDelegationRequestCommand,
401
+ type RejectDelegationRequestCommandInput,
402
+ type RejectDelegationRequestCommandOutput,
373
403
  RemoveClientIDFromOpenIDConnectProviderCommand,
374
404
  type RemoveClientIDFromOpenIDConnectProviderCommandInput,
375
405
  type RemoveClientIDFromOpenIDConnectProviderCommandOutput,
@@ -385,6 +415,9 @@ import {
385
415
  ResyncMFADeviceCommand,
386
416
  type ResyncMFADeviceCommandInput,
387
417
  type ResyncMFADeviceCommandOutput,
418
+ SendDelegationTokenCommand,
419
+ type SendDelegationTokenCommandInput,
420
+ type SendDelegationTokenCommandOutput,
388
421
  SetDefaultPolicyVersionCommand,
389
422
  type SetDefaultPolicyVersionCommandInput,
390
423
  type SetDefaultPolicyVersionCommandOutput,
@@ -454,6 +487,9 @@ import {
454
487
  UpdateAssumeRolePolicyCommand,
455
488
  type UpdateAssumeRolePolicyCommandInput,
456
489
  type UpdateAssumeRolePolicyCommandOutput,
490
+ UpdateDelegationRequestCommand,
491
+ type UpdateDelegationRequestCommandInput,
492
+ type UpdateDelegationRequestCommandOutput,
457
493
  UpdateGroupCommand,
458
494
  type UpdateGroupCommandInput,
459
495
  type UpdateGroupCommandOutput,
@@ -513,6 +549,8 @@ import type {
513
549
  DuplicateSSHPublicKeyError,
514
550
  EntityAlreadyExistsError,
515
551
  EntityTemporarilyUnmodifiableError,
552
+ FeatureDisabledError,
553
+ FeatureEnabledError,
516
554
  InvalidAuthenticationCodeError,
517
555
  InvalidCertificateError,
518
556
  InvalidInputError,
@@ -542,15 +580,18 @@ import * as Instance from "./IAMClientInstance.js";
542
580
  import * as IAMServiceConfig from "./IAMServiceConfig.js";
543
581
 
544
582
  const commands = {
583
+ AcceptDelegationRequestCommand,
545
584
  AddClientIDToOpenIDConnectProviderCommand,
546
585
  AddRoleToInstanceProfileCommand,
547
586
  AddUserToGroupCommand,
587
+ AssociateDelegationRequestCommand,
548
588
  AttachGroupPolicyCommand,
549
589
  AttachRolePolicyCommand,
550
590
  AttachUserPolicyCommand,
551
591
  ChangePasswordCommand,
552
592
  CreateAccessKeyCommand,
553
593
  CreateAccountAliasCommand,
594
+ CreateDelegationRequestCommand,
554
595
  CreateGroupCommand,
555
596
  CreateInstanceProfileCommand,
556
597
  CreateLoginProfileCommand,
@@ -592,9 +633,11 @@ const commands = {
592
633
  DetachUserPolicyCommand,
593
634
  DisableOrganizationsRootCredentialsManagementCommand,
594
635
  DisableOrganizationsRootSessionsCommand,
636
+ DisableOutboundWebIdentityFederationCommand,
595
637
  EnableMFADeviceCommand,
596
638
  EnableOrganizationsRootCredentialsManagementCommand,
597
639
  EnableOrganizationsRootSessionsCommand,
640
+ EnableOutboundWebIdentityFederationCommand,
598
641
  GenerateCredentialReportCommand,
599
642
  GenerateOrganizationsAccessReportCommand,
600
643
  GenerateServiceLastAccessedDetailsCommand,
@@ -605,13 +648,16 @@ const commands = {
605
648
  GetContextKeysForCustomPolicyCommand,
606
649
  GetContextKeysForPrincipalPolicyCommand,
607
650
  GetCredentialReportCommand,
651
+ GetDelegationRequestCommand,
608
652
  GetGroupCommand,
609
653
  GetGroupPolicyCommand,
654
+ GetHumanReadableSummaryCommand,
610
655
  GetInstanceProfileCommand,
611
656
  GetLoginProfileCommand,
612
657
  GetMFADeviceCommand,
613
658
  GetOpenIDConnectProviderCommand,
614
659
  GetOrganizationsAccessReportCommand,
660
+ GetOutboundWebIdentityFederationInfoCommand,
615
661
  GetPolicyCommand,
616
662
  GetPolicyVersionCommand,
617
663
  GetRoleCommand,
@@ -629,6 +675,7 @@ const commands = {
629
675
  ListAttachedGroupPoliciesCommand,
630
676
  ListAttachedRolePoliciesCommand,
631
677
  ListAttachedUserPoliciesCommand,
678
+ ListDelegationRequestsCommand,
632
679
  ListEntitiesForPolicyCommand,
633
680
  ListGroupPoliciesCommand,
634
681
  ListGroupsCommand,
@@ -664,11 +711,13 @@ const commands = {
664
711
  PutRolePolicyCommand,
665
712
  PutUserPermissionsBoundaryCommand,
666
713
  PutUserPolicyCommand,
714
+ RejectDelegationRequestCommand,
667
715
  RemoveClientIDFromOpenIDConnectProviderCommand,
668
716
  RemoveRoleFromInstanceProfileCommand,
669
717
  RemoveUserFromGroupCommand,
670
718
  ResetServiceSpecificCredentialCommand,
671
719
  ResyncMFADeviceCommand,
720
+ SendDelegationTokenCommand,
672
721
  SetDefaultPolicyVersionCommand,
673
722
  SetSecurityTokenServicePreferencesCommand,
674
723
  SimulateCustomPolicyCommand,
@@ -692,6 +741,7 @@ const commands = {
692
741
  UpdateAccessKeyCommand,
693
742
  UpdateAccountPasswordPolicyCommand,
694
743
  UpdateAssumeRolePolicyCommand,
744
+ UpdateDelegationRequestCommand,
695
745
  UpdateGroupCommand,
696
746
  UpdateLoginProfileCommand,
697
747
  UpdateOpenIDConnectProviderThumbprintCommand,
@@ -711,6 +761,17 @@ const commands = {
711
761
  interface IAMService$ {
712
762
  readonly _: unique symbol;
713
763
 
764
+ /**
765
+ * @see {@link AcceptDelegationRequestCommand}
766
+ */
767
+ acceptDelegationRequest(
768
+ args: AcceptDelegationRequestCommandInput,
769
+ options?: HttpHandlerOptions,
770
+ ): Effect.Effect<
771
+ AcceptDelegationRequestCommandOutput,
772
+ Cause.TimeoutException | SdkError | ConcurrentModificationError | NoSuchEntityError | ServiceFailureError
773
+ >;
774
+
714
775
  /**
715
776
  * @see {@link AddClientIDToOpenIDConnectProviderCommand}
716
777
  */
@@ -756,6 +817,22 @@ interface IAMService$ {
756
817
  Cause.TimeoutException | SdkError | LimitExceededError | NoSuchEntityError | ServiceFailureError
757
818
  >;
758
819
 
820
+ /**
821
+ * @see {@link AssociateDelegationRequestCommand}
822
+ */
823
+ associateDelegationRequest(
824
+ args: AssociateDelegationRequestCommandInput,
825
+ options?: HttpHandlerOptions,
826
+ ): Effect.Effect<
827
+ AssociateDelegationRequestCommandOutput,
828
+ | Cause.TimeoutException
829
+ | SdkError
830
+ | ConcurrentModificationError
831
+ | InvalidInputError
832
+ | NoSuchEntityError
833
+ | ServiceFailureError
834
+ >;
835
+
759
836
  /**
760
837
  * @see {@link AttachGroupPolicyCommand}
761
838
  */
@@ -853,6 +930,23 @@ interface IAMService$ {
853
930
  | ServiceFailureError
854
931
  >;
855
932
 
933
+ /**
934
+ * @see {@link CreateDelegationRequestCommand}
935
+ */
936
+ createDelegationRequest(
937
+ args: CreateDelegationRequestCommandInput,
938
+ options?: HttpHandlerOptions,
939
+ ): Effect.Effect<
940
+ CreateDelegationRequestCommandOutput,
941
+ | Cause.TimeoutException
942
+ | SdkError
943
+ | ConcurrentModificationError
944
+ | EntityAlreadyExistsError
945
+ | InvalidInputError
946
+ | LimitExceededError
947
+ | ServiceFailureError
948
+ >;
949
+
856
950
  /**
857
951
  * @see {@link CreateGroupCommand}
858
952
  */
@@ -1455,6 +1549,17 @@ interface IAMService$ {
1455
1549
  | ServiceAccessNotEnabledError
1456
1550
  >;
1457
1551
 
1552
+ /**
1553
+ * @see {@link DisableOutboundWebIdentityFederationCommand}
1554
+ */
1555
+ disableOutboundWebIdentityFederation(
1556
+ args: DisableOutboundWebIdentityFederationCommandInput,
1557
+ options?: HttpHandlerOptions,
1558
+ ): Effect.Effect<
1559
+ DisableOutboundWebIdentityFederationCommandOutput,
1560
+ Cause.TimeoutException | SdkError | FeatureDisabledError
1561
+ >;
1562
+
1458
1563
  /**
1459
1564
  * @see {@link EnableMFADeviceCommand}
1460
1565
  */
@@ -1508,6 +1613,17 @@ interface IAMService$ {
1508
1613
  | ServiceAccessNotEnabledError
1509
1614
  >;
1510
1615
 
1616
+ /**
1617
+ * @see {@link EnableOutboundWebIdentityFederationCommand}
1618
+ */
1619
+ enableOutboundWebIdentityFederation(
1620
+ args: EnableOutboundWebIdentityFederationCommandInput,
1621
+ options?: HttpHandlerOptions,
1622
+ ): Effect.Effect<
1623
+ EnableOutboundWebIdentityFederationCommandOutput,
1624
+ Cause.TimeoutException | SdkError | FeatureEnabledError
1625
+ >;
1626
+
1511
1627
  /**
1512
1628
  * @see {@link GenerateCredentialReportCommand}
1513
1629
  */
@@ -1623,6 +1739,17 @@ interface IAMService$ {
1623
1739
  | ServiceFailureError
1624
1740
  >;
1625
1741
 
1742
+ /**
1743
+ * @see {@link GetDelegationRequestCommand}
1744
+ */
1745
+ getDelegationRequest(
1746
+ args: GetDelegationRequestCommandInput,
1747
+ options?: HttpHandlerOptions,
1748
+ ): Effect.Effect<
1749
+ GetDelegationRequestCommandOutput,
1750
+ Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
1751
+ >;
1752
+
1626
1753
  /**
1627
1754
  * @see {@link GetGroupCommand}
1628
1755
  */
@@ -1645,6 +1772,17 @@ interface IAMService$ {
1645
1772
  Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
1646
1773
  >;
1647
1774
 
1775
+ /**
1776
+ * @see {@link GetHumanReadableSummaryCommand}
1777
+ */
1778
+ getHumanReadableSummary(
1779
+ args: GetHumanReadableSummaryCommandInput,
1780
+ options?: HttpHandlerOptions,
1781
+ ): Effect.Effect<
1782
+ GetHumanReadableSummaryCommandOutput,
1783
+ Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
1784
+ >;
1785
+
1648
1786
  /**
1649
1787
  * @see {@link GetInstanceProfileCommand}
1650
1788
  */
@@ -1700,6 +1838,17 @@ interface IAMService$ {
1700
1838
  Cause.TimeoutException | SdkError | NoSuchEntityError
1701
1839
  >;
1702
1840
 
1841
+ /**
1842
+ * @see {@link GetOutboundWebIdentityFederationInfoCommand}
1843
+ */
1844
+ getOutboundWebIdentityFederationInfo(
1845
+ args: GetOutboundWebIdentityFederationInfoCommandInput,
1846
+ options?: HttpHandlerOptions,
1847
+ ): Effect.Effect<
1848
+ GetOutboundWebIdentityFederationInfoCommandOutput,
1849
+ Cause.TimeoutException | SdkError | FeatureDisabledError
1850
+ >;
1851
+
1703
1852
  /**
1704
1853
  * @see {@link GetPolicyCommand}
1705
1854
  */
@@ -1887,6 +2036,17 @@ interface IAMService$ {
1887
2036
  Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
1888
2037
  >;
1889
2038
 
2039
+ /**
2040
+ * @see {@link ListDelegationRequestsCommand}
2041
+ */
2042
+ listDelegationRequests(
2043
+ args: ListDelegationRequestsCommandInput,
2044
+ options?: HttpHandlerOptions,
2045
+ ): Effect.Effect<
2046
+ ListDelegationRequestsCommandOutput,
2047
+ Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
2048
+ >;
2049
+
1890
2050
  /**
1891
2051
  * @see {@link ListEntitiesForPolicyCommand}
1892
2052
  */
@@ -2304,6 +2464,22 @@ interface IAMService$ {
2304
2464
  | ServiceFailureError
2305
2465
  >;
2306
2466
 
2467
+ /**
2468
+ * @see {@link RejectDelegationRequestCommand}
2469
+ */
2470
+ rejectDelegationRequest(
2471
+ args: RejectDelegationRequestCommandInput,
2472
+ options?: HttpHandlerOptions,
2473
+ ): Effect.Effect<
2474
+ RejectDelegationRequestCommandOutput,
2475
+ | Cause.TimeoutException
2476
+ | SdkError
2477
+ | ConcurrentModificationError
2478
+ | InvalidInputError
2479
+ | NoSuchEntityError
2480
+ | ServiceFailureError
2481
+ >;
2482
+
2307
2483
  /**
2308
2484
  * @see {@link RemoveClientIDFromOpenIDConnectProviderCommand}
2309
2485
  */
@@ -2375,6 +2551,22 @@ interface IAMService$ {
2375
2551
  | ServiceFailureError
2376
2552
  >;
2377
2553
 
2554
+ /**
2555
+ * @see {@link SendDelegationTokenCommand}
2556
+ */
2557
+ sendDelegationToken(
2558
+ args: SendDelegationTokenCommandInput,
2559
+ options?: HttpHandlerOptions,
2560
+ ): Effect.Effect<
2561
+ SendDelegationTokenCommandOutput,
2562
+ | Cause.TimeoutException
2563
+ | SdkError
2564
+ | ConcurrentModificationError
2565
+ | InvalidInputError
2566
+ | NoSuchEntityError
2567
+ | ServiceFailureError
2568
+ >;
2569
+
2378
2570
  /**
2379
2571
  * @see {@link SetDefaultPolicyVersionCommand}
2380
2572
  */
@@ -2717,6 +2909,22 @@ interface IAMService$ {
2717
2909
  | UnmodifiableEntityError
2718
2910
  >;
2719
2911
 
2912
+ /**
2913
+ * @see {@link UpdateDelegationRequestCommand}
2914
+ */
2915
+ updateDelegationRequest(
2916
+ args: UpdateDelegationRequestCommandInput,
2917
+ options?: HttpHandlerOptions,
2918
+ ): Effect.Effect<
2919
+ UpdateDelegationRequestCommandOutput,
2920
+ | Cause.TimeoutException
2921
+ | SdkError
2922
+ | ConcurrentModificationError
2923
+ | InvalidInputError
2924
+ | NoSuchEntityError
2925
+ | ServiceFailureError
2926
+ >;
2927
+
2720
2928
  /**
2721
2929
  * @see {@link UpdateGroupCommand}
2722
2930
  */