@alicloud/eiam20211201 2.8.2 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +765 -0
- package/dist/client.js +2514 -84
- package/dist/client.js.map +1 -1
- package/dist/models/AuthorizeResourceServerScopesToClientRequest.d.ts +53 -0
- package/dist/models/AuthorizeResourceServerScopesToClientRequest.js +67 -0
- package/dist/models/AuthorizeResourceServerScopesToClientRequest.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToClientResponse.d.ts +19 -0
- package/dist/models/AuthorizeResourceServerScopesToClientResponse.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToClientResponse.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToClientResponseBody.d.ts +18 -0
- package/dist/models/AuthorizeResourceServerScopesToClientResponseBody.js +58 -0
- package/dist/models/AuthorizeResourceServerScopesToClientResponseBody.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupRequest.d.ts +61 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupRequest.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupRequest.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupResponse.d.ts +19 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupResponse.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupResponse.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupResponseBody.d.ts +18 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupResponseBody.js +58 -0
- package/dist/models/AuthorizeResourceServerScopesToGroupResponseBody.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitRequest.d.ts +61 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitRequest.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitRequest.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitResponse.d.ts +19 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitResponse.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitResponse.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitResponseBody.d.ts +18 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitResponseBody.js +58 -0
- package/dist/models/AuthorizeResourceServerScopesToOrganizationalUnitResponseBody.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToUserRequest.d.ts +61 -0
- package/dist/models/AuthorizeResourceServerScopesToUserRequest.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToUserRequest.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToUserResponse.d.ts +19 -0
- package/dist/models/AuthorizeResourceServerScopesToUserResponse.js +69 -0
- package/dist/models/AuthorizeResourceServerScopesToUserResponse.js.map +1 -0
- package/dist/models/AuthorizeResourceServerScopesToUserResponseBody.d.ts +18 -0
- package/dist/models/AuthorizeResourceServerScopesToUserResponseBody.js +58 -0
- package/dist/models/AuthorizeResourceServerScopesToUserResponseBody.js.map +1 -0
- package/dist/models/AuthorizeResourceServerToClientRequest.d.ts +43 -0
- package/dist/models/AuthorizeResourceServerToClientRequest.js +62 -0
- package/dist/models/AuthorizeResourceServerToClientRequest.js.map +1 -0
- package/dist/models/AuthorizeResourceServerToClientResponse.d.ts +19 -0
- package/dist/models/AuthorizeResourceServerToClientResponse.js +69 -0
- package/dist/models/AuthorizeResourceServerToClientResponse.js.map +1 -0
- package/dist/models/AuthorizeResourceServerToClientResponseBody.d.ts +18 -0
- package/dist/models/AuthorizeResourceServerToClientResponseBody.js +58 -0
- package/dist/models/AuthorizeResourceServerToClientResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationRoleRequest.d.ts +59 -0
- package/dist/models/CreateApplicationRoleRequest.js +66 -0
- package/dist/models/CreateApplicationRoleRequest.js.map +1 -0
- package/dist/models/CreateApplicationRoleResponse.d.ts +19 -0
- package/dist/models/CreateApplicationRoleResponse.js +69 -0
- package/dist/models/CreateApplicationRoleResponse.js.map +1 -0
- package/dist/models/CreateApplicationRoleResponseBody.d.ts +23 -0
- package/dist/models/CreateApplicationRoleResponseBody.js +60 -0
- package/dist/models/CreateApplicationRoleResponseBody.js.map +1 -0
- package/dist/models/CreateClientPublicKeyRequest.d.ts +69 -0
- package/dist/models/CreateClientPublicKeyRequest.js +66 -0
- package/dist/models/CreateClientPublicKeyRequest.js.map +1 -0
- package/dist/models/CreateClientPublicKeyResponse.d.ts +19 -0
- package/dist/models/CreateClientPublicKeyResponse.js +69 -0
- package/dist/models/CreateClientPublicKeyResponse.js.map +1 -0
- package/dist/models/CreateClientPublicKeyResponseBody.d.ts +23 -0
- package/dist/models/CreateClientPublicKeyResponseBody.js +60 -0
- package/dist/models/CreateClientPublicKeyResponseBody.js.map +1 -0
- package/dist/models/CreateCloudAccountRequest.d.ts +72 -0
- package/dist/models/CreateCloudAccountRequest.js +70 -0
- package/dist/models/CreateCloudAccountRequest.js.map +1 -0
- package/dist/models/CreateCloudAccountResponse.d.ts +19 -0
- package/dist/models/CreateCloudAccountResponse.js +69 -0
- package/dist/models/CreateCloudAccountResponse.js.map +1 -0
- package/dist/models/CreateCloudAccountResponseBody.d.ts +23 -0
- package/dist/models/CreateCloudAccountResponseBody.js +60 -0
- package/dist/models/CreateCloudAccountResponseBody.js.map +1 -0
- package/dist/models/CreateCloudAccountRoleRequest.d.ts +62 -0
- package/dist/models/CreateCloudAccountRoleRequest.js +68 -0
- package/dist/models/CreateCloudAccountRoleRequest.js.map +1 -0
- package/dist/models/CreateCloudAccountRoleResponse.d.ts +19 -0
- package/dist/models/CreateCloudAccountRoleResponse.js +69 -0
- package/dist/models/CreateCloudAccountRoleResponse.js.map +1 -0
- package/dist/models/CreateCloudAccountRoleResponseBody.d.ts +23 -0
- package/dist/models/CreateCloudAccountRoleResponseBody.js +60 -0
- package/dist/models/CreateCloudAccountRoleResponseBody.js.map +1 -0
- package/dist/models/CreateResourceServerScopeRequest.d.ts +68 -0
- package/dist/models/CreateResourceServerScopeRequest.js +68 -0
- package/dist/models/CreateResourceServerScopeRequest.js.map +1 -0
- package/dist/models/CreateResourceServerScopeResponse.d.ts +19 -0
- package/dist/models/CreateResourceServerScopeResponse.js +69 -0
- package/dist/models/CreateResourceServerScopeResponse.js.map +1 -0
- package/dist/models/CreateResourceServerScopeResponseBody.d.ts +23 -0
- package/dist/models/CreateResourceServerScopeResponseBody.js +60 -0
- package/dist/models/CreateResourceServerScopeResponseBody.js.map +1 -0
- package/dist/models/DeleteApplicationRoleRequest.d.ts +43 -0
- package/dist/models/DeleteApplicationRoleRequest.js +62 -0
- package/dist/models/DeleteApplicationRoleRequest.js.map +1 -0
- package/dist/models/DeleteApplicationRoleResponse.d.ts +19 -0
- package/dist/models/DeleteApplicationRoleResponse.js +69 -0
- package/dist/models/DeleteApplicationRoleResponse.js.map +1 -0
- package/dist/models/DeleteApplicationRoleResponseBody.d.ts +18 -0
- package/dist/models/DeleteApplicationRoleResponseBody.js +58 -0
- package/dist/models/DeleteApplicationRoleResponseBody.js.map +1 -0
- package/dist/models/DeleteClientPublicKeyRequest.d.ts +43 -0
- package/dist/models/DeleteClientPublicKeyRequest.js +62 -0
- package/dist/models/DeleteClientPublicKeyRequest.js.map +1 -0
- package/dist/models/DeleteClientPublicKeyResponse.d.ts +19 -0
- package/dist/models/DeleteClientPublicKeyResponse.js +69 -0
- package/dist/models/DeleteClientPublicKeyResponse.js.map +1 -0
- package/dist/models/DeleteClientPublicKeyResponseBody.d.ts +18 -0
- package/dist/models/DeleteClientPublicKeyResponseBody.js +58 -0
- package/dist/models/DeleteClientPublicKeyResponseBody.js.map +1 -0
- package/dist/models/DeleteCloudAccountRequest.d.ts +33 -0
- package/dist/models/DeleteCloudAccountRequest.js +60 -0
- package/dist/models/DeleteCloudAccountRequest.js.map +1 -0
- package/dist/models/DeleteCloudAccountResponse.d.ts +19 -0
- package/dist/models/DeleteCloudAccountResponse.js +69 -0
- package/dist/models/DeleteCloudAccountResponse.js.map +1 -0
- package/dist/models/DeleteCloudAccountResponseBody.d.ts +18 -0
- package/dist/models/DeleteCloudAccountResponseBody.js +58 -0
- package/dist/models/DeleteCloudAccountResponseBody.js.map +1 -0
- package/dist/models/DeleteCloudAccountRoleRequest.d.ts +41 -0
- package/dist/models/DeleteCloudAccountRoleRequest.js +62 -0
- package/dist/models/DeleteCloudAccountRoleRequest.js.map +1 -0
- package/dist/models/DeleteCloudAccountRoleResponse.d.ts +19 -0
- package/dist/models/DeleteCloudAccountRoleResponse.js +69 -0
- package/dist/models/DeleteCloudAccountRoleResponse.js.map +1 -0
- package/dist/models/DeleteCloudAccountRoleResponseBody.d.ts +18 -0
- package/dist/models/DeleteCloudAccountRoleResponseBody.js +58 -0
- package/dist/models/DeleteCloudAccountRoleResponseBody.js.map +1 -0
- package/dist/models/DeleteResourceServerScopeRequest.d.ts +43 -0
- package/dist/models/DeleteResourceServerScopeRequest.js +62 -0
- package/dist/models/DeleteResourceServerScopeRequest.js.map +1 -0
- package/dist/models/DeleteResourceServerScopeResponse.d.ts +19 -0
- package/dist/models/DeleteResourceServerScopeResponse.js +69 -0
- package/dist/models/DeleteResourceServerScopeResponse.js.map +1 -0
- package/dist/models/DeleteResourceServerScopeResponseBody.d.ts +18 -0
- package/dist/models/DeleteResourceServerScopeResponseBody.js +58 -0
- package/dist/models/DeleteResourceServerScopeResponseBody.js.map +1 -0
- package/dist/models/DisableApplicationM2mclientRequest.d.ts +33 -0
- package/dist/models/DisableApplicationM2mclientRequest.js +60 -0
- package/dist/models/DisableApplicationM2mclientRequest.js.map +1 -0
- package/dist/models/DisableApplicationM2mclientResponse.d.ts +19 -0
- package/dist/models/DisableApplicationM2mclientResponse.js +69 -0
- package/dist/models/DisableApplicationM2mclientResponse.js.map +1 -0
- package/dist/models/DisableApplicationM2mclientResponseBody.d.ts +18 -0
- package/dist/models/DisableApplicationM2mclientResponseBody.js +58 -0
- package/dist/models/DisableApplicationM2mclientResponseBody.js.map +1 -0
- package/dist/models/DisableApplicationResourceServerRequest.d.ts +33 -0
- package/dist/models/DisableApplicationResourceServerRequest.js +60 -0
- package/dist/models/DisableApplicationResourceServerRequest.js.map +1 -0
- package/dist/models/DisableApplicationResourceServerResponse.d.ts +19 -0
- package/dist/models/DisableApplicationResourceServerResponse.js +69 -0
- package/dist/models/DisableApplicationResourceServerResponse.js.map +1 -0
- package/dist/models/DisableApplicationResourceServerResponseBody.d.ts +18 -0
- package/dist/models/DisableApplicationResourceServerResponseBody.js +58 -0
- package/dist/models/DisableApplicationResourceServerResponseBody.js.map +1 -0
- package/dist/models/DisableClientPublicKeyRequest.d.ts +51 -0
- package/dist/models/DisableClientPublicKeyRequest.js +64 -0
- package/dist/models/DisableClientPublicKeyRequest.js.map +1 -0
- package/dist/models/DisableClientPublicKeyResponse.d.ts +19 -0
- package/dist/models/DisableClientPublicKeyResponse.js +69 -0
- package/dist/models/DisableClientPublicKeyResponse.js.map +1 -0
- package/dist/models/DisableClientPublicKeyResponseBody.d.ts +18 -0
- package/dist/models/DisableClientPublicKeyResponseBody.js +58 -0
- package/dist/models/DisableClientPublicKeyResponseBody.js.map +1 -0
- package/dist/models/DisableCloudAccountRoleRequest.d.ts +49 -0
- package/dist/models/DisableCloudAccountRoleRequest.js +64 -0
- package/dist/models/DisableCloudAccountRoleRequest.js.map +1 -0
- package/dist/models/DisableCloudAccountRoleResponse.d.ts +19 -0
- package/dist/models/DisableCloudAccountRoleResponse.js +69 -0
- package/dist/models/DisableCloudAccountRoleResponse.js.map +1 -0
- package/dist/models/DisableCloudAccountRoleResponseBody.d.ts +18 -0
- package/dist/models/DisableCloudAccountRoleResponseBody.js +58 -0
- package/dist/models/DisableCloudAccountRoleResponseBody.js.map +1 -0
- package/dist/models/DisableResourceServerCustomSubjectRequest.d.ts +33 -0
- package/dist/models/DisableResourceServerCustomSubjectRequest.js +60 -0
- package/dist/models/DisableResourceServerCustomSubjectRequest.js.map +1 -0
- package/dist/models/DisableResourceServerCustomSubjectResponse.d.ts +19 -0
- package/dist/models/DisableResourceServerCustomSubjectResponse.js +69 -0
- package/dist/models/DisableResourceServerCustomSubjectResponse.js.map +1 -0
- package/dist/models/DisableResourceServerCustomSubjectResponseBody.d.ts +18 -0
- package/dist/models/DisableResourceServerCustomSubjectResponseBody.js +58 -0
- package/dist/models/DisableResourceServerCustomSubjectResponseBody.js.map +1 -0
- package/dist/models/EnableApplicationM2mclientRequest.d.ts +33 -0
- package/dist/models/EnableApplicationM2mclientRequest.js +60 -0
- package/dist/models/EnableApplicationM2mclientRequest.js.map +1 -0
- package/dist/models/EnableApplicationM2mclientResponse.d.ts +19 -0
- package/dist/models/EnableApplicationM2mclientResponse.js +69 -0
- package/dist/models/EnableApplicationM2mclientResponse.js.map +1 -0
- package/dist/models/EnableApplicationM2mclientResponseBody.d.ts +18 -0
- package/dist/models/EnableApplicationM2mclientResponseBody.js +58 -0
- package/dist/models/EnableApplicationM2mclientResponseBody.js.map +1 -0
- package/dist/models/EnableApplicationResourceServerRequest.d.ts +33 -0
- package/dist/models/EnableApplicationResourceServerRequest.js +60 -0
- package/dist/models/EnableApplicationResourceServerRequest.js.map +1 -0
- package/dist/models/EnableApplicationResourceServerResponse.d.ts +19 -0
- package/dist/models/EnableApplicationResourceServerResponse.js +69 -0
- package/dist/models/EnableApplicationResourceServerResponse.js.map +1 -0
- package/dist/models/EnableApplicationResourceServerResponseBody.d.ts +18 -0
- package/dist/models/EnableApplicationResourceServerResponseBody.js +58 -0
- package/dist/models/EnableApplicationResourceServerResponseBody.js.map +1 -0
- package/dist/models/EnableClientPublicKeyRequest.d.ts +51 -0
- package/dist/models/EnableClientPublicKeyRequest.js +64 -0
- package/dist/models/EnableClientPublicKeyRequest.js.map +1 -0
- package/dist/models/EnableClientPublicKeyResponse.d.ts +19 -0
- package/dist/models/EnableClientPublicKeyResponse.js +69 -0
- package/dist/models/EnableClientPublicKeyResponse.js.map +1 -0
- package/dist/models/EnableClientPublicKeyResponseBody.d.ts +18 -0
- package/dist/models/EnableClientPublicKeyResponseBody.js +58 -0
- package/dist/models/EnableClientPublicKeyResponseBody.js.map +1 -0
- package/dist/models/EnableCloudAccountRoleRequest.d.ts +49 -0
- package/dist/models/EnableCloudAccountRoleRequest.js +64 -0
- package/dist/models/EnableCloudAccountRoleRequest.js.map +1 -0
- package/dist/models/EnableCloudAccountRoleResponse.d.ts +19 -0
- package/dist/models/EnableCloudAccountRoleResponse.js +69 -0
- package/dist/models/EnableCloudAccountRoleResponse.js.map +1 -0
- package/dist/models/EnableCloudAccountRoleResponseBody.d.ts +18 -0
- package/dist/models/EnableCloudAccountRoleResponseBody.js +58 -0
- package/dist/models/EnableCloudAccountRoleResponseBody.js.map +1 -0
- package/dist/models/EnableResourceServerCustomSubjectRequest.d.ts +33 -0
- package/dist/models/EnableResourceServerCustomSubjectRequest.js +60 -0
- package/dist/models/EnableResourceServerCustomSubjectRequest.js.map +1 -0
- package/dist/models/EnableResourceServerCustomSubjectResponse.d.ts +19 -0
- package/dist/models/EnableResourceServerCustomSubjectResponse.js +69 -0
- package/dist/models/EnableResourceServerCustomSubjectResponse.js.map +1 -0
- package/dist/models/EnableResourceServerCustomSubjectResponseBody.d.ts +18 -0
- package/dist/models/EnableResourceServerCustomSubjectResponseBody.js +58 -0
- package/dist/models/EnableResourceServerCustomSubjectResponseBody.js.map +1 -0
- package/dist/models/GetApplicationRoleRequest.d.ts +43 -0
- package/dist/models/GetApplicationRoleRequest.js +62 -0
- package/dist/models/GetApplicationRoleRequest.js.map +1 -0
- package/dist/models/GetApplicationRoleResponse.d.ts +19 -0
- package/dist/models/GetApplicationRoleResponse.js +69 -0
- package/dist/models/GetApplicationRoleResponse.js.map +1 -0
- package/dist/models/GetApplicationRoleResponseBody.d.ts +79 -0
- package/dist/models/GetApplicationRoleResponseBody.js +92 -0
- package/dist/models/GetApplicationRoleResponseBody.js.map +1 -0
- package/dist/models/GetClientPublicKeyRequest.d.ts +43 -0
- package/dist/models/GetClientPublicKeyRequest.js +62 -0
- package/dist/models/GetClientPublicKeyRequest.js.map +1 -0
- package/dist/models/GetClientPublicKeyResponse.d.ts +19 -0
- package/dist/models/GetClientPublicKeyResponse.js +69 -0
- package/dist/models/GetClientPublicKeyResponse.js.map +1 -0
- package/dist/models/GetClientPublicKeyResponseBody.d.ts +108 -0
- package/dist/models/GetClientPublicKeyResponseBody.js +98 -0
- package/dist/models/GetClientPublicKeyResponseBody.js.map +1 -0
- package/dist/models/GetCloudAccountRequest.d.ts +33 -0
- package/dist/models/GetCloudAccountRequest.js +60 -0
- package/dist/models/GetCloudAccountRequest.js.map +1 -0
- package/dist/models/GetCloudAccountResponse.d.ts +19 -0
- package/dist/models/GetCloudAccountResponse.js +69 -0
- package/dist/models/GetCloudAccountResponse.js.map +1 -0
- package/dist/models/GetCloudAccountResponseBody.d.ts +200 -0
- package/dist/models/GetCloudAccountResponseBody.js +182 -0
- package/dist/models/GetCloudAccountResponseBody.js.map +1 -0
- package/dist/models/GetCloudAccountRoleRequest.d.ts +41 -0
- package/dist/models/GetCloudAccountRoleRequest.js +62 -0
- package/dist/models/GetCloudAccountRoleRequest.js.map +1 -0
- package/dist/models/GetCloudAccountRoleResponse.d.ts +19 -0
- package/dist/models/GetCloudAccountRoleResponse.js +69 -0
- package/dist/models/GetCloudAccountRoleResponse.js.map +1 -0
- package/dist/models/GetCloudAccountRoleResponseBody.d.ts +184 -0
- package/dist/models/GetCloudAccountRoleResponseBody.js +156 -0
- package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -0
- package/dist/models/GetResourceServerScopeRequest.d.ts +43 -0
- package/dist/models/GetResourceServerScopeRequest.js +62 -0
- package/dist/models/GetResourceServerScopeRequest.js.map +1 -0
- package/dist/models/GetResourceServerScopeResponse.d.ts +19 -0
- package/dist/models/GetResourceServerScopeResponse.js +69 -0
- package/dist/models/GetResourceServerScopeResponse.js.map +1 -0
- package/dist/models/GetResourceServerScopeResponseBody.d.ts +84 -0
- package/dist/models/GetResourceServerScopeResponseBody.js +94 -0
- package/dist/models/GetResourceServerScopeResponseBody.js.map +1 -0
- package/dist/models/ListApplicationRolesRequest.d.ts +65 -0
- package/dist/models/ListApplicationRolesRequest.js +93 -0
- package/dist/models/ListApplicationRolesRequest.js.map +1 -0
- package/dist/models/ListApplicationRolesResponse.d.ts +19 -0
- package/dist/models/ListApplicationRolesResponse.js +69 -0
- package/dist/models/ListApplicationRolesResponse.js.map +1 -0
- package/dist/models/ListApplicationRolesResponseBody.d.ts +85 -0
- package/dist/models/ListApplicationRolesResponseBody.js +98 -0
- package/dist/models/ListApplicationRolesResponseBody.js.map +1 -0
- package/dist/models/ListClientPublicKeysRequest.d.ts +46 -0
- package/dist/models/ListClientPublicKeysRequest.js +64 -0
- package/dist/models/ListClientPublicKeysRequest.js.map +1 -0
- package/dist/models/ListClientPublicKeysResponse.d.ts +19 -0
- package/dist/models/ListClientPublicKeysResponse.js +69 -0
- package/dist/models/ListClientPublicKeysResponse.js.map +1 -0
- package/dist/models/ListClientPublicKeysResponseBody.d.ts +126 -0
- package/dist/models/ListClientPublicKeysResponseBody.js +104 -0
- package/dist/models/ListClientPublicKeysResponseBody.js.map +1 -0
- package/dist/models/ListCloudAccountRolesRequest.d.ts +64 -0
- package/dist/models/ListCloudAccountRolesRequest.js +93 -0
- package/dist/models/ListCloudAccountRolesRequest.js.map +1 -0
- package/dist/models/ListCloudAccountRolesResponse.d.ts +19 -0
- package/dist/models/ListCloudAccountRolesResponse.js +69 -0
- package/dist/models/ListCloudAccountRolesResponse.js.map +1 -0
- package/dist/models/ListCloudAccountRolesResponseBody.d.ts +188 -0
- package/dist/models/ListCloudAccountRolesResponseBody.js +162 -0
- package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -0
- package/dist/models/ListCloudAccountsRequest.d.ts +58 -0
- package/dist/models/ListCloudAccountsRequest.js +91 -0
- package/dist/models/ListCloudAccountsRequest.js.map +1 -0
- package/dist/models/ListCloudAccountsResponse.d.ts +19 -0
- package/dist/models/ListCloudAccountsResponse.js +69 -0
- package/dist/models/ListCloudAccountsResponse.js.map +1 -0
- package/dist/models/ListCloudAccountsResponseBody.d.ts +172 -0
- package/dist/models/ListCloudAccountsResponseBody.js +158 -0
- package/dist/models/ListCloudAccountsResponseBody.js.map +1 -0
- package/dist/models/ListGroupsForResourceServerRequest.d.ts +63 -0
- package/dist/models/ListGroupsForResourceServerRequest.js +93 -0
- package/dist/models/ListGroupsForResourceServerRequest.js.map +1 -0
- package/dist/models/ListGroupsForResourceServerResponse.d.ts +19 -0
- package/dist/models/ListGroupsForResourceServerResponse.js +69 -0
- package/dist/models/ListGroupsForResourceServerResponse.js.map +1 -0
- package/dist/models/ListGroupsForResourceServerResponseBody.d.ts +98 -0
- package/dist/models/ListGroupsForResourceServerResponseBody.js +116 -0
- package/dist/models/ListGroupsForResourceServerResponseBody.js.map +1 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerRequest.d.ts +65 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerRequest.js +93 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerRequest.js.map +1 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerResponse.d.ts +19 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerResponse.js +69 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerResponse.js.map +1 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerResponseBody.d.ts +98 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerResponseBody.js +116 -0
- package/dist/models/ListOrganizationalUnitsForResourceServerResponseBody.js.map +1 -0
- package/dist/models/ListResourceServersForUserRequest.d.ts +65 -0
- package/dist/models/ListResourceServersForUserRequest.js +93 -0
- package/dist/models/ListResourceServersForUserRequest.js.map +1 -0
- package/dist/models/ListResourceServersForUserResponse.d.ts +19 -0
- package/dist/models/ListResourceServersForUserResponse.js +69 -0
- package/dist/models/ListResourceServersForUserResponse.js.map +1 -0
- package/dist/models/ListResourceServersForUserResponseBody.d.ts +119 -0
- package/dist/models/ListResourceServersForUserResponseBody.js +122 -0
- package/dist/models/ListResourceServersForUserResponseBody.js.map +1 -0
- package/dist/models/ListUsersForResourceServerRequest.d.ts +65 -0
- package/dist/models/ListUsersForResourceServerRequest.js +93 -0
- package/dist/models/ListUsersForResourceServerRequest.js.map +1 -0
- package/dist/models/ListUsersForResourceServerResponse.d.ts +19 -0
- package/dist/models/ListUsersForResourceServerResponse.js +69 -0
- package/dist/models/ListUsersForResourceServerResponse.js.map +1 -0
- package/dist/models/ListUsersForResourceServerResponseBody.d.ts +98 -0
- package/dist/models/ListUsersForResourceServerResponseBody.js +116 -0
- package/dist/models/ListUsersForResourceServerResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerFromClientRequest.d.ts +43 -0
- package/dist/models/RevokeResourceServerFromClientRequest.js +62 -0
- package/dist/models/RevokeResourceServerFromClientRequest.js.map +1 -0
- package/dist/models/RevokeResourceServerFromClientResponse.d.ts +19 -0
- package/dist/models/RevokeResourceServerFromClientResponse.js +69 -0
- package/dist/models/RevokeResourceServerFromClientResponse.js.map +1 -0
- package/dist/models/RevokeResourceServerFromClientResponseBody.d.ts +18 -0
- package/dist/models/RevokeResourceServerFromClientResponseBody.js +58 -0
- package/dist/models/RevokeResourceServerFromClientResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromClientRequest.d.ts +53 -0
- package/dist/models/RevokeResourceServerScopesFromClientRequest.js +67 -0
- package/dist/models/RevokeResourceServerScopesFromClientRequest.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromClientResponse.d.ts +19 -0
- package/dist/models/RevokeResourceServerScopesFromClientResponse.js +69 -0
- package/dist/models/RevokeResourceServerScopesFromClientResponse.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromClientResponseBody.d.ts +18 -0
- package/dist/models/RevokeResourceServerScopesFromClientResponseBody.js +58 -0
- package/dist/models/RevokeResourceServerScopesFromClientResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromGroupRequest.d.ts +51 -0
- package/dist/models/RevokeResourceServerScopesFromGroupRequest.js +67 -0
- package/dist/models/RevokeResourceServerScopesFromGroupRequest.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromGroupResponse.d.ts +19 -0
- package/dist/models/RevokeResourceServerScopesFromGroupResponse.js +69 -0
- package/dist/models/RevokeResourceServerScopesFromGroupResponse.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromGroupResponseBody.d.ts +18 -0
- package/dist/models/RevokeResourceServerScopesFromGroupResponseBody.js +58 -0
- package/dist/models/RevokeResourceServerScopesFromGroupResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitRequest.d.ts +53 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitRequest.js +67 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitRequest.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitResponse.d.ts +19 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitResponse.js +69 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitResponse.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitResponseBody.d.ts +18 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitResponseBody.js +58 -0
- package/dist/models/RevokeResourceServerScopesFromOrganizationalUnitResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromUserRequest.d.ts +53 -0
- package/dist/models/RevokeResourceServerScopesFromUserRequest.js +67 -0
- package/dist/models/RevokeResourceServerScopesFromUserRequest.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromUserResponse.d.ts +19 -0
- package/dist/models/RevokeResourceServerScopesFromUserResponse.js +69 -0
- package/dist/models/RevokeResourceServerScopesFromUserResponse.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromUserResponseBody.d.ts +18 -0
- package/dist/models/RevokeResourceServerScopesFromUserResponseBody.js +58 -0
- package/dist/models/RevokeResourceServerScopesFromUserResponseBody.js.map +1 -0
- package/dist/models/SetApplicationResourceServerIdentifierRequest.d.ts +48 -0
- package/dist/models/SetApplicationResourceServerIdentifierRequest.js +64 -0
- package/dist/models/SetApplicationResourceServerIdentifierRequest.js.map +1 -0
- package/dist/models/SetApplicationResourceServerIdentifierResponse.d.ts +19 -0
- package/dist/models/SetApplicationResourceServerIdentifierResponse.js +69 -0
- package/dist/models/SetApplicationResourceServerIdentifierResponse.js.map +1 -0
- package/dist/models/SetApplicationResourceServerIdentifierResponseBody.d.ts +18 -0
- package/dist/models/SetApplicationResourceServerIdentifierResponseBody.js +58 -0
- package/dist/models/SetApplicationResourceServerIdentifierResponseBody.js.map +1 -0
- package/dist/models/SetPrimaryClientPublicKeyRequest.d.ts +51 -0
- package/dist/models/SetPrimaryClientPublicKeyRequest.js +64 -0
- package/dist/models/SetPrimaryClientPublicKeyRequest.js.map +1 -0
- package/dist/models/SetPrimaryClientPublicKeyResponse.d.ts +19 -0
- package/dist/models/SetPrimaryClientPublicKeyResponse.js +69 -0
- package/dist/models/SetPrimaryClientPublicKeyResponse.js.map +1 -0
- package/dist/models/SetPrimaryClientPublicKeyResponseBody.d.ts +18 -0
- package/dist/models/SetPrimaryClientPublicKeyResponseBody.js +58 -0
- package/dist/models/SetPrimaryClientPublicKeyResponseBody.js.map +1 -0
- package/dist/models/UpdateApplicationRoleDescriptionRequest.d.ts +51 -0
- package/dist/models/UpdateApplicationRoleDescriptionRequest.js +64 -0
- package/dist/models/UpdateApplicationRoleDescriptionRequest.js.map +1 -0
- package/dist/models/UpdateApplicationRoleDescriptionResponse.d.ts +19 -0
- package/dist/models/UpdateApplicationRoleDescriptionResponse.js +69 -0
- package/dist/models/UpdateApplicationRoleDescriptionResponse.js.map +1 -0
- package/dist/models/UpdateApplicationRoleDescriptionResponseBody.d.ts +18 -0
- package/dist/models/UpdateApplicationRoleDescriptionResponseBody.js +58 -0
- package/dist/models/UpdateApplicationRoleDescriptionResponseBody.js.map +1 -0
- package/dist/models/UpdateApplicationRoleRequest.d.ts +59 -0
- package/dist/models/UpdateApplicationRoleRequest.js +66 -0
- package/dist/models/UpdateApplicationRoleRequest.js.map +1 -0
- package/dist/models/UpdateApplicationRoleResponse.d.ts +19 -0
- package/dist/models/UpdateApplicationRoleResponse.js +69 -0
- package/dist/models/UpdateApplicationRoleResponse.js.map +1 -0
- package/dist/models/UpdateApplicationRoleResponseBody.d.ts +18 -0
- package/dist/models/UpdateApplicationRoleResponseBody.js +58 -0
- package/dist/models/UpdateApplicationRoleResponseBody.js.map +1 -0
- package/dist/models/UpdateCloudAccountDescriptionRequest.d.ts +49 -0
- package/dist/models/UpdateCloudAccountDescriptionRequest.js +64 -0
- package/dist/models/UpdateCloudAccountDescriptionRequest.js.map +1 -0
- package/dist/models/UpdateCloudAccountDescriptionResponse.d.ts +19 -0
- package/dist/models/UpdateCloudAccountDescriptionResponse.js +69 -0
- package/dist/models/UpdateCloudAccountDescriptionResponse.js.map +1 -0
- package/dist/models/UpdateCloudAccountDescriptionResponseBody.d.ts +18 -0
- package/dist/models/UpdateCloudAccountDescriptionResponseBody.js +58 -0
- package/dist/models/UpdateCloudAccountDescriptionResponseBody.js.map +1 -0
- package/dist/models/UpdateCloudAccountRequest.d.ts +49 -0
- package/dist/models/UpdateCloudAccountRequest.js +64 -0
- package/dist/models/UpdateCloudAccountRequest.js.map +1 -0
- package/dist/models/UpdateCloudAccountResponse.d.ts +19 -0
- package/dist/models/UpdateCloudAccountResponse.js +69 -0
- package/dist/models/UpdateCloudAccountResponse.js.map +1 -0
- package/dist/models/UpdateCloudAccountResponseBody.d.ts +18 -0
- package/dist/models/UpdateCloudAccountResponseBody.js +58 -0
- package/dist/models/UpdateCloudAccountResponseBody.js.map +1 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionRequest.d.ts +59 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionRequest.js +66 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionRequest.js.map +1 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionResponse.d.ts +19 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionResponse.js +69 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionResponse.js.map +1 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionResponseBody.d.ts +18 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionResponseBody.js +58 -0
- package/dist/models/UpdateCloudAccountRoleDescriptionResponseBody.js.map +1 -0
- package/dist/models/UpdateResourceServerScopeRequest.d.ts +53 -0
- package/dist/models/UpdateResourceServerScopeRequest.js +64 -0
- package/dist/models/UpdateResourceServerScopeRequest.js.map +1 -0
- package/dist/models/UpdateResourceServerScopeResponse.d.ts +19 -0
- package/dist/models/UpdateResourceServerScopeResponse.js +69 -0
- package/dist/models/UpdateResourceServerScopeResponse.js.map +1 -0
- package/dist/models/UpdateResourceServerScopeResponseBody.d.ts +18 -0
- package/dist/models/UpdateResourceServerScopeResponseBody.js +58 -0
- package/dist/models/UpdateResourceServerScopeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +186 -0
- package/dist/models/model.js +395 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3043 -313
- package/src/models/AuthorizeResourceServerScopesToClientRequest.ts +75 -0
- package/src/models/AuthorizeResourceServerScopesToClientResponse.ts +40 -0
- package/src/models/AuthorizeResourceServerScopesToClientResponseBody.ts +31 -0
- package/src/models/AuthorizeResourceServerScopesToGroupRequest.ts +85 -0
- package/src/models/AuthorizeResourceServerScopesToGroupResponse.ts +40 -0
- package/src/models/AuthorizeResourceServerScopesToGroupResponseBody.ts +31 -0
- package/src/models/AuthorizeResourceServerScopesToOrganizationalUnitRequest.ts +85 -0
- package/src/models/AuthorizeResourceServerScopesToOrganizationalUnitResponse.ts +40 -0
- package/src/models/AuthorizeResourceServerScopesToOrganizationalUnitResponseBody.ts +31 -0
- package/src/models/AuthorizeResourceServerScopesToUserRequest.ts +85 -0
- package/src/models/AuthorizeResourceServerScopesToUserResponse.ts +40 -0
- package/src/models/AuthorizeResourceServerScopesToUserResponseBody.ts +31 -0
- package/src/models/AuthorizeResourceServerToClientRequest.ts +60 -0
- package/src/models/AuthorizeResourceServerToClientResponse.ts +40 -0
- package/src/models/AuthorizeResourceServerToClientResponseBody.ts +31 -0
- package/src/models/CreateApplicationRoleRequest.ts +80 -0
- package/src/models/CreateApplicationRoleResponse.ts +40 -0
- package/src/models/CreateApplicationRoleResponseBody.ts +38 -0
- package/src/models/CreateClientPublicKeyRequest.ts +90 -0
- package/src/models/CreateClientPublicKeyResponse.ts +40 -0
- package/src/models/CreateClientPublicKeyResponseBody.ts +38 -0
- package/src/models/CreateCloudAccountRequest.ts +97 -0
- package/src/models/CreateCloudAccountResponse.ts +40 -0
- package/src/models/CreateCloudAccountResponseBody.ts +38 -0
- package/src/models/CreateCloudAccountRoleRequest.ts +85 -0
- package/src/models/CreateCloudAccountRoleResponse.ts +40 -0
- package/src/models/CreateCloudAccountRoleResponseBody.ts +38 -0
- package/src/models/CreateResourceServerScopeRequest.ts +91 -0
- package/src/models/CreateResourceServerScopeResponse.ts +40 -0
- package/src/models/CreateResourceServerScopeResponseBody.ts +38 -0
- package/src/models/DeleteApplicationRoleRequest.ts +60 -0
- package/src/models/DeleteApplicationRoleResponse.ts +40 -0
- package/src/models/DeleteApplicationRoleResponseBody.ts +31 -0
- package/src/models/DeleteClientPublicKeyRequest.ts +60 -0
- package/src/models/DeleteClientPublicKeyResponse.ts +40 -0
- package/src/models/DeleteClientPublicKeyResponseBody.ts +31 -0
- package/src/models/DeleteCloudAccountRequest.ts +48 -0
- package/src/models/DeleteCloudAccountResponse.ts +40 -0
- package/src/models/DeleteCloudAccountResponseBody.ts +31 -0
- package/src/models/DeleteCloudAccountRoleRequest.ts +58 -0
- package/src/models/DeleteCloudAccountRoleResponse.ts +40 -0
- package/src/models/DeleteCloudAccountRoleResponseBody.ts +31 -0
- package/src/models/DeleteResourceServerScopeRequest.ts +60 -0
- package/src/models/DeleteResourceServerScopeResponse.ts +40 -0
- package/src/models/DeleteResourceServerScopeResponseBody.ts +31 -0
- package/src/models/DisableApplicationM2mclientRequest.ts +48 -0
- package/src/models/DisableApplicationM2mclientResponse.ts +40 -0
- package/src/models/DisableApplicationM2mclientResponseBody.ts +31 -0
- package/src/models/DisableApplicationResourceServerRequest.ts +48 -0
- package/src/models/DisableApplicationResourceServerResponse.ts +40 -0
- package/src/models/DisableApplicationResourceServerResponseBody.ts +31 -0
- package/src/models/DisableClientPublicKeyRequest.ts +70 -0
- package/src/models/DisableClientPublicKeyResponse.ts +40 -0
- package/src/models/DisableClientPublicKeyResponseBody.ts +31 -0
- package/src/models/DisableCloudAccountRoleRequest.ts +68 -0
- package/src/models/DisableCloudAccountRoleResponse.ts +40 -0
- package/src/models/DisableCloudAccountRoleResponseBody.ts +31 -0
- package/src/models/DisableResourceServerCustomSubjectRequest.ts +48 -0
- package/src/models/DisableResourceServerCustomSubjectResponse.ts +40 -0
- package/src/models/DisableResourceServerCustomSubjectResponseBody.ts +31 -0
- package/src/models/EnableApplicationM2mclientRequest.ts +48 -0
- package/src/models/EnableApplicationM2mclientResponse.ts +40 -0
- package/src/models/EnableApplicationM2mclientResponseBody.ts +31 -0
- package/src/models/EnableApplicationResourceServerRequest.ts +48 -0
- package/src/models/EnableApplicationResourceServerResponse.ts +40 -0
- package/src/models/EnableApplicationResourceServerResponseBody.ts +31 -0
- package/src/models/EnableClientPublicKeyRequest.ts +70 -0
- package/src/models/EnableClientPublicKeyResponse.ts +40 -0
- package/src/models/EnableClientPublicKeyResponseBody.ts +31 -0
- package/src/models/EnableCloudAccountRoleRequest.ts +68 -0
- package/src/models/EnableCloudAccountRoleResponse.ts +40 -0
- package/src/models/EnableCloudAccountRoleResponseBody.ts +31 -0
- package/src/models/EnableResourceServerCustomSubjectRequest.ts +48 -0
- package/src/models/EnableResourceServerCustomSubjectResponse.ts +40 -0
- package/src/models/EnableResourceServerCustomSubjectResponseBody.ts +31 -0
- package/src/models/GetApplicationRoleRequest.ts +60 -0
- package/src/models/GetApplicationRoleResponse.ts +40 -0
- package/src/models/GetApplicationRoleResponseBody.ts +117 -0
- package/src/models/GetClientPublicKeyRequest.ts +60 -0
- package/src/models/GetClientPublicKeyResponse.ts +40 -0
- package/src/models/GetClientPublicKeyResponseBody.ts +152 -0
- package/src/models/GetCloudAccountRequest.ts +48 -0
- package/src/models/GetCloudAccountResponse.ts +40 -0
- package/src/models/GetCloudAccountResponseBody.ts +301 -0
- package/src/models/GetCloudAccountRoleRequest.ts +58 -0
- package/src/models/GetCloudAccountRoleResponse.ts +40 -0
- package/src/models/GetCloudAccountRoleResponseBody.ts +268 -0
- package/src/models/GetResourceServerScopeRequest.ts +60 -0
- package/src/models/GetResourceServerScopeResponse.ts +40 -0
- package/src/models/GetResourceServerScopeResponseBody.ts +124 -0
- package/src/models/ListApplicationRolesRequest.ts +104 -0
- package/src/models/ListApplicationRolesResponse.ts +40 -0
- package/src/models/ListApplicationRolesResponseBody.ts +129 -0
- package/src/models/ListClientPublicKeysRequest.ts +65 -0
- package/src/models/ListClientPublicKeysResponse.ts +40 -0
- package/src/models/ListClientPublicKeysResponseBody.ts +176 -0
- package/src/models/ListCloudAccountRolesRequest.ts +103 -0
- package/src/models/ListCloudAccountRolesResponse.ts +40 -0
- package/src/models/ListCloudAccountRolesResponseBody.ts +278 -0
- package/src/models/ListCloudAccountsRequest.ts +95 -0
- package/src/models/ListCloudAccountsResponse.ts +40 -0
- package/src/models/ListCloudAccountsResponseBody.ts +258 -0
- package/src/models/ListGroupsForResourceServerRequest.ts +102 -0
- package/src/models/ListGroupsForResourceServerResponse.ts +40 -0
- package/src/models/ListGroupsForResourceServerResponseBody.ts +151 -0
- package/src/models/ListOrganizationalUnitsForResourceServerRequest.ts +104 -0
- package/src/models/ListOrganizationalUnitsForResourceServerResponse.ts +40 -0
- package/src/models/ListOrganizationalUnitsForResourceServerResponseBody.ts +151 -0
- package/src/models/ListResourceServersForUserRequest.ts +104 -0
- package/src/models/ListResourceServersForUserResponse.ts +40 -0
- package/src/models/ListResourceServersForUserResponseBody.ts +178 -0
- package/src/models/ListUsersForResourceServerRequest.ts +104 -0
- package/src/models/ListUsersForResourceServerResponse.ts +40 -0
- package/src/models/ListUsersForResourceServerResponseBody.ts +151 -0
- package/src/models/RevokeResourceServerFromClientRequest.ts +60 -0
- package/src/models/RevokeResourceServerFromClientResponse.ts +40 -0
- package/src/models/RevokeResourceServerFromClientResponseBody.ts +31 -0
- package/src/models/RevokeResourceServerScopesFromClientRequest.ts +75 -0
- package/src/models/RevokeResourceServerScopesFromClientResponse.ts +40 -0
- package/src/models/RevokeResourceServerScopesFromClientResponseBody.ts +31 -0
- package/src/models/RevokeResourceServerScopesFromGroupRequest.ts +73 -0
- package/src/models/RevokeResourceServerScopesFromGroupResponse.ts +40 -0
- package/src/models/RevokeResourceServerScopesFromGroupResponseBody.ts +31 -0
- package/src/models/RevokeResourceServerScopesFromOrganizationalUnitRequest.ts +75 -0
- package/src/models/RevokeResourceServerScopesFromOrganizationalUnitResponse.ts +40 -0
- package/src/models/RevokeResourceServerScopesFromOrganizationalUnitResponseBody.ts +31 -0
- package/src/models/RevokeResourceServerScopesFromUserRequest.ts +75 -0
- package/src/models/RevokeResourceServerScopesFromUserResponse.ts +40 -0
- package/src/models/RevokeResourceServerScopesFromUserResponseBody.ts +31 -0
- package/src/models/SetApplicationResourceServerIdentifierRequest.ts +67 -0
- package/src/models/SetApplicationResourceServerIdentifierResponse.ts +40 -0
- package/src/models/SetApplicationResourceServerIdentifierResponseBody.ts +31 -0
- package/src/models/SetPrimaryClientPublicKeyRequest.ts +70 -0
- package/src/models/SetPrimaryClientPublicKeyResponse.ts +40 -0
- package/src/models/SetPrimaryClientPublicKeyResponseBody.ts +31 -0
- package/src/models/UpdateApplicationRoleDescriptionRequest.ts +70 -0
- package/src/models/UpdateApplicationRoleDescriptionResponse.ts +40 -0
- package/src/models/UpdateApplicationRoleDescriptionResponseBody.ts +31 -0
- package/src/models/UpdateApplicationRoleRequest.ts +80 -0
- package/src/models/UpdateApplicationRoleResponse.ts +40 -0
- package/src/models/UpdateApplicationRoleResponseBody.ts +31 -0
- package/src/models/UpdateCloudAccountDescriptionRequest.ts +68 -0
- package/src/models/UpdateCloudAccountDescriptionResponse.ts +40 -0
- package/src/models/UpdateCloudAccountDescriptionResponseBody.ts +31 -0
- package/src/models/UpdateCloudAccountRequest.ts +68 -0
- package/src/models/UpdateCloudAccountResponse.ts +40 -0
- package/src/models/UpdateCloudAccountResponseBody.ts +31 -0
- package/src/models/UpdateCloudAccountRoleDescriptionRequest.ts +80 -0
- package/src/models/UpdateCloudAccountRoleDescriptionResponse.ts +40 -0
- package/src/models/UpdateCloudAccountRoleDescriptionResponseBody.ts +31 -0
- package/src/models/UpdateResourceServerScopeRequest.ts +72 -0
- package/src/models/UpdateResourceServerScopeResponse.ts +40 -0
- package/src/models/UpdateResourceServerScopeResponseBody.ts +31 -0
- package/src/models/model.ts +186 -0
package/src/client.ts
CHANGED
|
@@ -395,6 +395,284 @@ export default class Client extends OpenApi {
|
|
|
395
395
|
return await this.authorizeApplicationToUsersWithOptions(request, runtime);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
+
/**
|
|
399
|
+
* 授权指定ResourceServer下的Scope给Client
|
|
400
|
+
*
|
|
401
|
+
* @param request - AuthorizeResourceServerScopesToClientRequest
|
|
402
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
403
|
+
* @returns AuthorizeResourceServerScopesToClientResponse
|
|
404
|
+
*/
|
|
405
|
+
async authorizeResourceServerScopesToClientWithOptions(request: $_model.AuthorizeResourceServerScopesToClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeResourceServerScopesToClientResponse> {
|
|
406
|
+
request.validate();
|
|
407
|
+
let query = { };
|
|
408
|
+
if (!$dara.isNull(request.clientApplicationId)) {
|
|
409
|
+
query["ClientApplicationId"] = request.clientApplicationId;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
413
|
+
query["InstanceId"] = request.instanceId;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
if (!$dara.isNull(request.resourceServerApplicationId)) {
|
|
417
|
+
query["ResourceServerApplicationId"] = request.resourceServerApplicationId;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
421
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
425
|
+
query: OpenApiUtil.query(query),
|
|
426
|
+
});
|
|
427
|
+
let params = new $OpenApiUtil.Params({
|
|
428
|
+
action: "AuthorizeResourceServerScopesToClient",
|
|
429
|
+
version: "2021-12-01",
|
|
430
|
+
protocol: "HTTPS",
|
|
431
|
+
pathname: "/",
|
|
432
|
+
method: "POST",
|
|
433
|
+
authType: "AK",
|
|
434
|
+
style: "RPC",
|
|
435
|
+
reqBodyType: "formData",
|
|
436
|
+
bodyType: "json",
|
|
437
|
+
});
|
|
438
|
+
return $dara.cast<$_model.AuthorizeResourceServerScopesToClientResponse>(await this.callApi(params, req, runtime), new $_model.AuthorizeResourceServerScopesToClientResponse({}));
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* 授权指定ResourceServer下的Scope给Client
|
|
443
|
+
*
|
|
444
|
+
* @param request - AuthorizeResourceServerScopesToClientRequest
|
|
445
|
+
* @returns AuthorizeResourceServerScopesToClientResponse
|
|
446
|
+
*/
|
|
447
|
+
async authorizeResourceServerScopesToClient(request: $_model.AuthorizeResourceServerScopesToClientRequest): Promise<$_model.AuthorizeResourceServerScopesToClientResponse> {
|
|
448
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
449
|
+
return await this.authorizeResourceServerScopesToClientWithOptions(request, runtime);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* 授予组ResourceServerScope权限
|
|
454
|
+
*
|
|
455
|
+
* @param request - AuthorizeResourceServerScopesToGroupRequest
|
|
456
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
457
|
+
* @returns AuthorizeResourceServerScopesToGroupResponse
|
|
458
|
+
*/
|
|
459
|
+
async authorizeResourceServerScopesToGroupWithOptions(request: $_model.AuthorizeResourceServerScopesToGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeResourceServerScopesToGroupResponse> {
|
|
460
|
+
request.validate();
|
|
461
|
+
let query = { };
|
|
462
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
463
|
+
query["ApplicationId"] = request.applicationId;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
467
|
+
query["ClientToken"] = request.clientToken;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
if (!$dara.isNull(request.groupId)) {
|
|
471
|
+
query["GroupId"] = request.groupId;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
475
|
+
query["InstanceId"] = request.instanceId;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
479
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
483
|
+
query: OpenApiUtil.query(query),
|
|
484
|
+
});
|
|
485
|
+
let params = new $OpenApiUtil.Params({
|
|
486
|
+
action: "AuthorizeResourceServerScopesToGroup",
|
|
487
|
+
version: "2021-12-01",
|
|
488
|
+
protocol: "HTTPS",
|
|
489
|
+
pathname: "/",
|
|
490
|
+
method: "POST",
|
|
491
|
+
authType: "AK",
|
|
492
|
+
style: "RPC",
|
|
493
|
+
reqBodyType: "formData",
|
|
494
|
+
bodyType: "json",
|
|
495
|
+
});
|
|
496
|
+
return $dara.cast<$_model.AuthorizeResourceServerScopesToGroupResponse>(await this.callApi(params, req, runtime), new $_model.AuthorizeResourceServerScopesToGroupResponse({}));
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* 授予组ResourceServerScope权限
|
|
501
|
+
*
|
|
502
|
+
* @param request - AuthorizeResourceServerScopesToGroupRequest
|
|
503
|
+
* @returns AuthorizeResourceServerScopesToGroupResponse
|
|
504
|
+
*/
|
|
505
|
+
async authorizeResourceServerScopesToGroup(request: $_model.AuthorizeResourceServerScopesToGroupRequest): Promise<$_model.AuthorizeResourceServerScopesToGroupResponse> {
|
|
506
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
507
|
+
return await this.authorizeResourceServerScopesToGroupWithOptions(request, runtime);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* 授予组织ResourceServerScope权限
|
|
512
|
+
*
|
|
513
|
+
* @param request - AuthorizeResourceServerScopesToOrganizationalUnitRequest
|
|
514
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
515
|
+
* @returns AuthorizeResourceServerScopesToOrganizationalUnitResponse
|
|
516
|
+
*/
|
|
517
|
+
async authorizeResourceServerScopesToOrganizationalUnitWithOptions(request: $_model.AuthorizeResourceServerScopesToOrganizationalUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeResourceServerScopesToOrganizationalUnitResponse> {
|
|
518
|
+
request.validate();
|
|
519
|
+
let query = { };
|
|
520
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
521
|
+
query["ApplicationId"] = request.applicationId;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
525
|
+
query["ClientToken"] = request.clientToken;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
529
|
+
query["InstanceId"] = request.instanceId;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
if (!$dara.isNull(request.organizationalUnitId)) {
|
|
533
|
+
query["OrganizationalUnitId"] = request.organizationalUnitId;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
537
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
541
|
+
query: OpenApiUtil.query(query),
|
|
542
|
+
});
|
|
543
|
+
let params = new $OpenApiUtil.Params({
|
|
544
|
+
action: "AuthorizeResourceServerScopesToOrganizationalUnit",
|
|
545
|
+
version: "2021-12-01",
|
|
546
|
+
protocol: "HTTPS",
|
|
547
|
+
pathname: "/",
|
|
548
|
+
method: "POST",
|
|
549
|
+
authType: "AK",
|
|
550
|
+
style: "RPC",
|
|
551
|
+
reqBodyType: "formData",
|
|
552
|
+
bodyType: "json",
|
|
553
|
+
});
|
|
554
|
+
return $dara.cast<$_model.AuthorizeResourceServerScopesToOrganizationalUnitResponse>(await this.callApi(params, req, runtime), new $_model.AuthorizeResourceServerScopesToOrganizationalUnitResponse({}));
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* 授予组织ResourceServerScope权限
|
|
559
|
+
*
|
|
560
|
+
* @param request - AuthorizeResourceServerScopesToOrganizationalUnitRequest
|
|
561
|
+
* @returns AuthorizeResourceServerScopesToOrganizationalUnitResponse
|
|
562
|
+
*/
|
|
563
|
+
async authorizeResourceServerScopesToOrganizationalUnit(request: $_model.AuthorizeResourceServerScopesToOrganizationalUnitRequest): Promise<$_model.AuthorizeResourceServerScopesToOrganizationalUnitResponse> {
|
|
564
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
565
|
+
return await this.authorizeResourceServerScopesToOrganizationalUnitWithOptions(request, runtime);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* 授予用户ResourceServerScope权限
|
|
570
|
+
*
|
|
571
|
+
* @param request - AuthorizeResourceServerScopesToUserRequest
|
|
572
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
573
|
+
* @returns AuthorizeResourceServerScopesToUserResponse
|
|
574
|
+
*/
|
|
575
|
+
async authorizeResourceServerScopesToUserWithOptions(request: $_model.AuthorizeResourceServerScopesToUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeResourceServerScopesToUserResponse> {
|
|
576
|
+
request.validate();
|
|
577
|
+
let query = { };
|
|
578
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
579
|
+
query["ApplicationId"] = request.applicationId;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
583
|
+
query["ClientToken"] = request.clientToken;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
587
|
+
query["InstanceId"] = request.instanceId;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
591
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
if (!$dara.isNull(request.userId)) {
|
|
595
|
+
query["UserId"] = request.userId;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
599
|
+
query: OpenApiUtil.query(query),
|
|
600
|
+
});
|
|
601
|
+
let params = new $OpenApiUtil.Params({
|
|
602
|
+
action: "AuthorizeResourceServerScopesToUser",
|
|
603
|
+
version: "2021-12-01",
|
|
604
|
+
protocol: "HTTPS",
|
|
605
|
+
pathname: "/",
|
|
606
|
+
method: "POST",
|
|
607
|
+
authType: "AK",
|
|
608
|
+
style: "RPC",
|
|
609
|
+
reqBodyType: "formData",
|
|
610
|
+
bodyType: "json",
|
|
611
|
+
});
|
|
612
|
+
return $dara.cast<$_model.AuthorizeResourceServerScopesToUserResponse>(await this.callApi(params, req, runtime), new $_model.AuthorizeResourceServerScopesToUserResponse({}));
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* 授予用户ResourceServerScope权限
|
|
617
|
+
*
|
|
618
|
+
* @param request - AuthorizeResourceServerScopesToUserRequest
|
|
619
|
+
* @returns AuthorizeResourceServerScopesToUserResponse
|
|
620
|
+
*/
|
|
621
|
+
async authorizeResourceServerScopesToUser(request: $_model.AuthorizeResourceServerScopesToUserRequest): Promise<$_model.AuthorizeResourceServerScopesToUserResponse> {
|
|
622
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
623
|
+
return await this.authorizeResourceServerScopesToUserWithOptions(request, runtime);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* 授权指定ResourceServer给Client
|
|
628
|
+
*
|
|
629
|
+
* @param request - AuthorizeResourceServerToClientRequest
|
|
630
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
631
|
+
* @returns AuthorizeResourceServerToClientResponse
|
|
632
|
+
*/
|
|
633
|
+
async authorizeResourceServerToClientWithOptions(request: $_model.AuthorizeResourceServerToClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeResourceServerToClientResponse> {
|
|
634
|
+
request.validate();
|
|
635
|
+
let query = { };
|
|
636
|
+
if (!$dara.isNull(request.clientApplicationId)) {
|
|
637
|
+
query["ClientApplicationId"] = request.clientApplicationId;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
641
|
+
query["InstanceId"] = request.instanceId;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
if (!$dara.isNull(request.resourceServerApplicationId)) {
|
|
645
|
+
query["ResourceServerApplicationId"] = request.resourceServerApplicationId;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
649
|
+
query: OpenApiUtil.query(query),
|
|
650
|
+
});
|
|
651
|
+
let params = new $OpenApiUtil.Params({
|
|
652
|
+
action: "AuthorizeResourceServerToClient",
|
|
653
|
+
version: "2021-12-01",
|
|
654
|
+
protocol: "HTTPS",
|
|
655
|
+
pathname: "/",
|
|
656
|
+
method: "POST",
|
|
657
|
+
authType: "AK",
|
|
658
|
+
style: "RPC",
|
|
659
|
+
reqBodyType: "formData",
|
|
660
|
+
bodyType: "json",
|
|
661
|
+
});
|
|
662
|
+
return $dara.cast<$_model.AuthorizeResourceServerToClientResponse>(await this.callApi(params, req, runtime), new $_model.AuthorizeResourceServerToClientResponse({}));
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* 授权指定ResourceServer给Client
|
|
667
|
+
*
|
|
668
|
+
* @param request - AuthorizeResourceServerToClientRequest
|
|
669
|
+
* @returns AuthorizeResourceServerToClientResponse
|
|
670
|
+
*/
|
|
671
|
+
async authorizeResourceServerToClient(request: $_model.AuthorizeResourceServerToClientRequest): Promise<$_model.AuthorizeResourceServerToClientResponse> {
|
|
672
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
673
|
+
return await this.authorizeResourceServerToClientWithOptions(request, runtime);
|
|
674
|
+
}
|
|
675
|
+
|
|
398
676
|
/**
|
|
399
677
|
* 绑定三方登录账户
|
|
400
678
|
*
|
|
@@ -641,6 +919,64 @@ export default class Client extends OpenApi {
|
|
|
641
919
|
return await this.createApplicationFederatedCredentialWithOptions(request, runtime);
|
|
642
920
|
}
|
|
643
921
|
|
|
922
|
+
/**
|
|
923
|
+
* 创建应用角色
|
|
924
|
+
*
|
|
925
|
+
* @param request - CreateApplicationRoleRequest
|
|
926
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
927
|
+
* @returns CreateApplicationRoleResponse
|
|
928
|
+
*/
|
|
929
|
+
async createApplicationRoleWithOptions(request: $_model.CreateApplicationRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApplicationRoleResponse> {
|
|
930
|
+
request.validate();
|
|
931
|
+
let query = { };
|
|
932
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
933
|
+
query["ApplicationId"] = request.applicationId;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
if (!$dara.isNull(request.applicationRoleName)) {
|
|
937
|
+
query["ApplicationRoleName"] = request.applicationRoleName;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
if (!$dara.isNull(request.applicationRoleValue)) {
|
|
941
|
+
query["ApplicationRoleValue"] = request.applicationRoleValue;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
945
|
+
query["ClientToken"] = request.clientToken;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
949
|
+
query["InstanceId"] = request.instanceId;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
953
|
+
query: OpenApiUtil.query(query),
|
|
954
|
+
});
|
|
955
|
+
let params = new $OpenApiUtil.Params({
|
|
956
|
+
action: "CreateApplicationRole",
|
|
957
|
+
version: "2021-12-01",
|
|
958
|
+
protocol: "HTTPS",
|
|
959
|
+
pathname: "/",
|
|
960
|
+
method: "POST",
|
|
961
|
+
authType: "AK",
|
|
962
|
+
style: "RPC",
|
|
963
|
+
reqBodyType: "formData",
|
|
964
|
+
bodyType: "json",
|
|
965
|
+
});
|
|
966
|
+
return $dara.cast<$_model.CreateApplicationRoleResponse>(await this.callApi(params, req, runtime), new $_model.CreateApplicationRoleResponse({}));
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* 创建应用角色
|
|
971
|
+
*
|
|
972
|
+
* @param request - CreateApplicationRoleRequest
|
|
973
|
+
* @returns CreateApplicationRoleResponse
|
|
974
|
+
*/
|
|
975
|
+
async createApplicationRole(request: $_model.CreateApplicationRoleRequest): Promise<$_model.CreateApplicationRoleResponse> {
|
|
976
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
977
|
+
return await this.createApplicationRoleWithOptions(request, runtime);
|
|
978
|
+
}
|
|
979
|
+
|
|
644
980
|
/**
|
|
645
981
|
* 创建应用Token
|
|
646
982
|
*
|
|
@@ -742,14 +1078,200 @@ export default class Client extends OpenApi {
|
|
|
742
1078
|
}
|
|
743
1079
|
|
|
744
1080
|
/**
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
* @remarks
|
|
748
|
-
* Create Conditional Access Policy
|
|
1081
|
+
* 创建应用ClientPublicKey
|
|
749
1082
|
*
|
|
750
|
-
* @param request -
|
|
1083
|
+
* @param request - CreateClientPublicKeyRequest
|
|
751
1084
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
752
|
-
* @returns
|
|
1085
|
+
* @returns CreateClientPublicKeyResponse
|
|
1086
|
+
*/
|
|
1087
|
+
async createClientPublicKeyWithOptions(request: $_model.CreateClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClientPublicKeyResponse> {
|
|
1088
|
+
request.validate();
|
|
1089
|
+
let query = { };
|
|
1090
|
+
if (!$dara.isNull(request.algorithmType)) {
|
|
1091
|
+
query["AlgorithmType"] = request.algorithmType;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
1095
|
+
query["ApplicationId"] = request.applicationId;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1099
|
+
query["ClientToken"] = request.clientToken;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1103
|
+
query["InstanceId"] = request.instanceId;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
if (!$dara.isNull(request.publicKey)) {
|
|
1107
|
+
query["PublicKey"] = request.publicKey;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1111
|
+
query: OpenApiUtil.query(query),
|
|
1112
|
+
});
|
|
1113
|
+
let params = new $OpenApiUtil.Params({
|
|
1114
|
+
action: "CreateClientPublicKey",
|
|
1115
|
+
version: "2021-12-01",
|
|
1116
|
+
protocol: "HTTPS",
|
|
1117
|
+
pathname: "/",
|
|
1118
|
+
method: "POST",
|
|
1119
|
+
authType: "AK",
|
|
1120
|
+
style: "RPC",
|
|
1121
|
+
reqBodyType: "formData",
|
|
1122
|
+
bodyType: "json",
|
|
1123
|
+
});
|
|
1124
|
+
return $dara.cast<$_model.CreateClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.CreateClientPublicKeyResponse({}));
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* 创建应用ClientPublicKey
|
|
1129
|
+
*
|
|
1130
|
+
* @param request - CreateClientPublicKeyRequest
|
|
1131
|
+
* @returns CreateClientPublicKeyResponse
|
|
1132
|
+
*/
|
|
1133
|
+
async createClientPublicKey(request: $_model.CreateClientPublicKeyRequest): Promise<$_model.CreateClientPublicKeyResponse> {
|
|
1134
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1135
|
+
return await this.createClientPublicKeyWithOptions(request, runtime);
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* 创建云账号
|
|
1140
|
+
*
|
|
1141
|
+
* @param request - CreateCloudAccountRequest
|
|
1142
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1143
|
+
* @returns CreateCloudAccountResponse
|
|
1144
|
+
*/
|
|
1145
|
+
async createCloudAccountWithOptions(request: $_model.CreateCloudAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCloudAccountResponse> {
|
|
1146
|
+
request.validate();
|
|
1147
|
+
let query = { };
|
|
1148
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1149
|
+
query["ClientToken"] = request.clientToken;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
if (!$dara.isNull(request.cloudAccountExternalId)) {
|
|
1153
|
+
query["CloudAccountExternalId"] = request.cloudAccountExternalId;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
if (!$dara.isNull(request.cloudAccountName)) {
|
|
1157
|
+
query["CloudAccountName"] = request.cloudAccountName;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
if (!$dara.isNull(request.cloudAccountProviderName)) {
|
|
1161
|
+
query["CloudAccountProviderName"] = request.cloudAccountProviderName;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
if (!$dara.isNull(request.cloudAccountVendorType)) {
|
|
1165
|
+
query["CloudAccountVendorType"] = request.cloudAccountVendorType;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
if (!$dara.isNull(request.description)) {
|
|
1169
|
+
query["Description"] = request.description;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1173
|
+
query["InstanceId"] = request.instanceId;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1177
|
+
query: OpenApiUtil.query(query),
|
|
1178
|
+
});
|
|
1179
|
+
let params = new $OpenApiUtil.Params({
|
|
1180
|
+
action: "CreateCloudAccount",
|
|
1181
|
+
version: "2021-12-01",
|
|
1182
|
+
protocol: "HTTPS",
|
|
1183
|
+
pathname: "/",
|
|
1184
|
+
method: "POST",
|
|
1185
|
+
authType: "AK",
|
|
1186
|
+
style: "RPC",
|
|
1187
|
+
reqBodyType: "formData",
|
|
1188
|
+
bodyType: "json",
|
|
1189
|
+
});
|
|
1190
|
+
return $dara.cast<$_model.CreateCloudAccountResponse>(await this.callApi(params, req, runtime), new $_model.CreateCloudAccountResponse({}));
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* 创建云账号
|
|
1195
|
+
*
|
|
1196
|
+
* @param request - CreateCloudAccountRequest
|
|
1197
|
+
* @returns CreateCloudAccountResponse
|
|
1198
|
+
*/
|
|
1199
|
+
async createCloudAccount(request: $_model.CreateCloudAccountRequest): Promise<$_model.CreateCloudAccountResponse> {
|
|
1200
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1201
|
+
return await this.createCloudAccountWithOptions(request, runtime);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* 创建云角色
|
|
1206
|
+
*
|
|
1207
|
+
* @param request - CreateCloudAccountRoleRequest
|
|
1208
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1209
|
+
* @returns CreateCloudAccountRoleResponse
|
|
1210
|
+
*/
|
|
1211
|
+
async createCloudAccountRoleWithOptions(request: $_model.CreateCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCloudAccountRoleResponse> {
|
|
1212
|
+
request.validate();
|
|
1213
|
+
let query = { };
|
|
1214
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1215
|
+
query["ClientToken"] = request.clientToken;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
1219
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
if (!$dara.isNull(request.cloudAccountRoleName)) {
|
|
1223
|
+
query["CloudAccountRoleName"] = request.cloudAccountRoleName;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
if (!$dara.isNull(request.cloudAccountRoleType)) {
|
|
1227
|
+
query["CloudAccountRoleType"] = request.cloudAccountRoleType;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
if (!$dara.isNull(request.description)) {
|
|
1231
|
+
query["Description"] = request.description;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1235
|
+
query["InstanceId"] = request.instanceId;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1239
|
+
query: OpenApiUtil.query(query),
|
|
1240
|
+
});
|
|
1241
|
+
let params = new $OpenApiUtil.Params({
|
|
1242
|
+
action: "CreateCloudAccountRole",
|
|
1243
|
+
version: "2021-12-01",
|
|
1244
|
+
protocol: "HTTPS",
|
|
1245
|
+
pathname: "/",
|
|
1246
|
+
method: "POST",
|
|
1247
|
+
authType: "AK",
|
|
1248
|
+
style: "RPC",
|
|
1249
|
+
reqBodyType: "formData",
|
|
1250
|
+
bodyType: "json",
|
|
1251
|
+
});
|
|
1252
|
+
return $dara.cast<$_model.CreateCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.CreateCloudAccountRoleResponse({}));
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* 创建云角色
|
|
1257
|
+
*
|
|
1258
|
+
* @param request - CreateCloudAccountRoleRequest
|
|
1259
|
+
* @returns CreateCloudAccountRoleResponse
|
|
1260
|
+
*/
|
|
1261
|
+
async createCloudAccountRole(request: $_model.CreateCloudAccountRoleRequest): Promise<$_model.CreateCloudAccountRoleResponse> {
|
|
1262
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1263
|
+
return await this.createCloudAccountRoleWithOptions(request, runtime);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* Create Conditional Access Policy
|
|
1268
|
+
*
|
|
1269
|
+
* @remarks
|
|
1270
|
+
* Create Conditional Access Policy
|
|
1271
|
+
*
|
|
1272
|
+
* @param request - CreateConditionalAccessPolicyRequest
|
|
1273
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1274
|
+
* @returns CreateConditionalAccessPolicyResponse
|
|
753
1275
|
*/
|
|
754
1276
|
async createConditionalAccessPolicyWithOptions(request: $_model.CreateConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateConditionalAccessPolicyResponse> {
|
|
755
1277
|
request.validate();
|
|
@@ -1495,6 +2017,68 @@ export default class Client extends OpenApi {
|
|
|
1495
2017
|
return await this.createOrganizationalUnitWithOptions(request, runtime);
|
|
1496
2018
|
}
|
|
1497
2019
|
|
|
2020
|
+
/**
|
|
2021
|
+
* 创建指定ResourceServer下的Scope
|
|
2022
|
+
*
|
|
2023
|
+
* @param request - CreateResourceServerScopeRequest
|
|
2024
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2025
|
+
* @returns CreateResourceServerScopeResponse
|
|
2026
|
+
*/
|
|
2027
|
+
async createResourceServerScopeWithOptions(request: $_model.CreateResourceServerScopeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateResourceServerScopeResponse> {
|
|
2028
|
+
request.validate();
|
|
2029
|
+
let query = { };
|
|
2030
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
2031
|
+
query["ApplicationId"] = request.applicationId;
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
if (!$dara.isNull(request.authorizationType)) {
|
|
2035
|
+
query["AuthorizationType"] = request.authorizationType;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2039
|
+
query["InstanceId"] = request.instanceId;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
if (!$dara.isNull(request.resourceServerScopeName)) {
|
|
2043
|
+
query["ResourceServerScopeName"] = request.resourceServerScopeName;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
if (!$dara.isNull(request.resourceServerScopeType)) {
|
|
2047
|
+
query["ResourceServerScopeType"] = request.resourceServerScopeType;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
if (!$dara.isNull(request.resourceServerScopeValue)) {
|
|
2051
|
+
query["ResourceServerScopeValue"] = request.resourceServerScopeValue;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2055
|
+
query: OpenApiUtil.query(query),
|
|
2056
|
+
});
|
|
2057
|
+
let params = new $OpenApiUtil.Params({
|
|
2058
|
+
action: "CreateResourceServerScope",
|
|
2059
|
+
version: "2021-12-01",
|
|
2060
|
+
protocol: "HTTPS",
|
|
2061
|
+
pathname: "/",
|
|
2062
|
+
method: "POST",
|
|
2063
|
+
authType: "AK",
|
|
2064
|
+
style: "RPC",
|
|
2065
|
+
reqBodyType: "formData",
|
|
2066
|
+
bodyType: "json",
|
|
2067
|
+
});
|
|
2068
|
+
return $dara.cast<$_model.CreateResourceServerScopeResponse>(await this.callApi(params, req, runtime), new $_model.CreateResourceServerScopeResponse({}));
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* 创建指定ResourceServer下的Scope
|
|
2073
|
+
*
|
|
2074
|
+
* @param request - CreateResourceServerScopeRequest
|
|
2075
|
+
* @returns CreateResourceServerScopeResponse
|
|
2076
|
+
*/
|
|
2077
|
+
async createResourceServerScope(request: $_model.CreateResourceServerScopeRequest): Promise<$_model.CreateResourceServerScopeResponse> {
|
|
2078
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2079
|
+
return await this.createResourceServerScopeWithOptions(request, runtime);
|
|
2080
|
+
}
|
|
2081
|
+
|
|
1498
2082
|
/**
|
|
1499
2083
|
* Creates an account in an Identity as a Service (IDaaS) Enterprise Identity Access Management (EIAM) instance.
|
|
1500
2084
|
*
|
|
@@ -1749,6 +2333,56 @@ export default class Client extends OpenApi {
|
|
|
1749
2333
|
return await this.deleteApplicationFederatedCredentialWithOptions(request, runtime);
|
|
1750
2334
|
}
|
|
1751
2335
|
|
|
2336
|
+
/**
|
|
2337
|
+
* 删除应用角色
|
|
2338
|
+
*
|
|
2339
|
+
* @param request - DeleteApplicationRoleRequest
|
|
2340
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2341
|
+
* @returns DeleteApplicationRoleResponse
|
|
2342
|
+
*/
|
|
2343
|
+
async deleteApplicationRoleWithOptions(request: $_model.DeleteApplicationRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteApplicationRoleResponse> {
|
|
2344
|
+
request.validate();
|
|
2345
|
+
let query = { };
|
|
2346
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
2347
|
+
query["ApplicationId"] = request.applicationId;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
2351
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2355
|
+
query["InstanceId"] = request.instanceId;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2359
|
+
query: OpenApiUtil.query(query),
|
|
2360
|
+
});
|
|
2361
|
+
let params = new $OpenApiUtil.Params({
|
|
2362
|
+
action: "DeleteApplicationRole",
|
|
2363
|
+
version: "2021-12-01",
|
|
2364
|
+
protocol: "HTTPS",
|
|
2365
|
+
pathname: "/",
|
|
2366
|
+
method: "POST",
|
|
2367
|
+
authType: "AK",
|
|
2368
|
+
style: "RPC",
|
|
2369
|
+
reqBodyType: "formData",
|
|
2370
|
+
bodyType: "json",
|
|
2371
|
+
});
|
|
2372
|
+
return $dara.cast<$_model.DeleteApplicationRoleResponse>(await this.callApi(params, req, runtime), new $_model.DeleteApplicationRoleResponse({}));
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* 删除应用角色
|
|
2377
|
+
*
|
|
2378
|
+
* @param request - DeleteApplicationRoleRequest
|
|
2379
|
+
* @returns DeleteApplicationRoleResponse
|
|
2380
|
+
*/
|
|
2381
|
+
async deleteApplicationRole(request: $_model.DeleteApplicationRoleRequest): Promise<$_model.DeleteApplicationRoleResponse> {
|
|
2382
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2383
|
+
return await this.deleteApplicationRoleWithOptions(request, runtime);
|
|
2384
|
+
}
|
|
2385
|
+
|
|
1752
2386
|
/**
|
|
1753
2387
|
* 删除ApplicationToken
|
|
1754
2388
|
*
|
|
@@ -1846,20 +2480,21 @@ export default class Client extends OpenApi {
|
|
|
1846
2480
|
}
|
|
1847
2481
|
|
|
1848
2482
|
/**
|
|
1849
|
-
*
|
|
1850
|
-
*
|
|
1851
|
-
* @remarks
|
|
1852
|
-
* When deleting a specified conditional access policy, please ensure that the policy is no longer in use. After deletion, all configuration data will be removed and cannot be recovered.
|
|
2483
|
+
* 删除指定的应用ClientPublicKey
|
|
1853
2484
|
*
|
|
1854
|
-
* @param request -
|
|
2485
|
+
* @param request - DeleteClientPublicKeyRequest
|
|
1855
2486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1856
|
-
* @returns
|
|
2487
|
+
* @returns DeleteClientPublicKeyResponse
|
|
1857
2488
|
*/
|
|
1858
|
-
async
|
|
2489
|
+
async deleteClientPublicKeyWithOptions(request: $_model.DeleteClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClientPublicKeyResponse> {
|
|
1859
2490
|
request.validate();
|
|
1860
2491
|
let query = { };
|
|
1861
|
-
if (!$dara.isNull(request.
|
|
1862
|
-
query["
|
|
2492
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
2493
|
+
query["ApplicationId"] = request.applicationId;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
if (!$dara.isNull(request.clientPublicKeyId)) {
|
|
2497
|
+
query["ClientPublicKeyId"] = request.clientPublicKeyId;
|
|
1863
2498
|
}
|
|
1864
2499
|
|
|
1865
2500
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -1870,7 +2505,7 @@ export default class Client extends OpenApi {
|
|
|
1870
2505
|
query: OpenApiUtil.query(query),
|
|
1871
2506
|
});
|
|
1872
2507
|
let params = new $OpenApiUtil.Params({
|
|
1873
|
-
action: "
|
|
2508
|
+
action: "DeleteClientPublicKey",
|
|
1874
2509
|
version: "2021-12-01",
|
|
1875
2510
|
protocol: "HTTPS",
|
|
1876
2511
|
pathname: "/",
|
|
@@ -1880,35 +2515,32 @@ export default class Client extends OpenApi {
|
|
|
1880
2515
|
reqBodyType: "formData",
|
|
1881
2516
|
bodyType: "json",
|
|
1882
2517
|
});
|
|
1883
|
-
return $dara.cast<$_model.
|
|
2518
|
+
return $dara.cast<$_model.DeleteClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.DeleteClientPublicKeyResponse({}));
|
|
1884
2519
|
}
|
|
1885
2520
|
|
|
1886
2521
|
/**
|
|
1887
|
-
*
|
|
1888
|
-
*
|
|
1889
|
-
* @remarks
|
|
1890
|
-
* When deleting a specified conditional access policy, please ensure that the policy is no longer in use. After deletion, all configuration data will be removed and cannot be recovered.
|
|
2522
|
+
* 删除指定的应用ClientPublicKey
|
|
1891
2523
|
*
|
|
1892
|
-
* @param request -
|
|
1893
|
-
* @returns
|
|
2524
|
+
* @param request - DeleteClientPublicKeyRequest
|
|
2525
|
+
* @returns DeleteClientPublicKeyResponse
|
|
1894
2526
|
*/
|
|
1895
|
-
async
|
|
2527
|
+
async deleteClientPublicKey(request: $_model.DeleteClientPublicKeyRequest): Promise<$_model.DeleteClientPublicKeyResponse> {
|
|
1896
2528
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1897
|
-
return await this.
|
|
2529
|
+
return await this.deleteClientPublicKeyWithOptions(request, runtime);
|
|
1898
2530
|
}
|
|
1899
2531
|
|
|
1900
2532
|
/**
|
|
1901
|
-
*
|
|
2533
|
+
* 删除云账号
|
|
1902
2534
|
*
|
|
1903
|
-
* @param request -
|
|
2535
|
+
* @param request - DeleteCloudAccountRequest
|
|
1904
2536
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1905
|
-
* @returns
|
|
2537
|
+
* @returns DeleteCloudAccountResponse
|
|
1906
2538
|
*/
|
|
1907
|
-
async
|
|
2539
|
+
async deleteCloudAccountWithOptions(request: $_model.DeleteCloudAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCloudAccountResponse> {
|
|
1908
2540
|
request.validate();
|
|
1909
2541
|
let query = { };
|
|
1910
|
-
if (!$dara.isNull(request.
|
|
1911
|
-
query["
|
|
2542
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
2543
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
1912
2544
|
}
|
|
1913
2545
|
|
|
1914
2546
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -1919,7 +2551,7 @@ export default class Client extends OpenApi {
|
|
|
1919
2551
|
query: OpenApiUtil.query(query),
|
|
1920
2552
|
});
|
|
1921
2553
|
let params = new $OpenApiUtil.Params({
|
|
1922
|
-
action: "
|
|
2554
|
+
action: "DeleteCloudAccount",
|
|
1923
2555
|
version: "2021-12-01",
|
|
1924
2556
|
protocol: "HTTPS",
|
|
1925
2557
|
pathname: "/",
|
|
@@ -1929,7 +2561,155 @@ export default class Client extends OpenApi {
|
|
|
1929
2561
|
reqBodyType: "formData",
|
|
1930
2562
|
bodyType: "json",
|
|
1931
2563
|
});
|
|
1932
|
-
return $dara.cast<$_model.
|
|
2564
|
+
return $dara.cast<$_model.DeleteCloudAccountResponse>(await this.callApi(params, req, runtime), new $_model.DeleteCloudAccountResponse({}));
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* 删除云账号
|
|
2569
|
+
*
|
|
2570
|
+
* @param request - DeleteCloudAccountRequest
|
|
2571
|
+
* @returns DeleteCloudAccountResponse
|
|
2572
|
+
*/
|
|
2573
|
+
async deleteCloudAccount(request: $_model.DeleteCloudAccountRequest): Promise<$_model.DeleteCloudAccountResponse> {
|
|
2574
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2575
|
+
return await this.deleteCloudAccountWithOptions(request, runtime);
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* 删除云角色
|
|
2580
|
+
*
|
|
2581
|
+
* @param request - DeleteCloudAccountRoleRequest
|
|
2582
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2583
|
+
* @returns DeleteCloudAccountRoleResponse
|
|
2584
|
+
*/
|
|
2585
|
+
async deleteCloudAccountRoleWithOptions(request: $_model.DeleteCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCloudAccountRoleResponse> {
|
|
2586
|
+
request.validate();
|
|
2587
|
+
let query = { };
|
|
2588
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
2589
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
if (!$dara.isNull(request.cloudAccountRoleId)) {
|
|
2593
|
+
query["CloudAccountRoleId"] = request.cloudAccountRoleId;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2597
|
+
query["InstanceId"] = request.instanceId;
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2601
|
+
query: OpenApiUtil.query(query),
|
|
2602
|
+
});
|
|
2603
|
+
let params = new $OpenApiUtil.Params({
|
|
2604
|
+
action: "DeleteCloudAccountRole",
|
|
2605
|
+
version: "2021-12-01",
|
|
2606
|
+
protocol: "HTTPS",
|
|
2607
|
+
pathname: "/",
|
|
2608
|
+
method: "POST",
|
|
2609
|
+
authType: "AK",
|
|
2610
|
+
style: "RPC",
|
|
2611
|
+
reqBodyType: "formData",
|
|
2612
|
+
bodyType: "json",
|
|
2613
|
+
});
|
|
2614
|
+
return $dara.cast<$_model.DeleteCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.DeleteCloudAccountRoleResponse({}));
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
/**
|
|
2618
|
+
* 删除云角色
|
|
2619
|
+
*
|
|
2620
|
+
* @param request - DeleteCloudAccountRoleRequest
|
|
2621
|
+
* @returns DeleteCloudAccountRoleResponse
|
|
2622
|
+
*/
|
|
2623
|
+
async deleteCloudAccountRole(request: $_model.DeleteCloudAccountRoleRequest): Promise<$_model.DeleteCloudAccountRoleResponse> {
|
|
2624
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2625
|
+
return await this.deleteCloudAccountRoleWithOptions(request, runtime);
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* Delete Conditional Access Policy
|
|
2630
|
+
*
|
|
2631
|
+
* @remarks
|
|
2632
|
+
* When deleting a specified conditional access policy, please ensure that the policy is no longer in use. After deletion, all configuration data will be removed and cannot be recovered.
|
|
2633
|
+
*
|
|
2634
|
+
* @param request - DeleteConditionalAccessPolicyRequest
|
|
2635
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2636
|
+
* @returns DeleteConditionalAccessPolicyResponse
|
|
2637
|
+
*/
|
|
2638
|
+
async deleteConditionalAccessPolicyWithOptions(request: $_model.DeleteConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteConditionalAccessPolicyResponse> {
|
|
2639
|
+
request.validate();
|
|
2640
|
+
let query = { };
|
|
2641
|
+
if (!$dara.isNull(request.conditionalAccessPolicyId)) {
|
|
2642
|
+
query["ConditionalAccessPolicyId"] = request.conditionalAccessPolicyId;
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2646
|
+
query["InstanceId"] = request.instanceId;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2650
|
+
query: OpenApiUtil.query(query),
|
|
2651
|
+
});
|
|
2652
|
+
let params = new $OpenApiUtil.Params({
|
|
2653
|
+
action: "DeleteConditionalAccessPolicy",
|
|
2654
|
+
version: "2021-12-01",
|
|
2655
|
+
protocol: "HTTPS",
|
|
2656
|
+
pathname: "/",
|
|
2657
|
+
method: "POST",
|
|
2658
|
+
authType: "AK",
|
|
2659
|
+
style: "RPC",
|
|
2660
|
+
reqBodyType: "formData",
|
|
2661
|
+
bodyType: "json",
|
|
2662
|
+
});
|
|
2663
|
+
return $dara.cast<$_model.DeleteConditionalAccessPolicyResponse>(await this.callApi(params, req, runtime), new $_model.DeleteConditionalAccessPolicyResponse({}));
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Delete Conditional Access Policy
|
|
2668
|
+
*
|
|
2669
|
+
* @remarks
|
|
2670
|
+
* When deleting a specified conditional access policy, please ensure that the policy is no longer in use. After deletion, all configuration data will be removed and cannot be recovered.
|
|
2671
|
+
*
|
|
2672
|
+
* @param request - DeleteConditionalAccessPolicyRequest
|
|
2673
|
+
* @returns DeleteConditionalAccessPolicyResponse
|
|
2674
|
+
*/
|
|
2675
|
+
async deleteConditionalAccessPolicy(request: $_model.DeleteConditionalAccessPolicyRequest): Promise<$_model.DeleteConditionalAccessPolicyResponse> {
|
|
2676
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2677
|
+
return await this.deleteConditionalAccessPolicyWithOptions(request, runtime);
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* 删除自定义条款
|
|
2682
|
+
*
|
|
2683
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
2684
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2685
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
2686
|
+
*/
|
|
2687
|
+
async deleteCustomPrivacyPolicyWithOptions(request: $_model.DeleteCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomPrivacyPolicyResponse> {
|
|
2688
|
+
request.validate();
|
|
2689
|
+
let query = { };
|
|
2690
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
2691
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2695
|
+
query["InstanceId"] = request.instanceId;
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2699
|
+
query: OpenApiUtil.query(query),
|
|
2700
|
+
});
|
|
2701
|
+
let params = new $OpenApiUtil.Params({
|
|
2702
|
+
action: "DeleteCustomPrivacyPolicy",
|
|
2703
|
+
version: "2021-12-01",
|
|
2704
|
+
protocol: "HTTPS",
|
|
2705
|
+
pathname: "/",
|
|
2706
|
+
method: "POST",
|
|
2707
|
+
authType: "AK",
|
|
2708
|
+
style: "RPC",
|
|
2709
|
+
reqBodyType: "formData",
|
|
2710
|
+
bodyType: "json",
|
|
2711
|
+
});
|
|
2712
|
+
return $dara.cast<$_model.DeleteCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.DeleteCustomPrivacyPolicyResponse({}));
|
|
1933
2713
|
}
|
|
1934
2714
|
|
|
1935
2715
|
/**
|
|
@@ -2409,6 +3189,56 @@ export default class Client extends OpenApi {
|
|
|
2409
3189
|
return await this.deleteOrganizationalUnitChildrenWithOptions(request, runtime);
|
|
2410
3190
|
}
|
|
2411
3191
|
|
|
3192
|
+
/**
|
|
3193
|
+
* 删除指定ResourceServer下的Scope
|
|
3194
|
+
*
|
|
3195
|
+
* @param request - DeleteResourceServerScopeRequest
|
|
3196
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3197
|
+
* @returns DeleteResourceServerScopeResponse
|
|
3198
|
+
*/
|
|
3199
|
+
async deleteResourceServerScopeWithOptions(request: $_model.DeleteResourceServerScopeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteResourceServerScopeResponse> {
|
|
3200
|
+
request.validate();
|
|
3201
|
+
let query = { };
|
|
3202
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
3203
|
+
query["ApplicationId"] = request.applicationId;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3207
|
+
query["InstanceId"] = request.instanceId;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
if (!$dara.isNull(request.resourceServerScopeId)) {
|
|
3211
|
+
query["ResourceServerScopeId"] = request.resourceServerScopeId;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3215
|
+
query: OpenApiUtil.query(query),
|
|
3216
|
+
});
|
|
3217
|
+
let params = new $OpenApiUtil.Params({
|
|
3218
|
+
action: "DeleteResourceServerScope",
|
|
3219
|
+
version: "2021-12-01",
|
|
3220
|
+
protocol: "HTTPS",
|
|
3221
|
+
pathname: "/",
|
|
3222
|
+
method: "POST",
|
|
3223
|
+
authType: "AK",
|
|
3224
|
+
style: "RPC",
|
|
3225
|
+
reqBodyType: "formData",
|
|
3226
|
+
bodyType: "json",
|
|
3227
|
+
});
|
|
3228
|
+
return $dara.cast<$_model.DeleteResourceServerScopeResponse>(await this.callApi(params, req, runtime), new $_model.DeleteResourceServerScopeResponse({}));
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
/**
|
|
3232
|
+
* 删除指定ResourceServer下的Scope
|
|
3233
|
+
*
|
|
3234
|
+
* @param request - DeleteResourceServerScopeRequest
|
|
3235
|
+
* @returns DeleteResourceServerScopeResponse
|
|
3236
|
+
*/
|
|
3237
|
+
async deleteResourceServerScope(request: $_model.DeleteResourceServerScopeRequest): Promise<$_model.DeleteResourceServerScopeResponse> {
|
|
3238
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3239
|
+
return await this.deleteResourceServerScopeWithOptions(request, runtime);
|
|
3240
|
+
}
|
|
3241
|
+
|
|
2412
3242
|
/**
|
|
2413
3243
|
* Deletes an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS). The information related to the account is cleared.
|
|
2414
3244
|
*
|
|
@@ -2749,6 +3579,52 @@ export default class Client extends OpenApi {
|
|
|
2749
3579
|
return await this.disableApplicationFederatedCredentialWithOptions(request, runtime);
|
|
2750
3580
|
}
|
|
2751
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
* 禁用M2M Client 能力
|
|
3584
|
+
*
|
|
3585
|
+
* @param request - DisableApplicationM2MClientRequest
|
|
3586
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3587
|
+
* @returns DisableApplicationM2MClientResponse
|
|
3588
|
+
*/
|
|
3589
|
+
async disableApplicationM2MClientWithOptions(request: $_model.DisableApplicationM2MClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableApplicationM2MClientResponse> {
|
|
3590
|
+
request.validate();
|
|
3591
|
+
let query = { };
|
|
3592
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
3593
|
+
query["ApplicationId"] = request.applicationId;
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3597
|
+
query["InstanceId"] = request.instanceId;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3601
|
+
query: OpenApiUtil.query(query),
|
|
3602
|
+
});
|
|
3603
|
+
let params = new $OpenApiUtil.Params({
|
|
3604
|
+
action: "DisableApplicationM2MClient",
|
|
3605
|
+
version: "2021-12-01",
|
|
3606
|
+
protocol: "HTTPS",
|
|
3607
|
+
pathname: "/",
|
|
3608
|
+
method: "POST",
|
|
3609
|
+
authType: "AK",
|
|
3610
|
+
style: "RPC",
|
|
3611
|
+
reqBodyType: "formData",
|
|
3612
|
+
bodyType: "json",
|
|
3613
|
+
});
|
|
3614
|
+
return $dara.cast<$_model.DisableApplicationM2MClientResponse>(await this.callApi(params, req, runtime), new $_model.DisableApplicationM2MClientResponse({}));
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* 禁用M2M Client 能力
|
|
3619
|
+
*
|
|
3620
|
+
* @param request - DisableApplicationM2MClientRequest
|
|
3621
|
+
* @returns DisableApplicationM2MClientResponse
|
|
3622
|
+
*/
|
|
3623
|
+
async disableApplicationM2MClient(request: $_model.DisableApplicationM2MClientRequest): Promise<$_model.DisableApplicationM2MClientResponse> {
|
|
3624
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3625
|
+
return await this.disableApplicationM2MClientWithOptions(request, runtime);
|
|
3626
|
+
}
|
|
3627
|
+
|
|
2752
3628
|
/**
|
|
2753
3629
|
* Disables the account synchronization feature for an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
2754
3630
|
*
|
|
@@ -2795,6 +3671,52 @@ export default class Client extends OpenApi {
|
|
|
2795
3671
|
return await this.disableApplicationProvisioningWithOptions(request, runtime);
|
|
2796
3672
|
}
|
|
2797
3673
|
|
|
3674
|
+
/**
|
|
3675
|
+
* 禁用ResourceServer能力
|
|
3676
|
+
*
|
|
3677
|
+
* @param request - DisableApplicationResourceServerRequest
|
|
3678
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3679
|
+
* @returns DisableApplicationResourceServerResponse
|
|
3680
|
+
*/
|
|
3681
|
+
async disableApplicationResourceServerWithOptions(request: $_model.DisableApplicationResourceServerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableApplicationResourceServerResponse> {
|
|
3682
|
+
request.validate();
|
|
3683
|
+
let query = { };
|
|
3684
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
3685
|
+
query["ApplicationId"] = request.applicationId;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3689
|
+
query["InstanceId"] = request.instanceId;
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3693
|
+
query: OpenApiUtil.query(query),
|
|
3694
|
+
});
|
|
3695
|
+
let params = new $OpenApiUtil.Params({
|
|
3696
|
+
action: "DisableApplicationResourceServer",
|
|
3697
|
+
version: "2021-12-01",
|
|
3698
|
+
protocol: "HTTPS",
|
|
3699
|
+
pathname: "/",
|
|
3700
|
+
method: "POST",
|
|
3701
|
+
authType: "AK",
|
|
3702
|
+
style: "RPC",
|
|
3703
|
+
reqBodyType: "formData",
|
|
3704
|
+
bodyType: "json",
|
|
3705
|
+
});
|
|
3706
|
+
return $dara.cast<$_model.DisableApplicationResourceServerResponse>(await this.callApi(params, req, runtime), new $_model.DisableApplicationResourceServerResponse({}));
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
/**
|
|
3710
|
+
* 禁用ResourceServer能力
|
|
3711
|
+
*
|
|
3712
|
+
* @param request - DisableApplicationResourceServerRequest
|
|
3713
|
+
* @returns DisableApplicationResourceServerResponse
|
|
3714
|
+
*/
|
|
3715
|
+
async disableApplicationResourceServer(request: $_model.DisableApplicationResourceServerRequest): Promise<$_model.DisableApplicationResourceServerResponse> {
|
|
3716
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3717
|
+
return await this.disableApplicationResourceServerWithOptions(request, runtime);
|
|
3718
|
+
}
|
|
3719
|
+
|
|
2798
3720
|
/**
|
|
2799
3721
|
* Disables the single sign-on (SSO) feature for an Employee Identity and Access Management (EIAM) application. This way, employees cannot log on to the application by using SSO.
|
|
2800
3722
|
*
|
|
@@ -2938,20 +3860,25 @@ export default class Client extends OpenApi {
|
|
|
2938
3860
|
}
|
|
2939
3861
|
|
|
2940
3862
|
/**
|
|
2941
|
-
*
|
|
3863
|
+
* 禁用指定的应用ClientPublicKey
|
|
2942
3864
|
*
|
|
2943
|
-
* @
|
|
2944
|
-
* When changing a conditional access policy from an enabled state to a disabled state, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
2945
|
-
*
|
|
2946
|
-
* @param request - DisableConditionalAccessPolicyRequest
|
|
3865
|
+
* @param request - DisableClientPublicKeyRequest
|
|
2947
3866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2948
|
-
* @returns
|
|
3867
|
+
* @returns DisableClientPublicKeyResponse
|
|
2949
3868
|
*/
|
|
2950
|
-
async
|
|
3869
|
+
async disableClientPublicKeyWithOptions(request: $_model.DisableClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableClientPublicKeyResponse> {
|
|
2951
3870
|
request.validate();
|
|
2952
3871
|
let query = { };
|
|
2953
|
-
if (!$dara.isNull(request.
|
|
2954
|
-
query["
|
|
3872
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
3873
|
+
query["ApplicationId"] = request.applicationId;
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3876
|
+
if (!$dara.isNull(request.clientPublicKeyId)) {
|
|
3877
|
+
query["ClientPublicKeyId"] = request.clientPublicKeyId;
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3881
|
+
query["ClientToken"] = request.clientToken;
|
|
2955
3882
|
}
|
|
2956
3883
|
|
|
2957
3884
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -2962,7 +3889,7 @@ export default class Client extends OpenApi {
|
|
|
2962
3889
|
query: OpenApiUtil.query(query),
|
|
2963
3890
|
});
|
|
2964
3891
|
let params = new $OpenApiUtil.Params({
|
|
2965
|
-
action: "
|
|
3892
|
+
action: "DisableClientPublicKey",
|
|
2966
3893
|
version: "2021-12-01",
|
|
2967
3894
|
protocol: "HTTPS",
|
|
2968
3895
|
pathname: "/",
|
|
@@ -2972,13 +3899,116 @@ export default class Client extends OpenApi {
|
|
|
2972
3899
|
reqBodyType: "formData",
|
|
2973
3900
|
bodyType: "json",
|
|
2974
3901
|
});
|
|
2975
|
-
return $dara.cast<$_model.
|
|
3902
|
+
return $dara.cast<$_model.DisableClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.DisableClientPublicKeyResponse({}));
|
|
2976
3903
|
}
|
|
2977
3904
|
|
|
2978
3905
|
/**
|
|
2979
|
-
*
|
|
3906
|
+
* 禁用指定的应用ClientPublicKey
|
|
2980
3907
|
*
|
|
2981
|
-
* @
|
|
3908
|
+
* @param request - DisableClientPublicKeyRequest
|
|
3909
|
+
* @returns DisableClientPublicKeyResponse
|
|
3910
|
+
*/
|
|
3911
|
+
async disableClientPublicKey(request: $_model.DisableClientPublicKeyRequest): Promise<$_model.DisableClientPublicKeyResponse> {
|
|
3912
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3913
|
+
return await this.disableClientPublicKeyWithOptions(request, runtime);
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3916
|
+
/**
|
|
3917
|
+
* 禁用云角色
|
|
3918
|
+
*
|
|
3919
|
+
* @param request - DisableCloudAccountRoleRequest
|
|
3920
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3921
|
+
* @returns DisableCloudAccountRoleResponse
|
|
3922
|
+
*/
|
|
3923
|
+
async disableCloudAccountRoleWithOptions(request: $_model.DisableCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableCloudAccountRoleResponse> {
|
|
3924
|
+
request.validate();
|
|
3925
|
+
let query = { };
|
|
3926
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3927
|
+
query["ClientToken"] = request.clientToken;
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
3931
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
if (!$dara.isNull(request.cloudAccountRoleId)) {
|
|
3935
|
+
query["CloudAccountRoleId"] = request.cloudAccountRoleId;
|
|
3936
|
+
}
|
|
3937
|
+
|
|
3938
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3939
|
+
query["InstanceId"] = request.instanceId;
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3942
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3943
|
+
query: OpenApiUtil.query(query),
|
|
3944
|
+
});
|
|
3945
|
+
let params = new $OpenApiUtil.Params({
|
|
3946
|
+
action: "DisableCloudAccountRole",
|
|
3947
|
+
version: "2021-12-01",
|
|
3948
|
+
protocol: "HTTPS",
|
|
3949
|
+
pathname: "/",
|
|
3950
|
+
method: "POST",
|
|
3951
|
+
authType: "AK",
|
|
3952
|
+
style: "RPC",
|
|
3953
|
+
reqBodyType: "formData",
|
|
3954
|
+
bodyType: "json",
|
|
3955
|
+
});
|
|
3956
|
+
return $dara.cast<$_model.DisableCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.DisableCloudAccountRoleResponse({}));
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
/**
|
|
3960
|
+
* 禁用云角色
|
|
3961
|
+
*
|
|
3962
|
+
* @param request - DisableCloudAccountRoleRequest
|
|
3963
|
+
* @returns DisableCloudAccountRoleResponse
|
|
3964
|
+
*/
|
|
3965
|
+
async disableCloudAccountRole(request: $_model.DisableCloudAccountRoleRequest): Promise<$_model.DisableCloudAccountRoleResponse> {
|
|
3966
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3967
|
+
return await this.disableCloudAccountRoleWithOptions(request, runtime);
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
/**
|
|
3971
|
+
* Disable Conditional Access Policy
|
|
3972
|
+
*
|
|
3973
|
+
* @remarks
|
|
3974
|
+
* When changing a conditional access policy from an enabled state to a disabled state, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
3975
|
+
*
|
|
3976
|
+
* @param request - DisableConditionalAccessPolicyRequest
|
|
3977
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3978
|
+
* @returns DisableConditionalAccessPolicyResponse
|
|
3979
|
+
*/
|
|
3980
|
+
async disableConditionalAccessPolicyWithOptions(request: $_model.DisableConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableConditionalAccessPolicyResponse> {
|
|
3981
|
+
request.validate();
|
|
3982
|
+
let query = { };
|
|
3983
|
+
if (!$dara.isNull(request.conditionalAccessPolicyId)) {
|
|
3984
|
+
query["ConditionalAccessPolicyId"] = request.conditionalAccessPolicyId;
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3988
|
+
query["InstanceId"] = request.instanceId;
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3992
|
+
query: OpenApiUtil.query(query),
|
|
3993
|
+
});
|
|
3994
|
+
let params = new $OpenApiUtil.Params({
|
|
3995
|
+
action: "DisableConditionalAccessPolicy",
|
|
3996
|
+
version: "2021-12-01",
|
|
3997
|
+
protocol: "HTTPS",
|
|
3998
|
+
pathname: "/",
|
|
3999
|
+
method: "POST",
|
|
4000
|
+
authType: "AK",
|
|
4001
|
+
style: "RPC",
|
|
4002
|
+
reqBodyType: "formData",
|
|
4003
|
+
bodyType: "json",
|
|
4004
|
+
});
|
|
4005
|
+
return $dara.cast<$_model.DisableConditionalAccessPolicyResponse>(await this.callApi(params, req, runtime), new $_model.DisableConditionalAccessPolicyResponse({}));
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
/**
|
|
4009
|
+
* Disable Conditional Access Policy
|
|
4010
|
+
*
|
|
4011
|
+
* @remarks
|
|
2982
4012
|
* When changing a conditional access policy from an enabled state to a disabled state, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
2983
4013
|
*
|
|
2984
4014
|
* @param request - DisableConditionalAccessPolicyRequest
|
|
@@ -3357,6 +4387,52 @@ export default class Client extends OpenApi {
|
|
|
3357
4387
|
return await this.disableInternalAuthenticationSourceWithOptions(request, runtime);
|
|
3358
4388
|
}
|
|
3359
4389
|
|
|
4390
|
+
/**
|
|
4391
|
+
* 禁用资源服务器自定义主体
|
|
4392
|
+
*
|
|
4393
|
+
* @param request - DisableResourceServerCustomSubjectRequest
|
|
4394
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4395
|
+
* @returns DisableResourceServerCustomSubjectResponse
|
|
4396
|
+
*/
|
|
4397
|
+
async disableResourceServerCustomSubjectWithOptions(request: $_model.DisableResourceServerCustomSubjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableResourceServerCustomSubjectResponse> {
|
|
4398
|
+
request.validate();
|
|
4399
|
+
let query = { };
|
|
4400
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
4401
|
+
query["ApplicationId"] = request.applicationId;
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
4405
|
+
query["InstanceId"] = request.instanceId;
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4409
|
+
query: OpenApiUtil.query(query),
|
|
4410
|
+
});
|
|
4411
|
+
let params = new $OpenApiUtil.Params({
|
|
4412
|
+
action: "DisableResourceServerCustomSubject",
|
|
4413
|
+
version: "2021-12-01",
|
|
4414
|
+
protocol: "HTTPS",
|
|
4415
|
+
pathname: "/",
|
|
4416
|
+
method: "POST",
|
|
4417
|
+
authType: "AK",
|
|
4418
|
+
style: "RPC",
|
|
4419
|
+
reqBodyType: "formData",
|
|
4420
|
+
bodyType: "json",
|
|
4421
|
+
});
|
|
4422
|
+
return $dara.cast<$_model.DisableResourceServerCustomSubjectResponse>(await this.callApi(params, req, runtime), new $_model.DisableResourceServerCustomSubjectResponse({}));
|
|
4423
|
+
}
|
|
4424
|
+
|
|
4425
|
+
/**
|
|
4426
|
+
* 禁用资源服务器自定义主体
|
|
4427
|
+
*
|
|
4428
|
+
* @param request - DisableResourceServerCustomSubjectRequest
|
|
4429
|
+
* @returns DisableResourceServerCustomSubjectResponse
|
|
4430
|
+
*/
|
|
4431
|
+
async disableResourceServerCustomSubject(request: $_model.DisableResourceServerCustomSubjectRequest): Promise<$_model.DisableResourceServerCustomSubjectResponse> {
|
|
4432
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4433
|
+
return await this.disableResourceServerCustomSubjectWithOptions(request, runtime);
|
|
4434
|
+
}
|
|
4435
|
+
|
|
3360
4436
|
/**
|
|
3361
4437
|
* Disables an Identity as a Service (IDaaS) Employee Identity and Access Management (EIAM) account. If the account is disabled, a success message is returned.
|
|
3362
4438
|
*
|
|
@@ -3595,6 +4671,52 @@ export default class Client extends OpenApi {
|
|
|
3595
4671
|
return await this.enableApplicationFederatedCredentialWithOptions(request, runtime);
|
|
3596
4672
|
}
|
|
3597
4673
|
|
|
4674
|
+
/**
|
|
4675
|
+
* 启用M2M Client 能力
|
|
4676
|
+
*
|
|
4677
|
+
* @param request - EnableApplicationM2MClientRequest
|
|
4678
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4679
|
+
* @returns EnableApplicationM2MClientResponse
|
|
4680
|
+
*/
|
|
4681
|
+
async enableApplicationM2MClientWithOptions(request: $_model.EnableApplicationM2MClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableApplicationM2MClientResponse> {
|
|
4682
|
+
request.validate();
|
|
4683
|
+
let query = { };
|
|
4684
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
4685
|
+
query["ApplicationId"] = request.applicationId;
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4688
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
4689
|
+
query["InstanceId"] = request.instanceId;
|
|
4690
|
+
}
|
|
4691
|
+
|
|
4692
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4693
|
+
query: OpenApiUtil.query(query),
|
|
4694
|
+
});
|
|
4695
|
+
let params = new $OpenApiUtil.Params({
|
|
4696
|
+
action: "EnableApplicationM2MClient",
|
|
4697
|
+
version: "2021-12-01",
|
|
4698
|
+
protocol: "HTTPS",
|
|
4699
|
+
pathname: "/",
|
|
4700
|
+
method: "POST",
|
|
4701
|
+
authType: "AK",
|
|
4702
|
+
style: "RPC",
|
|
4703
|
+
reqBodyType: "formData",
|
|
4704
|
+
bodyType: "json",
|
|
4705
|
+
});
|
|
4706
|
+
return $dara.cast<$_model.EnableApplicationM2MClientResponse>(await this.callApi(params, req, runtime), new $_model.EnableApplicationM2MClientResponse({}));
|
|
4707
|
+
}
|
|
4708
|
+
|
|
4709
|
+
/**
|
|
4710
|
+
* 启用M2M Client 能力
|
|
4711
|
+
*
|
|
4712
|
+
* @param request - EnableApplicationM2MClientRequest
|
|
4713
|
+
* @returns EnableApplicationM2MClientResponse
|
|
4714
|
+
*/
|
|
4715
|
+
async enableApplicationM2MClient(request: $_model.EnableApplicationM2MClientRequest): Promise<$_model.EnableApplicationM2MClientResponse> {
|
|
4716
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4717
|
+
return await this.enableApplicationM2MClientWithOptions(request, runtime);
|
|
4718
|
+
}
|
|
4719
|
+
|
|
3598
4720
|
/**
|
|
3599
4721
|
* Enables the account synchronization feature for an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
3600
4722
|
*
|
|
@@ -3641,6 +4763,52 @@ export default class Client extends OpenApi {
|
|
|
3641
4763
|
return await this.enableApplicationProvisioningWithOptions(request, runtime);
|
|
3642
4764
|
}
|
|
3643
4765
|
|
|
4766
|
+
/**
|
|
4767
|
+
* 启用ResourceServer能力
|
|
4768
|
+
*
|
|
4769
|
+
* @param request - EnableApplicationResourceServerRequest
|
|
4770
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4771
|
+
* @returns EnableApplicationResourceServerResponse
|
|
4772
|
+
*/
|
|
4773
|
+
async enableApplicationResourceServerWithOptions(request: $_model.EnableApplicationResourceServerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableApplicationResourceServerResponse> {
|
|
4774
|
+
request.validate();
|
|
4775
|
+
let query = { };
|
|
4776
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
4777
|
+
query["ApplicationId"] = request.applicationId;
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
4781
|
+
query["InstanceId"] = request.instanceId;
|
|
4782
|
+
}
|
|
4783
|
+
|
|
4784
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4785
|
+
query: OpenApiUtil.query(query),
|
|
4786
|
+
});
|
|
4787
|
+
let params = new $OpenApiUtil.Params({
|
|
4788
|
+
action: "EnableApplicationResourceServer",
|
|
4789
|
+
version: "2021-12-01",
|
|
4790
|
+
protocol: "HTTPS",
|
|
4791
|
+
pathname: "/",
|
|
4792
|
+
method: "POST",
|
|
4793
|
+
authType: "AK",
|
|
4794
|
+
style: "RPC",
|
|
4795
|
+
reqBodyType: "formData",
|
|
4796
|
+
bodyType: "json",
|
|
4797
|
+
});
|
|
4798
|
+
return $dara.cast<$_model.EnableApplicationResourceServerResponse>(await this.callApi(params, req, runtime), new $_model.EnableApplicationResourceServerResponse({}));
|
|
4799
|
+
}
|
|
4800
|
+
|
|
4801
|
+
/**
|
|
4802
|
+
* 启用ResourceServer能力
|
|
4803
|
+
*
|
|
4804
|
+
* @param request - EnableApplicationResourceServerRequest
|
|
4805
|
+
* @returns EnableApplicationResourceServerResponse
|
|
4806
|
+
*/
|
|
4807
|
+
async enableApplicationResourceServer(request: $_model.EnableApplicationResourceServerRequest): Promise<$_model.EnableApplicationResourceServerResponse> {
|
|
4808
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4809
|
+
return await this.enableApplicationResourceServerWithOptions(request, runtime);
|
|
4810
|
+
}
|
|
4811
|
+
|
|
3644
4812
|
/**
|
|
3645
4813
|
* Enables the single sign-on (SSO) feature for an Employee Identity and Access Management (EIAM) application.
|
|
3646
4814
|
*
|
|
@@ -3784,20 +4952,25 @@ export default class Client extends OpenApi {
|
|
|
3784
4952
|
}
|
|
3785
4953
|
|
|
3786
4954
|
/**
|
|
3787
|
-
*
|
|
3788
|
-
*
|
|
3789
|
-
* @remarks
|
|
3790
|
-
* When changing the status of a conditional access policy from enabled to disabled, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
4955
|
+
* 启用指定的应用ClientPublicKey
|
|
3791
4956
|
*
|
|
3792
|
-
* @param request -
|
|
4957
|
+
* @param request - EnableClientPublicKeyRequest
|
|
3793
4958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3794
|
-
* @returns
|
|
4959
|
+
* @returns EnableClientPublicKeyResponse
|
|
3795
4960
|
*/
|
|
3796
|
-
async
|
|
4961
|
+
async enableClientPublicKeyWithOptions(request: $_model.EnableClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableClientPublicKeyResponse> {
|
|
3797
4962
|
request.validate();
|
|
3798
4963
|
let query = { };
|
|
3799
|
-
if (!$dara.isNull(request.
|
|
3800
|
-
query["
|
|
4964
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
4965
|
+
query["ApplicationId"] = request.applicationId;
|
|
4966
|
+
}
|
|
4967
|
+
|
|
4968
|
+
if (!$dara.isNull(request.clientPublicKeyId)) {
|
|
4969
|
+
query["ClientPublicKeyId"] = request.clientPublicKeyId;
|
|
4970
|
+
}
|
|
4971
|
+
|
|
4972
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
4973
|
+
query["ClientToken"] = request.clientToken;
|
|
3801
4974
|
}
|
|
3802
4975
|
|
|
3803
4976
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -3808,7 +4981,7 @@ export default class Client extends OpenApi {
|
|
|
3808
4981
|
query: OpenApiUtil.query(query),
|
|
3809
4982
|
});
|
|
3810
4983
|
let params = new $OpenApiUtil.Params({
|
|
3811
|
-
action: "
|
|
4984
|
+
action: "EnableClientPublicKey",
|
|
3812
4985
|
version: "2021-12-01",
|
|
3813
4986
|
protocol: "HTTPS",
|
|
3814
4987
|
pathname: "/",
|
|
@@ -3818,35 +4991,40 @@ export default class Client extends OpenApi {
|
|
|
3818
4991
|
reqBodyType: "formData",
|
|
3819
4992
|
bodyType: "json",
|
|
3820
4993
|
});
|
|
3821
|
-
return $dara.cast<$_model.
|
|
4994
|
+
return $dara.cast<$_model.EnableClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.EnableClientPublicKeyResponse({}));
|
|
3822
4995
|
}
|
|
3823
4996
|
|
|
3824
4997
|
/**
|
|
3825
|
-
*
|
|
3826
|
-
*
|
|
3827
|
-
* @remarks
|
|
3828
|
-
* When changing the status of a conditional access policy from enabled to disabled, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
4998
|
+
* 启用指定的应用ClientPublicKey
|
|
3829
4999
|
*
|
|
3830
|
-
* @param request -
|
|
3831
|
-
* @returns
|
|
5000
|
+
* @param request - EnableClientPublicKeyRequest
|
|
5001
|
+
* @returns EnableClientPublicKeyResponse
|
|
3832
5002
|
*/
|
|
3833
|
-
async
|
|
5003
|
+
async enableClientPublicKey(request: $_model.EnableClientPublicKeyRequest): Promise<$_model.EnableClientPublicKeyResponse> {
|
|
3834
5004
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3835
|
-
return await this.
|
|
5005
|
+
return await this.enableClientPublicKeyWithOptions(request, runtime);
|
|
3836
5006
|
}
|
|
3837
5007
|
|
|
3838
5008
|
/**
|
|
3839
|
-
*
|
|
5009
|
+
* 启用云角色
|
|
3840
5010
|
*
|
|
3841
|
-
* @param request -
|
|
5011
|
+
* @param request - EnableCloudAccountRoleRequest
|
|
3842
5012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3843
|
-
* @returns
|
|
5013
|
+
* @returns EnableCloudAccountRoleResponse
|
|
3844
5014
|
*/
|
|
3845
|
-
async
|
|
5015
|
+
async enableCloudAccountRoleWithOptions(request: $_model.EnableCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCloudAccountRoleResponse> {
|
|
3846
5016
|
request.validate();
|
|
3847
5017
|
let query = { };
|
|
3848
|
-
if (!$dara.isNull(request.
|
|
3849
|
-
query["
|
|
5018
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5019
|
+
query["ClientToken"] = request.clientToken;
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5022
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
5023
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
5024
|
+
}
|
|
5025
|
+
|
|
5026
|
+
if (!$dara.isNull(request.cloudAccountRoleId)) {
|
|
5027
|
+
query["CloudAccountRoleId"] = request.cloudAccountRoleId;
|
|
3850
5028
|
}
|
|
3851
5029
|
|
|
3852
5030
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -3857,7 +5035,7 @@ export default class Client extends OpenApi {
|
|
|
3857
5035
|
query: OpenApiUtil.query(query),
|
|
3858
5036
|
});
|
|
3859
5037
|
let params = new $OpenApiUtil.Params({
|
|
3860
|
-
action: "
|
|
5038
|
+
action: "EnableCloudAccountRole",
|
|
3861
5039
|
version: "2021-12-01",
|
|
3862
5040
|
protocol: "HTTPS",
|
|
3863
5041
|
pathname: "/",
|
|
@@ -3867,36 +5045,35 @@ export default class Client extends OpenApi {
|
|
|
3867
5045
|
reqBodyType: "formData",
|
|
3868
5046
|
bodyType: "json",
|
|
3869
5047
|
});
|
|
3870
|
-
return $dara.cast<$_model.
|
|
5048
|
+
return $dara.cast<$_model.EnableCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.EnableCloudAccountRoleResponse({}));
|
|
3871
5049
|
}
|
|
3872
5050
|
|
|
3873
5051
|
/**
|
|
3874
|
-
*
|
|
5052
|
+
* 启用云角色
|
|
3875
5053
|
*
|
|
3876
|
-
* @param request -
|
|
3877
|
-
* @returns
|
|
5054
|
+
* @param request - EnableCloudAccountRoleRequest
|
|
5055
|
+
* @returns EnableCloudAccountRoleResponse
|
|
3878
5056
|
*/
|
|
3879
|
-
async
|
|
5057
|
+
async enableCloudAccountRole(request: $_model.EnableCloudAccountRoleRequest): Promise<$_model.EnableCloudAccountRoleResponse> {
|
|
3880
5058
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3881
|
-
return await this.
|
|
5059
|
+
return await this.enableCloudAccountRoleWithOptions(request, runtime);
|
|
3882
5060
|
}
|
|
3883
5061
|
|
|
3884
5062
|
/**
|
|
3885
|
-
*
|
|
5063
|
+
* Enable Conditional Access Policy
|
|
3886
5064
|
*
|
|
3887
|
-
* @
|
|
5065
|
+
* @remarks
|
|
5066
|
+
* When changing the status of a conditional access policy from enabled to disabled, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
5067
|
+
*
|
|
5068
|
+
* @param request - EnableConditionalAccessPolicyRequest
|
|
3888
5069
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3889
|
-
* @returns
|
|
5070
|
+
* @returns EnableConditionalAccessPolicyResponse
|
|
3890
5071
|
*/
|
|
3891
|
-
async
|
|
5072
|
+
async enableConditionalAccessPolicyWithOptions(request: $_model.EnableConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableConditionalAccessPolicyResponse> {
|
|
3892
5073
|
request.validate();
|
|
3893
5074
|
let query = { };
|
|
3894
|
-
if (!$dara.isNull(request.
|
|
3895
|
-
query["
|
|
3896
|
-
}
|
|
3897
|
-
|
|
3898
|
-
if (!$dara.isNull(request.domainProxyTokenId)) {
|
|
3899
|
-
query["DomainProxyTokenId"] = request.domainProxyTokenId;
|
|
5075
|
+
if (!$dara.isNull(request.conditionalAccessPolicyId)) {
|
|
5076
|
+
query["ConditionalAccessPolicyId"] = request.conditionalAccessPolicyId;
|
|
3900
5077
|
}
|
|
3901
5078
|
|
|
3902
5079
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -3907,7 +5084,106 @@ export default class Client extends OpenApi {
|
|
|
3907
5084
|
query: OpenApiUtil.query(query),
|
|
3908
5085
|
});
|
|
3909
5086
|
let params = new $OpenApiUtil.Params({
|
|
3910
|
-
action: "
|
|
5087
|
+
action: "EnableConditionalAccessPolicy",
|
|
5088
|
+
version: "2021-12-01",
|
|
5089
|
+
protocol: "HTTPS",
|
|
5090
|
+
pathname: "/",
|
|
5091
|
+
method: "POST",
|
|
5092
|
+
authType: "AK",
|
|
5093
|
+
style: "RPC",
|
|
5094
|
+
reqBodyType: "formData",
|
|
5095
|
+
bodyType: "json",
|
|
5096
|
+
});
|
|
5097
|
+
return $dara.cast<$_model.EnableConditionalAccessPolicyResponse>(await this.callApi(params, req, runtime), new $_model.EnableConditionalAccessPolicyResponse({}));
|
|
5098
|
+
}
|
|
5099
|
+
|
|
5100
|
+
/**
|
|
5101
|
+
* Enable Conditional Access Policy
|
|
5102
|
+
*
|
|
5103
|
+
* @remarks
|
|
5104
|
+
* When changing the status of a conditional access policy from enabled to disabled, the policy will no longer intercept. Please confirm that you are aware of the potential risks associated with this action.
|
|
5105
|
+
*
|
|
5106
|
+
* @param request - EnableConditionalAccessPolicyRequest
|
|
5107
|
+
* @returns EnableConditionalAccessPolicyResponse
|
|
5108
|
+
*/
|
|
5109
|
+
async enableConditionalAccessPolicy(request: $_model.EnableConditionalAccessPolicyRequest): Promise<$_model.EnableConditionalAccessPolicyResponse> {
|
|
5110
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5111
|
+
return await this.enableConditionalAccessPolicyWithOptions(request, runtime);
|
|
5112
|
+
}
|
|
5113
|
+
|
|
5114
|
+
/**
|
|
5115
|
+
* 启用自定义条款
|
|
5116
|
+
*
|
|
5117
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
5118
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5119
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
5120
|
+
*/
|
|
5121
|
+
async enableCustomPrivacyPolicyWithOptions(request: $_model.EnableCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCustomPrivacyPolicyResponse> {
|
|
5122
|
+
request.validate();
|
|
5123
|
+
let query = { };
|
|
5124
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
5125
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5129
|
+
query["InstanceId"] = request.instanceId;
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5133
|
+
query: OpenApiUtil.query(query),
|
|
5134
|
+
});
|
|
5135
|
+
let params = new $OpenApiUtil.Params({
|
|
5136
|
+
action: "EnableCustomPrivacyPolicy",
|
|
5137
|
+
version: "2021-12-01",
|
|
5138
|
+
protocol: "HTTPS",
|
|
5139
|
+
pathname: "/",
|
|
5140
|
+
method: "POST",
|
|
5141
|
+
authType: "AK",
|
|
5142
|
+
style: "RPC",
|
|
5143
|
+
reqBodyType: "formData",
|
|
5144
|
+
bodyType: "json",
|
|
5145
|
+
});
|
|
5146
|
+
return $dara.cast<$_model.EnableCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.EnableCustomPrivacyPolicyResponse({}));
|
|
5147
|
+
}
|
|
5148
|
+
|
|
5149
|
+
/**
|
|
5150
|
+
* 启用自定义条款
|
|
5151
|
+
*
|
|
5152
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
5153
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
5154
|
+
*/
|
|
5155
|
+
async enableCustomPrivacyPolicy(request: $_model.EnableCustomPrivacyPolicyRequest): Promise<$_model.EnableCustomPrivacyPolicyResponse> {
|
|
5156
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5157
|
+
return await this.enableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
/**
|
|
5161
|
+
* Enables a proxy token for a domain name of an Employee Identity and Access Management (EIAM) instance. The proxy token is used to verify the security of the domain name.
|
|
5162
|
+
*
|
|
5163
|
+
* @param request - EnableDomainProxyTokenRequest
|
|
5164
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5165
|
+
* @returns EnableDomainProxyTokenResponse
|
|
5166
|
+
*/
|
|
5167
|
+
async enableDomainProxyTokenWithOptions(request: $_model.EnableDomainProxyTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableDomainProxyTokenResponse> {
|
|
5168
|
+
request.validate();
|
|
5169
|
+
let query = { };
|
|
5170
|
+
if (!$dara.isNull(request.domainId)) {
|
|
5171
|
+
query["DomainId"] = request.domainId;
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
if (!$dara.isNull(request.domainProxyTokenId)) {
|
|
5175
|
+
query["DomainProxyTokenId"] = request.domainProxyTokenId;
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5178
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5179
|
+
query["InstanceId"] = request.instanceId;
|
|
5180
|
+
}
|
|
5181
|
+
|
|
5182
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5183
|
+
query: OpenApiUtil.query(query),
|
|
5184
|
+
});
|
|
5185
|
+
let params = new $OpenApiUtil.Params({
|
|
5186
|
+
action: "EnableDomainProxyToken",
|
|
3911
5187
|
version: "2021-12-01",
|
|
3912
5188
|
protocol: "HTTPS",
|
|
3913
5189
|
pathname: "/",
|
|
@@ -4203,6 +5479,52 @@ export default class Client extends OpenApi {
|
|
|
4203
5479
|
return await this.enableInternalAuthenticationSourceWithOptions(request, runtime);
|
|
4204
5480
|
}
|
|
4205
5481
|
|
|
5482
|
+
/**
|
|
5483
|
+
* 启用资源服务器自定义主体
|
|
5484
|
+
*
|
|
5485
|
+
* @param request - EnableResourceServerCustomSubjectRequest
|
|
5486
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5487
|
+
* @returns EnableResourceServerCustomSubjectResponse
|
|
5488
|
+
*/
|
|
5489
|
+
async enableResourceServerCustomSubjectWithOptions(request: $_model.EnableResourceServerCustomSubjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableResourceServerCustomSubjectResponse> {
|
|
5490
|
+
request.validate();
|
|
5491
|
+
let query = { };
|
|
5492
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
5493
|
+
query["ApplicationId"] = request.applicationId;
|
|
5494
|
+
}
|
|
5495
|
+
|
|
5496
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5497
|
+
query["InstanceId"] = request.instanceId;
|
|
5498
|
+
}
|
|
5499
|
+
|
|
5500
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5501
|
+
query: OpenApiUtil.query(query),
|
|
5502
|
+
});
|
|
5503
|
+
let params = new $OpenApiUtil.Params({
|
|
5504
|
+
action: "EnableResourceServerCustomSubject",
|
|
5505
|
+
version: "2021-12-01",
|
|
5506
|
+
protocol: "HTTPS",
|
|
5507
|
+
pathname: "/",
|
|
5508
|
+
method: "POST",
|
|
5509
|
+
authType: "AK",
|
|
5510
|
+
style: "RPC",
|
|
5511
|
+
reqBodyType: "formData",
|
|
5512
|
+
bodyType: "json",
|
|
5513
|
+
});
|
|
5514
|
+
return $dara.cast<$_model.EnableResourceServerCustomSubjectResponse>(await this.callApi(params, req, runtime), new $_model.EnableResourceServerCustomSubjectResponse({}));
|
|
5515
|
+
}
|
|
5516
|
+
|
|
5517
|
+
/**
|
|
5518
|
+
* 启用资源服务器自定义主体
|
|
5519
|
+
*
|
|
5520
|
+
* @param request - EnableResourceServerCustomSubjectRequest
|
|
5521
|
+
* @returns EnableResourceServerCustomSubjectResponse
|
|
5522
|
+
*/
|
|
5523
|
+
async enableResourceServerCustomSubject(request: $_model.EnableResourceServerCustomSubjectRequest): Promise<$_model.EnableResourceServerCustomSubjectResponse> {
|
|
5524
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5525
|
+
return await this.enableResourceServerCustomSubjectWithOptions(request, runtime);
|
|
5526
|
+
}
|
|
5527
|
+
|
|
4206
5528
|
/**
|
|
4207
5529
|
* Enables an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS).
|
|
4208
5530
|
*
|
|
@@ -4671,6 +5993,56 @@ export default class Client extends OpenApi {
|
|
|
4671
5993
|
return await this.getApplicationProvisioningScopeWithOptions(request, runtime);
|
|
4672
5994
|
}
|
|
4673
5995
|
|
|
5996
|
+
/**
|
|
5997
|
+
* 获取角色信息
|
|
5998
|
+
*
|
|
5999
|
+
* @param request - GetApplicationRoleRequest
|
|
6000
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6001
|
+
* @returns GetApplicationRoleResponse
|
|
6002
|
+
*/
|
|
6003
|
+
async getApplicationRoleWithOptions(request: $_model.GetApplicationRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetApplicationRoleResponse> {
|
|
6004
|
+
request.validate();
|
|
6005
|
+
let query = { };
|
|
6006
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
6007
|
+
query["ApplicationId"] = request.applicationId;
|
|
6008
|
+
}
|
|
6009
|
+
|
|
6010
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
6011
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
6012
|
+
}
|
|
6013
|
+
|
|
6014
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6015
|
+
query["InstanceId"] = request.instanceId;
|
|
6016
|
+
}
|
|
6017
|
+
|
|
6018
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6019
|
+
query: OpenApiUtil.query(query),
|
|
6020
|
+
});
|
|
6021
|
+
let params = new $OpenApiUtil.Params({
|
|
6022
|
+
action: "GetApplicationRole",
|
|
6023
|
+
version: "2021-12-01",
|
|
6024
|
+
protocol: "HTTPS",
|
|
6025
|
+
pathname: "/",
|
|
6026
|
+
method: "POST",
|
|
6027
|
+
authType: "AK",
|
|
6028
|
+
style: "RPC",
|
|
6029
|
+
reqBodyType: "formData",
|
|
6030
|
+
bodyType: "json",
|
|
6031
|
+
});
|
|
6032
|
+
return $dara.cast<$_model.GetApplicationRoleResponse>(await this.callApi(params, req, runtime), new $_model.GetApplicationRoleResponse({}));
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
/**
|
|
6036
|
+
* 获取角色信息
|
|
6037
|
+
*
|
|
6038
|
+
* @param request - GetApplicationRoleRequest
|
|
6039
|
+
* @returns GetApplicationRoleResponse
|
|
6040
|
+
*/
|
|
6041
|
+
async getApplicationRole(request: $_model.GetApplicationRoleRequest): Promise<$_model.GetApplicationRoleResponse> {
|
|
6042
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6043
|
+
return await this.getApplicationRoleWithOptions(request, runtime);
|
|
6044
|
+
}
|
|
6045
|
+
|
|
4674
6046
|
/**
|
|
4675
6047
|
* Queries the single sign-on (SSO) configuration attributes of an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
4676
6048
|
*
|
|
@@ -4806,20 +6178,21 @@ export default class Client extends OpenApi {
|
|
|
4806
6178
|
}
|
|
4807
6179
|
|
|
4808
6180
|
/**
|
|
4809
|
-
*
|
|
4810
|
-
*
|
|
4811
|
-
* @remarks
|
|
4812
|
-
* Query Conditional Access Policy
|
|
6181
|
+
* 查询指定应用ClientPublicKey
|
|
4813
6182
|
*
|
|
4814
|
-
* @param request -
|
|
6183
|
+
* @param request - GetClientPublicKeyRequest
|
|
4815
6184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4816
|
-
* @returns
|
|
6185
|
+
* @returns GetClientPublicKeyResponse
|
|
4817
6186
|
*/
|
|
4818
|
-
async
|
|
6187
|
+
async getClientPublicKeyWithOptions(request: $_model.GetClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetClientPublicKeyResponse> {
|
|
4819
6188
|
request.validate();
|
|
4820
6189
|
let query = { };
|
|
4821
|
-
if (!$dara.isNull(request.
|
|
4822
|
-
query["
|
|
6190
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
6191
|
+
query["ApplicationId"] = request.applicationId;
|
|
6192
|
+
}
|
|
6193
|
+
|
|
6194
|
+
if (!$dara.isNull(request.clientPublicKeyId)) {
|
|
6195
|
+
query["ClientPublicKeyId"] = request.clientPublicKeyId;
|
|
4823
6196
|
}
|
|
4824
6197
|
|
|
4825
6198
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4830,7 +6203,7 @@ export default class Client extends OpenApi {
|
|
|
4830
6203
|
query: OpenApiUtil.query(query),
|
|
4831
6204
|
});
|
|
4832
6205
|
let params = new $OpenApiUtil.Params({
|
|
4833
|
-
action: "
|
|
6206
|
+
action: "GetClientPublicKey",
|
|
4834
6207
|
version: "2021-12-01",
|
|
4835
6208
|
protocol: "HTTPS",
|
|
4836
6209
|
pathname: "/",
|
|
@@ -4840,35 +6213,32 @@ export default class Client extends OpenApi {
|
|
|
4840
6213
|
reqBodyType: "formData",
|
|
4841
6214
|
bodyType: "json",
|
|
4842
6215
|
});
|
|
4843
|
-
return $dara.cast<$_model.
|
|
6216
|
+
return $dara.cast<$_model.GetClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.GetClientPublicKeyResponse({}));
|
|
4844
6217
|
}
|
|
4845
6218
|
|
|
4846
6219
|
/**
|
|
4847
|
-
*
|
|
4848
|
-
*
|
|
4849
|
-
* @remarks
|
|
4850
|
-
* Query Conditional Access Policy
|
|
6220
|
+
* 查询指定应用ClientPublicKey
|
|
4851
6221
|
*
|
|
4852
|
-
* @param request -
|
|
4853
|
-
* @returns
|
|
6222
|
+
* @param request - GetClientPublicKeyRequest
|
|
6223
|
+
* @returns GetClientPublicKeyResponse
|
|
4854
6224
|
*/
|
|
4855
|
-
async
|
|
6225
|
+
async getClientPublicKey(request: $_model.GetClientPublicKeyRequest): Promise<$_model.GetClientPublicKeyResponse> {
|
|
4856
6226
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4857
|
-
return await this.
|
|
6227
|
+
return await this.getClientPublicKeyWithOptions(request, runtime);
|
|
4858
6228
|
}
|
|
4859
6229
|
|
|
4860
6230
|
/**
|
|
4861
|
-
*
|
|
6231
|
+
* 获取云账号
|
|
4862
6232
|
*
|
|
4863
|
-
* @param request -
|
|
6233
|
+
* @param request - GetCloudAccountRequest
|
|
4864
6234
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4865
|
-
* @returns
|
|
6235
|
+
* @returns GetCloudAccountResponse
|
|
4866
6236
|
*/
|
|
4867
|
-
async
|
|
6237
|
+
async getCloudAccountWithOptions(request: $_model.GetCloudAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCloudAccountResponse> {
|
|
4868
6238
|
request.validate();
|
|
4869
6239
|
let query = { };
|
|
4870
|
-
if (!$dara.isNull(request.
|
|
4871
|
-
query["
|
|
6240
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
6241
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
4872
6242
|
}
|
|
4873
6243
|
|
|
4874
6244
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4879,7 +6249,7 @@ export default class Client extends OpenApi {
|
|
|
4879
6249
|
query: OpenApiUtil.query(query),
|
|
4880
6250
|
});
|
|
4881
6251
|
let params = new $OpenApiUtil.Params({
|
|
4882
|
-
action: "
|
|
6252
|
+
action: "GetCloudAccount",
|
|
4883
6253
|
version: "2021-12-01",
|
|
4884
6254
|
protocol: "HTTPS",
|
|
4885
6255
|
pathname: "/",
|
|
@@ -4889,32 +6259,36 @@ export default class Client extends OpenApi {
|
|
|
4889
6259
|
reqBodyType: "formData",
|
|
4890
6260
|
bodyType: "json",
|
|
4891
6261
|
});
|
|
4892
|
-
return $dara.cast<$_model.
|
|
6262
|
+
return $dara.cast<$_model.GetCloudAccountResponse>(await this.callApi(params, req, runtime), new $_model.GetCloudAccountResponse({}));
|
|
4893
6263
|
}
|
|
4894
6264
|
|
|
4895
6265
|
/**
|
|
4896
|
-
*
|
|
6266
|
+
* 获取云账号
|
|
4897
6267
|
*
|
|
4898
|
-
* @param request -
|
|
4899
|
-
* @returns
|
|
6268
|
+
* @param request - GetCloudAccountRequest
|
|
6269
|
+
* @returns GetCloudAccountResponse
|
|
4900
6270
|
*/
|
|
4901
|
-
async
|
|
6271
|
+
async getCloudAccount(request: $_model.GetCloudAccountRequest): Promise<$_model.GetCloudAccountResponse> {
|
|
4902
6272
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4903
|
-
return await this.
|
|
6273
|
+
return await this.getCloudAccountWithOptions(request, runtime);
|
|
4904
6274
|
}
|
|
4905
6275
|
|
|
4906
6276
|
/**
|
|
4907
|
-
*
|
|
6277
|
+
* 获取云角色
|
|
4908
6278
|
*
|
|
4909
|
-
* @param request -
|
|
6279
|
+
* @param request - GetCloudAccountRoleRequest
|
|
4910
6280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4911
|
-
* @returns
|
|
6281
|
+
* @returns GetCloudAccountRoleResponse
|
|
4912
6282
|
*/
|
|
4913
|
-
async
|
|
6283
|
+
async getCloudAccountRoleWithOptions(request: $_model.GetCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCloudAccountRoleResponse> {
|
|
4914
6284
|
request.validate();
|
|
4915
6285
|
let query = { };
|
|
4916
|
-
if (!$dara.isNull(request.
|
|
4917
|
-
query["
|
|
6286
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
6287
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
6288
|
+
}
|
|
6289
|
+
|
|
6290
|
+
if (!$dara.isNull(request.cloudAccountRoleId)) {
|
|
6291
|
+
query["CloudAccountRoleId"] = request.cloudAccountRoleId;
|
|
4918
6292
|
}
|
|
4919
6293
|
|
|
4920
6294
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4925,7 +6299,7 @@ export default class Client extends OpenApi {
|
|
|
4925
6299
|
query: OpenApiUtil.query(query),
|
|
4926
6300
|
});
|
|
4927
6301
|
let params = new $OpenApiUtil.Params({
|
|
4928
|
-
action: "
|
|
6302
|
+
action: "GetCloudAccountRole",
|
|
4929
6303
|
version: "2021-12-01",
|
|
4930
6304
|
protocol: "HTTPS",
|
|
4931
6305
|
pathname: "/",
|
|
@@ -4935,32 +6309,35 @@ export default class Client extends OpenApi {
|
|
|
4935
6309
|
reqBodyType: "formData",
|
|
4936
6310
|
bodyType: "json",
|
|
4937
6311
|
});
|
|
4938
|
-
return $dara.cast<$_model.
|
|
6312
|
+
return $dara.cast<$_model.GetCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.GetCloudAccountRoleResponse({}));
|
|
4939
6313
|
}
|
|
4940
6314
|
|
|
4941
6315
|
/**
|
|
4942
|
-
*
|
|
6316
|
+
* 获取云角色
|
|
4943
6317
|
*
|
|
4944
|
-
* @param request -
|
|
4945
|
-
* @returns
|
|
6318
|
+
* @param request - GetCloudAccountRoleRequest
|
|
6319
|
+
* @returns GetCloudAccountRoleResponse
|
|
4946
6320
|
*/
|
|
4947
|
-
async
|
|
6321
|
+
async getCloudAccountRole(request: $_model.GetCloudAccountRoleRequest): Promise<$_model.GetCloudAccountRoleResponse> {
|
|
4948
6322
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4949
|
-
return await this.
|
|
6323
|
+
return await this.getCloudAccountRoleWithOptions(request, runtime);
|
|
4950
6324
|
}
|
|
4951
6325
|
|
|
4952
6326
|
/**
|
|
4953
|
-
*
|
|
6327
|
+
* Get Conditional Access Policy
|
|
4954
6328
|
*
|
|
4955
|
-
* @
|
|
6329
|
+
* @remarks
|
|
6330
|
+
* Query Conditional Access Policy
|
|
6331
|
+
*
|
|
6332
|
+
* @param request - GetConditionalAccessPolicyRequest
|
|
4956
6333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4957
|
-
* @returns
|
|
6334
|
+
* @returns GetConditionalAccessPolicyResponse
|
|
4958
6335
|
*/
|
|
4959
|
-
async
|
|
6336
|
+
async getConditionalAccessPolicyWithOptions(request: $_model.GetConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetConditionalAccessPolicyResponse> {
|
|
4960
6337
|
request.validate();
|
|
4961
6338
|
let query = { };
|
|
4962
|
-
if (!$dara.isNull(request.
|
|
4963
|
-
query["
|
|
6339
|
+
if (!$dara.isNull(request.conditionalAccessPolicyId)) {
|
|
6340
|
+
query["ConditionalAccessPolicyId"] = request.conditionalAccessPolicyId;
|
|
4964
6341
|
}
|
|
4965
6342
|
|
|
4966
6343
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4971,7 +6348,7 @@ export default class Client extends OpenApi {
|
|
|
4971
6348
|
query: OpenApiUtil.query(query),
|
|
4972
6349
|
});
|
|
4973
6350
|
let params = new $OpenApiUtil.Params({
|
|
4974
|
-
action: "
|
|
6351
|
+
action: "GetConditionalAccessPolicy",
|
|
4975
6352
|
version: "2021-12-01",
|
|
4976
6353
|
protocol: "HTTPS",
|
|
4977
6354
|
pathname: "/",
|
|
@@ -4981,18 +6358,159 @@ export default class Client extends OpenApi {
|
|
|
4981
6358
|
reqBodyType: "formData",
|
|
4982
6359
|
bodyType: "json",
|
|
4983
6360
|
});
|
|
4984
|
-
return $dara.cast<$_model.
|
|
6361
|
+
return $dara.cast<$_model.GetConditionalAccessPolicyResponse>(await this.callApi(params, req, runtime), new $_model.GetConditionalAccessPolicyResponse({}));
|
|
4985
6362
|
}
|
|
4986
6363
|
|
|
4987
6364
|
/**
|
|
4988
|
-
*
|
|
6365
|
+
* Get Conditional Access Policy
|
|
4989
6366
|
*
|
|
4990
|
-
* @
|
|
4991
|
-
*
|
|
6367
|
+
* @remarks
|
|
6368
|
+
* Query Conditional Access Policy
|
|
6369
|
+
*
|
|
6370
|
+
* @param request - GetConditionalAccessPolicyRequest
|
|
6371
|
+
* @returns GetConditionalAccessPolicyResponse
|
|
4992
6372
|
*/
|
|
4993
|
-
async
|
|
6373
|
+
async getConditionalAccessPolicy(request: $_model.GetConditionalAccessPolicyRequest): Promise<$_model.GetConditionalAccessPolicyResponse> {
|
|
4994
6374
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4995
|
-
return await this.
|
|
6375
|
+
return await this.getConditionalAccessPolicyWithOptions(request, runtime);
|
|
6376
|
+
}
|
|
6377
|
+
|
|
6378
|
+
/**
|
|
6379
|
+
* 获取自定义条款
|
|
6380
|
+
*
|
|
6381
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
6382
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6383
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
6384
|
+
*/
|
|
6385
|
+
async getCustomPrivacyPolicyWithOptions(request: $_model.GetCustomPrivacyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomPrivacyPolicyResponse> {
|
|
6386
|
+
request.validate();
|
|
6387
|
+
let query = { };
|
|
6388
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
6389
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6393
|
+
query["InstanceId"] = request.instanceId;
|
|
6394
|
+
}
|
|
6395
|
+
|
|
6396
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6397
|
+
query: OpenApiUtil.query(query),
|
|
6398
|
+
});
|
|
6399
|
+
let params = new $OpenApiUtil.Params({
|
|
6400
|
+
action: "GetCustomPrivacyPolicy",
|
|
6401
|
+
version: "2021-12-01",
|
|
6402
|
+
protocol: "HTTPS",
|
|
6403
|
+
pathname: "/",
|
|
6404
|
+
method: "POST",
|
|
6405
|
+
authType: "AK",
|
|
6406
|
+
style: "RPC",
|
|
6407
|
+
reqBodyType: "formData",
|
|
6408
|
+
bodyType: "json",
|
|
6409
|
+
});
|
|
6410
|
+
return $dara.cast<$_model.GetCustomPrivacyPolicyResponse>(await this.callApi(params, req, runtime), new $_model.GetCustomPrivacyPolicyResponse({}));
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6413
|
+
/**
|
|
6414
|
+
* 获取自定义条款
|
|
6415
|
+
*
|
|
6416
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
6417
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
6418
|
+
*/
|
|
6419
|
+
async getCustomPrivacyPolicy(request: $_model.GetCustomPrivacyPolicyRequest): Promise<$_model.GetCustomPrivacyPolicyResponse> {
|
|
6420
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6421
|
+
return await this.getCustomPrivacyPolicyWithOptions(request, runtime);
|
|
6422
|
+
}
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* Queries the information about a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
6426
|
+
*
|
|
6427
|
+
* @param request - GetDomainRequest
|
|
6428
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6429
|
+
* @returns GetDomainResponse
|
|
6430
|
+
*/
|
|
6431
|
+
async getDomainWithOptions(request: $_model.GetDomainRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDomainResponse> {
|
|
6432
|
+
request.validate();
|
|
6433
|
+
let query = { };
|
|
6434
|
+
if (!$dara.isNull(request.domainId)) {
|
|
6435
|
+
query["DomainId"] = request.domainId;
|
|
6436
|
+
}
|
|
6437
|
+
|
|
6438
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6439
|
+
query["InstanceId"] = request.instanceId;
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6443
|
+
query: OpenApiUtil.query(query),
|
|
6444
|
+
});
|
|
6445
|
+
let params = new $OpenApiUtil.Params({
|
|
6446
|
+
action: "GetDomain",
|
|
6447
|
+
version: "2021-12-01",
|
|
6448
|
+
protocol: "HTTPS",
|
|
6449
|
+
pathname: "/",
|
|
6450
|
+
method: "POST",
|
|
6451
|
+
authType: "AK",
|
|
6452
|
+
style: "RPC",
|
|
6453
|
+
reqBodyType: "formData",
|
|
6454
|
+
bodyType: "json",
|
|
6455
|
+
});
|
|
6456
|
+
return $dara.cast<$_model.GetDomainResponse>(await this.callApi(params, req, runtime), new $_model.GetDomainResponse({}));
|
|
6457
|
+
}
|
|
6458
|
+
|
|
6459
|
+
/**
|
|
6460
|
+
* Queries the information about a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
6461
|
+
*
|
|
6462
|
+
* @param request - GetDomainRequest
|
|
6463
|
+
* @returns GetDomainResponse
|
|
6464
|
+
*/
|
|
6465
|
+
async getDomain(request: $_model.GetDomainRequest): Promise<$_model.GetDomainResponse> {
|
|
6466
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6467
|
+
return await this.getDomainWithOptions(request, runtime);
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
/**
|
|
6471
|
+
* Queries the domain name system (DNS) challenge records of a domain name of an Employee Identity and Access Management (EIAM) instance. The generated records are used to verify the ownership of the domain name.
|
|
6472
|
+
*
|
|
6473
|
+
* @param request - GetDomainDnsChallengeRequest
|
|
6474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6475
|
+
* @returns GetDomainDnsChallengeResponse
|
|
6476
|
+
*/
|
|
6477
|
+
async getDomainDnsChallengeWithOptions(request: $_model.GetDomainDnsChallengeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDomainDnsChallengeResponse> {
|
|
6478
|
+
request.validate();
|
|
6479
|
+
let query = { };
|
|
6480
|
+
if (!$dara.isNull(request.domain)) {
|
|
6481
|
+
query["Domain"] = request.domain;
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6484
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6485
|
+
query["InstanceId"] = request.instanceId;
|
|
6486
|
+
}
|
|
6487
|
+
|
|
6488
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6489
|
+
query: OpenApiUtil.query(query),
|
|
6490
|
+
});
|
|
6491
|
+
let params = new $OpenApiUtil.Params({
|
|
6492
|
+
action: "GetDomainDnsChallenge",
|
|
6493
|
+
version: "2021-12-01",
|
|
6494
|
+
protocol: "HTTPS",
|
|
6495
|
+
pathname: "/",
|
|
6496
|
+
method: "POST",
|
|
6497
|
+
authType: "AK",
|
|
6498
|
+
style: "RPC",
|
|
6499
|
+
reqBodyType: "formData",
|
|
6500
|
+
bodyType: "json",
|
|
6501
|
+
});
|
|
6502
|
+
return $dara.cast<$_model.GetDomainDnsChallengeResponse>(await this.callApi(params, req, runtime), new $_model.GetDomainDnsChallengeResponse({}));
|
|
6503
|
+
}
|
|
6504
|
+
|
|
6505
|
+
/**
|
|
6506
|
+
* Queries the domain name system (DNS) challenge records of a domain name of an Employee Identity and Access Management (EIAM) instance. The generated records are used to verify the ownership of the domain name.
|
|
6507
|
+
*
|
|
6508
|
+
* @param request - GetDomainDnsChallengeRequest
|
|
6509
|
+
* @returns GetDomainDnsChallengeResponse
|
|
6510
|
+
*/
|
|
6511
|
+
async getDomainDnsChallenge(request: $_model.GetDomainDnsChallengeRequest): Promise<$_model.GetDomainDnsChallengeResponse> {
|
|
6512
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6513
|
+
return await this.getDomainDnsChallengeWithOptions(request, runtime);
|
|
4996
6514
|
}
|
|
4997
6515
|
|
|
4998
6516
|
/**
|
|
@@ -5663,6 +7181,56 @@ export default class Client extends OpenApi {
|
|
|
5663
7181
|
return await this.getPasswordInitializationConfigurationWithOptions(request, runtime);
|
|
5664
7182
|
}
|
|
5665
7183
|
|
|
7184
|
+
/**
|
|
7185
|
+
* 查询指定ResourceServer下的Scope
|
|
7186
|
+
*
|
|
7187
|
+
* @param request - GetResourceServerScopeRequest
|
|
7188
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7189
|
+
* @returns GetResourceServerScopeResponse
|
|
7190
|
+
*/
|
|
7191
|
+
async getResourceServerScopeWithOptions(request: $_model.GetResourceServerScopeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetResourceServerScopeResponse> {
|
|
7192
|
+
request.validate();
|
|
7193
|
+
let query = { };
|
|
7194
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
7195
|
+
query["ApplicationId"] = request.applicationId;
|
|
7196
|
+
}
|
|
7197
|
+
|
|
7198
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7199
|
+
query["InstanceId"] = request.instanceId;
|
|
7200
|
+
}
|
|
7201
|
+
|
|
7202
|
+
if (!$dara.isNull(request.resourceServerScopeId)) {
|
|
7203
|
+
query["ResourceServerScopeId"] = request.resourceServerScopeId;
|
|
7204
|
+
}
|
|
7205
|
+
|
|
7206
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7207
|
+
query: OpenApiUtil.query(query),
|
|
7208
|
+
});
|
|
7209
|
+
let params = new $OpenApiUtil.Params({
|
|
7210
|
+
action: "GetResourceServerScope",
|
|
7211
|
+
version: "2021-12-01",
|
|
7212
|
+
protocol: "HTTPS",
|
|
7213
|
+
pathname: "/",
|
|
7214
|
+
method: "POST",
|
|
7215
|
+
authType: "AK",
|
|
7216
|
+
style: "RPC",
|
|
7217
|
+
reqBodyType: "formData",
|
|
7218
|
+
bodyType: "json",
|
|
7219
|
+
});
|
|
7220
|
+
return $dara.cast<$_model.GetResourceServerScopeResponse>(await this.callApi(params, req, runtime), new $_model.GetResourceServerScopeResponse({}));
|
|
7221
|
+
}
|
|
7222
|
+
|
|
7223
|
+
/**
|
|
7224
|
+
* 查询指定ResourceServer下的Scope
|
|
7225
|
+
*
|
|
7226
|
+
* @param request - GetResourceServerScopeRequest
|
|
7227
|
+
* @returns GetResourceServerScopeResponse
|
|
7228
|
+
*/
|
|
7229
|
+
async getResourceServerScope(request: $_model.GetResourceServerScopeRequest): Promise<$_model.GetResourceServerScopeResponse> {
|
|
7230
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7231
|
+
return await this.getResourceServerScopeWithOptions(request, runtime);
|
|
7232
|
+
}
|
|
7233
|
+
|
|
5666
7234
|
/**
|
|
5667
7235
|
* Queries the information about the root organizational unit in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
5668
7236
|
*
|
|
@@ -6067,6 +7635,64 @@ export default class Client extends OpenApi {
|
|
|
6067
7635
|
return await this.listApplicationFederatedCredentialsForProviderWithOptions(request, runtime);
|
|
6068
7636
|
}
|
|
6069
7637
|
|
|
7638
|
+
/**
|
|
7639
|
+
* 游标分页查询应用角色
|
|
7640
|
+
*
|
|
7641
|
+
* @param request - ListApplicationRolesRequest
|
|
7642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7643
|
+
* @returns ListApplicationRolesResponse
|
|
7644
|
+
*/
|
|
7645
|
+
async listApplicationRolesWithOptions(request: $_model.ListApplicationRolesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApplicationRolesResponse> {
|
|
7646
|
+
request.validate();
|
|
7647
|
+
let query = { };
|
|
7648
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
7649
|
+
query["ApplicationId"] = request.applicationId;
|
|
7650
|
+
}
|
|
7651
|
+
|
|
7652
|
+
if (!$dara.isNull(request.filter)) {
|
|
7653
|
+
query["Filter"] = request.filter;
|
|
7654
|
+
}
|
|
7655
|
+
|
|
7656
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7657
|
+
query["InstanceId"] = request.instanceId;
|
|
7658
|
+
}
|
|
7659
|
+
|
|
7660
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
7661
|
+
query["MaxResults"] = request.maxResults;
|
|
7662
|
+
}
|
|
7663
|
+
|
|
7664
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
7665
|
+
query["NextToken"] = request.nextToken;
|
|
7666
|
+
}
|
|
7667
|
+
|
|
7668
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7669
|
+
query: OpenApiUtil.query(query),
|
|
7670
|
+
});
|
|
7671
|
+
let params = new $OpenApiUtil.Params({
|
|
7672
|
+
action: "ListApplicationRoles",
|
|
7673
|
+
version: "2021-12-01",
|
|
7674
|
+
protocol: "HTTPS",
|
|
7675
|
+
pathname: "/",
|
|
7676
|
+
method: "POST",
|
|
7677
|
+
authType: "AK",
|
|
7678
|
+
style: "RPC",
|
|
7679
|
+
reqBodyType: "formData",
|
|
7680
|
+
bodyType: "json",
|
|
7681
|
+
});
|
|
7682
|
+
return $dara.cast<$_model.ListApplicationRolesResponse>(await this.callApi(params, req, runtime), new $_model.ListApplicationRolesResponse({}));
|
|
7683
|
+
}
|
|
7684
|
+
|
|
7685
|
+
/**
|
|
7686
|
+
* 游标分页查询应用角色
|
|
7687
|
+
*
|
|
7688
|
+
* @param request - ListApplicationRolesRequest
|
|
7689
|
+
* @returns ListApplicationRolesResponse
|
|
7690
|
+
*/
|
|
7691
|
+
async listApplicationRoles(request: $_model.ListApplicationRolesRequest): Promise<$_model.ListApplicationRolesResponse> {
|
|
7692
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7693
|
+
return await this.listApplicationRolesWithOptions(request, runtime);
|
|
7694
|
+
}
|
|
7695
|
+
|
|
6070
7696
|
/**
|
|
6071
7697
|
* 应用支持账户同步类型列表
|
|
6072
7698
|
*
|
|
@@ -6596,18 +8222,19 @@ export default class Client extends OpenApi {
|
|
|
6596
8222
|
}
|
|
6597
8223
|
|
|
6598
8224
|
/**
|
|
6599
|
-
*
|
|
6600
|
-
*
|
|
6601
|
-
* @remarks
|
|
6602
|
-
* Paginated query for the list of conditional access policies
|
|
8225
|
+
* 查询指定应用所属的全部ClientPublicKey
|
|
6603
8226
|
*
|
|
6604
|
-
* @param request -
|
|
8227
|
+
* @param request - ListClientPublicKeysRequest
|
|
6605
8228
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6606
|
-
* @returns
|
|
8229
|
+
* @returns ListClientPublicKeysResponse
|
|
6607
8230
|
*/
|
|
6608
|
-
async
|
|
8231
|
+
async listClientPublicKeysWithOptions(request: $_model.ListClientPublicKeysRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListClientPublicKeysResponse> {
|
|
6609
8232
|
request.validate();
|
|
6610
8233
|
let query = { };
|
|
8234
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
8235
|
+
query["ApplicationId"] = request.applicationId;
|
|
8236
|
+
}
|
|
8237
|
+
|
|
6611
8238
|
if (!$dara.isNull(request.instanceId)) {
|
|
6612
8239
|
query["InstanceId"] = request.instanceId;
|
|
6613
8240
|
}
|
|
@@ -6620,15 +8247,11 @@ export default class Client extends OpenApi {
|
|
|
6620
8247
|
query["NextToken"] = request.nextToken;
|
|
6621
8248
|
}
|
|
6622
8249
|
|
|
6623
|
-
if (!$dara.isNull(request.previousToken)) {
|
|
6624
|
-
query["PreviousToken"] = request.previousToken;
|
|
6625
|
-
}
|
|
6626
|
-
|
|
6627
8250
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6628
8251
|
query: OpenApiUtil.query(query),
|
|
6629
8252
|
});
|
|
6630
8253
|
let params = new $OpenApiUtil.Params({
|
|
6631
|
-
action: "
|
|
8254
|
+
action: "ListClientPublicKeys",
|
|
6632
8255
|
version: "2021-12-01",
|
|
6633
8256
|
protocol: "HTTPS",
|
|
6634
8257
|
pathname: "/",
|
|
@@ -6638,43 +8261,212 @@ export default class Client extends OpenApi {
|
|
|
6638
8261
|
reqBodyType: "formData",
|
|
6639
8262
|
bodyType: "json",
|
|
6640
8263
|
});
|
|
6641
|
-
return $dara.cast<$_model.
|
|
8264
|
+
return $dara.cast<$_model.ListClientPublicKeysResponse>(await this.callApi(params, req, runtime), new $_model.ListClientPublicKeysResponse({}));
|
|
6642
8265
|
}
|
|
6643
8266
|
|
|
6644
8267
|
/**
|
|
6645
|
-
*
|
|
6646
|
-
*
|
|
6647
|
-
* @remarks
|
|
6648
|
-
* Paginated query for the list of conditional access policies
|
|
8268
|
+
* 查询指定应用所属的全部ClientPublicKey
|
|
6649
8269
|
*
|
|
6650
|
-
* @param request -
|
|
6651
|
-
* @returns
|
|
8270
|
+
* @param request - ListClientPublicKeysRequest
|
|
8271
|
+
* @returns ListClientPublicKeysResponse
|
|
6652
8272
|
*/
|
|
6653
|
-
async
|
|
8273
|
+
async listClientPublicKeys(request: $_model.ListClientPublicKeysRequest): Promise<$_model.ListClientPublicKeysResponse> {
|
|
6654
8274
|
let runtime = new $dara.RuntimeOptions({ });
|
|
6655
|
-
return await this.
|
|
8275
|
+
return await this.listClientPublicKeysWithOptions(request, runtime);
|
|
6656
8276
|
}
|
|
6657
8277
|
|
|
6658
8278
|
/**
|
|
6659
|
-
*
|
|
8279
|
+
* 查询云角色列表
|
|
6660
8280
|
*
|
|
6661
|
-
* @param request -
|
|
8281
|
+
* @param request - ListCloudAccountRolesRequest
|
|
6662
8282
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6663
|
-
* @returns
|
|
8283
|
+
* @returns ListCloudAccountRolesResponse
|
|
6664
8284
|
*/
|
|
6665
|
-
async
|
|
8285
|
+
async listCloudAccountRolesWithOptions(request: $_model.ListCloudAccountRolesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCloudAccountRolesResponse> {
|
|
6666
8286
|
request.validate();
|
|
6667
8287
|
let query = { };
|
|
6668
|
-
if (!$dara.isNull(request.
|
|
6669
|
-
query["
|
|
8288
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
8289
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
8290
|
+
}
|
|
8291
|
+
|
|
8292
|
+
if (!$dara.isNull(request.filter)) {
|
|
8293
|
+
query["Filter"] = request.filter;
|
|
6670
8294
|
}
|
|
6671
8295
|
|
|
6672
8296
|
if (!$dara.isNull(request.instanceId)) {
|
|
6673
8297
|
query["InstanceId"] = request.instanceId;
|
|
6674
8298
|
}
|
|
6675
8299
|
|
|
6676
|
-
|
|
6677
|
-
query
|
|
8300
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8301
|
+
query["MaxResults"] = request.maxResults;
|
|
8302
|
+
}
|
|
8303
|
+
|
|
8304
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8305
|
+
query["NextToken"] = request.nextToken;
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8308
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8309
|
+
query: OpenApiUtil.query(query),
|
|
8310
|
+
});
|
|
8311
|
+
let params = new $OpenApiUtil.Params({
|
|
8312
|
+
action: "ListCloudAccountRoles",
|
|
8313
|
+
version: "2021-12-01",
|
|
8314
|
+
protocol: "HTTPS",
|
|
8315
|
+
pathname: "/",
|
|
8316
|
+
method: "POST",
|
|
8317
|
+
authType: "AK",
|
|
8318
|
+
style: "RPC",
|
|
8319
|
+
reqBodyType: "formData",
|
|
8320
|
+
bodyType: "json",
|
|
8321
|
+
});
|
|
8322
|
+
return $dara.cast<$_model.ListCloudAccountRolesResponse>(await this.callApi(params, req, runtime), new $_model.ListCloudAccountRolesResponse({}));
|
|
8323
|
+
}
|
|
8324
|
+
|
|
8325
|
+
/**
|
|
8326
|
+
* 查询云角色列表
|
|
8327
|
+
*
|
|
8328
|
+
* @param request - ListCloudAccountRolesRequest
|
|
8329
|
+
* @returns ListCloudAccountRolesResponse
|
|
8330
|
+
*/
|
|
8331
|
+
async listCloudAccountRoles(request: $_model.ListCloudAccountRolesRequest): Promise<$_model.ListCloudAccountRolesResponse> {
|
|
8332
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8333
|
+
return await this.listCloudAccountRolesWithOptions(request, runtime);
|
|
8334
|
+
}
|
|
8335
|
+
|
|
8336
|
+
/**
|
|
8337
|
+
* 查询云账号列表
|
|
8338
|
+
*
|
|
8339
|
+
* @param request - ListCloudAccountsRequest
|
|
8340
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8341
|
+
* @returns ListCloudAccountsResponse
|
|
8342
|
+
*/
|
|
8343
|
+
async listCloudAccountsWithOptions(request: $_model.ListCloudAccountsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCloudAccountsResponse> {
|
|
8344
|
+
request.validate();
|
|
8345
|
+
let query = { };
|
|
8346
|
+
if (!$dara.isNull(request.filter)) {
|
|
8347
|
+
query["Filter"] = request.filter;
|
|
8348
|
+
}
|
|
8349
|
+
|
|
8350
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
8351
|
+
query["InstanceId"] = request.instanceId;
|
|
8352
|
+
}
|
|
8353
|
+
|
|
8354
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8355
|
+
query["MaxResults"] = request.maxResults;
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8358
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8359
|
+
query["NextToken"] = request.nextToken;
|
|
8360
|
+
}
|
|
8361
|
+
|
|
8362
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8363
|
+
query: OpenApiUtil.query(query),
|
|
8364
|
+
});
|
|
8365
|
+
let params = new $OpenApiUtil.Params({
|
|
8366
|
+
action: "ListCloudAccounts",
|
|
8367
|
+
version: "2021-12-01",
|
|
8368
|
+
protocol: "HTTPS",
|
|
8369
|
+
pathname: "/",
|
|
8370
|
+
method: "POST",
|
|
8371
|
+
authType: "AK",
|
|
8372
|
+
style: "RPC",
|
|
8373
|
+
reqBodyType: "formData",
|
|
8374
|
+
bodyType: "json",
|
|
8375
|
+
});
|
|
8376
|
+
return $dara.cast<$_model.ListCloudAccountsResponse>(await this.callApi(params, req, runtime), new $_model.ListCloudAccountsResponse({}));
|
|
8377
|
+
}
|
|
8378
|
+
|
|
8379
|
+
/**
|
|
8380
|
+
* 查询云账号列表
|
|
8381
|
+
*
|
|
8382
|
+
* @param request - ListCloudAccountsRequest
|
|
8383
|
+
* @returns ListCloudAccountsResponse
|
|
8384
|
+
*/
|
|
8385
|
+
async listCloudAccounts(request: $_model.ListCloudAccountsRequest): Promise<$_model.ListCloudAccountsResponse> {
|
|
8386
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8387
|
+
return await this.listCloudAccountsWithOptions(request, runtime);
|
|
8388
|
+
}
|
|
8389
|
+
|
|
8390
|
+
/**
|
|
8391
|
+
* List of Conditional Access Policies
|
|
8392
|
+
*
|
|
8393
|
+
* @remarks
|
|
8394
|
+
* Paginated query for the list of conditional access policies
|
|
8395
|
+
*
|
|
8396
|
+
* @param request - ListConditionalAccessPoliciesRequest
|
|
8397
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8398
|
+
* @returns ListConditionalAccessPoliciesResponse
|
|
8399
|
+
*/
|
|
8400
|
+
async listConditionalAccessPoliciesWithOptions(request: $_model.ListConditionalAccessPoliciesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListConditionalAccessPoliciesResponse> {
|
|
8401
|
+
request.validate();
|
|
8402
|
+
let query = { };
|
|
8403
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
8404
|
+
query["InstanceId"] = request.instanceId;
|
|
8405
|
+
}
|
|
8406
|
+
|
|
8407
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
8408
|
+
query["MaxResults"] = request.maxResults;
|
|
8409
|
+
}
|
|
8410
|
+
|
|
8411
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
8412
|
+
query["NextToken"] = request.nextToken;
|
|
8413
|
+
}
|
|
8414
|
+
|
|
8415
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
8416
|
+
query["PreviousToken"] = request.previousToken;
|
|
8417
|
+
}
|
|
8418
|
+
|
|
8419
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8420
|
+
query: OpenApiUtil.query(query),
|
|
8421
|
+
});
|
|
8422
|
+
let params = new $OpenApiUtil.Params({
|
|
8423
|
+
action: "ListConditionalAccessPolicies",
|
|
8424
|
+
version: "2021-12-01",
|
|
8425
|
+
protocol: "HTTPS",
|
|
8426
|
+
pathname: "/",
|
|
8427
|
+
method: "POST",
|
|
8428
|
+
authType: "AK",
|
|
8429
|
+
style: "RPC",
|
|
8430
|
+
reqBodyType: "formData",
|
|
8431
|
+
bodyType: "json",
|
|
8432
|
+
});
|
|
8433
|
+
return $dara.cast<$_model.ListConditionalAccessPoliciesResponse>(await this.callApi(params, req, runtime), new $_model.ListConditionalAccessPoliciesResponse({}));
|
|
8434
|
+
}
|
|
8435
|
+
|
|
8436
|
+
/**
|
|
8437
|
+
* List of Conditional Access Policies
|
|
8438
|
+
*
|
|
8439
|
+
* @remarks
|
|
8440
|
+
* Paginated query for the list of conditional access policies
|
|
8441
|
+
*
|
|
8442
|
+
* @param request - ListConditionalAccessPoliciesRequest
|
|
8443
|
+
* @returns ListConditionalAccessPoliciesResponse
|
|
8444
|
+
*/
|
|
8445
|
+
async listConditionalAccessPolicies(request: $_model.ListConditionalAccessPoliciesRequest): Promise<$_model.ListConditionalAccessPoliciesResponse> {
|
|
8446
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8447
|
+
return await this.listConditionalAccessPoliciesWithOptions(request, runtime);
|
|
8448
|
+
}
|
|
8449
|
+
|
|
8450
|
+
/**
|
|
8451
|
+
* 获取应用关联的条件访问策略列表
|
|
8452
|
+
*
|
|
8453
|
+
* @param request - ListConditionalAccessPoliciesForApplicationRequest
|
|
8454
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8455
|
+
* @returns ListConditionalAccessPoliciesForApplicationResponse
|
|
8456
|
+
*/
|
|
8457
|
+
async listConditionalAccessPoliciesForApplicationWithOptions(request: $_model.ListConditionalAccessPoliciesForApplicationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListConditionalAccessPoliciesForApplicationResponse> {
|
|
8458
|
+
request.validate();
|
|
8459
|
+
let query = { };
|
|
8460
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
8461
|
+
query["ApplicationId"] = request.applicationId;
|
|
8462
|
+
}
|
|
8463
|
+
|
|
8464
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
8465
|
+
query["InstanceId"] = request.instanceId;
|
|
8466
|
+
}
|
|
8467
|
+
|
|
8468
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8469
|
+
query: OpenApiUtil.query(query),
|
|
6678
8470
|
});
|
|
6679
8471
|
let params = new $OpenApiUtil.Params({
|
|
6680
8472
|
action: "ListConditionalAccessPoliciesForApplication",
|
|
@@ -7275,6 +9067,64 @@ export default class Client extends OpenApi {
|
|
|
7275
9067
|
return await this.listGroupsForApplicationWithOptions(request, runtime);
|
|
7276
9068
|
}
|
|
7277
9069
|
|
|
9070
|
+
/**
|
|
9071
|
+
* 查询ResourceServer授权的组和Scope权限
|
|
9072
|
+
*
|
|
9073
|
+
* @param request - ListGroupsForResourceServerRequest
|
|
9074
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9075
|
+
* @returns ListGroupsForResourceServerResponse
|
|
9076
|
+
*/
|
|
9077
|
+
async listGroupsForResourceServerWithOptions(request: $_model.ListGroupsForResourceServerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGroupsForResourceServerResponse> {
|
|
9078
|
+
request.validate();
|
|
9079
|
+
let query = { };
|
|
9080
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
9081
|
+
query["ApplicationId"] = request.applicationId;
|
|
9082
|
+
}
|
|
9083
|
+
|
|
9084
|
+
if (!$dara.isNull(request.filter)) {
|
|
9085
|
+
query["Filter"] = request.filter;
|
|
9086
|
+
}
|
|
9087
|
+
|
|
9088
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9089
|
+
query["InstanceId"] = request.instanceId;
|
|
9090
|
+
}
|
|
9091
|
+
|
|
9092
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9093
|
+
query["MaxResults"] = request.maxResults;
|
|
9094
|
+
}
|
|
9095
|
+
|
|
9096
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9097
|
+
query["NextToken"] = request.nextToken;
|
|
9098
|
+
}
|
|
9099
|
+
|
|
9100
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9101
|
+
query: OpenApiUtil.query(query),
|
|
9102
|
+
});
|
|
9103
|
+
let params = new $OpenApiUtil.Params({
|
|
9104
|
+
action: "ListGroupsForResourceServer",
|
|
9105
|
+
version: "2021-12-01",
|
|
9106
|
+
protocol: "HTTPS",
|
|
9107
|
+
pathname: "/",
|
|
9108
|
+
method: "POST",
|
|
9109
|
+
authType: "AK",
|
|
9110
|
+
style: "RPC",
|
|
9111
|
+
reqBodyType: "formData",
|
|
9112
|
+
bodyType: "json",
|
|
9113
|
+
});
|
|
9114
|
+
return $dara.cast<$_model.ListGroupsForResourceServerResponse>(await this.callApi(params, req, runtime), new $_model.ListGroupsForResourceServerResponse({}));
|
|
9115
|
+
}
|
|
9116
|
+
|
|
9117
|
+
/**
|
|
9118
|
+
* 查询ResourceServer授权的组和Scope权限
|
|
9119
|
+
*
|
|
9120
|
+
* @param request - ListGroupsForResourceServerRequest
|
|
9121
|
+
* @returns ListGroupsForResourceServerResponse
|
|
9122
|
+
*/
|
|
9123
|
+
async listGroupsForResourceServer(request: $_model.ListGroupsForResourceServerRequest): Promise<$_model.ListGroupsForResourceServerResponse> {
|
|
9124
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9125
|
+
return await this.listGroupsForResourceServerWithOptions(request, runtime);
|
|
9126
|
+
}
|
|
9127
|
+
|
|
7278
9128
|
/**
|
|
7279
9129
|
* Queries a list of account groups to which an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS) belongs.
|
|
7280
9130
|
*
|
|
@@ -7909,6 +9759,64 @@ export default class Client extends OpenApi {
|
|
|
7909
9759
|
return await this.listOrganizationalUnitsForApplicationWithOptions(request, runtime);
|
|
7910
9760
|
}
|
|
7911
9761
|
|
|
9762
|
+
/**
|
|
9763
|
+
* 查询被授权到组织的ResourceServers和Scopes权限
|
|
9764
|
+
*
|
|
9765
|
+
* @param request - ListOrganizationalUnitsForResourceServerRequest
|
|
9766
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9767
|
+
* @returns ListOrganizationalUnitsForResourceServerResponse
|
|
9768
|
+
*/
|
|
9769
|
+
async listOrganizationalUnitsForResourceServerWithOptions(request: $_model.ListOrganizationalUnitsForResourceServerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListOrganizationalUnitsForResourceServerResponse> {
|
|
9770
|
+
request.validate();
|
|
9771
|
+
let query = { };
|
|
9772
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
9773
|
+
query["ApplicationId"] = request.applicationId;
|
|
9774
|
+
}
|
|
9775
|
+
|
|
9776
|
+
if (!$dara.isNull(request.filter)) {
|
|
9777
|
+
query["Filter"] = request.filter;
|
|
9778
|
+
}
|
|
9779
|
+
|
|
9780
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9781
|
+
query["InstanceId"] = request.instanceId;
|
|
9782
|
+
}
|
|
9783
|
+
|
|
9784
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9785
|
+
query["MaxResults"] = request.maxResults;
|
|
9786
|
+
}
|
|
9787
|
+
|
|
9788
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9789
|
+
query["NextToken"] = request.nextToken;
|
|
9790
|
+
}
|
|
9791
|
+
|
|
9792
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9793
|
+
query: OpenApiUtil.query(query),
|
|
9794
|
+
});
|
|
9795
|
+
let params = new $OpenApiUtil.Params({
|
|
9796
|
+
action: "ListOrganizationalUnitsForResourceServer",
|
|
9797
|
+
version: "2021-12-01",
|
|
9798
|
+
protocol: "HTTPS",
|
|
9799
|
+
pathname: "/",
|
|
9800
|
+
method: "POST",
|
|
9801
|
+
authType: "AK",
|
|
9802
|
+
style: "RPC",
|
|
9803
|
+
reqBodyType: "formData",
|
|
9804
|
+
bodyType: "json",
|
|
9805
|
+
});
|
|
9806
|
+
return $dara.cast<$_model.ListOrganizationalUnitsForResourceServerResponse>(await this.callApi(params, req, runtime), new $_model.ListOrganizationalUnitsForResourceServerResponse({}));
|
|
9807
|
+
}
|
|
9808
|
+
|
|
9809
|
+
/**
|
|
9810
|
+
* 查询被授权到组织的ResourceServers和Scopes权限
|
|
9811
|
+
*
|
|
9812
|
+
* @param request - ListOrganizationalUnitsForResourceServerRequest
|
|
9813
|
+
* @returns ListOrganizationalUnitsForResourceServerResponse
|
|
9814
|
+
*/
|
|
9815
|
+
async listOrganizationalUnitsForResourceServer(request: $_model.ListOrganizationalUnitsForResourceServerRequest): Promise<$_model.ListOrganizationalUnitsForResourceServerResponse> {
|
|
9816
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9817
|
+
return await this.listOrganizationalUnitsForResourceServerWithOptions(request, runtime);
|
|
9818
|
+
}
|
|
9819
|
+
|
|
7912
9820
|
/**
|
|
7913
9821
|
* Queries the supported Alibaba Cloud regions.
|
|
7914
9822
|
*
|
|
@@ -7942,25 +9850,17 @@ export default class Client extends OpenApi {
|
|
|
7942
9850
|
}
|
|
7943
9851
|
|
|
7944
9852
|
/**
|
|
7945
|
-
*
|
|
9853
|
+
* 查询用户的被授予ResourceServers和Scopes的权限
|
|
7946
9854
|
*
|
|
7947
|
-
* @param request -
|
|
9855
|
+
* @param request - ListResourceServersForUserRequest
|
|
7948
9856
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7949
|
-
* @returns
|
|
9857
|
+
* @returns ListResourceServersForUserResponse
|
|
7950
9858
|
*/
|
|
7951
|
-
async
|
|
9859
|
+
async listResourceServersForUserWithOptions(request: $_model.ListResourceServersForUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListResourceServersForUserResponse> {
|
|
7952
9860
|
request.validate();
|
|
7953
9861
|
let query = { };
|
|
7954
|
-
if (!$dara.isNull(request.
|
|
7955
|
-
query["
|
|
7956
|
-
}
|
|
7957
|
-
|
|
7958
|
-
if (!$dara.isNull(request.endTime)) {
|
|
7959
|
-
query["EndTime"] = request.endTime;
|
|
7960
|
-
}
|
|
7961
|
-
|
|
7962
|
-
if (!$dara.isNull(request.filters)) {
|
|
7963
|
-
query["Filters"] = request.filters;
|
|
9862
|
+
if (!$dara.isNull(request.filter)) {
|
|
9863
|
+
query["Filter"] = request.filter;
|
|
7964
9864
|
}
|
|
7965
9865
|
|
|
7966
9866
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -7975,8 +9875,74 @@ export default class Client extends OpenApi {
|
|
|
7975
9875
|
query["NextToken"] = request.nextToken;
|
|
7976
9876
|
}
|
|
7977
9877
|
|
|
7978
|
-
if (!$dara.isNull(request.
|
|
7979
|
-
query["
|
|
9878
|
+
if (!$dara.isNull(request.userId)) {
|
|
9879
|
+
query["UserId"] = request.userId;
|
|
9880
|
+
}
|
|
9881
|
+
|
|
9882
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
9883
|
+
query: OpenApiUtil.query(query),
|
|
9884
|
+
});
|
|
9885
|
+
let params = new $OpenApiUtil.Params({
|
|
9886
|
+
action: "ListResourceServersForUser",
|
|
9887
|
+
version: "2021-12-01",
|
|
9888
|
+
protocol: "HTTPS",
|
|
9889
|
+
pathname: "/",
|
|
9890
|
+
method: "POST",
|
|
9891
|
+
authType: "AK",
|
|
9892
|
+
style: "RPC",
|
|
9893
|
+
reqBodyType: "formData",
|
|
9894
|
+
bodyType: "json",
|
|
9895
|
+
});
|
|
9896
|
+
return $dara.cast<$_model.ListResourceServersForUserResponse>(await this.callApi(params, req, runtime), new $_model.ListResourceServersForUserResponse({}));
|
|
9897
|
+
}
|
|
9898
|
+
|
|
9899
|
+
/**
|
|
9900
|
+
* 查询用户的被授予ResourceServers和Scopes的权限
|
|
9901
|
+
*
|
|
9902
|
+
* @param request - ListResourceServersForUserRequest
|
|
9903
|
+
* @returns ListResourceServersForUserResponse
|
|
9904
|
+
*/
|
|
9905
|
+
async listResourceServersForUser(request: $_model.ListResourceServersForUserRequest): Promise<$_model.ListResourceServersForUserResponse> {
|
|
9906
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
9907
|
+
return await this.listResourceServersForUserWithOptions(request, runtime);
|
|
9908
|
+
}
|
|
9909
|
+
|
|
9910
|
+
/**
|
|
9911
|
+
* 查询同步任务
|
|
9912
|
+
*
|
|
9913
|
+
* @param request - ListSynchronizationJobsRequest
|
|
9914
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9915
|
+
* @returns ListSynchronizationJobsResponse
|
|
9916
|
+
*/
|
|
9917
|
+
async listSynchronizationJobsWithOptions(request: $_model.ListSynchronizationJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSynchronizationJobsResponse> {
|
|
9918
|
+
request.validate();
|
|
9919
|
+
let query = { };
|
|
9920
|
+
if (!$dara.isNull(request.direction)) {
|
|
9921
|
+
query["Direction"] = request.direction;
|
|
9922
|
+
}
|
|
9923
|
+
|
|
9924
|
+
if (!$dara.isNull(request.endTime)) {
|
|
9925
|
+
query["EndTime"] = request.endTime;
|
|
9926
|
+
}
|
|
9927
|
+
|
|
9928
|
+
if (!$dara.isNull(request.filters)) {
|
|
9929
|
+
query["Filters"] = request.filters;
|
|
9930
|
+
}
|
|
9931
|
+
|
|
9932
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9933
|
+
query["InstanceId"] = request.instanceId;
|
|
9934
|
+
}
|
|
9935
|
+
|
|
9936
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9937
|
+
query["MaxResults"] = request.maxResults;
|
|
9938
|
+
}
|
|
9939
|
+
|
|
9940
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9941
|
+
query["NextToken"] = request.nextToken;
|
|
9942
|
+
}
|
|
9943
|
+
|
|
9944
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
9945
|
+
query["PageNumber"] = request.pageNumber;
|
|
7980
9946
|
}
|
|
7981
9947
|
|
|
7982
9948
|
if (!$dara.isNull(request.pageSize)) {
|
|
@@ -8307,6 +10273,64 @@ export default class Client extends OpenApi {
|
|
|
8307
10273
|
return await this.listUsersForGroupWithOptions(request, runtime);
|
|
8308
10274
|
}
|
|
8309
10275
|
|
|
10276
|
+
/**
|
|
10277
|
+
* 查询ResourceServer授权的用户和Scope权限
|
|
10278
|
+
*
|
|
10279
|
+
* @param request - ListUsersForResourceServerRequest
|
|
10280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10281
|
+
* @returns ListUsersForResourceServerResponse
|
|
10282
|
+
*/
|
|
10283
|
+
async listUsersForResourceServerWithOptions(request: $_model.ListUsersForResourceServerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListUsersForResourceServerResponse> {
|
|
10284
|
+
request.validate();
|
|
10285
|
+
let query = { };
|
|
10286
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10287
|
+
query["ApplicationId"] = request.applicationId;
|
|
10288
|
+
}
|
|
10289
|
+
|
|
10290
|
+
if (!$dara.isNull(request.filter)) {
|
|
10291
|
+
query["Filter"] = request.filter;
|
|
10292
|
+
}
|
|
10293
|
+
|
|
10294
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10295
|
+
query["InstanceId"] = request.instanceId;
|
|
10296
|
+
}
|
|
10297
|
+
|
|
10298
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
10299
|
+
query["MaxResults"] = request.maxResults;
|
|
10300
|
+
}
|
|
10301
|
+
|
|
10302
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
10303
|
+
query["NextToken"] = request.nextToken;
|
|
10304
|
+
}
|
|
10305
|
+
|
|
10306
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10307
|
+
query: OpenApiUtil.query(query),
|
|
10308
|
+
});
|
|
10309
|
+
let params = new $OpenApiUtil.Params({
|
|
10310
|
+
action: "ListUsersForResourceServer",
|
|
10311
|
+
version: "2021-12-01",
|
|
10312
|
+
protocol: "HTTPS",
|
|
10313
|
+
pathname: "/",
|
|
10314
|
+
method: "POST",
|
|
10315
|
+
authType: "AK",
|
|
10316
|
+
style: "RPC",
|
|
10317
|
+
reqBodyType: "formData",
|
|
10318
|
+
bodyType: "json",
|
|
10319
|
+
});
|
|
10320
|
+
return $dara.cast<$_model.ListUsersForResourceServerResponse>(await this.callApi(params, req, runtime), new $_model.ListUsersForResourceServerResponse({}));
|
|
10321
|
+
}
|
|
10322
|
+
|
|
10323
|
+
/**
|
|
10324
|
+
* 查询ResourceServer授权的用户和Scope权限
|
|
10325
|
+
*
|
|
10326
|
+
* @param request - ListUsersForResourceServerRequest
|
|
10327
|
+
* @returns ListUsersForResourceServerResponse
|
|
10328
|
+
*/
|
|
10329
|
+
async listUsersForResourceServer(request: $_model.ListUsersForResourceServerRequest): Promise<$_model.ListUsersForResourceServerResponse> {
|
|
10330
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10331
|
+
return await this.listUsersForResourceServerWithOptions(request, runtime);
|
|
10332
|
+
}
|
|
10333
|
+
|
|
8310
10334
|
/**
|
|
8311
10335
|
* Queries a client key of an Employee Identity and Access Management (EIAM) application. The returned key secret is masked. If you want to query the key secret that is not masked, call the ListApplicationClientSecrets operation.
|
|
8312
10336
|
*
|
|
@@ -8458,36 +10482,294 @@ export default class Client extends OpenApi {
|
|
|
8458
10482
|
}
|
|
8459
10483
|
|
|
8460
10484
|
/**
|
|
8461
|
-
* 删除一个当前应用下的指定员工的应用账号
|
|
10485
|
+
* 删除一个当前应用下的指定员工的应用账号
|
|
10486
|
+
*
|
|
10487
|
+
* @param request - RemoveApplicationAccountFromUserRequest
|
|
10488
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10489
|
+
* @returns RemoveApplicationAccountFromUserResponse
|
|
10490
|
+
*/
|
|
10491
|
+
async removeApplicationAccountFromUserWithOptions(request: $_model.RemoveApplicationAccountFromUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveApplicationAccountFromUserResponse> {
|
|
10492
|
+
request.validate();
|
|
10493
|
+
let query = { };
|
|
10494
|
+
if (!$dara.isNull(request.applicationAccountId)) {
|
|
10495
|
+
query["ApplicationAccountId"] = request.applicationAccountId;
|
|
10496
|
+
}
|
|
10497
|
+
|
|
10498
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10499
|
+
query["ApplicationId"] = request.applicationId;
|
|
10500
|
+
}
|
|
10501
|
+
|
|
10502
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10503
|
+
query["InstanceId"] = request.instanceId;
|
|
10504
|
+
}
|
|
10505
|
+
|
|
10506
|
+
if (!$dara.isNull(request.userId)) {
|
|
10507
|
+
query["UserId"] = request.userId;
|
|
10508
|
+
}
|
|
10509
|
+
|
|
10510
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10511
|
+
query: OpenApiUtil.query(query),
|
|
10512
|
+
});
|
|
10513
|
+
let params = new $OpenApiUtil.Params({
|
|
10514
|
+
action: "RemoveApplicationAccountFromUser",
|
|
10515
|
+
version: "2021-12-01",
|
|
10516
|
+
protocol: "HTTPS",
|
|
10517
|
+
pathname: "/",
|
|
10518
|
+
method: "POST",
|
|
10519
|
+
authType: "AK",
|
|
10520
|
+
style: "RPC",
|
|
10521
|
+
reqBodyType: "formData",
|
|
10522
|
+
bodyType: "json",
|
|
10523
|
+
});
|
|
10524
|
+
return $dara.cast<$_model.RemoveApplicationAccountFromUserResponse>(await this.callApi(params, req, runtime), new $_model.RemoveApplicationAccountFromUserResponse({}));
|
|
10525
|
+
}
|
|
10526
|
+
|
|
10527
|
+
/**
|
|
10528
|
+
* 删除一个当前应用下的指定员工的应用账号
|
|
10529
|
+
*
|
|
10530
|
+
* @param request - RemoveApplicationAccountFromUserRequest
|
|
10531
|
+
* @returns RemoveApplicationAccountFromUserResponse
|
|
10532
|
+
*/
|
|
10533
|
+
async removeApplicationAccountFromUser(request: $_model.RemoveApplicationAccountFromUserRequest): Promise<$_model.RemoveApplicationAccountFromUserResponse> {
|
|
10534
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10535
|
+
return await this.removeApplicationAccountFromUserWithOptions(request, runtime);
|
|
10536
|
+
}
|
|
10537
|
+
|
|
10538
|
+
/**
|
|
10539
|
+
* 移除品牌关联条款
|
|
10540
|
+
*
|
|
10541
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
10542
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10543
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
10544
|
+
*/
|
|
10545
|
+
async removeCustomPrivacyPoliciesFromBrandWithOptions(request: $_model.RemoveCustomPrivacyPoliciesFromBrandRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveCustomPrivacyPoliciesFromBrandResponse> {
|
|
10546
|
+
request.validate();
|
|
10547
|
+
let query = { };
|
|
10548
|
+
if (!$dara.isNull(request.brandId)) {
|
|
10549
|
+
query["BrandId"] = request.brandId;
|
|
10550
|
+
}
|
|
10551
|
+
|
|
10552
|
+
if (!$dara.isNull(request.customPrivacyPolicyIds)) {
|
|
10553
|
+
query["CustomPrivacyPolicyIds"] = request.customPrivacyPolicyIds;
|
|
10554
|
+
}
|
|
10555
|
+
|
|
10556
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10557
|
+
query["InstanceId"] = request.instanceId;
|
|
10558
|
+
}
|
|
10559
|
+
|
|
10560
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10561
|
+
query: OpenApiUtil.query(query),
|
|
10562
|
+
});
|
|
10563
|
+
let params = new $OpenApiUtil.Params({
|
|
10564
|
+
action: "RemoveCustomPrivacyPoliciesFromBrand",
|
|
10565
|
+
version: "2021-12-01",
|
|
10566
|
+
protocol: "HTTPS",
|
|
10567
|
+
pathname: "/",
|
|
10568
|
+
method: "POST",
|
|
10569
|
+
authType: "AK",
|
|
10570
|
+
style: "RPC",
|
|
10571
|
+
reqBodyType: "formData",
|
|
10572
|
+
bodyType: "json",
|
|
10573
|
+
});
|
|
10574
|
+
return $dara.cast<$_model.RemoveCustomPrivacyPoliciesFromBrandResponse>(await this.callApi(params, req, runtime), new $_model.RemoveCustomPrivacyPoliciesFromBrandResponse({}));
|
|
10575
|
+
}
|
|
10576
|
+
|
|
10577
|
+
/**
|
|
10578
|
+
* 移除品牌关联条款
|
|
10579
|
+
*
|
|
10580
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
10581
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
10582
|
+
*/
|
|
10583
|
+
async removeCustomPrivacyPoliciesFromBrand(request: $_model.RemoveCustomPrivacyPoliciesFromBrandRequest): Promise<$_model.RemoveCustomPrivacyPoliciesFromBrandResponse> {
|
|
10584
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10585
|
+
return await this.removeCustomPrivacyPoliciesFromBrandWithOptions(request, runtime);
|
|
10586
|
+
}
|
|
10587
|
+
|
|
10588
|
+
/**
|
|
10589
|
+
* Removes an Employee Identity and Access Management (EIAM) account from multiple EIAM organizations of Identity as a Service (IDaaS). You cannot remove an account from a primary organization.
|
|
10590
|
+
*
|
|
10591
|
+
* @param request - RemoveUserFromOrganizationalUnitsRequest
|
|
10592
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10593
|
+
* @returns RemoveUserFromOrganizationalUnitsResponse
|
|
10594
|
+
*/
|
|
10595
|
+
async removeUserFromOrganizationalUnitsWithOptions(request: $_model.RemoveUserFromOrganizationalUnitsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveUserFromOrganizationalUnitsResponse> {
|
|
10596
|
+
request.validate();
|
|
10597
|
+
let query = { };
|
|
10598
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10599
|
+
query["InstanceId"] = request.instanceId;
|
|
10600
|
+
}
|
|
10601
|
+
|
|
10602
|
+
if (!$dara.isNull(request.organizationalUnitIds)) {
|
|
10603
|
+
query["OrganizationalUnitIds"] = request.organizationalUnitIds;
|
|
10604
|
+
}
|
|
10605
|
+
|
|
10606
|
+
if (!$dara.isNull(request.userId)) {
|
|
10607
|
+
query["UserId"] = request.userId;
|
|
10608
|
+
}
|
|
10609
|
+
|
|
10610
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10611
|
+
query: OpenApiUtil.query(query),
|
|
10612
|
+
});
|
|
10613
|
+
let params = new $OpenApiUtil.Params({
|
|
10614
|
+
action: "RemoveUserFromOrganizationalUnits",
|
|
10615
|
+
version: "2021-12-01",
|
|
10616
|
+
protocol: "HTTPS",
|
|
10617
|
+
pathname: "/",
|
|
10618
|
+
method: "POST",
|
|
10619
|
+
authType: "AK",
|
|
10620
|
+
style: "RPC",
|
|
10621
|
+
reqBodyType: "formData",
|
|
10622
|
+
bodyType: "json",
|
|
10623
|
+
});
|
|
10624
|
+
return $dara.cast<$_model.RemoveUserFromOrganizationalUnitsResponse>(await this.callApi(params, req, runtime), new $_model.RemoveUserFromOrganizationalUnitsResponse({}));
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10627
|
+
/**
|
|
10628
|
+
* Removes an Employee Identity and Access Management (EIAM) account from multiple EIAM organizations of Identity as a Service (IDaaS). You cannot remove an account from a primary organization.
|
|
10629
|
+
*
|
|
10630
|
+
* @param request - RemoveUserFromOrganizationalUnitsRequest
|
|
10631
|
+
* @returns RemoveUserFromOrganizationalUnitsResponse
|
|
10632
|
+
*/
|
|
10633
|
+
async removeUserFromOrganizationalUnits(request: $_model.RemoveUserFromOrganizationalUnitsRequest): Promise<$_model.RemoveUserFromOrganizationalUnitsResponse> {
|
|
10634
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10635
|
+
return await this.removeUserFromOrganizationalUnitsWithOptions(request, runtime);
|
|
10636
|
+
}
|
|
10637
|
+
|
|
10638
|
+
/**
|
|
10639
|
+
* Removes Employee Identity and Access Management (EIAM) accounts from an EIAM group of Identity as a Service (IDaaS).
|
|
10640
|
+
*
|
|
10641
|
+
* @param request - RemoveUsersFromGroupRequest
|
|
10642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10643
|
+
* @returns RemoveUsersFromGroupResponse
|
|
10644
|
+
*/
|
|
10645
|
+
async removeUsersFromGroupWithOptions(request: $_model.RemoveUsersFromGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveUsersFromGroupResponse> {
|
|
10646
|
+
request.validate();
|
|
10647
|
+
let query = { };
|
|
10648
|
+
if (!$dara.isNull(request.groupId)) {
|
|
10649
|
+
query["GroupId"] = request.groupId;
|
|
10650
|
+
}
|
|
10651
|
+
|
|
10652
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10653
|
+
query["InstanceId"] = request.instanceId;
|
|
10654
|
+
}
|
|
10655
|
+
|
|
10656
|
+
if (!$dara.isNull(request.userIds)) {
|
|
10657
|
+
query["UserIds"] = request.userIds;
|
|
10658
|
+
}
|
|
10659
|
+
|
|
10660
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10661
|
+
query: OpenApiUtil.query(query),
|
|
10662
|
+
});
|
|
10663
|
+
let params = new $OpenApiUtil.Params({
|
|
10664
|
+
action: "RemoveUsersFromGroup",
|
|
10665
|
+
version: "2021-12-01",
|
|
10666
|
+
protocol: "HTTPS",
|
|
10667
|
+
pathname: "/",
|
|
10668
|
+
method: "POST",
|
|
10669
|
+
authType: "AK",
|
|
10670
|
+
style: "RPC",
|
|
10671
|
+
reqBodyType: "formData",
|
|
10672
|
+
bodyType: "json",
|
|
10673
|
+
});
|
|
10674
|
+
return $dara.cast<$_model.RemoveUsersFromGroupResponse>(await this.callApi(params, req, runtime), new $_model.RemoveUsersFromGroupResponse({}));
|
|
10675
|
+
}
|
|
10676
|
+
|
|
10677
|
+
/**
|
|
10678
|
+
* Removes Employee Identity and Access Management (EIAM) accounts from an EIAM group of Identity as a Service (IDaaS).
|
|
10679
|
+
*
|
|
10680
|
+
* @param request - RemoveUsersFromGroupRequest
|
|
10681
|
+
* @returns RemoveUsersFromGroupResponse
|
|
10682
|
+
*/
|
|
10683
|
+
async removeUsersFromGroup(request: $_model.RemoveUsersFromGroupRequest): Promise<$_model.RemoveUsersFromGroupResponse> {
|
|
10684
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10685
|
+
return await this.removeUsersFromGroupWithOptions(request, runtime);
|
|
10686
|
+
}
|
|
10687
|
+
|
|
10688
|
+
/**
|
|
10689
|
+
* Revokes the permissions to access an application from multiple account groups at a time in Identity as a Service (IDaaS) Employee Identity and Access Management (EIAM).
|
|
10690
|
+
*
|
|
10691
|
+
* @param request - RevokeApplicationFromGroupsRequest
|
|
10692
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10693
|
+
* @returns RevokeApplicationFromGroupsResponse
|
|
10694
|
+
*/
|
|
10695
|
+
async revokeApplicationFromGroupsWithOptions(request: $_model.RevokeApplicationFromGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeApplicationFromGroupsResponse> {
|
|
10696
|
+
request.validate();
|
|
10697
|
+
let query = { };
|
|
10698
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10699
|
+
query["ApplicationId"] = request.applicationId;
|
|
10700
|
+
}
|
|
10701
|
+
|
|
10702
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
10703
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
10704
|
+
}
|
|
10705
|
+
|
|
10706
|
+
if (!$dara.isNull(request.groupIds)) {
|
|
10707
|
+
query["GroupIds"] = request.groupIds;
|
|
10708
|
+
}
|
|
10709
|
+
|
|
10710
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10711
|
+
query["InstanceId"] = request.instanceId;
|
|
10712
|
+
}
|
|
10713
|
+
|
|
10714
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10715
|
+
query: OpenApiUtil.query(query),
|
|
10716
|
+
});
|
|
10717
|
+
let params = new $OpenApiUtil.Params({
|
|
10718
|
+
action: "RevokeApplicationFromGroups",
|
|
10719
|
+
version: "2021-12-01",
|
|
10720
|
+
protocol: "HTTPS",
|
|
10721
|
+
pathname: "/",
|
|
10722
|
+
method: "POST",
|
|
10723
|
+
authType: "AK",
|
|
10724
|
+
style: "RPC",
|
|
10725
|
+
reqBodyType: "formData",
|
|
10726
|
+
bodyType: "json",
|
|
10727
|
+
});
|
|
10728
|
+
return $dara.cast<$_model.RevokeApplicationFromGroupsResponse>(await this.callApi(params, req, runtime), new $_model.RevokeApplicationFromGroupsResponse({}));
|
|
10729
|
+
}
|
|
10730
|
+
|
|
10731
|
+
/**
|
|
10732
|
+
* Revokes the permissions to access an application from multiple account groups at a time in Identity as a Service (IDaaS) Employee Identity and Access Management (EIAM).
|
|
10733
|
+
*
|
|
10734
|
+
* @param request - RevokeApplicationFromGroupsRequest
|
|
10735
|
+
* @returns RevokeApplicationFromGroupsResponse
|
|
10736
|
+
*/
|
|
10737
|
+
async revokeApplicationFromGroups(request: $_model.RevokeApplicationFromGroupsRequest): Promise<$_model.RevokeApplicationFromGroupsResponse> {
|
|
10738
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10739
|
+
return await this.revokeApplicationFromGroupsWithOptions(request, runtime);
|
|
10740
|
+
}
|
|
10741
|
+
|
|
10742
|
+
/**
|
|
10743
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) organizations at a time.
|
|
8462
10744
|
*
|
|
8463
|
-
* @param request -
|
|
10745
|
+
* @param request - RevokeApplicationFromOrganizationalUnitsRequest
|
|
8464
10746
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8465
|
-
* @returns
|
|
10747
|
+
* @returns RevokeApplicationFromOrganizationalUnitsResponse
|
|
8466
10748
|
*/
|
|
8467
|
-
async
|
|
10749
|
+
async revokeApplicationFromOrganizationalUnitsWithOptions(request: $_model.RevokeApplicationFromOrganizationalUnitsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeApplicationFromOrganizationalUnitsResponse> {
|
|
8468
10750
|
request.validate();
|
|
8469
10751
|
let query = { };
|
|
8470
|
-
if (!$dara.isNull(request.applicationAccountId)) {
|
|
8471
|
-
query["ApplicationAccountId"] = request.applicationAccountId;
|
|
8472
|
-
}
|
|
8473
|
-
|
|
8474
10752
|
if (!$dara.isNull(request.applicationId)) {
|
|
8475
10753
|
query["ApplicationId"] = request.applicationId;
|
|
8476
10754
|
}
|
|
8477
10755
|
|
|
10756
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
10757
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
10758
|
+
}
|
|
10759
|
+
|
|
8478
10760
|
if (!$dara.isNull(request.instanceId)) {
|
|
8479
10761
|
query["InstanceId"] = request.instanceId;
|
|
8480
10762
|
}
|
|
8481
10763
|
|
|
8482
|
-
if (!$dara.isNull(request.
|
|
8483
|
-
query["
|
|
10764
|
+
if (!$dara.isNull(request.organizationalUnitIds)) {
|
|
10765
|
+
query["OrganizationalUnitIds"] = request.organizationalUnitIds;
|
|
8484
10766
|
}
|
|
8485
10767
|
|
|
8486
10768
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8487
10769
|
query: OpenApiUtil.query(query),
|
|
8488
10770
|
});
|
|
8489
10771
|
let params = new $OpenApiUtil.Params({
|
|
8490
|
-
action: "
|
|
10772
|
+
action: "RevokeApplicationFromOrganizationalUnits",
|
|
8491
10773
|
version: "2021-12-01",
|
|
8492
10774
|
protocol: "HTTPS",
|
|
8493
10775
|
pathname: "/",
|
|
@@ -8497,47 +10779,51 @@ export default class Client extends OpenApi {
|
|
|
8497
10779
|
reqBodyType: "formData",
|
|
8498
10780
|
bodyType: "json",
|
|
8499
10781
|
});
|
|
8500
|
-
return $dara.cast<$_model.
|
|
10782
|
+
return $dara.cast<$_model.RevokeApplicationFromOrganizationalUnitsResponse>(await this.callApi(params, req, runtime), new $_model.RevokeApplicationFromOrganizationalUnitsResponse({}));
|
|
8501
10783
|
}
|
|
8502
10784
|
|
|
8503
10785
|
/**
|
|
8504
|
-
*
|
|
10786
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) organizations at a time.
|
|
8505
10787
|
*
|
|
8506
|
-
* @param request -
|
|
8507
|
-
* @returns
|
|
10788
|
+
* @param request - RevokeApplicationFromOrganizationalUnitsRequest
|
|
10789
|
+
* @returns RevokeApplicationFromOrganizationalUnitsResponse
|
|
8508
10790
|
*/
|
|
8509
|
-
async
|
|
10791
|
+
async revokeApplicationFromOrganizationalUnits(request: $_model.RevokeApplicationFromOrganizationalUnitsRequest): Promise<$_model.RevokeApplicationFromOrganizationalUnitsResponse> {
|
|
8510
10792
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8511
|
-
return await this.
|
|
10793
|
+
return await this.revokeApplicationFromOrganizationalUnitsWithOptions(request, runtime);
|
|
8512
10794
|
}
|
|
8513
10795
|
|
|
8514
10796
|
/**
|
|
8515
|
-
*
|
|
10797
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) accounts at a time.
|
|
8516
10798
|
*
|
|
8517
|
-
* @param request -
|
|
10799
|
+
* @param request - RevokeApplicationFromUsersRequest
|
|
8518
10800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8519
|
-
* @returns
|
|
10801
|
+
* @returns RevokeApplicationFromUsersResponse
|
|
8520
10802
|
*/
|
|
8521
|
-
async
|
|
10803
|
+
async revokeApplicationFromUsersWithOptions(request: $_model.RevokeApplicationFromUsersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeApplicationFromUsersResponse> {
|
|
8522
10804
|
request.validate();
|
|
8523
10805
|
let query = { };
|
|
8524
|
-
if (!$dara.isNull(request.
|
|
8525
|
-
query["
|
|
10806
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10807
|
+
query["ApplicationId"] = request.applicationId;
|
|
8526
10808
|
}
|
|
8527
10809
|
|
|
8528
|
-
if (!$dara.isNull(request.
|
|
8529
|
-
query["
|
|
10810
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
10811
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
8530
10812
|
}
|
|
8531
10813
|
|
|
8532
10814
|
if (!$dara.isNull(request.instanceId)) {
|
|
8533
10815
|
query["InstanceId"] = request.instanceId;
|
|
8534
10816
|
}
|
|
8535
10817
|
|
|
10818
|
+
if (!$dara.isNull(request.userIds)) {
|
|
10819
|
+
query["UserIds"] = request.userIds;
|
|
10820
|
+
}
|
|
10821
|
+
|
|
8536
10822
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8537
10823
|
query: OpenApiUtil.query(query),
|
|
8538
10824
|
});
|
|
8539
10825
|
let params = new $OpenApiUtil.Params({
|
|
8540
|
-
action: "
|
|
10826
|
+
action: "RevokeApplicationFromUsers",
|
|
8541
10827
|
version: "2021-12-01",
|
|
8542
10828
|
protocol: "HTTPS",
|
|
8543
10829
|
pathname: "/",
|
|
@@ -8547,47 +10833,47 @@ export default class Client extends OpenApi {
|
|
|
8547
10833
|
reqBodyType: "formData",
|
|
8548
10834
|
bodyType: "json",
|
|
8549
10835
|
});
|
|
8550
|
-
return $dara.cast<$_model.
|
|
10836
|
+
return $dara.cast<$_model.RevokeApplicationFromUsersResponse>(await this.callApi(params, req, runtime), new $_model.RevokeApplicationFromUsersResponse({}));
|
|
8551
10837
|
}
|
|
8552
10838
|
|
|
8553
10839
|
/**
|
|
8554
|
-
*
|
|
10840
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) accounts at a time.
|
|
8555
10841
|
*
|
|
8556
|
-
* @param request -
|
|
8557
|
-
* @returns
|
|
10842
|
+
* @param request - RevokeApplicationFromUsersRequest
|
|
10843
|
+
* @returns RevokeApplicationFromUsersResponse
|
|
8558
10844
|
*/
|
|
8559
|
-
async
|
|
10845
|
+
async revokeApplicationFromUsers(request: $_model.RevokeApplicationFromUsersRequest): Promise<$_model.RevokeApplicationFromUsersResponse> {
|
|
8560
10846
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8561
|
-
return await this.
|
|
10847
|
+
return await this.revokeApplicationFromUsersWithOptions(request, runtime);
|
|
8562
10848
|
}
|
|
8563
10849
|
|
|
8564
10850
|
/**
|
|
8565
|
-
*
|
|
10851
|
+
* 解除指定ResourceServer到Client的授权
|
|
8566
10852
|
*
|
|
8567
|
-
* @param request -
|
|
10853
|
+
* @param request - RevokeResourceServerFromClientRequest
|
|
8568
10854
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8569
|
-
* @returns
|
|
10855
|
+
* @returns RevokeResourceServerFromClientResponse
|
|
8570
10856
|
*/
|
|
8571
|
-
async
|
|
10857
|
+
async revokeResourceServerFromClientWithOptions(request: $_model.RevokeResourceServerFromClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerFromClientResponse> {
|
|
8572
10858
|
request.validate();
|
|
8573
10859
|
let query = { };
|
|
8574
|
-
if (!$dara.isNull(request.
|
|
8575
|
-
query["
|
|
10860
|
+
if (!$dara.isNull(request.clientApplicationId)) {
|
|
10861
|
+
query["ClientApplicationId"] = request.clientApplicationId;
|
|
8576
10862
|
}
|
|
8577
10863
|
|
|
8578
|
-
if (!$dara.isNull(request.
|
|
8579
|
-
query["
|
|
10864
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10865
|
+
query["InstanceId"] = request.instanceId;
|
|
8580
10866
|
}
|
|
8581
10867
|
|
|
8582
|
-
if (!$dara.isNull(request.
|
|
8583
|
-
query["
|
|
10868
|
+
if (!$dara.isNull(request.resourceServerApplicationId)) {
|
|
10869
|
+
query["ResourceServerApplicationId"] = request.resourceServerApplicationId;
|
|
8584
10870
|
}
|
|
8585
10871
|
|
|
8586
10872
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8587
10873
|
query: OpenApiUtil.query(query),
|
|
8588
10874
|
});
|
|
8589
10875
|
let params = new $OpenApiUtil.Params({
|
|
8590
|
-
action: "
|
|
10876
|
+
action: "RevokeResourceServerFromClient",
|
|
8591
10877
|
version: "2021-12-01",
|
|
8592
10878
|
protocol: "HTTPS",
|
|
8593
10879
|
pathname: "/",
|
|
@@ -8597,47 +10883,51 @@ export default class Client extends OpenApi {
|
|
|
8597
10883
|
reqBodyType: "formData",
|
|
8598
10884
|
bodyType: "json",
|
|
8599
10885
|
});
|
|
8600
|
-
return $dara.cast<$_model.
|
|
10886
|
+
return $dara.cast<$_model.RevokeResourceServerFromClientResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerFromClientResponse({}));
|
|
8601
10887
|
}
|
|
8602
10888
|
|
|
8603
10889
|
/**
|
|
8604
|
-
*
|
|
10890
|
+
* 解除指定ResourceServer到Client的授权
|
|
8605
10891
|
*
|
|
8606
|
-
* @param request -
|
|
8607
|
-
* @returns
|
|
10892
|
+
* @param request - RevokeResourceServerFromClientRequest
|
|
10893
|
+
* @returns RevokeResourceServerFromClientResponse
|
|
8608
10894
|
*/
|
|
8609
|
-
async
|
|
10895
|
+
async revokeResourceServerFromClient(request: $_model.RevokeResourceServerFromClientRequest): Promise<$_model.RevokeResourceServerFromClientResponse> {
|
|
8610
10896
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8611
|
-
return await this.
|
|
10897
|
+
return await this.revokeResourceServerFromClientWithOptions(request, runtime);
|
|
8612
10898
|
}
|
|
8613
10899
|
|
|
8614
10900
|
/**
|
|
8615
|
-
*
|
|
10901
|
+
* 解除指定ResourceServer下的Scope给Client
|
|
8616
10902
|
*
|
|
8617
|
-
* @param request -
|
|
10903
|
+
* @param request - RevokeResourceServerScopesFromClientRequest
|
|
8618
10904
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8619
|
-
* @returns
|
|
10905
|
+
* @returns RevokeResourceServerScopesFromClientResponse
|
|
8620
10906
|
*/
|
|
8621
|
-
async
|
|
10907
|
+
async revokeResourceServerScopesFromClientWithOptions(request: $_model.RevokeResourceServerScopesFromClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromClientResponse> {
|
|
8622
10908
|
request.validate();
|
|
8623
10909
|
let query = { };
|
|
8624
|
-
if (!$dara.isNull(request.
|
|
8625
|
-
query["
|
|
10910
|
+
if (!$dara.isNull(request.clientApplicationId)) {
|
|
10911
|
+
query["ClientApplicationId"] = request.clientApplicationId;
|
|
8626
10912
|
}
|
|
8627
10913
|
|
|
8628
10914
|
if (!$dara.isNull(request.instanceId)) {
|
|
8629
10915
|
query["InstanceId"] = request.instanceId;
|
|
8630
10916
|
}
|
|
8631
10917
|
|
|
8632
|
-
if (!$dara.isNull(request.
|
|
8633
|
-
query["
|
|
10918
|
+
if (!$dara.isNull(request.resourceServerApplicationId)) {
|
|
10919
|
+
query["ResourceServerApplicationId"] = request.resourceServerApplicationId;
|
|
10920
|
+
}
|
|
10921
|
+
|
|
10922
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
10923
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
8634
10924
|
}
|
|
8635
10925
|
|
|
8636
10926
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8637
10927
|
query: OpenApiUtil.query(query),
|
|
8638
10928
|
});
|
|
8639
10929
|
let params = new $OpenApiUtil.Params({
|
|
8640
|
-
action: "
|
|
10930
|
+
action: "RevokeResourceServerScopesFromClient",
|
|
8641
10931
|
version: "2021-12-01",
|
|
8642
10932
|
protocol: "HTTPS",
|
|
8643
10933
|
pathname: "/",
|
|
@@ -8647,51 +10937,51 @@ export default class Client extends OpenApi {
|
|
|
8647
10937
|
reqBodyType: "formData",
|
|
8648
10938
|
bodyType: "json",
|
|
8649
10939
|
});
|
|
8650
|
-
return $dara.cast<$_model.
|
|
10940
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromClientResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromClientResponse({}));
|
|
8651
10941
|
}
|
|
8652
10942
|
|
|
8653
10943
|
/**
|
|
8654
|
-
*
|
|
10944
|
+
* 解除指定ResourceServer下的Scope给Client
|
|
8655
10945
|
*
|
|
8656
|
-
* @param request -
|
|
8657
|
-
* @returns
|
|
10946
|
+
* @param request - RevokeResourceServerScopesFromClientRequest
|
|
10947
|
+
* @returns RevokeResourceServerScopesFromClientResponse
|
|
8658
10948
|
*/
|
|
8659
|
-
async
|
|
10949
|
+
async revokeResourceServerScopesFromClient(request: $_model.RevokeResourceServerScopesFromClientRequest): Promise<$_model.RevokeResourceServerScopesFromClientResponse> {
|
|
8660
10950
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8661
|
-
return await this.
|
|
10951
|
+
return await this.revokeResourceServerScopesFromClientWithOptions(request, runtime);
|
|
8662
10952
|
}
|
|
8663
10953
|
|
|
8664
10954
|
/**
|
|
8665
|
-
*
|
|
10955
|
+
* 取消被授予到组的ResourceServerScope权限
|
|
8666
10956
|
*
|
|
8667
|
-
* @param request -
|
|
10957
|
+
* @param request - RevokeResourceServerScopesFromGroupRequest
|
|
8668
10958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8669
|
-
* @returns
|
|
10959
|
+
* @returns RevokeResourceServerScopesFromGroupResponse
|
|
8670
10960
|
*/
|
|
8671
|
-
async
|
|
10961
|
+
async revokeResourceServerScopesFromGroupWithOptions(request: $_model.RevokeResourceServerScopesFromGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromGroupResponse> {
|
|
8672
10962
|
request.validate();
|
|
8673
10963
|
let query = { };
|
|
8674
10964
|
if (!$dara.isNull(request.applicationId)) {
|
|
8675
10965
|
query["ApplicationId"] = request.applicationId;
|
|
8676
10966
|
}
|
|
8677
10967
|
|
|
8678
|
-
if (!$dara.isNull(request.
|
|
8679
|
-
query["
|
|
8680
|
-
}
|
|
8681
|
-
|
|
8682
|
-
if (!$dara.isNull(request.groupIds)) {
|
|
8683
|
-
query["GroupIds"] = request.groupIds;
|
|
10968
|
+
if (!$dara.isNull(request.groupId)) {
|
|
10969
|
+
query["GroupId"] = request.groupId;
|
|
8684
10970
|
}
|
|
8685
10971
|
|
|
8686
10972
|
if (!$dara.isNull(request.instanceId)) {
|
|
8687
10973
|
query["InstanceId"] = request.instanceId;
|
|
8688
10974
|
}
|
|
8689
10975
|
|
|
10976
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
10977
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
10978
|
+
}
|
|
10979
|
+
|
|
8690
10980
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8691
10981
|
query: OpenApiUtil.query(query),
|
|
8692
10982
|
});
|
|
8693
10983
|
let params = new $OpenApiUtil.Params({
|
|
8694
|
-
action: "
|
|
10984
|
+
action: "RevokeResourceServerScopesFromGroup",
|
|
8695
10985
|
version: "2021-12-01",
|
|
8696
10986
|
protocol: "HTTPS",
|
|
8697
10987
|
pathname: "/",
|
|
@@ -8701,51 +10991,51 @@ export default class Client extends OpenApi {
|
|
|
8701
10991
|
reqBodyType: "formData",
|
|
8702
10992
|
bodyType: "json",
|
|
8703
10993
|
});
|
|
8704
|
-
return $dara.cast<$_model.
|
|
10994
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromGroupResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromGroupResponse({}));
|
|
8705
10995
|
}
|
|
8706
10996
|
|
|
8707
10997
|
/**
|
|
8708
|
-
*
|
|
10998
|
+
* 取消被授予到组的ResourceServerScope权限
|
|
8709
10999
|
*
|
|
8710
|
-
* @param request -
|
|
8711
|
-
* @returns
|
|
11000
|
+
* @param request - RevokeResourceServerScopesFromGroupRequest
|
|
11001
|
+
* @returns RevokeResourceServerScopesFromGroupResponse
|
|
8712
11002
|
*/
|
|
8713
|
-
async
|
|
11003
|
+
async revokeResourceServerScopesFromGroup(request: $_model.RevokeResourceServerScopesFromGroupRequest): Promise<$_model.RevokeResourceServerScopesFromGroupResponse> {
|
|
8714
11004
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8715
|
-
return await this.
|
|
11005
|
+
return await this.revokeResourceServerScopesFromGroupWithOptions(request, runtime);
|
|
8716
11006
|
}
|
|
8717
11007
|
|
|
8718
11008
|
/**
|
|
8719
|
-
*
|
|
11009
|
+
* 取消被授予到组织的ResourceServerScope权限
|
|
8720
11010
|
*
|
|
8721
|
-
* @param request -
|
|
11011
|
+
* @param request - RevokeResourceServerScopesFromOrganizationalUnitRequest
|
|
8722
11012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8723
|
-
* @returns
|
|
11013
|
+
* @returns RevokeResourceServerScopesFromOrganizationalUnitResponse
|
|
8724
11014
|
*/
|
|
8725
|
-
async
|
|
11015
|
+
async revokeResourceServerScopesFromOrganizationalUnitWithOptions(request: $_model.RevokeResourceServerScopesFromOrganizationalUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromOrganizationalUnitResponse> {
|
|
8726
11016
|
request.validate();
|
|
8727
11017
|
let query = { };
|
|
8728
11018
|
if (!$dara.isNull(request.applicationId)) {
|
|
8729
11019
|
query["ApplicationId"] = request.applicationId;
|
|
8730
11020
|
}
|
|
8731
11021
|
|
|
8732
|
-
if (!$dara.isNull(request.applicationRoleId)) {
|
|
8733
|
-
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
11022
|
if (!$dara.isNull(request.instanceId)) {
|
|
8737
11023
|
query["InstanceId"] = request.instanceId;
|
|
8738
11024
|
}
|
|
8739
11025
|
|
|
8740
|
-
if (!$dara.isNull(request.
|
|
8741
|
-
query["
|
|
11026
|
+
if (!$dara.isNull(request.organizationalUnitId)) {
|
|
11027
|
+
query["OrganizationalUnitId"] = request.organizationalUnitId;
|
|
11028
|
+
}
|
|
11029
|
+
|
|
11030
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
11031
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
8742
11032
|
}
|
|
8743
11033
|
|
|
8744
11034
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8745
11035
|
query: OpenApiUtil.query(query),
|
|
8746
11036
|
});
|
|
8747
11037
|
let params = new $OpenApiUtil.Params({
|
|
8748
|
-
action: "
|
|
11038
|
+
action: "RevokeResourceServerScopesFromOrganizationalUnit",
|
|
8749
11039
|
version: "2021-12-01",
|
|
8750
11040
|
protocol: "HTTPS",
|
|
8751
11041
|
pathname: "/",
|
|
@@ -8755,51 +11045,51 @@ export default class Client extends OpenApi {
|
|
|
8755
11045
|
reqBodyType: "formData",
|
|
8756
11046
|
bodyType: "json",
|
|
8757
11047
|
});
|
|
8758
|
-
return $dara.cast<$_model.
|
|
11048
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromOrganizationalUnitResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromOrganizationalUnitResponse({}));
|
|
8759
11049
|
}
|
|
8760
11050
|
|
|
8761
11051
|
/**
|
|
8762
|
-
*
|
|
11052
|
+
* 取消被授予到组织的ResourceServerScope权限
|
|
8763
11053
|
*
|
|
8764
|
-
* @param request -
|
|
8765
|
-
* @returns
|
|
11054
|
+
* @param request - RevokeResourceServerScopesFromOrganizationalUnitRequest
|
|
11055
|
+
* @returns RevokeResourceServerScopesFromOrganizationalUnitResponse
|
|
8766
11056
|
*/
|
|
8767
|
-
async
|
|
11057
|
+
async revokeResourceServerScopesFromOrganizationalUnit(request: $_model.RevokeResourceServerScopesFromOrganizationalUnitRequest): Promise<$_model.RevokeResourceServerScopesFromOrganizationalUnitResponse> {
|
|
8768
11058
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8769
|
-
return await this.
|
|
11059
|
+
return await this.revokeResourceServerScopesFromOrganizationalUnitWithOptions(request, runtime);
|
|
8770
11060
|
}
|
|
8771
11061
|
|
|
8772
11062
|
/**
|
|
8773
|
-
*
|
|
11063
|
+
* 取消被授予用户的ResourceServerScope权限
|
|
8774
11064
|
*
|
|
8775
|
-
* @param request -
|
|
11065
|
+
* @param request - RevokeResourceServerScopesFromUserRequest
|
|
8776
11066
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8777
|
-
* @returns
|
|
11067
|
+
* @returns RevokeResourceServerScopesFromUserResponse
|
|
8778
11068
|
*/
|
|
8779
|
-
async
|
|
11069
|
+
async revokeResourceServerScopesFromUserWithOptions(request: $_model.RevokeResourceServerScopesFromUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromUserResponse> {
|
|
8780
11070
|
request.validate();
|
|
8781
11071
|
let query = { };
|
|
8782
11072
|
if (!$dara.isNull(request.applicationId)) {
|
|
8783
11073
|
query["ApplicationId"] = request.applicationId;
|
|
8784
11074
|
}
|
|
8785
11075
|
|
|
8786
|
-
if (!$dara.isNull(request.applicationRoleId)) {
|
|
8787
|
-
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
8788
|
-
}
|
|
8789
|
-
|
|
8790
11076
|
if (!$dara.isNull(request.instanceId)) {
|
|
8791
11077
|
query["InstanceId"] = request.instanceId;
|
|
8792
11078
|
}
|
|
8793
11079
|
|
|
8794
|
-
if (!$dara.isNull(request.
|
|
8795
|
-
query["
|
|
11080
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
11081
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
11082
|
+
}
|
|
11083
|
+
|
|
11084
|
+
if (!$dara.isNull(request.userId)) {
|
|
11085
|
+
query["UserId"] = request.userId;
|
|
8796
11086
|
}
|
|
8797
11087
|
|
|
8798
11088
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8799
11089
|
query: OpenApiUtil.query(query),
|
|
8800
11090
|
});
|
|
8801
11091
|
let params = new $OpenApiUtil.Params({
|
|
8802
|
-
action: "
|
|
11092
|
+
action: "RevokeResourceServerScopesFromUser",
|
|
8803
11093
|
version: "2021-12-01",
|
|
8804
11094
|
protocol: "HTTPS",
|
|
8805
11095
|
pathname: "/",
|
|
@@ -8809,18 +11099,18 @@ export default class Client extends OpenApi {
|
|
|
8809
11099
|
reqBodyType: "formData",
|
|
8810
11100
|
bodyType: "json",
|
|
8811
11101
|
});
|
|
8812
|
-
return $dara.cast<$_model.
|
|
11102
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromUserResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromUserResponse({}));
|
|
8813
11103
|
}
|
|
8814
11104
|
|
|
8815
11105
|
/**
|
|
8816
|
-
*
|
|
11106
|
+
* 取消被授予用户的ResourceServerScope权限
|
|
8817
11107
|
*
|
|
8818
|
-
* @param request -
|
|
8819
|
-
* @returns
|
|
11108
|
+
* @param request - RevokeResourceServerScopesFromUserRequest
|
|
11109
|
+
* @returns RevokeResourceServerScopesFromUserResponse
|
|
8820
11110
|
*/
|
|
8821
|
-
async
|
|
11111
|
+
async revokeResourceServerScopesFromUser(request: $_model.RevokeResourceServerScopesFromUserRequest): Promise<$_model.RevokeResourceServerScopesFromUserResponse> {
|
|
8822
11112
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8823
|
-
return await this.
|
|
11113
|
+
return await this.revokeResourceServerScopesFromUserWithOptions(request, runtime);
|
|
8824
11114
|
}
|
|
8825
11115
|
|
|
8826
11116
|
/**
|
|
@@ -9109,6 +11399,60 @@ export default class Client extends OpenApi {
|
|
|
9109
11399
|
return await this.setApplicationProvisioningUserPrimaryOrganizationalUnitWithOptions(request, runtime);
|
|
9110
11400
|
}
|
|
9111
11401
|
|
|
11402
|
+
/**
|
|
11403
|
+
* 设置ResourceServer的Identifier
|
|
11404
|
+
*
|
|
11405
|
+
* @param request - SetApplicationResourceServerIdentifierRequest
|
|
11406
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11407
|
+
* @returns SetApplicationResourceServerIdentifierResponse
|
|
11408
|
+
*/
|
|
11409
|
+
async setApplicationResourceServerIdentifierWithOptions(request: $_model.SetApplicationResourceServerIdentifierRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetApplicationResourceServerIdentifierResponse> {
|
|
11410
|
+
request.validate();
|
|
11411
|
+
let query = { };
|
|
11412
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
11413
|
+
query["ApplicationId"] = request.applicationId;
|
|
11414
|
+
}
|
|
11415
|
+
|
|
11416
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
11417
|
+
query["ClientToken"] = request.clientToken;
|
|
11418
|
+
}
|
|
11419
|
+
|
|
11420
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
11421
|
+
query["InstanceId"] = request.instanceId;
|
|
11422
|
+
}
|
|
11423
|
+
|
|
11424
|
+
if (!$dara.isNull(request.resourceServerIdentifier)) {
|
|
11425
|
+
query["ResourceServerIdentifier"] = request.resourceServerIdentifier;
|
|
11426
|
+
}
|
|
11427
|
+
|
|
11428
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11429
|
+
query: OpenApiUtil.query(query),
|
|
11430
|
+
});
|
|
11431
|
+
let params = new $OpenApiUtil.Params({
|
|
11432
|
+
action: "SetApplicationResourceServerIdentifier",
|
|
11433
|
+
version: "2021-12-01",
|
|
11434
|
+
protocol: "HTTPS",
|
|
11435
|
+
pathname: "/",
|
|
11436
|
+
method: "POST",
|
|
11437
|
+
authType: "AK",
|
|
11438
|
+
style: "RPC",
|
|
11439
|
+
reqBodyType: "formData",
|
|
11440
|
+
bodyType: "json",
|
|
11441
|
+
});
|
|
11442
|
+
return $dara.cast<$_model.SetApplicationResourceServerIdentifierResponse>(await this.callApi(params, req, runtime), new $_model.SetApplicationResourceServerIdentifierResponse({}));
|
|
11443
|
+
}
|
|
11444
|
+
|
|
11445
|
+
/**
|
|
11446
|
+
* 设置ResourceServer的Identifier
|
|
11447
|
+
*
|
|
11448
|
+
* @param request - SetApplicationResourceServerIdentifierRequest
|
|
11449
|
+
* @returns SetApplicationResourceServerIdentifierResponse
|
|
11450
|
+
*/
|
|
11451
|
+
async setApplicationResourceServerIdentifier(request: $_model.SetApplicationResourceServerIdentifierRequest): Promise<$_model.SetApplicationResourceServerIdentifierResponse> {
|
|
11452
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
11453
|
+
return await this.setApplicationResourceServerIdentifierWithOptions(request, runtime);
|
|
11454
|
+
}
|
|
11455
|
+
|
|
9112
11456
|
/**
|
|
9113
11457
|
* Specifies the single sign-on (SSO) configuration attributes of an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
9114
11458
|
*
|
|
@@ -9619,18 +11963,72 @@ export default class Client extends OpenApi {
|
|
|
9619
11963
|
reqBodyType: "formData",
|
|
9620
11964
|
bodyType: "json",
|
|
9621
11965
|
});
|
|
9622
|
-
return $dara.cast<$_model.SetPasswordInitializationConfigurationResponse>(await this.callApi(params, req, runtime), new $_model.SetPasswordInitializationConfigurationResponse({}));
|
|
11966
|
+
return $dara.cast<$_model.SetPasswordInitializationConfigurationResponse>(await this.callApi(params, req, runtime), new $_model.SetPasswordInitializationConfigurationResponse({}));
|
|
11967
|
+
}
|
|
11968
|
+
|
|
11969
|
+
/**
|
|
11970
|
+
* Sets the password initialization configurations for an Employee Identity and Access Management (EIAM) instance of Identity as a Service (IDaaS).
|
|
11971
|
+
*
|
|
11972
|
+
* @param request - SetPasswordInitializationConfigurationRequest
|
|
11973
|
+
* @returns SetPasswordInitializationConfigurationResponse
|
|
11974
|
+
*/
|
|
11975
|
+
async setPasswordInitializationConfiguration(request: $_model.SetPasswordInitializationConfigurationRequest): Promise<$_model.SetPasswordInitializationConfigurationResponse> {
|
|
11976
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
11977
|
+
return await this.setPasswordInitializationConfigurationWithOptions(request, runtime);
|
|
11978
|
+
}
|
|
11979
|
+
|
|
11980
|
+
/**
|
|
11981
|
+
* 设置指定的应用ClientPublicKey优先启用状态
|
|
11982
|
+
*
|
|
11983
|
+
* @param request - SetPrimaryClientPublicKeyRequest
|
|
11984
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11985
|
+
* @returns SetPrimaryClientPublicKeyResponse
|
|
11986
|
+
*/
|
|
11987
|
+
async setPrimaryClientPublicKeyWithOptions(request: $_model.SetPrimaryClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetPrimaryClientPublicKeyResponse> {
|
|
11988
|
+
request.validate();
|
|
11989
|
+
let query = { };
|
|
11990
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
11991
|
+
query["ApplicationId"] = request.applicationId;
|
|
11992
|
+
}
|
|
11993
|
+
|
|
11994
|
+
if (!$dara.isNull(request.clientPublicKeyId)) {
|
|
11995
|
+
query["ClientPublicKeyId"] = request.clientPublicKeyId;
|
|
11996
|
+
}
|
|
11997
|
+
|
|
11998
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
11999
|
+
query["ClientToken"] = request.clientToken;
|
|
12000
|
+
}
|
|
12001
|
+
|
|
12002
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
12003
|
+
query["InstanceId"] = request.instanceId;
|
|
12004
|
+
}
|
|
12005
|
+
|
|
12006
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12007
|
+
query: OpenApiUtil.query(query),
|
|
12008
|
+
});
|
|
12009
|
+
let params = new $OpenApiUtil.Params({
|
|
12010
|
+
action: "SetPrimaryClientPublicKey",
|
|
12011
|
+
version: "2021-12-01",
|
|
12012
|
+
protocol: "HTTPS",
|
|
12013
|
+
pathname: "/",
|
|
12014
|
+
method: "POST",
|
|
12015
|
+
authType: "AK",
|
|
12016
|
+
style: "RPC",
|
|
12017
|
+
reqBodyType: "formData",
|
|
12018
|
+
bodyType: "json",
|
|
12019
|
+
});
|
|
12020
|
+
return $dara.cast<$_model.SetPrimaryClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.SetPrimaryClientPublicKeyResponse({}));
|
|
9623
12021
|
}
|
|
9624
12022
|
|
|
9625
12023
|
/**
|
|
9626
|
-
*
|
|
12024
|
+
* 设置指定的应用ClientPublicKey优先启用状态
|
|
9627
12025
|
*
|
|
9628
|
-
* @param request -
|
|
9629
|
-
* @returns
|
|
12026
|
+
* @param request - SetPrimaryClientPublicKeyRequest
|
|
12027
|
+
* @returns SetPrimaryClientPublicKeyResponse
|
|
9630
12028
|
*/
|
|
9631
|
-
async
|
|
12029
|
+
async setPrimaryClientPublicKey(request: $_model.SetPrimaryClientPublicKeyRequest): Promise<$_model.SetPrimaryClientPublicKeyResponse> {
|
|
9632
12030
|
let runtime = new $dara.RuntimeOptions({ });
|
|
9633
|
-
return await this.
|
|
12031
|
+
return await this.setPrimaryClientPublicKeyWithOptions(request, runtime);
|
|
9634
12032
|
}
|
|
9635
12033
|
|
|
9636
12034
|
/**
|
|
@@ -10161,6 +12559,118 @@ export default class Client extends OpenApi {
|
|
|
10161
12559
|
return await this.updateApplicationInfoWithOptions(request, runtime);
|
|
10162
12560
|
}
|
|
10163
12561
|
|
|
12562
|
+
/**
|
|
12563
|
+
* 修改应用角色
|
|
12564
|
+
*
|
|
12565
|
+
* @param request - UpdateApplicationRoleRequest
|
|
12566
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12567
|
+
* @returns UpdateApplicationRoleResponse
|
|
12568
|
+
*/
|
|
12569
|
+
async updateApplicationRoleWithOptions(request: $_model.UpdateApplicationRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationRoleResponse> {
|
|
12570
|
+
request.validate();
|
|
12571
|
+
let query = { };
|
|
12572
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
12573
|
+
query["ApplicationId"] = request.applicationId;
|
|
12574
|
+
}
|
|
12575
|
+
|
|
12576
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
12577
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
12578
|
+
}
|
|
12579
|
+
|
|
12580
|
+
if (!$dara.isNull(request.applicationRoleName)) {
|
|
12581
|
+
query["ApplicationRoleName"] = request.applicationRoleName;
|
|
12582
|
+
}
|
|
12583
|
+
|
|
12584
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
12585
|
+
query["ClientToken"] = request.clientToken;
|
|
12586
|
+
}
|
|
12587
|
+
|
|
12588
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
12589
|
+
query["InstanceId"] = request.instanceId;
|
|
12590
|
+
}
|
|
12591
|
+
|
|
12592
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12593
|
+
query: OpenApiUtil.query(query),
|
|
12594
|
+
});
|
|
12595
|
+
let params = new $OpenApiUtil.Params({
|
|
12596
|
+
action: "UpdateApplicationRole",
|
|
12597
|
+
version: "2021-12-01",
|
|
12598
|
+
protocol: "HTTPS",
|
|
12599
|
+
pathname: "/",
|
|
12600
|
+
method: "POST",
|
|
12601
|
+
authType: "AK",
|
|
12602
|
+
style: "RPC",
|
|
12603
|
+
reqBodyType: "formData",
|
|
12604
|
+
bodyType: "json",
|
|
12605
|
+
});
|
|
12606
|
+
return $dara.cast<$_model.UpdateApplicationRoleResponse>(await this.callApi(params, req, runtime), new $_model.UpdateApplicationRoleResponse({}));
|
|
12607
|
+
}
|
|
12608
|
+
|
|
12609
|
+
/**
|
|
12610
|
+
* 修改应用角色
|
|
12611
|
+
*
|
|
12612
|
+
* @param request - UpdateApplicationRoleRequest
|
|
12613
|
+
* @returns UpdateApplicationRoleResponse
|
|
12614
|
+
*/
|
|
12615
|
+
async updateApplicationRole(request: $_model.UpdateApplicationRoleRequest): Promise<$_model.UpdateApplicationRoleResponse> {
|
|
12616
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12617
|
+
return await this.updateApplicationRoleWithOptions(request, runtime);
|
|
12618
|
+
}
|
|
12619
|
+
|
|
12620
|
+
/**
|
|
12621
|
+
* 修改应用角色描述
|
|
12622
|
+
*
|
|
12623
|
+
* @param request - UpdateApplicationRoleDescriptionRequest
|
|
12624
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12625
|
+
* @returns UpdateApplicationRoleDescriptionResponse
|
|
12626
|
+
*/
|
|
12627
|
+
async updateApplicationRoleDescriptionWithOptions(request: $_model.UpdateApplicationRoleDescriptionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationRoleDescriptionResponse> {
|
|
12628
|
+
request.validate();
|
|
12629
|
+
let query = { };
|
|
12630
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
12631
|
+
query["ApplicationId"] = request.applicationId;
|
|
12632
|
+
}
|
|
12633
|
+
|
|
12634
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
12635
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
12636
|
+
}
|
|
12637
|
+
|
|
12638
|
+
if (!$dara.isNull(request.description)) {
|
|
12639
|
+
query["Description"] = request.description;
|
|
12640
|
+
}
|
|
12641
|
+
|
|
12642
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
12643
|
+
query["InstanceId"] = request.instanceId;
|
|
12644
|
+
}
|
|
12645
|
+
|
|
12646
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12647
|
+
query: OpenApiUtil.query(query),
|
|
12648
|
+
});
|
|
12649
|
+
let params = new $OpenApiUtil.Params({
|
|
12650
|
+
action: "UpdateApplicationRoleDescription",
|
|
12651
|
+
version: "2021-12-01",
|
|
12652
|
+
protocol: "HTTPS",
|
|
12653
|
+
pathname: "/",
|
|
12654
|
+
method: "POST",
|
|
12655
|
+
authType: "AK",
|
|
12656
|
+
style: "RPC",
|
|
12657
|
+
reqBodyType: "formData",
|
|
12658
|
+
bodyType: "json",
|
|
12659
|
+
});
|
|
12660
|
+
return $dara.cast<$_model.UpdateApplicationRoleDescriptionResponse>(await this.callApi(params, req, runtime), new $_model.UpdateApplicationRoleDescriptionResponse({}));
|
|
12661
|
+
}
|
|
12662
|
+
|
|
12663
|
+
/**
|
|
12664
|
+
* 修改应用角色描述
|
|
12665
|
+
*
|
|
12666
|
+
* @param request - UpdateApplicationRoleDescriptionRequest
|
|
12667
|
+
* @returns UpdateApplicationRoleDescriptionResponse
|
|
12668
|
+
*/
|
|
12669
|
+
async updateApplicationRoleDescription(request: $_model.UpdateApplicationRoleDescriptionRequest): Promise<$_model.UpdateApplicationRoleDescriptionResponse> {
|
|
12670
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12671
|
+
return await this.updateApplicationRoleDescriptionWithOptions(request, runtime);
|
|
12672
|
+
}
|
|
12673
|
+
|
|
10164
12674
|
/**
|
|
10165
12675
|
* 更新模板应用的SSO参数
|
|
10166
12676
|
*
|
|
@@ -10315,6 +12825,172 @@ export default class Client extends OpenApi {
|
|
|
10315
12825
|
return await this.updateBrandWithOptions(request, runtime);
|
|
10316
12826
|
}
|
|
10317
12827
|
|
|
12828
|
+
/**
|
|
12829
|
+
* 更新云账号
|
|
12830
|
+
*
|
|
12831
|
+
* @param request - UpdateCloudAccountRequest
|
|
12832
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12833
|
+
* @returns UpdateCloudAccountResponse
|
|
12834
|
+
*/
|
|
12835
|
+
async updateCloudAccountWithOptions(request: $_model.UpdateCloudAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCloudAccountResponse> {
|
|
12836
|
+
request.validate();
|
|
12837
|
+
let query = { };
|
|
12838
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
12839
|
+
query["ClientToken"] = request.clientToken;
|
|
12840
|
+
}
|
|
12841
|
+
|
|
12842
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
12843
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
12844
|
+
}
|
|
12845
|
+
|
|
12846
|
+
if (!$dara.isNull(request.cloudAccountName)) {
|
|
12847
|
+
query["CloudAccountName"] = request.cloudAccountName;
|
|
12848
|
+
}
|
|
12849
|
+
|
|
12850
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
12851
|
+
query["InstanceId"] = request.instanceId;
|
|
12852
|
+
}
|
|
12853
|
+
|
|
12854
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12855
|
+
query: OpenApiUtil.query(query),
|
|
12856
|
+
});
|
|
12857
|
+
let params = new $OpenApiUtil.Params({
|
|
12858
|
+
action: "UpdateCloudAccount",
|
|
12859
|
+
version: "2021-12-01",
|
|
12860
|
+
protocol: "HTTPS",
|
|
12861
|
+
pathname: "/",
|
|
12862
|
+
method: "POST",
|
|
12863
|
+
authType: "AK",
|
|
12864
|
+
style: "RPC",
|
|
12865
|
+
reqBodyType: "formData",
|
|
12866
|
+
bodyType: "json",
|
|
12867
|
+
});
|
|
12868
|
+
return $dara.cast<$_model.UpdateCloudAccountResponse>(await this.callApi(params, req, runtime), new $_model.UpdateCloudAccountResponse({}));
|
|
12869
|
+
}
|
|
12870
|
+
|
|
12871
|
+
/**
|
|
12872
|
+
* 更新云账号
|
|
12873
|
+
*
|
|
12874
|
+
* @param request - UpdateCloudAccountRequest
|
|
12875
|
+
* @returns UpdateCloudAccountResponse
|
|
12876
|
+
*/
|
|
12877
|
+
async updateCloudAccount(request: $_model.UpdateCloudAccountRequest): Promise<$_model.UpdateCloudAccountResponse> {
|
|
12878
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12879
|
+
return await this.updateCloudAccountWithOptions(request, runtime);
|
|
12880
|
+
}
|
|
12881
|
+
|
|
12882
|
+
/**
|
|
12883
|
+
* 更新云账号描述
|
|
12884
|
+
*
|
|
12885
|
+
* @param request - UpdateCloudAccountDescriptionRequest
|
|
12886
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12887
|
+
* @returns UpdateCloudAccountDescriptionResponse
|
|
12888
|
+
*/
|
|
12889
|
+
async updateCloudAccountDescriptionWithOptions(request: $_model.UpdateCloudAccountDescriptionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCloudAccountDescriptionResponse> {
|
|
12890
|
+
request.validate();
|
|
12891
|
+
let query = { };
|
|
12892
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
12893
|
+
query["ClientToken"] = request.clientToken;
|
|
12894
|
+
}
|
|
12895
|
+
|
|
12896
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
12897
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
12898
|
+
}
|
|
12899
|
+
|
|
12900
|
+
if (!$dara.isNull(request.description)) {
|
|
12901
|
+
query["Description"] = request.description;
|
|
12902
|
+
}
|
|
12903
|
+
|
|
12904
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
12905
|
+
query["InstanceId"] = request.instanceId;
|
|
12906
|
+
}
|
|
12907
|
+
|
|
12908
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12909
|
+
query: OpenApiUtil.query(query),
|
|
12910
|
+
});
|
|
12911
|
+
let params = new $OpenApiUtil.Params({
|
|
12912
|
+
action: "UpdateCloudAccountDescription",
|
|
12913
|
+
version: "2021-12-01",
|
|
12914
|
+
protocol: "HTTPS",
|
|
12915
|
+
pathname: "/",
|
|
12916
|
+
method: "POST",
|
|
12917
|
+
authType: "AK",
|
|
12918
|
+
style: "RPC",
|
|
12919
|
+
reqBodyType: "formData",
|
|
12920
|
+
bodyType: "json",
|
|
12921
|
+
});
|
|
12922
|
+
return $dara.cast<$_model.UpdateCloudAccountDescriptionResponse>(await this.callApi(params, req, runtime), new $_model.UpdateCloudAccountDescriptionResponse({}));
|
|
12923
|
+
}
|
|
12924
|
+
|
|
12925
|
+
/**
|
|
12926
|
+
* 更新云账号描述
|
|
12927
|
+
*
|
|
12928
|
+
* @param request - UpdateCloudAccountDescriptionRequest
|
|
12929
|
+
* @returns UpdateCloudAccountDescriptionResponse
|
|
12930
|
+
*/
|
|
12931
|
+
async updateCloudAccountDescription(request: $_model.UpdateCloudAccountDescriptionRequest): Promise<$_model.UpdateCloudAccountDescriptionResponse> {
|
|
12932
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12933
|
+
return await this.updateCloudAccountDescriptionWithOptions(request, runtime);
|
|
12934
|
+
}
|
|
12935
|
+
|
|
12936
|
+
/**
|
|
12937
|
+
* 更新云角色描述
|
|
12938
|
+
*
|
|
12939
|
+
* @param request - UpdateCloudAccountRoleDescriptionRequest
|
|
12940
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12941
|
+
* @returns UpdateCloudAccountRoleDescriptionResponse
|
|
12942
|
+
*/
|
|
12943
|
+
async updateCloudAccountRoleDescriptionWithOptions(request: $_model.UpdateCloudAccountRoleDescriptionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCloudAccountRoleDescriptionResponse> {
|
|
12944
|
+
request.validate();
|
|
12945
|
+
let query = { };
|
|
12946
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
12947
|
+
query["ClientToken"] = request.clientToken;
|
|
12948
|
+
}
|
|
12949
|
+
|
|
12950
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
12951
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
12952
|
+
}
|
|
12953
|
+
|
|
12954
|
+
if (!$dara.isNull(request.cloudAccountRoleId)) {
|
|
12955
|
+
query["CloudAccountRoleId"] = request.cloudAccountRoleId;
|
|
12956
|
+
}
|
|
12957
|
+
|
|
12958
|
+
if (!$dara.isNull(request.description)) {
|
|
12959
|
+
query["Description"] = request.description;
|
|
12960
|
+
}
|
|
12961
|
+
|
|
12962
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
12963
|
+
query["InstanceId"] = request.instanceId;
|
|
12964
|
+
}
|
|
12965
|
+
|
|
12966
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12967
|
+
query: OpenApiUtil.query(query),
|
|
12968
|
+
});
|
|
12969
|
+
let params = new $OpenApiUtil.Params({
|
|
12970
|
+
action: "UpdateCloudAccountRoleDescription",
|
|
12971
|
+
version: "2021-12-01",
|
|
12972
|
+
protocol: "HTTPS",
|
|
12973
|
+
pathname: "/",
|
|
12974
|
+
method: "POST",
|
|
12975
|
+
authType: "AK",
|
|
12976
|
+
style: "RPC",
|
|
12977
|
+
reqBodyType: "formData",
|
|
12978
|
+
bodyType: "json",
|
|
12979
|
+
});
|
|
12980
|
+
return $dara.cast<$_model.UpdateCloudAccountRoleDescriptionResponse>(await this.callApi(params, req, runtime), new $_model.UpdateCloudAccountRoleDescriptionResponse({}));
|
|
12981
|
+
}
|
|
12982
|
+
|
|
12983
|
+
/**
|
|
12984
|
+
* 更新云角色描述
|
|
12985
|
+
*
|
|
12986
|
+
* @param request - UpdateCloudAccountRoleDescriptionRequest
|
|
12987
|
+
* @returns UpdateCloudAccountRoleDescriptionResponse
|
|
12988
|
+
*/
|
|
12989
|
+
async updateCloudAccountRoleDescription(request: $_model.UpdateCloudAccountRoleDescriptionRequest): Promise<$_model.UpdateCloudAccountRoleDescriptionResponse> {
|
|
12990
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12991
|
+
return await this.updateCloudAccountRoleDescriptionWithOptions(request, runtime);
|
|
12992
|
+
}
|
|
12993
|
+
|
|
10318
12994
|
/**
|
|
10319
12995
|
* Update Conditional Access Policy
|
|
10320
12996
|
*
|
|
@@ -11281,6 +13957,60 @@ export default class Client extends OpenApi {
|
|
|
11281
13957
|
return await this.updateOrganizationalUnitParentIdWithOptions(request, runtime);
|
|
11282
13958
|
}
|
|
11283
13959
|
|
|
13960
|
+
/**
|
|
13961
|
+
* 更新指定ResourceServer下的Scope
|
|
13962
|
+
*
|
|
13963
|
+
* @param request - UpdateResourceServerScopeRequest
|
|
13964
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13965
|
+
* @returns UpdateResourceServerScopeResponse
|
|
13966
|
+
*/
|
|
13967
|
+
async updateResourceServerScopeWithOptions(request: $_model.UpdateResourceServerScopeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateResourceServerScopeResponse> {
|
|
13968
|
+
request.validate();
|
|
13969
|
+
let query = { };
|
|
13970
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
13971
|
+
query["ApplicationId"] = request.applicationId;
|
|
13972
|
+
}
|
|
13973
|
+
|
|
13974
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
13975
|
+
query["InstanceId"] = request.instanceId;
|
|
13976
|
+
}
|
|
13977
|
+
|
|
13978
|
+
if (!$dara.isNull(request.resourceServerScopeId)) {
|
|
13979
|
+
query["ResourceServerScopeId"] = request.resourceServerScopeId;
|
|
13980
|
+
}
|
|
13981
|
+
|
|
13982
|
+
if (!$dara.isNull(request.resourceServerScopeName)) {
|
|
13983
|
+
query["ResourceServerScopeName"] = request.resourceServerScopeName;
|
|
13984
|
+
}
|
|
13985
|
+
|
|
13986
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
13987
|
+
query: OpenApiUtil.query(query),
|
|
13988
|
+
});
|
|
13989
|
+
let params = new $OpenApiUtil.Params({
|
|
13990
|
+
action: "UpdateResourceServerScope",
|
|
13991
|
+
version: "2021-12-01",
|
|
13992
|
+
protocol: "HTTPS",
|
|
13993
|
+
pathname: "/",
|
|
13994
|
+
method: "POST",
|
|
13995
|
+
authType: "AK",
|
|
13996
|
+
style: "RPC",
|
|
13997
|
+
reqBodyType: "formData",
|
|
13998
|
+
bodyType: "json",
|
|
13999
|
+
});
|
|
14000
|
+
return $dara.cast<$_model.UpdateResourceServerScopeResponse>(await this.callApi(params, req, runtime), new $_model.UpdateResourceServerScopeResponse({}));
|
|
14001
|
+
}
|
|
14002
|
+
|
|
14003
|
+
/**
|
|
14004
|
+
* 更新指定ResourceServer下的Scope
|
|
14005
|
+
*
|
|
14006
|
+
* @param request - UpdateResourceServerScopeRequest
|
|
14007
|
+
* @returns UpdateResourceServerScopeResponse
|
|
14008
|
+
*/
|
|
14009
|
+
async updateResourceServerScope(request: $_model.UpdateResourceServerScopeRequest): Promise<$_model.UpdateResourceServerScopeResponse> {
|
|
14010
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
14011
|
+
return await this.updateResourceServerScopeWithOptions(request, runtime);
|
|
14012
|
+
}
|
|
14013
|
+
|
|
11284
14014
|
/**
|
|
11285
14015
|
* Updates the basic information about an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS).
|
|
11286
14016
|
*
|