@aws-sdk/client-ram 3.948.0 → 3.953.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 (54) hide show
  1. package/dist-cjs/index.js +538 -387
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AcceptResourceShareInvitationCommand.js +2 -2
  4. package/dist-es/commands/AssociateResourceShareCommand.js +2 -2
  5. package/dist-es/commands/AssociateResourceSharePermissionCommand.js +2 -2
  6. package/dist-es/commands/CreatePermissionCommand.js +2 -2
  7. package/dist-es/commands/CreatePermissionVersionCommand.js +2 -2
  8. package/dist-es/commands/CreateResourceShareCommand.js +2 -2
  9. package/dist-es/commands/DeletePermissionCommand.js +2 -2
  10. package/dist-es/commands/DeletePermissionVersionCommand.js +2 -2
  11. package/dist-es/commands/DeleteResourceShareCommand.js +2 -2
  12. package/dist-es/commands/DisassociateResourceShareCommand.js +2 -2
  13. package/dist-es/commands/DisassociateResourceSharePermissionCommand.js +2 -2
  14. package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js +2 -2
  15. package/dist-es/commands/GetPermissionCommand.js +2 -2
  16. package/dist-es/commands/GetResourcePoliciesCommand.js +2 -2
  17. package/dist-es/commands/GetResourceShareAssociationsCommand.js +2 -2
  18. package/dist-es/commands/GetResourceShareInvitationsCommand.js +2 -2
  19. package/dist-es/commands/GetResourceSharesCommand.js +2 -2
  20. package/dist-es/commands/ListPendingInvitationResourcesCommand.js +2 -2
  21. package/dist-es/commands/ListPermissionAssociationsCommand.js +2 -2
  22. package/dist-es/commands/ListPermissionVersionsCommand.js +2 -2
  23. package/dist-es/commands/ListPermissionsCommand.js +2 -2
  24. package/dist-es/commands/ListPrincipalsCommand.js +2 -2
  25. package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +2 -2
  26. package/dist-es/commands/ListResourceSharePermissionsCommand.js +2 -2
  27. package/dist-es/commands/ListResourceTypesCommand.js +2 -2
  28. package/dist-es/commands/ListResourcesCommand.js +2 -2
  29. package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +2 -2
  30. package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -2
  31. package/dist-es/commands/RejectResourceShareInvitationCommand.js +2 -2
  32. package/dist-es/commands/ReplacePermissionAssociationsCommand.js +2 -2
  33. package/dist-es/commands/SetDefaultPermissionVersionCommand.js +2 -2
  34. package/dist-es/commands/TagResourceCommand.js +2 -2
  35. package/dist-es/commands/UntagResourceCommand.js +2 -2
  36. package/dist-es/commands/UpdateResourceShareCommand.js +2 -2
  37. package/dist-es/index.js +1 -0
  38. package/dist-es/runtimeConfig.shared.js +6 -1
  39. package/dist-es/schemas/schemas_0.js +292 -284
  40. package/dist-types/RAMClient.d.ts +1 -10
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  43. package/dist-types/runtimeConfig.d.ts +6 -2
  44. package/dist-types/runtimeConfig.native.d.ts +6 -2
  45. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  46. package/dist-types/schemas/schemas_0.d.ts +144 -165
  47. package/dist-types/ts3.4/RAMClient.d.ts +0 -4
  48. package/dist-types/ts3.4/index.d.ts +1 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  53. package/dist-types/ts3.4/schemas/schemas_0.d.ts +143 -165
  54. package/package.json +34 -34
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ram" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.ram",
29
+ version: "2018-01-04",
30
+ serviceTarget: "AmazonResourceSharing",
31
+ },
27
32
  serviceId: config?.serviceId ?? "RAM",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,