Skip to content

Commit 4227bb3

Browse files
author
awstools
committed
feat(client-identitystore): Expand IdentityStore API to support Create, Read, Update, Delete and Get operations for User, Group and GroupMembership resources.
1 parent e5bf679 commit 4227bb3

29 files changed

+7641
-579
lines changed

clients/client-identitystore/README.md

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,10 @@
99

1010
AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native.
1111

12-
<p>The Identity Store service used by AWS IAM Identity Center (successor to AWS Single Sign-On) provides a single place to retrieve all of
13-
your identities (users and groups). For more information, see the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">IAM Identity Center User
12+
<p>The AWS Single Sign-On (SSO) Identity Store service provides a single place to retrieve all of your
13+
identities (users and groups). For more information about AWS, see the <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">AWS Single Sign-On User
1414
Guide</a>.</p>
1515

16-
<note>
17-
<p>Although AWS Single Sign-On was renamed, the <code>sso</code> and
18-
<code>identitystore</code> API namespaces will continue to retain their original name for
19-
backward compatibility purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM Identity Center rename</a>.</p>
20-
</note>
21-
22-
<p>This reference guide describes the identity store operations that you can call
23-
programatically and includes detailed information on data types and errors.</p>
24-
2516
## Installing
2617

2718
To install the this package, simply type add or install @aws-sdk/client-identitystore
@@ -37,16 +28,16 @@ using your favorite package manager:
3728

3829
The AWS SDK is modulized by clients and commands.
3930
To send a request, you only need to import the `IdentitystoreClient` and
40-
the commands you need, for example `DescribeGroupCommand`:
31+
the commands you need, for example `CreateGroupCommand`:
4132

4233
```js
4334
// ES5 example
44-
const { IdentitystoreClient, DescribeGroupCommand } = require("@aws-sdk/client-identitystore");
35+
const { IdentitystoreClient, CreateGroupCommand } = require("@aws-sdk/client-identitystore");
4536
```
4637

4738
```ts
4839
// ES6+ example
49-
import { IdentitystoreClient, DescribeGroupCommand } from "@aws-sdk/client-identitystore";
40+
import { IdentitystoreClient, CreateGroupCommand } from "@aws-sdk/client-identitystore";
5041
```
5142

5243
### Usage
@@ -65,7 +56,7 @@ const client = new IdentitystoreClient({ region: "REGION" });
6556
const params = {
6657
/** input parameters */
6758
};
68-
const command = new DescribeGroupCommand(params);
59+
const command = new CreateGroupCommand(params);
6960
```
7061

7162
#### Async/await
@@ -144,15 +135,15 @@ const client = new AWS.Identitystore({ region: "REGION" });
144135

145136
// async/await.
146137
try {
147-
const data = await client.describeGroup(params);
138+
const data = await client.createGroup(params);
148139
// process data.
149140
} catch (error) {
150141
// error handling.
151142
}
152143

153144
// Promises.
154145
client
155-
.describeGroup(params)
146+
.createGroup(params)
156147
.then((data) => {
157148
// process data.
158149
})
@@ -161,7 +152,7 @@ client
161152
});
162153

163154
// callbacks.
164-
client.describeGroup(params, (err, data) => {
155+
client.createGroup(params, (err, data) => {
165156
// process err and data.
166157
});
167158
```

0 commit comments

Comments
 (0)