@effect-aws/client-iam 1.10.9 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/IAMClientInstance.d.ts +4 -2
  4. package/dist/dts/IAMClientInstance.d.ts.map +1 -1
  5. package/dist/dts/IAMService.d.ts +181 -181
  6. package/dist/dts/IAMService.d.ts.map +1 -1
  7. package/dist/dts/IAMServiceConfig.d.ts +2 -1
  8. package/dist/dts/IAMServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/IAMClientInstance.js +5 -3
  10. package/dist/esm/IAMClientInstance.js.map +1 -1
  11. package/dist/esm/IAMService.js +4 -2
  12. package/dist/esm/IAMService.js.map +1 -1
  13. package/dist/esm/IAMServiceConfig.js +7 -6
  14. package/dist/esm/IAMServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/IAMClientInstance.ts +6 -4
  17. package/src/IAMService.ts +182 -195
  18. package/src/IAMServiceConfig.ts +8 -7
  19. package/dist/cjs/Errors.d.ts +0 -42
  20. package/dist/cjs/Errors.d.ts.map +0 -1
  21. package/dist/cjs/Errors.js +0 -41
  22. package/dist/cjs/Errors.js.map +0 -1
  23. package/dist/cjs/IAMClientInstance.d.ts +0 -24
  24. package/dist/cjs/IAMClientInstance.d.ts.map +0 -1
  25. package/dist/cjs/IAMClientInstance.js +0 -50
  26. package/dist/cjs/IAMClientInstance.js.map +0 -1
  27. package/dist/cjs/IAMService.d.ts +0 -750
  28. package/dist/cjs/IAMService.d.ts.map +0 -1
  29. package/dist/cjs/IAMService.js +0 -235
  30. package/dist/cjs/IAMService.js.map +0 -1
  31. package/dist/cjs/IAMServiceConfig.d.ts +0 -25
  32. package/dist/cjs/IAMServiceConfig.d.ts.map +0 -1
  33. package/dist/cjs/IAMServiceConfig.js +0 -35
  34. package/dist/cjs/IAMServiceConfig.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2025 Victor Korzunin
1
+ Copyright (c) 2026 Victor Korzunin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -16,7 +16,7 @@ With default IAMClient instance:
16
16
  ```typescript
17
17
  import { IAM } from "@effect-aws/client-iam";
18
18
 
19
- const program = IAM.createRole(args);
19
+ const program = IAM.use((svc) => svc.createRole(args));
20
20
 
21
21
  const result = pipe(
22
22
  program,
@@ -30,7 +30,7 @@ With custom IAMClient instance:
30
30
  ```typescript
31
31
  import { IAM } from "@effect-aws/client-iam";
32
32
 
33
- const program = IAM.createRole(args);
33
+ const program = IAM.use((svc) => svc.createRole(args));
34
34
 
35
35
  const result = await pipe(
36
36
  program,
@@ -46,7 +46,7 @@ With custom IAMClient configuration:
46
46
  ```typescript
47
47
  import { IAM } from "@effect-aws/client-iam";
48
48
 
49
- const program = IAM.createRole(args);
49
+ const program = IAM.use((svc) => svc.createRole(args));
50
50
 
51
51
  const result = await pipe(
52
52
  program,
@@ -2,8 +2,10 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import { IAMClient } from "@aws-sdk/client-iam";
5
- import { Context, Effect, Layer } from "effect";
6
- declare const IAMClientInstance_base: Context.TagClass<IAMClientInstance, "@effect-aws/client-iam/IAMClientInstance", IAMClient>;
5
+ import * as Effect from "effect/Effect";
6
+ import * as Layer from "effect/Layer";
7
+ import * as ServiceMap from "effect/ServiceMap";
8
+ declare const IAMClientInstance_base: ServiceMap.ServiceClass<IAMClientInstance, "@effect-aws/client-iam/IAMClientInstance", IAMClient>;
7
9
  /**
8
10
  * @since 1.0.0
9
11
  * @category tags
@@ -1 +1 @@
1
- {"version":3,"file":"IAMClientInstance.d.ts","sourceRoot":"","sources":["../../src/IAMClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEN;CAAG;AAEpC;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}
1
+ {"version":3,"file":"IAMClientInstance.d.ts","sourceRoot":"","sources":["../../src/IAMClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEtC;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}