@aws-sdk/client-ram 3.982.0 → 3.984.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 (49) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +56 -0
  3. package/dist-es/RAM.js +4 -0
  4. package/dist-es/commands/ListSourceAssociationsCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +4 -0
  7. package/dist-es/pagination/ListSourceAssociationsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +30 -0
  10. package/dist-types/RAM.d.ts +15 -0
  11. package/dist-types/RAMClient.d.ts +3 -2
  12. package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +2 -2
  13. package/dist-types/commands/AssociateResourceShareCommand.d.ts +7 -6
  14. package/dist-types/commands/CreateResourceShareCommand.d.ts +10 -5
  15. package/dist-types/commands/DeleteResourceShareCommand.d.ts +4 -0
  16. package/dist-types/commands/DisassociateResourceShareCommand.d.ts +11 -6
  17. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +7 -0
  18. package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +11 -4
  19. package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +9 -2
  20. package/dist-types/commands/GetResourceSharesCommand.d.ts +7 -0
  21. package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +7 -0
  22. package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +8 -1
  23. package/dist-types/commands/ListPermissionVersionsCommand.d.ts +7 -0
  24. package/dist-types/commands/ListPermissionsCommand.d.ts +7 -0
  25. package/dist-types/commands/ListPrincipalsCommand.d.ts +7 -0
  26. package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +7 -0
  27. package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +7 -0
  28. package/dist-types/commands/ListResourcesCommand.d.ts +7 -0
  29. package/dist-types/commands/ListSourceAssociationsCommand.d.ts +115 -0
  30. package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +3 -0
  31. package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +4 -3
  32. package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +2 -2
  33. package/dist-types/commands/index.d.ts +1 -0
  34. package/dist-types/models/enums.d.ts +4 -0
  35. package/dist-types/models/errors.d.ts +4 -3
  36. package/dist-types/models/models_0.d.ts +117 -9
  37. package/dist-types/pagination/ListSourceAssociationsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +4 -0
  40. package/dist-types/ts3.4/RAM.d.ts +25 -0
  41. package/dist-types/ts3.4/RAMClient.d.ts +6 -0
  42. package/dist-types/ts3.4/commands/ListSourceAssociationsCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +21 -0
  46. package/dist-types/ts3.4/pagination/ListSourceAssociationsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  49. package/package.json +2 -2
package/README.md CHANGED
@@ -402,6 +402,13 @@ ListResourceTypes
402
402
  </details>
403
403
  <details>
404
404
  <summary>
405
+ ListSourceAssociations
406
+ </summary>
407
+
408
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ram/command/ListSourceAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ram/Interface/ListSourceAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ram/Interface/ListSourceAssociationsCommandOutput/)
409
+ </details>
410
+ <details>
411
+ <summary>
405
412
  PromotePermissionCreatedFromPolicy
406
413
  </summary>
407
414
 
package/dist-cjs/index.js CHANGED
@@ -465,6 +465,8 @@ const _ARSPR = "AssociateResourceSharePermissionRequest";
465
465
  const _ARSPRs = "AssociateResourceSharePermissionResponse";
466
466
  const _ARSR = "AssociateResourceShareRequest";
467
467
  const _ARSRs = "AssociateResourceShareResponse";
468
+ const _AS = "AssociatedSource";
469
+ const _ASL = "AssociatedSourceList";
468
470
  const _CP = "CreatePermission";
469
471
  const _CPR = "CreatePermissionRequest";
470
472
  const _CPRr = "CreatePermissionResponse";
@@ -542,6 +544,9 @@ const _LRSPRi = "ListResourceSharePermissionsResponse";
542
544
  const _LRT = "ListResourceTypes";
543
545
  const _LRTR = "ListResourceTypesRequest";
544
546
  const _LRTRi = "ListResourceTypesResponse";
547
+ const _LSA = "ListSourceAssociations";
548
+ const _LSAR = "ListSourceAssociationsRequest";
549
+ const _LSARi = "ListSourceAssociationsResponse";
545
550
  const _MAE = "MalformedArnException";
546
551
  const _MPTE = "MalformedPolicyTemplateException";
547
552
  const _MRPE = "MissingRequiredParameterException";
@@ -682,9 +687,12 @@ const _rV = "returnValue";
682
687
  const _re = "return";
683
688
  const _res = "resources";
684
689
  const _s = "status";
690
+ const _sA = "sourceAssociations";
685
691
  const _sAI = "senderAccountId";
692
+ const _sI = "sourceId";
686
693
  const _sM = "statusMessage";
687
694
  const _sN = "serviceName";
695
+ const _sT = "sourceType";
688
696
  const _se = "server";
689
697
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ram";
690
698
  const _so = "sources";
@@ -716,6 +724,11 @@ var AssociatedPermission$ = [3, n0, _AP,
716
724
  [_a, _pV, _dV, _rT, _s, _fS, _lUT, _rSA],
717
725
  [0, 0, 2, 0, 0, 0, 4, 0]
718
726
  ];
727
+ var AssociatedSource$ = [3, n0, _AS,
728
+ 0,
729
+ [_rSA, _sI, _sT, _s, _lUT, _cTr, _sM],
730
+ [0, 0, 0, 0, 4, 4, 0]
731
+ ];
719
732
  var AssociateResourceSharePermissionRequest$ = [3, n0, _ARSPR,
720
733
  0,
721
734
  [_rSA, _pA, _r, _cT, _pV],
@@ -1014,6 +1027,16 @@ var ListResourceTypesResponse$ = [3, n0, _LRTRi,
1014
1027
  [_rTe, _nT],
1015
1028
  [[() => ServiceNameAndResourceTypeList, 0], 0]
1016
1029
  ];
1030
+ var ListSourceAssociationsRequest$ = [3, n0, _LSAR,
1031
+ 0,
1032
+ [_rSAes, _sI, _sT, _aS, _nT, _mR],
1033
+ [[() => ResourceShareArnList, 0], 0, 0, 0, 0, 1]
1034
+ ];
1035
+ var ListSourceAssociationsResponse$ = [3, n0, _LSARi,
1036
+ 0,
1037
+ [_sA, _nT],
1038
+ [[() => AssociatedSourceList, 0], 0]
1039
+ ];
1017
1040
  var MalformedArnException$ = [-3, n0, _MAE,
1018
1041
  { [_aQE]: [`InvalidArn.Malformed`, 400], [_e]: _c, [_hE]: 400 },
1019
1042
  [_m],
@@ -1275,6 +1298,10 @@ var AssociatedPermissionList = [1, n0, _APL,
1275
1298
  0, [() => AssociatedPermission$,
1276
1299
  { [_xN]: _it }]
1277
1300
  ];
1301
+ var AssociatedSourceList = [1, n0, _ASL,
1302
+ 0, [() => AssociatedSource$,
1303
+ { [_xN]: _it }]
1304
+ ];
1278
1305
  var PermissionArnList = [1, n0, _PAL,
1279
1306
  0, [0,
1280
1307
  { [_xN]: _it }]
@@ -1423,6 +1450,9 @@ var ListResourceSharePermissions$ = [9, n0, _LRSP,
1423
1450
  var ListResourceTypes$ = [9, n0, _LRT,
1424
1451
  { [_h]: ["POST", "/listresourcetypes", 200] }, () => ListResourceTypesRequest$, () => ListResourceTypesResponse$
1425
1452
  ];
1453
+ var ListSourceAssociations$ = [9, n0, _LSA,
1454
+ { [_h]: ["POST", "/listsourceassociations", 200] }, () => ListSourceAssociationsRequest$, () => ListSourceAssociationsResponse$
1455
+ ];
1426
1456
  var PromotePermissionCreatedFromPolicy$ = [9, n0, _PPCFP,
1427
1457
  { [_h]: ["POST", "/promotepermissioncreatedfrompolicy", 200] }, () => PromotePermissionCreatedFromPolicyRequest$, () => PromotePermissionCreatedFromPolicyResponse$
1428
1458
  ];
@@ -1760,6 +1790,18 @@ class ListResourceTypesCommand extends smithyClient.Command
1760
1790
  .build() {
1761
1791
  }
1762
1792
 
1793
+ class ListSourceAssociationsCommand extends smithyClient.Command
1794
+ .classBuilder()
1795
+ .ep(commonParams)
1796
+ .m(function (Command, cs, config, o) {
1797
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1798
+ })
1799
+ .s("AmazonResourceSharing", "ListSourceAssociations", {})
1800
+ .n("RAMClient", "ListSourceAssociationsCommand")
1801
+ .sc(ListSourceAssociations$)
1802
+ .build() {
1803
+ }
1804
+
1763
1805
  class PromotePermissionCreatedFromPolicyCommand extends smithyClient.Command
1764
1806
  .classBuilder()
1765
1807
  .ep(commonParams)
@@ -1882,6 +1924,8 @@ const paginateListResources = core.createPaginator(RAMClient, ListResourcesComma
1882
1924
 
1883
1925
  const paginateListResourceTypes = core.createPaginator(RAMClient, ListResourceTypesCommand, "nextToken", "nextToken", "maxResults");
1884
1926
 
1927
+ const paginateListSourceAssociations = core.createPaginator(RAMClient, ListSourceAssociationsCommand, "nextToken", "nextToken", "maxResults");
1928
+
1885
1929
  const commands = {
1886
1930
  AcceptResourceShareInvitationCommand,
1887
1931
  AssociateResourceShareCommand,
@@ -1909,6 +1953,7 @@ const commands = {
1909
1953
  ListResourcesCommand,
1910
1954
  ListResourceSharePermissionsCommand,
1911
1955
  ListResourceTypesCommand,
1956
+ ListSourceAssociationsCommand,
1912
1957
  PromotePermissionCreatedFromPolicyCommand,
1913
1958
  PromoteResourceShareCreatedFromPolicyCommand,
1914
1959
  RejectResourceShareInvitationCommand,
@@ -1932,6 +1977,7 @@ const paginators = {
1932
1977
  paginateListResources,
1933
1978
  paginateListResourceSharePermissions,
1934
1979
  paginateListResourceTypes,
1980
+ paginateListSourceAssociations,
1935
1981
  };
1936
1982
  class RAM extends RAMClient {
1937
1983
  }
@@ -1940,6 +1986,7 @@ smithyClient.createAggregatedClient(commands, RAM, { paginators });
1940
1986
  const ResourceShareAssociationType = {
1941
1987
  PRINCIPAL: "PRINCIPAL",
1942
1988
  RESOURCE: "RESOURCE",
1989
+ SOURCE: "SOURCE",
1943
1990
  };
1944
1991
  const ResourceShareAssociationStatus = {
1945
1992
  ASSOCIATED: "ASSOCIATED",
@@ -1947,6 +1994,9 @@ const ResourceShareAssociationStatus = {
1947
1994
  DISASSOCIATED: "DISASSOCIATED",
1948
1995
  DISASSOCIATING: "DISASSOCIATING",
1949
1996
  FAILED: "FAILED",
1997
+ RESTORING: "RESTORING",
1998
+ SUSPENDED: "SUSPENDED",
1999
+ SUSPENDING: "SUSPENDING",
1950
2000
  };
1951
2001
  const ResourceShareInvitationStatus = {
1952
2002
  ACCEPTED: "ACCEPTED",
@@ -2033,6 +2083,7 @@ exports.AssociateResourceSharePermissionResponse$ = AssociateResourceSharePermis
2033
2083
  exports.AssociateResourceShareRequest$ = AssociateResourceShareRequest$;
2034
2084
  exports.AssociateResourceShareResponse$ = AssociateResourceShareResponse$;
2035
2085
  exports.AssociatedPermission$ = AssociatedPermission$;
2086
+ exports.AssociatedSource$ = AssociatedSource$;
2036
2087
  exports.CreatePermission$ = CreatePermission$;
2037
2088
  exports.CreatePermissionCommand = CreatePermissionCommand;
2038
2089
  exports.CreatePermissionRequest$ = CreatePermissionRequest$;
@@ -2141,6 +2192,10 @@ exports.ListResources$ = ListResources$;
2141
2192
  exports.ListResourcesCommand = ListResourcesCommand;
2142
2193
  exports.ListResourcesRequest$ = ListResourcesRequest$;
2143
2194
  exports.ListResourcesResponse$ = ListResourcesResponse$;
2195
+ exports.ListSourceAssociations$ = ListSourceAssociations$;
2196
+ exports.ListSourceAssociationsCommand = ListSourceAssociationsCommand;
2197
+ exports.ListSourceAssociationsRequest$ = ListSourceAssociationsRequest$;
2198
+ exports.ListSourceAssociationsResponse$ = ListSourceAssociationsResponse$;
2144
2199
  exports.MalformedArnException = MalformedArnException;
2145
2200
  exports.MalformedArnException$ = MalformedArnException$;
2146
2201
  exports.MalformedPolicyTemplateException = MalformedPolicyTemplateException;
@@ -2255,3 +2310,4 @@ exports.paginateListReplacePermissionAssociationsWork = paginateListReplacePermi
2255
2310
  exports.paginateListResourceSharePermissions = paginateListResourceSharePermissions;
2256
2311
  exports.paginateListResourceTypes = paginateListResourceTypes;
2257
2312
  exports.paginateListResources = paginateListResources;
2313
+ exports.paginateListSourceAssociations = paginateListSourceAssociations;
package/dist-es/RAM.js CHANGED
@@ -25,6 +25,7 @@ import { ListReplacePermissionAssociationsWorkCommand, } from "./commands/ListRe
25
25
  import { ListResourcesCommand, } from "./commands/ListResourcesCommand";
26
26
  import { ListResourceSharePermissionsCommand, } from "./commands/ListResourceSharePermissionsCommand";
27
27
  import { ListResourceTypesCommand, } from "./commands/ListResourceTypesCommand";
28
+ import { ListSourceAssociationsCommand, } from "./commands/ListSourceAssociationsCommand";
28
29
  import { PromotePermissionCreatedFromPolicyCommand, } from "./commands/PromotePermissionCreatedFromPolicyCommand";
29
30
  import { PromoteResourceShareCreatedFromPolicyCommand, } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
30
31
  import { RejectResourceShareInvitationCommand, } from "./commands/RejectResourceShareInvitationCommand";
@@ -46,6 +47,7 @@ import { paginateListReplacePermissionAssociationsWork, } from "./pagination/Lis
46
47
  import { paginateListResourceSharePermissions } from "./pagination/ListResourceSharePermissionsPaginator";
47
48
  import { paginateListResources } from "./pagination/ListResourcesPaginator";
48
49
  import { paginateListResourceTypes } from "./pagination/ListResourceTypesPaginator";
50
+ import { paginateListSourceAssociations } from "./pagination/ListSourceAssociationsPaginator";
49
51
  import { RAMClient } from "./RAMClient";
50
52
  const commands = {
51
53
  AcceptResourceShareInvitationCommand,
@@ -74,6 +76,7 @@ const commands = {
74
76
  ListResourcesCommand,
75
77
  ListResourceSharePermissionsCommand,
76
78
  ListResourceTypesCommand,
79
+ ListSourceAssociationsCommand,
77
80
  PromotePermissionCreatedFromPolicyCommand,
78
81
  PromoteResourceShareCreatedFromPolicyCommand,
79
82
  RejectResourceShareInvitationCommand,
@@ -97,6 +100,7 @@ const paginators = {
97
100
  paginateListResources,
98
101
  paginateListResourceSharePermissions,
99
102
  paginateListResourceTypes,
103
+ paginateListSourceAssociations,
100
104
  };
101
105
  export class RAM extends RAMClient {
102
106
  }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListSourceAssociations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListSourceAssociationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonResourceSharing", "ListSourceAssociations", {})
13
+ .n("RAMClient", "ListSourceAssociationsCommand")
14
+ .sc(ListSourceAssociations$)
15
+ .build() {
16
+ }
@@ -24,6 +24,7 @@ export * from "./ListReplacePermissionAssociationsWorkCommand";
24
24
  export * from "./ListResourceSharePermissionsCommand";
25
25
  export * from "./ListResourceTypesCommand";
26
26
  export * from "./ListResourcesCommand";
27
+ export * from "./ListSourceAssociationsCommand";
27
28
  export * from "./PromotePermissionCreatedFromPolicyCommand";
28
29
  export * from "./PromoteResourceShareCreatedFromPolicyCommand";
29
30
  export * from "./RejectResourceShareInvitationCommand";
@@ -1,6 +1,7 @@
1
1
  export const ResourceShareAssociationType = {
2
2
  PRINCIPAL: "PRINCIPAL",
3
3
  RESOURCE: "RESOURCE",
4
+ SOURCE: "SOURCE",
4
5
  };
5
6
  export const ResourceShareAssociationStatus = {
6
7
  ASSOCIATED: "ASSOCIATED",
@@ -8,6 +9,9 @@ export const ResourceShareAssociationStatus = {
8
9
  DISASSOCIATED: "DISASSOCIATED",
9
10
  DISASSOCIATING: "DISASSOCIATING",
10
11
  FAILED: "FAILED",
12
+ RESTORING: "RESTORING",
13
+ SUSPENDED: "SUSPENDED",
14
+ SUSPENDING: "SUSPENDING",
11
15
  };
12
16
  export const ResourceShareInvitationStatus = {
13
17
  ACCEPTED: "ACCEPTED",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListSourceAssociationsCommand, } from "../commands/ListSourceAssociationsCommand";
3
+ import { RAMClient } from "../RAMClient";
4
+ export const paginateListSourceAssociations = createPaginator(RAMClient, ListSourceAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -12,3 +12,4 @@ export * from "./ListReplacePermissionAssociationsWorkPaginator";
12
12
  export * from "./ListResourcesPaginator";
13
13
  export * from "./ListResourceSharePermissionsPaginator";
14
14
  export * from "./ListResourceTypesPaginator";
15
+ export * from "./ListSourceAssociationsPaginator";
@@ -9,6 +9,8 @@ const _ARSPR = "AssociateResourceSharePermissionRequest";
9
9
  const _ARSPRs = "AssociateResourceSharePermissionResponse";
10
10
  const _ARSR = "AssociateResourceShareRequest";
11
11
  const _ARSRs = "AssociateResourceShareResponse";
12
+ const _AS = "AssociatedSource";
13
+ const _ASL = "AssociatedSourceList";
12
14
  const _CP = "CreatePermission";
13
15
  const _CPR = "CreatePermissionRequest";
14
16
  const _CPRr = "CreatePermissionResponse";
@@ -86,6 +88,9 @@ const _LRSPRi = "ListResourceSharePermissionsResponse";
86
88
  const _LRT = "ListResourceTypes";
87
89
  const _LRTR = "ListResourceTypesRequest";
88
90
  const _LRTRi = "ListResourceTypesResponse";
91
+ const _LSA = "ListSourceAssociations";
92
+ const _LSAR = "ListSourceAssociationsRequest";
93
+ const _LSARi = "ListSourceAssociationsResponse";
89
94
  const _MAE = "MalformedArnException";
90
95
  const _MPTE = "MalformedPolicyTemplateException";
91
96
  const _MRPE = "MissingRequiredParameterException";
@@ -226,9 +231,12 @@ const _rV = "returnValue";
226
231
  const _re = "return";
227
232
  const _res = "resources";
228
233
  const _s = "status";
234
+ const _sA = "sourceAssociations";
229
235
  const _sAI = "senderAccountId";
236
+ const _sI = "sourceId";
230
237
  const _sM = "statusMessage";
231
238
  const _sN = "serviceName";
239
+ const _sT = "sourceType";
232
240
  const _se = "server";
233
241
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ram";
234
242
  const _so = "sources";
@@ -263,6 +271,11 @@ export var AssociatedPermission$ = [3, n0, _AP,
263
271
  [_a, _pV, _dV, _rT, _s, _fS, _lUT, _rSA],
264
272
  [0, 0, 2, 0, 0, 0, 4, 0]
265
273
  ];
274
+ export var AssociatedSource$ = [3, n0, _AS,
275
+ 0,
276
+ [_rSA, _sI, _sT, _s, _lUT, _cTr, _sM],
277
+ [0, 0, 0, 0, 4, 4, 0]
278
+ ];
266
279
  export var AssociateResourceSharePermissionRequest$ = [3, n0, _ARSPR,
267
280
  0,
268
281
  [_rSA, _pA, _r, _cT, _pV],
@@ -561,6 +574,16 @@ export var ListResourceTypesResponse$ = [3, n0, _LRTRi,
561
574
  [_rTe, _nT],
562
575
  [[() => ServiceNameAndResourceTypeList, 0], 0]
563
576
  ];
577
+ export var ListSourceAssociationsRequest$ = [3, n0, _LSAR,
578
+ 0,
579
+ [_rSAes, _sI, _sT, _aS, _nT, _mR],
580
+ [[() => ResourceShareArnList, 0], 0, 0, 0, 0, 1]
581
+ ];
582
+ export var ListSourceAssociationsResponse$ = [3, n0, _LSARi,
583
+ 0,
584
+ [_sA, _nT],
585
+ [[() => AssociatedSourceList, 0], 0]
586
+ ];
564
587
  export var MalformedArnException$ = [-3, n0, _MAE,
565
588
  { [_aQE]: [`InvalidArn.Malformed`, 400], [_e]: _c, [_hE]: 400 },
566
589
  [_m],
@@ -822,6 +845,10 @@ var AssociatedPermissionList = [1, n0, _APL,
822
845
  0, [() => AssociatedPermission$,
823
846
  { [_xN]: _it }]
824
847
  ];
848
+ var AssociatedSourceList = [1, n0, _ASL,
849
+ 0, [() => AssociatedSource$,
850
+ { [_xN]: _it }]
851
+ ];
825
852
  var PermissionArnList = [1, n0, _PAL,
826
853
  0, [0,
827
854
  { [_xN]: _it }]
@@ -972,6 +999,9 @@ export var ListResourceSharePermissions$ = [9, n0, _LRSP,
972
999
  export var ListResourceTypes$ = [9, n0, _LRT,
973
1000
  { [_h]: ["POST", "/listresourcetypes", 200] }, () => ListResourceTypesRequest$, () => ListResourceTypesResponse$
974
1001
  ];
1002
+ export var ListSourceAssociations$ = [9, n0, _LSA,
1003
+ { [_h]: ["POST", "/listsourceassociations", 200] }, () => ListSourceAssociationsRequest$, () => ListSourceAssociationsResponse$
1004
+ ];
975
1005
  export var PromotePermissionCreatedFromPolicy$ = [9, n0, _PPCFP,
976
1006
  { [_h]: ["POST", "/promotepermissioncreatedfrompolicy", 200] }, () => PromotePermissionCreatedFromPolicyRequest$, () => PromotePermissionCreatedFromPolicyResponse$
977
1007
  ];
@@ -25,6 +25,7 @@ import { ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissio
25
25
  import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
26
26
  import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
27
27
  import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
28
+ import { ListSourceAssociationsCommandInput, ListSourceAssociationsCommandOutput } from "./commands/ListSourceAssociationsCommand";
28
29
  import { PromotePermissionCreatedFromPolicyCommandInput, PromotePermissionCreatedFromPolicyCommandOutput } from "./commands/PromotePermissionCreatedFromPolicyCommand";
29
30
  import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
30
31
  import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
@@ -197,6 +198,13 @@ export interface RAM {
197
198
  listResourceTypes(args: ListResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTypesCommandOutput>;
198
199
  listResourceTypes(args: ListResourceTypesCommandInput, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
199
200
  listResourceTypes(args: ListResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
201
+ /**
202
+ * @see {@link ListSourceAssociationsCommand}
203
+ */
204
+ listSourceAssociations(): Promise<ListSourceAssociationsCommandOutput>;
205
+ listSourceAssociations(args: ListSourceAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceAssociationsCommandOutput>;
206
+ listSourceAssociations(args: ListSourceAssociationsCommandInput, cb: (err: any, data?: ListSourceAssociationsCommandOutput) => void): void;
207
+ listSourceAssociations(args: ListSourceAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceAssociationsCommandOutput) => void): void;
200
208
  /**
201
209
  * @see {@link PromotePermissionCreatedFromPolicyCommand}
202
210
  */
@@ -336,6 +344,13 @@ export interface RAM {
336
344
  * @returns AsyncIterable of {@link ListResourceTypesCommandOutput}.
337
345
  */
338
346
  paginateListResourceTypes(args?: ListResourceTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListResourceTypesCommandOutput>;
347
+ /**
348
+ * @see {@link ListSourceAssociationsCommand}
349
+ * @param args - command input.
350
+ * @param paginationConfig - optional pagination config.
351
+ * @returns AsyncIterable of {@link ListSourceAssociationsCommandOutput}.
352
+ */
353
+ paginateListSourceAssociations(args?: ListSourceAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSourceAssociationsCommandOutput>;
339
354
  }
340
355
  /**
341
356
  * <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
@@ -33,6 +33,7 @@ import { ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissio
33
33
  import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
34
34
  import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
35
35
  import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
36
+ import { ListSourceAssociationsCommandInput, ListSourceAssociationsCommandOutput } from "./commands/ListSourceAssociationsCommand";
36
37
  import { PromotePermissionCreatedFromPolicyCommandInput, PromotePermissionCreatedFromPolicyCommandOutput } from "./commands/PromotePermissionCreatedFromPolicyCommand";
37
38
  import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
38
39
  import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
@@ -47,11 +48,11 @@ export { __Client };
47
48
  /**
48
49
  * @public
49
50
  */
50
- export type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreatePermissionCommandInput | CreatePermissionVersionCommandInput | CreateResourceShareCommandInput | DeletePermissionCommandInput | DeletePermissionVersionCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionAssociationsCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListReplacePermissionAssociationsWorkCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromotePermissionCreatedFromPolicyCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | ReplacePermissionAssociationsCommandInput | SetDefaultPermissionVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
51
+ export type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreatePermissionCommandInput | CreatePermissionVersionCommandInput | CreateResourceShareCommandInput | DeletePermissionCommandInput | DeletePermissionVersionCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionAssociationsCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListReplacePermissionAssociationsWorkCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | ListSourceAssociationsCommandInput | PromotePermissionCreatedFromPolicyCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | ReplacePermissionAssociationsCommandInput | SetDefaultPermissionVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
51
52
  /**
52
53
  * @public
53
54
  */
54
- export type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreatePermissionCommandOutput | CreatePermissionVersionCommandOutput | CreateResourceShareCommandOutput | DeletePermissionCommandOutput | DeletePermissionVersionCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionAssociationsCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListReplacePermissionAssociationsWorkCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromotePermissionCreatedFromPolicyCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | ReplacePermissionAssociationsCommandOutput | SetDefaultPermissionVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
55
+ export type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreatePermissionCommandOutput | CreatePermissionVersionCommandOutput | CreateResourceShareCommandOutput | DeletePermissionCommandOutput | DeletePermissionVersionCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionAssociationsCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListReplacePermissionAssociationsWorkCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | ListSourceAssociationsCommandOutput | PromotePermissionCreatedFromPolicyCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | ReplacePermissionAssociationsCommandOutput | SetDefaultPermissionVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
55
56
  /**
56
57
  * @public
57
58
  */
@@ -58,8 +58,8 @@ declare const AcceptResourceShareInvitationCommand_base: {
58
58
  * // resourceShareArn: "STRING_VALUE",
59
59
  * // resourceShareName: "STRING_VALUE",
60
60
  * // associatedEntity: "STRING_VALUE",
61
- * // associationType: "PRINCIPAL" || "RESOURCE",
62
- * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
61
+ * // associationType: "PRINCIPAL" || "RESOURCE" || "SOURCE",
62
+ * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED" || "SUSPENDED" || "SUSPENDING" || "RESTORING",
63
63
  * // statusMessage: "STRING_VALUE",
64
64
  * // creationTime: new Date("TIMESTAMP"),
65
65
  * // lastUpdatedTime: new Date("TIMESTAMP"),
@@ -27,7 +27,7 @@ declare const AssociateResourceShareCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds the specified list of principals and list of resources to a resource share. Principals that
30
+ * <p>Adds the specified list of principals, resources, and source constraints to a resource share. Principals that
31
31
  * already have access to this resource share immediately receive access to the added resources.
32
32
  * Newly added principals immediately receive access to the resources shared in this resource share. </p>
33
33
  * @example
@@ -59,8 +59,8 @@ declare const AssociateResourceShareCommand_base: {
59
59
  * // resourceShareArn: "STRING_VALUE",
60
60
  * // resourceShareName: "STRING_VALUE",
61
61
  * // associatedEntity: "STRING_VALUE",
62
- * // associationType: "PRINCIPAL" || "RESOURCE",
63
- * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
62
+ * // associationType: "PRINCIPAL" || "RESOURCE" || "SOURCE",
63
+ * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED" || "SUSPENDED" || "SUSPENDING" || "RESTORING",
64
64
  * // statusMessage: "STRING_VALUE",
65
65
  * // creationTime: new Date("TIMESTAMP"),
66
66
  * // lastUpdatedTime: new Date("TIMESTAMP"),
@@ -101,9 +101,10 @@ declare const AssociateResourceShareCommand_base: {
101
101
  * <p>The operation failed because the requested operation isn't permitted.</p>
102
102
  *
103
103
  * @throws {@link ResourceShareLimitExceededException} (client fault)
104
- * <p>The operation failed because it would exceed the limit for resource shares for your account. To
105
- * view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the Service Quotas
106
- * console</a>.</p>
104
+ * <p>The operation failed because it would exceed the limit for resource shares for your account. You
105
+ * can associate up to 100 resources per call. To view the limits for your Amazon Web Services account,
106
+ * see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in
107
+ * the Service Quotas console</a>.</p>
107
108
  *
108
109
  * @throws {@link ServerInternalException} (server fault)
109
110
  * <p>The operation failed because the service could not respond to the request due to an
@@ -28,8 +28,8 @@ declare const CreateResourceShareCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Creates a resource share. You can provide a list of the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> for the resources that you
31
- * want to share, a list of principals you want to share the resources with, and the
32
- * permissions to grant those principals.</p>
31
+ * want to share, a list of principals you want to share the resources with, the
32
+ * permissions to grant those principals, and optionally source constraints to enhance security for service principal sharing.</p>
33
33
  * <note>
34
34
  * <p>Sharing a resource makes it available for use by principals outside of the
35
35
  * Amazon Web Services account that created the resource. Sharing doesn't change any permissions or
@@ -120,9 +120,10 @@ declare const CreateResourceShareCommand_base: {
120
120
  * <p>The operation failed because the requested operation isn't permitted.</p>
121
121
  *
122
122
  * @throws {@link ResourceShareLimitExceededException} (client fault)
123
- * <p>The operation failed because it would exceed the limit for resource shares for your account. To
124
- * view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the Service Quotas
125
- * console</a>.</p>
123
+ * <p>The operation failed because it would exceed the limit for resource shares for your account. You
124
+ * can associate up to 100 resources per call. To view the limits for your Amazon Web Services account,
125
+ * see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in
126
+ * the Service Quotas console</a>.</p>
126
127
  *
127
128
  * @throws {@link ServerInternalException} (server fault)
128
129
  * <p>The operation failed because the service could not respond to the request due to an
@@ -139,6 +140,10 @@ declare const CreateResourceShareCommand_base: {
139
140
  * <p>The operation failed because the specified tag key is a reserved word and can't be
140
141
  * used.</p>
141
142
  *
143
+ * @throws {@link ThrottlingException} (client fault)
144
+ * <p>The operation failed because it exceeded the rate at which you are allowed to perform
145
+ * this operation. Please try again later.</p>
146
+ *
142
147
  * @throws {@link UnknownResourceException} (client fault)
143
148
  * <p>The operation failed because a specified resource couldn't be found.</p>
144
149
  *
@@ -88,6 +88,10 @@ declare const DeleteResourceShareCommand_base: {
88
88
  * @throws {@link ServiceUnavailableException} (server fault)
89
89
  * <p>The operation failed because the service isn't available. Try again later.</p>
90
90
  *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The operation failed because it exceeded the rate at which you are allowed to perform
93
+ * this operation. Please try again later.</p>
94
+ *
91
95
  * @throws {@link UnknownResourceException} (client fault)
92
96
  * <p>The operation failed because a specified resource couldn't be found.</p>
93
97
  *
@@ -27,7 +27,7 @@ declare const DisassociateResourceShareCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Removes the specified principals or resources from participating in the specified
30
+ * <p>Removes the specified principals, resources, or source constraints from participating in the specified
31
31
  * resource share.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -58,8 +58,8 @@ declare const DisassociateResourceShareCommand_base: {
58
58
  * // resourceShareArn: "STRING_VALUE",
59
59
  * // resourceShareName: "STRING_VALUE",
60
60
  * // associatedEntity: "STRING_VALUE",
61
- * // associationType: "PRINCIPAL" || "RESOURCE",
62
- * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
61
+ * // associationType: "PRINCIPAL" || "RESOURCE" || "SOURCE",
62
+ * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED" || "SUSPENDED" || "SUSPENDING" || "RESTORING",
63
63
  * // statusMessage: "STRING_VALUE",
64
64
  * // creationTime: new Date("TIMESTAMP"),
65
65
  * // lastUpdatedTime: new Date("TIMESTAMP"),
@@ -100,9 +100,10 @@ declare const DisassociateResourceShareCommand_base: {
100
100
  * <p>The operation failed because the requested operation isn't permitted.</p>
101
101
  *
102
102
  * @throws {@link ResourceShareLimitExceededException} (client fault)
103
- * <p>The operation failed because it would exceed the limit for resource shares for your account. To
104
- * view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the Service Quotas
105
- * console</a>.</p>
103
+ * <p>The operation failed because it would exceed the limit for resource shares for your account. You
104
+ * can associate up to 100 resources per call. To view the limits for your Amazon Web Services account,
105
+ * see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in
106
+ * the Service Quotas console</a>.</p>
106
107
  *
107
108
  * @throws {@link ServerInternalException} (server fault)
108
109
  * <p>The operation failed because the service could not respond to the request due to an
@@ -111,6 +112,10 @@ declare const DisassociateResourceShareCommand_base: {
111
112
  * @throws {@link ServiceUnavailableException} (server fault)
112
113
  * <p>The operation failed because the service isn't available. Try again later.</p>
113
114
  *
115
+ * @throws {@link ThrottlingException} (client fault)
116
+ * <p>The operation failed because it exceeded the rate at which you are allowed to perform
117
+ * this operation. Please try again later.</p>
118
+ *
114
119
  * @throws {@link UnknownResourceException} (client fault)
115
120
  * <p>The operation failed because a specified resource couldn't be found.</p>
116
121
  *
@@ -29,6 +29,13 @@ declare const GetResourcePoliciesCommand_base: {
29
29
  /**
30
30
  * <p>Retrieves the resource policies for the specified resources that you own and have
31
31
  * shared.</p>
32
+ * <note>
33
+ * <p>Always check the <code>NextToken</code> response parameter for a <code>null</code> value
34
+ * when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more
35
+ * results available. The <code>NextToken</code> response parameter value is <code>null</code>
36
+ * <i>only</i>
37
+ * when there are no more results to display.</p>
38
+ * </note>
32
39
  * @example
33
40
  * Use a bare-bones client and the command you need to make an API call.
34
41
  * ```javascript
@@ -29,6 +29,13 @@ declare const GetResourceShareAssociationsCommand_base: {
29
29
  /**
30
30
  * <p>Retrieves the lists of resources and principals that associated for resource shares that you
31
31
  * own.</p>
32
+ * <note>
33
+ * <p>Always check the <code>NextToken</code> response parameter for a <code>null</code> value
34
+ * when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more
35
+ * results available. The <code>NextToken</code> response parameter value is <code>null</code>
36
+ * <i>only</i>
37
+ * when there are no more results to display.</p>
38
+ * </note>
32
39
  * @example
33
40
  * Use a bare-bones client and the command you need to make an API call.
34
41
  * ```javascript
@@ -38,13 +45,13 @@ declare const GetResourceShareAssociationsCommand_base: {
38
45
  * const config = {}; // type is RAMClientConfig
39
46
  * const client = new RAMClient(config);
40
47
  * const input = { // GetResourceShareAssociationsRequest
41
- * associationType: "PRINCIPAL" || "RESOURCE", // required
48
+ * associationType: "PRINCIPAL" || "RESOURCE" || "SOURCE", // required
42
49
  * resourceShareArns: [ // ResourceShareArnList
43
50
  * "STRING_VALUE",
44
51
  * ],
45
52
  * resourceArn: "STRING_VALUE",
46
53
  * principal: "STRING_VALUE",
47
- * associationStatus: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
54
+ * associationStatus: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED" || "SUSPENDED" || "SUSPENDING" || "RESTORING",
48
55
  * nextToken: "STRING_VALUE",
49
56
  * maxResults: Number("int"),
50
57
  * };
@@ -56,8 +63,8 @@ declare const GetResourceShareAssociationsCommand_base: {
56
63
  * // resourceShareArn: "STRING_VALUE",
57
64
  * // resourceShareName: "STRING_VALUE",
58
65
  * // associatedEntity: "STRING_VALUE",
59
- * // associationType: "PRINCIPAL" || "RESOURCE",
60
- * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
66
+ * // associationType: "PRINCIPAL" || "RESOURCE" || "SOURCE",
67
+ * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED" || "SUSPENDED" || "SUSPENDING" || "RESTORING",
61
68
  * // statusMessage: "STRING_VALUE",
62
69
  * // creationTime: new Date("TIMESTAMP"),
63
70
  * // lastUpdatedTime: new Date("TIMESTAMP"),
@@ -28,6 +28,13 @@ declare const GetResourceShareInvitationsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Retrieves details about invitations that you have received for resource shares.</p>
31
+ * <note>
32
+ * <p>Always check the <code>NextToken</code> response parameter for a <code>null</code> value
33
+ * when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more
34
+ * results available. The <code>NextToken</code> response parameter value is <code>null</code>
35
+ * <i>only</i>
36
+ * when there are no more results to display.</p>
37
+ * </note>
31
38
  * @example
32
39
  * Use a bare-bones client and the command you need to make an API call.
33
40
  * ```javascript
@@ -63,8 +70,8 @@ declare const GetResourceShareInvitationsCommand_base: {
63
70
  * // resourceShareArn: "STRING_VALUE",
64
71
  * // resourceShareName: "STRING_VALUE",
65
72
  * // associatedEntity: "STRING_VALUE",
66
- * // associationType: "PRINCIPAL" || "RESOURCE",
67
- * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
73
+ * // associationType: "PRINCIPAL" || "RESOURCE" || "SOURCE",
74
+ * // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED" || "SUSPENDED" || "SUSPENDING" || "RESTORING",
68
75
  * // statusMessage: "STRING_VALUE",
69
76
  * // creationTime: new Date("TIMESTAMP"),
70
77
  * // lastUpdatedTime: new Date("TIMESTAMP"),