@aws-sdk/client-identitystore 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/CreateGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateGroupMembershipCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteGroupMembershipCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeGroupCommand.js +18 -41
- package/dist-cjs/commands/DescribeGroupMembershipCommand.js +18 -41
- package/dist-cjs/commands/DescribeUserCommand.js +18 -41
- package/dist-cjs/commands/GetGroupIdCommand.js +18 -41
- package/dist-cjs/commands/GetGroupMembershipIdCommand.js +18 -41
- package/dist-cjs/commands/GetUserIdCommand.js +18 -41
- package/dist-cjs/commands/IsMemberInGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListGroupMembershipsCommand.js +18 -41
- package/dist-cjs/commands/ListGroupMembershipsForMemberCommand.js +18 -41
- package/dist-cjs/commands/ListGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListUsersCommand.js +18 -41
- package/dist-cjs/commands/UpdateGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListGroupMembershipsForMemberPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupMembershipsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-es/commands/CreateGroupCommand.js +18 -41
- package/dist-es/commands/CreateGroupMembershipCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/DeleteGroupCommand.js +18 -41
- package/dist-es/commands/DeleteGroupMembershipCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DescribeGroupCommand.js +18 -41
- package/dist-es/commands/DescribeGroupMembershipCommand.js +18 -41
- package/dist-es/commands/DescribeUserCommand.js +18 -41
- package/dist-es/commands/GetGroupIdCommand.js +18 -41
- package/dist-es/commands/GetGroupMembershipIdCommand.js +18 -41
- package/dist-es/commands/GetUserIdCommand.js +18 -41
- package/dist-es/commands/IsMemberInGroupsCommand.js +18 -41
- package/dist-es/commands/ListGroupMembershipsCommand.js +18 -41
- package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +18 -41
- package/dist-es/commands/ListGroupsCommand.js +18 -41
- package/dist-es/commands/ListUsersCommand.js +18 -41
- package/dist-es/commands/UpdateGroupCommand.js +18 -41
- package/dist-es/commands/UpdateUserCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListGroupMembershipsForMemberPaginator.js +2 -23
- package/dist-es/pagination/ListGroupMembershipsPaginator.js +2 -23
- package/dist-es/pagination/ListGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-types/commands/CreateGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateGroupMembershipCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUserCommand.d.ts +6 -21
- package/dist-types/commands/GetGroupIdCommand.d.ts +6 -21
- package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +6 -21
- package/dist-types/commands/GetUserIdCommand.d.ts +6 -21
- package/dist-types/commands/IsMemberInGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupMembershipsCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListUsersCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListGroupMembershipsForMemberPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupMembershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateGroupMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteGroupMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetGroupIdCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetGroupMembershipIdCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetUserIdCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/IsMemberInGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGroupMembershipsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGroupMembershipsForMemberCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListGroupMembershipsForMemberPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupMembershipsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,48 +1,25 @@
|
|
|
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 { ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListGroupsCommand, se_ListGroupsCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListGroupsCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "IdentitystoreClient";
|
|
27
|
-
const commandName = "ListGroupsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ListGroupsRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ListGroupsResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSIdentityStore",
|
|
36
|
-
operation: "ListGroups",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListGroupsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListGroupsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListGroupsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSIdentityStore", "ListGroups", {})
|
|
20
|
+
.n("IdentitystoreClient", "ListGroupsCommand")
|
|
21
|
+
.f(ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListGroupsCommand)
|
|
23
|
+
.de(de_ListGroupsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
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 { ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_ListUsersCommand, se_ListUsersCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ListUsersCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "IdentitystoreClient";
|
|
27
|
-
const commandName = "ListUsersCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: ListUsersRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: ListUsersResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSIdentityStore",
|
|
36
|
-
operation: "ListUsers",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_ListUsersCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListUsersCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class ListUsersCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSIdentityStore", "ListUsers", {})
|
|
20
|
+
.n("IdentitystoreClient", "ListUsersCommand")
|
|
21
|
+
.f(ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListUsersCommand)
|
|
23
|
+
.de(de_ListUsersCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -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_UpdateGroupCommand, se_UpdateGroupCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateGroupCommand 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 = "IdentitystoreClient";
|
|
26
|
-
const commandName = "UpdateGroupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSIdentityStore",
|
|
35
|
-
operation: "UpdateGroup",
|
|
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_UpdateGroupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateGroupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateGroupCommand 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("AWSIdentityStore", "UpdateGroup", {})
|
|
19
|
+
.n("IdentitystoreClient", "UpdateGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateGroupCommand)
|
|
22
|
+
.de(de_UpdateGroupCommand)
|
|
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_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateUserCommand 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 = "IdentitystoreClient";
|
|
26
|
-
const commandName = "UpdateUserCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSIdentityStore",
|
|
35
|
-
operation: "UpdateUser",
|
|
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_UpdateUserCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateUserCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateUserCommand 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("AWSIdentityStore", "UpdateUser", {})
|
|
19
|
+
.n("IdentitystoreClient", "UpdateUserCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateUserCommand)
|
|
22
|
+
.de(de_UpdateUserCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "identitystore",
|
|
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 { ListGroupMembershipsForMemberCommand, } from "../commands/ListGroupMembershipsForMemberCommand";
|
|
2
3
|
import { IdentitystoreClient } from "../IdentitystoreClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupMembershipsForMemberCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroupMembershipsForMember(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 IdentitystoreClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Identitystore | IdentitystoreClient");
|
|
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 paginateListGroupMembershipsForMember = createPaginator(IdentitystoreClient, ListGroupMembershipsForMemberCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupMembershipsCommand, } from "../commands/ListGroupMembershipsCommand";
|
|
2
3
|
import { IdentitystoreClient } from "../IdentitystoreClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupMembershipsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroupMemberships(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 IdentitystoreClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Identitystore | IdentitystoreClient");
|
|
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 paginateListGroupMemberships = createPaginator(IdentitystoreClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
2
3
|
import { IdentitystoreClient } from "../IdentitystoreClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroups(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 IdentitystoreClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Identitystore | IdentitystoreClient");
|
|
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 paginateListGroups = createPaginator(IdentitystoreClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListUsersCommand } from "../commands/ListUsersCommand";
|
|
2
3
|
import { IdentitystoreClient } from "../IdentitystoreClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListUsersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListUsers(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 IdentitystoreClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Identitystore | IdentitystoreClient");
|
|
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 paginateListUsers = createPaginator(IdentitystoreClient, ListUsersCommand, "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 { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
|
|
5
4
|
import { CreateGroupRequest, CreateGroupResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateGroupCommandInput extends CreateGroupRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateGroupCommandOutput extends CreateGroupResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateGroupCommand_base: {
|
|
24
|
+
new (input: CreateGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGroupCommandInput, CreateGroupCommandOutput, IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a group within the specified identity store.</p>
|
|
@@ -83,23 +86,5 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
|
|
|
83
86
|
* <p>Base exception class for all service exceptions from Identitystore service.</p>
|
|
84
87
|
*
|
|
85
88
|
*/
|
|
86
|
-
export declare class CreateGroupCommand extends
|
|
87
|
-
readonly input: CreateGroupCommandInput;
|
|
88
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
89
|
-
/**
|
|
90
|
-
* @public
|
|
91
|
-
*/
|
|
92
|
-
constructor(input: CreateGroupCommandInput);
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGroupCommandInput, CreateGroupCommandOutput>;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
private serialize;
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
private deserialize;
|
|
89
|
+
export declare class CreateGroupCommand extends CreateGroupCommand_base {
|
|
105
90
|
}
|
|
@@ -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 { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
|
|
5
4
|
import { CreateGroupMembershipRequest, CreateGroupMembershipResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateGroupMembershipCommandInput extends CreateGroupMembership
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateGroupMembershipCommandOutput extends CreateGroupMembershipResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateGroupMembershipCommand_base: {
|
|
24
|
+
new (input: CreateGroupMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGroupMembershipCommandInput, CreateGroupMembershipCommandOutput, IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a relationship between a member and a group. The following identifiers must be specified: <code>GroupId</code>, <code>IdentityStoreId</code>, and <code>MemberId</code>.</p>
|
|
@@ -85,23 +88,5 @@ export interface CreateGroupMembershipCommandOutput extends CreateGroupMembershi
|
|
|
85
88
|
* <p>Base exception class for all service exceptions from Identitystore service.</p>
|
|
86
89
|
*
|
|
87
90
|
*/
|
|
88
|
-
export declare class CreateGroupMembershipCommand extends
|
|
89
|
-
readonly input: CreateGroupMembershipCommandInput;
|
|
90
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
constructor(input: CreateGroupMembershipCommandInput);
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGroupMembershipCommandInput, CreateGroupMembershipCommandOutput>;
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
private serialize;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
private deserialize;
|
|
91
|
+
export declare class CreateGroupMembershipCommand extends CreateGroupMembershipCommand_base {
|
|
107
92
|
}
|
|
@@ -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 { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
|
|
5
4
|
import { CreateUserRequest, CreateUserResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateUserCommandInput extends CreateUserRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateUserCommand_base: {
|
|
24
|
+
new (input: CreateUserCommandInput): import("@smithy/smithy-client").CommandImpl<CreateUserCommandInput, CreateUserCommandOutput, IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a user within the specified identity store.</p>
|
|
@@ -124,23 +127,5 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
124
127
|
* <p>Base exception class for all service exceptions from Identitystore service.</p>
|
|
125
128
|
*
|
|
126
129
|
*/
|
|
127
|
-
export declare class CreateUserCommand extends
|
|
128
|
-
readonly input: CreateUserCommandInput;
|
|
129
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
constructor(input: CreateUserCommandInput);
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateUserCommandInput, CreateUserCommandOutput>;
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
private serialize;
|
|
142
|
-
/**
|
|
143
|
-
* @internal
|
|
144
|
-
*/
|
|
145
|
-
private deserialize;
|
|
130
|
+
export declare class CreateUserCommand extends CreateUserCommand_base {
|
|
146
131
|
}
|
|
@@ -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 { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
|
|
5
4
|
import { DeleteGroupRequest, DeleteGroupResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteGroupCommandInput extends DeleteGroupRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteGroupCommandOutput extends DeleteGroupResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteGroupCommand_base: {
|
|
24
|
+
new (input: DeleteGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteGroupCommandInput, DeleteGroupCommandOutput, IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Delete a group within an identity store given <code>GroupId</code>.</p>
|
|
@@ -76,23 +79,5 @@ export interface DeleteGroupCommandOutput extends DeleteGroupResponse, __Metadat
|
|
|
76
79
|
* <p>Base exception class for all service exceptions from Identitystore service.</p>
|
|
77
80
|
*
|
|
78
81
|
*/
|
|
79
|
-
export declare class DeleteGroupCommand extends
|
|
80
|
-
readonly input: DeleteGroupCommandInput;
|
|
81
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
constructor(input: DeleteGroupCommandInput);
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGroupCommandInput, DeleteGroupCommandOutput>;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private serialize;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
private deserialize;
|
|
82
|
+
export declare class DeleteGroupCommand extends DeleteGroupCommand_base {
|
|
98
83
|
}
|
|
@@ -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 { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
|
|
5
4
|
import { DeleteGroupMembershipRequest, DeleteGroupMembershipResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteGroupMembershipCommandInput extends DeleteGroupMembership
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteGroupMembershipCommandOutput extends DeleteGroupMembershipResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteGroupMembershipCommand_base: {
|
|
24
|
+
new (input: DeleteGroupMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteGroupMembershipCommandInput, DeleteGroupMembershipCommandOutput, IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Delete a membership within a group given <code>MembershipId</code>.</p>
|
|
@@ -76,23 +79,5 @@ export interface DeleteGroupMembershipCommandOutput extends DeleteGroupMembershi
|
|
|
76
79
|
* <p>Base exception class for all service exceptions from Identitystore service.</p>
|
|
77
80
|
*
|
|
78
81
|
*/
|
|
79
|
-
export declare class DeleteGroupMembershipCommand extends
|
|
80
|
-
readonly input: DeleteGroupMembershipCommandInput;
|
|
81
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
constructor(input: DeleteGroupMembershipCommandInput);
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGroupMembershipCommandInput, DeleteGroupMembershipCommandOutput>;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private serialize;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
private deserialize;
|
|
82
|
+
export declare class DeleteGroupMembershipCommand extends DeleteGroupMembershipCommand_base {
|
|
98
83
|
}
|