@effect-aws/client-iam 1.10.9 → 1.11.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/Errors.d.ts +1 -1
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/IAMClientInstance.d.ts +3 -1
- package/dist/cjs/IAMClientInstance.d.ts.map +1 -1
- package/dist/cjs/IAMClientInstance.js +6 -4
- package/dist/cjs/IAMClientInstance.js.map +1 -1
- package/dist/cjs/IAMService.d.ts +40 -3
- package/dist/cjs/IAMService.d.ts.map +1 -1
- package/dist/cjs/IAMService.js +46 -9
- package/dist/cjs/IAMService.js.map +1 -1
- package/dist/cjs/IAMServiceConfig.d.ts +2 -1
- package/dist/cjs/IAMServiceConfig.d.ts.map +1 -1
- package/dist/cjs/IAMServiceConfig.js +34 -9
- package/dist/cjs/IAMServiceConfig.js.map +1 -1
- package/dist/dts/Errors.d.ts +1 -1
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/IAMClientInstance.d.ts +3 -1
- package/dist/dts/IAMClientInstance.d.ts.map +1 -1
- package/dist/dts/IAMService.d.ts +40 -3
- package/dist/dts/IAMService.d.ts.map +1 -1
- package/dist/dts/IAMServiceConfig.d.ts +2 -1
- package/dist/dts/IAMServiceConfig.d.ts.map +1 -1
- package/dist/esm/IAMClientInstance.js +3 -1
- package/dist/esm/IAMClientInstance.js.map +1 -1
- package/dist/esm/IAMService.js +41 -4
- package/dist/esm/IAMService.js.map +1 -1
- package/dist/esm/IAMServiceConfig.js +4 -2
- package/dist/esm/IAMServiceConfig.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -1
- package/src/IAMClientInstance.ts +3 -1
- package/src/IAMService.ts +321 -4
- package/src/IAMServiceConfig.ts +4 -2
package/src/IAMService.ts
CHANGED
|
@@ -382,6 +382,40 @@ import {
|
|
|
382
382
|
ListVirtualMFADevicesCommand,
|
|
383
383
|
type ListVirtualMFADevicesCommandInput,
|
|
384
384
|
type ListVirtualMFADevicesCommandOutput,
|
|
385
|
+
paginateGetAccountAuthorizationDetails,
|
|
386
|
+
paginateGetGroup,
|
|
387
|
+
paginateListAccessKeys,
|
|
388
|
+
paginateListAccountAliases,
|
|
389
|
+
paginateListAttachedGroupPolicies,
|
|
390
|
+
paginateListAttachedRolePolicies,
|
|
391
|
+
paginateListAttachedUserPolicies,
|
|
392
|
+
paginateListEntitiesForPolicy,
|
|
393
|
+
paginateListGroupPolicies,
|
|
394
|
+
paginateListGroups,
|
|
395
|
+
paginateListGroupsForUser,
|
|
396
|
+
paginateListInstanceProfiles,
|
|
397
|
+
paginateListInstanceProfilesForRole,
|
|
398
|
+
paginateListInstanceProfileTags,
|
|
399
|
+
paginateListMFADevices,
|
|
400
|
+
paginateListMFADeviceTags,
|
|
401
|
+
paginateListOpenIDConnectProviderTags,
|
|
402
|
+
paginateListPolicies,
|
|
403
|
+
paginateListPolicyTags,
|
|
404
|
+
paginateListPolicyVersions,
|
|
405
|
+
paginateListRolePolicies,
|
|
406
|
+
paginateListRoles,
|
|
407
|
+
paginateListRoleTags,
|
|
408
|
+
paginateListSAMLProviderTags,
|
|
409
|
+
paginateListServerCertificates,
|
|
410
|
+
paginateListServerCertificateTags,
|
|
411
|
+
paginateListSigningCertificates,
|
|
412
|
+
paginateListSSHPublicKeys,
|
|
413
|
+
paginateListUserPolicies,
|
|
414
|
+
paginateListUsers,
|
|
415
|
+
paginateListUserTags,
|
|
416
|
+
paginateListVirtualMFADevices,
|
|
417
|
+
paginateSimulateCustomPolicy,
|
|
418
|
+
paginateSimulatePrincipalPolicy,
|
|
385
419
|
PutGroupPolicyCommand,
|
|
386
420
|
type PutGroupPolicyCommandInput,
|
|
387
421
|
type PutGroupPolicyCommandOutput,
|
|
@@ -533,10 +567,13 @@ import {
|
|
|
533
567
|
type UploadSSHPublicKeyCommandInput,
|
|
534
568
|
type UploadSSHPublicKeyCommandOutput,
|
|
535
569
|
} from "@aws-sdk/client-iam";
|
|
536
|
-
import
|
|
537
|
-
import
|
|
538
|
-
import type {
|
|
539
|
-
import
|
|
570
|
+
import * as Service from "@effect-aws/commons/Service";
|
|
571
|
+
import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
572
|
+
import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
|
|
573
|
+
import type * as Cause from "effect/Cause";
|
|
574
|
+
import * as Effect from "effect/Effect";
|
|
575
|
+
import * as Layer from "effect/Layer";
|
|
576
|
+
import type * as Stream from "effect/Stream";
|
|
540
577
|
import type {
|
|
541
578
|
AccountNotManagementOrDelegatedAdministratorError,
|
|
542
579
|
CallerIsNotManagementAccountError,
|
|
@@ -758,6 +795,43 @@ const commands = {
|
|
|
758
795
|
UploadSigningCertificateCommand,
|
|
759
796
|
};
|
|
760
797
|
|
|
798
|
+
const paginators = {
|
|
799
|
+
paginateGetAccountAuthorizationDetails,
|
|
800
|
+
paginateGetGroup,
|
|
801
|
+
paginateListAccessKeys,
|
|
802
|
+
paginateListAccountAliases,
|
|
803
|
+
paginateListAttachedGroupPolicies,
|
|
804
|
+
paginateListAttachedRolePolicies,
|
|
805
|
+
paginateListAttachedUserPolicies,
|
|
806
|
+
paginateListEntitiesForPolicy,
|
|
807
|
+
paginateListGroupPolicies,
|
|
808
|
+
paginateListGroups,
|
|
809
|
+
paginateListGroupsForUser,
|
|
810
|
+
paginateListInstanceProfileTags,
|
|
811
|
+
paginateListInstanceProfiles,
|
|
812
|
+
paginateListInstanceProfilesForRole,
|
|
813
|
+
paginateListMFADeviceTags,
|
|
814
|
+
paginateListMFADevices,
|
|
815
|
+
paginateListOpenIDConnectProviderTags,
|
|
816
|
+
paginateListPolicies,
|
|
817
|
+
paginateListPolicyTags,
|
|
818
|
+
paginateListPolicyVersions,
|
|
819
|
+
paginateListRolePolicies,
|
|
820
|
+
paginateListRoleTags,
|
|
821
|
+
paginateListRoles,
|
|
822
|
+
paginateListSAMLProviderTags,
|
|
823
|
+
paginateListSSHPublicKeys,
|
|
824
|
+
paginateListServerCertificateTags,
|
|
825
|
+
paginateListServerCertificates,
|
|
826
|
+
paginateListSigningCertificates,
|
|
827
|
+
paginateListUserPolicies,
|
|
828
|
+
paginateListUserTags,
|
|
829
|
+
paginateListUsers,
|
|
830
|
+
paginateListVirtualMFADevices,
|
|
831
|
+
paginateSimulateCustomPolicy,
|
|
832
|
+
paginateSimulatePrincipalPolicy,
|
|
833
|
+
};
|
|
834
|
+
|
|
761
835
|
interface IAMService$ {
|
|
762
836
|
readonly _: unique symbol;
|
|
763
837
|
|
|
@@ -1679,6 +1753,14 @@ interface IAMService$ {
|
|
|
1679
1753
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
1680
1754
|
>;
|
|
1681
1755
|
|
|
1756
|
+
getAccountAuthorizationDetailsStream(
|
|
1757
|
+
args: GetAccountAuthorizationDetailsCommandInput,
|
|
1758
|
+
options?: HttpHandlerOptions,
|
|
1759
|
+
): Stream.Stream<
|
|
1760
|
+
GetAccountAuthorizationDetailsCommandOutput,
|
|
1761
|
+
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
1762
|
+
>;
|
|
1763
|
+
|
|
1682
1764
|
/**
|
|
1683
1765
|
* @see {@link GetAccountPasswordPolicyCommand}
|
|
1684
1766
|
*/
|
|
@@ -1761,6 +1843,11 @@ interface IAMService$ {
|
|
|
1761
1843
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
1762
1844
|
>;
|
|
1763
1845
|
|
|
1846
|
+
getGroupStream(
|
|
1847
|
+
args: GetGroupCommandInput,
|
|
1848
|
+
options?: HttpHandlerOptions,
|
|
1849
|
+
): Stream.Stream<GetGroupCommandOutput, Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError>;
|
|
1850
|
+
|
|
1764
1851
|
/**
|
|
1765
1852
|
* @see {@link GetGroupPolicyCommand}
|
|
1766
1853
|
*/
|
|
@@ -1992,6 +2079,14 @@ interface IAMService$ {
|
|
|
1992
2079
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
1993
2080
|
>;
|
|
1994
2081
|
|
|
2082
|
+
listAccessKeysStream(
|
|
2083
|
+
args: ListAccessKeysCommandInput,
|
|
2084
|
+
options?: HttpHandlerOptions,
|
|
2085
|
+
): Stream.Stream<
|
|
2086
|
+
ListAccessKeysCommandOutput,
|
|
2087
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2088
|
+
>;
|
|
2089
|
+
|
|
1995
2090
|
/**
|
|
1996
2091
|
* @see {@link ListAccountAliasesCommand}
|
|
1997
2092
|
*/
|
|
@@ -2003,6 +2098,11 @@ interface IAMService$ {
|
|
|
2003
2098
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2004
2099
|
>;
|
|
2005
2100
|
|
|
2101
|
+
listAccountAliasesStream(
|
|
2102
|
+
args: ListAccountAliasesCommandInput,
|
|
2103
|
+
options?: HttpHandlerOptions,
|
|
2104
|
+
): Stream.Stream<ListAccountAliasesCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2105
|
+
|
|
2006
2106
|
/**
|
|
2007
2107
|
* @see {@link ListAttachedGroupPoliciesCommand}
|
|
2008
2108
|
*/
|
|
@@ -2014,6 +2114,14 @@ interface IAMService$ {
|
|
|
2014
2114
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2015
2115
|
>;
|
|
2016
2116
|
|
|
2117
|
+
listAttachedGroupPoliciesStream(
|
|
2118
|
+
args: ListAttachedGroupPoliciesCommandInput,
|
|
2119
|
+
options?: HttpHandlerOptions,
|
|
2120
|
+
): Stream.Stream<
|
|
2121
|
+
ListAttachedGroupPoliciesCommandOutput,
|
|
2122
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2123
|
+
>;
|
|
2124
|
+
|
|
2017
2125
|
/**
|
|
2018
2126
|
* @see {@link ListAttachedRolePoliciesCommand}
|
|
2019
2127
|
*/
|
|
@@ -2025,6 +2133,14 @@ interface IAMService$ {
|
|
|
2025
2133
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2026
2134
|
>;
|
|
2027
2135
|
|
|
2136
|
+
listAttachedRolePoliciesStream(
|
|
2137
|
+
args: ListAttachedRolePoliciesCommandInput,
|
|
2138
|
+
options?: HttpHandlerOptions,
|
|
2139
|
+
): Stream.Stream<
|
|
2140
|
+
ListAttachedRolePoliciesCommandOutput,
|
|
2141
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2142
|
+
>;
|
|
2143
|
+
|
|
2028
2144
|
/**
|
|
2029
2145
|
* @see {@link ListAttachedUserPoliciesCommand}
|
|
2030
2146
|
*/
|
|
@@ -2036,6 +2152,14 @@ interface IAMService$ {
|
|
|
2036
2152
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2037
2153
|
>;
|
|
2038
2154
|
|
|
2155
|
+
listAttachedUserPoliciesStream(
|
|
2156
|
+
args: ListAttachedUserPoliciesCommandInput,
|
|
2157
|
+
options?: HttpHandlerOptions,
|
|
2158
|
+
): Stream.Stream<
|
|
2159
|
+
ListAttachedUserPoliciesCommandOutput,
|
|
2160
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2161
|
+
>;
|
|
2162
|
+
|
|
2039
2163
|
/**
|
|
2040
2164
|
* @see {@link ListDelegationRequestsCommand}
|
|
2041
2165
|
*/
|
|
@@ -2058,6 +2182,14 @@ interface IAMService$ {
|
|
|
2058
2182
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2059
2183
|
>;
|
|
2060
2184
|
|
|
2185
|
+
listEntitiesForPolicyStream(
|
|
2186
|
+
args: ListEntitiesForPolicyCommandInput,
|
|
2187
|
+
options?: HttpHandlerOptions,
|
|
2188
|
+
): Stream.Stream<
|
|
2189
|
+
ListEntitiesForPolicyCommandOutput,
|
|
2190
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2191
|
+
>;
|
|
2192
|
+
|
|
2061
2193
|
/**
|
|
2062
2194
|
* @see {@link ListGroupPoliciesCommand}
|
|
2063
2195
|
*/
|
|
@@ -2069,6 +2201,14 @@ interface IAMService$ {
|
|
|
2069
2201
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2070
2202
|
>;
|
|
2071
2203
|
|
|
2204
|
+
listGroupPoliciesStream(
|
|
2205
|
+
args: ListGroupPoliciesCommandInput,
|
|
2206
|
+
options?: HttpHandlerOptions,
|
|
2207
|
+
): Stream.Stream<
|
|
2208
|
+
ListGroupPoliciesCommandOutput,
|
|
2209
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2210
|
+
>;
|
|
2211
|
+
|
|
2072
2212
|
/**
|
|
2073
2213
|
* @see {@link ListGroupsCommand}
|
|
2074
2214
|
*/
|
|
@@ -2080,6 +2220,11 @@ interface IAMService$ {
|
|
|
2080
2220
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2081
2221
|
>;
|
|
2082
2222
|
|
|
2223
|
+
listGroupsStream(
|
|
2224
|
+
args: ListGroupsCommandInput,
|
|
2225
|
+
options?: HttpHandlerOptions,
|
|
2226
|
+
): Stream.Stream<ListGroupsCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2227
|
+
|
|
2083
2228
|
/**
|
|
2084
2229
|
* @see {@link ListGroupsForUserCommand}
|
|
2085
2230
|
*/
|
|
@@ -2091,6 +2236,14 @@ interface IAMService$ {
|
|
|
2091
2236
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2092
2237
|
>;
|
|
2093
2238
|
|
|
2239
|
+
listGroupsForUserStream(
|
|
2240
|
+
args: ListGroupsForUserCommandInput,
|
|
2241
|
+
options?: HttpHandlerOptions,
|
|
2242
|
+
): Stream.Stream<
|
|
2243
|
+
ListGroupsForUserCommandOutput,
|
|
2244
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2245
|
+
>;
|
|
2246
|
+
|
|
2094
2247
|
/**
|
|
2095
2248
|
* @see {@link ListInstanceProfileTagsCommand}
|
|
2096
2249
|
*/
|
|
@@ -2102,6 +2255,14 @@ interface IAMService$ {
|
|
|
2102
2255
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2103
2256
|
>;
|
|
2104
2257
|
|
|
2258
|
+
listInstanceProfileTagsStream(
|
|
2259
|
+
args: ListInstanceProfileTagsCommandInput,
|
|
2260
|
+
options?: HttpHandlerOptions,
|
|
2261
|
+
): Stream.Stream<
|
|
2262
|
+
ListInstanceProfileTagsCommandOutput,
|
|
2263
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2264
|
+
>;
|
|
2265
|
+
|
|
2105
2266
|
/**
|
|
2106
2267
|
* @see {@link ListInstanceProfilesCommand}
|
|
2107
2268
|
*/
|
|
@@ -2113,6 +2274,11 @@ interface IAMService$ {
|
|
|
2113
2274
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2114
2275
|
>;
|
|
2115
2276
|
|
|
2277
|
+
listInstanceProfilesStream(
|
|
2278
|
+
args: ListInstanceProfilesCommandInput,
|
|
2279
|
+
options?: HttpHandlerOptions,
|
|
2280
|
+
): Stream.Stream<ListInstanceProfilesCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2281
|
+
|
|
2116
2282
|
/**
|
|
2117
2283
|
* @see {@link ListInstanceProfilesForRoleCommand}
|
|
2118
2284
|
*/
|
|
@@ -2124,6 +2290,14 @@ interface IAMService$ {
|
|
|
2124
2290
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2125
2291
|
>;
|
|
2126
2292
|
|
|
2293
|
+
listInstanceProfilesForRoleStream(
|
|
2294
|
+
args: ListInstanceProfilesForRoleCommandInput,
|
|
2295
|
+
options?: HttpHandlerOptions,
|
|
2296
|
+
): Stream.Stream<
|
|
2297
|
+
ListInstanceProfilesForRoleCommandOutput,
|
|
2298
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2299
|
+
>;
|
|
2300
|
+
|
|
2127
2301
|
/**
|
|
2128
2302
|
* @see {@link ListMFADeviceTagsCommand}
|
|
2129
2303
|
*/
|
|
@@ -2135,6 +2309,14 @@ interface IAMService$ {
|
|
|
2135
2309
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2136
2310
|
>;
|
|
2137
2311
|
|
|
2312
|
+
listMFADeviceTagsStream(
|
|
2313
|
+
args: ListMFADeviceTagsCommandInput,
|
|
2314
|
+
options?: HttpHandlerOptions,
|
|
2315
|
+
): Stream.Stream<
|
|
2316
|
+
ListMFADeviceTagsCommandOutput,
|
|
2317
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2318
|
+
>;
|
|
2319
|
+
|
|
2138
2320
|
/**
|
|
2139
2321
|
* @see {@link ListMFADevicesCommand}
|
|
2140
2322
|
*/
|
|
@@ -2146,6 +2328,14 @@ interface IAMService$ {
|
|
|
2146
2328
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2147
2329
|
>;
|
|
2148
2330
|
|
|
2331
|
+
listMFADevicesStream(
|
|
2332
|
+
args: ListMFADevicesCommandInput,
|
|
2333
|
+
options?: HttpHandlerOptions,
|
|
2334
|
+
): Stream.Stream<
|
|
2335
|
+
ListMFADevicesCommandOutput,
|
|
2336
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2337
|
+
>;
|
|
2338
|
+
|
|
2149
2339
|
/**
|
|
2150
2340
|
* @see {@link ListOpenIDConnectProviderTagsCommand}
|
|
2151
2341
|
*/
|
|
@@ -2157,6 +2347,14 @@ interface IAMService$ {
|
|
|
2157
2347
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2158
2348
|
>;
|
|
2159
2349
|
|
|
2350
|
+
listOpenIDConnectProviderTagsStream(
|
|
2351
|
+
args: ListOpenIDConnectProviderTagsCommandInput,
|
|
2352
|
+
options?: HttpHandlerOptions,
|
|
2353
|
+
): Stream.Stream<
|
|
2354
|
+
ListOpenIDConnectProviderTagsCommandOutput,
|
|
2355
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2356
|
+
>;
|
|
2357
|
+
|
|
2160
2358
|
/**
|
|
2161
2359
|
* @see {@link ListOpenIDConnectProvidersCommand}
|
|
2162
2360
|
*/
|
|
@@ -2195,6 +2393,11 @@ interface IAMService$ {
|
|
|
2195
2393
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2196
2394
|
>;
|
|
2197
2395
|
|
|
2396
|
+
listPoliciesStream(
|
|
2397
|
+
args: ListPoliciesCommandInput,
|
|
2398
|
+
options?: HttpHandlerOptions,
|
|
2399
|
+
): Stream.Stream<ListPoliciesCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2400
|
+
|
|
2198
2401
|
/**
|
|
2199
2402
|
* @see {@link ListPoliciesGrantingServiceAccessCommand}
|
|
2200
2403
|
*/
|
|
@@ -2217,6 +2420,14 @@ interface IAMService$ {
|
|
|
2217
2420
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2218
2421
|
>;
|
|
2219
2422
|
|
|
2423
|
+
listPolicyTagsStream(
|
|
2424
|
+
args: ListPolicyTagsCommandInput,
|
|
2425
|
+
options?: HttpHandlerOptions,
|
|
2426
|
+
): Stream.Stream<
|
|
2427
|
+
ListPolicyTagsCommandOutput,
|
|
2428
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2429
|
+
>;
|
|
2430
|
+
|
|
2220
2431
|
/**
|
|
2221
2432
|
* @see {@link ListPolicyVersionsCommand}
|
|
2222
2433
|
*/
|
|
@@ -2228,6 +2439,14 @@ interface IAMService$ {
|
|
|
2228
2439
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2229
2440
|
>;
|
|
2230
2441
|
|
|
2442
|
+
listPolicyVersionsStream(
|
|
2443
|
+
args: ListPolicyVersionsCommandInput,
|
|
2444
|
+
options?: HttpHandlerOptions,
|
|
2445
|
+
): Stream.Stream<
|
|
2446
|
+
ListPolicyVersionsCommandOutput,
|
|
2447
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2448
|
+
>;
|
|
2449
|
+
|
|
2231
2450
|
/**
|
|
2232
2451
|
* @see {@link ListRolePoliciesCommand}
|
|
2233
2452
|
*/
|
|
@@ -2239,6 +2458,14 @@ interface IAMService$ {
|
|
|
2239
2458
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2240
2459
|
>;
|
|
2241
2460
|
|
|
2461
|
+
listRolePoliciesStream(
|
|
2462
|
+
args: ListRolePoliciesCommandInput,
|
|
2463
|
+
options?: HttpHandlerOptions,
|
|
2464
|
+
): Stream.Stream<
|
|
2465
|
+
ListRolePoliciesCommandOutput,
|
|
2466
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2467
|
+
>;
|
|
2468
|
+
|
|
2242
2469
|
/**
|
|
2243
2470
|
* @see {@link ListRoleTagsCommand}
|
|
2244
2471
|
*/
|
|
@@ -2250,6 +2477,14 @@ interface IAMService$ {
|
|
|
2250
2477
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2251
2478
|
>;
|
|
2252
2479
|
|
|
2480
|
+
listRoleTagsStream(
|
|
2481
|
+
args: ListRoleTagsCommandInput,
|
|
2482
|
+
options?: HttpHandlerOptions,
|
|
2483
|
+
): Stream.Stream<
|
|
2484
|
+
ListRoleTagsCommandOutput,
|
|
2485
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2486
|
+
>;
|
|
2487
|
+
|
|
2253
2488
|
/**
|
|
2254
2489
|
* @see {@link ListRolesCommand}
|
|
2255
2490
|
*/
|
|
@@ -2261,6 +2496,11 @@ interface IAMService$ {
|
|
|
2261
2496
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2262
2497
|
>;
|
|
2263
2498
|
|
|
2499
|
+
listRolesStream(
|
|
2500
|
+
args: ListRolesCommandInput,
|
|
2501
|
+
options?: HttpHandlerOptions,
|
|
2502
|
+
): Stream.Stream<ListRolesCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2503
|
+
|
|
2264
2504
|
/**
|
|
2265
2505
|
* @see {@link ListSAMLProviderTagsCommand}
|
|
2266
2506
|
*/
|
|
@@ -2272,6 +2512,14 @@ interface IAMService$ {
|
|
|
2272
2512
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2273
2513
|
>;
|
|
2274
2514
|
|
|
2515
|
+
listSAMLProviderTagsStream(
|
|
2516
|
+
args: ListSAMLProviderTagsCommandInput,
|
|
2517
|
+
options?: HttpHandlerOptions,
|
|
2518
|
+
): Stream.Stream<
|
|
2519
|
+
ListSAMLProviderTagsCommandOutput,
|
|
2520
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | ServiceFailureError
|
|
2521
|
+
>;
|
|
2522
|
+
|
|
2275
2523
|
/**
|
|
2276
2524
|
* @see {@link ListSAMLProvidersCommand}
|
|
2277
2525
|
*/
|
|
@@ -2294,6 +2542,11 @@ interface IAMService$ {
|
|
|
2294
2542
|
Cause.TimeoutException | SdkError | NoSuchEntityError
|
|
2295
2543
|
>;
|
|
2296
2544
|
|
|
2545
|
+
listSSHPublicKeysStream(
|
|
2546
|
+
args: ListSSHPublicKeysCommandInput,
|
|
2547
|
+
options?: HttpHandlerOptions,
|
|
2548
|
+
): Stream.Stream<ListSSHPublicKeysCommandOutput, Cause.TimeoutException | SdkError | NoSuchEntityError>;
|
|
2549
|
+
|
|
2297
2550
|
/**
|
|
2298
2551
|
* @see {@link ListServerCertificateTagsCommand}
|
|
2299
2552
|
*/
|
|
@@ -2305,6 +2558,14 @@ interface IAMService$ {
|
|
|
2305
2558
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2306
2559
|
>;
|
|
2307
2560
|
|
|
2561
|
+
listServerCertificateTagsStream(
|
|
2562
|
+
args: ListServerCertificateTagsCommandInput,
|
|
2563
|
+
options?: HttpHandlerOptions,
|
|
2564
|
+
): Stream.Stream<
|
|
2565
|
+
ListServerCertificateTagsCommandOutput,
|
|
2566
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2567
|
+
>;
|
|
2568
|
+
|
|
2308
2569
|
/**
|
|
2309
2570
|
* @see {@link ListServerCertificatesCommand}
|
|
2310
2571
|
*/
|
|
@@ -2316,6 +2577,11 @@ interface IAMService$ {
|
|
|
2316
2577
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2317
2578
|
>;
|
|
2318
2579
|
|
|
2580
|
+
listServerCertificatesStream(
|
|
2581
|
+
args: ListServerCertificatesCommandInput,
|
|
2582
|
+
options?: HttpHandlerOptions,
|
|
2583
|
+
): Stream.Stream<ListServerCertificatesCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2584
|
+
|
|
2319
2585
|
/**
|
|
2320
2586
|
* @see {@link ListServiceSpecificCredentialsCommand}
|
|
2321
2587
|
*/
|
|
@@ -2338,6 +2604,14 @@ interface IAMService$ {
|
|
|
2338
2604
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2339
2605
|
>;
|
|
2340
2606
|
|
|
2607
|
+
listSigningCertificatesStream(
|
|
2608
|
+
args: ListSigningCertificatesCommandInput,
|
|
2609
|
+
options?: HttpHandlerOptions,
|
|
2610
|
+
): Stream.Stream<
|
|
2611
|
+
ListSigningCertificatesCommandOutput,
|
|
2612
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2613
|
+
>;
|
|
2614
|
+
|
|
2341
2615
|
/**
|
|
2342
2616
|
* @see {@link ListUserPoliciesCommand}
|
|
2343
2617
|
*/
|
|
@@ -2349,6 +2623,14 @@ interface IAMService$ {
|
|
|
2349
2623
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2350
2624
|
>;
|
|
2351
2625
|
|
|
2626
|
+
listUserPoliciesStream(
|
|
2627
|
+
args: ListUserPoliciesCommandInput,
|
|
2628
|
+
options?: HttpHandlerOptions,
|
|
2629
|
+
): Stream.Stream<
|
|
2630
|
+
ListUserPoliciesCommandOutput,
|
|
2631
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2632
|
+
>;
|
|
2633
|
+
|
|
2352
2634
|
/**
|
|
2353
2635
|
* @see {@link ListUserTagsCommand}
|
|
2354
2636
|
*/
|
|
@@ -2360,6 +2642,14 @@ interface IAMService$ {
|
|
|
2360
2642
|
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2361
2643
|
>;
|
|
2362
2644
|
|
|
2645
|
+
listUserTagsStream(
|
|
2646
|
+
args: ListUserTagsCommandInput,
|
|
2647
|
+
options?: HttpHandlerOptions,
|
|
2648
|
+
): Stream.Stream<
|
|
2649
|
+
ListUserTagsCommandOutput,
|
|
2650
|
+
Cause.TimeoutException | SdkError | NoSuchEntityError | ServiceFailureError
|
|
2651
|
+
>;
|
|
2652
|
+
|
|
2363
2653
|
/**
|
|
2364
2654
|
* @see {@link ListUsersCommand}
|
|
2365
2655
|
*/
|
|
@@ -2371,6 +2661,11 @@ interface IAMService$ {
|
|
|
2371
2661
|
Cause.TimeoutException | SdkError | ServiceFailureError
|
|
2372
2662
|
>;
|
|
2373
2663
|
|
|
2664
|
+
listUsersStream(
|
|
2665
|
+
args: ListUsersCommandInput,
|
|
2666
|
+
options?: HttpHandlerOptions,
|
|
2667
|
+
): Stream.Stream<ListUsersCommandOutput, Cause.TimeoutException | SdkError | ServiceFailureError>;
|
|
2668
|
+
|
|
2374
2669
|
/**
|
|
2375
2670
|
* @see {@link ListVirtualMFADevicesCommand}
|
|
2376
2671
|
*/
|
|
@@ -2382,6 +2677,11 @@ interface IAMService$ {
|
|
|
2382
2677
|
Cause.TimeoutException | SdkError
|
|
2383
2678
|
>;
|
|
2384
2679
|
|
|
2680
|
+
listVirtualMFADevicesStream(
|
|
2681
|
+
args: ListVirtualMFADevicesCommandInput,
|
|
2682
|
+
options?: HttpHandlerOptions,
|
|
2683
|
+
): Stream.Stream<ListVirtualMFADevicesCommandOutput, Cause.TimeoutException | SdkError>;
|
|
2684
|
+
|
|
2385
2685
|
/**
|
|
2386
2686
|
* @see {@link PutGroupPolicyCommand}
|
|
2387
2687
|
*/
|
|
@@ -2600,6 +2900,14 @@ interface IAMService$ {
|
|
|
2600
2900
|
Cause.TimeoutException | SdkError | InvalidInputError | PolicyEvaluationError
|
|
2601
2901
|
>;
|
|
2602
2902
|
|
|
2903
|
+
simulateCustomPolicyStream(
|
|
2904
|
+
args: SimulateCustomPolicyCommandInput,
|
|
2905
|
+
options?: HttpHandlerOptions,
|
|
2906
|
+
): Stream.Stream<
|
|
2907
|
+
SimulateCustomPolicyCommandOutput,
|
|
2908
|
+
Cause.TimeoutException | SdkError | InvalidInputError | PolicyEvaluationError
|
|
2909
|
+
>;
|
|
2910
|
+
|
|
2603
2911
|
/**
|
|
2604
2912
|
* @see {@link SimulatePrincipalPolicyCommand}
|
|
2605
2913
|
*/
|
|
@@ -2611,6 +2919,14 @@ interface IAMService$ {
|
|
|
2611
2919
|
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | PolicyEvaluationError
|
|
2612
2920
|
>;
|
|
2613
2921
|
|
|
2922
|
+
simulatePrincipalPolicyStream(
|
|
2923
|
+
args: SimulatePrincipalPolicyCommandInput,
|
|
2924
|
+
options?: HttpHandlerOptions,
|
|
2925
|
+
): Stream.Stream<
|
|
2926
|
+
SimulatePrincipalPolicyCommandOutput,
|
|
2927
|
+
Cause.TimeoutException | SdkError | InvalidInputError | NoSuchEntityError | PolicyEvaluationError
|
|
2928
|
+
>;
|
|
2929
|
+
|
|
2614
2930
|
/**
|
|
2615
2931
|
* @see {@link TagInstanceProfileCommand}
|
|
2616
2932
|
*/
|
|
@@ -3151,6 +3467,7 @@ export const makeIAMService = Effect.gen(function*() {
|
|
|
3151
3467
|
errorTags: AllServiceErrors,
|
|
3152
3468
|
resolveClientConfig: IAMServiceConfig.toIAMClientConfig,
|
|
3153
3469
|
},
|
|
3470
|
+
paginators,
|
|
3154
3471
|
);
|
|
3155
3472
|
});
|
|
3156
3473
|
|
package/src/IAMServiceConfig.ts
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as FiberRef from "effect/FiberRef";
|
|
7
8
|
import { dual } from "effect/Function";
|
|
8
9
|
import { globalValue } from "effect/GlobalValue";
|
|
10
|
+
import * as Layer from "effect/Layer";
|
|
9
11
|
import type { IAMService } from "./IAMService.js";
|
|
10
12
|
|
|
11
13
|
/**
|