actiontrail

package
v1.63.61 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 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) GetAccessKeyLastUsedEvents added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedEvents(request *GetAccessKeyLastUsedEventsRequest) (response *GetAccessKeyLastUsedEventsResponse, err error)

GetAccessKeyLastUsedEvents invokes the actiontrail.GetAccessKeyLastUsedEvents API synchronously

func (*Client) GetAccessKeyLastUsedEventsWithCallback added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedEventsWithCallback(request *GetAccessKeyLastUsedEventsRequest, callback func(response *GetAccessKeyLastUsedEventsResponse, err error)) <-chan int

GetAccessKeyLastUsedEventsWithCallback invokes the actiontrail.GetAccessKeyLastUsedEvents API asynchronously

func (*Client) GetAccessKeyLastUsedEventsWithChan added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedEventsWithChan(request *GetAccessKeyLastUsedEventsRequest) (<-chan *GetAccessKeyLastUsedEventsResponse, <-chan error)

GetAccessKeyLastUsedEventsWithChan invokes the actiontrail.GetAccessKeyLastUsedEvents API asynchronously

func (*Client) GetAccessKeyLastUsedInfo added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedInfo(request *GetAccessKeyLastUsedInfoRequest) (response *GetAccessKeyLastUsedInfoResponse, err error)

GetAccessKeyLastUsedInfo invokes the actiontrail.GetAccessKeyLastUsedInfo API synchronously

func (*Client) GetAccessKeyLastUsedInfoWithCallback added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedInfoWithCallback(request *GetAccessKeyLastUsedInfoRequest, callback func(response *GetAccessKeyLastUsedInfoResponse, err error)) <-chan int

GetAccessKeyLastUsedInfoWithCallback invokes the actiontrail.GetAccessKeyLastUsedInfo API asynchronously

func (*Client) GetAccessKeyLastUsedInfoWithChan added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedInfoWithChan(request *GetAccessKeyLastUsedInfoRequest) (<-chan *GetAccessKeyLastUsedInfoResponse, <-chan error)

GetAccessKeyLastUsedInfoWithChan invokes the actiontrail.GetAccessKeyLastUsedInfo API asynchronously

func (*Client) GetAccessKeyLastUsedIps added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedIps(request *GetAccessKeyLastUsedIpsRequest) (response *GetAccessKeyLastUsedIpsResponse, err error)

GetAccessKeyLastUsedIps invokes the actiontrail.GetAccessKeyLastUsedIps API synchronously

func (*Client) GetAccessKeyLastUsedIpsWithCallback added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedIpsWithCallback(request *GetAccessKeyLastUsedIpsRequest, callback func(response *GetAccessKeyLastUsedIpsResponse, err error)) <-chan int

GetAccessKeyLastUsedIpsWithCallback invokes the actiontrail.GetAccessKeyLastUsedIps API asynchronously

func (*Client) GetAccessKeyLastUsedIpsWithChan added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedIpsWithChan(request *GetAccessKeyLastUsedIpsRequest) (<-chan *GetAccessKeyLastUsedIpsResponse, <-chan error)

GetAccessKeyLastUsedIpsWithChan invokes the actiontrail.GetAccessKeyLastUsedIps API asynchronously

func (*Client) GetAccessKeyLastUsedProducts added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedProducts(request *GetAccessKeyLastUsedProductsRequest) (response *GetAccessKeyLastUsedProductsResponse, err error)

GetAccessKeyLastUsedProducts invokes the actiontrail.GetAccessKeyLastUsedProducts API synchronously

func (*Client) GetAccessKeyLastUsedProductsWithCallback added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedProductsWithCallback(request *GetAccessKeyLastUsedProductsRequest, callback func(response *GetAccessKeyLastUsedProductsResponse, err error)) <-chan int

GetAccessKeyLastUsedProductsWithCallback invokes the actiontrail.GetAccessKeyLastUsedProducts API asynchronously

func (*Client) GetAccessKeyLastUsedProductsWithChan added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedProductsWithChan(request *GetAccessKeyLastUsedProductsRequest) (<-chan *GetAccessKeyLastUsedProductsResponse, <-chan error)

GetAccessKeyLastUsedProductsWithChan invokes the actiontrail.GetAccessKeyLastUsedProducts API asynchronously

func (*Client) GetAccessKeyLastUsedResources added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedResources(request *GetAccessKeyLastUsedResourcesRequest) (response *GetAccessKeyLastUsedResourcesResponse, err error)

GetAccessKeyLastUsedResources invokes the actiontrail.GetAccessKeyLastUsedResources API synchronously

func (*Client) GetAccessKeyLastUsedResourcesWithCallback added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedResourcesWithCallback(request *GetAccessKeyLastUsedResourcesRequest, callback func(response *GetAccessKeyLastUsedResourcesResponse, err error)) <-chan int

GetAccessKeyLastUsedResourcesWithCallback invokes the actiontrail.GetAccessKeyLastUsedResources API asynchronously

func (*Client) GetAccessKeyLastUsedResourcesWithChan added in v1.61.1668

func (client *Client) GetAccessKeyLastUsedResourcesWithChan(request *GetAccessKeyLastUsedResourcesRequest) (<-chan *GetAccessKeyLastUsedResourcesResponse, <-chan error)

GetAccessKeyLastUsedResourcesWithChan invokes the actiontrail.GetAccessKeyLastUsedResources API asynchronously

func (*Client) GetDeliveryHistoryJob added in v1.61.1668

func (client *Client) GetDeliveryHistoryJob(request *GetDeliveryHistoryJobRequest) (response *GetDeliveryHistoryJobResponse, err error)

GetDeliveryHistoryJob invokes the actiontrail.GetDeliveryHistoryJob API synchronously

func (*Client) GetDeliveryHistoryJobWithCallback added in v1.61.1668

func (client *Client) GetDeliveryHistoryJobWithCallback(request *GetDeliveryHistoryJobRequest, callback func(response *GetDeliveryHistoryJobResponse, err error)) <-chan int

GetDeliveryHistoryJobWithCallback invokes the actiontrail.GetDeliveryHistoryJob API asynchronously

func (*Client) GetDeliveryHistoryJobWithChan added in v1.61.1668

func (client *Client) GetDeliveryHistoryJobWithChan(request *GetDeliveryHistoryJobRequest) (<-chan *GetDeliveryHistoryJobResponse, <-chan error)

GetDeliveryHistoryJobWithChan invokes the actiontrail.GetDeliveryHistoryJob 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"`
	OssWriteRoleArn     string           `position:"Query" name:"OssWriteRoleArn"`
	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
	SlsProjectArn   string `json:"SlsProjectArn" xml:"SlsProjectArn"`
	OssWriteRoleArn string `json:"OssWriteRoleArn" xml:"OssWriteRoleArn"`
	EventRW         string `json:"EventRW" xml:"EventRW"`
	RequestId       string `json:"RequestId" xml:"RequestId"`
	HomeRegion      string `json:"HomeRegion" xml:"HomeRegion"`
	OssKeyPrefix    string `json:"OssKeyPrefix" xml:"OssKeyPrefix"`
	OssBucketName   string `json:"OssBucketName" xml:"OssBucketName"`
	SlsWriteRoleArn string `json:"SlsWriteRoleArn" xml:"SlsWriteRoleArn"`
	TrailRegion     string `json:"TrailRegion" xml:"TrailRegion"`
	Name            string `json:"Name" xml:"Name"`
}

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"`
	EndTime     string `json:"EndTime" xml:"EndTime"`
	StartTime   string `json:"StartTime" xml:"StartTime"`
	JobStatus   int    `json:"JobStatus" xml:"JobStatus"`
	HomeRegion  string `json:"HomeRegion" xml:"HomeRegion"`
	UpdatedTime string `json:"UpdatedTime" xml:"UpdatedTime"`
	JobId       int64  `json:"JobId" xml:"JobId"`
	CreatedTime string `json:"CreatedTime" xml:"CreatedTime"`
}

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
	AcceptLanguage string `position:"Query" name:"AcceptLanguage"`
}

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
	IncludeOrganizationTrail requests.Boolean `position:"Query" name:"IncludeOrganizationTrail"`
	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 []Trail `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 EventsInGetAccessKeyLastUsedEvents added in v1.61.1668

type EventsInGetAccessKeyLastUsedEvents struct {
	EventsItem []EventsItem `json:"Events" xml:"Events"`
}

EventsInGetAccessKeyLastUsedEvents is a nested struct in actiontrail response

type EventsInLookupEvents added in v1.61.1668

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

EventsInLookupEvents is a nested struct in actiontrail response

type EventsItem added in v1.61.1668

type EventsItem struct {
	UsedTimestamp int64  `json:"UsedTimestamp" xml:"UsedTimestamp"`
	Detail        string `json:"Detail" xml:"Detail"`
	EventName     string `json:"EventName" xml:"EventName"`
	Source        string `json:"Source" xml:"Source"`
}

EventsItem is a nested struct in actiontrail response

type GetAccessKeyLastUsedEventsRequest added in v1.61.1668

type GetAccessKeyLastUsedEventsRequest struct {
	*requests.RpcRequest
	AccessKey   string `position:"Query" name:"AccessKey"`
	NextToken   string `position:"Query" name:"NextToken"`
	PageSize    string `position:"Query" name:"PageSize"`
	ServiceName string `position:"Query" name:"ServiceName"`
}

GetAccessKeyLastUsedEventsRequest is the request struct for api GetAccessKeyLastUsedEvents

func CreateGetAccessKeyLastUsedEventsRequest added in v1.61.1668

func CreateGetAccessKeyLastUsedEventsRequest() (request *GetAccessKeyLastUsedEventsRequest)

CreateGetAccessKeyLastUsedEventsRequest creates a request to invoke GetAccessKeyLastUsedEvents API

type GetAccessKeyLastUsedEventsResponse added in v1.61.1668

type GetAccessKeyLastUsedEventsResponse struct {
	*responses.BaseResponse
	RequestId string       `json:"RequestId" xml:"RequestId"`
	NextToken string       `json:"NextToken" xml:"NextToken"`
	Events    []EventsItem `json:"Events" xml:"Events"`
}

GetAccessKeyLastUsedEventsResponse is the response struct for api GetAccessKeyLastUsedEvents

func CreateGetAccessKeyLastUsedEventsResponse added in v1.61.1668

func CreateGetAccessKeyLastUsedEventsResponse() (response *GetAccessKeyLastUsedEventsResponse)

CreateGetAccessKeyLastUsedEventsResponse creates a response to parse from GetAccessKeyLastUsedEvents response

type GetAccessKeyLastUsedInfoRequest added in v1.61.1668

type GetAccessKeyLastUsedInfoRequest struct {
	*requests.RpcRequest
	AccessKey string `position:"Query" name:"AccessKey"`
}

GetAccessKeyLastUsedInfoRequest is the request struct for api GetAccessKeyLastUsedInfo

func CreateGetAccessKeyLastUsedInfoRequest added in v1.61.1668

func CreateGetAccessKeyLastUsedInfoRequest() (request *GetAccessKeyLastUsedInfoRequest)

CreateGetAccessKeyLastUsedInfoRequest creates a request to invoke GetAccessKeyLastUsedInfo API

type GetAccessKeyLastUsedInfoResponse added in v1.61.1668

type GetAccessKeyLastUsedInfoResponse struct {
	*responses.BaseResponse
	RequestId     string `json:"RequestId" xml:"RequestId"`
	AccessKeyId   string `json:"AccessKeyId" xml:"AccessKeyId"`
	AccountId     string `json:"AccountId" xml:"AccountId"`
	OwnerId       string `json:"OwnerId" xml:"OwnerId"`
	UserName      string `json:"UserName" xml:"UserName"`
	AccountType   string `json:"AccountType" xml:"AccountType"`
	UsedTimestamp int64  `json:"UsedTimestamp" xml:"UsedTimestamp"`
	Detail        string `json:"Detail" xml:"Detail"`
	Source        string `json:"Source" xml:"Source"`
	ServiceName   string `json:"ServiceName" xml:"ServiceName"`
	ServiceNameCn string `json:"ServiceNameCn" xml:"ServiceNameCn"`
	ServiceNameEn string `json:"ServiceNameEn" xml:"ServiceNameEn"`
}

GetAccessKeyLastUsedInfoResponse is the response struct for api GetAccessKeyLastUsedInfo

func CreateGetAccessKeyLastUsedInfoResponse added in v1.61.1668

func CreateGetAccessKeyLastUsedInfoResponse() (response *GetAccessKeyLastUsedInfoResponse)

CreateGetAccessKeyLastUsedInfoResponse creates a response to parse from GetAccessKeyLastUsedInfo response

type GetAccessKeyLastUsedIpsRequest added in v1.61.1668

type GetAccessKeyLastUsedIpsRequest struct {
	*requests.RpcRequest
	AccessKey   string `position:"Query" name:"AccessKey"`
	NextToken   string `position:"Query" name:"NextToken"`
	PageSize    string `position:"Query" name:"PageSize"`
	ServiceName string `position:"Query" name:"ServiceName"`
}

GetAccessKeyLastUsedIpsRequest is the request struct for api GetAccessKeyLastUsedIps

func CreateGetAccessKeyLastUsedIpsRequest added in v1.61.1668

func CreateGetAccessKeyLastUsedIpsRequest() (request *GetAccessKeyLastUsedIpsRequest)

CreateGetAccessKeyLastUsedIpsRequest creates a request to invoke GetAccessKeyLastUsedIps API

type GetAccessKeyLastUsedIpsResponse added in v1.61.1668

type GetAccessKeyLastUsedIpsResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	NextToken string    `json:"NextToken" xml:"NextToken"`
	Ips       []IpsItem `json:"Ips" xml:"Ips"`
}

GetAccessKeyLastUsedIpsResponse is the response struct for api GetAccessKeyLastUsedIps

func CreateGetAccessKeyLastUsedIpsResponse added in v1.61.1668

func CreateGetAccessKeyLastUsedIpsResponse() (response *GetAccessKeyLastUsedIpsResponse)

CreateGetAccessKeyLastUsedIpsResponse creates a response to parse from GetAccessKeyLastUsedIps response

type GetAccessKeyLastUsedProductsRequest added in v1.61.1668

type GetAccessKeyLastUsedProductsRequest struct {
	*requests.RpcRequest
	AccessKey string `position:"Query" name:"AccessKey"`
}

GetAccessKeyLastUsedProductsRequest is the request struct for api GetAccessKeyLastUsedProducts

func CreateGetAccessKeyLastUsedProductsRequest added in v1.61.1668

func CreateGetAccessKeyLastUsedProductsRequest() (request *GetAccessKeyLastUsedProductsRequest)

CreateGetAccessKeyLastUsedProductsRequest creates a request to invoke GetAccessKeyLastUsedProducts API

type GetAccessKeyLastUsedProductsResponse added in v1.61.1668

type GetAccessKeyLastUsedProductsResponse struct {
	*responses.BaseResponse
	RequestId string         `json:"RequestId" xml:"RequestId"`
	Products  []ProductsItem `json:"Products" xml:"Products"`
}

GetAccessKeyLastUsedProductsResponse is the response struct for api GetAccessKeyLastUsedProducts

func CreateGetAccessKeyLastUsedProductsResponse added in v1.61.1668

func CreateGetAccessKeyLastUsedProductsResponse() (response *GetAccessKeyLastUsedProductsResponse)

CreateGetAccessKeyLastUsedProductsResponse creates a response to parse from GetAccessKeyLastUsedProducts response

type GetAccessKeyLastUsedResourcesRequest added in v1.61.1668

type GetAccessKeyLastUsedResourcesRequest struct {
	*requests.RpcRequest
	AccessKey   string `position:"Query" name:"AccessKey"`
	NextToken   string `position:"Query" name:"NextToken"`
	PageSize    string `position:"Query" name:"PageSize"`
	ServiceName string `position:"Query" name:"ServiceName"`
}

GetAccessKeyLastUsedResourcesRequest is the request struct for api GetAccessKeyLastUsedResources

func CreateGetAccessKeyLastUsedResourcesRequest added in v1.61.1668

func CreateGetAccessKeyLastUsedResourcesRequest() (request *GetAccessKeyLastUsedResourcesRequest)

CreateGetAccessKeyLastUsedResourcesRequest creates a request to invoke GetAccessKeyLastUsedResources API

type GetAccessKeyLastUsedResourcesResponse added in v1.61.1668

type GetAccessKeyLastUsedResourcesResponse struct {
	*responses.BaseResponse
	RequestId string          `json:"RequestId" xml:"RequestId"`
	NextToken string          `json:"NextToken" xml:"NextToken"`
	Resources []ResourcesItem `json:"Resources" xml:"Resources"`
}

GetAccessKeyLastUsedResourcesResponse is the response struct for api GetAccessKeyLastUsedResources

func CreateGetAccessKeyLastUsedResourcesResponse added in v1.61.1668

func CreateGetAccessKeyLastUsedResourcesResponse() (response *GetAccessKeyLastUsedResourcesResponse)

CreateGetAccessKeyLastUsedResourcesResponse creates a response to parse from GetAccessKeyLastUsedResources response

type GetDeliveryHistoryJobRequest added in v1.61.1668

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

GetDeliveryHistoryJobRequest is the request struct for api GetDeliveryHistoryJob

func CreateGetDeliveryHistoryJobRequest added in v1.61.1668

func CreateGetDeliveryHistoryJobRequest() (request *GetDeliveryHistoryJobRequest)

CreateGetDeliveryHistoryJobRequest creates a request to invoke GetDeliveryHistoryJob API

type GetDeliveryHistoryJobResponse added in v1.61.1668

type GetDeliveryHistoryJobResponse struct {
	*responses.BaseResponse
	JobStatus   int          `json:"JobStatus" xml:"JobStatus"`
	CreatedTime string       `json:"CreatedTime" xml:"CreatedTime"`
	EndTime     string       `json:"EndTime" xml:"EndTime"`
	RequestId   string       `json:"RequestId" xml:"RequestId"`
	StartTime   string       `json:"StartTime" xml:"StartTime"`
	TrailName   string       `json:"TrailName" xml:"TrailName"`
	UpdatedTime string       `json:"UpdatedTime" xml:"UpdatedTime"`
	JobId       int64        `json:"JobId" xml:"JobId"`
	HomeRegion  string       `json:"HomeRegion" xml:"HomeRegion"`
	Status      []StatusItem `json:"Status" xml:"Status"`
}

GetDeliveryHistoryJobResponse is the response struct for api GetDeliveryHistoryJob

func CreateGetDeliveryHistoryJobResponse added in v1.61.1668

func CreateGetDeliveryHistoryJobResponse() (response *GetDeliveryHistoryJobResponse)

CreateGetDeliveryHistoryJobResponse creates a response to parse from GetDeliveryHistoryJob 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"`
	StartLoggingTime              string `json:"StartLoggingTime" xml:"StartLoggingTime"`
	LatestDeliveryError           string `json:"LatestDeliveryError" xml:"LatestDeliveryError"`
	StopLoggingTime               string `json:"StopLoggingTime" xml:"StopLoggingTime"`
	IsLogging                     bool   `json:"IsLogging" xml:"IsLogging"`
	LatestDeliveryTime            string `json:"LatestDeliveryTime" xml:"LatestDeliveryTime"`
	LatestDeliveryLogServiceError string `json:"LatestDeliveryLogServiceError" xml:"LatestDeliveryLogServiceError"`
	LatestDeliveryLogServiceTime  string `json:"LatestDeliveryLogServiceTime" xml:"LatestDeliveryLogServiceTime"`
	OssBucketStatus               bool   `json:"OssBucketStatus" xml:"OssBucketStatus"`
	SlsLogStoreStatus             bool   `json:"SlsLogStoreStatus" xml:"SlsLogStoreStatus"`
}

GetTrailStatusResponse is the response struct for api GetTrailStatus

func CreateGetTrailStatusResponse

func CreateGetTrailStatusResponse() (response *GetTrailStatusResponse)

CreateGetTrailStatusResponse creates a response to parse from GetTrailStatus response

type Ips added in v1.61.1668

type Ips struct {
	IpsItem []IpsItem `json:"Ips" xml:"Ips"`
}

Ips is a nested struct in actiontrail response

type IpsItem added in v1.61.1668

type IpsItem struct {
	UsedTimestamp int64  `json:"UsedTimestamp" xml:"UsedTimestamp"`
	Detail        string `json:"Detail" xml:"Detail"`
	Source        string `json:"Source" xml:"Source"`
	Ip            string `json:"Ip" xml:"Ip"`
}

IpsItem is a nested struct in actiontrail 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
	TotalCount          int                  `json:"TotalCount" xml:"TotalCount"`
	PageSize            int                  `json:"PageSize" xml:"PageSize"`
	RequestId           string               `json:"RequestId" xml:"RequestId"`
	PageNumber          int                  `json:"PageNumber" xml:"PageNumber"`
	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 LookupEventsLookupAttribute added in v1.61.697

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

LookupEventsLookupAttribute is a repeated param struct in LookupEventsRequest

type LookupEventsRequest

type LookupEventsRequest struct {
	*requests.RpcRequest
	EndTime         string                         `position:"Query" name:"EndTime"`
	StartTime       string                         `position:"Query" name:"StartTime"`
	NextToken       string                         `position:"Query" name:"NextToken"`
	LookupAttribute *[]LookupEventsLookupAttribute `position:"Query" name:"LookupAttribute"  type:"Repeated"`
	MaxResults      string                         `position:"Query" name:"MaxResults"`
	Direction       string                         `position:"Query" name:"Direction"`
}

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
	EndTime   string                   `json:"EndTime" xml:"EndTime"`
	NextToken string                   `json:"NextToken" xml:"NextToken"`
	RequestId string                   `json:"RequestId" xml:"RequestId"`
	StartTime string                   `json:"StartTime" xml:"StartTime"`
	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 Products added in v1.61.1668

type Products struct {
	ProductsItem []ProductsItem `json:"Products" xml:"Products"`
}

Products is a nested struct in actiontrail response

type ProductsItem added in v1.61.1668

type ProductsItem struct {
	UsedTimestamp int64  `json:"UsedTimestamp" xml:"UsedTimestamp"`
	Detail        string `json:"Detail" xml:"Detail"`
	Source        string `json:"Source" xml:"Source"`
	ServiceName   string `json:"ServiceName" xml:"ServiceName"`
	ServiceNameCn string `json:"ServiceNameCn" xml:"ServiceNameCn"`
	ServiceNameEn string `json:"ServiceNameEn" xml:"ServiceNameEn"`
}

ProductsItem is a nested struct in actiontrail response

type Region

type Region struct {
	RegionId       string `json:"RegionId" xml:"RegionId"`
	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
	LocalName      string `json:"LocalName" xml:"LocalName"`
}

Region is a nested struct in actiontrail response

type Regions

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

Regions is a nested struct in actiontrail response

type Resources added in v1.61.1668

type Resources struct {
	ResourcesItem []ResourcesItem `json:"Resources" xml:"Resources"`
}

Resources is a nested struct in actiontrail response

type ResourcesItem added in v1.61.1668

type ResourcesItem struct {
	UsedTimestamp int64  `json:"UsedTimestamp" xml:"UsedTimestamp"`
	Detail        string `json:"Detail" xml:"Detail"`
	ResourceName  string `json:"ResourceName" xml:"ResourceName"`
	ResourceType  string `json:"ResourceType" xml:"ResourceType"`
	Source        string `json:"Source" xml:"Source"`
}

ResourcesItem 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"`
}

StartLoggingResponse is the response struct for api StartLogging

func CreateStartLoggingResponse

func CreateStartLoggingResponse() (response *StartLoggingResponse)

CreateStartLoggingResponse creates a response to parse from StartLogging response

type Status added in v1.61.1668

type Status struct {
	StatusItem []StatusItem `json:"Status" xml:"Status"`
}

Status is a nested struct in actiontrail response

type StatusItem added in v1.61.1668

type StatusItem struct {
	Status int    `json:"Status" xml:"Status"`
	Region string `json:"Region" xml:"Region"`
}

StatusItem is a nested struct in actiontrail 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 Trail added in v1.61.1141

type Trail struct {
	TrailRegion         string `json:"TrailRegion" xml:"TrailRegion"`
	Status              string `json:"Status" xml:"Status"`
	UpdateTime          string `json:"UpdateTime" xml:"UpdateTime"`
	HomeRegion          string `json:"HomeRegion" xml:"HomeRegion"`
	CreateTime          string `json:"CreateTime" xml:"CreateTime"`
	OssKeyPrefix        string `json:"OssKeyPrefix" xml:"OssKeyPrefix"`
	EventRW             string `json:"EventRW" xml:"EventRW"`
	StartLoggingTime    string `json:"StartLoggingTime" xml:"StartLoggingTime"`
	OssWriteRoleArn     string `json:"OssWriteRoleArn" xml:"OssWriteRoleArn"`
	SlsProjectArn       string `json:"SlsProjectArn" xml:"SlsProjectArn"`
	IsOrganizationTrail bool   `json:"IsOrganizationTrail" xml:"IsOrganizationTrail"`
	SlsWriteRoleArn     string `json:"SlsWriteRoleArn" xml:"SlsWriteRoleArn"`
	StopLoggingTime     string `json:"StopLoggingTime" xml:"StopLoggingTime"`
	Name                string `json:"Name" xml:"Name"`
	OssBucketName       string `json:"OssBucketName" xml:"OssBucketName"`
	Region              string `json:"Region" xml:"Region"`
	OrganizationId      string `json:"OrganizationId" xml:"OrganizationId"`
	OssBucketLocation   string `json:"OssBucketLocation" xml:"OssBucketLocation"`
	IsShadowTrail       int64  `json:"IsShadowTrail" xml:"IsShadowTrail"`
	TrailArn            string `json:"TrailArn" xml:"TrailArn"`
}

Trail is a nested struct in actiontrail response

type TrailList

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

TrailList 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"`
	OssWriteRoleArn string `position:"Query" name:"OssWriteRoleArn"`
	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
	SlsProjectArn   string `json:"SlsProjectArn" xml:"SlsProjectArn"`
	OssWriteRoleArn string `json:"OssWriteRoleArn" xml:"OssWriteRoleArn"`
	EventRW         string `json:"EventRW" xml:"EventRW"`
	RequestId       string `json:"RequestId" xml:"RequestId"`
	HomeRegion      string `json:"HomeRegion" xml:"HomeRegion"`
	OssKeyPrefix    string `json:"OssKeyPrefix" xml:"OssKeyPrefix"`
	OssBucketName   string `json:"OssBucketName" xml:"OssBucketName"`
	SlsWriteRoleArn string `json:"SlsWriteRoleArn" xml:"SlsWriteRoleArn"`
	TrailRegion     string `json:"TrailRegion" xml:"TrailRegion"`
	Name            string `json:"Name" xml:"Name"`
}

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