@aws-sdk/client-identitystore 3.922.0 → 3.926.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/README.md +1 -8
- package/dist-cjs/index.js +210 -7
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_json1_1.js +163 -9
- package/dist-types/Identitystore.d.ts +1 -8
- package/dist-types/IdentitystoreClient.d.ts +1 -8
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -9
- package/dist-types/commands/CreateGroupMembershipCommand.d.ts +1 -9
- package/dist-types/commands/CreateUserCommand.d.ts +12 -10
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -9
- package/dist-types/commands/DeleteGroupMembershipCommand.d.ts +1 -9
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -9
- package/dist-types/commands/DescribeGroupCommand.d.ts +5 -7
- package/dist-types/commands/DescribeGroupMembershipCommand.d.ts +5 -6
- package/dist-types/commands/DescribeUserCommand.d.ts +18 -8
- package/dist-types/commands/GetGroupIdCommand.d.ts +1 -6
- package/dist-types/commands/GetGroupMembershipIdCommand.d.ts +1 -6
- package/dist-types/commands/GetUserIdCommand.d.ts +2 -7
- package/dist-types/commands/IsMemberInGroupsCommand.d.ts +1 -6
- package/dist-types/commands/ListGroupMembershipsCommand.d.ts +5 -6
- package/dist-types/commands/ListGroupMembershipsForMemberCommand.d.ts +5 -6
- package/dist-types/commands/ListGroupsCommand.d.ts +5 -7
- package/dist-types/commands/ListUsersCommand.d.ts +18 -9
- package/dist-types/commands/UpdateGroupCommand.d.ts +2 -10
- package/dist-types/commands/UpdateUserCommand.d.ts +2 -10
- package/dist-types/index.d.ts +1 -8
- package/dist-types/models/models_0.d.ts +365 -202
- package/dist-types/ts3.4/models/models_0.d.ts +80 -6
- package/package.json +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
|
+
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { IdentitystoreServiceException as __BaseException } from "../models/IdentitystoreServiceException";
|
|
5
5
|
import { AccessDeniedException, AlternateIdentifier, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateGroupCommand = async (input, context) => {
|
|
@@ -201,7 +201,7 @@ export const de_DescribeGroupCommand = async (output, context) => {
|
|
|
201
201
|
}
|
|
202
202
|
const data = await parseBody(output.body, context);
|
|
203
203
|
let contents = {};
|
|
204
|
-
contents =
|
|
204
|
+
contents = de_DescribeGroupResponse(data, context);
|
|
205
205
|
const response = {
|
|
206
206
|
$metadata: deserializeMetadata(output),
|
|
207
207
|
...contents,
|
|
@@ -214,7 +214,7 @@ export const de_DescribeGroupMembershipCommand = async (output, context) => {
|
|
|
214
214
|
}
|
|
215
215
|
const data = await parseBody(output.body, context);
|
|
216
216
|
let contents = {};
|
|
217
|
-
contents =
|
|
217
|
+
contents = de_DescribeGroupMembershipResponse(data, context);
|
|
218
218
|
const response = {
|
|
219
219
|
$metadata: deserializeMetadata(output),
|
|
220
220
|
...contents,
|
|
@@ -227,7 +227,7 @@ export const de_DescribeUserCommand = async (output, context) => {
|
|
|
227
227
|
}
|
|
228
228
|
const data = await parseBody(output.body, context);
|
|
229
229
|
let contents = {};
|
|
230
|
-
contents =
|
|
230
|
+
contents = de_DescribeUserResponse(data, context);
|
|
231
231
|
const response = {
|
|
232
232
|
$metadata: deserializeMetadata(output),
|
|
233
233
|
...contents,
|
|
@@ -292,7 +292,7 @@ export const de_ListGroupMembershipsCommand = async (output, context) => {
|
|
|
292
292
|
}
|
|
293
293
|
const data = await parseBody(output.body, context);
|
|
294
294
|
let contents = {};
|
|
295
|
-
contents =
|
|
295
|
+
contents = de_ListGroupMembershipsResponse(data, context);
|
|
296
296
|
const response = {
|
|
297
297
|
$metadata: deserializeMetadata(output),
|
|
298
298
|
...contents,
|
|
@@ -305,7 +305,7 @@ export const de_ListGroupMembershipsForMemberCommand = async (output, context) =
|
|
|
305
305
|
}
|
|
306
306
|
const data = await parseBody(output.body, context);
|
|
307
307
|
let contents = {};
|
|
308
|
-
contents =
|
|
308
|
+
contents = de_ListGroupMembershipsForMemberResponse(data, context);
|
|
309
309
|
const response = {
|
|
310
310
|
$metadata: deserializeMetadata(output),
|
|
311
311
|
...contents,
|
|
@@ -318,7 +318,7 @@ export const de_ListGroupsCommand = async (output, context) => {
|
|
|
318
318
|
}
|
|
319
319
|
const data = await parseBody(output.body, context);
|
|
320
320
|
let contents = {};
|
|
321
|
-
contents =
|
|
321
|
+
contents = de_ListGroupsResponse(data, context);
|
|
322
322
|
const response = {
|
|
323
323
|
$metadata: deserializeMetadata(output),
|
|
324
324
|
...contents,
|
|
@@ -331,7 +331,7 @@ export const de_ListUsersCommand = async (output, context) => {
|
|
|
331
331
|
}
|
|
332
332
|
const data = await parseBody(output.body, context);
|
|
333
333
|
let contents = {};
|
|
334
|
-
contents =
|
|
334
|
+
contents = de_ListUsersResponse(data, context);
|
|
335
335
|
const response = {
|
|
336
336
|
$metadata: deserializeMetadata(output),
|
|
337
337
|
...contents,
|
|
@@ -519,6 +519,160 @@ const se_UpdateUserRequest = (input, context) => {
|
|
|
519
519
|
UserId: [],
|
|
520
520
|
});
|
|
521
521
|
};
|
|
522
|
+
const de_DescribeGroupMembershipResponse = (output, context) => {
|
|
523
|
+
return take(output, {
|
|
524
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
525
|
+
CreatedBy: __expectString,
|
|
526
|
+
GroupId: __expectString,
|
|
527
|
+
IdentityStoreId: __expectString,
|
|
528
|
+
MemberId: (_) => _json(__expectUnion(_)),
|
|
529
|
+
MembershipId: __expectString,
|
|
530
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
531
|
+
UpdatedBy: __expectString,
|
|
532
|
+
});
|
|
533
|
+
};
|
|
534
|
+
const de_DescribeGroupResponse = (output, context) => {
|
|
535
|
+
return take(output, {
|
|
536
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
537
|
+
CreatedBy: __expectString,
|
|
538
|
+
Description: __expectString,
|
|
539
|
+
DisplayName: __expectString,
|
|
540
|
+
ExternalIds: _json,
|
|
541
|
+
GroupId: __expectString,
|
|
542
|
+
IdentityStoreId: __expectString,
|
|
543
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
544
|
+
UpdatedBy: __expectString,
|
|
545
|
+
});
|
|
546
|
+
};
|
|
547
|
+
const de_DescribeUserResponse = (output, context) => {
|
|
548
|
+
return take(output, {
|
|
549
|
+
Addresses: _json,
|
|
550
|
+
Birthdate: __expectString,
|
|
551
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
552
|
+
CreatedBy: __expectString,
|
|
553
|
+
DisplayName: __expectString,
|
|
554
|
+
Emails: _json,
|
|
555
|
+
ExternalIds: _json,
|
|
556
|
+
IdentityStoreId: __expectString,
|
|
557
|
+
Locale: __expectString,
|
|
558
|
+
Name: _json,
|
|
559
|
+
NickName: __expectString,
|
|
560
|
+
PhoneNumbers: _json,
|
|
561
|
+
Photos: _json,
|
|
562
|
+
PreferredLanguage: __expectString,
|
|
563
|
+
ProfileUrl: __expectString,
|
|
564
|
+
Timezone: __expectString,
|
|
565
|
+
Title: __expectString,
|
|
566
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
567
|
+
UpdatedBy: __expectString,
|
|
568
|
+
UserId: __expectString,
|
|
569
|
+
UserName: __expectString,
|
|
570
|
+
UserStatus: __expectString,
|
|
571
|
+
UserType: __expectString,
|
|
572
|
+
Website: __expectString,
|
|
573
|
+
});
|
|
574
|
+
};
|
|
575
|
+
const de_Group = (output, context) => {
|
|
576
|
+
return take(output, {
|
|
577
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
578
|
+
CreatedBy: __expectString,
|
|
579
|
+
Description: __expectString,
|
|
580
|
+
DisplayName: __expectString,
|
|
581
|
+
ExternalIds: _json,
|
|
582
|
+
GroupId: __expectString,
|
|
583
|
+
IdentityStoreId: __expectString,
|
|
584
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
585
|
+
UpdatedBy: __expectString,
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
const de_GroupMembership = (output, context) => {
|
|
589
|
+
return take(output, {
|
|
590
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
591
|
+
CreatedBy: __expectString,
|
|
592
|
+
GroupId: __expectString,
|
|
593
|
+
IdentityStoreId: __expectString,
|
|
594
|
+
MemberId: (_) => _json(__expectUnion(_)),
|
|
595
|
+
MembershipId: __expectString,
|
|
596
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
597
|
+
UpdatedBy: __expectString,
|
|
598
|
+
});
|
|
599
|
+
};
|
|
600
|
+
const de_GroupMemberships = (output, context) => {
|
|
601
|
+
const retVal = (output || [])
|
|
602
|
+
.filter((e) => e != null)
|
|
603
|
+
.map((entry) => {
|
|
604
|
+
return de_GroupMembership(entry, context);
|
|
605
|
+
});
|
|
606
|
+
return retVal;
|
|
607
|
+
};
|
|
608
|
+
const de_Groups = (output, context) => {
|
|
609
|
+
const retVal = (output || [])
|
|
610
|
+
.filter((e) => e != null)
|
|
611
|
+
.map((entry) => {
|
|
612
|
+
return de_Group(entry, context);
|
|
613
|
+
});
|
|
614
|
+
return retVal;
|
|
615
|
+
};
|
|
616
|
+
const de_ListGroupMembershipsForMemberResponse = (output, context) => {
|
|
617
|
+
return take(output, {
|
|
618
|
+
GroupMemberships: (_) => de_GroupMemberships(_, context),
|
|
619
|
+
NextToken: __expectString,
|
|
620
|
+
});
|
|
621
|
+
};
|
|
622
|
+
const de_ListGroupMembershipsResponse = (output, context) => {
|
|
623
|
+
return take(output, {
|
|
624
|
+
GroupMemberships: (_) => de_GroupMemberships(_, context),
|
|
625
|
+
NextToken: __expectString,
|
|
626
|
+
});
|
|
627
|
+
};
|
|
628
|
+
const de_ListGroupsResponse = (output, context) => {
|
|
629
|
+
return take(output, {
|
|
630
|
+
Groups: (_) => de_Groups(_, context),
|
|
631
|
+
NextToken: __expectString,
|
|
632
|
+
});
|
|
633
|
+
};
|
|
634
|
+
const de_ListUsersResponse = (output, context) => {
|
|
635
|
+
return take(output, {
|
|
636
|
+
NextToken: __expectString,
|
|
637
|
+
Users: (_) => de_Users(_, context),
|
|
638
|
+
});
|
|
639
|
+
};
|
|
640
|
+
const de_User = (output, context) => {
|
|
641
|
+
return take(output, {
|
|
642
|
+
Addresses: _json,
|
|
643
|
+
Birthdate: __expectString,
|
|
644
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
645
|
+
CreatedBy: __expectString,
|
|
646
|
+
DisplayName: __expectString,
|
|
647
|
+
Emails: _json,
|
|
648
|
+
ExternalIds: _json,
|
|
649
|
+
IdentityStoreId: __expectString,
|
|
650
|
+
Locale: __expectString,
|
|
651
|
+
Name: _json,
|
|
652
|
+
NickName: __expectString,
|
|
653
|
+
PhoneNumbers: _json,
|
|
654
|
+
Photos: _json,
|
|
655
|
+
PreferredLanguage: __expectString,
|
|
656
|
+
ProfileUrl: __expectString,
|
|
657
|
+
Timezone: __expectString,
|
|
658
|
+
Title: __expectString,
|
|
659
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
660
|
+
UpdatedBy: __expectString,
|
|
661
|
+
UserId: __expectString,
|
|
662
|
+
UserName: __expectString,
|
|
663
|
+
UserStatus: __expectString,
|
|
664
|
+
UserType: __expectString,
|
|
665
|
+
Website: __expectString,
|
|
666
|
+
});
|
|
667
|
+
};
|
|
668
|
+
const de_Users = (output, context) => {
|
|
669
|
+
const retVal = (output || [])
|
|
670
|
+
.filter((e) => e != null)
|
|
671
|
+
.map((entry) => {
|
|
672
|
+
return de_User(entry, context);
|
|
673
|
+
});
|
|
674
|
+
return retVal;
|
|
675
|
+
};
|
|
522
676
|
const deserializeMetadata = (output) => ({
|
|
523
677
|
httpStatusCode: output.statusCode,
|
|
524
678
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -136,14 +136,7 @@ export interface Identitystore {
|
|
|
136
136
|
updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
* <p>The Identity Store service used by IAM Identity Center provides a single place to retrieve all of
|
|
140
|
-
* 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
|
|
141
|
-
* Guide</a>.</p>
|
|
142
|
-
* <p>This reference guide describes the identity store operations that you can call
|
|
143
|
-
* programmatically and includes detailed information about data types and errors.</p>
|
|
144
|
-
* <note>
|
|
145
|
-
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
|
|
146
|
-
* </note>
|
|
139
|
+
* <p>The Identity Store service used by IAM Identity Center provides a single place to retrieve all of 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 Guide</a>.</p> <p>This reference guide describes the identity store operations that you can call programmatically and includes detailed information about data types and errors.</p> <note> <p> IAM Identity Center uses the <code>sso</code>, <code>sso-directory</code>, and <code>identitystore</code> API namespaces. The <code>sso-directory</code> and <code>identitystore</code> namespaces authorize access to data in the Identity Store. Make sure your policies with IAM actions from these two namespaces are consistent to avoid conflicting authorization to the same data.</p> </note>
|
|
147
140
|
* @public
|
|
148
141
|
*/
|
|
149
142
|
export declare class Identitystore extends IdentitystoreClient implements Identitystore {
|
|
@@ -188,14 +188,7 @@ export type IdentitystoreClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
188
188
|
export interface IdentitystoreClientResolvedConfig extends IdentitystoreClientResolvedConfigType {
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
|
-
* <p>The Identity Store service used by IAM Identity Center provides a single place to retrieve all of
|
|
192
|
-
* 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
|
|
193
|
-
* Guide</a>.</p>
|
|
194
|
-
* <p>This reference guide describes the identity store operations that you can call
|
|
195
|
-
* programmatically and includes detailed information about data types and errors.</p>
|
|
196
|
-
* <note>
|
|
197
|
-
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
|
|
198
|
-
* </note>
|
|
191
|
+
* <p>The Identity Store service used by IAM Identity Center provides a single place to retrieve all of 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 Guide</a>.</p> <p>This reference guide describes the identity store operations that you can call programmatically and includes detailed information about data types and errors.</p> <note> <p> IAM Identity Center uses the <code>sso</code>, <code>sso-directory</code>, and <code>identitystore</code> API namespaces. The <code>sso-directory</code> and <code>identitystore</code> namespaces authorize access to data in the Identity Store. Make sure your policies with IAM actions from these two namespaces are consistent to avoid conflicting authorization to the same data.</p> </note>
|
|
199
192
|
* @public
|
|
200
193
|
*/
|
|
201
194
|
export declare class IdentitystoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IdentitystoreClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface IdentitystoreHttpAuthSchemeProvider extends HttpAuthSchemeProvi
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const defaultIdentitystoreHttpAuthSchemeProvider: IdentitystoreHttpAuthSchemeProvider;
|
|
28
28
|
/**
|
|
29
|
-
* @
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
@@ -57,15 +57,7 @@ declare const CreateGroupCommand_base: {
|
|
|
57
57
|
* @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ConflictException} (client fault)
|
|
60
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
61
|
-
* <ul>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* </ul>
|
|
60
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
69
61
|
*
|
|
70
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
63
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -59,15 +59,7 @@ declare const CreateGroupMembershipCommand_base: {
|
|
|
59
59
|
* @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ConflictException} (client fault)
|
|
62
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
63
|
-
* <ul>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
69
|
-
* </li>
|
|
70
|
-
* </ul>
|
|
62
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
71
63
|
*
|
|
72
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
65
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -81,12 +81,22 @@ declare const CreateUserCommand_base: {
|
|
|
81
81
|
* PreferredLanguage: "STRING_VALUE",
|
|
82
82
|
* Locale: "STRING_VALUE",
|
|
83
83
|
* Timezone: "STRING_VALUE",
|
|
84
|
+
* Photos: [ // Photos
|
|
85
|
+
* { // Photo
|
|
86
|
+
* Value: "STRING_VALUE", // required
|
|
87
|
+
* Type: "STRING_VALUE",
|
|
88
|
+
* Display: "STRING_VALUE",
|
|
89
|
+
* Primary: true || false,
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* Website: "STRING_VALUE",
|
|
93
|
+
* Birthdate: "STRING_VALUE",
|
|
84
94
|
* };
|
|
85
95
|
* const command = new CreateUserCommand(input);
|
|
86
96
|
* const response = await client.send(command);
|
|
87
97
|
* // { // CreateUserResponse
|
|
88
|
-
* // UserId: "STRING_VALUE", // required
|
|
89
98
|
* // IdentityStoreId: "STRING_VALUE", // required
|
|
99
|
+
* // UserId: "STRING_VALUE", // required
|
|
90
100
|
* // };
|
|
91
101
|
*
|
|
92
102
|
* ```
|
|
@@ -98,15 +108,7 @@ declare const CreateUserCommand_base: {
|
|
|
98
108
|
* @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
|
|
99
109
|
*
|
|
100
110
|
* @throws {@link ConflictException} (client fault)
|
|
101
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
102
|
-
* <ul>
|
|
103
|
-
* <li>
|
|
104
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
105
|
-
* </li>
|
|
106
|
-
* <li>
|
|
107
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
108
|
-
* </li>
|
|
109
|
-
* </ul>
|
|
111
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
110
112
|
*
|
|
111
113
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
112
114
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -53,15 +53,7 @@ declare const DeleteGroupCommand_base: {
|
|
|
53
53
|
* @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
57
|
-
* <ul>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* </ul>
|
|
56
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
65
57
|
*
|
|
66
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
59
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -53,15 +53,7 @@ declare const DeleteGroupMembershipCommand_base: {
|
|
|
53
53
|
* @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
57
|
-
* <ul>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* </ul>
|
|
56
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
65
57
|
*
|
|
66
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
59
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -53,15 +53,7 @@ declare const DeleteUserCommand_base: {
|
|
|
53
53
|
* @see {@link IdentitystoreClientResolvedConfig | config} for IdentitystoreClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
57
|
-
* <ul>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* </ul>
|
|
56
|
+
* <p>This request cannot be completed for one of the following reasons:</p> <ul> <li> <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> </li> <li> <p>The requested resource was being concurrently modified by another request.</p> </li> </ul>
|
|
65
57
|
*
|
|
66
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
59
|
* <p>Indicates that a requested resource is not found.</p>
|
|
@@ -27,13 +27,7 @@ declare const DescribeGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity
|
|
31
|
-
* store.</p>
|
|
32
|
-
* <note>
|
|
33
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
34
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
35
|
-
* <i>Organizations User Guide</i>. </p>
|
|
36
|
-
* </note>
|
|
30
|
+
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity store.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
37
31
|
* @example
|
|
38
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
33
|
* ```javascript
|
|
@@ -58,6 +52,10 @@ declare const DescribeGroupCommand_base: {
|
|
|
58
52
|
* // },
|
|
59
53
|
* // ],
|
|
60
54
|
* // Description: "STRING_VALUE",
|
|
55
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // CreatedBy: "STRING_VALUE",
|
|
58
|
+
* // UpdatedBy: "STRING_VALUE",
|
|
61
59
|
* // IdentityStoreId: "STRING_VALUE", // required
|
|
62
60
|
* // };
|
|
63
61
|
*
|
|
@@ -27,12 +27,7 @@ declare const DescribeGroupMembershipCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves membership metadata and attributes from <code>MembershipId</code> in an identity store.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <p>Retrieves membership metadata and attributes from <code>MembershipId</code> in an identity store.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -54,6 +49,10 @@ declare const DescribeGroupMembershipCommand_base: {
|
|
|
54
49
|
* // MemberId: { // MemberId Union: only one key present
|
|
55
50
|
* // UserId: "STRING_VALUE",
|
|
56
51
|
* // },
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // CreatedBy: "STRING_VALUE",
|
|
55
|
+
* // UpdatedBy: "STRING_VALUE",
|
|
57
56
|
* // };
|
|
58
57
|
*
|
|
59
58
|
* ```
|
|
@@ -27,12 +27,7 @@ declare const DescribeUserCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the user metadata and attributes from the <code>UserId</code> in an identity store.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <p>Retrieves the user metadata and attributes from the <code>UserId</code> in an identity store.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -48,8 +43,9 @@ declare const DescribeUserCommand_base: {
|
|
|
48
43
|
* const command = new DescribeUserCommand(input);
|
|
49
44
|
* const response = await client.send(command);
|
|
50
45
|
* // { // DescribeUserResponse
|
|
51
|
-
* //
|
|
46
|
+
* // IdentityStoreId: "STRING_VALUE", // required
|
|
52
47
|
* // UserId: "STRING_VALUE", // required
|
|
48
|
+
* // UserName: "STRING_VALUE",
|
|
53
49
|
* // ExternalIds: [ // ExternalIds
|
|
54
50
|
* // { // ExternalId
|
|
55
51
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -98,7 +94,21 @@ declare const DescribeUserCommand_base: {
|
|
|
98
94
|
* // PreferredLanguage: "STRING_VALUE",
|
|
99
95
|
* // Locale: "STRING_VALUE",
|
|
100
96
|
* // Timezone: "STRING_VALUE",
|
|
101
|
-
* //
|
|
97
|
+
* // UserStatus: "ENABLED" || "DISABLED",
|
|
98
|
+
* // Photos: [ // Photos
|
|
99
|
+
* // { // Photo
|
|
100
|
+
* // Value: "STRING_VALUE", // required
|
|
101
|
+
* // Type: "STRING_VALUE",
|
|
102
|
+
* // Display: "STRING_VALUE",
|
|
103
|
+
* // Primary: true || false,
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // Website: "STRING_VALUE",
|
|
107
|
+
* // Birthdate: "STRING_VALUE",
|
|
108
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
109
|
+
* // CreatedBy: "STRING_VALUE",
|
|
110
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
111
|
+
* // UpdatedBy: "STRING_VALUE",
|
|
102
112
|
* // };
|
|
103
113
|
*
|
|
104
114
|
* ```
|
|
@@ -27,12 +27,7 @@ declare const GetGroupIdCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves <code>GroupId</code> in an identity store.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <p>Retrieves <code>GroupId</code> in an identity store.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -27,12 +27,7 @@ declare const GetGroupMembershipIdCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the <code>MembershipId</code> in an identity store.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <p>Retrieves the <code>MembershipId</code> in an identity store.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -27,12 +27,7 @@ declare const GetUserIdCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the <code>UserId</code> in an identity store.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <p>Retrieves the <code>UserId</code> in an identity store.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -57,8 +52,8 @@ declare const GetUserIdCommand_base: {
|
|
|
57
52
|
* const command = new GetUserIdCommand(input);
|
|
58
53
|
* const response = await client.send(command);
|
|
59
54
|
* // { // GetUserIdResponse
|
|
60
|
-
* // UserId: "STRING_VALUE", // required
|
|
61
55
|
* // IdentityStoreId: "STRING_VALUE", // required
|
|
56
|
+
* // UserId: "STRING_VALUE", // required
|
|
62
57
|
* // };
|
|
63
58
|
*
|
|
64
59
|
* ```
|
|
@@ -27,12 +27,7 @@ declare const IsMemberInGroupsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Checks the user's membership in all requested groups and returns if the member exists in all queried groups.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <p>Checks the user's membership in all requested groups and returns if the member exists in all queried groups.</p> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -27,12 +27,7 @@ declare const ListGroupMembershipsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <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>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <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> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -58,6 +53,10 @@ declare const ListGroupMembershipsCommand_base: {
|
|
|
58
53
|
* // MemberId: { // MemberId Union: only one key present
|
|
59
54
|
* // UserId: "STRING_VALUE",
|
|
60
55
|
* // },
|
|
56
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // CreatedBy: "STRING_VALUE",
|
|
59
|
+
* // UpdatedBy: "STRING_VALUE",
|
|
61
60
|
* // },
|
|
62
61
|
* // ],
|
|
63
62
|
* // NextToken: "STRING_VALUE",
|
|
@@ -27,12 +27,7 @@ declare const ListGroupMembershipsForMemberCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <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>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>If you have administrator access to a member account, you can use this API from the member account.
|
|
33
|
-
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
|
|
34
|
-
* <i>Organizations User Guide</i>. </p>
|
|
35
|
-
* </note>
|
|
30
|
+
* <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> <note> <p>If you have access to a member account, you can use this API operation from the member account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts">Limiting access to the identity store from member accounts</a> in the <i> IAM Identity Center User Guide</i>.</p> </note>
|
|
36
31
|
* @example
|
|
37
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
33
|
* ```javascript
|
|
@@ -60,6 +55,10 @@ declare const ListGroupMembershipsForMemberCommand_base: {
|
|
|
60
55
|
* // MemberId: { // MemberId Union: only one key present
|
|
61
56
|
* // UserId: "STRING_VALUE",
|
|
62
57
|
* // },
|
|
58
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // CreatedBy: "STRING_VALUE",
|
|
61
|
+
* // UpdatedBy: "STRING_VALUE",
|
|
63
62
|
* // },
|
|
64
63
|
* // ],
|
|
65
64
|
* // NextToken: "STRING_VALUE",
|