@alicloud/eiam20211201 2.8.1 → 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 +2517 -60
- package/dist/client.js.map +1 -1
- package/dist/models/AuthorizeApplicationToGroupsRequest.d.ts +8 -0
- package/dist/models/AuthorizeApplicationToGroupsRequest.js +2 -0
- package/dist/models/AuthorizeApplicationToGroupsRequest.js.map +1 -1
- package/dist/models/AuthorizeApplicationToOrganizationalUnitsRequest.d.ts +8 -0
- package/dist/models/AuthorizeApplicationToOrganizationalUnitsRequest.js +2 -0
- package/dist/models/AuthorizeApplicationToOrganizationalUnitsRequest.js.map +1 -1
- package/dist/models/AuthorizeApplicationToUsersRequest.d.ts +8 -0
- package/dist/models/AuthorizeApplicationToUsersRequest.js +2 -0
- package/dist/models/AuthorizeApplicationToUsersRequest.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/ListApplicationsForGroupResponseBody.d.ts +25 -0
- package/dist/models/ListApplicationsForGroupResponseBody.js +25 -1
- package/dist/models/ListApplicationsForGroupResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsForOrganizationalUnitResponseBody.d.ts +25 -0
- package/dist/models/ListApplicationsForOrganizationalUnitResponseBody.js +25 -1
- package/dist/models/ListApplicationsForOrganizationalUnitResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsForUserResponseBody.d.ts +41 -0
- package/dist/models/ListApplicationsForUserResponseBody.js +29 -1
- package/dist/models/ListApplicationsForUserResponseBody.js.map +1 -1
- 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/ListGroupsForApplicationRequest.d.ts +8 -0
- package/dist/models/ListGroupsForApplicationRequest.js +2 -0
- package/dist/models/ListGroupsForApplicationRequest.js.map +1 -1
- package/dist/models/ListGroupsForApplicationResponseBody.d.ts +25 -0
- package/dist/models/ListGroupsForApplicationResponseBody.js +25 -1
- package/dist/models/ListGroupsForApplicationResponseBody.js.map +1 -1
- 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/ListOrganizationalUnitsForApplicationRequest.d.ts +8 -0
- package/dist/models/ListOrganizationalUnitsForApplicationRequest.js +2 -0
- package/dist/models/ListOrganizationalUnitsForApplicationRequest.js.map +1 -1
- package/dist/models/ListOrganizationalUnitsForApplicationResponseBody.d.ts +25 -0
- package/dist/models/ListOrganizationalUnitsForApplicationResponseBody.js +25 -1
- package/dist/models/ListOrganizationalUnitsForApplicationResponseBody.js.map +1 -1
- 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/ListUsersForApplicationRequest.d.ts +8 -0
- package/dist/models/ListUsersForApplicationRequest.js +2 -0
- package/dist/models/ListUsersForApplicationRequest.js.map +1 -1
- package/dist/models/ListUsersForApplicationResponseBody.d.ts +25 -0
- package/dist/models/ListUsersForApplicationResponseBody.js +25 -1
- package/dist/models/ListUsersForApplicationResponseBody.js.map +1 -1
- 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/RevokeApplicationFromGroupsRequest.d.ts +8 -0
- package/dist/models/RevokeApplicationFromGroupsRequest.js +2 -0
- package/dist/models/RevokeApplicationFromGroupsRequest.js.map +1 -1
- package/dist/models/RevokeApplicationFromOrganizationalUnitsRequest.d.ts +8 -0
- package/dist/models/RevokeApplicationFromOrganizationalUnitsRequest.js +2 -0
- package/dist/models/RevokeApplicationFromOrganizationalUnitsRequest.js.map +1 -1
- package/dist/models/RevokeApplicationFromUsersRequest.d.ts +8 -0
- package/dist/models/RevokeApplicationFromUsersRequest.js +2 -0
- package/dist/models/RevokeApplicationFromUsersRequest.js.map +1 -1
- 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 +192 -0
- package/dist/models/model.js +425 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3070 -304
- package/src/models/AuthorizeApplicationToGroupsRequest.ts +10 -0
- package/src/models/AuthorizeApplicationToOrganizationalUnitsRequest.ts +10 -0
- package/src/models/AuthorizeApplicationToUsersRequest.ts +10 -0
- 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/ListApplicationsForGroupResponseBody.ts +40 -0
- package/src/models/ListApplicationsForOrganizationalUnitResponseBody.ts +40 -0
- package/src/models/ListApplicationsForUserResponseBody.ts +60 -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/ListGroupsForApplicationRequest.ts +10 -0
- package/src/models/ListGroupsForApplicationResponseBody.ts +40 -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/ListOrganizationalUnitsForApplicationRequest.ts +10 -0
- package/src/models/ListOrganizationalUnitsForApplicationResponseBody.ts +40 -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/ListUsersForApplicationRequest.ts +10 -0
- package/src/models/ListUsersForApplicationResponseBody.ts +40 -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/RevokeApplicationFromGroupsRequest.ts +10 -0
- package/src/models/RevokeApplicationFromOrganizationalUnitsRequest.ts +10 -0
- package/src/models/RevokeApplicationFromUsersRequest.ts +10 -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 +192 -0
package/src/client.ts
CHANGED
|
@@ -247,6 +247,10 @@ export default class Client extends OpenApi {
|
|
|
247
247
|
query["ApplicationId"] = request.applicationId;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
251
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
252
|
+
}
|
|
253
|
+
|
|
250
254
|
if (!$dara.isNull(request.groupIds)) {
|
|
251
255
|
query["GroupIds"] = request.groupIds;
|
|
252
256
|
}
|
|
@@ -297,6 +301,10 @@ export default class Client extends OpenApi {
|
|
|
297
301
|
query["ApplicationId"] = request.applicationId;
|
|
298
302
|
}
|
|
299
303
|
|
|
304
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
305
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
306
|
+
}
|
|
307
|
+
|
|
300
308
|
if (!$dara.isNull(request.instanceId)) {
|
|
301
309
|
query["InstanceId"] = request.instanceId;
|
|
302
310
|
}
|
|
@@ -347,6 +355,10 @@ export default class Client extends OpenApi {
|
|
|
347
355
|
query["ApplicationId"] = request.applicationId;
|
|
348
356
|
}
|
|
349
357
|
|
|
358
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
359
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
360
|
+
}
|
|
361
|
+
|
|
350
362
|
if (!$dara.isNull(request.instanceId)) {
|
|
351
363
|
query["InstanceId"] = request.instanceId;
|
|
352
364
|
}
|
|
@@ -383,6 +395,284 @@ export default class Client extends OpenApi {
|
|
|
383
395
|
return await this.authorizeApplicationToUsersWithOptions(request, runtime);
|
|
384
396
|
}
|
|
385
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
|
+
|
|
386
676
|
/**
|
|
387
677
|
* 绑定三方登录账户
|
|
388
678
|
*
|
|
@@ -629,6 +919,64 @@ export default class Client extends OpenApi {
|
|
|
629
919
|
return await this.createApplicationFederatedCredentialWithOptions(request, runtime);
|
|
630
920
|
}
|
|
631
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
|
+
|
|
632
980
|
/**
|
|
633
981
|
* 创建应用Token
|
|
634
982
|
*
|
|
@@ -729,6 +1077,192 @@ export default class Client extends OpenApi {
|
|
|
729
1077
|
return await this.createBrandWithOptions(request, runtime);
|
|
730
1078
|
}
|
|
731
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* 创建应用ClientPublicKey
|
|
1082
|
+
*
|
|
1083
|
+
* @param request - CreateClientPublicKeyRequest
|
|
1084
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
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
|
+
|
|
732
1266
|
/**
|
|
733
1267
|
* Create Conditional Access Policy
|
|
734
1268
|
*
|
|
@@ -1483,6 +2017,68 @@ export default class Client extends OpenApi {
|
|
|
1483
2017
|
return await this.createOrganizationalUnitWithOptions(request, runtime);
|
|
1484
2018
|
}
|
|
1485
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
|
+
|
|
1486
2082
|
/**
|
|
1487
2083
|
* Creates an account in an Identity as a Service (IDaaS) Enterprise Identity Access Management (EIAM) instance.
|
|
1488
2084
|
*
|
|
@@ -1737,6 +2333,56 @@ export default class Client extends OpenApi {
|
|
|
1737
2333
|
return await this.deleteApplicationFederatedCredentialWithOptions(request, runtime);
|
|
1738
2334
|
}
|
|
1739
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
|
+
|
|
1740
2386
|
/**
|
|
1741
2387
|
* 删除ApplicationToken
|
|
1742
2388
|
*
|
|
@@ -1834,20 +2480,21 @@ export default class Client extends OpenApi {
|
|
|
1834
2480
|
}
|
|
1835
2481
|
|
|
1836
2482
|
/**
|
|
1837
|
-
*
|
|
1838
|
-
*
|
|
1839
|
-
* @remarks
|
|
1840
|
-
* 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
|
|
1841
2484
|
*
|
|
1842
|
-
* @param request -
|
|
2485
|
+
* @param request - DeleteClientPublicKeyRequest
|
|
1843
2486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1844
|
-
* @returns
|
|
2487
|
+
* @returns DeleteClientPublicKeyResponse
|
|
1845
2488
|
*/
|
|
1846
|
-
async
|
|
2489
|
+
async deleteClientPublicKeyWithOptions(request: $_model.DeleteClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClientPublicKeyResponse> {
|
|
1847
2490
|
request.validate();
|
|
1848
2491
|
let query = { };
|
|
1849
|
-
if (!$dara.isNull(request.
|
|
1850
|
-
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;
|
|
1851
2498
|
}
|
|
1852
2499
|
|
|
1853
2500
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -1858,7 +2505,7 @@ export default class Client extends OpenApi {
|
|
|
1858
2505
|
query: OpenApiUtil.query(query),
|
|
1859
2506
|
});
|
|
1860
2507
|
let params = new $OpenApiUtil.Params({
|
|
1861
|
-
action: "
|
|
2508
|
+
action: "DeleteClientPublicKey",
|
|
1862
2509
|
version: "2021-12-01",
|
|
1863
2510
|
protocol: "HTTPS",
|
|
1864
2511
|
pathname: "/",
|
|
@@ -1868,35 +2515,32 @@ export default class Client extends OpenApi {
|
|
|
1868
2515
|
reqBodyType: "formData",
|
|
1869
2516
|
bodyType: "json",
|
|
1870
2517
|
});
|
|
1871
|
-
return $dara.cast<$_model.
|
|
2518
|
+
return $dara.cast<$_model.DeleteClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.DeleteClientPublicKeyResponse({}));
|
|
1872
2519
|
}
|
|
1873
2520
|
|
|
1874
2521
|
/**
|
|
1875
|
-
*
|
|
1876
|
-
*
|
|
1877
|
-
* @remarks
|
|
1878
|
-
* 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
|
|
1879
2523
|
*
|
|
1880
|
-
* @param request -
|
|
1881
|
-
* @returns
|
|
2524
|
+
* @param request - DeleteClientPublicKeyRequest
|
|
2525
|
+
* @returns DeleteClientPublicKeyResponse
|
|
1882
2526
|
*/
|
|
1883
|
-
async
|
|
2527
|
+
async deleteClientPublicKey(request: $_model.DeleteClientPublicKeyRequest): Promise<$_model.DeleteClientPublicKeyResponse> {
|
|
1884
2528
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1885
|
-
return await this.
|
|
2529
|
+
return await this.deleteClientPublicKeyWithOptions(request, runtime);
|
|
1886
2530
|
}
|
|
1887
2531
|
|
|
1888
2532
|
/**
|
|
1889
|
-
*
|
|
2533
|
+
* 删除云账号
|
|
1890
2534
|
*
|
|
1891
|
-
* @param request -
|
|
2535
|
+
* @param request - DeleteCloudAccountRequest
|
|
1892
2536
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1893
|
-
* @returns
|
|
2537
|
+
* @returns DeleteCloudAccountResponse
|
|
1894
2538
|
*/
|
|
1895
|
-
async
|
|
2539
|
+
async deleteCloudAccountWithOptions(request: $_model.DeleteCloudAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCloudAccountResponse> {
|
|
1896
2540
|
request.validate();
|
|
1897
2541
|
let query = { };
|
|
1898
|
-
if (!$dara.isNull(request.
|
|
1899
|
-
query["
|
|
2542
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
2543
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
1900
2544
|
}
|
|
1901
2545
|
|
|
1902
2546
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -1907,7 +2551,7 @@ export default class Client extends OpenApi {
|
|
|
1907
2551
|
query: OpenApiUtil.query(query),
|
|
1908
2552
|
});
|
|
1909
2553
|
let params = new $OpenApiUtil.Params({
|
|
1910
|
-
action: "
|
|
2554
|
+
action: "DeleteCloudAccount",
|
|
1911
2555
|
version: "2021-12-01",
|
|
1912
2556
|
protocol: "HTTPS",
|
|
1913
2557
|
pathname: "/",
|
|
@@ -1917,26 +2561,174 @@ export default class Client extends OpenApi {
|
|
|
1917
2561
|
reqBodyType: "formData",
|
|
1918
2562
|
bodyType: "json",
|
|
1919
2563
|
});
|
|
1920
|
-
return $dara.cast<$_model.
|
|
2564
|
+
return $dara.cast<$_model.DeleteCloudAccountResponse>(await this.callApi(params, req, runtime), new $_model.DeleteCloudAccountResponse({}));
|
|
1921
2565
|
}
|
|
1922
2566
|
|
|
1923
2567
|
/**
|
|
1924
|
-
*
|
|
2568
|
+
* 删除云账号
|
|
1925
2569
|
*
|
|
1926
|
-
* @param request -
|
|
1927
|
-
* @returns
|
|
2570
|
+
* @param request - DeleteCloudAccountRequest
|
|
2571
|
+
* @returns DeleteCloudAccountResponse
|
|
1928
2572
|
*/
|
|
1929
|
-
async
|
|
2573
|
+
async deleteCloudAccount(request: $_model.DeleteCloudAccountRequest): Promise<$_model.DeleteCloudAccountResponse> {
|
|
1930
2574
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1931
|
-
return await this.
|
|
2575
|
+
return await this.deleteCloudAccountWithOptions(request, runtime);
|
|
1932
2576
|
}
|
|
1933
2577
|
|
|
1934
2578
|
/**
|
|
1935
|
-
*
|
|
2579
|
+
* 删除云角色
|
|
1936
2580
|
*
|
|
1937
|
-
* @param request -
|
|
2581
|
+
* @param request - DeleteCloudAccountRoleRequest
|
|
1938
2582
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1939
|
-
* @returns
|
|
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({}));
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* 删除自定义条款
|
|
2717
|
+
*
|
|
2718
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
2719
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
2720
|
+
*/
|
|
2721
|
+
async deleteCustomPrivacyPolicy(request: $_model.DeleteCustomPrivacyPolicyRequest): Promise<$_model.DeleteCustomPrivacyPolicyResponse> {
|
|
2722
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2723
|
+
return await this.deleteCustomPrivacyPolicyWithOptions(request, runtime);
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* Deletes a custom domain name of an Employee Identity and Access Management (EIAM) instance. You cannot delete the initial domain name and default domain name of the instance.
|
|
2728
|
+
*
|
|
2729
|
+
* @param request - DeleteDomainRequest
|
|
2730
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2731
|
+
* @returns DeleteDomainResponse
|
|
1940
2732
|
*/
|
|
1941
2733
|
async deleteDomainWithOptions(request: $_model.DeleteDomainRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDomainResponse> {
|
|
1942
2734
|
request.validate();
|
|
@@ -2397,6 +3189,56 @@ export default class Client extends OpenApi {
|
|
|
2397
3189
|
return await this.deleteOrganizationalUnitChildrenWithOptions(request, runtime);
|
|
2398
3190
|
}
|
|
2399
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
|
+
|
|
2400
3242
|
/**
|
|
2401
3243
|
* Deletes an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS). The information related to the account is cleared.
|
|
2402
3244
|
*
|
|
@@ -2737,6 +3579,52 @@ export default class Client extends OpenApi {
|
|
|
2737
3579
|
return await this.disableApplicationFederatedCredentialWithOptions(request, runtime);
|
|
2738
3580
|
}
|
|
2739
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
|
+
|
|
2740
3628
|
/**
|
|
2741
3629
|
* Disables the account synchronization feature for an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
2742
3630
|
*
|
|
@@ -2783,6 +3671,52 @@ export default class Client extends OpenApi {
|
|
|
2783
3671
|
return await this.disableApplicationProvisioningWithOptions(request, runtime);
|
|
2784
3672
|
}
|
|
2785
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
|
+
|
|
2786
3720
|
/**
|
|
2787
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.
|
|
2788
3722
|
*
|
|
@@ -2926,24 +3860,132 @@ export default class Client extends OpenApi {
|
|
|
2926
3860
|
}
|
|
2927
3861
|
|
|
2928
3862
|
/**
|
|
2929
|
-
*
|
|
3863
|
+
* 禁用指定的应用ClientPublicKey
|
|
2930
3864
|
*
|
|
2931
|
-
* @
|
|
2932
|
-
* 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.
|
|
2933
|
-
*
|
|
2934
|
-
* @param request - DisableConditionalAccessPolicyRequest
|
|
3865
|
+
* @param request - DisableClientPublicKeyRequest
|
|
2935
3866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2936
|
-
* @returns
|
|
3867
|
+
* @returns DisableClientPublicKeyResponse
|
|
2937
3868
|
*/
|
|
2938
|
-
async
|
|
3869
|
+
async disableClientPublicKeyWithOptions(request: $_model.DisableClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableClientPublicKeyResponse> {
|
|
2939
3870
|
request.validate();
|
|
2940
3871
|
let query = { };
|
|
2941
|
-
if (!$dara.isNull(request.
|
|
2942
|
-
query["
|
|
3872
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
3873
|
+
query["ApplicationId"] = request.applicationId;
|
|
2943
3874
|
}
|
|
2944
3875
|
|
|
2945
|
-
if (!$dara.isNull(request.
|
|
2946
|
-
query["
|
|
3876
|
+
if (!$dara.isNull(request.clientPublicKeyId)) {
|
|
3877
|
+
query["ClientPublicKeyId"] = request.clientPublicKeyId;
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3881
|
+
query["ClientToken"] = request.clientToken;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3885
|
+
query["InstanceId"] = request.instanceId;
|
|
3886
|
+
}
|
|
3887
|
+
|
|
3888
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3889
|
+
query: OpenApiUtil.query(query),
|
|
3890
|
+
});
|
|
3891
|
+
let params = new $OpenApiUtil.Params({
|
|
3892
|
+
action: "DisableClientPublicKey",
|
|
3893
|
+
version: "2021-12-01",
|
|
3894
|
+
protocol: "HTTPS",
|
|
3895
|
+
pathname: "/",
|
|
3896
|
+
method: "POST",
|
|
3897
|
+
authType: "AK",
|
|
3898
|
+
style: "RPC",
|
|
3899
|
+
reqBodyType: "formData",
|
|
3900
|
+
bodyType: "json",
|
|
3901
|
+
});
|
|
3902
|
+
return $dara.cast<$_model.DisableClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.DisableClientPublicKeyResponse({}));
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
/**
|
|
3906
|
+
* 禁用指定的应用ClientPublicKey
|
|
3907
|
+
*
|
|
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;
|
|
2947
3989
|
}
|
|
2948
3990
|
|
|
2949
3991
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
@@ -3345,6 +4387,52 @@ export default class Client extends OpenApi {
|
|
|
3345
4387
|
return await this.disableInternalAuthenticationSourceWithOptions(request, runtime);
|
|
3346
4388
|
}
|
|
3347
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
|
+
|
|
3348
4436
|
/**
|
|
3349
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.
|
|
3350
4438
|
*
|
|
@@ -3583,6 +4671,52 @@ export default class Client extends OpenApi {
|
|
|
3583
4671
|
return await this.enableApplicationFederatedCredentialWithOptions(request, runtime);
|
|
3584
4672
|
}
|
|
3585
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
|
+
|
|
3586
4720
|
/**
|
|
3587
4721
|
* Enables the account synchronization feature for an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
3588
4722
|
*
|
|
@@ -3629,6 +4763,52 @@ export default class Client extends OpenApi {
|
|
|
3629
4763
|
return await this.enableApplicationProvisioningWithOptions(request, runtime);
|
|
3630
4764
|
}
|
|
3631
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
|
+
|
|
3632
4812
|
/**
|
|
3633
4813
|
* Enables the single sign-on (SSO) feature for an Employee Identity and Access Management (EIAM) application.
|
|
3634
4814
|
*
|
|
@@ -3772,20 +4952,25 @@ export default class Client extends OpenApi {
|
|
|
3772
4952
|
}
|
|
3773
4953
|
|
|
3774
4954
|
/**
|
|
3775
|
-
*
|
|
3776
|
-
*
|
|
3777
|
-
* @remarks
|
|
3778
|
-
* 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
|
|
3779
4956
|
*
|
|
3780
|
-
* @param request -
|
|
4957
|
+
* @param request - EnableClientPublicKeyRequest
|
|
3781
4958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3782
|
-
* @returns
|
|
4959
|
+
* @returns EnableClientPublicKeyResponse
|
|
3783
4960
|
*/
|
|
3784
|
-
async
|
|
4961
|
+
async enableClientPublicKeyWithOptions(request: $_model.EnableClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableClientPublicKeyResponse> {
|
|
3785
4962
|
request.validate();
|
|
3786
4963
|
let query = { };
|
|
3787
|
-
if (!$dara.isNull(request.
|
|
3788
|
-
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;
|
|
3789
4974
|
}
|
|
3790
4975
|
|
|
3791
4976
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -3796,7 +4981,7 @@ export default class Client extends OpenApi {
|
|
|
3796
4981
|
query: OpenApiUtil.query(query),
|
|
3797
4982
|
});
|
|
3798
4983
|
let params = new $OpenApiUtil.Params({
|
|
3799
|
-
action: "
|
|
4984
|
+
action: "EnableClientPublicKey",
|
|
3800
4985
|
version: "2021-12-01",
|
|
3801
4986
|
protocol: "HTTPS",
|
|
3802
4987
|
pathname: "/",
|
|
@@ -3806,35 +4991,40 @@ export default class Client extends OpenApi {
|
|
|
3806
4991
|
reqBodyType: "formData",
|
|
3807
4992
|
bodyType: "json",
|
|
3808
4993
|
});
|
|
3809
|
-
return $dara.cast<$_model.
|
|
4994
|
+
return $dara.cast<$_model.EnableClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.EnableClientPublicKeyResponse({}));
|
|
3810
4995
|
}
|
|
3811
4996
|
|
|
3812
4997
|
/**
|
|
3813
|
-
*
|
|
3814
|
-
*
|
|
3815
|
-
* @remarks
|
|
3816
|
-
* 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
|
|
3817
4999
|
*
|
|
3818
|
-
* @param request -
|
|
3819
|
-
* @returns
|
|
5000
|
+
* @param request - EnableClientPublicKeyRequest
|
|
5001
|
+
* @returns EnableClientPublicKeyResponse
|
|
3820
5002
|
*/
|
|
3821
|
-
async
|
|
5003
|
+
async enableClientPublicKey(request: $_model.EnableClientPublicKeyRequest): Promise<$_model.EnableClientPublicKeyResponse> {
|
|
3822
5004
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3823
|
-
return await this.
|
|
5005
|
+
return await this.enableClientPublicKeyWithOptions(request, runtime);
|
|
3824
5006
|
}
|
|
3825
5007
|
|
|
3826
5008
|
/**
|
|
3827
|
-
*
|
|
5009
|
+
* 启用云角色
|
|
3828
5010
|
*
|
|
3829
|
-
* @param request -
|
|
5011
|
+
* @param request - EnableCloudAccountRoleRequest
|
|
3830
5012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3831
|
-
* @returns
|
|
5013
|
+
* @returns EnableCloudAccountRoleResponse
|
|
3832
5014
|
*/
|
|
3833
|
-
async
|
|
5015
|
+
async enableCloudAccountRoleWithOptions(request: $_model.EnableCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableCloudAccountRoleResponse> {
|
|
3834
5016
|
request.validate();
|
|
3835
5017
|
let query = { };
|
|
3836
|
-
if (!$dara.isNull(request.
|
|
3837
|
-
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;
|
|
3838
5028
|
}
|
|
3839
5029
|
|
|
3840
5030
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -3845,7 +5035,7 @@ export default class Client extends OpenApi {
|
|
|
3845
5035
|
query: OpenApiUtil.query(query),
|
|
3846
5036
|
});
|
|
3847
5037
|
let params = new $OpenApiUtil.Params({
|
|
3848
|
-
action: "
|
|
5038
|
+
action: "EnableCloudAccountRole",
|
|
3849
5039
|
version: "2021-12-01",
|
|
3850
5040
|
protocol: "HTTPS",
|
|
3851
5041
|
pathname: "/",
|
|
@@ -3855,35 +5045,133 @@ export default class Client extends OpenApi {
|
|
|
3855
5045
|
reqBodyType: "formData",
|
|
3856
5046
|
bodyType: "json",
|
|
3857
5047
|
});
|
|
3858
|
-
return $dara.cast<$_model.
|
|
5048
|
+
return $dara.cast<$_model.EnableCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.EnableCloudAccountRoleResponse({}));
|
|
3859
5049
|
}
|
|
3860
5050
|
|
|
3861
5051
|
/**
|
|
3862
|
-
*
|
|
5052
|
+
* 启用云角色
|
|
3863
5053
|
*
|
|
3864
|
-
* @param request -
|
|
3865
|
-
* @returns
|
|
5054
|
+
* @param request - EnableCloudAccountRoleRequest
|
|
5055
|
+
* @returns EnableCloudAccountRoleResponse
|
|
3866
5056
|
*/
|
|
3867
|
-
async
|
|
5057
|
+
async enableCloudAccountRole(request: $_model.EnableCloudAccountRoleRequest): Promise<$_model.EnableCloudAccountRoleResponse> {
|
|
3868
5058
|
let runtime = new $dara.RuntimeOptions({ });
|
|
3869
|
-
return await this.
|
|
5059
|
+
return await this.enableCloudAccountRoleWithOptions(request, runtime);
|
|
3870
5060
|
}
|
|
3871
5061
|
|
|
3872
5062
|
/**
|
|
3873
|
-
*
|
|
5063
|
+
* Enable Conditional Access Policy
|
|
3874
5064
|
*
|
|
3875
|
-
* @
|
|
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
|
|
3876
5069
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3877
|
-
* @returns
|
|
5070
|
+
* @returns EnableConditionalAccessPolicyResponse
|
|
3878
5071
|
*/
|
|
3879
|
-
async
|
|
5072
|
+
async enableConditionalAccessPolicyWithOptions(request: $_model.EnableConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableConditionalAccessPolicyResponse> {
|
|
3880
5073
|
request.validate();
|
|
3881
5074
|
let query = { };
|
|
3882
|
-
if (!$dara.isNull(request.
|
|
3883
|
-
query["
|
|
5075
|
+
if (!$dara.isNull(request.conditionalAccessPolicyId)) {
|
|
5076
|
+
query["ConditionalAccessPolicyId"] = request.conditionalAccessPolicyId;
|
|
3884
5077
|
}
|
|
3885
5078
|
|
|
3886
|
-
if (!$dara.isNull(request.
|
|
5079
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5080
|
+
query["InstanceId"] = request.instanceId;
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5084
|
+
query: OpenApiUtil.query(query),
|
|
5085
|
+
});
|
|
5086
|
+
let params = new $OpenApiUtil.Params({
|
|
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)) {
|
|
3887
5175
|
query["DomainProxyTokenId"] = request.domainProxyTokenId;
|
|
3888
5176
|
}
|
|
3889
5177
|
|
|
@@ -4191,6 +5479,52 @@ export default class Client extends OpenApi {
|
|
|
4191
5479
|
return await this.enableInternalAuthenticationSourceWithOptions(request, runtime);
|
|
4192
5480
|
}
|
|
4193
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
|
+
|
|
4194
5528
|
/**
|
|
4195
5529
|
* Enables an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS).
|
|
4196
5530
|
*
|
|
@@ -4659,6 +5993,56 @@ export default class Client extends OpenApi {
|
|
|
4659
5993
|
return await this.getApplicationProvisioningScopeWithOptions(request, runtime);
|
|
4660
5994
|
}
|
|
4661
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
|
+
|
|
4662
6046
|
/**
|
|
4663
6047
|
* Queries the single sign-on (SSO) configuration attributes of an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
4664
6048
|
*
|
|
@@ -4794,20 +6178,21 @@ export default class Client extends OpenApi {
|
|
|
4794
6178
|
}
|
|
4795
6179
|
|
|
4796
6180
|
/**
|
|
4797
|
-
*
|
|
4798
|
-
*
|
|
4799
|
-
* @remarks
|
|
4800
|
-
* Query Conditional Access Policy
|
|
6181
|
+
* 查询指定应用ClientPublicKey
|
|
4801
6182
|
*
|
|
4802
|
-
* @param request -
|
|
6183
|
+
* @param request - GetClientPublicKeyRequest
|
|
4803
6184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4804
|
-
* @returns
|
|
6185
|
+
* @returns GetClientPublicKeyResponse
|
|
4805
6186
|
*/
|
|
4806
|
-
async
|
|
6187
|
+
async getClientPublicKeyWithOptions(request: $_model.GetClientPublicKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetClientPublicKeyResponse> {
|
|
4807
6188
|
request.validate();
|
|
4808
6189
|
let query = { };
|
|
4809
|
-
if (!$dara.isNull(request.
|
|
4810
|
-
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;
|
|
4811
6196
|
}
|
|
4812
6197
|
|
|
4813
6198
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4818,7 +6203,7 @@ export default class Client extends OpenApi {
|
|
|
4818
6203
|
query: OpenApiUtil.query(query),
|
|
4819
6204
|
});
|
|
4820
6205
|
let params = new $OpenApiUtil.Params({
|
|
4821
|
-
action: "
|
|
6206
|
+
action: "GetClientPublicKey",
|
|
4822
6207
|
version: "2021-12-01",
|
|
4823
6208
|
protocol: "HTTPS",
|
|
4824
6209
|
pathname: "/",
|
|
@@ -4828,35 +6213,32 @@ export default class Client extends OpenApi {
|
|
|
4828
6213
|
reqBodyType: "formData",
|
|
4829
6214
|
bodyType: "json",
|
|
4830
6215
|
});
|
|
4831
|
-
return $dara.cast<$_model.
|
|
6216
|
+
return $dara.cast<$_model.GetClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.GetClientPublicKeyResponse({}));
|
|
4832
6217
|
}
|
|
4833
6218
|
|
|
4834
6219
|
/**
|
|
4835
|
-
*
|
|
6220
|
+
* 查询指定应用ClientPublicKey
|
|
4836
6221
|
*
|
|
4837
|
-
* @
|
|
4838
|
-
*
|
|
4839
|
-
*
|
|
4840
|
-
* @param request - GetConditionalAccessPolicyRequest
|
|
4841
|
-
* @returns GetConditionalAccessPolicyResponse
|
|
6222
|
+
* @param request - GetClientPublicKeyRequest
|
|
6223
|
+
* @returns GetClientPublicKeyResponse
|
|
4842
6224
|
*/
|
|
4843
|
-
async
|
|
6225
|
+
async getClientPublicKey(request: $_model.GetClientPublicKeyRequest): Promise<$_model.GetClientPublicKeyResponse> {
|
|
4844
6226
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4845
|
-
return await this.
|
|
6227
|
+
return await this.getClientPublicKeyWithOptions(request, runtime);
|
|
4846
6228
|
}
|
|
4847
6229
|
|
|
4848
6230
|
/**
|
|
4849
|
-
*
|
|
6231
|
+
* 获取云账号
|
|
4850
6232
|
*
|
|
4851
|
-
* @param request -
|
|
6233
|
+
* @param request - GetCloudAccountRequest
|
|
4852
6234
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4853
|
-
* @returns
|
|
6235
|
+
* @returns GetCloudAccountResponse
|
|
4854
6236
|
*/
|
|
4855
|
-
async
|
|
6237
|
+
async getCloudAccountWithOptions(request: $_model.GetCloudAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCloudAccountResponse> {
|
|
4856
6238
|
request.validate();
|
|
4857
6239
|
let query = { };
|
|
4858
|
-
if (!$dara.isNull(request.
|
|
4859
|
-
query["
|
|
6240
|
+
if (!$dara.isNull(request.cloudAccountId)) {
|
|
6241
|
+
query["CloudAccountId"] = request.cloudAccountId;
|
|
4860
6242
|
}
|
|
4861
6243
|
|
|
4862
6244
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4867,7 +6249,7 @@ export default class Client extends OpenApi {
|
|
|
4867
6249
|
query: OpenApiUtil.query(query),
|
|
4868
6250
|
});
|
|
4869
6251
|
let params = new $OpenApiUtil.Params({
|
|
4870
|
-
action: "
|
|
6252
|
+
action: "GetCloudAccount",
|
|
4871
6253
|
version: "2021-12-01",
|
|
4872
6254
|
protocol: "HTTPS",
|
|
4873
6255
|
pathname: "/",
|
|
@@ -4877,32 +6259,36 @@ export default class Client extends OpenApi {
|
|
|
4877
6259
|
reqBodyType: "formData",
|
|
4878
6260
|
bodyType: "json",
|
|
4879
6261
|
});
|
|
4880
|
-
return $dara.cast<$_model.
|
|
6262
|
+
return $dara.cast<$_model.GetCloudAccountResponse>(await this.callApi(params, req, runtime), new $_model.GetCloudAccountResponse({}));
|
|
4881
6263
|
}
|
|
4882
6264
|
|
|
4883
6265
|
/**
|
|
4884
|
-
*
|
|
6266
|
+
* 获取云账号
|
|
4885
6267
|
*
|
|
4886
|
-
* @param request -
|
|
4887
|
-
* @returns
|
|
6268
|
+
* @param request - GetCloudAccountRequest
|
|
6269
|
+
* @returns GetCloudAccountResponse
|
|
4888
6270
|
*/
|
|
4889
|
-
async
|
|
6271
|
+
async getCloudAccount(request: $_model.GetCloudAccountRequest): Promise<$_model.GetCloudAccountResponse> {
|
|
4890
6272
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4891
|
-
return await this.
|
|
6273
|
+
return await this.getCloudAccountWithOptions(request, runtime);
|
|
4892
6274
|
}
|
|
4893
6275
|
|
|
4894
6276
|
/**
|
|
4895
|
-
*
|
|
6277
|
+
* 获取云角色
|
|
4896
6278
|
*
|
|
4897
|
-
* @param request -
|
|
6279
|
+
* @param request - GetCloudAccountRoleRequest
|
|
4898
6280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4899
|
-
* @returns
|
|
6281
|
+
* @returns GetCloudAccountRoleResponse
|
|
4900
6282
|
*/
|
|
4901
|
-
async
|
|
6283
|
+
async getCloudAccountRoleWithOptions(request: $_model.GetCloudAccountRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCloudAccountRoleResponse> {
|
|
4902
6284
|
request.validate();
|
|
4903
6285
|
let query = { };
|
|
4904
|
-
if (!$dara.isNull(request.
|
|
4905
|
-
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;
|
|
4906
6292
|
}
|
|
4907
6293
|
|
|
4908
6294
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4913,7 +6299,7 @@ export default class Client extends OpenApi {
|
|
|
4913
6299
|
query: OpenApiUtil.query(query),
|
|
4914
6300
|
});
|
|
4915
6301
|
let params = new $OpenApiUtil.Params({
|
|
4916
|
-
action: "
|
|
6302
|
+
action: "GetCloudAccountRole",
|
|
4917
6303
|
version: "2021-12-01",
|
|
4918
6304
|
protocol: "HTTPS",
|
|
4919
6305
|
pathname: "/",
|
|
@@ -4923,32 +6309,35 @@ export default class Client extends OpenApi {
|
|
|
4923
6309
|
reqBodyType: "formData",
|
|
4924
6310
|
bodyType: "json",
|
|
4925
6311
|
});
|
|
4926
|
-
return $dara.cast<$_model.
|
|
6312
|
+
return $dara.cast<$_model.GetCloudAccountRoleResponse>(await this.callApi(params, req, runtime), new $_model.GetCloudAccountRoleResponse({}));
|
|
4927
6313
|
}
|
|
4928
6314
|
|
|
4929
6315
|
/**
|
|
4930
|
-
*
|
|
6316
|
+
* 获取云角色
|
|
4931
6317
|
*
|
|
4932
|
-
* @param request -
|
|
4933
|
-
* @returns
|
|
6318
|
+
* @param request - GetCloudAccountRoleRequest
|
|
6319
|
+
* @returns GetCloudAccountRoleResponse
|
|
4934
6320
|
*/
|
|
4935
|
-
async
|
|
6321
|
+
async getCloudAccountRole(request: $_model.GetCloudAccountRoleRequest): Promise<$_model.GetCloudAccountRoleResponse> {
|
|
4936
6322
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4937
|
-
return await this.
|
|
6323
|
+
return await this.getCloudAccountRoleWithOptions(request, runtime);
|
|
4938
6324
|
}
|
|
4939
6325
|
|
|
4940
6326
|
/**
|
|
4941
|
-
*
|
|
6327
|
+
* Get Conditional Access Policy
|
|
4942
6328
|
*
|
|
4943
|
-
* @
|
|
6329
|
+
* @remarks
|
|
6330
|
+
* Query Conditional Access Policy
|
|
6331
|
+
*
|
|
6332
|
+
* @param request - GetConditionalAccessPolicyRequest
|
|
4944
6333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4945
|
-
* @returns
|
|
6334
|
+
* @returns GetConditionalAccessPolicyResponse
|
|
4946
6335
|
*/
|
|
4947
|
-
async
|
|
6336
|
+
async getConditionalAccessPolicyWithOptions(request: $_model.GetConditionalAccessPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetConditionalAccessPolicyResponse> {
|
|
4948
6337
|
request.validate();
|
|
4949
6338
|
let query = { };
|
|
4950
|
-
if (!$dara.isNull(request.
|
|
4951
|
-
query["
|
|
6339
|
+
if (!$dara.isNull(request.conditionalAccessPolicyId)) {
|
|
6340
|
+
query["ConditionalAccessPolicyId"] = request.conditionalAccessPolicyId;
|
|
4952
6341
|
}
|
|
4953
6342
|
|
|
4954
6343
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -4959,7 +6348,7 @@ export default class Client extends OpenApi {
|
|
|
4959
6348
|
query: OpenApiUtil.query(query),
|
|
4960
6349
|
});
|
|
4961
6350
|
let params = new $OpenApiUtil.Params({
|
|
4962
|
-
action: "
|
|
6351
|
+
action: "GetConditionalAccessPolicy",
|
|
4963
6352
|
version: "2021-12-01",
|
|
4964
6353
|
protocol: "HTTPS",
|
|
4965
6354
|
pathname: "/",
|
|
@@ -4969,26 +6358,167 @@ export default class Client extends OpenApi {
|
|
|
4969
6358
|
reqBodyType: "formData",
|
|
4970
6359
|
bodyType: "json",
|
|
4971
6360
|
});
|
|
4972
|
-
return $dara.cast<$_model.
|
|
6361
|
+
return $dara.cast<$_model.GetConditionalAccessPolicyResponse>(await this.callApi(params, req, runtime), new $_model.GetConditionalAccessPolicyResponse({}));
|
|
4973
6362
|
}
|
|
4974
6363
|
|
|
4975
6364
|
/**
|
|
4976
|
-
*
|
|
6365
|
+
* Get Conditional Access Policy
|
|
4977
6366
|
*
|
|
4978
|
-
* @
|
|
4979
|
-
*
|
|
6367
|
+
* @remarks
|
|
6368
|
+
* Query Conditional Access Policy
|
|
6369
|
+
*
|
|
6370
|
+
* @param request - GetConditionalAccessPolicyRequest
|
|
6371
|
+
* @returns GetConditionalAccessPolicyResponse
|
|
4980
6372
|
*/
|
|
4981
|
-
async
|
|
6373
|
+
async getConditionalAccessPolicy(request: $_model.GetConditionalAccessPolicyRequest): Promise<$_model.GetConditionalAccessPolicyResponse> {
|
|
4982
6374
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4983
|
-
return await this.
|
|
6375
|
+
return await this.getConditionalAccessPolicyWithOptions(request, runtime);
|
|
4984
6376
|
}
|
|
4985
6377
|
|
|
4986
6378
|
/**
|
|
4987
|
-
*
|
|
6379
|
+
* 获取自定义条款
|
|
4988
6380
|
*
|
|
4989
|
-
* @param request -
|
|
6381
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
4990
6382
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4991
|
-
* @returns
|
|
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);
|
|
6514
|
+
}
|
|
6515
|
+
|
|
6516
|
+
/**
|
|
6517
|
+
* 获取联邦凭证提供方
|
|
6518
|
+
*
|
|
6519
|
+
* @param request - GetFederatedCredentialProviderRequest
|
|
6520
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6521
|
+
* @returns GetFederatedCredentialProviderResponse
|
|
4992
6522
|
*/
|
|
4993
6523
|
async getFederatedCredentialProviderWithOptions(request: $_model.GetFederatedCredentialProviderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFederatedCredentialProviderResponse> {
|
|
4994
6524
|
request.validate();
|
|
@@ -5651,6 +7181,56 @@ export default class Client extends OpenApi {
|
|
|
5651
7181
|
return await this.getPasswordInitializationConfigurationWithOptions(request, runtime);
|
|
5652
7182
|
}
|
|
5653
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
|
+
|
|
5654
7234
|
/**
|
|
5655
7235
|
* Queries the information about the root organizational unit in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
5656
7236
|
*
|
|
@@ -6055,6 +7635,64 @@ export default class Client extends OpenApi {
|
|
|
6055
7635
|
return await this.listApplicationFederatedCredentialsForProviderWithOptions(request, runtime);
|
|
6056
7636
|
}
|
|
6057
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
|
+
|
|
6058
7696
|
/**
|
|
6059
7697
|
* 应用支持账户同步类型列表
|
|
6060
7698
|
*
|
|
@@ -6584,18 +8222,19 @@ export default class Client extends OpenApi {
|
|
|
6584
8222
|
}
|
|
6585
8223
|
|
|
6586
8224
|
/**
|
|
6587
|
-
*
|
|
6588
|
-
*
|
|
6589
|
-
* @remarks
|
|
6590
|
-
* Paginated query for the list of conditional access policies
|
|
8225
|
+
* 查询指定应用所属的全部ClientPublicKey
|
|
6591
8226
|
*
|
|
6592
|
-
* @param request -
|
|
8227
|
+
* @param request - ListClientPublicKeysRequest
|
|
6593
8228
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6594
|
-
* @returns
|
|
8229
|
+
* @returns ListClientPublicKeysResponse
|
|
6595
8230
|
*/
|
|
6596
|
-
async
|
|
8231
|
+
async listClientPublicKeysWithOptions(request: $_model.ListClientPublicKeysRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListClientPublicKeysResponse> {
|
|
6597
8232
|
request.validate();
|
|
6598
8233
|
let query = { };
|
|
8234
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
8235
|
+
query["ApplicationId"] = request.applicationId;
|
|
8236
|
+
}
|
|
8237
|
+
|
|
6599
8238
|
if (!$dara.isNull(request.instanceId)) {
|
|
6600
8239
|
query["InstanceId"] = request.instanceId;
|
|
6601
8240
|
}
|
|
@@ -6608,15 +8247,11 @@ export default class Client extends OpenApi {
|
|
|
6608
8247
|
query["NextToken"] = request.nextToken;
|
|
6609
8248
|
}
|
|
6610
8249
|
|
|
6611
|
-
if (!$dara.isNull(request.previousToken)) {
|
|
6612
|
-
query["PreviousToken"] = request.previousToken;
|
|
6613
|
-
}
|
|
6614
|
-
|
|
6615
8250
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6616
8251
|
query: OpenApiUtil.query(query),
|
|
6617
8252
|
});
|
|
6618
8253
|
let params = new $OpenApiUtil.Params({
|
|
6619
|
-
action: "
|
|
8254
|
+
action: "ListClientPublicKeys",
|
|
6620
8255
|
version: "2021-12-01",
|
|
6621
8256
|
protocol: "HTTPS",
|
|
6622
8257
|
pathname: "/",
|
|
@@ -6626,43 +8261,212 @@ export default class Client extends OpenApi {
|
|
|
6626
8261
|
reqBodyType: "formData",
|
|
6627
8262
|
bodyType: "json",
|
|
6628
8263
|
});
|
|
6629
|
-
return $dara.cast<$_model.
|
|
8264
|
+
return $dara.cast<$_model.ListClientPublicKeysResponse>(await this.callApi(params, req, runtime), new $_model.ListClientPublicKeysResponse({}));
|
|
6630
8265
|
}
|
|
6631
8266
|
|
|
6632
8267
|
/**
|
|
6633
|
-
*
|
|
6634
|
-
*
|
|
6635
|
-
* @remarks
|
|
6636
|
-
* Paginated query for the list of conditional access policies
|
|
8268
|
+
* 查询指定应用所属的全部ClientPublicKey
|
|
6637
8269
|
*
|
|
6638
|
-
* @param request -
|
|
6639
|
-
* @returns
|
|
8270
|
+
* @param request - ListClientPublicKeysRequest
|
|
8271
|
+
* @returns ListClientPublicKeysResponse
|
|
6640
8272
|
*/
|
|
6641
|
-
async
|
|
8273
|
+
async listClientPublicKeys(request: $_model.ListClientPublicKeysRequest): Promise<$_model.ListClientPublicKeysResponse> {
|
|
6642
8274
|
let runtime = new $dara.RuntimeOptions({ });
|
|
6643
|
-
return await this.
|
|
8275
|
+
return await this.listClientPublicKeysWithOptions(request, runtime);
|
|
6644
8276
|
}
|
|
6645
8277
|
|
|
6646
8278
|
/**
|
|
6647
|
-
*
|
|
8279
|
+
* 查询云角色列表
|
|
6648
8280
|
*
|
|
6649
|
-
* @param request -
|
|
8281
|
+
* @param request - ListCloudAccountRolesRequest
|
|
6650
8282
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6651
|
-
* @returns
|
|
8283
|
+
* @returns ListCloudAccountRolesResponse
|
|
6652
8284
|
*/
|
|
6653
|
-
async
|
|
8285
|
+
async listCloudAccountRolesWithOptions(request: $_model.ListCloudAccountRolesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCloudAccountRolesResponse> {
|
|
6654
8286
|
request.validate();
|
|
6655
8287
|
let query = { };
|
|
6656
|
-
if (!$dara.isNull(request.
|
|
6657
|
-
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;
|
|
6658
8294
|
}
|
|
6659
8295
|
|
|
6660
8296
|
if (!$dara.isNull(request.instanceId)) {
|
|
6661
8297
|
query["InstanceId"] = request.instanceId;
|
|
6662
8298
|
}
|
|
6663
8299
|
|
|
6664
|
-
|
|
6665
|
-
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),
|
|
6666
8470
|
});
|
|
6667
8471
|
let params = new $OpenApiUtil.Params({
|
|
6668
8472
|
action: "ListConditionalAccessPoliciesForApplication",
|
|
@@ -7215,6 +9019,10 @@ export default class Client extends OpenApi {
|
|
|
7215
9019
|
query["ApplicationId"] = request.applicationId;
|
|
7216
9020
|
}
|
|
7217
9021
|
|
|
9022
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
9023
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
9024
|
+
}
|
|
9025
|
+
|
|
7218
9026
|
if (!$dara.isNull(request.groupIds)) {
|
|
7219
9027
|
query["GroupIds"] = request.groupIds;
|
|
7220
9028
|
}
|
|
@@ -7259,6 +9067,64 @@ export default class Client extends OpenApi {
|
|
|
7259
9067
|
return await this.listGroupsForApplicationWithOptions(request, runtime);
|
|
7260
9068
|
}
|
|
7261
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
|
+
|
|
7262
9128
|
/**
|
|
7263
9129
|
* Queries a list of account groups to which an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS) belongs.
|
|
7264
9130
|
*
|
|
@@ -7845,6 +9711,10 @@ export default class Client extends OpenApi {
|
|
|
7845
9711
|
query["ApplicationId"] = request.applicationId;
|
|
7846
9712
|
}
|
|
7847
9713
|
|
|
9714
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
9715
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
9716
|
+
}
|
|
9717
|
+
|
|
7848
9718
|
if (!$dara.isNull(request.instanceId)) {
|
|
7849
9719
|
query["InstanceId"] = request.instanceId;
|
|
7850
9720
|
}
|
|
@@ -7889,6 +9759,64 @@ export default class Client extends OpenApi {
|
|
|
7889
9759
|
return await this.listOrganizationalUnitsForApplicationWithOptions(request, runtime);
|
|
7890
9760
|
}
|
|
7891
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
|
+
|
|
7892
9820
|
/**
|
|
7893
9821
|
* Queries the supported Alibaba Cloud regions.
|
|
7894
9822
|
*
|
|
@@ -7922,25 +9850,83 @@ export default class Client extends OpenApi {
|
|
|
7922
9850
|
}
|
|
7923
9851
|
|
|
7924
9852
|
/**
|
|
7925
|
-
*
|
|
9853
|
+
* 查询用户的被授予ResourceServers和Scopes的权限
|
|
7926
9854
|
*
|
|
7927
|
-
* @param request -
|
|
9855
|
+
* @param request - ListResourceServersForUserRequest
|
|
7928
9856
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
7929
|
-
* @returns
|
|
9857
|
+
* @returns ListResourceServersForUserResponse
|
|
7930
9858
|
*/
|
|
7931
|
-
async
|
|
9859
|
+
async listResourceServersForUserWithOptions(request: $_model.ListResourceServersForUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListResourceServersForUserResponse> {
|
|
7932
9860
|
request.validate();
|
|
7933
9861
|
let query = { };
|
|
7934
|
-
if (!$dara.isNull(request.
|
|
7935
|
-
query["
|
|
9862
|
+
if (!$dara.isNull(request.filter)) {
|
|
9863
|
+
query["Filter"] = request.filter;
|
|
7936
9864
|
}
|
|
7937
9865
|
|
|
7938
|
-
if (!$dara.isNull(request.
|
|
7939
|
-
query["
|
|
9866
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
9867
|
+
query["InstanceId"] = request.instanceId;
|
|
7940
9868
|
}
|
|
7941
9869
|
|
|
7942
|
-
if (!$dara.isNull(request.
|
|
7943
|
-
query["
|
|
9870
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9871
|
+
query["MaxResults"] = request.maxResults;
|
|
9872
|
+
}
|
|
9873
|
+
|
|
9874
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9875
|
+
query["NextToken"] = request.nextToken;
|
|
9876
|
+
}
|
|
9877
|
+
|
|
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;
|
|
7944
9930
|
}
|
|
7945
9931
|
|
|
7946
9932
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -8181,6 +10167,10 @@ export default class Client extends OpenApi {
|
|
|
8181
10167
|
query["ApplicationId"] = request.applicationId;
|
|
8182
10168
|
}
|
|
8183
10169
|
|
|
10170
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
10171
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
10172
|
+
}
|
|
10173
|
+
|
|
8184
10174
|
if (!$dara.isNull(request.instanceId)) {
|
|
8185
10175
|
query["InstanceId"] = request.instanceId;
|
|
8186
10176
|
}
|
|
@@ -8283,6 +10273,64 @@ export default class Client extends OpenApi {
|
|
|
8283
10273
|
return await this.listUsersForGroupWithOptions(request, runtime);
|
|
8284
10274
|
}
|
|
8285
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
|
+
|
|
8286
10334
|
/**
|
|
8287
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.
|
|
8288
10336
|
*
|
|
@@ -8397,8 +10445,266 @@ export default class Client extends OpenApi {
|
|
|
8397
10445
|
query["DomainId"] = request.domainId;
|
|
8398
10446
|
}
|
|
8399
10447
|
|
|
8400
|
-
if (!$dara.isNull(request.domainProxyTokenId)) {
|
|
8401
|
-
query["DomainProxyTokenId"] = request.domainProxyTokenId;
|
|
10448
|
+
if (!$dara.isNull(request.domainProxyTokenId)) {
|
|
10449
|
+
query["DomainProxyTokenId"] = request.domainProxyTokenId;
|
|
10450
|
+
}
|
|
10451
|
+
|
|
10452
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10453
|
+
query["InstanceId"] = request.instanceId;
|
|
10454
|
+
}
|
|
10455
|
+
|
|
10456
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10457
|
+
query: OpenApiUtil.query(query),
|
|
10458
|
+
});
|
|
10459
|
+
let params = new $OpenApiUtil.Params({
|
|
10460
|
+
action: "ObtainDomainProxyToken",
|
|
10461
|
+
version: "2021-12-01",
|
|
10462
|
+
protocol: "HTTPS",
|
|
10463
|
+
pathname: "/",
|
|
10464
|
+
method: "POST",
|
|
10465
|
+
authType: "AK",
|
|
10466
|
+
style: "RPC",
|
|
10467
|
+
reqBodyType: "formData",
|
|
10468
|
+
bodyType: "json",
|
|
10469
|
+
});
|
|
10470
|
+
return $dara.cast<$_model.ObtainDomainProxyTokenResponse>(await this.callApi(params, req, runtime), new $_model.ObtainDomainProxyTokenResponse({}));
|
|
10471
|
+
}
|
|
10472
|
+
|
|
10473
|
+
/**
|
|
10474
|
+
* Queries the information about a proxy token of a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
10475
|
+
*
|
|
10476
|
+
* @param request - ObtainDomainProxyTokenRequest
|
|
10477
|
+
* @returns ObtainDomainProxyTokenResponse
|
|
10478
|
+
*/
|
|
10479
|
+
async obtainDomainProxyToken(request: $_model.ObtainDomainProxyTokenRequest): Promise<$_model.ObtainDomainProxyTokenResponse> {
|
|
10480
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10481
|
+
return await this.obtainDomainProxyTokenWithOptions(request, runtime);
|
|
10482
|
+
}
|
|
10483
|
+
|
|
10484
|
+
/**
|
|
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;
|
|
8402
10708
|
}
|
|
8403
10709
|
|
|
8404
10710
|
if (!$dara.isNull(request.instanceId)) {
|
|
@@ -8409,7 +10715,7 @@ export default class Client extends OpenApi {
|
|
|
8409
10715
|
query: OpenApiUtil.query(query),
|
|
8410
10716
|
});
|
|
8411
10717
|
let params = new $OpenApiUtil.Params({
|
|
8412
|
-
action: "
|
|
10718
|
+
action: "RevokeApplicationFromGroups",
|
|
8413
10719
|
version: "2021-12-01",
|
|
8414
10720
|
protocol: "HTTPS",
|
|
8415
10721
|
pathname: "/",
|
|
@@ -8419,51 +10725,51 @@ export default class Client extends OpenApi {
|
|
|
8419
10725
|
reqBodyType: "formData",
|
|
8420
10726
|
bodyType: "json",
|
|
8421
10727
|
});
|
|
8422
|
-
return $dara.cast<$_model.
|
|
10728
|
+
return $dara.cast<$_model.RevokeApplicationFromGroupsResponse>(await this.callApi(params, req, runtime), new $_model.RevokeApplicationFromGroupsResponse({}));
|
|
8423
10729
|
}
|
|
8424
10730
|
|
|
8425
10731
|
/**
|
|
8426
|
-
*
|
|
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).
|
|
8427
10733
|
*
|
|
8428
|
-
* @param request -
|
|
8429
|
-
* @returns
|
|
10734
|
+
* @param request - RevokeApplicationFromGroupsRequest
|
|
10735
|
+
* @returns RevokeApplicationFromGroupsResponse
|
|
8430
10736
|
*/
|
|
8431
|
-
async
|
|
10737
|
+
async revokeApplicationFromGroups(request: $_model.RevokeApplicationFromGroupsRequest): Promise<$_model.RevokeApplicationFromGroupsResponse> {
|
|
8432
10738
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8433
|
-
return await this.
|
|
10739
|
+
return await this.revokeApplicationFromGroupsWithOptions(request, runtime);
|
|
8434
10740
|
}
|
|
8435
10741
|
|
|
8436
10742
|
/**
|
|
8437
|
-
*
|
|
10743
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) organizations at a time.
|
|
8438
10744
|
*
|
|
8439
|
-
* @param request -
|
|
10745
|
+
* @param request - RevokeApplicationFromOrganizationalUnitsRequest
|
|
8440
10746
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8441
|
-
* @returns
|
|
10747
|
+
* @returns RevokeApplicationFromOrganizationalUnitsResponse
|
|
8442
10748
|
*/
|
|
8443
|
-
async
|
|
10749
|
+
async revokeApplicationFromOrganizationalUnitsWithOptions(request: $_model.RevokeApplicationFromOrganizationalUnitsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeApplicationFromOrganizationalUnitsResponse> {
|
|
8444
10750
|
request.validate();
|
|
8445
10751
|
let query = { };
|
|
8446
|
-
if (!$dara.isNull(request.applicationAccountId)) {
|
|
8447
|
-
query["ApplicationAccountId"] = request.applicationAccountId;
|
|
8448
|
-
}
|
|
8449
|
-
|
|
8450
10752
|
if (!$dara.isNull(request.applicationId)) {
|
|
8451
10753
|
query["ApplicationId"] = request.applicationId;
|
|
8452
10754
|
}
|
|
8453
10755
|
|
|
10756
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
10757
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
10758
|
+
}
|
|
10759
|
+
|
|
8454
10760
|
if (!$dara.isNull(request.instanceId)) {
|
|
8455
10761
|
query["InstanceId"] = request.instanceId;
|
|
8456
10762
|
}
|
|
8457
10763
|
|
|
8458
|
-
if (!$dara.isNull(request.
|
|
8459
|
-
query["
|
|
10764
|
+
if (!$dara.isNull(request.organizationalUnitIds)) {
|
|
10765
|
+
query["OrganizationalUnitIds"] = request.organizationalUnitIds;
|
|
8460
10766
|
}
|
|
8461
10767
|
|
|
8462
10768
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8463
10769
|
query: OpenApiUtil.query(query),
|
|
8464
10770
|
});
|
|
8465
10771
|
let params = new $OpenApiUtil.Params({
|
|
8466
|
-
action: "
|
|
10772
|
+
action: "RevokeApplicationFromOrganizationalUnits",
|
|
8467
10773
|
version: "2021-12-01",
|
|
8468
10774
|
protocol: "HTTPS",
|
|
8469
10775
|
pathname: "/",
|
|
@@ -8473,47 +10779,51 @@ export default class Client extends OpenApi {
|
|
|
8473
10779
|
reqBodyType: "formData",
|
|
8474
10780
|
bodyType: "json",
|
|
8475
10781
|
});
|
|
8476
|
-
return $dara.cast<$_model.
|
|
10782
|
+
return $dara.cast<$_model.RevokeApplicationFromOrganizationalUnitsResponse>(await this.callApi(params, req, runtime), new $_model.RevokeApplicationFromOrganizationalUnitsResponse({}));
|
|
8477
10783
|
}
|
|
8478
10784
|
|
|
8479
10785
|
/**
|
|
8480
|
-
*
|
|
10786
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) organizations at a time.
|
|
8481
10787
|
*
|
|
8482
|
-
* @param request -
|
|
8483
|
-
* @returns
|
|
10788
|
+
* @param request - RevokeApplicationFromOrganizationalUnitsRequest
|
|
10789
|
+
* @returns RevokeApplicationFromOrganizationalUnitsResponse
|
|
8484
10790
|
*/
|
|
8485
|
-
async
|
|
10791
|
+
async revokeApplicationFromOrganizationalUnits(request: $_model.RevokeApplicationFromOrganizationalUnitsRequest): Promise<$_model.RevokeApplicationFromOrganizationalUnitsResponse> {
|
|
8486
10792
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8487
|
-
return await this.
|
|
10793
|
+
return await this.revokeApplicationFromOrganizationalUnitsWithOptions(request, runtime);
|
|
8488
10794
|
}
|
|
8489
10795
|
|
|
8490
10796
|
/**
|
|
8491
|
-
*
|
|
10797
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) accounts at a time.
|
|
8492
10798
|
*
|
|
8493
|
-
* @param request -
|
|
10799
|
+
* @param request - RevokeApplicationFromUsersRequest
|
|
8494
10800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8495
|
-
* @returns
|
|
10801
|
+
* @returns RevokeApplicationFromUsersResponse
|
|
8496
10802
|
*/
|
|
8497
|
-
async
|
|
10803
|
+
async revokeApplicationFromUsersWithOptions(request: $_model.RevokeApplicationFromUsersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeApplicationFromUsersResponse> {
|
|
8498
10804
|
request.validate();
|
|
8499
10805
|
let query = { };
|
|
8500
|
-
if (!$dara.isNull(request.
|
|
8501
|
-
query["
|
|
10806
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10807
|
+
query["ApplicationId"] = request.applicationId;
|
|
8502
10808
|
}
|
|
8503
10809
|
|
|
8504
|
-
if (!$dara.isNull(request.
|
|
8505
|
-
query["
|
|
10810
|
+
if (!$dara.isNull(request.applicationRoleId)) {
|
|
10811
|
+
query["ApplicationRoleId"] = request.applicationRoleId;
|
|
8506
10812
|
}
|
|
8507
10813
|
|
|
8508
10814
|
if (!$dara.isNull(request.instanceId)) {
|
|
8509
10815
|
query["InstanceId"] = request.instanceId;
|
|
8510
10816
|
}
|
|
8511
10817
|
|
|
10818
|
+
if (!$dara.isNull(request.userIds)) {
|
|
10819
|
+
query["UserIds"] = request.userIds;
|
|
10820
|
+
}
|
|
10821
|
+
|
|
8512
10822
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8513
10823
|
query: OpenApiUtil.query(query),
|
|
8514
10824
|
});
|
|
8515
10825
|
let params = new $OpenApiUtil.Params({
|
|
8516
|
-
action: "
|
|
10826
|
+
action: "RevokeApplicationFromUsers",
|
|
8517
10827
|
version: "2021-12-01",
|
|
8518
10828
|
protocol: "HTTPS",
|
|
8519
10829
|
pathname: "/",
|
|
@@ -8523,47 +10833,47 @@ export default class Client extends OpenApi {
|
|
|
8523
10833
|
reqBodyType: "formData",
|
|
8524
10834
|
bodyType: "json",
|
|
8525
10835
|
});
|
|
8526
|
-
return $dara.cast<$_model.
|
|
10836
|
+
return $dara.cast<$_model.RevokeApplicationFromUsersResponse>(await this.callApi(params, req, runtime), new $_model.RevokeApplicationFromUsersResponse({}));
|
|
8527
10837
|
}
|
|
8528
10838
|
|
|
8529
10839
|
/**
|
|
8530
|
-
*
|
|
10840
|
+
* Revokes the permissions to access an application from multiple Employee Identity and Access Management (EIAM) accounts at a time.
|
|
8531
10841
|
*
|
|
8532
|
-
* @param request -
|
|
8533
|
-
* @returns
|
|
10842
|
+
* @param request - RevokeApplicationFromUsersRequest
|
|
10843
|
+
* @returns RevokeApplicationFromUsersResponse
|
|
8534
10844
|
*/
|
|
8535
|
-
async
|
|
10845
|
+
async revokeApplicationFromUsers(request: $_model.RevokeApplicationFromUsersRequest): Promise<$_model.RevokeApplicationFromUsersResponse> {
|
|
8536
10846
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8537
|
-
return await this.
|
|
10847
|
+
return await this.revokeApplicationFromUsersWithOptions(request, runtime);
|
|
8538
10848
|
}
|
|
8539
10849
|
|
|
8540
10850
|
/**
|
|
8541
|
-
*
|
|
10851
|
+
* 解除指定ResourceServer到Client的授权
|
|
8542
10852
|
*
|
|
8543
|
-
* @param request -
|
|
10853
|
+
* @param request - RevokeResourceServerFromClientRequest
|
|
8544
10854
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8545
|
-
* @returns
|
|
10855
|
+
* @returns RevokeResourceServerFromClientResponse
|
|
8546
10856
|
*/
|
|
8547
|
-
async
|
|
10857
|
+
async revokeResourceServerFromClientWithOptions(request: $_model.RevokeResourceServerFromClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerFromClientResponse> {
|
|
8548
10858
|
request.validate();
|
|
8549
10859
|
let query = { };
|
|
8550
|
-
if (!$dara.isNull(request.
|
|
8551
|
-
query["
|
|
10860
|
+
if (!$dara.isNull(request.clientApplicationId)) {
|
|
10861
|
+
query["ClientApplicationId"] = request.clientApplicationId;
|
|
8552
10862
|
}
|
|
8553
10863
|
|
|
8554
|
-
if (!$dara.isNull(request.
|
|
8555
|
-
query["
|
|
10864
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
10865
|
+
query["InstanceId"] = request.instanceId;
|
|
8556
10866
|
}
|
|
8557
10867
|
|
|
8558
|
-
if (!$dara.isNull(request.
|
|
8559
|
-
query["
|
|
10868
|
+
if (!$dara.isNull(request.resourceServerApplicationId)) {
|
|
10869
|
+
query["ResourceServerApplicationId"] = request.resourceServerApplicationId;
|
|
8560
10870
|
}
|
|
8561
10871
|
|
|
8562
10872
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8563
10873
|
query: OpenApiUtil.query(query),
|
|
8564
10874
|
});
|
|
8565
10875
|
let params = new $OpenApiUtil.Params({
|
|
8566
|
-
action: "
|
|
10876
|
+
action: "RevokeResourceServerFromClient",
|
|
8567
10877
|
version: "2021-12-01",
|
|
8568
10878
|
protocol: "HTTPS",
|
|
8569
10879
|
pathname: "/",
|
|
@@ -8573,47 +10883,51 @@ export default class Client extends OpenApi {
|
|
|
8573
10883
|
reqBodyType: "formData",
|
|
8574
10884
|
bodyType: "json",
|
|
8575
10885
|
});
|
|
8576
|
-
return $dara.cast<$_model.
|
|
10886
|
+
return $dara.cast<$_model.RevokeResourceServerFromClientResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerFromClientResponse({}));
|
|
8577
10887
|
}
|
|
8578
10888
|
|
|
8579
10889
|
/**
|
|
8580
|
-
*
|
|
10890
|
+
* 解除指定ResourceServer到Client的授权
|
|
8581
10891
|
*
|
|
8582
|
-
* @param request -
|
|
8583
|
-
* @returns
|
|
10892
|
+
* @param request - RevokeResourceServerFromClientRequest
|
|
10893
|
+
* @returns RevokeResourceServerFromClientResponse
|
|
8584
10894
|
*/
|
|
8585
|
-
async
|
|
10895
|
+
async revokeResourceServerFromClient(request: $_model.RevokeResourceServerFromClientRequest): Promise<$_model.RevokeResourceServerFromClientResponse> {
|
|
8586
10896
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8587
|
-
return await this.
|
|
10897
|
+
return await this.revokeResourceServerFromClientWithOptions(request, runtime);
|
|
8588
10898
|
}
|
|
8589
10899
|
|
|
8590
10900
|
/**
|
|
8591
|
-
*
|
|
10901
|
+
* 解除指定ResourceServer下的Scope给Client
|
|
8592
10902
|
*
|
|
8593
|
-
* @param request -
|
|
10903
|
+
* @param request - RevokeResourceServerScopesFromClientRequest
|
|
8594
10904
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8595
|
-
* @returns
|
|
10905
|
+
* @returns RevokeResourceServerScopesFromClientResponse
|
|
8596
10906
|
*/
|
|
8597
|
-
async
|
|
10907
|
+
async revokeResourceServerScopesFromClientWithOptions(request: $_model.RevokeResourceServerScopesFromClientRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromClientResponse> {
|
|
8598
10908
|
request.validate();
|
|
8599
10909
|
let query = { };
|
|
8600
|
-
if (!$dara.isNull(request.
|
|
8601
|
-
query["
|
|
10910
|
+
if (!$dara.isNull(request.clientApplicationId)) {
|
|
10911
|
+
query["ClientApplicationId"] = request.clientApplicationId;
|
|
8602
10912
|
}
|
|
8603
10913
|
|
|
8604
10914
|
if (!$dara.isNull(request.instanceId)) {
|
|
8605
10915
|
query["InstanceId"] = request.instanceId;
|
|
8606
10916
|
}
|
|
8607
10917
|
|
|
8608
|
-
if (!$dara.isNull(request.
|
|
8609
|
-
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;
|
|
8610
10924
|
}
|
|
8611
10925
|
|
|
8612
10926
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8613
10927
|
query: OpenApiUtil.query(query),
|
|
8614
10928
|
});
|
|
8615
10929
|
let params = new $OpenApiUtil.Params({
|
|
8616
|
-
action: "
|
|
10930
|
+
action: "RevokeResourceServerScopesFromClient",
|
|
8617
10931
|
version: "2021-12-01",
|
|
8618
10932
|
protocol: "HTTPS",
|
|
8619
10933
|
pathname: "/",
|
|
@@ -8623,47 +10937,51 @@ export default class Client extends OpenApi {
|
|
|
8623
10937
|
reqBodyType: "formData",
|
|
8624
10938
|
bodyType: "json",
|
|
8625
10939
|
});
|
|
8626
|
-
return $dara.cast<$_model.
|
|
10940
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromClientResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromClientResponse({}));
|
|
8627
10941
|
}
|
|
8628
10942
|
|
|
8629
10943
|
/**
|
|
8630
|
-
*
|
|
10944
|
+
* 解除指定ResourceServer下的Scope给Client
|
|
8631
10945
|
*
|
|
8632
|
-
* @param request -
|
|
8633
|
-
* @returns
|
|
10946
|
+
* @param request - RevokeResourceServerScopesFromClientRequest
|
|
10947
|
+
* @returns RevokeResourceServerScopesFromClientResponse
|
|
8634
10948
|
*/
|
|
8635
|
-
async
|
|
10949
|
+
async revokeResourceServerScopesFromClient(request: $_model.RevokeResourceServerScopesFromClientRequest): Promise<$_model.RevokeResourceServerScopesFromClientResponse> {
|
|
8636
10950
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8637
|
-
return await this.
|
|
10951
|
+
return await this.revokeResourceServerScopesFromClientWithOptions(request, runtime);
|
|
8638
10952
|
}
|
|
8639
10953
|
|
|
8640
10954
|
/**
|
|
8641
|
-
*
|
|
10955
|
+
* 取消被授予到组的ResourceServerScope权限
|
|
8642
10956
|
*
|
|
8643
|
-
* @param request -
|
|
10957
|
+
* @param request - RevokeResourceServerScopesFromGroupRequest
|
|
8644
10958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8645
|
-
* @returns
|
|
10959
|
+
* @returns RevokeResourceServerScopesFromGroupResponse
|
|
8646
10960
|
*/
|
|
8647
|
-
async
|
|
10961
|
+
async revokeResourceServerScopesFromGroupWithOptions(request: $_model.RevokeResourceServerScopesFromGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromGroupResponse> {
|
|
8648
10962
|
request.validate();
|
|
8649
10963
|
let query = { };
|
|
8650
10964
|
if (!$dara.isNull(request.applicationId)) {
|
|
8651
10965
|
query["ApplicationId"] = request.applicationId;
|
|
8652
10966
|
}
|
|
8653
10967
|
|
|
8654
|
-
if (!$dara.isNull(request.
|
|
8655
|
-
query["
|
|
10968
|
+
if (!$dara.isNull(request.groupId)) {
|
|
10969
|
+
query["GroupId"] = request.groupId;
|
|
8656
10970
|
}
|
|
8657
10971
|
|
|
8658
10972
|
if (!$dara.isNull(request.instanceId)) {
|
|
8659
10973
|
query["InstanceId"] = request.instanceId;
|
|
8660
10974
|
}
|
|
8661
10975
|
|
|
10976
|
+
if (!$dara.isNull(request.resourceServerScopeIds)) {
|
|
10977
|
+
query["ResourceServerScopeIds"] = request.resourceServerScopeIds;
|
|
10978
|
+
}
|
|
10979
|
+
|
|
8662
10980
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8663
10981
|
query: OpenApiUtil.query(query),
|
|
8664
10982
|
});
|
|
8665
10983
|
let params = new $OpenApiUtil.Params({
|
|
8666
|
-
action: "
|
|
10984
|
+
action: "RevokeResourceServerScopesFromGroup",
|
|
8667
10985
|
version: "2021-12-01",
|
|
8668
10986
|
protocol: "HTTPS",
|
|
8669
10987
|
pathname: "/",
|
|
@@ -8673,28 +10991,28 @@ export default class Client extends OpenApi {
|
|
|
8673
10991
|
reqBodyType: "formData",
|
|
8674
10992
|
bodyType: "json",
|
|
8675
10993
|
});
|
|
8676
|
-
return $dara.cast<$_model.
|
|
10994
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromGroupResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromGroupResponse({}));
|
|
8677
10995
|
}
|
|
8678
10996
|
|
|
8679
10997
|
/**
|
|
8680
|
-
*
|
|
10998
|
+
* 取消被授予到组的ResourceServerScope权限
|
|
8681
10999
|
*
|
|
8682
|
-
* @param request -
|
|
8683
|
-
* @returns
|
|
11000
|
+
* @param request - RevokeResourceServerScopesFromGroupRequest
|
|
11001
|
+
* @returns RevokeResourceServerScopesFromGroupResponse
|
|
8684
11002
|
*/
|
|
8685
|
-
async
|
|
11003
|
+
async revokeResourceServerScopesFromGroup(request: $_model.RevokeResourceServerScopesFromGroupRequest): Promise<$_model.RevokeResourceServerScopesFromGroupResponse> {
|
|
8686
11004
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8687
|
-
return await this.
|
|
11005
|
+
return await this.revokeResourceServerScopesFromGroupWithOptions(request, runtime);
|
|
8688
11006
|
}
|
|
8689
11007
|
|
|
8690
11008
|
/**
|
|
8691
|
-
*
|
|
11009
|
+
* 取消被授予到组织的ResourceServerScope权限
|
|
8692
11010
|
*
|
|
8693
|
-
* @param request -
|
|
11011
|
+
* @param request - RevokeResourceServerScopesFromOrganizationalUnitRequest
|
|
8694
11012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8695
|
-
* @returns
|
|
11013
|
+
* @returns RevokeResourceServerScopesFromOrganizationalUnitResponse
|
|
8696
11014
|
*/
|
|
8697
|
-
async
|
|
11015
|
+
async revokeResourceServerScopesFromOrganizationalUnitWithOptions(request: $_model.RevokeResourceServerScopesFromOrganizationalUnitRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromOrganizationalUnitResponse> {
|
|
8698
11016
|
request.validate();
|
|
8699
11017
|
let query = { };
|
|
8700
11018
|
if (!$dara.isNull(request.applicationId)) {
|
|
@@ -8705,15 +11023,19 @@ export default class Client extends OpenApi {
|
|
|
8705
11023
|
query["InstanceId"] = request.instanceId;
|
|
8706
11024
|
}
|
|
8707
11025
|
|
|
8708
|
-
if (!$dara.isNull(request.
|
|
8709
|
-
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;
|
|
8710
11032
|
}
|
|
8711
11033
|
|
|
8712
11034
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8713
11035
|
query: OpenApiUtil.query(query),
|
|
8714
11036
|
});
|
|
8715
11037
|
let params = new $OpenApiUtil.Params({
|
|
8716
|
-
action: "
|
|
11038
|
+
action: "RevokeResourceServerScopesFromOrganizationalUnit",
|
|
8717
11039
|
version: "2021-12-01",
|
|
8718
11040
|
protocol: "HTTPS",
|
|
8719
11041
|
pathname: "/",
|
|
@@ -8723,28 +11045,28 @@ export default class Client extends OpenApi {
|
|
|
8723
11045
|
reqBodyType: "formData",
|
|
8724
11046
|
bodyType: "json",
|
|
8725
11047
|
});
|
|
8726
|
-
return $dara.cast<$_model.
|
|
11048
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromOrganizationalUnitResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromOrganizationalUnitResponse({}));
|
|
8727
11049
|
}
|
|
8728
11050
|
|
|
8729
11051
|
/**
|
|
8730
|
-
*
|
|
11052
|
+
* 取消被授予到组织的ResourceServerScope权限
|
|
8731
11053
|
*
|
|
8732
|
-
* @param request -
|
|
8733
|
-
* @returns
|
|
11054
|
+
* @param request - RevokeResourceServerScopesFromOrganizationalUnitRequest
|
|
11055
|
+
* @returns RevokeResourceServerScopesFromOrganizationalUnitResponse
|
|
8734
11056
|
*/
|
|
8735
|
-
async
|
|
11057
|
+
async revokeResourceServerScopesFromOrganizationalUnit(request: $_model.RevokeResourceServerScopesFromOrganizationalUnitRequest): Promise<$_model.RevokeResourceServerScopesFromOrganizationalUnitResponse> {
|
|
8736
11058
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8737
|
-
return await this.
|
|
11059
|
+
return await this.revokeResourceServerScopesFromOrganizationalUnitWithOptions(request, runtime);
|
|
8738
11060
|
}
|
|
8739
11061
|
|
|
8740
11062
|
/**
|
|
8741
|
-
*
|
|
11063
|
+
* 取消被授予用户的ResourceServerScope权限
|
|
8742
11064
|
*
|
|
8743
|
-
* @param request -
|
|
11065
|
+
* @param request - RevokeResourceServerScopesFromUserRequest
|
|
8744
11066
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
8745
|
-
* @returns
|
|
11067
|
+
* @returns RevokeResourceServerScopesFromUserResponse
|
|
8746
11068
|
*/
|
|
8747
|
-
async
|
|
11069
|
+
async revokeResourceServerScopesFromUserWithOptions(request: $_model.RevokeResourceServerScopesFromUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeResourceServerScopesFromUserResponse> {
|
|
8748
11070
|
request.validate();
|
|
8749
11071
|
let query = { };
|
|
8750
11072
|
if (!$dara.isNull(request.applicationId)) {
|
|
@@ -8755,15 +11077,19 @@ export default class Client extends OpenApi {
|
|
|
8755
11077
|
query["InstanceId"] = request.instanceId;
|
|
8756
11078
|
}
|
|
8757
11079
|
|
|
8758
|
-
if (!$dara.isNull(request.
|
|
8759
|
-
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;
|
|
8760
11086
|
}
|
|
8761
11087
|
|
|
8762
11088
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8763
11089
|
query: OpenApiUtil.query(query),
|
|
8764
11090
|
});
|
|
8765
11091
|
let params = new $OpenApiUtil.Params({
|
|
8766
|
-
action: "
|
|
11092
|
+
action: "RevokeResourceServerScopesFromUser",
|
|
8767
11093
|
version: "2021-12-01",
|
|
8768
11094
|
protocol: "HTTPS",
|
|
8769
11095
|
pathname: "/",
|
|
@@ -8773,18 +11099,18 @@ export default class Client extends OpenApi {
|
|
|
8773
11099
|
reqBodyType: "formData",
|
|
8774
11100
|
bodyType: "json",
|
|
8775
11101
|
});
|
|
8776
|
-
return $dara.cast<$_model.
|
|
11102
|
+
return $dara.cast<$_model.RevokeResourceServerScopesFromUserResponse>(await this.callApi(params, req, runtime), new $_model.RevokeResourceServerScopesFromUserResponse({}));
|
|
8777
11103
|
}
|
|
8778
11104
|
|
|
8779
11105
|
/**
|
|
8780
|
-
*
|
|
11106
|
+
* 取消被授予用户的ResourceServerScope权限
|
|
8781
11107
|
*
|
|
8782
|
-
* @param request -
|
|
8783
|
-
* @returns
|
|
11108
|
+
* @param request - RevokeResourceServerScopesFromUserRequest
|
|
11109
|
+
* @returns RevokeResourceServerScopesFromUserResponse
|
|
8784
11110
|
*/
|
|
8785
|
-
async
|
|
11111
|
+
async revokeResourceServerScopesFromUser(request: $_model.RevokeResourceServerScopesFromUserRequest): Promise<$_model.RevokeResourceServerScopesFromUserResponse> {
|
|
8786
11112
|
let runtime = new $dara.RuntimeOptions({ });
|
|
8787
|
-
return await this.
|
|
11113
|
+
return await this.revokeResourceServerScopesFromUserWithOptions(request, runtime);
|
|
8788
11114
|
}
|
|
8789
11115
|
|
|
8790
11116
|
/**
|
|
@@ -9073,6 +11399,60 @@ export default class Client extends OpenApi {
|
|
|
9073
11399
|
return await this.setApplicationProvisioningUserPrimaryOrganizationalUnitWithOptions(request, runtime);
|
|
9074
11400
|
}
|
|
9075
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
|
+
|
|
9076
11456
|
/**
|
|
9077
11457
|
* Specifies the single sign-on (SSO) configuration attributes of an application in Identity as a Service (IDaaS) Employee IAM (EIAM).
|
|
9078
11458
|
*
|
|
@@ -9573,7 +11953,61 @@ export default class Client extends OpenApi {
|
|
|
9573
11953
|
query: OpenApiUtil.query(query),
|
|
9574
11954
|
});
|
|
9575
11955
|
let params = new $OpenApiUtil.Params({
|
|
9576
|
-
action: "SetPasswordInitializationConfiguration",
|
|
11956
|
+
action: "SetPasswordInitializationConfiguration",
|
|
11957
|
+
version: "2021-12-01",
|
|
11958
|
+
protocol: "HTTPS",
|
|
11959
|
+
pathname: "/",
|
|
11960
|
+
method: "POST",
|
|
11961
|
+
authType: "AK",
|
|
11962
|
+
style: "RPC",
|
|
11963
|
+
reqBodyType: "formData",
|
|
11964
|
+
bodyType: "json",
|
|
11965
|
+
});
|
|
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",
|
|
9577
12011
|
version: "2021-12-01",
|
|
9578
12012
|
protocol: "HTTPS",
|
|
9579
12013
|
pathname: "/",
|
|
@@ -9583,18 +12017,18 @@ export default class Client extends OpenApi {
|
|
|
9583
12017
|
reqBodyType: "formData",
|
|
9584
12018
|
bodyType: "json",
|
|
9585
12019
|
});
|
|
9586
|
-
return $dara.cast<$_model.
|
|
12020
|
+
return $dara.cast<$_model.SetPrimaryClientPublicKeyResponse>(await this.callApi(params, req, runtime), new $_model.SetPrimaryClientPublicKeyResponse({}));
|
|
9587
12021
|
}
|
|
9588
12022
|
|
|
9589
12023
|
/**
|
|
9590
|
-
*
|
|
12024
|
+
* 设置指定的应用ClientPublicKey优先启用状态
|
|
9591
12025
|
*
|
|
9592
|
-
* @param request -
|
|
9593
|
-
* @returns
|
|
12026
|
+
* @param request - SetPrimaryClientPublicKeyRequest
|
|
12027
|
+
* @returns SetPrimaryClientPublicKeyResponse
|
|
9594
12028
|
*/
|
|
9595
|
-
async
|
|
12029
|
+
async setPrimaryClientPublicKey(request: $_model.SetPrimaryClientPublicKeyRequest): Promise<$_model.SetPrimaryClientPublicKeyResponse> {
|
|
9596
12030
|
let runtime = new $dara.RuntimeOptions({ });
|
|
9597
|
-
return await this.
|
|
12031
|
+
return await this.setPrimaryClientPublicKeyWithOptions(request, runtime);
|
|
9598
12032
|
}
|
|
9599
12033
|
|
|
9600
12034
|
/**
|
|
@@ -10125,6 +12559,118 @@ export default class Client extends OpenApi {
|
|
|
10125
12559
|
return await this.updateApplicationInfoWithOptions(request, runtime);
|
|
10126
12560
|
}
|
|
10127
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
|
+
|
|
10128
12674
|
/**
|
|
10129
12675
|
* 更新模板应用的SSO参数
|
|
10130
12676
|
*
|
|
@@ -10279,6 +12825,172 @@ export default class Client extends OpenApi {
|
|
|
10279
12825
|
return await this.updateBrandWithOptions(request, runtime);
|
|
10280
12826
|
}
|
|
10281
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
|
+
|
|
10282
12994
|
/**
|
|
10283
12995
|
* Update Conditional Access Policy
|
|
10284
12996
|
*
|
|
@@ -11245,6 +13957,60 @@ export default class Client extends OpenApi {
|
|
|
11245
13957
|
return await this.updateOrganizationalUnitParentIdWithOptions(request, runtime);
|
|
11246
13958
|
}
|
|
11247
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
|
+
|
|
11248
14014
|
/**
|
|
11249
14015
|
* Updates the basic information about an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS).
|
|
11250
14016
|
*
|