@aws-sdk/client-identitystore 3.160.0 → 3.163.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +9 -18
  3. package/dist-cjs/Identitystore.js +225 -0
  4. package/dist-cjs/commands/CreateGroupCommand.js +36 -0
  5. package/dist-cjs/commands/CreateGroupMembershipCommand.js +36 -0
  6. package/dist-cjs/commands/CreateUserCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteGroupCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteGroupMembershipCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteUserCommand.js +36 -0
  10. package/dist-cjs/commands/DescribeGroupMembershipCommand.js +36 -0
  11. package/dist-cjs/commands/GetGroupIdCommand.js +36 -0
  12. package/dist-cjs/commands/GetGroupMembershipIdCommand.js +36 -0
  13. package/dist-cjs/commands/GetUserIdCommand.js +36 -0
  14. package/dist-cjs/commands/IsMemberInGroupsCommand.js +36 -0
  15. package/dist-cjs/commands/ListGroupMembershipsCommand.js +36 -0
  16. package/dist-cjs/commands/ListGroupMembershipsForMemberCommand.js +36 -0
  17. package/dist-cjs/commands/UpdateGroupCommand.js +36 -0
  18. package/dist-cjs/commands/UpdateUserCommand.js +36 -0
  19. package/dist-cjs/commands/index.js +15 -0
  20. package/dist-cjs/endpoints.js +1 -0
  21. package/dist-cjs/models/models_0.js +360 -35
  22. package/dist-cjs/pagination/ListGroupMembershipsForMemberPaginator.js +36 -0
  23. package/dist-cjs/pagination/ListGroupMembershipsPaginator.js +36 -0
  24. package/dist-cjs/pagination/index.js +2 -0
  25. package/dist-cjs/protocols/Aws_json1_1.js +1475 -93
  26. package/dist-es/Identitystore.js +225 -0
  27. package/dist-es/commands/CreateGroupCommand.js +39 -0
  28. package/dist-es/commands/CreateGroupMembershipCommand.js +39 -0
  29. package/dist-es/commands/CreateUserCommand.js +39 -0
  30. package/dist-es/commands/DeleteGroupCommand.js +39 -0
  31. package/dist-es/commands/DeleteGroupMembershipCommand.js +39 -0
  32. package/dist-es/commands/DeleteUserCommand.js +39 -0
  33. package/dist-es/commands/DescribeGroupMembershipCommand.js +39 -0
  34. package/dist-es/commands/GetGroupIdCommand.js +39 -0
  35. package/dist-es/commands/GetGroupMembershipIdCommand.js +39 -0
  36. package/dist-es/commands/GetUserIdCommand.js +39 -0
  37. package/dist-es/commands/IsMemberInGroupsCommand.js +39 -0
  38. package/dist-es/commands/ListGroupMembershipsCommand.js +39 -0
  39. package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +39 -0
  40. package/dist-es/commands/UpdateGroupCommand.js +39 -0
  41. package/dist-es/commands/UpdateUserCommand.js +39 -0
  42. package/dist-es/commands/index.js +15 -0
  43. package/dist-es/endpoints.js +1 -0
  44. package/dist-es/models/models_0.js +156 -34
  45. package/dist-es/pagination/ListGroupMembershipsForMemberPaginator.js +75 -0
  46. package/dist-es/pagination/ListGroupMembershipsPaginator.js +75 -0
  47. package/dist-es/pagination/index.js +2 -0
  48. package/dist-es/protocols/Aws_json1_1.js +1675 -50
  49. package/dist-types/Identitystore.d.ts +117 -23
  50. package/dist-types/IdentitystoreClient.d.ts +19 -13
  51. package/dist-types/commands/CreateGroupCommand.d.ts +35 -0
  52. package/dist-types/commands/CreateGroupMembershipCommand.d.ts +35 -0
  53. package/dist-types/commands/CreateUserCommand.d.ts +35 -0
  54. package/dist-types/commands/DeleteGroupCommand.d.ts +35 -0
  55. package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +35 -0
  56. package/dist-types/commands/DeleteUserCommand.d.ts +35 -0
  57. package/dist-types/commands/DescribeGroupCommand.d.ts +1 -2
  58. package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +35 -0
  59. package/dist-types/commands/DescribeUserCommand.d.ts +1 -2
  60. package/dist-types/commands/GetGroupIdCommand.d.ts +35 -0
  61. package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +35 -0
  62. package/dist-types/commands/GetUserIdCommand.d.ts +35 -0
  63. package/dist-types/commands/IsMemberInGroupsCommand.d.ts +35 -0
  64. package/dist-types/commands/ListGroupMembershipsCommand.d.ts +35 -0
  65. package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +35 -0
  66. package/dist-types/commands/ListGroupsCommand.d.ts +4 -4
  67. package/dist-types/commands/ListUsersCommand.d.ts +4 -4
  68. package/dist-types/commands/UpdateGroupCommand.d.ts +35 -0
  69. package/dist-types/commands/UpdateUserCommand.d.ts +35 -0
  70. package/dist-types/commands/index.d.ts +15 -0
  71. package/dist-types/models/models_0.d.ts +1097 -127
  72. package/dist-types/pagination/ListGroupMembershipsForMemberPaginator.d.ts +4 -0
  73. package/dist-types/pagination/ListGroupMembershipsPaginator.d.ts +4 -0
  74. package/dist-types/pagination/index.d.ts +2 -0
  75. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  76. package/dist-types/ts3.4/Identitystore.d.ts +75 -0
  77. package/dist-types/ts3.4/IdentitystoreClient.d.ts +17 -2
  78. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/CreateGroupMembershipCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/DeleteGroupMembershipCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/DescribeGroupMembershipCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/GetGroupIdCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetGroupMembershipIdCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetUserIdCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/IsMemberInGroupsCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListGroupMembershipsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListGroupMembershipsForMemberCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  94. package/dist-types/ts3.4/models/models_0.d.ts +565 -29
  95. package/dist-types/ts3.4/pagination/ListGroupMembershipsForMemberPaginator.d.ts +4 -0
  96. package/dist-types/ts3.4/pagination/ListGroupMembershipsPaginator.d.ts +4 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  98. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +45 -0
  99. package/package.json +26 -26
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
4
+ import { IsMemberInGroupsRequest, IsMemberInGroupsResponse } from "../models/models_0";
5
+ export interface IsMemberInGroupsCommandInput extends IsMemberInGroupsRequest {
6
+ }
7
+ export interface IsMemberInGroupsCommandOutput extends IsMemberInGroupsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns if a member exists in specified groups.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IdentitystoreClient, IsMemberInGroupsCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
15
+ * // const { IdentitystoreClient, IsMemberInGroupsCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
16
+ * const client = new IdentitystoreClient(config);
17
+ * const command = new IsMemberInGroupsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link IsMemberInGroupsCommandInput} for command's `input` shape.
22
+ * @see {@link IsMemberInGroupsCommandOutput} for command's `response` shape.
23
+ * @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class IsMemberInGroupsCommand extends $Command<IsMemberInGroupsCommandInput, IsMemberInGroupsCommandOutput, IdentitystoreClientResolvedConfig> {
27
+ readonly input: IsMemberInGroupsCommandInput;
28
+ constructor(input: IsMemberInGroupsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<IsMemberInGroupsCommandInput, IsMemberInGroupsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
4
+ import { ListGroupMembershipsRequest, ListGroupMembershipsResponse } from "../models/models_0";
5
+ export interface ListGroupMembershipsCommandInput extends ListGroupMembershipsRequest {
6
+ }
7
+ export interface ListGroupMembershipsCommandOutput extends ListGroupMembershipsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>For the specified group in the specified identity store, returns the list of all <code>GroupMembership</code> objects and returns results in paginated form.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IdentitystoreClient, ListGroupMembershipsCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
15
+ * // const { IdentitystoreClient, ListGroupMembershipsCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
16
+ * const client = new IdentitystoreClient(config);
17
+ * const command = new ListGroupMembershipsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListGroupMembershipsCommandInput} for command's `input` shape.
22
+ * @see {@link ListGroupMembershipsCommandOutput} for command's `response` shape.
23
+ * @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListGroupMembershipsCommand extends $Command<ListGroupMembershipsCommandInput, ListGroupMembershipsCommandOutput, IdentitystoreClientResolvedConfig> {
27
+ readonly input: ListGroupMembershipsCommandInput;
28
+ constructor(input: ListGroupMembershipsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGroupMembershipsCommandInput, ListGroupMembershipsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
4
+ import { ListGroupMembershipsForMemberRequest, ListGroupMembershipsForMemberResponse } from "../models/models_0";
5
+ export interface ListGroupMembershipsForMemberCommandInput extends ListGroupMembershipsForMemberRequest {
6
+ }
7
+ export interface ListGroupMembershipsForMemberCommandOutput extends ListGroupMembershipsForMemberResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>For the specified member in the specified identity store, returns the list of all <code>GroupMembership</code> objects and returns results in paginated form.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IdentitystoreClient, ListGroupMembershipsForMemberCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
15
+ * // const { IdentitystoreClient, ListGroupMembershipsForMemberCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
16
+ * const client = new IdentitystoreClient(config);
17
+ * const command = new ListGroupMembershipsForMemberCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListGroupMembershipsForMemberCommandInput} for command's `input` shape.
22
+ * @see {@link ListGroupMembershipsForMemberCommandOutput} for command's `response` shape.
23
+ * @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListGroupMembershipsForMemberCommand extends $Command<ListGroupMembershipsForMemberCommandInput, ListGroupMembershipsForMemberCommandOutput, IdentitystoreClientResolvedConfig> {
27
+ readonly input: ListGroupMembershipsForMemberCommandInput;
28
+ constructor(input: ListGroupMembershipsForMemberCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGroupMembershipsForMemberCommandInput, ListGroupMembershipsForMemberCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,10 +7,10 @@ export interface ListGroupsCommandInput extends ListGroupsRequest {
7
7
  export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the attribute name and value of the group that you specified in the search. We
11
- * only support <code>DisplayName</code> as a valid filter attribute path currently, and
12
- * filter is required. This API returns minimum attributes, including <code>GroupId</code> and
13
- * group <code>DisplayName</code> in the response.</p>
10
+ * <p>
11
+ * <i>Filtering for a group by the group <code>DisplayName</code> attribute is deprecated. Instead, use the <code>GetGroupId</code> API action.</i>
12
+ * </p>
13
+ * <p>Lists all groups in the identity store. Returns a paginated list of complete <code>Group</code> objects.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -7,10 +7,10 @@ export interface ListUsersCommandInput extends ListUsersRequest {
7
7
  export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the attribute name and value of the user that you specified in the search. We only
11
- * support <code>UserName</code> as a valid filter attribute path currently, and filter is
12
- * required. This API returns minimum attributes, including <code>UserId</code> and
13
- * <code>UserName</code> in the response.</p>
10
+ * <p>
11
+ * <i>Filtering for a user by the <code>UserName</code> attribute is deprecated. Instead, use the <code>GetUserId</code> API action.</i>
12
+ * </p>
13
+ * <p>Lists all users in the identity store. Returns a paginated list of complete <code>User</code> objects.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
4
+ import { UpdateGroupRequest, UpdateGroupResponse } from "../models/models_0";
5
+ export interface UpdateGroupCommandInput extends UpdateGroupRequest {
6
+ }
7
+ export interface UpdateGroupCommandOutput extends UpdateGroupResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>For the specified group in the specified identity store, updates the group metadata and attributes.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IdentitystoreClient, UpdateGroupCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
15
+ * // const { IdentitystoreClient, UpdateGroupCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
16
+ * const client = new IdentitystoreClient(config);
17
+ * const command = new UpdateGroupCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateGroupCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateGroupCommandOutput} for command's `response` shape.
23
+ * @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateGroupCommand extends $Command<UpdateGroupCommandInput, UpdateGroupCommandOutput, IdentitystoreClientResolvedConfig> {
27
+ readonly input: UpdateGroupCommandInput;
28
+ constructor(input: UpdateGroupCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGroupCommandInput, UpdateGroupCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IdentitystoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IdentitystoreClient";
4
+ import { UpdateUserRequest, UpdateUserResponse } from "../models/models_0";
5
+ export interface UpdateUserCommandInput extends UpdateUserRequest {
6
+ }
7
+ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>For the specified user in the specified identity store, updates the user metadata and attributes.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IdentitystoreClient, UpdateUserCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
15
+ * // const { IdentitystoreClient, UpdateUserCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
16
+ * const client = new IdentitystoreClient(config);
17
+ * const command = new UpdateUserCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateUserCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateUserCommandOutput} for command's `response` shape.
23
+ * @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateUserCommand extends $Command<UpdateUserCommandInput, UpdateUserCommandOutput, IdentitystoreClientResolvedConfig> {
27
+ readonly input: UpdateUserCommandInput;
28
+ constructor(input: UpdateUserCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateUserCommandInput, UpdateUserCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,4 +1,19 @@
1
+ export * from "./CreateGroupCommand";
2
+ export * from "./CreateGroupMembershipCommand";
3
+ export * from "./CreateUserCommand";
4
+ export * from "./DeleteGroupCommand";
5
+ export * from "./DeleteGroupMembershipCommand";
6
+ export * from "./DeleteUserCommand";
1
7
  export * from "./DescribeGroupCommand";
8
+ export * from "./DescribeGroupMembershipCommand";
2
9
  export * from "./DescribeUserCommand";
10
+ export * from "./GetGroupIdCommand";
11
+ export * from "./GetGroupMembershipIdCommand";
12
+ export * from "./GetUserIdCommand";
13
+ export * from "./IsMemberInGroupsCommand";
14
+ export * from "./ListGroupMembershipsCommand";
15
+ export * from "./ListGroupMembershipsForMemberCommand";
3
16
  export * from "./ListGroupsCommand";
4
17
  export * from "./ListUsersCommand";
18
+ export * from "./UpdateGroupCommand";
19
+ export * from "./UpdateUserCommand";