@aws-sdk/client-ram 3.312.0 → 3.316.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 (97) hide show
  1. package/README.md +76 -5
  2. package/dist-cjs/RAM.js +47 -350
  3. package/dist-cjs/commands/CreatePermissionCommand.js +45 -0
  4. package/dist-cjs/commands/CreatePermissionVersionCommand.js +45 -0
  5. package/dist-cjs/commands/DeletePermissionCommand.js +45 -0
  6. package/dist-cjs/commands/DeletePermissionVersionCommand.js +45 -0
  7. package/dist-cjs/commands/ListPermissionAssociationsCommand.js +45 -0
  8. package/dist-cjs/commands/ListReplacePermissionAssociationsWorkCommand.js +45 -0
  9. package/dist-cjs/commands/PromotePermissionCreatedFromPolicyCommand.js +45 -0
  10. package/dist-cjs/commands/ReplacePermissionAssociationsCommand.js +45 -0
  11. package/dist-cjs/commands/SetDefaultPermissionVersionCommand.js +45 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/endpoint/ruleset.js +3 -3
  14. package/dist-cjs/models/models_0.js +104 -1
  15. package/dist-cjs/pagination/ListPermissionAssociationsPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListReplacePermissionAssociationsWorkPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +2 -0
  18. package/dist-cjs/protocols/Aws_restJson1.js +1404 -756
  19. package/dist-es/RAM.js +47 -350
  20. package/dist-es/commands/CreatePermissionCommand.js +41 -0
  21. package/dist-es/commands/CreatePermissionVersionCommand.js +41 -0
  22. package/dist-es/commands/DeletePermissionCommand.js +41 -0
  23. package/dist-es/commands/DeletePermissionVersionCommand.js +41 -0
  24. package/dist-es/commands/ListPermissionAssociationsCommand.js +41 -0
  25. package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +41 -0
  26. package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +41 -0
  27. package/dist-es/commands/ReplacePermissionAssociationsCommand.js +41 -0
  28. package/dist-es/commands/SetDefaultPermissionVersionCommand.js +41 -0
  29. package/dist-es/commands/index.js +9 -0
  30. package/dist-es/endpoint/ruleset.js +3 -3
  31. package/dist-es/models/models_0.js +97 -0
  32. package/dist-es/pagination/ListPermissionAssociationsPaginator.js +25 -0
  33. package/dist-es/pagination/ListReplacePermissionAssociationsWorkPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_restJson1.js +1327 -698
  36. package/dist-types/RAM.d.ts +114 -113
  37. package/dist-types/RAMClient.d.ts +15 -7
  38. package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +16 -12
  39. package/dist-types/commands/AssociateResourceShareCommand.d.ts +19 -14
  40. package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +9 -7
  41. package/dist-types/commands/CreatePermissionCommand.d.ts +109 -0
  42. package/dist-types/commands/CreatePermissionVersionCommand.d.ts +106 -0
  43. package/dist-types/commands/CreateResourceShareCommand.d.ts +19 -13
  44. package/dist-types/commands/DeletePermissionCommand.d.ts +91 -0
  45. package/dist-types/commands/DeletePermissionVersionCommand.d.ts +96 -0
  46. package/dist-types/commands/DeleteResourceShareCommand.d.ts +19 -14
  47. package/dist-types/commands/DisassociateResourceShareCommand.d.ts +19 -13
  48. package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +14 -11
  49. package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +14 -11
  50. package/dist-types/commands/GetPermissionCommand.d.ts +9 -7
  51. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +10 -6
  52. package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +13 -8
  53. package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +14 -8
  54. package/dist-types/commands/GetResourceSharesCommand.d.ts +11 -6
  55. package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +15 -9
  56. package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +91 -0
  57. package/dist-types/commands/ListPermissionVersionsCommand.d.ts +11 -7
  58. package/dist-types/commands/ListPermissionsCommand.d.ts +9 -5
  59. package/dist-types/commands/ListPrincipalsCommand.d.ts +10 -6
  60. package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +84 -0
  61. package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +11 -7
  62. package/dist-types/commands/ListResourceTypesCommand.d.ts +7 -4
  63. package/dist-types/commands/ListResourcesCommand.d.ts +11 -7
  64. package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +119 -0
  65. package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +34 -14
  66. package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +16 -12
  67. package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +108 -0
  68. package/dist-types/commands/SetDefaultPermissionVersionCommand.d.ts +92 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +17 -11
  70. package/dist-types/commands/UntagResourceCommand.d.ts +14 -5
  71. package/dist-types/commands/UpdateResourceShareCommand.d.ts +13 -11
  72. package/dist-types/commands/index.d.ts +9 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  74. package/dist-types/models/models_0.d.ts +1286 -195
  75. package/dist-types/pagination/ListPermissionAssociationsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +2 -0
  78. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  79. package/dist-types/ts3.4/RAM.d.ts +167 -1
  80. package/dist-types/ts3.4/RAMClient.d.ts +54 -0
  81. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +37 -0
  82. package/dist-types/ts3.4/commands/CreatePermissionVersionCommand.d.ts +41 -0
  83. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +37 -0
  84. package/dist-types/ts3.4/commands/DeletePermissionVersionCommand.d.ts +41 -0
  85. package/dist-types/ts3.4/commands/ListPermissionAssociationsCommand.d.ts +41 -0
  86. package/dist-types/ts3.4/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +41 -0
  87. package/dist-types/ts3.4/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +41 -0
  88. package/dist-types/ts3.4/commands/ReplacePermissionAssociationsCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/SetDefaultPermissionVersionCommand.d.ts +41 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  91. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  92. package/dist-types/ts3.4/models/models_0.d.ts +234 -19
  93. package/dist-types/ts3.4/pagination/ListPermissionAssociationsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  96. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  97. package/package.json +6 -6
@@ -43,33 +43,35 @@ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareRes
43
43
  * @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
44
44
  *
45
45
  * @throws {@link IdempotentParameterMismatchException} (client fault)
46
- * <p>The client token input parameter was matched one used with a previous call to the
47
- * operation, but at least one of the other input parameters is different from the previous
48
- * call.</p>
46
+ * <p>The operation failed because the client token input parameter matched one that was
47
+ * used with a previous call to the operation, but at least one of the other input
48
+ * parameters is different from the previous call.</p>
49
49
  *
50
50
  * @throws {@link InvalidClientTokenException} (client fault)
51
- * <p>The client token is not valid.</p>
51
+ * <p>The operation failed because the specified client token isn't valid.</p>
52
52
  *
53
53
  * @throws {@link InvalidParameterException} (client fault)
54
- * <p>A parameter is not valid.</p>
54
+ * <p>The operation failed because a parameter you specified isn't valid.</p>
55
55
  *
56
56
  * @throws {@link MalformedArnException} (client fault)
57
- * <p>The format of an Amazon Resource Name (ARN) is not valid.</p>
57
+ * <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> has a format that isn't
58
+ * valid.</p>
58
59
  *
59
60
  * @throws {@link MissingRequiredParameterException} (client fault)
60
- * <p>A required input parameter is missing.</p>
61
+ * <p>The operation failed because a required input parameter is missing.</p>
61
62
  *
62
63
  * @throws {@link OperationNotPermittedException} (client fault)
63
- * <p>The requested operation is not permitted.</p>
64
+ * <p>The operation failed because the requested operation isn't permitted.</p>
64
65
  *
65
66
  * @throws {@link ServerInternalException} (server fault)
66
- * <p>The service could not respond to the request due to an internal problem.</p>
67
+ * <p>The operation failed because the service could not respond to the request due to an
68
+ * internal problem. Try again later.</p>
67
69
  *
68
70
  * @throws {@link ServiceUnavailableException} (server fault)
69
- * <p>The service is not available.</p>
71
+ * <p>The operation failed because the service isn't available. Try again later.</p>
70
72
  *
71
73
  * @throws {@link UnknownResourceException} (client fault)
72
- * <p>A specified resource was not found.</p>
74
+ * <p>The operation failed because a specified resource couldn't be found.</p>
73
75
  *
74
76
  *
75
77
  */
@@ -1,7 +1,11 @@
1
1
  export * from "./AcceptResourceShareInvitationCommand";
2
2
  export * from "./AssociateResourceShareCommand";
3
3
  export * from "./AssociateResourceSharePermissionCommand";
4
+ export * from "./CreatePermissionCommand";
5
+ export * from "./CreatePermissionVersionCommand";
4
6
  export * from "./CreateResourceShareCommand";
7
+ export * from "./DeletePermissionCommand";
8
+ export * from "./DeletePermissionVersionCommand";
5
9
  export * from "./DeleteResourceShareCommand";
6
10
  export * from "./DisassociateResourceShareCommand";
7
11
  export * from "./DisassociateResourceSharePermissionCommand";
@@ -12,14 +16,19 @@ export * from "./GetResourceShareAssociationsCommand";
12
16
  export * from "./GetResourceShareInvitationsCommand";
13
17
  export * from "./GetResourceSharesCommand";
14
18
  export * from "./ListPendingInvitationResourcesCommand";
19
+ export * from "./ListPermissionAssociationsCommand";
15
20
  export * from "./ListPermissionVersionsCommand";
16
21
  export * from "./ListPermissionsCommand";
17
22
  export * from "./ListPrincipalsCommand";
23
+ export * from "./ListReplacePermissionAssociationsWorkCommand";
18
24
  export * from "./ListResourceSharePermissionsCommand";
19
25
  export * from "./ListResourceTypesCommand";
20
26
  export * from "./ListResourcesCommand";
27
+ export * from "./PromotePermissionCreatedFromPolicyCommand";
21
28
  export * from "./PromoteResourceShareCreatedFromPolicyCommand";
22
29
  export * from "./RejectResourceShareInvitationCommand";
30
+ export * from "./ReplacePermissionAssociationsCommand";
31
+ export * from "./SetDefaultPermissionVersionCommand";
23
32
  export * from "./TagResourceCommand";
24
33
  export * from "./UntagResourceCommand";
25
34
  export * from "./UpdateResourceShareCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;