@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
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ReplacePermissionAssociationsCommand, se_ReplacePermissionAssociationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ReplacePermissionAssociationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RAMClient";
|
|
26
|
-
const commandName = "ReplacePermissionAssociationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "ReplacePermissionAssociations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ReplacePermissionAssociationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ReplacePermissionAssociationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ReplacePermissionAssociationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonResourceSharing", "ReplacePermissionAssociations", {})
|
|
19
|
+
.n("RAMClient", "ReplacePermissionAssociationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ReplacePermissionAssociationsCommand)
|
|
22
|
+
.de(de_ReplacePermissionAssociationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SetDefaultPermissionVersionCommand, se_SetDefaultPermissionVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SetDefaultPermissionVersionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RAMClient";
|
|
26
|
-
const commandName = "SetDefaultPermissionVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "SetDefaultPermissionVersion",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SetDefaultPermissionVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SetDefaultPermissionVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SetDefaultPermissionVersionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonResourceSharing", "SetDefaultPermissionVersion", {})
|
|
19
|
+
.n("RAMClient", "SetDefaultPermissionVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SetDefaultPermissionVersionCommand)
|
|
22
|
+
.de(de_SetDefaultPermissionVersionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RAMClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonResourceSharing", "TagResource", {})
|
|
19
|
+
.n("RAMClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RAMClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonResourceSharing", "UntagResource", {})
|
|
19
|
+
.n("RAMClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateResourceShareCommand, se_UpdateResourceShareCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateResourceShareCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "RAMClient";
|
|
26
|
-
const commandName = "UpdateResourceShareCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "UpdateResourceShare",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateResourceShareCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateResourceShareCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateResourceShareCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonResourceSharing", "UpdateResourceShare", {})
|
|
19
|
+
.n("RAMClient", "UpdateResourceShareCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateResourceShareCommand)
|
|
22
|
+
.de(de_UpdateResourceShareCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "ram",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AcceptResourceShareInvitationRequest, AcceptResourceShareInvitationResponse } from "../models/models_0";
|
|
5
4
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AcceptResourceShareInvitationCommandInput extends AcceptResourc
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AcceptResourceShareInvitationCommandOutput extends AcceptResourceShareInvitationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AcceptResourceShareInvitationCommand_base: {
|
|
24
|
+
new (input: AcceptResourceShareInvitationCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput, RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the
|
|
@@ -113,23 +116,5 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
113
116
|
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
114
117
|
*
|
|
115
118
|
*/
|
|
116
|
-
export declare class AcceptResourceShareInvitationCommand extends
|
|
117
|
-
readonly input: AcceptResourceShareInvitationCommandInput;
|
|
118
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
119
|
-
/**
|
|
120
|
-
* @public
|
|
121
|
-
*/
|
|
122
|
-
constructor(input: AcceptResourceShareInvitationCommandInput);
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput>;
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
private serialize;
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
private deserialize;
|
|
119
|
+
export declare class AcceptResourceShareInvitationCommand extends AcceptResourceShareInvitationCommand_base {
|
|
135
120
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AssociateResourceShareRequest, AssociateResourceShareResponse } from "../models/models_0";
|
|
5
4
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateResourceShareCommandInput extends AssociateResourceSha
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateResourceShareCommandOutput extends AssociateResourceShareResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateResourceShareCommand_base: {
|
|
24
|
+
new (input: AssociateResourceShareCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput, RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Adds the specified list of principals and list of resources to a resource share. Principals that
|
|
@@ -117,23 +120,5 @@ export interface AssociateResourceShareCommandOutput extends AssociateResourceSh
|
|
|
117
120
|
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
118
121
|
*
|
|
119
122
|
*/
|
|
120
|
-
export declare class AssociateResourceShareCommand extends
|
|
121
|
-
readonly input: AssociateResourceShareCommandInput;
|
|
122
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
123
|
-
/**
|
|
124
|
-
* @public
|
|
125
|
-
*/
|
|
126
|
-
constructor(input: AssociateResourceShareCommandInput);
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput>;
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
private serialize;
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
private deserialize;
|
|
123
|
+
export declare class AssociateResourceShareCommand extends AssociateResourceShareCommand_base {
|
|
139
124
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AssociateResourceSharePermissionRequest, AssociateResourceSharePermissionResponse } from "../models/models_0";
|
|
5
4
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateResourceSharePermissionCommandInput extends AssociateR
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateResourceSharePermissionCommandOutput extends AssociateResourceSharePermissionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateResourceSharePermissionCommand_base: {
|
|
24
|
+
new (input: AssociateResourceSharePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput, RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Adds or replaces the RAM permission for a resource type included in a resource share. You can
|
|
@@ -82,23 +85,5 @@ export interface AssociateResourceSharePermissionCommandOutput extends Associate
|
|
|
82
85
|
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
83
86
|
*
|
|
84
87
|
*/
|
|
85
|
-
export declare class AssociateResourceSharePermissionCommand extends
|
|
86
|
-
readonly input: AssociateResourceSharePermissionCommandInput;
|
|
87
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
-
/**
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
constructor(input: AssociateResourceSharePermissionCommandInput);
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput>;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private serialize;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
private deserialize;
|
|
88
|
+
export declare class AssociateResourceSharePermissionCommand extends AssociateResourceSharePermissionCommand_base {
|
|
104
89
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreatePermissionRequest, CreatePermissionResponse } from "../models/models_0";
|
|
5
4
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreatePermissionCommandInput extends CreatePermissionRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreatePermissionCommandOutput extends CreatePermissionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreatePermissionCommand_base: {
|
|
24
|
+
new (input: CreatePermissionCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePermissionCommandInput, CreatePermissionCommandOutput, RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a customer managed permission for a specified resource type that you can attach to resource shares.
|
|
@@ -116,23 +119,5 @@ export interface CreatePermissionCommandOutput extends CreatePermissionResponse,
|
|
|
116
119
|
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
117
120
|
*
|
|
118
121
|
*/
|
|
119
|
-
export declare class CreatePermissionCommand extends
|
|
120
|
-
readonly input: CreatePermissionCommandInput;
|
|
121
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
122
|
-
/**
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
constructor(input: CreatePermissionCommandInput);
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePermissionCommandInput, CreatePermissionCommandOutput>;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
private serialize;
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
private deserialize;
|
|
122
|
+
export declare class CreatePermissionCommand extends CreatePermissionCommand_base {
|
|
138
123
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreatePermissionVersionRequest, CreatePermissionVersionResponse } from "../models/models_0";
|
|
5
4
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreatePermissionVersionCommandInput extends CreatePermissionVer
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreatePermissionVersionCommandOutput extends CreatePermissionVersionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreatePermissionVersionCommand_base: {
|
|
24
|
+
new (input: CreatePermissionVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePermissionVersionCommandInput, CreatePermissionVersionCommandOutput, RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new version of the specified customer managed permission. The new version is automatically set as
|
|
@@ -114,23 +117,5 @@ export interface CreatePermissionVersionCommandOutput extends CreatePermissionVe
|
|
|
114
117
|
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
115
118
|
*
|
|
116
119
|
*/
|
|
117
|
-
export declare class CreatePermissionVersionCommand extends
|
|
118
|
-
readonly input: CreatePermissionVersionCommandInput;
|
|
119
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
constructor(input: CreatePermissionVersionCommandInput);
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePermissionVersionCommandInput, CreatePermissionVersionCommandOutput>;
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
private serialize;
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
private deserialize;
|
|
120
|
+
export declare class CreatePermissionVersionCommand extends CreatePermissionVersionCommand_base {
|
|
136
121
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateResourceShareRequest, CreateResourceShareResponse } from "../models/models_0";
|
|
5
4
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateResourceShareCommandInput extends CreateResourceShareRequ
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateResourceShareCommandOutput extends CreateResourceShareResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateResourceShareCommand_base: {
|
|
24
|
+
new (input: CreateResourceShareCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceShareCommandInput, CreateResourceShareCommandOutput, RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a resource share. You can provide a list of the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> for the resources that you
|
|
@@ -140,23 +143,5 @@ export interface CreateResourceShareCommandOutput extends CreateResourceShareRes
|
|
|
140
143
|
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
141
144
|
*
|
|
142
145
|
*/
|
|
143
|
-
export declare class CreateResourceShareCommand extends
|
|
144
|
-
readonly input: CreateResourceShareCommandInput;
|
|
145
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
constructor(input: CreateResourceShareCommandInput);
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateResourceShareCommandInput, CreateResourceShareCommandOutput>;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
*/
|
|
157
|
-
private serialize;
|
|
158
|
-
/**
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
private deserialize;
|
|
146
|
+
export declare class CreateResourceShareCommand extends CreateResourceShareCommand_base {
|
|
162
147
|
}
|