Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + type Client struct + func NewClient() (client *Client, err error) + func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) + func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) + func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) + func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) + func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) + func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) + func (client *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error) + func (client *Client) CreateGroupWithCallback(request *CreateGroupRequest, ...) <-chan int + func (client *Client) CreateGroupWithChan(request *CreateGroupRequest) (<-chan *CreateGroupResponse, <-chan error) + func (client *Client) DeleteDeviceAllGroup(request *DeleteDeviceAllGroupRequest) (response *DeleteDeviceAllGroupResponse, err error) + func (client *Client) DeleteDeviceAllGroupWithCallback(request *DeleteDeviceAllGroupRequest, ...) <-chan int + func (client *Client) DeleteDeviceAllGroupWithChan(request *DeleteDeviceAllGroupRequest) (<-chan *DeleteDeviceAllGroupResponse, <-chan error) + func (client *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error) + func (client *Client) DeleteDeviceGroupWithCallback(request *DeleteDeviceGroupRequest, ...) <-chan int + func (client *Client) DeleteDeviceGroupWithChan(request *DeleteDeviceGroupRequest) (<-chan *DeleteDeviceGroupResponse, <-chan error) + func (client *Client) DeleteFace(request *DeleteFaceRequest) (response *DeleteFaceResponse, err error) + func (client *Client) DeleteFaceWithCallback(request *DeleteFaceRequest, ...) <-chan int + func (client *Client) DeleteFaceWithChan(request *DeleteFaceRequest) (<-chan *DeleteFaceResponse, <-chan error) + func (client *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error) + func (client *Client) DeleteGroupWithCallback(request *DeleteGroupRequest, ...) <-chan int + func (client *Client) DeleteGroupWithChan(request *DeleteGroupRequest) (<-chan *DeleteGroupResponse, <-chan error) + func (client *Client) LinkFace(request *LinkFaceRequest) (response *LinkFaceResponse, err error) + func (client *Client) LinkFaceWithCallback(request *LinkFaceRequest, callback func(response *LinkFaceResponse, err error)) <-chan int + func (client *Client) LinkFaceWithChan(request *LinkFaceRequest) (<-chan *LinkFaceResponse, <-chan error) + func (client *Client) QueryAddUserInfo(request *QueryAddUserInfoRequest) (response *QueryAddUserInfoResponse, err error) + func (client *Client) QueryAddUserInfoWithCallback(request *QueryAddUserInfoRequest, ...) <-chan int + func (client *Client) QueryAddUserInfoWithChan(request *QueryAddUserInfoRequest) (<-chan *QueryAddUserInfoResponse, <-chan error) + func (client *Client) QueryAllGroups(request *QueryAllGroupsRequest) (response *QueryAllGroupsResponse, err error) + func (client *Client) QueryAllGroupsWithCallback(request *QueryAllGroupsRequest, ...) <-chan int + func (client *Client) QueryAllGroupsWithChan(request *QueryAllGroupsRequest) (<-chan *QueryAllGroupsResponse, <-chan error) + func (client *Client) QueryAuthentication(request *QueryAuthenticationRequest) (response *QueryAuthenticationResponse, err error) + func (client *Client) QueryAuthenticationWithCallback(request *QueryAuthenticationRequest, ...) <-chan int + func (client *Client) QueryAuthenticationWithChan(request *QueryAuthenticationRequest) (<-chan *QueryAuthenticationResponse, <-chan error) + func (client *Client) QueryFace(request *QueryFaceRequest) (response *QueryFaceResponse, err error) + func (client *Client) QueryFaceWithCallback(request *QueryFaceRequest, ...) <-chan int + func (client *Client) QueryFaceWithChan(request *QueryFaceRequest) (<-chan *QueryFaceResponse, <-chan error) + func (client *Client) QueryGroupUsers(request *QueryGroupUsersRequest) (response *QueryGroupUsersResponse, err error) + func (client *Client) QueryGroupUsersWithCallback(request *QueryGroupUsersRequest, ...) <-chan int + func (client *Client) QueryGroupUsersWithChan(request *QueryGroupUsersRequest) (<-chan *QueryGroupUsersResponse, <-chan error) + func (client *Client) QueryLicenses(request *QueryLicensesRequest) (response *QueryLicensesResponse, err error) + func (client *Client) QueryLicensesWithCallback(request *QueryLicensesRequest, ...) <-chan int + func (client *Client) QueryLicensesWithChan(request *QueryLicensesRequest) (<-chan *QueryLicensesResponse, <-chan error) + func (client *Client) QuerySyncPicSchedule(request *QuerySyncPicScheduleRequest) (response *QuerySyncPicScheduleResponse, err error) + func (client *Client) QuerySyncPicScheduleWithCallback(request *QuerySyncPicScheduleRequest, ...) <-chan int + func (client *Client) QuerySyncPicScheduleWithChan(request *QuerySyncPicScheduleRequest) (<-chan *QuerySyncPicScheduleResponse, <-chan error) + func (client *Client) RegisterFace(request *RegisterFaceRequest) (response *RegisterFaceResponse, err error) + func (client *Client) RegisterFaceWithCallback(request *RegisterFaceRequest, ...) <-chan int + func (client *Client) RegisterFaceWithChan(request *RegisterFaceRequest) (<-chan *RegisterFaceResponse, <-chan error) + func (client *Client) SearchFace(request *SearchFaceRequest) (response *SearchFaceResponse, err error) + func (client *Client) SearchFaceWithCallback(request *SearchFaceRequest, ...) <-chan int + func (client *Client) SearchFaceWithChan(request *SearchFaceRequest) (<-chan *SearchFaceResponse, <-chan error) + func (client *Client) SyncFacePictures(request *SyncFacePicturesRequest) (response *SyncFacePicturesResponse, err error) + func (client *Client) SyncFacePicturesWithCallback(request *SyncFacePicturesRequest, ...) <-chan int + func (client *Client) SyncFacePicturesWithChan(request *SyncFacePicturesRequest) (<-chan *SyncFacePicturesResponse, <-chan error) + func (client *Client) UnlinkFace(request *UnlinkFaceRequest) (response *UnlinkFaceResponse, err error) + func (client *Client) UnlinkFaceWithCallback(request *UnlinkFaceRequest, ...) <-chan int + func (client *Client) UnlinkFaceWithChan(request *UnlinkFaceRequest) (<-chan *UnlinkFaceResponse, <-chan error) + func (client *Client) UpdateFace(request *UpdateFaceRequest) (response *UpdateFaceResponse, err error) + func (client *Client) UpdateFaceWithCallback(request *UpdateFaceRequest, ...) <-chan int + func (client *Client) UpdateFaceWithChan(request *UpdateFaceRequest) (<-chan *UpdateFaceResponse, <-chan error) + type CreateGroupRequest struct + GroupId string + func CreateCreateGroupRequest() (request *CreateGroupRequest) + type CreateGroupResponse struct + Code int + Message string + RequestId string + Success bool + func CreateCreateGroupResponse() (response *CreateGroupResponse) + type CurrentFaceInfos struct + CurrentFaceInfosItem []CurrentFaceInfosItem + type CurrentFaceInfosItem struct + ClientTag string + Index int + UserId string + type Data struct + CurrentFaceInfos []CurrentFaceInfosItem + FailedFaceInfos []FailedFaceInfosItem + GroupIds []string + Groups []string + Rate float64 + TopUserItem []TopUserItemItem + UserFaceMetas []UserFaceMetasItem + type DataInQueryAuthentication struct + DataItem []DataItem + type DataInQueryGroupUsers struct + DataItem []DataItem + type DataInQueryLicenses struct + DataItem []DataItem + type DataItem struct + ApkPubkey string + BeginTime string + ClientId string + CostQuantity int + DeviceName string + ExpiredTime string + IotId string + LicenseType int + PackageName string + ProductKey string + Quantity int + UserId string + type DeleteDeviceAllGroupRequest struct + DeviceName string + IotId string + ProductKey string + func CreateDeleteDeviceAllGroupRequest() (request *DeleteDeviceAllGroupRequest) + type DeleteDeviceAllGroupResponse struct + Code int + Message string + RequestId string + Success bool + func CreateDeleteDeviceAllGroupResponse() (response *DeleteDeviceAllGroupResponse) + type DeleteDeviceGroupRequest struct + DeviceName string + GroupId string + IotId string + ProductKey string + func CreateDeleteDeviceGroupRequest() (request *DeleteDeviceGroupRequest) + type DeleteDeviceGroupResponse struct + Code int + Message string + RequestId string + Success bool + func CreateDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse) + type DeleteFaceRequest struct + GroupId string + UserId string + func CreateDeleteFaceRequest() (request *DeleteFaceRequest) + type DeleteFaceResponse struct + Code int + Message string + RequestId string + Success bool + func CreateDeleteFaceResponse() (response *DeleteFaceResponse) + type DeleteGroupRequest struct + GroupId string + func CreateDeleteGroupRequest() (request *DeleteGroupRequest) + type DeleteGroupResponse struct + Code int + Message string + RequestId string + Success bool + func CreateDeleteGroupResponse() (response *DeleteGroupResponse) + type FailedFaceInfos struct + FailedFaceInfosItem []FailedFaceInfosItem + type FailedFaceInfosItem struct + ClientTag string + Index int + UserId string + type GroupIds struct + GroupIds []string + type Groups struct + Groups []string + type LinkFaceRequest struct + GroupId string + UserId string + func CreateLinkFaceRequest() (request *LinkFaceRequest) + type LinkFaceResponse struct + Code int + Message string + RequestId string + Success bool + func CreateLinkFaceResponse() (response *LinkFaceResponse) + type QueryAddUserInfoRequest struct + DeviceName string + GroupId string + IotId string + ProductKey string + func CreateQueryAddUserInfoRequest() (request *QueryAddUserInfoRequest) + type QueryAddUserInfoResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateQueryAddUserInfoResponse() (response *QueryAddUserInfoResponse) + type QueryAllGroupsRequest struct + CurrentPage requests.Integer + PageSize requests.Integer + func CreateQueryAllGroupsRequest() (request *QueryAllGroupsRequest) + type QueryAllGroupsResponse struct + Code int + Data Data + Message string + Page int + PageCount int + PageSize int + RequestId string + Success bool + Total int + func CreateQueryAllGroupsResponse() (response *QueryAllGroupsResponse) + type QueryAuthenticationRequest struct + CurrentPage requests.Integer + DeviceName string + IotId string + LicenseType requests.Integer + PageSize requests.Integer + ProductKey string + func CreateQueryAuthenticationRequest() (request *QueryAuthenticationRequest) + type QueryAuthenticationResponse struct + Code int + Data []DataItem + Message string + Page int + PageCount int + PageSize int + RequestId string + Success bool + Total int + func CreateQueryAuthenticationResponse() (response *QueryAuthenticationResponse) + type QueryFaceRequest struct + UserId string + func CreateQueryFaceRequest() (request *QueryFaceRequest) + type QueryFaceResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateQueryFaceResponse() (response *QueryFaceResponse) + type QueryGroupUsersRequest struct + CurrentPage requests.Integer + GroupId string + PageSize requests.Integer + func CreateQueryGroupUsersRequest() (request *QueryGroupUsersRequest) + type QueryGroupUsersResponse struct + Code int + Data []DataItem + Message string + Page int + PageCount int + PageSize int + RequestId string + Success bool + Total int + func CreateQueryGroupUsersResponse() (response *QueryGroupUsersResponse) + type QueryLicensesRequest struct + CurrentPage requests.Integer + LicenseType requests.Integer + PageSize requests.Integer + func CreateQueryLicensesRequest() (request *QueryLicensesRequest) + type QueryLicensesResponse struct + Code int + Data []DataItem + Message string + Page int + PageCount int + PageSize int + RequestId string + Success bool + Total int + func CreateQueryLicensesResponse() (response *QueryLicensesResponse) + type QuerySyncPicScheduleRequest struct + DeviceName string + GroupId string + IotId string + ProductKey string + func CreateQuerySyncPicScheduleRequest() (request *QuerySyncPicScheduleRequest) + type QuerySyncPicScheduleResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateQuerySyncPicScheduleResponse() (response *QuerySyncPicScheduleResponse) + type RegisterFaceRequest struct + GroupId string + Image string + UserId string + UserInfo string + func CreateRegisterFaceRequest() (request *RegisterFaceRequest) + type RegisterFaceResponse struct + Code int + Message string + RequestId string + Success bool + func CreateRegisterFaceResponse() (response *RegisterFaceResponse) + type SearchFaceRequest struct + GroupId string + Image string + func CreateSearchFaceRequest() (request *SearchFaceRequest) + type SearchFaceResponse struct + Code int + Data Data + Message string + RequestId string + Success bool + func CreateSearchFaceResponse() (response *SearchFaceResponse) + type SyncFacePicturesRequest struct + DeviceName string + GroupId string + IotId string + ProductKey string + func CreateSyncFacePicturesRequest() (request *SyncFacePicturesRequest) + type SyncFacePicturesResponse struct + Code int + Message string + RequestId string + Success bool + func CreateSyncFacePicturesResponse() (response *SyncFacePicturesResponse) + type TopUserItem struct + TopUserItemItem []TopUserItemItem + type TopUserItemItem struct + Score float64 + UserId string + type UnlinkFaceRequest struct + GroupId string + UserId string + func CreateUnlinkFaceRequest() (request *UnlinkFaceRequest) + type UnlinkFaceResponse struct + Code int + Message string + RequestId string + Success bool + func CreateUnlinkFaceResponse() (response *UnlinkFaceResponse) + type UpdateFaceRequest struct + Image string + UserId string + UserInfo string + func CreateUpdateFaceRequest() (request *UpdateFaceRequest) + type UpdateFaceResponse struct + Code int + Message string + RequestId string + Success bool + func CreateUpdateFaceResponse() (response *UpdateFaceResponse) + type UserFaceMetas struct + UserFaceMetasItem []UserFaceMetasItem + type UserFaceMetasItem struct + ClientTag string + FaceUrl string + Index int + UserInfo string