@aws-sdk/client-ram 3.478.0 → 3.481.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/dist-cjs/commands/AcceptResourceShareInvitationCommand.js +18 -41
- package/dist-cjs/commands/AssociateResourceShareCommand.js +18 -41
- package/dist-cjs/commands/AssociateResourceSharePermissionCommand.js +18 -41
- package/dist-cjs/commands/CreatePermissionCommand.js +18 -41
- package/dist-cjs/commands/CreatePermissionVersionCommand.js +18 -41
- package/dist-cjs/commands/CreateResourceShareCommand.js +18 -41
- package/dist-cjs/commands/DeletePermissionCommand.js +18 -41
- package/dist-cjs/commands/DeletePermissionVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourceShareCommand.js +18 -41
- package/dist-cjs/commands/DisassociateResourceShareCommand.js +18 -41
- package/dist-cjs/commands/DisassociateResourceSharePermissionCommand.js +18 -41
- package/dist-cjs/commands/EnableSharingWithAwsOrganizationCommand.js +18 -41
- package/dist-cjs/commands/GetPermissionCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +18 -41
- package/dist-cjs/commands/GetResourceShareAssociationsCommand.js +18 -41
- package/dist-cjs/commands/GetResourceShareInvitationsCommand.js +18 -41
- package/dist-cjs/commands/GetResourceSharesCommand.js +18 -41
- package/dist-cjs/commands/ListPendingInvitationResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListPermissionAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListPermissionVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListPermissionsCommand.js +18 -41
- package/dist-cjs/commands/ListPrincipalsCommand.js +18 -41
- package/dist-cjs/commands/ListReplacePermissionAssociationsWorkCommand.js +18 -41
- package/dist-cjs/commands/ListResourceSharePermissionsCommand.js +18 -41
- package/dist-cjs/commands/ListResourceTypesCommand.js +18 -41
- package/dist-cjs/commands/ListResourcesCommand.js +18 -41
- package/dist-cjs/commands/PromotePermissionCreatedFromPolicyCommand.js +18 -41
- package/dist-cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js +18 -41
- package/dist-cjs/commands/RejectResourceShareInvitationCommand.js +18 -41
- package/dist-cjs/commands/ReplacePermissionAssociationsCommand.js +18 -41
- package/dist-cjs/commands/SetDefaultPermissionVersionCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateResourceShareCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AcceptResourceShareInvitationCommand.js +18 -41
- package/dist-es/commands/AssociateResourceShareCommand.js +18 -41
- package/dist-es/commands/AssociateResourceSharePermissionCommand.js +18 -41
- package/dist-es/commands/CreatePermissionCommand.js +18 -41
- package/dist-es/commands/CreatePermissionVersionCommand.js +18 -41
- package/dist-es/commands/CreateResourceShareCommand.js +18 -41
- package/dist-es/commands/DeletePermissionCommand.js +18 -41
- package/dist-es/commands/DeletePermissionVersionCommand.js +18 -41
- package/dist-es/commands/DeleteResourceShareCommand.js +18 -41
- package/dist-es/commands/DisassociateResourceShareCommand.js +18 -41
- package/dist-es/commands/DisassociateResourceSharePermissionCommand.js +18 -41
- package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js +18 -41
- package/dist-es/commands/GetPermissionCommand.js +18 -41
- package/dist-es/commands/GetResourcePoliciesCommand.js +18 -41
- package/dist-es/commands/GetResourceShareAssociationsCommand.js +18 -41
- package/dist-es/commands/GetResourceShareInvitationsCommand.js +18 -41
- package/dist-es/commands/GetResourceSharesCommand.js +18 -41
- package/dist-es/commands/ListPendingInvitationResourcesCommand.js +18 -41
- package/dist-es/commands/ListPermissionAssociationsCommand.js +18 -41
- package/dist-es/commands/ListPermissionVersionsCommand.js +18 -41
- package/dist-es/commands/ListPermissionsCommand.js +18 -41
- package/dist-es/commands/ListPrincipalsCommand.js +18 -41
- package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +18 -41
- package/dist-es/commands/ListResourceSharePermissionsCommand.js +18 -41
- package/dist-es/commands/ListResourceTypesCommand.js +18 -41
- package/dist-es/commands/ListResourcesCommand.js +18 -41
- package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +18 -41
- package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js +18 -41
- package/dist-es/commands/RejectResourceShareInvitationCommand.js +18 -41
- package/dist-es/commands/ReplacePermissionAssociationsCommand.js +18 -41
- package/dist-es/commands/SetDefaultPermissionVersionCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateResourceShareCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +6 -21
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +6 -21
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +6 -21
- package/dist-types/commands/CreatePermissionCommand.d.ts +6 -21
- package/dist-types/commands/CreatePermissionVersionCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourceShareCommand.d.ts +6 -21
- package/dist-types/commands/DeletePermissionCommand.d.ts +6 -21
- package/dist-types/commands/DeletePermissionVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +6 -21
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/GetPermissionCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceSharesCommand.d.ts +6 -21
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListPermissionsCommand.d.ts +6 -21
- package/dist-types/commands/ListPrincipalsCommand.d.ts +6 -21
- package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +6 -21
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/ListResourceTypesCommand.d.ts +6 -21
- package/dist-types/commands/ListResourcesCommand.d.ts +6 -21
- package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +6 -21
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +6 -21
- package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/SetDefaultPermissionVersionCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateResourceShareCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePermissionVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePermissionVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourceShareCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateResourceShareCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPermissionAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPermissionVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListResourceTypesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ReplacePermissionAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetDefaultPermissionVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateResourceShareCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListPermissionAssociationsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListPermissionAssociationsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListPermissionAssociations",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListPermissionAssociationsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListPermissionAssociationsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListPermissionAssociationsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListPermissionAssociations", {})
|
|
22
|
+
.n("RAMClient", "ListPermissionAssociationsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListPermissionAssociationsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListPermissionAssociationsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListPermissionAssociationsCommand = ListPermissionAssociationsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListPermissionVersionsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListPermissionVersionsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListPermissionVersions",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListPermissionVersionsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListPermissionVersionsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListPermissionVersionsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListPermissionVersions", {})
|
|
22
|
+
.n("RAMClient", "ListPermissionVersionsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListPermissionVersionsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListPermissionVersionsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListPermissionVersionsCommand = ListPermissionVersionsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListPermissionsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListPermissionsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListPermissions",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListPermissionsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListPermissionsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListPermissionsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListPermissions", {})
|
|
22
|
+
.n("RAMClient", "ListPermissionsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListPermissionsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListPermissionsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListPermissionsCommand = ListPermissionsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListPrincipalsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListPrincipalsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListPrincipals",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListPrincipalsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListPrincipalsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListPrincipalsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListPrincipals", {})
|
|
22
|
+
.n("RAMClient", "ListPrincipalsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListPrincipalsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListPrincipalsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListPrincipalsCommand = ListPrincipalsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListReplacePermissionAssociationsWorkCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListReplacePermissionAssociationsWorkCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListReplacePermissionAssociationsWork",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListReplacePermissionAssociationsWorkCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListReplacePermissionAssociationsWorkCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListReplacePermissionAssociationsWorkCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListReplacePermissionAssociationsWork", {})
|
|
22
|
+
.n("RAMClient", "ListReplacePermissionAssociationsWorkCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListReplacePermissionAssociationsWorkCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListReplacePermissionAssociationsWorkCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListReplacePermissionAssociationsWorkCommand = ListReplacePermissionAssociationsWorkCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListResourceSharePermissionsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListResourceSharePermissionsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListResourceSharePermissions",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListResourceSharePermissionsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListResourceSharePermissionsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListResourceSharePermissionsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListResourceSharePermissions", {})
|
|
22
|
+
.n("RAMClient", "ListResourceSharePermissionsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListResourceSharePermissionsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListResourceSharePermissionsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListResourceSharePermissionsCommand = ListResourceSharePermissionsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListResourceTypesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListResourceTypesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListResourceTypes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListResourceTypesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListResourceTypesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListResourceTypesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListResourceTypes", {})
|
|
22
|
+
.n("RAMClient", "ListResourceTypesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListResourceTypesCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListResourceTypesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListResourceTypesCommand = ListResourceTypesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class ListResourcesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "ListResourcesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "ListResources",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_ListResourcesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_ListResourcesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListResourcesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "ListResources", {})
|
|
22
|
+
.n("RAMClient", "ListResourcesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_ListResourcesCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_ListResourcesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListResourcesCommand = ListResourcesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class PromotePermissionCreatedFromPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "RAMClient";
|
|
29
|
-
const commandName = "PromotePermissionCreatedFromPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonResourceSharing",
|
|
38
|
-
operation: "PromotePermissionCreatedFromPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_PromotePermissionCreatedFromPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_PromotePermissionCreatedFromPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PromotePermissionCreatedFromPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonResourceSharing", "PromotePermissionCreatedFromPolicy", {})
|
|
22
|
+
.n("RAMClient", "PromotePermissionCreatedFromPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_PromotePermissionCreatedFromPolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_PromotePermissionCreatedFromPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PromotePermissionCreatedFromPolicyCommand = PromotePermissionCreatedFromPolicyCommand;
|