UNPKG

tencentcloud-sdk-nodejs-intl-en

Version:
1,786 lines (1,496 loc) • 352 kB
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ const AbstractModel = require("../../common/abstract_model"); /** * UpdateRoleConfiguration response structure. * @class */ class UpdateRoleConfigurationResponse extends AbstractModel { constructor(){ super(); /** * Permission configuration details. * @type {RoleConfiguration || null} */ this.RoleConfigurationInfo = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.RoleConfigurationInfo) { let obj = new RoleConfiguration(); obj.deserialize(params.RoleConfigurationInfo) this.RoleConfigurationInfo = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ListRoleConfigurations request structure. * @class */ class ListRoleConfigurationsRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * Token for querying the next page of returned results. During use of the API for the first time, NextToken is not needed. When you call the API for the first time, if the total number of returned data entries exceeds the MaxResults limit, the data is truncated and only MaxResults data entries are returned. Meanwhile, the return parameter IsTruncated is true and a NextToken is returned. You can use the NextToken returned last time to continue calling the API with other request parameters unchanged, to query the truncated data. You can use this method for multiple queries until IsTruncated is false, indicating that all data has been queried. * @type {string || null} */ this.NextToken = null; /** * Maximum number of data entries per page. Value range: 1-100. Default value: 10. * @type {number || null} */ this.MaxResults = null; /** * Filter criteria, which are case insensitive. Currently, only RoleConfigurationName is supported and only eq (Equals) and sw (Start With) are supported. Example: Filter = "RoleConfigurationName, only sw test" means querying all permission configurations starting with test. Filter = "RoleConfigurationName, only eq TestRoleConfiguration" means querying the permission configuration named TestRoleConfiguration. * @type {string || null} */ this.Filter = null; /** * Check whether the member account has been configured with permissions. If configured, return IsSelected: true; otherwise, return false. * @type {Array.<number> || null} */ this.FilterTargets = null; /** * UserId of the authorized user or GroupId of the authorized user group, which must be set together with the input parameter FilterTargets. * @type {string || null} */ this.PrincipalId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.NextToken = 'NextToken' in params ? params.NextToken : null; this.MaxResults = 'MaxResults' in params ? params.MaxResults : null; this.Filter = 'Filter' in params ? params.Filter : null; this.FilterTargets = 'FilterTargets' in params ? params.FilterTargets : null; this.PrincipalId = 'PrincipalId' in params ? params.PrincipalId : null; } } /** * DeleteSCIMCredential request structure. * @class */ class DeleteSCIMCredentialRequest extends AbstractModel { constructor(){ super(); /** * Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters. * @type {string || null} */ this.ZoneId = null; /** * SCIM key ID, which starts with the scimcred- prefix, followed by 12 random digits/lowercase letters. * @type {string || null} */ this.CredentialId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.CredentialId = 'CredentialId' in params ? params.CredentialId : null; } } /** * ListGroupMembers response structure. * @class */ class ListGroupMembersResponse extends AbstractModel { constructor(){ super(); /** * Token for querying the next page of returned results. Note: This parameter is displayed only when IsTruncated is true. * @type {string || null} */ this.NextToken = null; /** * Total number of data entries that meet the request parameter conditions. * @type {number || null} */ this.TotalCounts = null; /** * Maximum number of data entries per page. * @type {number || null} */ this.MaxResults = null; /** * Whether the returned result is truncated. Valid values: true: truncated; false: not truncated. * @type {boolean || null} */ this.IsTruncated = null; /** * The user list of a user group. * @type {Array.<GroupMembers> || null} */ this.GroupMembers = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.NextToken = 'NextToken' in params ? params.NextToken : null; this.TotalCounts = 'TotalCounts' in params ? params.TotalCounts : null; this.MaxResults = 'MaxResults' in params ? params.MaxResults : null; this.IsTruncated = 'IsTruncated' in params ? params.IsTruncated : null; if (params.GroupMembers) { this.GroupMembers = new Array(); for (let z in params.GroupMembers) { let obj = new GroupMembers(); obj.deserialize(params.GroupMembers[z]); this.GroupMembers.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * SetExternalSAMLIdentityProvider request structure. * @class */ class SetExternalSAMLIdentityProviderRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * IdP metadata document (Base64 encoded). Provided by an IdP that supports the SAML 2.0 protocol. * @type {string || null} */ this.EncodedMetadataDocument = null; /** * SSO enabling status. Valid values: Enabled, Disabled (default). * @type {string || null} */ this.SSOStatus = null; /** * IdP identifier. * @type {string || null} */ this.EntityId = null; /** * IdP login URL. * @type {string || null} */ this.LoginUrl = null; /** * X509 certificate in PEM format. If this parameter is specified, all existing certificates will be replaced. * @type {string || null} */ this.X509Certificate = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.EncodedMetadataDocument = 'EncodedMetadataDocument' in params ? params.EncodedMetadataDocument : null; this.SSOStatus = 'SSOStatus' in params ? params.SSOStatus : null; this.EntityId = 'EntityId' in params ? params.EntityId : null; this.LoginUrl = 'LoginUrl' in params ? params.LoginUrl : null; this.X509Certificate = 'X509Certificate' in params ? params.X509Certificate : null; } } /** * ListGroupMembers request structure. * @class */ class ListGroupMembersRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * User ID. * @type {string || null} */ this.GroupId = null; /** * Token for querying the next page of returned results. During use of the API for the first time, NextToken is not needed. When you call the API for the first time, if the total number of returned data entries exceeds the MaxResults limit, the data is truncated and only MaxResults data entries are returned. Meanwhile, the return parameter IsTruncated is true and a NextToken is returned. You can use the NextToken returned last time to continue calling the API with other request parameters unchanged, to query the truncated data. You can use this method for multiple queries until IsTruncated is false, indicating that all data has been queried. * @type {string || null} */ this.NextToken = null; /** * Maximum number of data entries per page. Value range: 1-100. Default value: 10. * @type {number || null} */ this.MaxResults = null; /** * Type of the user. Manual: manually created; Synchronized: imported from external sources. * @type {string || null} */ this.UserType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.GroupId = 'GroupId' in params ? params.GroupId : null; this.NextToken = 'NextToken' in params ? params.NextToken : null; this.MaxResults = 'MaxResults' in params ? params.MaxResults : null; this.UserType = 'UserType' in params ? params.UserType : null; } } /** * Permission configuration synchronization. * @class */ class RoleConfigurationProvisionings extends AbstractModel { constructor(){ super(); /** * Deployed: Deployment succeeded; DeployedRequired: Redeployment required; DeployFailed: Deployment failed. * @type {string || null} */ this.DeploymentStatus = null; /** * Permission configuration ID. * @type {string || null} */ this.RoleConfigurationId = null; /** * Permission configuration name. * @type {string || null} */ this.RoleConfigurationName = null; /** * UIN of the target account of the Tencent Cloud Organization. * @type {number || null} */ this.TargetUin = null; /** * Name of the target account of the Tencent Cloud Organization. * @type {string || null} */ this.TargetName = null; /** * Creation time. * @type {string || null} */ this.CreateTime = null; /** * Modification time. * @type {string || null} */ this.UpdateTime = null; /** * Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account. * @type {string || null} */ this.TargetType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DeploymentStatus = 'DeploymentStatus' in params ? params.DeploymentStatus : null; this.RoleConfigurationId = 'RoleConfigurationId' in params ? params.RoleConfigurationId : null; this.RoleConfigurationName = 'RoleConfigurationName' in params ? params.RoleConfigurationName : null; this.TargetUin = 'TargetUin' in params ? params.TargetUin : null; this.TargetName = 'TargetName' in params ? params.TargetName : null; this.CreateTime = 'CreateTime' in params ? params.CreateTime : null; this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null; this.TargetType = 'TargetType' in params ? params.TargetType : null; } } /** * DescribeShareUnitResources response structure. * @class */ class DescribeShareUnitResourcesResponse extends AbstractModel { constructor(){ super(); /** * Total number. * @type {number || null} */ this.Total = null; /** * Shared unit resource list. * @type {Array.<ShareUnitResource> || null} */ this.Items = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Total = 'Total' in params ? params.Total : null; if (params.Items) { this.Items = new Array(); for (let z in params.Items) { let obj = new ShareUnitResource(); obj.deserialize(params.Items[z]); this.Items.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeOrganizationMemberEmailBind response structure. * @class */ class DescribeOrganizationMemberEmailBindResponse extends AbstractModel { constructor(){ super(); /** * Bound ID. * @type {number || null} */ this.BindId = null; /** * Application time. * @type {string || null} */ this.ApplyTime = null; /** * Email address. * @type {string || null} */ this.Email = null; /** * Verification mobile number. * @type {string || null} */ this.Phone = null; /** * Binding status: unbound indicates not bound; valid indicates to be activated; success indicates bound successfully; failed indicates binding failed. * @type {string || null} */ this.BindStatus = null; /** * Binding time. * @type {string || null} */ this.BindTime = null; /** * Failure description. * @type {string || null} */ this.Description = null; /** * Verification mobile number binding status. 0 indicates unbound and 1 indicates bound. * @type {number || null} */ this.PhoneBind = null; /** * International area code. * @type {string || null} */ this.CountryCode = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.BindId = 'BindId' in params ? params.BindId : null; this.ApplyTime = 'ApplyTime' in params ? params.ApplyTime : null; this.Email = 'Email' in params ? params.Email : null; this.Phone = 'Phone' in params ? params.Phone : null; this.BindStatus = 'BindStatus' in params ? params.BindStatus : null; this.BindTime = 'BindTime' in params ? params.BindTime : null; this.Description = 'Description' in params ? params.Description : null; this.PhoneBind = 'PhoneBind' in params ? params.PhoneBind : null; this.CountryCode = 'CountryCode' in params ? params.CountryCode : null; this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * UpdateOrganizationIdentity request structure. * @class */ class UpdateOrganizationIdentityRequest extends AbstractModel { constructor(){ super(); /** * Identity ID, which can be obtained through [ListOrganizationIdentity](https://intl.cloud.tencent.com/document/product/850/82934?from_cn_redirect=1). * @type {number || null} */ this.IdentityId = null; /** * Identity description. * @type {string || null} */ this.Description = null; /** * Identity policy. * @type {Array.<IdentityPolicy> || null} */ this.IdentityPolicy = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.IdentityId = 'IdentityId' in params ? params.IdentityId : null; this.Description = 'Description' in params ? params.Description : null; if (params.IdentityPolicy) { this.IdentityPolicy = new Array(); for (let z in params.IdentityPolicy) { let obj = new IdentityPolicy(); obj.deserialize(params.IdentityPolicy[z]); this.IdentityPolicy.push(obj); } } } } /** * DeleteUser request structure. * @class */ class DeleteUserRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * User ID. * @type {string || null} */ this.UserId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.UserId = 'UserId' in params ? params.UserId : null; } } /** * Status information of the role synchronization task. * @class */ class RoleProvisioningsTask extends AbstractModel { constructor(){ super(); /** * Task ID. * @type {string || null} */ this.TaskId = null; /** * Permission configuration ID. * @type {string || null} */ this.RoleConfigurationId = null; /** * Permission configuration name. * @type {string || null} */ this.RoleConfigurationName = null; /** * UIN of the authorized target account of the Tencent Cloud Organization. * @type {number || null} */ this.TargetUin = null; /** * Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account. Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TargetType = null; /** * Task type. Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TaskType = null; /** * Task status. InProgress: The task is in progress; Failed: The task failed; Success: The task succeeded. Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TaskStatus = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TaskId = 'TaskId' in params ? params.TaskId : null; this.RoleConfigurationId = 'RoleConfigurationId' in params ? params.RoleConfigurationId : null; this.RoleConfigurationName = 'RoleConfigurationName' in params ? params.RoleConfigurationName : null; this.TargetUin = 'TargetUin' in params ? params.TargetUin : null; this.TargetType = 'TargetType' in params ? params.TargetType : null; this.TaskType = 'TaskType' in params ? params.TaskType : null; this.TaskStatus = 'TaskStatus' in params ? params.TaskStatus : null; } } /** * ProvisionRoleConfiguration request structure. * @class */ class ProvisionRoleConfigurationRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * Permission configuration ID. * @type {string || null} */ this.RoleConfigurationId = null; /** * Type of the synchronized target account of the Tencent Cloud Organization. ManagerUin: admin account; MemberUin: member account. * @type {string || null} */ this.TargetType = null; /** * UIN of the target account of the Tencent Cloud Organization. * @type {number || null} */ this.TargetUin = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.RoleConfigurationId = 'RoleConfigurationId' in params ? params.RoleConfigurationId : null; this.TargetType = 'TargetType' in params ? params.TargetType : null; this.TargetUin = 'TargetUin' in params ? params.TargetUin : null; } } /** * ListGroups response structure. * @class */ class ListGroupsResponse extends AbstractModel { constructor(){ super(); /** * Token for querying the next page of returned results. Note: This parameter is displayed only when IsTruncated is true. * @type {string || null} */ this.NextToken = null; /** * User group list. * @type {Array.<GroupInfo> || null} */ this.Groups = null; /** * Maximum number of data entries per page. * @type {number || null} */ this.MaxResults = null; /** * Total number of data entries that meet the request parameter conditions. * @type {number || null} */ this.TotalCounts = null; /** * Whether the returned result is truncated. Valid values: true: truncated; false: not truncated. * @type {boolean || null} */ this.IsTruncated = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.NextToken = 'NextToken' in params ? params.NextToken : null; if (params.Groups) { this.Groups = new Array(); for (let z in params.Groups) { let obj = new GroupInfo(); obj.deserialize(params.Groups[z]); this.Groups.push(obj); } } this.MaxResults = 'MaxResults' in params ? params.MaxResults : null; this.TotalCounts = 'TotalCounts' in params ? params.TotalCounts : null; this.IsTruncated = 'IsTruncated' in params ? params.IsTruncated : null; this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * UpdateZone response structure. * @class */ class UpdateZoneResponse extends AbstractModel { constructor(){ super(); /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DeleteOrganization request structure. * @class */ class DeleteOrganizationRequest extends AbstractModel { constructor(){ super(); } /** * @private */ deserialize(params) { if (!params) { return; } } } /** * RejectJoinShareUnitInvitation request structure. * @class */ class RejectJoinShareUnitInvitationRequest extends AbstractModel { constructor(){ super(); /** * Shared unit ID. * @type {string || null} */ this.UnitId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UnitId = 'UnitId' in params ? params.UnitId : null; } } /** * DescribeIdentityCenter response structure. * @class */ class DescribeIdentityCenterResponse extends AbstractModel { constructor(){ super(); /** * Space ID, which starts with the z- prefix, followed by 12 random digits/lowercase letters. * @type {string || null} */ this.ZoneId = null; /** * Space name, which must be globally unique and contain 2-64 characters including lowercase letters, digits, and hyphens (-). It can neither start or end with a hyphen (-) nor contain two consecutive hyphens (-). * @type {string || null} */ this.ZoneName = null; /** * Service activation status. Disabled: not activated; Enabled: activated. * @type {string || null} */ this.ServiceStatus = null; /** * SCIM synchronization status. Enabled: enabled. Disabled: disabled. * @type {string || null} */ this.ScimSyncStatus = null; /** * Creation time * @type {string || null} */ this.CreateTime = null; /** * Update date * @type {string || null} */ this.UpdateTime = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.ZoneName = 'ZoneName' in params ? params.ZoneName : null; this.ServiceStatus = 'ServiceStatus' in params ? params.ServiceStatus : null; this.ScimSyncStatus = 'ScimSyncStatus' in params ? params.ScimSyncStatus : null; this.CreateTime = 'CreateTime' in params ? params.CreateTime : null; this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null; this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * GetExternalSAMLIdentityProvider response structure. * @class */ class GetExternalSAMLIdentityProviderResponse extends AbstractModel { constructor(){ super(); /** * SAML identity provider configuration information. * @type {SAMLIdentityProviderConfiguration || null} */ this.SAMLIdentityProviderConfiguration = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.SAMLIdentityProviderConfiguration) { let obj = new SAMLIdentityProviderConfiguration(); obj.deserialize(params.SAMLIdentityProviderConfiguration) this.SAMLIdentityProviderConfiguration = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ListOrganizationIdentity request structure. * @class */ class ListOrganizationIdentityRequest extends AbstractModel { constructor(){ super(); /** * Offset. It must be an integer multiple of the value of `Limit`. Default value: `0`. * @type {number || null} */ this.Offset = null; /** * The limit for the number of query results. Value range: 1-50. Default value: `10`. * @type {number || null} */ this.Limit = null; /** * Search by name. * @type {string || null} */ this.SearchKey = null; /** * Identity ID, which can be searched by identity ID. * @type {number || null} */ this.IdentityId = null; /** * Identity type. Valid values: `1` (Preset), `2` (Custom). * @type {number || null} */ this.IdentityType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.SearchKey = 'SearchKey' in params ? params.SearchKey : null; this.IdentityId = 'IdentityId' in params ? params.IdentityId : null; this.IdentityType = 'IdentityType' in params ? params.IdentityType : null; } } /** * DeleteOrganizationMembers request structure. * @class */ class DeleteOrganizationMembersRequest extends AbstractModel { constructor(){ super(); /** * Uin list of the deleted members. * @type {Array.<number> || null} */ this.MemberUin = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MemberUin = 'MemberUin' in params ? params.MemberUin : null; } } /** * CreateOrganization response structure. * @class */ class CreateOrganizationResponse extends AbstractModel { constructor(){ super(); /** * Organization ID. * @type {number || null} */ this.OrgId = null; /** * Creator's nickname. * @type {string || null} */ this.NickName = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.OrgId = 'OrgId' in params ? params.OrgId : null; this.NickName = 'NickName' in params ? params.NickName : null; this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * AddShareUnitResources response structure. * @class */ class AddShareUnitResourcesResponse extends AbstractModel { constructor(){ super(); /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * AddOrganizationNode response structure. * @class */ class AddOrganizationNodeResponse extends AbstractModel { constructor(){ super(); /** * Node ID. * @type {number || null} */ this.NodeId = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.NodeId = 'NodeId' in params ? params.NodeId : null; this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * UpdateSCIMSynchronizationStatus response structure. * @class */ class UpdateSCIMSynchronizationStatusResponse extends AbstractModel { constructor(){ super(); /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ListPermissionPoliciesInRoleConfiguration response structure. * @class */ class ListPermissionPoliciesInRoleConfigurationResponse extends AbstractModel { constructor(){ super(); /** * Total number of permission policies. * @type {number || null} */ this.TotalCounts = null; /** * Permission policy list. * @type {Array.<RolePolicie> || null} */ this.RolePolicies = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCounts = 'TotalCounts' in params ? params.TotalCounts : null; if (params.RolePolicies) { this.RolePolicies = new Array(); for (let z in params.RolePolicies) { let obj = new RolePolicie(); obj.deserialize(params.RolePolicies[z]); this.RolePolicies.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * MoveOrganizationNodeMembers response structure. * @class */ class MoveOrganizationNodeMembersResponse extends AbstractModel { constructor(){ super(); /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * UpdateUserSyncProvisioning request structure. * @class */ class UpdateUserSyncProvisioningRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * User synchronization ID. * @type {string || null} */ this.UserProvisioningId = null; /** * User synchronization description. * @type {string || null} */ this.NewDescription = null; /** * Conflict policy. It indicates the handling policy for existence of a user with the same username when CIC users are synchronized to CAM. Valid values: KeepBoth: Keep both, that is, add the _cic suffix to the CIC user's username and then try to create a CAM user with the username when CIC users are synchronized to CAM and a user with the same username already exists in CAM; TakeOver: Replace, that is, directly replace the existing CAM user with the synchronized CIC user when CIC users are synchronized to CAM and a user with the same username already exists in CAM. * @type {string || null} */ this.NewDuplicationStateful = null; /** * Deletion policy. It indicates the handling policy for CAM users already synchronized when the CAM user synchronization is deleted. Valid values: Delete: Delete the CAM users already synchronized from CIC to CAM when the CAM user synchronization is deleted; Keep: Keep the CAM users already synchronized from CIC to CAM when the CAM user synchronization is deleted. * @type {string || null} */ this.NewDeletionStrategy = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.UserProvisioningId = 'UserProvisioningId' in params ? params.UserProvisioningId : null; this.NewDescription = 'NewDescription' in params ? params.NewDescription : null; this.NewDuplicationStateful = 'NewDuplicationStateful' in params ? params.NewDuplicationStateful : null; this.NewDeletionStrategy = 'NewDeletionStrategy' in params ? params.NewDeletionStrategy : null; } } /** * DeleteShareUnit response structure. * @class */ class DeleteShareUnitResponse extends AbstractModel { constructor(){ super(); /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * UpdateShareUnit request structure. * @class */ class UpdateShareUnitRequest extends AbstractModel { constructor(){ super(); /** * Shared unit ID. * @type {string || null} */ this.UnitId = null; /** * Shared unit name. It only supports combinations of uppercase and lowercase letters, digits, hyphens (-), and underscores (_), with 3 to 128 characters. * @type {string || null} */ this.Name = null; /** * Shared unit description. Maximum: 128 characters. * @type {string || null} */ this.Description = null; /** * Sharing scope. Valid values: 1: Only sharing within a group organization is allowed; 2: Sharing with any account is allowed. Default value: 1 * @type {number || null} */ this.ShareScope = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UnitId = 'UnitId' in params ? params.UnitId : null; this.Name = 'Name' in params ? params.Name : null; this.Description = 'Description' in params ? params.Description : null; this.ShareScope = 'ShareScope' in params ? params.ShareScope : null; } } /** * RemoveExternalSAMLIdPCertificate response structure. * @class */ class RemoveExternalSAMLIdPCertificateResponse extends AbstractModel { constructor(){ super(); /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * CreateGroup request structure. * @class */ class CreateGroupRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * User group name, which contains up to 128 characters, including English letters, digits, and special characters (-). * @type {string || null} */ this.GroupName = null; /** * User group description, which contains up to 1024 characters. * @type {string || null} */ this.Description = null; /** * User group type. Manual: manually created, Synchronized: imported from external sources. * @type {string || null} */ this.GroupType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.GroupName = 'GroupName' in params ? params.GroupName : null; this.Description = 'Description' in params ? params.Description : null; this.GroupType = 'GroupType' in params ? params.GroupType : null; } } /** * ListUsers response structure. * @class */ class ListUsersResponse extends AbstractModel { constructor(){ super(); /** * Total number of data entries that meet the request parameter conditions. * @type {number || null} */ this.TotalCounts = null; /** * Maximum number of data entries per page. * @type {number || null} */ this.MaxResults = null; /** * User list. * @type {Array.<UserInfo> || null} */ this.Users = null; /** * Token for querying the next page of returned results. This parameter is displayed only when IsTruncated is true. * @type {string || null} */ this.NextToken = null; /** * Whether the returned result is truncated. Valid values: true: truncated; false: not truncated. * @type {boolean || null} */ this.IsTruncated = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCounts = 'TotalCounts' in params ? params.TotalCounts : null; this.MaxResults = 'MaxResults' in params ? params.MaxResults : null; if (params.Users) { this.Users = new Array(); for (let z in params.Users) { let obj = new UserInfo(); obj.deserialize(params.Users[z]); this.Users.push(obj); } } this.NextToken = 'NextToken' in params ? params.NextToken : null; this.IsTruncated = 'IsTruncated' in params ? params.IsTruncated : null; this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DeleteRoleConfiguration request structure. * @class */ class DeleteRoleConfigurationRequest extends AbstractModel { constructor(){ super(); /** * Space ID. * @type {string || null} */ this.ZoneId = null; /** * Permission configuration ID. * @type {string || null} */ this.RoleConfigurationId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ZoneId = 'ZoneId' in params ? params.ZoneId : null; this.RoleConfigurationId = 'RoleConfigurationId' in params ? params.RoleConfigurationId : null; } } /** * CreateOrganizationIdentity request structure. * @class */ class CreateOrganizationIdentityRequest extends AbstractModel { constructor(){ super(); /** * Identity name. * @type {string || null} */ this.IdentityAliasName = null; /** * Identity policy. * @type {Array.<IdentityPolicy> || null} */ this.IdentityPolicy = null; /** * Identity description. * @type {string || null} */ this.Description = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.IdentityAliasName = 'IdentityAliasName' in params ? params.IdentityAliasName : null; if (params.IdentityPolicy) { this.IdentityPolicy = new Array(); for (let z in params.IdentityPolicy) { let obj = new IdentityPolicy(); obj.deserialize(params.IdentityPolicy[z]); this.IdentityPolicy.push(obj); } } this.Description = 'Description' in params ? params.Description : null; } } /** * ListOrganizationService response structure. * @class */ class ListOrganizationServiceResponse extends AbstractModel { constructor(){ super(); /** * Total quantity. Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.Total = null; /** * Organization service list. Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<OrganizationServiceAssign> || null} */ this.Items = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Total = 'Total' in params ? params.Total : null; if (params.Items) { this.Items = new Array(); for (let z in params.Items) { let obj = new OrganizationServiceAssign(); obj.deserialize(params.Items[z]); this.Items.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DeleteUserSyncProvisioning response structure. * @class */ class DeleteUserSyncProvisioningResponse extends AbstractModel { constructor(){ super(); /** * Task details. * @type {UserProvisioningsTask || null} */ this.Tasks = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Tasks) { let obj = new UserProvisioningsTask(); obj.deserialize(params.Tasks) this.Tasks = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ProvisionRoleConfiguration response structure. * @class