@aws-sdk/client-ram 3.477.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-cjs/pagination/GetResourcePoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/GetResourceShareAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/GetResourceShareInvitationsPaginator.js +2 -24
- package/dist-cjs/pagination/GetResourceSharesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPendingInvitationResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPrincipalsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReplacePermissionAssociationsWorkPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourceSharePermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourceTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourcesPaginator.js +2 -24
- 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-es/pagination/GetResourcePoliciesPaginator.js +2 -23
- package/dist-es/pagination/GetResourceShareAssociationsPaginator.js +2 -23
- package/dist-es/pagination/GetResourceShareInvitationsPaginator.js +2 -23
- package/dist-es/pagination/GetResourceSharesPaginator.js +2 -23
- package/dist-es/pagination/ListPendingInvitationResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListPrincipalsPaginator.js +2 -23
- package/dist-es/pagination/ListReplacePermissionAssociationsWorkPaginator.js +2 -23
- package/dist-es/pagination/ListResourceSharePermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListResourceTypesPaginator.js +2 -23
- package/dist-es/pagination/ListResourcesPaginator.js +2 -23
- 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/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourceShareAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourceShareInvitationsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourceSharesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPendingInvitationResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceSharePermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourcesPaginator.d.ts +1 -1
- 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/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetResourceShareAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetResourceShareInvitationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetResourceSharesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPendingInvitationResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPrincipalsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourceSharePermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourceTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -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,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetResourcePoliciesCommand, } from "../commands/GetResourcePoliciesCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetResourcePoliciesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetResourcePolicies(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetResourcePolicies = createPaginator(RAMClient, GetResourcePoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetResourceShareAssociationsCommand, } from "../commands/GetResourceShareAssociationsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetResourceShareAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetResourceShareAssociations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetResourceShareAssociations = createPaginator(RAMClient, GetResourceShareAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetResourceShareInvitationsCommand, } from "../commands/GetResourceShareInvitationsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetResourceShareInvitationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetResourceShareInvitations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetResourceShareInvitations = createPaginator(RAMClient, GetResourceShareInvitationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetResourceSharesCommand, } from "../commands/GetResourceSharesCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetResourceSharesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetResourceShares(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetResourceShares = createPaginator(RAMClient, GetResourceSharesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPendingInvitationResourcesCommand, } from "../commands/ListPendingInvitationResourcesCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPendingInvitationResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPendingInvitationResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPendingInvitationResources = createPaginator(RAMClient, ListPendingInvitationResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionAssociationsCommand, } from "../commands/ListPermissionAssociationsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionAssociationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissionAssociations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPermissionAssociations = createPaginator(RAMClient, ListPermissionAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionVersionsCommand, } from "../commands/ListPermissionVersionsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissionVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPermissionVersions = createPaginator(RAMClient, ListPermissionVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionsCommand, } from "../commands/ListPermissionsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPermissions = createPaginator(RAMClient, ListPermissionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPrincipalsCommand, } from "../commands/ListPrincipalsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPrincipalsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPrincipals(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPrincipals = createPaginator(RAMClient, ListPrincipalsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReplacePermissionAssociationsWorkCommand, } from "../commands/ListReplacePermissionAssociationsWorkCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReplacePermissionAssociationsWorkCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReplacePermissionAssociationsWork(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListReplacePermissionAssociationsWork = createPaginator(RAMClient, ListReplacePermissionAssociationsWorkCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourceSharePermissionsCommand, } from "../commands/ListResourceSharePermissionsCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourceSharePermissionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResourceSharePermissions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResourceSharePermissions = createPaginator(RAMClient, ListResourceSharePermissionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourceTypesCommand, } from "../commands/ListResourceTypesCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourceTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResourceTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResourceTypes = createPaginator(RAMClient, ListResourceTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourcesCommand, } from "../commands/ListResourcesCommand";
|
|
2
3
|
import { RAMClient } from "../RAMClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof RAMClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected RAM | RAMClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResources = createPaginator(RAMClient, ListResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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
|
}
|