actiontrail

package
v1.61.1038 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.60.278

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.60.278

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.60.278

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.60.278

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

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 NewClientWithProvider added in v1.60.278

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy added in v1.60.278

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

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

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 usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) CreateDeliveryHistoryJob added in v1.61.697

func (client *Client) CreateDeliveryHistoryJob(request *CreateDeliveryHistoryJobRequest) (response *CreateDeliveryHistoryJobResponse, err error)

CreateDeliveryHistoryJob invokes the actiontrail.CreateDeliveryHistoryJob API synchronously

func (*Client) CreateDeliveryHistoryJobWithCallback added in v1.61.697

func (client *Client) CreateDeliveryHistoryJobWithCallback(request *CreateDeliveryHistoryJobRequest, callback func(response *CreateDeliveryHistoryJobResponse, err error)) <-chan int

CreateDeliveryHistoryJobWithCallback invokes the actiontrail.CreateDeliveryHistoryJob API asynchronously

func (*Client) CreateDeliveryHistoryJobWithChan added in v1.61.697

func (client *Client) CreateDeliveryHistoryJobWithChan(request *CreateDeliveryHistoryJobRequest) (<-chan *CreateDeliveryHistoryJobResponse, <-chan error)

CreateDeliveryHistoryJobWithChan invokes the actiontrail.CreateDeliveryHistoryJob API asynchronously

func (*Client) CreateTrail

func (client *Client) CreateTrail(request *CreateTrailRequest) (response *CreateTrailResponse, err error)

CreateTrail invokes the actiontrail.CreateTrail API synchronously

func (*Client) CreateTrailWithCallback

func (client *Client) CreateTrailWithCallback(request *CreateTrailRequest, callback func(response *CreateTrailResponse, err error)) <-chan int

CreateTrailWithCallback invokes the actiontrail.CreateTrail API asynchronously

func (*Client) CreateTrailWithChan

func (client *Client) CreateTrailWithChan(request *CreateTrailRequest) (<-chan *CreateTrailResponse, <-chan error)

CreateTrailWithChan invokes the actiontrail.CreateTrail API asynchronously

func (*Client) DeleteDeliveryHistoryJob added in v1.61.697

func (client *Client) DeleteDeliveryHistoryJob(request *DeleteDeliveryHistoryJobRequest) (response *DeleteDeliveryHistoryJobResponse, err error)

DeleteDeliveryHistoryJob invokes the actiontrail.DeleteDeliveryHistoryJob API synchronously

func (*Client) DeleteDeliveryHistoryJobWithCallback added in v1.61.697

func (client *Client) DeleteDeliveryHistoryJobWithCallback(request *DeleteDeliveryHistoryJobRequest, callback func(response *DeleteDeliveryHistoryJobResponse, err error)) <-chan int

DeleteDeliveryHistoryJobWithCallback invokes the actiontrail.DeleteDeliveryHistoryJob API asynchronously

func (*Client) DeleteDeliveryHistoryJobWithChan added in v1.61.697

func (client *Client) DeleteDeliveryHistoryJobWithChan(request *DeleteDeliveryHistoryJobRequest) (<-chan *DeleteDeliveryHistoryJobResponse, <-chan error)

DeleteDeliveryHistoryJobWithChan invokes the actiontrail.DeleteDeliveryHistoryJob API asynchronously

func (*Client) DeleteTrail

func (client *Client) DeleteTrail(request *DeleteTrailRequest) (response *DeleteTrailResponse, err error)

DeleteTrail invokes the actiontrail.DeleteTrail API synchronously

func (*Client) DeleteTrailWithCallback

func (client *Client) DeleteTrailWithCallback(request *DeleteTrailRequest, callback func(response *DeleteTrailResponse, err error)) <-chan int

DeleteTrailWithCallback invokes the actiontrail.DeleteTrail API asynchronously

func (*Client) DeleteTrailWithChan

func (client *Client) DeleteTrailWithChan(request *DeleteTrailRequest) (<-chan *DeleteTrailResponse, <-chan error)

DeleteTrailWithChan invokes the actiontrail.DeleteTrail API asynchronously

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the actiontrail.DescribeRegions API synchronously

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the actiontrail.DescribeRegions API asynchronously

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the actiontrail.DescribeRegions API asynchronously

func (*Client) DescribeTrails

func (client *Client) DescribeTrails(request *DescribeTrailsRequest) (response *DescribeTrailsResponse, err error)

DescribeTrails invokes the actiontrail.DescribeTrails API synchronously

func (*Client) DescribeTrailsWithCallback

func (client *Client) DescribeTrailsWithCallback(request *DescribeTrailsRequest, callback func(response *DescribeTrailsResponse, err error)) <-chan int

DescribeTrailsWithCallback invokes the actiontrail.DescribeTrails API asynchronously

func (*Client) DescribeTrailsWithChan

func (client *Client) DescribeTrailsWithChan(request *DescribeTrailsRequest) (<-chan *DescribeTrailsResponse, <-chan error)

DescribeTrailsWithChan invokes the actiontrail.DescribeTrails API asynchronously

func (*Client) GetTrailStatus

func (client *Client) GetTrailStatus(request *GetTrailStatusRequest) (response *GetTrailStatusResponse, err error)

GetTrailStatus invokes the actiontrail.GetTrailStatus API synchronously

func (*Client) GetTrailStatusWithCallback

func (client *Client) GetTrailStatusWithCallback(request *GetTrailStatusRequest, callback func(response *GetTrailStatusResponse, err error)) <-chan int

GetTrailStatusWithCallback invokes the actiontrail.GetTrailStatus API asynchronously

func (*Client) GetTrailStatusWithChan

func (client *Client) GetTrailStatusWithChan(request *GetTrailStatusRequest) (<-chan *GetTrailStatusResponse, <-chan error)

GetTrailStatusWithChan invokes the actiontrail.GetTrailStatus API asynchronously

func (*Client) ListDeliveryHistoryJobs added in v1.61.697

func (client *Client) ListDeliveryHistoryJobs(request *ListDeliveryHistoryJobsRequest) (response *ListDeliveryHistoryJobsResponse, err error)

ListDeliveryHistoryJobs invokes the actiontrail.ListDeliveryHistoryJobs API synchronously

func (*Client) ListDeliveryHistoryJobsWithCallback added in v1.61.697

func (client *Client) ListDeliveryHistoryJobsWithCallback(request *ListDeliveryHistoryJobsRequest, callback func(response *ListDeliveryHistoryJobsResponse, err error)) <-chan int

ListDeliveryHistoryJobsWithCallback invokes the actiontrail.ListDeliveryHistoryJobs API asynchronously

func (*Client) ListDeliveryHistoryJobsWithChan added in v1.61.697

func (client *Client) ListDeliveryHistoryJobsWithChan(request *ListDeliveryHistoryJobsRequest) (<-chan *ListDeliveryHistoryJobsResponse, <-chan error)

ListDeliveryHistoryJobsWithChan invokes the actiontrail.ListDeliveryHistoryJobs API asynchronously

func (*Client) LookupEvents

func (client *Client) LookupEvents(request *LookupEventsRequest) (response *LookupEventsResponse, err error)

LookupEvents invokes the actiontrail.LookupEvents API synchronously

func (*Client) LookupEventsWithCallback

func (client *Client) LookupEventsWithCallback(request *LookupEventsRequest, callback func(response *LookupEventsResponse, err error)) <-chan int

LookupEventsWithCallback invokes the actiontrail.LookupEvents API asynchronously

func (*Client) LookupEventsWithChan

func (client *Client) LookupEventsWithChan(request *LookupEventsRequest) (<-chan *LookupEventsResponse, <-chan error)

LookupEventsWithChan invokes the actiontrail.LookupEvents API asynchronously

func (*Client) StartLogging

func (client *Client) StartLogging(request *StartLoggingRequest) (response *StartLoggingResponse, err error)

StartLogging invokes the actiontrail.StartLogging API synchronously

func (*Client) StartLoggingWithCallback

func (client *Client) StartLoggingWithCallback(request *StartLoggingRequest, callback func(response *StartLoggingResponse, err error)) <-chan int

StartLoggingWithCallback invokes the actiontrail.StartLogging API asynchronously

func (*Client) StartLoggingWithChan

func (client *Client) StartLoggingWithChan(request *StartLoggingRequest) (<-chan *StartLoggingResponse, <-chan error)

StartLoggingWithChan invokes the actiontrail.StartLogging API asynchronously

func (*Client) StopLogging

func (client *Client) StopLogging(request *StopLoggingRequest) (response *StopLoggingResponse, err error)

StopLogging invokes the actiontrail.StopLogging API synchronously

func (*Client) StopLoggingWithCallback

func (client *Client) StopLoggingWithCallback(request *StopLoggingRequest, callback func(response *StopLoggingResponse, err error)) <-chan int

StopLoggingWithCallback invokes the actiontrail.StopLogging API asynchronously

func (*Client) StopLoggingWithChan

func (client *Client) StopLoggingWithChan(request *StopLoggingRequest) (<-chan *StopLoggingResponse, <-chan error)

StopLoggingWithChan invokes the actiontrail.StopLogging API asynchronously

func (*Client) UpdateTrail

func (client *Client) UpdateTrail(request *UpdateTrailRequest) (response *UpdateTrailResponse, err error)

UpdateTrail invokes the actiontrail.UpdateTrail API synchronously

func (*Client) UpdateTrailWithCallback

func (client *Client) UpdateTrailWithCallback(request *UpdateTrailRequest, callback func(response *UpdateTrailResponse, err error)) <-chan int

UpdateTrailWithCallback invokes the actiontrail.UpdateTrail API asynchronously

func (*Client) UpdateTrailWithChan

func (client *Client) UpdateTrailWithChan(request *UpdateTrailRequest) (<-chan *UpdateTrailResponse, <-chan error)

UpdateTrailWithChan invokes the actiontrail.UpdateTrail API asynchronously

type CreateDeliveryHistoryJobRequest added in v1.61.697

type CreateDeliveryHistoryJobRequest struct {
	*requests.RpcRequest
	ClientToken string `position:"Query" name:"ClientToken"`
	TrailName   string `position:"Query" name:"TrailName"`
}

CreateDeliveryHistoryJobRequest is the request struct for api CreateDeliveryHistoryJob

func CreateCreateDeliveryHistoryJobRequest added in v1.61.697

func CreateCreateDeliveryHistoryJobRequest() (request *CreateDeliveryHistoryJobRequest)

CreateCreateDeliveryHistoryJobRequest creates a request to invoke CreateDeliveryHistoryJob API

type CreateDeliveryHistoryJobResponse added in v1.61.697

type CreateDeliveryHistoryJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	JobId     int    `json:"JobId" xml:"JobId"`
}

CreateDeliveryHistoryJobResponse is the response struct for api CreateDeliveryHistoryJob

func CreateCreateDeliveryHistoryJobResponse added in v1.61.697

func CreateCreateDeliveryHistoryJobResponse() (response *CreateDeliveryHistoryJobResponse)

CreateCreateDeliveryHistoryJobResponse creates a response to parse from CreateDeliveryHistoryJob response

type CreateTrailRequest

type CreateTrailRequest struct {
	*requests.RpcRequest
	SlsProjectArn       string           `position:"Query" name:"SlsProjectArn"`
	SlsWriteRoleArn     string           `position:"Query" name:"SlsWriteRoleArn"`
	IsOrganizationTrail requests.Boolean `position:"Query" name:"IsOrganizationTrail"`
	OssKeyPrefix        string           `position:"Query" name:"OssKeyPrefix"`
	MnsTopicArn         string           `position:"Query" name:"MnsTopicArn"`
	RoleName            string           `position:"Query" name:"RoleName"`
	EventRW             string           `position:"Query" name:"EventRW"`
	Name                string           `position:"Query" name:"Name"`
	OssBucketName       string           `position:"Query" name:"OssBucketName"`
	TrailRegion         string           `position:"Query" name:"TrailRegion"`
}

CreateTrailRequest is the request struct for api CreateTrail

func CreateCreateTrailRequest

func CreateCreateTrailRequest() (request *CreateTrailRequest)

CreateCreateTrailRequest creates a request to invoke CreateTrail API

type CreateTrailResponse

type CreateTrailResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	Name            string `json:"Name" xml:"Name"`
	HomeRegion      string `json:"HomeRegion" xml:"HomeRegion"`
	OssBucketName   string `json:"OssBucketName" xml:"OssBucketName"`
	OssKeyPrefix    string `json:"OssKeyPrefix" xml:"OssKeyPrefix"`
	RoleName        string `json:"RoleName" xml:"RoleName"`
	SlsProjectArn   string `json:"SlsProjectArn" xml:"SlsProjectArn"`
	SlsWriteRoleArn string `json:"SlsWriteRoleArn" xml:"SlsWriteRoleArn"`
	EventRW         string `json:"EventRW" xml:"EventRW"`
	TrailRegion     string `json:"TrailRegion" xml:"TrailRegion"`
	MnsTopicArn     string `json:"MnsTopicArn" xml:"MnsTopicArn"`
}

CreateTrailResponse is the response struct for api CreateTrail

func CreateCreateTrailResponse

func CreateCreateTrailResponse() (response *CreateTrailResponse)

CreateCreateTrailResponse creates a response to parse from CreateTrail response

type DeleteDeliveryHistoryJobRequest added in v1.61.697

type DeleteDeliveryHistoryJobRequest struct {
	*requests.RpcRequest
	JobId requests.Integer `position:"Query" name:"JobId"`
}

DeleteDeliveryHistoryJobRequest is the request struct for api DeleteDeliveryHistoryJob

func CreateDeleteDeliveryHistoryJobRequest added in v1.61.697

func CreateDeleteDeliveryHistoryJobRequest() (request *DeleteDeliveryHistoryJobRequest)

CreateDeleteDeliveryHistoryJobRequest creates a request to invoke DeleteDeliveryHistoryJob API

type DeleteDeliveryHistoryJobResponse added in v1.61.697

type DeleteDeliveryHistoryJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteDeliveryHistoryJobResponse is the response struct for api DeleteDeliveryHistoryJob

func CreateDeleteDeliveryHistoryJobResponse added in v1.61.697

func CreateDeleteDeliveryHistoryJobResponse() (response *DeleteDeliveryHistoryJobResponse)

CreateDeleteDeliveryHistoryJobResponse creates a response to parse from DeleteDeliveryHistoryJob response

type DeleteTrailRequest

type DeleteTrailRequest struct {
	*requests.RpcRequest
	Name string `position:"Query" name:"Name"`
}

DeleteTrailRequest is the request struct for api DeleteTrail

func CreateDeleteTrailRequest

func CreateDeleteTrailRequest() (request *DeleteTrailRequest)

CreateDeleteTrailRequest creates a request to invoke DeleteTrail API

type DeleteTrailResponse

type DeleteTrailResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteTrailResponse is the response struct for api DeleteTrail

func CreateDeleteTrailResponse

func CreateDeleteTrailResponse() (response *DeleteTrailResponse)

CreateDeleteTrailResponse creates a response to parse from DeleteTrail response

type DeliveryHistoryJob added in v1.61.697

type DeliveryHistoryJob struct {
	TrailName   string `json:"TrailName" xml:"TrailName"`
	CreatedTime string `json:"CreatedTime" xml:"CreatedTime"`
	UpdatedTime string `json:"UpdatedTime" xml:"UpdatedTime"`
	HomeRegion  string `json:"HomeRegion" xml:"HomeRegion"`
	StartTime   string `json:"StartTime" xml:"StartTime"`
	EndTime     string `json:"EndTime" xml:"EndTime"`
	JobId       int64  `json:"JobId" xml:"JobId"`
	JobStatus   int    `json:"JobStatus" xml:"JobStatus"`
}

DeliveryHistoryJob is a nested struct in actiontrail response

type DeliveryHistoryJobs added in v1.61.697

type DeliveryHistoryJobs struct {
	DeliveryHistoryJob []DeliveryHistoryJob `json:"DeliveryHistoryJob" xml:"DeliveryHistoryJob"`
}

DeliveryHistoryJobs is a nested struct in actiontrail response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Regions   Regions `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DescribeTrailsRequest

type DescribeTrailsRequest struct {
	*requests.RpcRequest
	IncludeShadowTrails requests.Boolean `position:"Query" name:"IncludeShadowTrails"`
	NameList            string           `position:"Query" name:"NameList"`
}

DescribeTrailsRequest is the request struct for api DescribeTrails

func CreateDescribeTrailsRequest

func CreateDescribeTrailsRequest() (request *DescribeTrailsRequest)

CreateDescribeTrailsRequest creates a request to invoke DescribeTrails API

type DescribeTrailsResponse

type DescribeTrailsResponse struct {
	*responses.BaseResponse
	RequestId string          `json:"RequestId" xml:"RequestId"`
	TrailList []TrailListItem `json:"TrailList" xml:"TrailList"`
}

DescribeTrailsResponse is the response struct for api DescribeTrails

func CreateDescribeTrailsResponse

func CreateDescribeTrailsResponse() (response *DescribeTrailsResponse)

CreateDescribeTrailsResponse creates a response to parse from DescribeTrails response

type Events

type Events struct {
	Events []map[string]interface{} `json:"Events" xml:"Events"`
}

Events is a nested struct in actiontrail response

type GetTrailStatusRequest

type GetTrailStatusRequest struct {
	*requests.RpcRequest
	Name                string           `position:"Query" name:"Name"`
	IsOrganizationTrail requests.Boolean `position:"Query" name:"IsOrganizationTrail"`
}

GetTrailStatusRequest is the request struct for api GetTrailStatus

func CreateGetTrailStatusRequest

func CreateGetTrailStatusRequest() (request *GetTrailStatusRequest)

CreateGetTrailStatusRequest creates a request to invoke GetTrailStatus API

type GetTrailStatusResponse

type GetTrailStatusResponse struct {
	*responses.BaseResponse
	RequestId           string `json:"RequestId" xml:"RequestId"`
	IsLogging           bool   `json:"IsLogging" xml:"IsLogging"`
	LatestDeliveryError string `json:"LatestDeliveryError" xml:"LatestDeliveryError"`
	LatestDeliveryTime  string `json:"LatestDeliveryTime" xml:"LatestDeliveryTime"`
	StartLoggingTime    string `json:"StartLoggingTime" xml:"StartLoggingTime"`
	StopLoggingTime     string `json:"StopLoggingTime" xml:"StopLoggingTime"`
}

GetTrailStatusResponse is the response struct for api GetTrailStatus

func CreateGetTrailStatusResponse

func CreateGetTrailStatusResponse() (response *GetTrailStatusResponse)

CreateGetTrailStatusResponse creates a response to parse from GetTrailStatus response

type ListDeliveryHistoryJobsRequest added in v1.61.697

type ListDeliveryHistoryJobsRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListDeliveryHistoryJobsRequest is the request struct for api ListDeliveryHistoryJobs

func CreateListDeliveryHistoryJobsRequest added in v1.61.697

func CreateListDeliveryHistoryJobsRequest() (request *ListDeliveryHistoryJobsRequest)

CreateListDeliveryHistoryJobsRequest creates a request to invoke ListDeliveryHistoryJobs API

type ListDeliveryHistoryJobsResponse added in v1.61.697

type ListDeliveryHistoryJobsResponse struct {
	*responses.BaseResponse
	RequestId           string               `json:"RequestId" xml:"RequestId"`
	TotalCount          int                  `json:"TotalCount" xml:"TotalCount"`
	PageNumber          int                  `json:"PageNumber" xml:"PageNumber"`
	PageSize            int                  `json:"PageSize" xml:"PageSize"`
	DeliveryHistoryJobs []DeliveryHistoryJob `json:"DeliveryHistoryJobs" xml:"DeliveryHistoryJobs"`
}

ListDeliveryHistoryJobsResponse is the response struct for api ListDeliveryHistoryJobs

func CreateListDeliveryHistoryJobsResponse added in v1.61.697

func CreateListDeliveryHistoryJobsResponse() (response *ListDeliveryHistoryJobsResponse)

CreateListDeliveryHistoryJobsResponse creates a response to parse from ListDeliveryHistoryJobs response

type LookupEventsRequest

type LookupEventsRequest struct {
	*requests.RpcRequest
	Request          string `position:"Query" name:"Request"`
	StartTime        string `position:"Query" name:"StartTime"`
	EventName        string `position:"Query" name:"EventName"`
	NextToken        string `position:"Query" name:"NextToken"`
	ServiceName      string `position:"Query" name:"ServiceName"`
	Event            string `position:"Query" name:"Event"`
	EventAccessKeyId string `position:"Query" name:"EventAccessKeyId"`
	EndTime          string `position:"Query" name:"EndTime"`
	EventRW          string `position:"Query" name:"EventRW"`
	ResourceType     string `position:"Query" name:"ResourceType"`
	MaxResults       string `position:"Query" name:"MaxResults"`
	EventType        string `position:"Query" name:"EventType"`
	ResourceName     string `position:"Query" name:"ResourceName"`
	User             string `position:"Query" name:"User"`
}

LookupEventsRequest is the request struct for api LookupEvents

func CreateLookupEventsRequest

func CreateLookupEventsRequest() (request *LookupEventsRequest)

CreateLookupEventsRequest creates a request to invoke LookupEvents API

type LookupEventsResponse

type LookupEventsResponse struct {
	*responses.BaseResponse
	RequestId string                   `json:"RequestId" xml:"RequestId"`
	NextToken string                   `json:"NextToken" xml:"NextToken"`
	StartTime string                   `json:"StartTime" xml:"StartTime"`
	EndTime   string                   `json:"EndTime" xml:"EndTime"`
	Events    []map[string]interface{} `json:"Events" xml:"Events"`
}

LookupEventsResponse is the response struct for api LookupEvents

func CreateLookupEventsResponse

func CreateLookupEventsResponse() (response *LookupEventsResponse)

CreateLookupEventsResponse creates a response to parse from LookupEvents response

type Region

type Region struct {
	RegionItem []RegionItem `json:"Region" xml:"Region"`
}

Region is a nested struct in actiontrail response

type RegionItem

type RegionItem struct {
	RegionId string `json:"RegionId" xml:"RegionId"`
}

RegionItem is a nested struct in actiontrail response

type Regions

type Regions struct {
	Region []RegionItem `json:"Region" xml:"Region"`
}

Regions is a nested struct in actiontrail response

type StartLoggingRequest

type StartLoggingRequest struct {
	*requests.RpcRequest
	Name string `position:"Query" name:"Name"`
}

StartLoggingRequest is the request struct for api StartLogging

func CreateStartLoggingRequest

func CreateStartLoggingRequest() (request *StartLoggingRequest)

CreateStartLoggingRequest creates a request to invoke StartLogging API

type StartLoggingResponse

type StartLoggingResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Param     string `json:"Param" xml:"Param"`
	Result    string `json:"Result" xml:"Result"`
}

StartLoggingResponse is the response struct for api StartLogging

func CreateStartLoggingResponse

func CreateStartLoggingResponse() (response *StartLoggingResponse)

CreateStartLoggingResponse creates a response to parse from StartLogging response

type StopLoggingRequest

type StopLoggingRequest struct {
	*requests.RpcRequest
	Name string `position:"Query" name:"Name"`
}

StopLoggingRequest is the request struct for api StopLogging

func CreateStopLoggingRequest

func CreateStopLoggingRequest() (request *StopLoggingRequest)

CreateStopLoggingRequest creates a request to invoke StopLogging API

type StopLoggingResponse

type StopLoggingResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

StopLoggingResponse is the response struct for api StopLogging

func CreateStopLoggingResponse

func CreateStopLoggingResponse() (response *StopLoggingResponse)

CreateStopLoggingResponse creates a response to parse from StopLogging response

type TrailList

type TrailList struct {
	TrailListItem []TrailListItem `json:"TrailList" xml:"TrailList"`
}

TrailList is a nested struct in actiontrail response

type TrailListItem

type TrailListItem struct {
	Name                string `json:"Name" xml:"Name"`
	HomeRegion          string `json:"HomeRegion" xml:"HomeRegion"`
	RoleName            string `json:"RoleName" xml:"RoleName"`
	OssBucketName       string `json:"OssBucketName" xml:"OssBucketName"`
	OssKeyPrefix        string `json:"OssKeyPrefix" xml:"OssKeyPrefix"`
	EventRW             string `json:"EventRW" xml:"EventRW"`
	SlsWriteRoleArn     string `json:"SlsWriteRoleArn" xml:"SlsWriteRoleArn"`
	SlsProjectArn       string `json:"SlsProjectArn" xml:"SlsProjectArn"`
	Status              string `json:"Status" xml:"Status"`
	TrailRegion         string `json:"TrailRegion" xml:"TrailRegion"`
	CreateTime          string `json:"CreateTime" xml:"CreateTime"`
	UpdateTime          string `json:"UpdateTime" xml:"UpdateTime"`
	StartLoggingTime    string `json:"StartLoggingTime" xml:"StartLoggingTime"`
	StopLoggingTime     string `json:"StopLoggingTime" xml:"StopLoggingTime"`
	MnsTopicArn         string `json:"MnsTopicArn" xml:"MnsTopicArn"`
	IsOrganizationTrail bool   `json:"IsOrganizationTrail" xml:"IsOrganizationTrail"`
}

TrailListItem is a nested struct in actiontrail response

type UpdateTrailRequest

type UpdateTrailRequest struct {
	*requests.RpcRequest
	SlsProjectArn   string `position:"Query" name:"SlsProjectArn"`
	SlsWriteRoleArn string `position:"Query" name:"SlsWriteRoleArn"`
	OssKeyPrefix    string `position:"Query" name:"OssKeyPrefix"`
	MnsTopicArn     string `position:"Query" name:"MnsTopicArn"`
	RoleName        string `position:"Query" name:"RoleName"`
	EventRW         string `position:"Query" name:"EventRW"`
	Name            string `position:"Query" name:"Name"`
	OssBucketName   string `position:"Query" name:"OssBucketName"`
	TrailRegion     string `position:"Query" name:"TrailRegion"`
}

UpdateTrailRequest is the request struct for api UpdateTrail

func CreateUpdateTrailRequest

func CreateUpdateTrailRequest() (request *UpdateTrailRequest)

CreateUpdateTrailRequest creates a request to invoke UpdateTrail API

type UpdateTrailResponse

type UpdateTrailResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	Name            string `json:"Name" xml:"Name"`
	HomeRegion      string `json:"HomeRegion" xml:"HomeRegion"`
	OssBucketName   string `json:"OssBucketName" xml:"OssBucketName"`
	OssKeyPrefix    string `json:"OssKeyPrefix" xml:"OssKeyPrefix"`
	RoleName        string `json:"RoleName" xml:"RoleName"`
	SlsProjectArn   string `json:"SlsProjectArn" xml:"SlsProjectArn"`
	SlsWriteRoleArn string `json:"SlsWriteRoleArn" xml:"SlsWriteRoleArn"`
	EventRW         string `json:"EventRW" xml:"EventRW"`
	TrailRegion     string `json:"TrailRegion" xml:"TrailRegion"`
	MnsTopicArn     string `json:"MnsTopicArn" xml:"MnsTopicArn"`
}

UpdateTrailResponse is the response struct for api UpdateTrail

func CreateUpdateTrailResponse

func CreateUpdateTrailResponse() (response *UpdateTrailResponse)

CreateUpdateTrailResponse creates a response to parse from UpdateTrail response

Jump to

Keyboard shortcuts

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