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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/IAMClientInstance.d.ts +2 -2
  4. package/dist/dts/IAMClientInstance.d.ts.map +1 -1
  5. package/dist/dts/IAMService.d.ts +178 -180
  6. package/dist/dts/IAMService.d.ts.map +1 -1
  7. package/dist/dts/IAMServiceConfig.d.ts.map +1 -1
  8. package/dist/esm/IAMClientInstance.js +3 -3
  9. package/dist/esm/IAMClientInstance.js.map +1 -1
  10. package/dist/esm/IAMService.js +2 -2
  11. package/dist/esm/IAMService.js.map +1 -1
  12. package/dist/esm/IAMServiceConfig.js +5 -6
  13. package/dist/esm/IAMServiceConfig.js.map +1 -1
  14. package/package.json +8 -14
  15. package/src/IAMClientInstance.ts +4 -4
  16. package/src/IAMService.ts +179 -194
  17. package/src/IAMServiceConfig.ts +6 -7
  18. package/dist/cjs/Errors.d.ts +0 -42
  19. package/dist/cjs/Errors.d.ts.map +0 -1
  20. package/dist/cjs/Errors.js +0 -41
  21. package/dist/cjs/Errors.js.map +0 -1
  22. package/dist/cjs/IAMClientInstance.d.ts +0 -24
  23. package/dist/cjs/IAMClientInstance.d.ts.map +0 -1
  24. package/dist/cjs/IAMClientInstance.js +0 -50
  25. package/dist/cjs/IAMClientInstance.js.map +0 -1
  26. package/dist/cjs/IAMService.d.ts +0 -750
  27. package/dist/cjs/IAMService.d.ts.map +0 -1
  28. package/dist/cjs/IAMService.js +0 -235
  29. package/dist/cjs/IAMService.js.map +0 -1
  30. package/dist/cjs/IAMServiceConfig.d.ts +0 -25
  31. package/dist/cjs/IAMServiceConfig.d.ts.map +0 -1
  32. package/dist/cjs/IAMServiceConfig.js +0 -35
  33. package/dist/cjs/IAMServiceConfig.js.map +0 -1
  34. package/dist/cjs/index.d.ts +0 -44
  35. package/dist/cjs/index.d.ts.map +0 -1
  36. package/dist/cjs/index.js +0 -56
  37. 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,8 @@
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 { Effect, Layer, ServiceMap } from "effect";
6
+ declare const IAMClientInstance_base: ServiceMap.ServiceClass<IAMClientInstance, "@effect-aws/client-iam/IAMClientInstance", IAMClient>;
7
7
  /**
8
8
  * @since 1.0.0
9
9
  * @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,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;;AAGnD;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,sBAEtC;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,+DAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,8CAAwC,CAAC"}