@aws-sdk/client-ram 3.928.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 +2 -2
- 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
|
@@ -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 { ListReplacePermissionAssociationsWork } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListReplacePermissionAssociationsWorkCommand 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", "ListReplacePermissionAssociationsWork", {})
|
|
17
13
|
.n("RAMClient", "ListReplacePermissionAssociationsWorkCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListReplacePermissionAssociationsWorkCommand)
|
|
20
|
-
.de(de_ListReplacePermissionAssociationsWorkCommand)
|
|
14
|
+
.sc(ListReplacePermissionAssociationsWork)
|
|
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 { ListResourceSharePermissions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListResourceSharePermissionsCommand 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", "ListResourceSharePermissions", {})
|
|
17
13
|
.n("RAMClient", "ListResourceSharePermissionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListResourceSharePermissionsCommand)
|
|
20
|
-
.de(de_ListResourceSharePermissionsCommand)
|
|
14
|
+
.sc(ListResourceSharePermissions)
|
|
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 { ListResourceTypes } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListResourceTypesCommand 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", "ListResourceTypes", {})
|
|
17
13
|
.n("RAMClient", "ListResourceTypesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListResourceTypesCommand)
|
|
20
|
-
.de(de_ListResourceTypesCommand)
|
|
14
|
+
.sc(ListResourceTypes)
|
|
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 { ListResources } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListResourcesCommand 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", "ListResources", {})
|
|
17
13
|
.n("RAMClient", "ListResourcesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListResourcesCommand)
|
|
20
|
-
.de(de_ListResourcesCommand)
|
|
14
|
+
.sc(ListResources)
|
|
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 { PromotePermissionCreatedFromPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PromotePermissionCreatedFromPolicyCommand 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", "PromotePermissionCreatedFromPolicy", {})
|
|
17
13
|
.n("RAMClient", "PromotePermissionCreatedFromPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PromotePermissionCreatedFromPolicyCommand)
|
|
20
|
-
.de(de_PromotePermissionCreatedFromPolicyCommand)
|
|
14
|
+
.sc(PromotePermissionCreatedFromPolicy)
|
|
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 { PromoteResourceShareCreatedFromPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PromoteResourceShareCreatedFromPolicyCommand 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", "PromoteResourceShareCreatedFromPolicy", {})
|
|
17
13
|
.n("RAMClient", "PromoteResourceShareCreatedFromPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PromoteResourceShareCreatedFromPolicyCommand)
|
|
20
|
-
.de(de_PromoteResourceShareCreatedFromPolicyCommand)
|
|
14
|
+
.sc(PromoteResourceShareCreatedFromPolicy)
|
|
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 { RejectResourceShareInvitation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RejectResourceShareInvitationCommand 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", "RejectResourceShareInvitation", {})
|
|
17
13
|
.n("RAMClient", "RejectResourceShareInvitationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RejectResourceShareInvitationCommand)
|
|
20
|
-
.de(de_RejectResourceShareInvitationCommand)
|
|
14
|
+
.sc(RejectResourceShareInvitation)
|
|
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 { ReplacePermissionAssociations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ReplacePermissionAssociationsCommand 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", "ReplacePermissionAssociations", {})
|
|
17
13
|
.n("RAMClient", "ReplacePermissionAssociationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ReplacePermissionAssociationsCommand)
|
|
20
|
-
.de(de_ReplacePermissionAssociationsCommand)
|
|
14
|
+
.sc(ReplacePermissionAssociations)
|
|
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 { SetDefaultPermissionVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetDefaultPermissionVersionCommand 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", "SetDefaultPermissionVersion", {})
|
|
17
13
|
.n("RAMClient", "SetDefaultPermissionVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetDefaultPermissionVersionCommand)
|
|
20
|
-
.de(de_SetDefaultPermissionVersionCommand)
|
|
14
|
+
.sc(SetDefaultPermissionVersion)
|
|
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 { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand 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", "TagResource", {})
|
|
17
13
|
.n("RAMClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
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 { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand 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", "UntagResource", {})
|
|
17
13
|
.n("RAMClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
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 { UpdateResourceShare } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResourceShareCommand 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", "UpdateResourceShare", {})
|
|
17
13
|
.n("RAMClient", "UpdateResourceShareCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResourceShareCommand)
|
|
20
|
-
.de(de_UpdateResourceShareCommand)
|
|
14
|
+
.sc(UpdateResourceShare)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ram" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "RAM",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|