Skip to content

Commit

Permalink
feat(client-identitystore): New Identity Store content for China Regi…
Browse files Browse the repository at this point in the history
…on launch
  • Loading branch information
awstools committed Sep 1, 2023
1 parent 82dc9dc commit c8e1db3
Show file tree
Hide file tree
Showing 18 changed files with 331 additions and 328 deletions.
12 changes: 4 additions & 8 deletions clients/client-identitystore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@

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

<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
<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>Although AWS Single Sign-On was renamed, the <code>sso</code> and
<code>identitystore</code> API namespaces will continue to retain their original name for
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>
<p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
</note>

<p>This reference guide describes the identity store operations that you can call
programatically and includes detailed information about data types and errors.</p>

## Installing

To install the this package, simply type add or install @aws-sdk/client-identitystore
Expand Down
12 changes: 4 additions & 8 deletions clients/client-identitystore/src/Identitystore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,18 +336,14 @@ export interface Identitystore {

/**
* @public
* <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
* <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>Although AWS Single Sign-On was renamed, the <code>sso</code> and
* <code>identitystore</code> API namespaces will continue to retain their original name for
* 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>
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
* </note>
*
* <p>This reference guide describes the identity store operations that you can call
* programatically and includes detailed information about data types and errors.</p>
*/
export class Identitystore extends IdentitystoreClient implements Identitystore {}
createAggregatedClient(commands, Identitystore);
12 changes: 4 additions & 8 deletions clients/client-identitystore/src/IdentitystoreClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,18 +316,14 @@ export interface IdentitystoreClientResolvedConfig extends IdentitystoreClientRe

/**
* @public
* <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
* <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>Although AWS Single Sign-On was renamed, the <code>sso</code> and
* <code>identitystore</code> API namespaces will continue to retain their original name for
* 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>
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
* </note>
*
* <p>This reference guide describes the identity store operations that you can call
* programatically and includes detailed information about data types and errors.</p>
*/
export class IdentitystoreClient extends __Client<
__HttpHandlerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ export interface DescribeGroupCommandOutput extends DescribeGroupResponse, __Met
* @public
* <p>Retrieves the group metadata and attributes from <code>GroupId</code> in an identity
* store.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export interface DescribeGroupMembershipCommandOutput extends DescribeGroupMembe
/**
* @public
* <p>Retrieves membership metadata and attributes from <code>MembershipId</code> in an identity store.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export interface DescribeUserCommandOutput extends DescribeUserResponse, __Metad
/**
* @public
* <p>Retrieves the user metadata and attributes from the <code>UserId</code> in an identity store.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export interface GetGroupIdCommandOutput extends GetGroupIdResponse, __MetadataB
/**
* @public
* <p>Retrieves <code>GroupId</code> in an identity store.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export interface GetGroupMembershipIdCommandOutput extends GetGroupMembershipIdR
/**
* @public
* <p>Retrieves the <code>MembershipId</code> in an identity store.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
5 changes: 5 additions & 0 deletions clients/client-identitystore/src/commands/GetUserIdCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export interface GetUserIdCommandOutput extends GetUserIdResponse, __MetadataBea
/**
* @public
* <p>Retrieves the <code>UserId</code> in an identity store.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ export interface IsMemberInGroupsCommandOutput extends IsMemberInGroupsResponse,
/**
* @public
* <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 administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export interface ListGroupMembershipsCommandOutput extends ListGroupMembershipsR
/**
* @public
* <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 administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ export interface ListGroupMembershipsForMemberCommandOutput
/**
* @public
* <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 administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ export interface ListGroupsCommandOutput extends ListGroupsResponse, __MetadataB
* @public
* <p>Lists all groups in the identity store. Returns a paginated list of complete <code>Group</code> objects.
* Filtering for a <code>Group</code> by the <code>DisplayName</code> attribute is deprecated. Instead, use the <code>GetGroupId</code> API action.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
5 changes: 5 additions & 0 deletions clients/client-identitystore/src/commands/ListUsersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
* @public
* <p>Lists all users in the identity store. Returns a paginated list of complete <code>User</code> objects.
* Filtering for a <code>User</code> by the <code>UserName</code> attribute is deprecated. Instead, use the <code>GetUserId</code> API action.</p>
* <note>
* <p>If you have administrator access to a member account, you can use this API from the member account.
* Read about <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html">member accounts</a> in the
* <i>Organizations User Guide</i>.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
2 changes: 1 addition & 1 deletion clients/client-identitystore/src/endpoint/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]},
p=[j],
q=[k],
r=[{[v]:"Region"}];
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://identitystore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://identitystore.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://identitystore-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://identitystore.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://identitystore.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://identitystore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://identitystore.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://identitystore-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://identitystore.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://identitystore.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]};
export const ruleSet: RuleSetObject = _data;
12 changes: 4 additions & 8 deletions clients/client-identitystore/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
// smithy-typescript generated code
/* eslint-disable */
/**
* <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
* <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>Although AWS Single Sign-On was renamed, the <code>sso</code> and
* <code>identitystore</code> API namespaces will continue to retain their original name for
* 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>
* <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p>
* </note>
*
* <p>This reference guide describes the identity store operations that you can call
* programatically and includes detailed information about data types and errors.</p>
*
* @packageDocumentation
*/
export * from "./IdentitystoreClient";
Expand Down
12 changes: 6 additions & 6 deletions clients/client-identitystore/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export interface UniqueAttribute {
/**
* @public
* <p>The value of the attribute. This is a <code>Document</code> type.
* This type is not supported by Java V1, Go V1, and older versions of the AWS CLI.</p>
* This type is not supported by Java V1, Go V1, and older versions of the CLI.</p>
*/
AttributeValue: __DocumentType | undefined;
}
Expand Down Expand Up @@ -202,7 +202,7 @@ export interface AttributeOperation {
/**
* @public
* <p>The value of the attribute. This is a <code>Document</code> type.
* This type is not supported by Java V1, Go V1, and older versions of the AWS CLI.</p>
* This type is not supported by Java V1, Go V1, and older versions of the CLI.</p>
*/
AttributeValue?: __DocumentType;
}
Expand Down Expand Up @@ -816,8 +816,8 @@ export interface CreateGroupRequest {
/**
* @public
* <p>A string containing the name of the group. This value is commonly displayed when the
* group is referenced. "Administrator" and "AWSAdministrators" are reserved names and can't be used for users
* or groups.</p>
* group is referenced. <code>Administrator</code> and <code>AWSAdministrators</code> are
* reserved names and can't be used for users or groups.</p>
*/
DisplayName?: string;

Expand Down Expand Up @@ -1300,8 +1300,8 @@ export interface CreateUserRequest {
* <p>A unique string used to identify the user. The length limit is 128 characters. This
* value can consist of letters, accented characters, symbols, numbers, and punctuation. This
* value is specified at the time the user is created and stored as an attribute of the user
* object in the identity store. "Administrator" and "AWSAdministrators" are reserved names and can't be used for users
* or groups.</p>
* object in the identity store. <code>Administrator</code> and <code>AWSAdministrators</code>
* are reserved names and can't be used for users or groups.</p>
*/
UserName?: string;

Expand Down
Loading

0 comments on commit c8e1db3

Please sign in to comment.