@aws-sdk/client-identitystore 3.300.0 → 3.303.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/models/models_0.js +10 -12
- package/dist-es/models/models_0.js +10 -12
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateGroupMembershipCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserCommand.d.ts +8 -8
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupIdCommand.d.ts +4 -4
- package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +2 -2
- package/dist-types/commands/GetUserIdCommand.d.ts +4 -4
- package/dist-types/commands/IsMemberInGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListGroupMembershipsCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +2 -2
- package/dist-types/commands/ListGroupsCommand.d.ts +3 -3
- package/dist-types/commands/ListUsersCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +20 -10
- package/dist-types/ts3.4/models/models_0.d.ts +13 -10
- package/package.json +34 -34
|
@@ -45,13 +45,12 @@ class InternalServerException extends IdentitystoreServiceException_1.Identityst
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
exports.InternalServerException = InternalServerException;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
48
|
+
exports.ResourceType = {
|
|
49
|
+
GROUP: "GROUP",
|
|
50
|
+
GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
|
|
51
|
+
IDENTITY_STORE: "IDENTITY_STORE",
|
|
52
|
+
USER: "USER",
|
|
53
|
+
};
|
|
55
54
|
class ResourceNotFoundException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
|
|
56
55
|
constructor(opts) {
|
|
57
56
|
super({
|
|
@@ -111,11 +110,10 @@ var MemberId;
|
|
|
111
110
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
112
111
|
};
|
|
113
112
|
})(MemberId = exports.MemberId || (exports.MemberId = {}));
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
})(ConflictExceptionReason = exports.ConflictExceptionReason || (exports.ConflictExceptionReason = {}));
|
|
113
|
+
exports.ConflictExceptionReason = {
|
|
114
|
+
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
115
|
+
UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION",
|
|
116
|
+
};
|
|
119
117
|
class ConflictException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
|
|
120
118
|
constructor(opts) {
|
|
121
119
|
super({
|
|
@@ -40,13 +40,12 @@ export class InternalServerException extends __BaseException {
|
|
|
40
40
|
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
})(ResourceType || (ResourceType = {}));
|
|
43
|
+
export const ResourceType = {
|
|
44
|
+
GROUP: "GROUP",
|
|
45
|
+
GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
|
|
46
|
+
IDENTITY_STORE: "IDENTITY_STORE",
|
|
47
|
+
USER: "USER",
|
|
48
|
+
};
|
|
50
49
|
export class ResourceNotFoundException extends __BaseException {
|
|
51
50
|
constructor(opts) {
|
|
52
51
|
super({
|
|
@@ -103,11 +102,10 @@ export var MemberId;
|
|
|
103
102
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
104
103
|
};
|
|
105
104
|
})(MemberId || (MemberId = {}));
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
})(ConflictExceptionReason || (ConflictExceptionReason = {}));
|
|
105
|
+
export const ConflictExceptionReason = {
|
|
106
|
+
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
107
|
+
UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION",
|
|
108
|
+
};
|
|
111
109
|
export class ConflictException extends __BaseException {
|
|
112
110
|
constructor(opts) {
|
|
113
111
|
super({
|
|
@@ -26,7 +26,7 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
|
|
|
26
26
|
* import { IdentitystoreClient, CreateGroupCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, CreateGroupCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateGroupRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* DisplayName: "STRING_VALUE",
|
|
32
32
|
* Description: "STRING_VALUE",
|
|
@@ -26,10 +26,10 @@ export interface CreateGroupMembershipCommandOutput extends CreateGroupMembershi
|
|
|
26
26
|
* import { IdentitystoreClient, CreateGroupMembershipCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, CreateGroupMembershipCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateGroupMembershipRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* GroupId: "STRING_VALUE", // required
|
|
32
|
-
* MemberId: { // Union: only one key present
|
|
32
|
+
* MemberId: { // MemberId Union: only one key present
|
|
33
33
|
* UserId: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* };
|
|
@@ -26,10 +26,10 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
26
26
|
* import { IdentitystoreClient, CreateUserCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, CreateUserCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateUserRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* UserName: "STRING_VALUE",
|
|
32
|
-
* Name: {
|
|
32
|
+
* Name: { // Name
|
|
33
33
|
* Formatted: "STRING_VALUE",
|
|
34
34
|
* FamilyName: "STRING_VALUE",
|
|
35
35
|
* GivenName: "STRING_VALUE",
|
|
@@ -40,15 +40,15 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
40
40
|
* DisplayName: "STRING_VALUE",
|
|
41
41
|
* NickName: "STRING_VALUE",
|
|
42
42
|
* ProfileUrl: "STRING_VALUE",
|
|
43
|
-
* Emails: [
|
|
44
|
-
* {
|
|
43
|
+
* Emails: [ // Emails
|
|
44
|
+
* { // Email
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
46
|
* Type: "STRING_VALUE",
|
|
47
47
|
* Primary: true || false,
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
50
|
-
* Addresses: [
|
|
51
|
-
* {
|
|
50
|
+
* Addresses: [ // Addresses
|
|
51
|
+
* { // Address
|
|
52
52
|
* StreetAddress: "STRING_VALUE",
|
|
53
53
|
* Locality: "STRING_VALUE",
|
|
54
54
|
* Region: "STRING_VALUE",
|
|
@@ -59,8 +59,8 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
59
59
|
* Primary: true || false,
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
|
-
* PhoneNumbers: [
|
|
63
|
-
* {
|
|
62
|
+
* PhoneNumbers: [ // PhoneNumbers
|
|
63
|
+
* { // PhoneNumber
|
|
64
64
|
* Value: "STRING_VALUE",
|
|
65
65
|
* Type: "STRING_VALUE",
|
|
66
66
|
* Primary: true || false,
|
|
@@ -26,7 +26,7 @@ export interface DeleteGroupCommandOutput extends DeleteGroupResponse, __Metadat
|
|
|
26
26
|
* import { IdentitystoreClient, DeleteGroupCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, DeleteGroupCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteGroupRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* GroupId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteGroupMembershipCommandOutput extends DeleteGroupMembershi
|
|
|
26
26
|
* import { IdentitystoreClient, DeleteGroupMembershipCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, DeleteGroupMembershipCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteGroupMembershipRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* MembershipId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataB
|
|
|
26
26
|
* import { IdentitystoreClient, DeleteUserCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, DeleteUserCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteUserRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* UserId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface DescribeGroupCommandOutput extends DescribeGroupResponse, __Met
|
|
|
27
27
|
* import { IdentitystoreClient, DescribeGroupCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
28
28
|
* // const { IdentitystoreClient, DescribeGroupCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
29
29
|
* const client = new IdentitystoreClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DescribeGroupRequest
|
|
31
31
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
32
32
|
* GroupId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DescribeGroupMembershipCommandOutput extends DescribeGroupMembe
|
|
|
26
26
|
* import { IdentitystoreClient, DescribeGroupMembershipCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, DescribeGroupMembershipCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeGroupMembershipRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* MembershipId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DescribeUserCommandOutput extends DescribeUserResponse, __Metad
|
|
|
26
26
|
* import { IdentitystoreClient, DescribeUserCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, DescribeUserCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeUserRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* UserId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,14 +26,14 @@ export interface GetGroupIdCommandOutput extends GetGroupIdResponse, __MetadataB
|
|
|
26
26
|
* import { IdentitystoreClient, GetGroupIdCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, GetGroupIdCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetGroupIdRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
|
-
* AlternateIdentifier: { // Union: only one key present
|
|
32
|
-
* ExternalId: {
|
|
31
|
+
* AlternateIdentifier: { // AlternateIdentifier Union: only one key present
|
|
32
|
+
* ExternalId: { // ExternalId
|
|
33
33
|
* Issuer: "STRING_VALUE", // required
|
|
34
34
|
* Id: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
36
|
-
* UniqueAttribute: {
|
|
36
|
+
* UniqueAttribute: { // UniqueAttribute
|
|
37
37
|
* AttributePath: "STRING_VALUE", // required
|
|
38
38
|
* AttributeValue: "DOCUMENT_VALUE", // required
|
|
39
39
|
* },
|
|
@@ -26,10 +26,10 @@ export interface GetGroupMembershipIdCommandOutput extends GetGroupMembershipIdR
|
|
|
26
26
|
* import { IdentitystoreClient, GetGroupMembershipIdCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, GetGroupMembershipIdCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetGroupMembershipIdRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* GroupId: "STRING_VALUE", // required
|
|
32
|
-
* MemberId: { // Union: only one key present
|
|
32
|
+
* MemberId: { // MemberId Union: only one key present
|
|
33
33
|
* UserId: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* };
|
|
@@ -26,14 +26,14 @@ export interface GetUserIdCommandOutput extends GetUserIdResponse, __MetadataBea
|
|
|
26
26
|
* import { IdentitystoreClient, GetUserIdCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, GetUserIdCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetUserIdRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
|
-
* AlternateIdentifier: { // Union: only one key present
|
|
32
|
-
* ExternalId: {
|
|
31
|
+
* AlternateIdentifier: { // AlternateIdentifier Union: only one key present
|
|
32
|
+
* ExternalId: { // ExternalId
|
|
33
33
|
* Issuer: "STRING_VALUE", // required
|
|
34
34
|
* Id: "STRING_VALUE", // required
|
|
35
35
|
* },
|
|
36
|
-
* UniqueAttribute: {
|
|
36
|
+
* UniqueAttribute: { // UniqueAttribute
|
|
37
37
|
* AttributePath: "STRING_VALUE", // required
|
|
38
38
|
* AttributeValue: "DOCUMENT_VALUE", // required
|
|
39
39
|
* },
|
|
@@ -26,12 +26,12 @@ export interface IsMemberInGroupsCommandOutput extends IsMemberInGroupsResponse,
|
|
|
26
26
|
* import { IdentitystoreClient, IsMemberInGroupsCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, IsMemberInGroupsCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // IsMemberInGroupsRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
|
-
* MemberId: { // Union: only one key present
|
|
31
|
+
* MemberId: { // MemberId Union: only one key present
|
|
32
32
|
* UserId: "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
|
-
* GroupIds: [ // required
|
|
34
|
+
* GroupIds: [ // GroupIds // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListGroupMembershipsCommandOutput extends ListGroupMembershipsR
|
|
|
26
26
|
* import { IdentitystoreClient, ListGroupMembershipsCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, ListGroupMembershipsCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListGroupMembershipsRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* GroupId: "STRING_VALUE", // required
|
|
32
32
|
* MaxResults: Number("int"),
|
|
@@ -26,9 +26,9 @@ export interface ListGroupMembershipsForMemberCommandOutput extends ListGroupMem
|
|
|
26
26
|
* import { IdentitystoreClient, ListGroupMembershipsForMemberCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, ListGroupMembershipsForMemberCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListGroupMembershipsForMemberRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
|
-
* MemberId: { // Union: only one key present
|
|
31
|
+
* MemberId: { // MemberId Union: only one key present
|
|
32
32
|
* UserId: "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* MaxResults: Number("int"),
|
|
@@ -27,12 +27,12 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
|
|
|
27
27
|
* import { IdentitystoreClient, ListGroupsCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
28
28
|
* // const { IdentitystoreClient, ListGroupsCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
29
29
|
* const client = new IdentitystoreClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListGroupsRequest
|
|
31
31
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
34
|
-
* Filters: [
|
|
35
|
-
* {
|
|
34
|
+
* Filters: [ // Filters
|
|
35
|
+
* { // Filter
|
|
36
36
|
* AttributePath: "STRING_VALUE", // required
|
|
37
37
|
* AttributeValue: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
@@ -27,12 +27,12 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
|
|
|
27
27
|
* import { IdentitystoreClient, ListUsersCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
28
28
|
* // const { IdentitystoreClient, ListUsersCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
29
29
|
* const client = new IdentitystoreClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListUsersRequest
|
|
31
31
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
34
|
-
* Filters: [
|
|
35
|
-
* {
|
|
34
|
+
* Filters: [ // Filters
|
|
35
|
+
* { // Filter
|
|
36
36
|
* AttributePath: "STRING_VALUE", // required
|
|
37
37
|
* AttributeValue: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
@@ -26,11 +26,11 @@ export interface UpdateGroupCommandOutput extends UpdateGroupResponse, __Metadat
|
|
|
26
26
|
* import { IdentitystoreClient, UpdateGroupCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, UpdateGroupCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateGroupRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* GroupId: "STRING_VALUE", // required
|
|
32
|
-
* Operations: [ // required
|
|
33
|
-
* {
|
|
32
|
+
* Operations: [ // AttributeOperations // required
|
|
33
|
+
* { // AttributeOperation
|
|
34
34
|
* AttributePath: "STRING_VALUE", // required
|
|
35
35
|
* AttributeValue: "DOCUMENT_VALUE",
|
|
36
36
|
* },
|
|
@@ -26,11 +26,11 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
|
|
|
26
26
|
* import { IdentitystoreClient, UpdateUserCommand } from "@aws-sdk/client-identitystore"; // ES Modules import
|
|
27
27
|
* // const { IdentitystoreClient, UpdateUserCommand } = require("@aws-sdk/client-identitystore"); // CommonJS import
|
|
28
28
|
* const client = new IdentitystoreClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateUserRequest
|
|
30
30
|
* IdentityStoreId: "STRING_VALUE", // required
|
|
31
31
|
* UserId: "STRING_VALUE", // required
|
|
32
|
-
* Operations: [ // required
|
|
33
|
-
* {
|
|
32
|
+
* Operations: [ // AttributeOperations // required
|
|
33
|
+
* { // AttributeOperation
|
|
34
34
|
* AttributePath: "STRING_VALUE", // required
|
|
35
35
|
* AttributeValue: "DOCUMENT_VALUE",
|
|
36
36
|
* },
|
|
@@ -205,13 +205,18 @@ export declare class InternalServerException extends __BaseException {
|
|
|
205
205
|
}
|
|
206
206
|
/**
|
|
207
207
|
* @public
|
|
208
|
+
* @enum
|
|
208
209
|
*/
|
|
209
|
-
export declare
|
|
210
|
-
GROUP
|
|
211
|
-
GROUP_MEMBERSHIP
|
|
212
|
-
IDENTITY_STORE
|
|
213
|
-
USER
|
|
214
|
-
}
|
|
210
|
+
export declare const ResourceType: {
|
|
211
|
+
readonly GROUP: "GROUP";
|
|
212
|
+
readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
|
|
213
|
+
readonly IDENTITY_STORE: "IDENTITY_STORE";
|
|
214
|
+
readonly USER: "USER";
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
215
220
|
/**
|
|
216
221
|
* @public
|
|
217
222
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -371,11 +376,16 @@ export interface GetUserIdResponse {
|
|
|
371
376
|
}
|
|
372
377
|
/**
|
|
373
378
|
* @public
|
|
379
|
+
* @enum
|
|
374
380
|
*/
|
|
375
|
-
export declare
|
|
376
|
-
CONCURRENT_MODIFICATION
|
|
377
|
-
UNIQUENESS_CONSTRAINT_VIOLATION
|
|
378
|
-
}
|
|
381
|
+
export declare const ConflictExceptionReason: {
|
|
382
|
+
readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
|
|
383
|
+
readonly UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION";
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
379
389
|
/**
|
|
380
390
|
* @public
|
|
381
391
|
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
@@ -78,12 +78,13 @@ export declare class InternalServerException extends __BaseException {
|
|
|
78
78
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
79
79
|
);
|
|
80
80
|
}
|
|
81
|
-
export declare
|
|
82
|
-
GROUP
|
|
83
|
-
GROUP_MEMBERSHIP
|
|
84
|
-
IDENTITY_STORE
|
|
85
|
-
USER
|
|
86
|
-
}
|
|
81
|
+
export declare const ResourceType: {
|
|
82
|
+
readonly GROUP: "GROUP";
|
|
83
|
+
readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
|
|
84
|
+
readonly IDENTITY_STORE: "IDENTITY_STORE";
|
|
85
|
+
readonly USER: "USER";
|
|
86
|
+
};
|
|
87
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
87
88
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
88
89
|
readonly name: "ResourceNotFoundException";
|
|
89
90
|
readonly $fault: "client";
|
|
@@ -150,10 +151,12 @@ export interface GetUserIdResponse {
|
|
|
150
151
|
UserId: string | undefined;
|
|
151
152
|
IdentityStoreId: string | undefined;
|
|
152
153
|
}
|
|
153
|
-
export declare
|
|
154
|
-
CONCURRENT_MODIFICATION
|
|
155
|
-
UNIQUENESS_CONSTRAINT_VIOLATION
|
|
156
|
-
}
|
|
154
|
+
export declare const ConflictExceptionReason: {
|
|
155
|
+
readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
|
|
156
|
+
readonly UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION";
|
|
157
|
+
};
|
|
158
|
+
export type ConflictExceptionReason =
|
|
159
|
+
(typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
|
|
157
160
|
export declare class ConflictException extends __BaseException {
|
|
158
161
|
readonly name: "ConflictException";
|
|
159
162
|
readonly $fault: "client";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-identitystore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|