@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_AssociateResourceSharePermissionCommand, se_AssociateResourceSharePermissionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AssociateResourceSharePermissionCommand 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 = "AssociateResourceSharePermissionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "AssociateResourceSharePermission",
|
|
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_AssociateResourceSharePermissionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AssociateResourceSharePermissionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AssociateResourceSharePermissionCommand 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", "AssociateResourceSharePermission", {})
|
|
19
|
+
.n("RAMClient", "AssociateResourceSharePermissionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AssociateResourceSharePermissionCommand)
|
|
22
|
+
.de(de_AssociateResourceSharePermissionCommand)
|
|
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_CreatePermissionCommand, se_CreatePermissionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreatePermissionCommand 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 = "CreatePermissionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "CreatePermission",
|
|
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_CreatePermissionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreatePermissionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreatePermissionCommand 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", "CreatePermission", {})
|
|
19
|
+
.n("RAMClient", "CreatePermissionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreatePermissionCommand)
|
|
22
|
+
.de(de_CreatePermissionCommand)
|
|
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_CreatePermissionVersionCommand, se_CreatePermissionVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreatePermissionVersionCommand 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 = "CreatePermissionVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "CreatePermissionVersion",
|
|
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_CreatePermissionVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreatePermissionVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreatePermissionVersionCommand 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", "CreatePermissionVersion", {})
|
|
19
|
+
.n("RAMClient", "CreatePermissionVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreatePermissionVersionCommand)
|
|
22
|
+
.de(de_CreatePermissionVersionCommand)
|
|
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_CreateResourceShareCommand, se_CreateResourceShareCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateResourceShareCommand 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 = "CreateResourceShareCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "CreateResourceShare",
|
|
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_CreateResourceShareCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateResourceShareCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateResourceShareCommand 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", "CreateResourceShare", {})
|
|
19
|
+
.n("RAMClient", "CreateResourceShareCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateResourceShareCommand)
|
|
22
|
+
.de(de_CreateResourceShareCommand)
|
|
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_DeletePermissionCommand, se_DeletePermissionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeletePermissionCommand 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 = "DeletePermissionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "DeletePermission",
|
|
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_DeletePermissionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeletePermissionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeletePermissionCommand 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", "DeletePermission", {})
|
|
19
|
+
.n("RAMClient", "DeletePermissionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeletePermissionCommand)
|
|
22
|
+
.de(de_DeletePermissionCommand)
|
|
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_DeletePermissionVersionCommand, se_DeletePermissionVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeletePermissionVersionCommand 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 = "DeletePermissionVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "DeletePermissionVersion",
|
|
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_DeletePermissionVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeletePermissionVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeletePermissionVersionCommand 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", "DeletePermissionVersion", {})
|
|
19
|
+
.n("RAMClient", "DeletePermissionVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeletePermissionVersionCommand)
|
|
22
|
+
.de(de_DeletePermissionVersionCommand)
|
|
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_DeleteResourceShareCommand, se_DeleteResourceShareCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteResourceShareCommand 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 = "DeleteResourceShareCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "DeleteResourceShare",
|
|
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_DeleteResourceShareCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteResourceShareCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteResourceShareCommand 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", "DeleteResourceShare", {})
|
|
19
|
+
.n("RAMClient", "DeleteResourceShareCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteResourceShareCommand)
|
|
22
|
+
.de(de_DeleteResourceShareCommand)
|
|
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_DisassociateResourceShareCommand, se_DisassociateResourceShareCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DisassociateResourceShareCommand 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 = "DisassociateResourceShareCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "DisassociateResourceShare",
|
|
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_DisassociateResourceShareCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DisassociateResourceShareCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DisassociateResourceShareCommand 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", "DisassociateResourceShare", {})
|
|
19
|
+
.n("RAMClient", "DisassociateResourceShareCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DisassociateResourceShareCommand)
|
|
22
|
+
.de(de_DisassociateResourceShareCommand)
|
|
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_DisassociateResourceSharePermissionCommand, se_DisassociateResourceSharePermissionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DisassociateResourceSharePermissionCommand 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 = "DisassociateResourceSharePermissionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonResourceSharing",
|
|
35
|
-
operation: "DisassociateResourceSharePermission",
|
|
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_DisassociateResourceSharePermissionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DisassociateResourceSharePermissionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DisassociateResourceSharePermissionCommand 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", "DisassociateResourceSharePermission", {})
|
|
19
|
+
.n("RAMClient", "DisassociateResourceSharePermissionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DisassociateResourceSharePermissionCommand)
|
|
22
|
+
.de(de_DisassociateResourceSharePermissionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|