green

package
v0.0.0-...-4a3a38f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFacesRequest

type AddFacesRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

AddFacesRequest is the request struct for api AddFaces

func CreateAddFacesRequest

func CreateAddFacesRequest() (request *AddFacesRequest)

CreateAddFacesRequest creates a request to invoke AddFaces API

type AddFacesResponse

type AddFacesResponse struct {
	*responses.BaseResponse
}

AddFacesResponse is the response struct for api AddFaces

func CreateAddFacesResponse

func CreateAddFacesResponse() (response *AddFacesResponse)

CreateAddFacesResponse creates a response to parse from AddFaces response

type AddGroupsRequest

type AddGroupsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

AddGroupsRequest is the request struct for api AddGroups

func CreateAddGroupsRequest

func CreateAddGroupsRequest() (request *AddGroupsRequest)

CreateAddGroupsRequest creates a request to invoke AddGroups API

type AddGroupsResponse

type AddGroupsResponse struct {
	*responses.BaseResponse
}

AddGroupsResponse is the response struct for api AddGroups

func CreateAddGroupsResponse

func CreateAddGroupsResponse() (response *AddGroupsResponse)

CreateAddGroupsResponse creates a response to parse from AddGroups response

type AddPersonRequest

type AddPersonRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

AddPersonRequest is the request struct for api AddPerson

func CreateAddPersonRequest

func CreateAddPersonRequest() (request *AddPersonRequest)

CreateAddPersonRequest creates a request to invoke AddPerson API

type AddPersonResponse

type AddPersonResponse struct {
	*responses.BaseResponse
}

AddPersonResponse is the response struct for api AddPerson

func CreateAddPersonResponse

func CreateAddPersonResponse() (response *AddPersonResponse)

CreateAddPersonResponse creates a response to parse from AddPerson response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html

func (*Client) AddFaces

func (client *Client) AddFaces(request *AddFacesRequest) (response *AddFacesResponse, err error)

AddFaces invokes the green.AddFaces API synchronously api document: https://help.aliyun.com/api/green/addfaces.html

func (*Client) AddFacesWithCallback

func (client *Client) AddFacesWithCallback(request *AddFacesRequest, callback func(response *AddFacesResponse, err error)) <-chan int

AddFacesWithCallback invokes the green.AddFaces API asynchronously api document: https://help.aliyun.com/api/green/addfaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddFacesWithChan

func (client *Client) AddFacesWithChan(request *AddFacesRequest) (<-chan *AddFacesResponse, <-chan error)

AddFacesWithChan invokes the green.AddFaces API asynchronously api document: https://help.aliyun.com/api/green/addfaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddGroups

func (client *Client) AddGroups(request *AddGroupsRequest) (response *AddGroupsResponse, err error)

AddGroups invokes the green.AddGroups API synchronously api document: https://help.aliyun.com/api/green/addgroups.html

func (*Client) AddGroupsWithCallback

func (client *Client) AddGroupsWithCallback(request *AddGroupsRequest, callback func(response *AddGroupsResponse, err error)) <-chan int

AddGroupsWithCallback invokes the green.AddGroups API asynchronously api document: https://help.aliyun.com/api/green/addgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddGroupsWithChan

func (client *Client) AddGroupsWithChan(request *AddGroupsRequest) (<-chan *AddGroupsResponse, <-chan error)

AddGroupsWithChan invokes the green.AddGroups API asynchronously api document: https://help.aliyun.com/api/green/addgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddPerson

func (client *Client) AddPerson(request *AddPersonRequest) (response *AddPersonResponse, err error)

AddPerson invokes the green.AddPerson API synchronously api document: https://help.aliyun.com/api/green/addperson.html

func (*Client) AddPersonWithCallback

func (client *Client) AddPersonWithCallback(request *AddPersonRequest, callback func(response *AddPersonResponse, err error)) <-chan int

AddPersonWithCallback invokes the green.AddPerson API asynchronously api document: https://help.aliyun.com/api/green/addperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) AddPersonWithChan

func (client *Client) AddPersonWithChan(request *AddPersonRequest) (<-chan *AddPersonResponse, <-chan error)

AddPersonWithChan invokes the green.AddPerson API asynchronously api document: https://help.aliyun.com/api/green/addperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFaces

func (client *Client) DeleteFaces(request *DeleteFacesRequest) (response *DeleteFacesResponse, err error)

DeleteFaces invokes the green.DeleteFaces API synchronously api document: https://help.aliyun.com/api/green/deletefaces.html

func (*Client) DeleteFacesWithCallback

func (client *Client) DeleteFacesWithCallback(request *DeleteFacesRequest, callback func(response *DeleteFacesResponse, err error)) <-chan int

DeleteFacesWithCallback invokes the green.DeleteFaces API asynchronously api document: https://help.aliyun.com/api/green/deletefaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFacesWithChan

func (client *Client) DeleteFacesWithChan(request *DeleteFacesRequest) (<-chan *DeleteFacesResponse, <-chan error)

DeleteFacesWithChan invokes the green.DeleteFaces API asynchronously api document: https://help.aliyun.com/api/green/deletefaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteGroups

func (client *Client) DeleteGroups(request *DeleteGroupsRequest) (response *DeleteGroupsResponse, err error)

DeleteGroups invokes the green.DeleteGroups API synchronously api document: https://help.aliyun.com/api/green/deletegroups.html

func (*Client) DeleteGroupsWithCallback

func (client *Client) DeleteGroupsWithCallback(request *DeleteGroupsRequest, callback func(response *DeleteGroupsResponse, err error)) <-chan int

DeleteGroupsWithCallback invokes the green.DeleteGroups API asynchronously api document: https://help.aliyun.com/api/green/deletegroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteGroupsWithChan

func (client *Client) DeleteGroupsWithChan(request *DeleteGroupsRequest) (<-chan *DeleteGroupsResponse, <-chan error)

DeleteGroupsWithChan invokes the green.DeleteGroups API asynchronously api document: https://help.aliyun.com/api/green/deletegroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeletePerson

func (client *Client) DeletePerson(request *DeletePersonRequest) (response *DeletePersonResponse, err error)

DeletePerson invokes the green.DeletePerson API synchronously api document: https://help.aliyun.com/api/green/deleteperson.html

func (*Client) DeletePersonWithCallback

func (client *Client) DeletePersonWithCallback(request *DeletePersonRequest, callback func(response *DeletePersonResponse, err error)) <-chan int

DeletePersonWithCallback invokes the green.DeletePerson API asynchronously api document: https://help.aliyun.com/api/green/deleteperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeletePersonWithChan

func (client *Client) DeletePersonWithChan(request *DeletePersonRequest) (<-chan *DeletePersonResponse, <-chan error)

DeletePersonWithChan invokes the green.DeletePerson API asynchronously api document: https://help.aliyun.com/api/green/deleteperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) FileAsyncScan

func (client *Client) FileAsyncScan(request *FileAsyncScanRequest) (response *FileAsyncScanResponse, err error)

FileAsyncScan invokes the green.FileAsyncScan API synchronously api document: https://help.aliyun.com/api/green/fileasyncscan.html

func (*Client) FileAsyncScanResults

func (client *Client) FileAsyncScanResults(request *FileAsyncScanResultsRequest) (response *FileAsyncScanResultsResponse, err error)

FileAsyncScanResults invokes the green.FileAsyncScanResults API synchronously api document: https://help.aliyun.com/api/green/fileasyncscanresults.html

func (*Client) FileAsyncScanResultsWithCallback

func (client *Client) FileAsyncScanResultsWithCallback(request *FileAsyncScanResultsRequest, callback func(response *FileAsyncScanResultsResponse, err error)) <-chan int

FileAsyncScanResultsWithCallback invokes the green.FileAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/fileasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) FileAsyncScanResultsWithChan

func (client *Client) FileAsyncScanResultsWithChan(request *FileAsyncScanResultsRequest) (<-chan *FileAsyncScanResultsResponse, <-chan error)

FileAsyncScanResultsWithChan invokes the green.FileAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/fileasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) FileAsyncScanWithCallback

func (client *Client) FileAsyncScanWithCallback(request *FileAsyncScanRequest, callback func(response *FileAsyncScanResponse, err error)) <-chan int

FileAsyncScanWithCallback invokes the green.FileAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/fileasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) FileAsyncScanWithChan

func (client *Client) FileAsyncScanWithChan(request *FileAsyncScanRequest) (<-chan *FileAsyncScanResponse, <-chan error)

FileAsyncScanWithChan invokes the green.FileAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/fileasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetFaces

func (client *Client) GetFaces(request *GetFacesRequest) (response *GetFacesResponse, err error)

GetFaces invokes the green.GetFaces API synchronously api document: https://help.aliyun.com/api/green/getfaces.html

func (*Client) GetFacesWithCallback

func (client *Client) GetFacesWithCallback(request *GetFacesRequest, callback func(response *GetFacesResponse, err error)) <-chan int

GetFacesWithCallback invokes the green.GetFaces API asynchronously api document: https://help.aliyun.com/api/green/getfaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetFacesWithChan

func (client *Client) GetFacesWithChan(request *GetFacesRequest) (<-chan *GetFacesResponse, <-chan error)

GetFacesWithChan invokes the green.GetFaces API asynchronously api document: https://help.aliyun.com/api/green/getfaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetGroups

func (client *Client) GetGroups(request *GetGroupsRequest) (response *GetGroupsResponse, err error)

GetGroups invokes the green.GetGroups API synchronously api document: https://help.aliyun.com/api/green/getgroups.html

func (*Client) GetGroupsWithCallback

func (client *Client) GetGroupsWithCallback(request *GetGroupsRequest, callback func(response *GetGroupsResponse, err error)) <-chan int

GetGroupsWithCallback invokes the green.GetGroups API asynchronously api document: https://help.aliyun.com/api/green/getgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetGroupsWithChan

func (client *Client) GetGroupsWithChan(request *GetGroupsRequest) (<-chan *GetGroupsResponse, <-chan error)

GetGroupsWithChan invokes the green.GetGroups API asynchronously api document: https://help.aliyun.com/api/green/getgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPerson

func (client *Client) GetPerson(request *GetPersonRequest) (response *GetPersonResponse, err error)

GetPerson invokes the green.GetPerson API synchronously api document: https://help.aliyun.com/api/green/getperson.html

func (*Client) GetPersonWithCallback

func (client *Client) GetPersonWithCallback(request *GetPersonRequest, callback func(response *GetPersonResponse, err error)) <-chan int

GetPersonWithCallback invokes the green.GetPerson API asynchronously api document: https://help.aliyun.com/api/green/getperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPersonWithChan

func (client *Client) GetPersonWithChan(request *GetPersonRequest) (<-chan *GetPersonResponse, <-chan error)

GetPersonWithChan invokes the green.GetPerson API asynchronously api document: https://help.aliyun.com/api/green/getperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPersons

func (client *Client) GetPersons(request *GetPersonsRequest) (response *GetPersonsResponse, err error)

GetPersons invokes the green.GetPersons API synchronously api document: https://help.aliyun.com/api/green/getpersons.html

func (*Client) GetPersonsWithCallback

func (client *Client) GetPersonsWithCallback(request *GetPersonsRequest, callback func(response *GetPersonsResponse, err error)) <-chan int

GetPersonsWithCallback invokes the green.GetPersons API asynchronously api document: https://help.aliyun.com/api/green/getpersons.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPersonsWithChan

func (client *Client) GetPersonsWithChan(request *GetPersonsRequest) (<-chan *GetPersonsResponse, <-chan error)

GetPersonsWithChan invokes the green.GetPersons API asynchronously api document: https://help.aliyun.com/api/green/getpersons.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageAsyncScan

func (client *Client) ImageAsyncScan(request *ImageAsyncScanRequest) (response *ImageAsyncScanResponse, err error)

ImageAsyncScan invokes the green.ImageAsyncScan API synchronously api document: https://help.aliyun.com/api/green/imageasyncscan.html

func (*Client) ImageAsyncScanResults

func (client *Client) ImageAsyncScanResults(request *ImageAsyncScanResultsRequest) (response *ImageAsyncScanResultsResponse, err error)

ImageAsyncScanResults invokes the green.ImageAsyncScanResults API synchronously api document: https://help.aliyun.com/api/green/imageasyncscanresults.html

func (*Client) ImageAsyncScanResultsWithCallback

func (client *Client) ImageAsyncScanResultsWithCallback(request *ImageAsyncScanResultsRequest, callback func(response *ImageAsyncScanResultsResponse, err error)) <-chan int

ImageAsyncScanResultsWithCallback invokes the green.ImageAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/imageasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageAsyncScanResultsWithChan

func (client *Client) ImageAsyncScanResultsWithChan(request *ImageAsyncScanResultsRequest) (<-chan *ImageAsyncScanResultsResponse, <-chan error)

ImageAsyncScanResultsWithChan invokes the green.ImageAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/imageasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageAsyncScanWithCallback

func (client *Client) ImageAsyncScanWithCallback(request *ImageAsyncScanRequest, callback func(response *ImageAsyncScanResponse, err error)) <-chan int

ImageAsyncScanWithCallback invokes the green.ImageAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/imageasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageAsyncScanWithChan

func (client *Client) ImageAsyncScanWithChan(request *ImageAsyncScanRequest) (<-chan *ImageAsyncScanResponse, <-chan error)

ImageAsyncScanWithChan invokes the green.ImageAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/imageasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageScanFeedback

func (client *Client) ImageScanFeedback(request *ImageScanFeedbackRequest) (response *ImageScanFeedbackResponse, err error)

ImageScanFeedback invokes the green.ImageScanFeedback API synchronously api document: https://help.aliyun.com/api/green/imagescanfeedback.html

func (*Client) ImageScanFeedbackWithCallback

func (client *Client) ImageScanFeedbackWithCallback(request *ImageScanFeedbackRequest, callback func(response *ImageScanFeedbackResponse, err error)) <-chan int

ImageScanFeedbackWithCallback invokes the green.ImageScanFeedback API asynchronously api document: https://help.aliyun.com/api/green/imagescanfeedback.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageScanFeedbackWithChan

func (client *Client) ImageScanFeedbackWithChan(request *ImageScanFeedbackRequest) (<-chan *ImageScanFeedbackResponse, <-chan error)

ImageScanFeedbackWithChan invokes the green.ImageScanFeedback API asynchronously api document: https://help.aliyun.com/api/green/imagescanfeedback.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageSyncScan

func (client *Client) ImageSyncScan(request *ImageSyncScanRequest) (response *ImageSyncScanResponse, err error)

ImageSyncScan invokes the green.ImageSyncScan API synchronously api document: https://help.aliyun.com/api/green/imagesyncscan.html

func (*Client) ImageSyncScanWithCallback

func (client *Client) ImageSyncScanWithCallback(request *ImageSyncScanRequest, callback func(response *ImageSyncScanResponse, err error)) <-chan int

ImageSyncScanWithCallback invokes the green.ImageSyncScan API asynchronously api document: https://help.aliyun.com/api/green/imagesyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ImageSyncScanWithChan

func (client *Client) ImageSyncScanWithChan(request *ImageSyncScanRequest) (<-chan *ImageSyncScanResponse, <-chan error)

ImageSyncScanWithChan invokes the green.ImageSyncScan API asynchronously api document: https://help.aliyun.com/api/green/imagesyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) Search

func (client *Client) Search(request *SearchRequest) (response *SearchResponse, err error)

Search invokes the green.Search API synchronously api document: https://help.aliyun.com/api/green/search.html

func (*Client) SearchWithCallback

func (client *Client) SearchWithCallback(request *SearchRequest, callback func(response *SearchResponse, err error)) <-chan int

SearchWithCallback invokes the green.Search API asynchronously api document: https://help.aliyun.com/api/green/search.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SearchWithChan

func (client *Client) SearchWithChan(request *SearchRequest) (<-chan *SearchResponse, <-chan error)

SearchWithChan invokes the green.Search API asynchronously api document: https://help.aliyun.com/api/green/search.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SetPerson

func (client *Client) SetPerson(request *SetPersonRequest) (response *SetPersonResponse, err error)

SetPerson invokes the green.SetPerson API synchronously api document: https://help.aliyun.com/api/green/setperson.html

func (*Client) SetPersonWithCallback

func (client *Client) SetPersonWithCallback(request *SetPersonRequest, callback func(response *SetPersonResponse, err error)) <-chan int

SetPersonWithCallback invokes the green.SetPerson API asynchronously api document: https://help.aliyun.com/api/green/setperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SetPersonWithChan

func (client *Client) SetPersonWithChan(request *SetPersonRequest) (<-chan *SetPersonResponse, <-chan error)

SetPersonWithChan invokes the green.SetPerson API asynchronously api document: https://help.aliyun.com/api/green/setperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TextFeedback

func (client *Client) TextFeedback(request *TextFeedbackRequest) (response *TextFeedbackResponse, err error)

TextFeedback invokes the green.TextFeedback API synchronously api document: https://help.aliyun.com/api/green/textfeedback.html

func (*Client) TextFeedbackWithCallback

func (client *Client) TextFeedbackWithCallback(request *TextFeedbackRequest, callback func(response *TextFeedbackResponse, err error)) <-chan int

TextFeedbackWithCallback invokes the green.TextFeedback API asynchronously api document: https://help.aliyun.com/api/green/textfeedback.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TextFeedbackWithChan

func (client *Client) TextFeedbackWithChan(request *TextFeedbackRequest) (<-chan *TextFeedbackResponse, <-chan error)

TextFeedbackWithChan invokes the green.TextFeedback API asynchronously api document: https://help.aliyun.com/api/green/textfeedback.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TextScan

func (client *Client) TextScan(request *TextScanRequest) (response *TextScanResponse, err error)

TextScan invokes the green.TextScan API synchronously api document: https://help.aliyun.com/api/green/textscan.html

func (*Client) TextScanWithCallback

func (client *Client) TextScanWithCallback(request *TextScanRequest, callback func(response *TextScanResponse, err error)) <-chan int

TextScanWithCallback invokes the green.TextScan API asynchronously api document: https://help.aliyun.com/api/green/textscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TextScanWithChan

func (client *Client) TextScanWithChan(request *TextScanRequest) (<-chan *TextScanResponse, <-chan error)

TextScanWithChan invokes the green.TextScan API asynchronously api document: https://help.aliyun.com/api/green/textscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VideoAsyncScan

func (client *Client) VideoAsyncScan(request *VideoAsyncScanRequest) (response *VideoAsyncScanResponse, err error)

VideoAsyncScan invokes the green.VideoAsyncScan API synchronously api document: https://help.aliyun.com/api/green/videoasyncscan.html

func (*Client) VideoAsyncScanResults

func (client *Client) VideoAsyncScanResults(request *VideoAsyncScanResultsRequest) (response *VideoAsyncScanResultsResponse, err error)

VideoAsyncScanResults invokes the green.VideoAsyncScanResults API synchronously api document: https://help.aliyun.com/api/green/videoasyncscanresults.html

func (*Client) VideoAsyncScanResultsWithCallback

func (client *Client) VideoAsyncScanResultsWithCallback(request *VideoAsyncScanResultsRequest, callback func(response *VideoAsyncScanResultsResponse, err error)) <-chan int

VideoAsyncScanResultsWithCallback invokes the green.VideoAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/videoasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VideoAsyncScanResultsWithChan

func (client *Client) VideoAsyncScanResultsWithChan(request *VideoAsyncScanResultsRequest) (<-chan *VideoAsyncScanResultsResponse, <-chan error)

VideoAsyncScanResultsWithChan invokes the green.VideoAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/videoasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VideoAsyncScanWithCallback

func (client *Client) VideoAsyncScanWithCallback(request *VideoAsyncScanRequest, callback func(response *VideoAsyncScanResponse, err error)) <-chan int

VideoAsyncScanWithCallback invokes the green.VideoAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/videoasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VideoAsyncScanWithChan

func (client *Client) VideoAsyncScanWithChan(request *VideoAsyncScanRequest) (<-chan *VideoAsyncScanResponse, <-chan error)

VideoAsyncScanWithChan invokes the green.VideoAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/videoasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VideoFeedback

func (client *Client) VideoFeedback(request *VideoFeedbackRequest) (response *VideoFeedbackResponse, err error)

VideoFeedback invokes the green.VideoFeedback API synchronously api document: https://help.aliyun.com/api/green/videofeedback.html

func (*Client) VideoFeedbackWithCallback

func (client *Client) VideoFeedbackWithCallback(request *VideoFeedbackRequest, callback func(response *VideoFeedbackResponse, err error)) <-chan int

VideoFeedbackWithCallback invokes the green.VideoFeedback API asynchronously api document: https://help.aliyun.com/api/green/videofeedback.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VideoFeedbackWithChan

func (client *Client) VideoFeedbackWithChan(request *VideoFeedbackRequest) (<-chan *VideoFeedbackResponse, <-chan error)

VideoFeedbackWithChan invokes the green.VideoFeedback API asynchronously api document: https://help.aliyun.com/api/green/videofeedback.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VoiceAsyncScan

func (client *Client) VoiceAsyncScan(request *VoiceAsyncScanRequest) (response *VoiceAsyncScanResponse, err error)

VoiceAsyncScan invokes the green.VoiceAsyncScan API synchronously api document: https://help.aliyun.com/api/green/voiceasyncscan.html

func (*Client) VoiceAsyncScanResults

func (client *Client) VoiceAsyncScanResults(request *VoiceAsyncScanResultsRequest) (response *VoiceAsyncScanResultsResponse, err error)

VoiceAsyncScanResults invokes the green.VoiceAsyncScanResults API synchronously api document: https://help.aliyun.com/api/green/voiceasyncscanresults.html

func (*Client) VoiceAsyncScanResultsWithCallback

func (client *Client) VoiceAsyncScanResultsWithCallback(request *VoiceAsyncScanResultsRequest, callback func(response *VoiceAsyncScanResultsResponse, err error)) <-chan int

VoiceAsyncScanResultsWithCallback invokes the green.VoiceAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/voiceasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VoiceAsyncScanResultsWithChan

func (client *Client) VoiceAsyncScanResultsWithChan(request *VoiceAsyncScanResultsRequest) (<-chan *VoiceAsyncScanResultsResponse, <-chan error)

VoiceAsyncScanResultsWithChan invokes the green.VoiceAsyncScanResults API asynchronously api document: https://help.aliyun.com/api/green/voiceasyncscanresults.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VoiceAsyncScanWithCallback

func (client *Client) VoiceAsyncScanWithCallback(request *VoiceAsyncScanRequest, callback func(response *VoiceAsyncScanResponse, err error)) <-chan int

VoiceAsyncScanWithCallback invokes the green.VoiceAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/voiceasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) VoiceAsyncScanWithChan

func (client *Client) VoiceAsyncScanWithChan(request *VoiceAsyncScanRequest) (<-chan *VoiceAsyncScanResponse, <-chan error)

VoiceAsyncScanWithChan invokes the green.VoiceAsyncScan API asynchronously api document: https://help.aliyun.com/api/green/voiceasyncscan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type DeleteFacesRequest

type DeleteFacesRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

DeleteFacesRequest is the request struct for api DeleteFaces

func CreateDeleteFacesRequest

func CreateDeleteFacesRequest() (request *DeleteFacesRequest)

CreateDeleteFacesRequest creates a request to invoke DeleteFaces API

type DeleteFacesResponse

type DeleteFacesResponse struct {
	*responses.BaseResponse
}

DeleteFacesResponse is the response struct for api DeleteFaces

func CreateDeleteFacesResponse

func CreateDeleteFacesResponse() (response *DeleteFacesResponse)

CreateDeleteFacesResponse creates a response to parse from DeleteFaces response

type DeleteGroupsRequest

type DeleteGroupsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

DeleteGroupsRequest is the request struct for api DeleteGroups

func CreateDeleteGroupsRequest

func CreateDeleteGroupsRequest() (request *DeleteGroupsRequest)

CreateDeleteGroupsRequest creates a request to invoke DeleteGroups API

type DeleteGroupsResponse

type DeleteGroupsResponse struct {
	*responses.BaseResponse
}

DeleteGroupsResponse is the response struct for api DeleteGroups

func CreateDeleteGroupsResponse

func CreateDeleteGroupsResponse() (response *DeleteGroupsResponse)

CreateDeleteGroupsResponse creates a response to parse from DeleteGroups response

type DeletePersonRequest

type DeletePersonRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

DeletePersonRequest is the request struct for api DeletePerson

func CreateDeletePersonRequest

func CreateDeletePersonRequest() (request *DeletePersonRequest)

CreateDeletePersonRequest creates a request to invoke DeletePerson API

type DeletePersonResponse

type DeletePersonResponse struct {
	*responses.BaseResponse
}

DeletePersonResponse is the response struct for api DeletePerson

func CreateDeletePersonResponse

func CreateDeletePersonResponse() (response *DeletePersonResponse)

CreateDeletePersonResponse creates a response to parse from DeletePerson response

type FileAsyncScanRequest

type FileAsyncScanRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

FileAsyncScanRequest is the request struct for api FileAsyncScan

func CreateFileAsyncScanRequest

func CreateFileAsyncScanRequest() (request *FileAsyncScanRequest)

CreateFileAsyncScanRequest creates a request to invoke FileAsyncScan API

type FileAsyncScanResponse

type FileAsyncScanResponse struct {
	*responses.BaseResponse
}

FileAsyncScanResponse is the response struct for api FileAsyncScan

func CreateFileAsyncScanResponse

func CreateFileAsyncScanResponse() (response *FileAsyncScanResponse)

CreateFileAsyncScanResponse creates a response to parse from FileAsyncScan response

type FileAsyncScanResultsRequest

type FileAsyncScanResultsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

FileAsyncScanResultsRequest is the request struct for api FileAsyncScanResults

func CreateFileAsyncScanResultsRequest

func CreateFileAsyncScanResultsRequest() (request *FileAsyncScanResultsRequest)

CreateFileAsyncScanResultsRequest creates a request to invoke FileAsyncScanResults API

type FileAsyncScanResultsResponse

type FileAsyncScanResultsResponse struct {
	*responses.BaseResponse
}

FileAsyncScanResultsResponse is the response struct for api FileAsyncScanResults

func CreateFileAsyncScanResultsResponse

func CreateFileAsyncScanResultsResponse() (response *FileAsyncScanResultsResponse)

CreateFileAsyncScanResultsResponse creates a response to parse from FileAsyncScanResults response

type GetFacesRequest

type GetFacesRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

GetFacesRequest is the request struct for api GetFaces

func CreateGetFacesRequest

func CreateGetFacesRequest() (request *GetFacesRequest)

CreateGetFacesRequest creates a request to invoke GetFaces API

type GetFacesResponse

type GetFacesResponse struct {
	*responses.BaseResponse
}

GetFacesResponse is the response struct for api GetFaces

func CreateGetFacesResponse

func CreateGetFacesResponse() (response *GetFacesResponse)

CreateGetFacesResponse creates a response to parse from GetFaces response

type GetGroupsRequest

type GetGroupsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

GetGroupsRequest is the request struct for api GetGroups

func CreateGetGroupsRequest

func CreateGetGroupsRequest() (request *GetGroupsRequest)

CreateGetGroupsRequest creates a request to invoke GetGroups API

type GetGroupsResponse

type GetGroupsResponse struct {
	*responses.BaseResponse
}

GetGroupsResponse is the response struct for api GetGroups

func CreateGetGroupsResponse

func CreateGetGroupsResponse() (response *GetGroupsResponse)

CreateGetGroupsResponse creates a response to parse from GetGroups response

type GetPersonRequest

type GetPersonRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

GetPersonRequest is the request struct for api GetPerson

func CreateGetPersonRequest

func CreateGetPersonRequest() (request *GetPersonRequest)

CreateGetPersonRequest creates a request to invoke GetPerson API

type GetPersonResponse

type GetPersonResponse struct {
	*responses.BaseResponse
}

GetPersonResponse is the response struct for api GetPerson

func CreateGetPersonResponse

func CreateGetPersonResponse() (response *GetPersonResponse)

CreateGetPersonResponse creates a response to parse from GetPerson response

type GetPersonsRequest

type GetPersonsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

GetPersonsRequest is the request struct for api GetPersons

func CreateGetPersonsRequest

func CreateGetPersonsRequest() (request *GetPersonsRequest)

CreateGetPersonsRequest creates a request to invoke GetPersons API

type GetPersonsResponse

type GetPersonsResponse struct {
	*responses.BaseResponse
}

GetPersonsResponse is the response struct for api GetPersons

func CreateGetPersonsResponse

func CreateGetPersonsResponse() (response *GetPersonsResponse)

CreateGetPersonsResponse creates a response to parse from GetPersons response

type ImageAsyncScanRequest

type ImageAsyncScanRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

ImageAsyncScanRequest is the request struct for api ImageAsyncScan

func CreateImageAsyncScanRequest

func CreateImageAsyncScanRequest() (request *ImageAsyncScanRequest)

CreateImageAsyncScanRequest creates a request to invoke ImageAsyncScan API

type ImageAsyncScanResponse

type ImageAsyncScanResponse struct {
	*responses.BaseResponse
}

ImageAsyncScanResponse is the response struct for api ImageAsyncScan

func CreateImageAsyncScanResponse

func CreateImageAsyncScanResponse() (response *ImageAsyncScanResponse)

CreateImageAsyncScanResponse creates a response to parse from ImageAsyncScan response

type ImageAsyncScanResultsRequest

type ImageAsyncScanResultsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

ImageAsyncScanResultsRequest is the request struct for api ImageAsyncScanResults

func CreateImageAsyncScanResultsRequest

func CreateImageAsyncScanResultsRequest() (request *ImageAsyncScanResultsRequest)

CreateImageAsyncScanResultsRequest creates a request to invoke ImageAsyncScanResults API

type ImageAsyncScanResultsResponse

type ImageAsyncScanResultsResponse struct {
	*responses.BaseResponse
}

ImageAsyncScanResultsResponse is the response struct for api ImageAsyncScanResults

func CreateImageAsyncScanResultsResponse

func CreateImageAsyncScanResultsResponse() (response *ImageAsyncScanResultsResponse)

CreateImageAsyncScanResultsResponse creates a response to parse from ImageAsyncScanResults response

type ImageScanFeedbackRequest

type ImageScanFeedbackRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

ImageScanFeedbackRequest is the request struct for api ImageScanFeedback

func CreateImageScanFeedbackRequest

func CreateImageScanFeedbackRequest() (request *ImageScanFeedbackRequest)

CreateImageScanFeedbackRequest creates a request to invoke ImageScanFeedback API

type ImageScanFeedbackResponse

type ImageScanFeedbackResponse struct {
	*responses.BaseResponse
}

ImageScanFeedbackResponse is the response struct for api ImageScanFeedback

func CreateImageScanFeedbackResponse

func CreateImageScanFeedbackResponse() (response *ImageScanFeedbackResponse)

CreateImageScanFeedbackResponse creates a response to parse from ImageScanFeedback response

type ImageSyncScanRequest

type ImageSyncScanRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

ImageSyncScanRequest is the request struct for api ImageSyncScan

func CreateImageSyncScanRequest

func CreateImageSyncScanRequest() (request *ImageSyncScanRequest)

CreateImageSyncScanRequest creates a request to invoke ImageSyncScan API

type ImageSyncScanResponse

type ImageSyncScanResponse struct {
	*responses.BaseResponse
}

ImageSyncScanResponse is the response struct for api ImageSyncScan

func CreateImageSyncScanResponse

func CreateImageSyncScanResponse() (response *ImageSyncScanResponse)

CreateImageSyncScanResponse creates a response to parse from ImageSyncScan response

type SearchRequest

type SearchRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

SearchRequest is the request struct for api Search

func CreateSearchRequest

func CreateSearchRequest() (request *SearchRequest)

CreateSearchRequest creates a request to invoke Search API

type SearchResponse

type SearchResponse struct {
	*responses.BaseResponse
}

SearchResponse is the response struct for api Search

func CreateSearchResponse

func CreateSearchResponse() (response *SearchResponse)

CreateSearchResponse creates a response to parse from Search response

type SetPersonRequest

type SetPersonRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

SetPersonRequest is the request struct for api SetPerson

func CreateSetPersonRequest

func CreateSetPersonRequest() (request *SetPersonRequest)

CreateSetPersonRequest creates a request to invoke SetPerson API

type SetPersonResponse

type SetPersonResponse struct {
	*responses.BaseResponse
}

SetPersonResponse is the response struct for api SetPerson

func CreateSetPersonResponse

func CreateSetPersonResponse() (response *SetPersonResponse)

CreateSetPersonResponse creates a response to parse from SetPerson response

type TextFeedbackRequest

type TextFeedbackRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

TextFeedbackRequest is the request struct for api TextFeedback

func CreateTextFeedbackRequest

func CreateTextFeedbackRequest() (request *TextFeedbackRequest)

CreateTextFeedbackRequest creates a request to invoke TextFeedback API

type TextFeedbackResponse

type TextFeedbackResponse struct {
	*responses.BaseResponse
}

TextFeedbackResponse is the response struct for api TextFeedback

func CreateTextFeedbackResponse

func CreateTextFeedbackResponse() (response *TextFeedbackResponse)

CreateTextFeedbackResponse creates a response to parse from TextFeedback response

type TextScanRequest

type TextScanRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

TextScanRequest is the request struct for api TextScan

func CreateTextScanRequest

func CreateTextScanRequest() (request *TextScanRequest)

CreateTextScanRequest creates a request to invoke TextScan API

type TextScanResponse

type TextScanResponse struct {
	*responses.BaseResponse
}

TextScanResponse is the response struct for api TextScan

func CreateTextScanResponse

func CreateTextScanResponse() (response *TextScanResponse)

CreateTextScanResponse creates a response to parse from TextScan response

type VideoAsyncScanRequest

type VideoAsyncScanRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

VideoAsyncScanRequest is the request struct for api VideoAsyncScan

func CreateVideoAsyncScanRequest

func CreateVideoAsyncScanRequest() (request *VideoAsyncScanRequest)

CreateVideoAsyncScanRequest creates a request to invoke VideoAsyncScan API

type VideoAsyncScanResponse

type VideoAsyncScanResponse struct {
	*responses.BaseResponse
}

VideoAsyncScanResponse is the response struct for api VideoAsyncScan

func CreateVideoAsyncScanResponse

func CreateVideoAsyncScanResponse() (response *VideoAsyncScanResponse)

CreateVideoAsyncScanResponse creates a response to parse from VideoAsyncScan response

type VideoAsyncScanResultsRequest

type VideoAsyncScanResultsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

VideoAsyncScanResultsRequest is the request struct for api VideoAsyncScanResults

func CreateVideoAsyncScanResultsRequest

func CreateVideoAsyncScanResultsRequest() (request *VideoAsyncScanResultsRequest)

CreateVideoAsyncScanResultsRequest creates a request to invoke VideoAsyncScanResults API

type VideoAsyncScanResultsResponse

type VideoAsyncScanResultsResponse struct {
	*responses.BaseResponse
}

VideoAsyncScanResultsResponse is the response struct for api VideoAsyncScanResults

func CreateVideoAsyncScanResultsResponse

func CreateVideoAsyncScanResultsResponse() (response *VideoAsyncScanResultsResponse)

CreateVideoAsyncScanResultsResponse creates a response to parse from VideoAsyncScanResults response

type VideoFeedbackRequest

type VideoFeedbackRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

VideoFeedbackRequest is the request struct for api VideoFeedback

func CreateVideoFeedbackRequest

func CreateVideoFeedbackRequest() (request *VideoFeedbackRequest)

CreateVideoFeedbackRequest creates a request to invoke VideoFeedback API

type VideoFeedbackResponse

type VideoFeedbackResponse struct {
	*responses.BaseResponse
}

VideoFeedbackResponse is the response struct for api VideoFeedback

func CreateVideoFeedbackResponse

func CreateVideoFeedbackResponse() (response *VideoFeedbackResponse)

CreateVideoFeedbackResponse creates a response to parse from VideoFeedback response

type VoiceAsyncScanRequest

type VoiceAsyncScanRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

VoiceAsyncScanRequest is the request struct for api VoiceAsyncScan

func CreateVoiceAsyncScanRequest

func CreateVoiceAsyncScanRequest() (request *VoiceAsyncScanRequest)

CreateVoiceAsyncScanRequest creates a request to invoke VoiceAsyncScan API

type VoiceAsyncScanResponse

type VoiceAsyncScanResponse struct {
	*responses.BaseResponse
}

VoiceAsyncScanResponse is the response struct for api VoiceAsyncScan

func CreateVoiceAsyncScanResponse

func CreateVoiceAsyncScanResponse() (response *VoiceAsyncScanResponse)

CreateVoiceAsyncScanResponse creates a response to parse from VoiceAsyncScan response

type VoiceAsyncScanResultsRequest

type VoiceAsyncScanResultsRequest struct {
	*requests.RoaRequest
	ClientInfo string `position:"Query" name:"ClientInfo"`
}

VoiceAsyncScanResultsRequest is the request struct for api VoiceAsyncScanResults

func CreateVoiceAsyncScanResultsRequest

func CreateVoiceAsyncScanResultsRequest() (request *VoiceAsyncScanResultsRequest)

CreateVoiceAsyncScanResultsRequest creates a request to invoke VoiceAsyncScanResults API

type VoiceAsyncScanResultsResponse

type VoiceAsyncScanResultsResponse struct {
	*responses.BaseResponse
}

VoiceAsyncScanResultsResponse is the response struct for api VoiceAsyncScanResults

func CreateVoiceAsyncScanResultsResponse

func CreateVoiceAsyncScanResultsResponse() (response *VoiceAsyncScanResultsResponse)

CreateVoiceAsyncScanResultsResponse creates a response to parse from VoiceAsyncScanResults response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL