@aws-sdk/client-ram 3.927.0 → 3.929.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/index.js +1907 -2013
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RAMClient.js +2 -0
- package/dist-es/commands/AcceptResourceShareInvitationCommand.js +3 -9
- package/dist-es/commands/AssociateResourceShareCommand.js +3 -9
- package/dist-es/commands/AssociateResourceSharePermissionCommand.js +3 -9
- package/dist-es/commands/CreatePermissionCommand.js +3 -9
- package/dist-es/commands/CreatePermissionVersionCommand.js +3 -9
- package/dist-es/commands/CreateResourceShareCommand.js +3 -9
- package/dist-es/commands/DeletePermissionCommand.js +3 -9
- package/dist-es/commands/DeletePermissionVersionCommand.js +3 -9
- package/dist-es/commands/DeleteResourceShareCommand.js +3 -9
- package/dist-es/commands/DisassociateResourceShareCommand.js +3 -9
- package/dist-es/commands/DisassociateResourceSharePermissionCommand.js +3 -9
- package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js +3 -9
- package/dist-es/commands/GetPermissionCommand.js +3 -9
- package/dist-es/commands/GetResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/GetResourceShareAssociationsCommand.js +3 -9
- package/dist-es/commands/GetResourceShareInvitationsCommand.js +3 -9
- package/dist-es/commands/GetResourceSharesCommand.js +3 -9
- package/dist-es/commands/ListPendingInvitationResourcesCommand.js +3 -9
- package/dist-es/commands/ListPermissionAssociationsCommand.js +3 -9
- package/dist-es/commands/ListPermissionVersionsCommand.js +3 -9
- package/dist-es/commands/ListPermissionsCommand.js +3 -9
- package/dist-es/commands/ListPrincipalsCommand.js +3 -9
- package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +3 -9
- package/dist-es/commands/ListResourceSharePermissionsCommand.js +3 -9
- package/dist-es/commands/ListResourceTypesCommand.js +3 -9
- package/dist-es/commands/ListResourcesCommand.js +3 -9
- package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +3 -9
- package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js +3 -9
- package/dist-es/commands/RejectResourceShareInvitationCommand.js +3 -9
- package/dist-es/commands/ReplacePermissionAssociationsCommand.js +3 -9
- package/dist-es/commands/SetDefaultPermissionVersionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateResourceShareCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1760 -0
- package/dist-types/RAMClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +166 -0
- package/dist-types/ts3.4/RAMClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +171 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -1696
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -308
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -413
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ram" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "RAM",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/RAMClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class RAMClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AcceptResourceShareInvitation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AcceptResourceShareInvitationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "AcceptResourceShareInvitation", {})
|
|
17
13
|
.n("RAMClient", "AcceptResourceShareInvitationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AcceptResourceShareInvitationCommand)
|
|
20
|
-
.de(de_AcceptResourceShareInvitationCommand)
|
|
14
|
+
.sc(AcceptResourceShareInvitation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateResourceShare } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateResourceShareCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "AssociateResourceShare", {})
|
|
17
13
|
.n("RAMClient", "AssociateResourceShareCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateResourceShareCommand)
|
|
20
|
-
.de(de_AssociateResourceShareCommand)
|
|
14
|
+
.sc(AssociateResourceShare)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AssociateResourceSharePermission } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateResourceSharePermissionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "AssociateResourceSharePermission", {})
|
|
17
13
|
.n("RAMClient", "AssociateResourceSharePermissionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateResourceSharePermissionCommand)
|
|
20
|
-
.de(de_AssociateResourceSharePermissionCommand)
|
|
14
|
+
.sc(AssociateResourceSharePermission)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreatePermission } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePermissionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "CreatePermission", {})
|
|
17
13
|
.n("RAMClient", "CreatePermissionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreatePermissionCommand)
|
|
20
|
-
.de(de_CreatePermissionCommand)
|
|
14
|
+
.sc(CreatePermission)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreatePermissionVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePermissionVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "CreatePermissionVersion", {})
|
|
17
13
|
.n("RAMClient", "CreatePermissionVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreatePermissionVersionCommand)
|
|
20
|
-
.de(de_CreatePermissionVersionCommand)
|
|
14
|
+
.sc(CreatePermissionVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateResourceShare } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateResourceShareCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "CreateResourceShare", {})
|
|
17
13
|
.n("RAMClient", "CreateResourceShareCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateResourceShareCommand)
|
|
20
|
-
.de(de_CreateResourceShareCommand)
|
|
14
|
+
.sc(CreateResourceShare)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeletePermission } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePermissionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "DeletePermission", {})
|
|
17
13
|
.n("RAMClient", "DeletePermissionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePermissionCommand)
|
|
20
|
-
.de(de_DeletePermissionCommand)
|
|
14
|
+
.sc(DeletePermission)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeletePermissionVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePermissionVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "DeletePermissionVersion", {})
|
|
17
13
|
.n("RAMClient", "DeletePermissionVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePermissionVersionCommand)
|
|
20
|
-
.de(de_DeletePermissionVersionCommand)
|
|
14
|
+
.sc(DeletePermissionVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteResourceShare } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteResourceShareCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "DeleteResourceShare", {})
|
|
17
13
|
.n("RAMClient", "DeleteResourceShareCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteResourceShareCommand)
|
|
20
|
-
.de(de_DeleteResourceShareCommand)
|
|
14
|
+
.sc(DeleteResourceShare)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateResourceShare } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateResourceShareCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "DisassociateResourceShare", {})
|
|
17
13
|
.n("RAMClient", "DisassociateResourceShareCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateResourceShareCommand)
|
|
20
|
-
.de(de_DisassociateResourceShareCommand)
|
|
14
|
+
.sc(DisassociateResourceShare)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DisassociateResourceSharePermission } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DisassociateResourceSharePermissionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "DisassociateResourceSharePermission", {})
|
|
17
13
|
.n("RAMClient", "DisassociateResourceSharePermissionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DisassociateResourceSharePermissionCommand)
|
|
20
|
-
.de(de_DisassociateResourceSharePermissionCommand)
|
|
14
|
+
.sc(DisassociateResourceSharePermission)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { EnableSharingWithAwsOrganization } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class EnableSharingWithAwsOrganizationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "EnableSharingWithAwsOrganization", {})
|
|
17
13
|
.n("RAMClient", "EnableSharingWithAwsOrganizationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_EnableSharingWithAwsOrganizationCommand)
|
|
20
|
-
.de(de_EnableSharingWithAwsOrganizationCommand)
|
|
14
|
+
.sc(EnableSharingWithAwsOrganization)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPermission } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPermissionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "GetPermission", {})
|
|
17
13
|
.n("RAMClient", "GetPermissionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetPermissionCommand)
|
|
20
|
-
.de(de_GetPermissionCommand)
|
|
14
|
+
.sc(GetPermission)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetResourcePolicies } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetResourcePoliciesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "GetResourcePolicies", {})
|
|
17
13
|
.n("RAMClient", "GetResourcePoliciesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetResourcePoliciesCommand)
|
|
20
|
-
.de(de_GetResourcePoliciesCommand)
|
|
14
|
+
.sc(GetResourcePolicies)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetResourceShareAssociations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetResourceShareAssociationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "GetResourceShareAssociations", {})
|
|
17
13
|
.n("RAMClient", "GetResourceShareAssociationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetResourceShareAssociationsCommand)
|
|
20
|
-
.de(de_GetResourceShareAssociationsCommand)
|
|
14
|
+
.sc(GetResourceShareAssociations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetResourceShareInvitations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetResourceShareInvitationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "GetResourceShareInvitations", {})
|
|
17
13
|
.n("RAMClient", "GetResourceShareInvitationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetResourceShareInvitationsCommand)
|
|
20
|
-
.de(de_GetResourceShareInvitationsCommand)
|
|
14
|
+
.sc(GetResourceShareInvitations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetResourceShares } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetResourceSharesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "GetResourceShares", {})
|
|
17
13
|
.n("RAMClient", "GetResourceSharesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetResourceSharesCommand)
|
|
20
|
-
.de(de_GetResourceSharesCommand)
|
|
14
|
+
.sc(GetResourceShares)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPendingInvitationResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPendingInvitationResourcesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "ListPendingInvitationResources", {})
|
|
17
13
|
.n("RAMClient", "ListPendingInvitationResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPendingInvitationResourcesCommand)
|
|
20
|
-
.de(de_ListPendingInvitationResourcesCommand)
|
|
14
|
+
.sc(ListPendingInvitationResources)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPermissionAssociations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPermissionAssociationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "ListPermissionAssociations", {})
|
|
17
13
|
.n("RAMClient", "ListPermissionAssociationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPermissionAssociationsCommand)
|
|
20
|
-
.de(de_ListPermissionAssociationsCommand)
|
|
14
|
+
.sc(ListPermissionAssociations)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPermissionVersions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPermissionVersionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "ListPermissionVersions", {})
|
|
17
13
|
.n("RAMClient", "ListPermissionVersionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPermissionVersionsCommand)
|
|
20
|
-
.de(de_ListPermissionVersionsCommand)
|
|
14
|
+
.sc(ListPermissionVersions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPermissions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPermissionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "ListPermissions", {})
|
|
17
13
|
.n("RAMClient", "ListPermissionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPermissionsCommand)
|
|
20
|
-
.de(de_ListPermissionsCommand)
|
|
14
|
+
.sc(ListPermissions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPrincipals } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPrincipalsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonResourceSharing", "ListPrincipals", {})
|
|
17
13
|
.n("RAMClient", "ListPrincipalsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPrincipalsCommand)
|
|
20
|
-
.de(de_ListPrincipalsCommand)
|
|
14
|
+
.sc(ListPrincipals)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|