@aws-sdk/client-ram 3.47.1 → 3.50.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.
- package/CHANGELOG.md +35 -0
- package/dist-cjs/RAM.js +15 -0
- package/dist-cjs/commands/ListPermissionVersionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +14 -2
- package/dist-cjs/pagination/ListPermissionVersionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +124 -1
- package/dist-es/RAM.js +15 -0
- package/dist-es/commands/ListPermissionVersionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListPermissionVersionsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +138 -0
- package/dist-types/RAM.d.ts +7 -0
- package/dist-types/RAMClient.d.ts +3 -2
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +57 -1
- package/dist-types/pagination/ListPermissionVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +39 -33
- package/dist-types/ts3.4/RAM.d.ts +0 -125
- package/dist-types/ts3.4/RAMClient.d.ts +0 -97
- package/dist-types/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateResourceShareCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteResourceShareCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateResourceShareCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListResourceTypesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateResourceShareCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/index.d.ts +0 -24
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/index.d.ts +0 -5
- package/dist-types/ts3.4/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -908
- package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/GetResourceSharesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist-types/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListPrincipalsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListResourceTypesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/index.d.ts +0 -11
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -74
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ram
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-ram
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @aws-sdk/client-ram
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-ram
|
package/dist-cjs/RAM.js
CHANGED
|
@@ -16,6 +16,7 @@ const GetResourceShareInvitationsCommand_1 = require("./commands/GetResourceShar
|
|
|
16
16
|
const GetResourceSharesCommand_1 = require("./commands/GetResourceSharesCommand");
|
|
17
17
|
const ListPendingInvitationResourcesCommand_1 = require("./commands/ListPendingInvitationResourcesCommand");
|
|
18
18
|
const ListPermissionsCommand_1 = require("./commands/ListPermissionsCommand");
|
|
19
|
+
const ListPermissionVersionsCommand_1 = require("./commands/ListPermissionVersionsCommand");
|
|
19
20
|
const ListPrincipalsCommand_1 = require("./commands/ListPrincipalsCommand");
|
|
20
21
|
const ListResourcesCommand_1 = require("./commands/ListResourcesCommand");
|
|
21
22
|
const ListResourceSharePermissionsCommand_1 = require("./commands/ListResourceSharePermissionsCommand");
|
|
@@ -237,6 +238,20 @@ class RAM extends RAMClient_1.RAMClient {
|
|
|
237
238
|
return this.send(command, optionsOrCb);
|
|
238
239
|
}
|
|
239
240
|
}
|
|
241
|
+
listPermissionVersions(args, optionsOrCb, cb) {
|
|
242
|
+
const command = new ListPermissionVersionsCommand_1.ListPermissionVersionsCommand(args);
|
|
243
|
+
if (typeof optionsOrCb === "function") {
|
|
244
|
+
this.send(command, optionsOrCb);
|
|
245
|
+
}
|
|
246
|
+
else if (typeof cb === "function") {
|
|
247
|
+
if (typeof optionsOrCb !== "object")
|
|
248
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
return this.send(command, optionsOrCb);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
240
255
|
listPrincipals(args, optionsOrCb, cb) {
|
|
241
256
|
const command = new ListPrincipalsCommand_1.ListPrincipalsCommand(args);
|
|
242
257
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListPermissionVersionsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListPermissionVersionsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "RAMClient";
|
|
18
|
+
const commandName = "ListPermissionVersionsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListPermissionVersionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListPermissionVersionsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListPermissionVersionsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListPermissionVersionsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListPermissionVersionsCommand = ListPermissionVersionsCommand;
|
|
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./GetResourceShareAssociationsCommand"), exports);
|
|
|
15
15
|
tslib_1.__exportStar(require("./GetResourceShareInvitationsCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./GetResourceSharesCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./ListPendingInvitationResourcesCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListPermissionVersionsCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./ListPermissionsCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./ListPrincipalsCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./ListResourceSharePermissionsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateResourceShareResponse = exports.UpdateResourceShareRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectResourceShareInvitationResponse = exports.RejectResourceShareInvitationRequest = exports.PromoteResourceShareCreatedFromPolicyResponse = exports.PromoteResourceShareCreatedFromPolicyRequest = exports.ListResourceTypesResponse = void 0;
|
|
3
|
+
exports.ListResourceSharePermissionsResponse = exports.ListResourceSharePermissionsRequest = exports.ListResourcesResponse = exports.ListResourcesRequest = exports.ListPrincipalsResponse = exports.Principal = exports.ListPrincipalsRequest = exports.ListPermissionVersionsResponse = exports.ListPermissionVersionsRequest = exports.ListPermissionsResponse = exports.ResourceSharePermissionSummary = exports.ListPermissionsRequest = exports.ListPendingInvitationResourcesResponse = exports.Resource = exports.ResourceRegionScope = exports.ListPendingInvitationResourcesRequest = exports.ResourceRegionScopeFilter = exports.GetResourceSharesResponse = exports.GetResourceSharesRequest = exports.TagFilter = exports.ResourceOwner = exports.GetResourceShareInvitationsResponse = exports.GetResourceShareInvitationsRequest = exports.GetResourceShareAssociationsResponse = exports.GetResourceShareAssociationsRequest = exports.GetResourcePoliciesResponse = exports.GetResourcePoliciesRequest = exports.GetPermissionResponse = exports.ResourceSharePermissionDetail = exports.GetPermissionRequest = exports.EnableSharingWithAwsOrganizationResponse = exports.EnableSharingWithAwsOrganizationRequest = exports.DisassociateResourceSharePermissionResponse = exports.DisassociateResourceSharePermissionRequest = exports.DisassociateResourceShareResponse = exports.DisassociateResourceShareRequest = exports.DeleteResourceShareResponse = exports.DeleteResourceShareRequest = exports.CreateResourceShareResponse = exports.ResourceShare = exports.CreateResourceShareRequest = exports.Tag = exports.AssociateResourceSharePermissionResponse = exports.AssociateResourceSharePermissionRequest = exports.AssociateResourceShareResponse = exports.AssociateResourceShareRequest = exports.AcceptResourceShareInvitationResponse = exports.ResourceShareInvitation = exports.ResourceShareAssociation = exports.AcceptResourceShareInvitationRequest = void 0;
|
|
4
|
+
exports.UpdateResourceShareResponse = exports.UpdateResourceShareRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectResourceShareInvitationResponse = exports.RejectResourceShareInvitationRequest = exports.PromoteResourceShareCreatedFromPolicyResponse = exports.PromoteResourceShareCreatedFromPolicyRequest = exports.ListResourceTypesResponse = exports.ServiceNameAndResourceType = exports.ListResourceTypesRequest = void 0;
|
|
5
5
|
var AcceptResourceShareInvitationRequest;
|
|
6
6
|
(function (AcceptResourceShareInvitationRequest) {
|
|
7
7
|
AcceptResourceShareInvitationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -246,6 +246,18 @@ var ListPermissionsResponse;
|
|
|
246
246
|
...obj,
|
|
247
247
|
});
|
|
248
248
|
})(ListPermissionsResponse = exports.ListPermissionsResponse || (exports.ListPermissionsResponse = {}));
|
|
249
|
+
var ListPermissionVersionsRequest;
|
|
250
|
+
(function (ListPermissionVersionsRequest) {
|
|
251
|
+
ListPermissionVersionsRequest.filterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
})(ListPermissionVersionsRequest = exports.ListPermissionVersionsRequest || (exports.ListPermissionVersionsRequest = {}));
|
|
255
|
+
var ListPermissionVersionsResponse;
|
|
256
|
+
(function (ListPermissionVersionsResponse) {
|
|
257
|
+
ListPermissionVersionsResponse.filterSensitiveLog = (obj) => ({
|
|
258
|
+
...obj,
|
|
259
|
+
});
|
|
260
|
+
})(ListPermissionVersionsResponse = exports.ListPermissionVersionsResponse || (exports.ListPermissionVersionsResponse = {}));
|
|
249
261
|
var ListPrincipalsRequest;
|
|
250
262
|
(function (ListPrincipalsRequest) {
|
|
251
263
|
ListPrincipalsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPermissionVersions = void 0;
|
|
4
|
+
const ListPermissionVersionsCommand_1 = require("../commands/ListPermissionVersionsCommand");
|
|
5
|
+
const RAM_1 = require("../RAM");
|
|
6
|
+
const RAMClient_1 = require("../RAMClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListPermissionVersionsCommand_1.ListPermissionVersionsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listPermissionVersions(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListPermissionVersions(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof RAM_1.RAM) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof RAMClient_1.RAMClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListPermissionVersions = paginateListPermissionVersions;
|
|
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./GetResourceShareInvitationsPaginator"), exports)
|
|
|
7
7
|
tslib_1.__exportStar(require("./GetResourceSharesPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListPendingInvitationResourcesPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListPermissionVersionsPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListPermissionsPaginator"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ListPrincipalsPaginator"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./ListResourceSharePermissionsPaginator"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deserializeAws_restJson1UpdateResourceShareCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RejectResourceShareInvitationCommand = exports.deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand = exports.deserializeAws_restJson1ListResourceTypesCommand = exports.deserializeAws_restJson1ListResourceSharePermissionsCommand = exports.deserializeAws_restJson1ListResourcesCommand = exports.deserializeAws_restJson1ListPrincipalsCommand = exports.deserializeAws_restJson1ListPermissionsCommand = exports.deserializeAws_restJson1ListPendingInvitationResourcesCommand = exports.deserializeAws_restJson1GetResourceSharesCommand = exports.deserializeAws_restJson1GetResourceShareInvitationsCommand = exports.deserializeAws_restJson1GetResourceShareAssociationsCommand = exports.deserializeAws_restJson1GetResourcePoliciesCommand = exports.deserializeAws_restJson1GetPermissionCommand = exports.deserializeAws_restJson1EnableSharingWithAwsOrganizationCommand = exports.deserializeAws_restJson1DisassociateResourceSharePermissionCommand = exports.deserializeAws_restJson1DisassociateResourceShareCommand = exports.deserializeAws_restJson1DeleteResourceShareCommand = exports.deserializeAws_restJson1CreateResourceShareCommand = exports.deserializeAws_restJson1AssociateResourceSharePermissionCommand = exports.deserializeAws_restJson1AssociateResourceShareCommand = exports.deserializeAws_restJson1AcceptResourceShareInvitationCommand = exports.serializeAws_restJson1UpdateResourceShareCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RejectResourceShareInvitationCommand = exports.serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand = exports.serializeAws_restJson1ListResourceTypesCommand = exports.serializeAws_restJson1ListResourceSharePermissionsCommand = exports.serializeAws_restJson1ListResourcesCommand = exports.serializeAws_restJson1ListPrincipalsCommand = exports.serializeAws_restJson1ListPermissionsCommand = exports.serializeAws_restJson1ListPendingInvitationResourcesCommand = exports.serializeAws_restJson1GetResourceSharesCommand = exports.serializeAws_restJson1GetResourceShareInvitationsCommand = exports.serializeAws_restJson1GetResourceShareAssociationsCommand = exports.serializeAws_restJson1GetResourcePoliciesCommand = exports.serializeAws_restJson1GetPermissionCommand = exports.serializeAws_restJson1EnableSharingWithAwsOrganizationCommand = exports.serializeAws_restJson1DisassociateResourceSharePermissionCommand = exports.serializeAws_restJson1DisassociateResourceShareCommand = exports.serializeAws_restJson1DeleteResourceShareCommand = exports.serializeAws_restJson1CreateResourceShareCommand = exports.serializeAws_restJson1AssociateResourceSharePermissionCommand = exports.serializeAws_restJson1AssociateResourceShareCommand = exports.serializeAws_restJson1AcceptResourceShareInvitationCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1UpdateResourceShareCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RejectResourceShareInvitationCommand = exports.deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand = exports.deserializeAws_restJson1ListResourceTypesCommand = exports.deserializeAws_restJson1ListResourceSharePermissionsCommand = exports.deserializeAws_restJson1ListResourcesCommand = exports.deserializeAws_restJson1ListPrincipalsCommand = exports.deserializeAws_restJson1ListPermissionVersionsCommand = exports.deserializeAws_restJson1ListPermissionsCommand = exports.deserializeAws_restJson1ListPendingInvitationResourcesCommand = exports.deserializeAws_restJson1GetResourceSharesCommand = exports.deserializeAws_restJson1GetResourceShareInvitationsCommand = exports.deserializeAws_restJson1GetResourceShareAssociationsCommand = exports.deserializeAws_restJson1GetResourcePoliciesCommand = exports.deserializeAws_restJson1GetPermissionCommand = exports.deserializeAws_restJson1EnableSharingWithAwsOrganizationCommand = exports.deserializeAws_restJson1DisassociateResourceSharePermissionCommand = exports.deserializeAws_restJson1DisassociateResourceShareCommand = exports.deserializeAws_restJson1DeleteResourceShareCommand = exports.deserializeAws_restJson1CreateResourceShareCommand = exports.deserializeAws_restJson1AssociateResourceSharePermissionCommand = exports.deserializeAws_restJson1AssociateResourceShareCommand = exports.deserializeAws_restJson1AcceptResourceShareInvitationCommand = exports.serializeAws_restJson1UpdateResourceShareCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RejectResourceShareInvitationCommand = exports.serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand = exports.serializeAws_restJson1ListResourceTypesCommand = exports.serializeAws_restJson1ListResourceSharePermissionsCommand = exports.serializeAws_restJson1ListResourcesCommand = exports.serializeAws_restJson1ListPrincipalsCommand = exports.serializeAws_restJson1ListPermissionVersionsCommand = exports.serializeAws_restJson1ListPermissionsCommand = exports.serializeAws_restJson1ListPendingInvitationResourcesCommand = exports.serializeAws_restJson1GetResourceSharesCommand = exports.serializeAws_restJson1GetResourceShareInvitationsCommand = exports.serializeAws_restJson1GetResourceShareAssociationsCommand = exports.serializeAws_restJson1GetResourcePoliciesCommand = exports.serializeAws_restJson1GetPermissionCommand = exports.serializeAws_restJson1EnableSharingWithAwsOrganizationCommand = exports.serializeAws_restJson1DisassociateResourceSharePermissionCommand = exports.serializeAws_restJson1DisassociateResourceShareCommand = exports.serializeAws_restJson1DeleteResourceShareCommand = exports.serializeAws_restJson1CreateResourceShareCommand = exports.serializeAws_restJson1AssociateResourceSharePermissionCommand = exports.serializeAws_restJson1AssociateResourceShareCommand = exports.serializeAws_restJson1AcceptResourceShareInvitationCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const serializeAws_restJson1AcceptResourceShareInvitationCommand = async (input, context) => {
|
|
@@ -411,6 +411,29 @@ const serializeAws_restJson1ListPermissionsCommand = async (input, context) => {
|
|
|
411
411
|
});
|
|
412
412
|
};
|
|
413
413
|
exports.serializeAws_restJson1ListPermissionsCommand = serializeAws_restJson1ListPermissionsCommand;
|
|
414
|
+
const serializeAws_restJson1ListPermissionVersionsCommand = async (input, context) => {
|
|
415
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
416
|
+
const headers = {
|
|
417
|
+
"content-type": "application/json",
|
|
418
|
+
};
|
|
419
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listpermissionversions";
|
|
420
|
+
let body;
|
|
421
|
+
body = JSON.stringify({
|
|
422
|
+
...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
|
|
423
|
+
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
424
|
+
...(input.permissionArn !== undefined && input.permissionArn !== null && { permissionArn: input.permissionArn }),
|
|
425
|
+
});
|
|
426
|
+
return new protocol_http_1.HttpRequest({
|
|
427
|
+
protocol,
|
|
428
|
+
hostname,
|
|
429
|
+
port,
|
|
430
|
+
method: "POST",
|
|
431
|
+
headers,
|
|
432
|
+
path: resolvedPath,
|
|
433
|
+
body,
|
|
434
|
+
});
|
|
435
|
+
};
|
|
436
|
+
exports.serializeAws_restJson1ListPermissionVersionsCommand = serializeAws_restJson1ListPermissionVersionsCommand;
|
|
414
437
|
const serializeAws_restJson1ListPrincipalsCommand = async (input, context) => {
|
|
415
438
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
416
439
|
const headers = {
|
|
@@ -2224,6 +2247,106 @@ const deserializeAws_restJson1ListPermissionsCommandError = async (output, conte
|
|
|
2224
2247
|
delete response.Message;
|
|
2225
2248
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2226
2249
|
};
|
|
2250
|
+
const deserializeAws_restJson1ListPermissionVersionsCommand = async (output, context) => {
|
|
2251
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2252
|
+
return deserializeAws_restJson1ListPermissionVersionsCommandError(output, context);
|
|
2253
|
+
}
|
|
2254
|
+
const contents = {
|
|
2255
|
+
$metadata: deserializeMetadata(output),
|
|
2256
|
+
nextToken: undefined,
|
|
2257
|
+
permissions: undefined,
|
|
2258
|
+
};
|
|
2259
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2260
|
+
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2261
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2262
|
+
}
|
|
2263
|
+
if (data.permissions !== undefined && data.permissions !== null) {
|
|
2264
|
+
contents.permissions = deserializeAws_restJson1ResourceSharePermissionList(data.permissions, context);
|
|
2265
|
+
}
|
|
2266
|
+
return Promise.resolve(contents);
|
|
2267
|
+
};
|
|
2268
|
+
exports.deserializeAws_restJson1ListPermissionVersionsCommand = deserializeAws_restJson1ListPermissionVersionsCommand;
|
|
2269
|
+
const deserializeAws_restJson1ListPermissionVersionsCommandError = async (output, context) => {
|
|
2270
|
+
const parsedOutput = {
|
|
2271
|
+
...output,
|
|
2272
|
+
body: await parseBody(output.body, context),
|
|
2273
|
+
};
|
|
2274
|
+
let response;
|
|
2275
|
+
let errorCode = "UnknownError";
|
|
2276
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2277
|
+
switch (errorCode) {
|
|
2278
|
+
case "InvalidNextTokenException":
|
|
2279
|
+
case "com.amazonaws.ram#InvalidNextTokenException":
|
|
2280
|
+
response = {
|
|
2281
|
+
...(await deserializeAws_restJson1InvalidNextTokenExceptionResponse(parsedOutput, context)),
|
|
2282
|
+
name: errorCode,
|
|
2283
|
+
$metadata: deserializeMetadata(output),
|
|
2284
|
+
};
|
|
2285
|
+
break;
|
|
2286
|
+
case "InvalidParameterException":
|
|
2287
|
+
case "com.amazonaws.ram#InvalidParameterException":
|
|
2288
|
+
response = {
|
|
2289
|
+
...(await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)),
|
|
2290
|
+
name: errorCode,
|
|
2291
|
+
$metadata: deserializeMetadata(output),
|
|
2292
|
+
};
|
|
2293
|
+
break;
|
|
2294
|
+
case "MalformedArnException":
|
|
2295
|
+
case "com.amazonaws.ram#MalformedArnException":
|
|
2296
|
+
response = {
|
|
2297
|
+
...(await deserializeAws_restJson1MalformedArnExceptionResponse(parsedOutput, context)),
|
|
2298
|
+
name: errorCode,
|
|
2299
|
+
$metadata: deserializeMetadata(output),
|
|
2300
|
+
};
|
|
2301
|
+
break;
|
|
2302
|
+
case "OperationNotPermittedException":
|
|
2303
|
+
case "com.amazonaws.ram#OperationNotPermittedException":
|
|
2304
|
+
response = {
|
|
2305
|
+
...(await deserializeAws_restJson1OperationNotPermittedExceptionResponse(parsedOutput, context)),
|
|
2306
|
+
name: errorCode,
|
|
2307
|
+
$metadata: deserializeMetadata(output),
|
|
2308
|
+
};
|
|
2309
|
+
break;
|
|
2310
|
+
case "ServerInternalException":
|
|
2311
|
+
case "com.amazonaws.ram#ServerInternalException":
|
|
2312
|
+
response = {
|
|
2313
|
+
...(await deserializeAws_restJson1ServerInternalExceptionResponse(parsedOutput, context)),
|
|
2314
|
+
name: errorCode,
|
|
2315
|
+
$metadata: deserializeMetadata(output),
|
|
2316
|
+
};
|
|
2317
|
+
break;
|
|
2318
|
+
case "ServiceUnavailableException":
|
|
2319
|
+
case "com.amazonaws.ram#ServiceUnavailableException":
|
|
2320
|
+
response = {
|
|
2321
|
+
...(await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)),
|
|
2322
|
+
name: errorCode,
|
|
2323
|
+
$metadata: deserializeMetadata(output),
|
|
2324
|
+
};
|
|
2325
|
+
break;
|
|
2326
|
+
case "UnknownResourceException":
|
|
2327
|
+
case "com.amazonaws.ram#UnknownResourceException":
|
|
2328
|
+
response = {
|
|
2329
|
+
...(await deserializeAws_restJson1UnknownResourceExceptionResponse(parsedOutput, context)),
|
|
2330
|
+
name: errorCode,
|
|
2331
|
+
$metadata: deserializeMetadata(output),
|
|
2332
|
+
};
|
|
2333
|
+
break;
|
|
2334
|
+
default:
|
|
2335
|
+
const parsedBody = parsedOutput.body;
|
|
2336
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2337
|
+
response = {
|
|
2338
|
+
...parsedBody,
|
|
2339
|
+
name: `${errorCode}`,
|
|
2340
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
2341
|
+
$fault: "client",
|
|
2342
|
+
$metadata: deserializeMetadata(output),
|
|
2343
|
+
};
|
|
2344
|
+
}
|
|
2345
|
+
const message = response.message || response.Message || errorCode;
|
|
2346
|
+
response.message = message;
|
|
2347
|
+
delete response.Message;
|
|
2348
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2349
|
+
};
|
|
2227
2350
|
const deserializeAws_restJson1ListPrincipalsCommand = async (output, context) => {
|
|
2228
2351
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2229
2352
|
return deserializeAws_restJson1ListPrincipalsCommandError(output, context);
|
package/dist-es/RAM.js
CHANGED
|
@@ -14,6 +14,7 @@ import { GetResourceShareInvitationsCommand, } from "./commands/GetResourceShare
|
|
|
14
14
|
import { GetResourceSharesCommand, } from "./commands/GetResourceSharesCommand";
|
|
15
15
|
import { ListPendingInvitationResourcesCommand, } from "./commands/ListPendingInvitationResourcesCommand";
|
|
16
16
|
import { ListPermissionsCommand, } from "./commands/ListPermissionsCommand";
|
|
17
|
+
import { ListPermissionVersionsCommand, } from "./commands/ListPermissionVersionsCommand";
|
|
17
18
|
import { ListPrincipalsCommand, } from "./commands/ListPrincipalsCommand";
|
|
18
19
|
import { ListResourcesCommand, } from "./commands/ListResourcesCommand";
|
|
19
20
|
import { ListResourceSharePermissionsCommand, } from "./commands/ListResourceSharePermissionsCommand";
|
|
@@ -239,6 +240,20 @@ var RAM = (function (_super) {
|
|
|
239
240
|
return this.send(command, optionsOrCb);
|
|
240
241
|
}
|
|
241
242
|
};
|
|
243
|
+
RAM.prototype.listPermissionVersions = function (args, optionsOrCb, cb) {
|
|
244
|
+
var command = new ListPermissionVersionsCommand(args);
|
|
245
|
+
if (typeof optionsOrCb === "function") {
|
|
246
|
+
this.send(command, optionsOrCb);
|
|
247
|
+
}
|
|
248
|
+
else if (typeof cb === "function") {
|
|
249
|
+
if (typeof optionsOrCb !== "object")
|
|
250
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
251
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
252
|
+
}
|
|
253
|
+
else {
|
|
254
|
+
return this.send(command, optionsOrCb);
|
|
255
|
+
}
|
|
256
|
+
};
|
|
242
257
|
RAM.prototype.listPrincipals = function (args, optionsOrCb, cb) {
|
|
243
258
|
var command = new ListPrincipalsCommand(args);
|
|
244
259
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListPermissionVersionsRequest, ListPermissionVersionsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListPermissionVersionsCommand, serializeAws_restJson1ListPermissionVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListPermissionVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPermissionVersionsCommand, _super);
|
|
8
|
+
function ListPermissionVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListPermissionVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RAMClient";
|
|
18
|
+
var commandName = "ListPermissionVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListPermissionVersionsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListPermissionVersionsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPermissionVersionsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListPermissionVersionsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListPermissionVersionsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListPermissionVersionsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListPermissionVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPermissionVersionsCommand };
|
|
@@ -12,6 +12,7 @@ export * from "./GetResourceShareAssociationsCommand";
|
|
|
12
12
|
export * from "./GetResourceShareInvitationsCommand";
|
|
13
13
|
export * from "./GetResourceSharesCommand";
|
|
14
14
|
export * from "./ListPendingInvitationResourcesCommand";
|
|
15
|
+
export * from "./ListPermissionVersionsCommand";
|
|
15
16
|
export * from "./ListPermissionsCommand";
|
|
16
17
|
export * from "./ListPrincipalsCommand";
|
|
17
18
|
export * from "./ListResourceSharePermissionsCommand";
|
|
@@ -167,6 +167,14 @@ export var ListPermissionsResponse;
|
|
|
167
167
|
(function (ListPermissionsResponse) {
|
|
168
168
|
ListPermissionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
169
|
})(ListPermissionsResponse || (ListPermissionsResponse = {}));
|
|
170
|
+
export var ListPermissionVersionsRequest;
|
|
171
|
+
(function (ListPermissionVersionsRequest) {
|
|
172
|
+
ListPermissionVersionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
})(ListPermissionVersionsRequest || (ListPermissionVersionsRequest = {}));
|
|
174
|
+
export var ListPermissionVersionsResponse;
|
|
175
|
+
(function (ListPermissionVersionsResponse) {
|
|
176
|
+
ListPermissionVersionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
})(ListPermissionVersionsResponse || (ListPermissionVersionsResponse = {}));
|
|
170
178
|
export var ListPrincipalsRequest;
|
|
171
179
|
(function (ListPrincipalsRequest) {
|
|
172
180
|
ListPrincipalsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListPermissionVersionsCommand, } from "../commands/ListPermissionVersionsCommand";
|
|
3
|
+
import { RAM } from "../RAM";
|
|
4
|
+
import { RAMClient } from "../RAMClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListPermissionVersionsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listPermissionVersions.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListPermissionVersions(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListPermissionVersions_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof RAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof RAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected RAM | RAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./GetResourceShareInvitationsPaginator";
|
|
|
4
4
|
export * from "./GetResourceSharesPaginator";
|
|
5
5
|
export * from "./Interfaces";
|
|
6
6
|
export * from "./ListPendingInvitationResourcesPaginator";
|
|
7
|
+
export * from "./ListPermissionVersionsPaginator";
|
|
7
8
|
export * from "./ListPermissionsPaginator";
|
|
8
9
|
export * from "./ListPrincipalsPaginator";
|
|
9
10
|
export * from "./ListResourceSharePermissionsPaginator";
|