arms4finance

package
v0.0.0-...-dd20015 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 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 ARMSQueryDataSetDimensions

type ARMSQueryDataSetDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

ARMSQueryDataSetDimensions is a repeated param struct in ARMSQueryDataSetRequest

type ARMSQueryDataSetRequest

type ARMSQueryDataSetRequest struct {
	*requests.RpcRequest
	DatasetId     requests.Integer              `position:"Query" name:"DatasetId"`
	IntervalInSec requests.Integer              `position:"Query" name:"IntervalInSec"`
	DateStr       string                        `position:"Query" name:"DateStr"`
	MinTime       requests.Integer              `position:"Query" name:"MinTime"`
	MaxTime       requests.Integer              `position:"Query" name:"MaxTime"`
	Dimensions    *[]ARMSQueryDataSetDimensions `position:"Query" name:"Dimensions"  type:"Repeated"`
	Measures      *[]string                     `position:"Query" name:"Measures"  type:"Repeated"`
	IsDrillDown   requests.Boolean              `position:"Query" name:"IsDrillDown"`
}

ARMSQueryDataSetRequest is the request struct for api ARMSQueryDataSet

func CreateARMSQueryDataSetRequest

func CreateARMSQueryDataSetRequest() (request *ARMSQueryDataSetRequest)

CreateARMSQueryDataSetRequest creates a request to invoke ARMSQueryDataSet API

type ARMSQueryDataSetResponse

type ARMSQueryDataSetResponse struct {
	*responses.BaseResponse
	Data string `json:"Data" xml:"Data"`
}

ARMSQueryDataSetResponse is the response struct for api ARMSQueryDataSet

func CreateARMSQueryDataSetResponse

func CreateARMSQueryDataSetResponse() (response *ARMSQueryDataSetResponse)

CreateARMSQueryDataSetResponse creates a response to parse from ARMSQueryDataSet 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) ARMSQueryDataSet

func (client *Client) ARMSQueryDataSet(request *ARMSQueryDataSetRequest) (response *ARMSQueryDataSetResponse, err error)

ARMSQueryDataSet invokes the arms4finance.ARMSQueryDataSet API synchronously api document: https://help.aliyun.com/api/arms4finance/armsquerydataset.html

func (*Client) ARMSQueryDataSetWithCallback

func (client *Client) ARMSQueryDataSetWithCallback(request *ARMSQueryDataSetRequest, callback func(response *ARMSQueryDataSetResponse, err error)) <-chan int

ARMSQueryDataSetWithCallback invokes the arms4finance.ARMSQueryDataSet API asynchronously api document: https://help.aliyun.com/api/arms4finance/armsquerydataset.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ARMSQueryDataSetWithChan

func (client *Client) ARMSQueryDataSetWithChan(request *ARMSQueryDataSetRequest) (<-chan *ARMSQueryDataSetResponse, <-chan error)

ARMSQueryDataSetWithChan invokes the arms4finance.ARMSQueryDataSet API asynchronously api document: https://help.aliyun.com/api/arms4finance/armsquerydataset.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) WhereInDimQuery

func (client *Client) WhereInDimQuery(request *WhereInDimQueryRequest) (response *WhereInDimQueryResponse, err error)

WhereInDimQuery invokes the arms4finance.WhereInDimQuery API synchronously api document: https://help.aliyun.com/api/arms4finance/whereindimquery.html

func (*Client) WhereInDimQueryWithCallback

func (client *Client) WhereInDimQueryWithCallback(request *WhereInDimQueryRequest, callback func(response *WhereInDimQueryResponse, err error)) <-chan int

WhereInDimQueryWithCallback invokes the arms4finance.WhereInDimQuery API asynchronously api document: https://help.aliyun.com/api/arms4finance/whereindimquery.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) WhereInDimQueryWithChan

func (client *Client) WhereInDimQueryWithChan(request *WhereInDimQueryRequest) (<-chan *WhereInDimQueryResponse, <-chan error)

WhereInDimQueryWithChan invokes the arms4finance.WhereInDimQuery API asynchronously api document: https://help.aliyun.com/api/arms4finance/whereindimquery.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type WhereInDimQueryDimensions

type WhereInDimQueryDimensions struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

WhereInDimQueryDimensions is a repeated param struct in WhereInDimQueryRequest

type WhereInDimQueryRequest

type WhereInDimQueryRequest struct {
	*requests.RpcRequest
	DatasetId     requests.Integer             `position:"Query" name:"DatasetId"`
	IntervalInSec requests.Integer             `position:"Query" name:"IntervalInSec"`
	DateStr       string                       `position:"Query" name:"DateStr"`
	MinTime       requests.Integer             `position:"Query" name:"MinTime"`
	MaxTime       requests.Integer             `position:"Query" name:"MaxTime"`
	Dimensions    *[]WhereInDimQueryDimensions `position:"Query" name:"Dimensions"  type:"Repeated"`
	WhereInKey    string                       `position:"Query" name:"WhereInKey"`
	WhereInValues *[]string                    `position:"Query" name:"WhereInValues"  type:"Repeated"`
	Measures      *[]string                    `position:"Query" name:"Measures"  type:"Repeated"`
	IsDrillDown   requests.Boolean             `position:"Query" name:"IsDrillDown"`
}

WhereInDimQueryRequest is the request struct for api WhereInDimQuery

func CreateWhereInDimQueryRequest

func CreateWhereInDimQueryRequest() (request *WhereInDimQueryRequest)

CreateWhereInDimQueryRequest creates a request to invoke WhereInDimQuery API

type WhereInDimQueryResponse

type WhereInDimQueryResponse struct {
	*responses.BaseResponse
	Data string `json:"Data" xml:"Data"`
}

WhereInDimQueryResponse is the response struct for api WhereInDimQuery

func CreateWhereInDimQueryResponse

func CreateWhereInDimQueryResponse() (response *WhereInDimQueryResponse)

CreateWhereInDimQueryResponse creates a response to parse from WhereInDimQuery response

Jump to

Keyboard shortcuts

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