Documentation
¶
Overview ¶
Package cloudtrail20180101iface provides an interface to enable mocking the CLOUD_TRAIL20180101 service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type CLOUDTRAIL20180101
- func (c *CLOUDTRAIL20180101) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error)
- func (c *CLOUDTRAIL20180101) CreateTrailCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) CreateTrailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDTRAIL20180101) CreateTrailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput)
- func (c *CLOUDTRAIL20180101) CreateTrailWithContext(ctx volcengine.Context, input *CreateTrailInput, opts ...request.Option) (*CreateTrailOutput, error)
- func (c *CLOUDTRAIL20180101) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error)
- func (c *CLOUDTRAIL20180101) DeleteTrailCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) DeleteTrailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDTRAIL20180101) DeleteTrailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput)
- func (c *CLOUDTRAIL20180101) DeleteTrailWithContext(ctx volcengine.Context, input *DeleteTrailInput, opts ...request.Option) (*DeleteTrailOutput, error)
- func (c *CLOUDTRAIL20180101) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error)
- func (c *CLOUDTRAIL20180101) DescribeTrailsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) DescribeTrailsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDTRAIL20180101) DescribeTrailsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput)
- func (c *CLOUDTRAIL20180101) DescribeTrailsWithContext(ctx volcengine.Context, input *DescribeTrailsInput, opts ...request.Option) (*DescribeTrailsOutput, error)
- func (c *CLOUDTRAIL20180101) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error)
- func (c *CLOUDTRAIL20180101) StartLoggingCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) StartLoggingCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDTRAIL20180101) StartLoggingCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput)
- func (c *CLOUDTRAIL20180101) StartLoggingWithContext(ctx volcengine.Context, input *StartLoggingInput, opts ...request.Option) (*StartLoggingOutput, error)
- func (c *CLOUDTRAIL20180101) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error)
- func (c *CLOUDTRAIL20180101) StopLoggingCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) StopLoggingCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDTRAIL20180101) StopLoggingCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput)
- func (c *CLOUDTRAIL20180101) StopLoggingWithContext(ctx volcengine.Context, input *StopLoggingInput, opts ...request.Option) (*StopLoggingOutput, error)
- func (c *CLOUDTRAIL20180101) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error)
- func (c *CLOUDTRAIL20180101) UpdateTrailCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) UpdateTrailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *CLOUDTRAIL20180101) UpdateTrailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *CLOUDTRAIL20180101) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput)
- func (c *CLOUDTRAIL20180101) UpdateTrailWithContext(ctx volcengine.Context, input *UpdateTrailInput, opts ...request.Option) (*UpdateTrailOutput, error)
- type CLOUDTRAIL20180101API
- type CreateTrailInput
- func (s CreateTrailInput) GoString() string
- func (s *CreateTrailInput) SetEventRW(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetEventSources(v []*string) *CreateTrailInput
- func (s *CreateTrailInput) SetTlsProjectName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTlsProjectRegion(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTlsProjectTopicProject(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTlsTopicName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTosBucketName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTosBucketProject(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTosBucketRegion(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTosKeyPrefix(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTrailName(v string) *CreateTrailInput
- func (s *CreateTrailInput) SetTrailType(v int32) *CreateTrailInput
- func (s CreateTrailInput) String() string
- type CreateTrailOutput
- func (s CreateTrailOutput) GoString() string
- func (s *CreateTrailOutput) SetEventRW(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetEventSources(v []*string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTlsProjectName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTlsProjectRegion(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTlsTopicName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTosBucketName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTosBucketRegion(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTosKeyPrefix(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTrailName(v string) *CreateTrailOutput
- func (s *CreateTrailOutput) SetTrailType(v int32) *CreateTrailOutput
- func (s CreateTrailOutput) String() string
- type DeleteTrailInput
- type DeleteTrailOutput
- type DescribeTrailsInput
- type DescribeTrailsOutput
- type StartLoggingInput
- type StartLoggingOutput
- type StopLoggingInput
- type StopLoggingOutput
- type TrailForDescribeTrailsOutput
- func (s TrailForDescribeTrailsOutput) GoString() string
- func (s *TrailForDescribeTrailsOutput) SetCreatedTime(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetCreatorID(v int64) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetEventRW(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetEventSources(v []*string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetLatestDeliveryError(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetLatestDeliveryTime(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetLoggingStatus(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetOrganizationID(v int64) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetStartLoggingTime(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetStopLoggingTime(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTlsProjectName(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTlsProjectRegion(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTlsTopicName(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTosBucketName(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTosBucketRegion(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTosKeyPrefix(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTrailName(v string) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetTrailType(v int32) *TrailForDescribeTrailsOutput
- func (s *TrailForDescribeTrailsOutput) SetUpdatedTime(v string) *TrailForDescribeTrailsOutput
- func (s TrailForDescribeTrailsOutput) String() string
- type UpdateTrailInput
- func (s UpdateTrailInput) GoString() string
- func (s *UpdateTrailInput) SetEventRW(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetEventSources(v []*string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTlsProjectName(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTlsProjectRegion(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTlsProjectTopicProject(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTlsTopicName(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTosBucketName(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTosBucketProject(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTosBucketRegion(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTosKeyPrefix(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTrailName(v string) *UpdateTrailInput
- func (s *UpdateTrailInput) SetTrailType(v int32) *UpdateTrailInput
- func (s UpdateTrailInput) String() string
- type UpdateTrailOutput
- func (s UpdateTrailOutput) GoString() string
- func (s *UpdateTrailOutput) SetEventRW(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetEventSources(v []*string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTlsProjectName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTlsProjectRegion(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTlsTopicName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTosBucketName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTosBucketRegion(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTosKeyPrefix(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTrailName(v string) *UpdateTrailOutput
- func (s *UpdateTrailOutput) SetTrailType(v int32) *UpdateTrailOutput
- func (s UpdateTrailOutput) String() string
Constants ¶
const ( ServiceName = "cloud_trail" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "cloud_trail" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLOUDTRAIL20180101 ¶
CLOUDTRAIL20180101 provides the API operation methods for making requests to CLOUD_TRAIL20180101. See this package's package overview docs for details on the service.
CLOUDTRAIL20180101 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *CLOUDTRAIL20180101
New create int can support ssl or region locate set
func (*CLOUDTRAIL20180101) CreateTrail ¶
func (c *CLOUDTRAIL20180101) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error)
CreateTrail API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation CreateTrail for usage and error information.
func (*CLOUDTRAIL20180101) CreateTrailCommon ¶
func (c *CLOUDTRAIL20180101) CreateTrailCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CreateTrailCommon API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation CreateTrailCommon for usage and error information.
func (*CLOUDTRAIL20180101) CreateTrailCommonRequest ¶
func (c *CLOUDTRAIL20180101) CreateTrailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateTrailCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateTrailCommon operation. The "output" return value will be populated with the CreateTrailCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateTrailCommon Request to send the API call to the service. the "output" return value is not valid until after CreateTrailCommon Send returns without error.
See CreateTrailCommon for more information on using the CreateTrailCommon API call, and error handling.
// Example sending a request using the CreateTrailCommonRequest method.
req, resp := client.CreateTrailCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) CreateTrailCommonWithContext ¶
func (c *CLOUDTRAIL20180101) CreateTrailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateTrailCommonWithContext is the same as CreateTrailCommon with the addition of the ability to pass a context and additional request options.
See CreateTrailCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) CreateTrailRequest ¶
func (c *CLOUDTRAIL20180101) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput)
CreateTrailRequest generates a "volcengine/request.Request" representing the client's request for the CreateTrail operation. The "output" return value will be populated with the CreateTrailCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateTrailCommon Request to send the API call to the service. the "output" return value is not valid until after CreateTrailCommon Send returns without error.
See CreateTrail for more information on using the CreateTrail API call, and error handling.
// Example sending a request using the CreateTrailRequest method.
req, resp := client.CreateTrailRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) CreateTrailWithContext ¶
func (c *CLOUDTRAIL20180101) CreateTrailWithContext(ctx volcengine.Context, input *CreateTrailInput, opts ...request.Option) (*CreateTrailOutput, error)
CreateTrailWithContext is the same as CreateTrail with the addition of the ability to pass a context and additional request options.
See CreateTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) DeleteTrail ¶
func (c *CLOUDTRAIL20180101) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error)
DeleteTrail API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation DeleteTrail for usage and error information.
func (*CLOUDTRAIL20180101) DeleteTrailCommon ¶
func (c *CLOUDTRAIL20180101) DeleteTrailCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteTrailCommon API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation DeleteTrailCommon for usage and error information.
func (*CLOUDTRAIL20180101) DeleteTrailCommonRequest ¶
func (c *CLOUDTRAIL20180101) DeleteTrailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteTrailCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteTrailCommon operation. The "output" return value will be populated with the DeleteTrailCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteTrailCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteTrailCommon Send returns without error.
See DeleteTrailCommon for more information on using the DeleteTrailCommon API call, and error handling.
// Example sending a request using the DeleteTrailCommonRequest method.
req, resp := client.DeleteTrailCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) DeleteTrailCommonWithContext ¶
func (c *CLOUDTRAIL20180101) DeleteTrailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteTrailCommonWithContext is the same as DeleteTrailCommon with the addition of the ability to pass a context and additional request options.
See DeleteTrailCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) DeleteTrailRequest ¶
func (c *CLOUDTRAIL20180101) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput)
DeleteTrailRequest generates a "volcengine/request.Request" representing the client's request for the DeleteTrail operation. The "output" return value will be populated with the DeleteTrailCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteTrailCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteTrailCommon Send returns without error.
See DeleteTrail for more information on using the DeleteTrail API call, and error handling.
// Example sending a request using the DeleteTrailRequest method.
req, resp := client.DeleteTrailRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) DeleteTrailWithContext ¶
func (c *CLOUDTRAIL20180101) DeleteTrailWithContext(ctx volcengine.Context, input *DeleteTrailInput, opts ...request.Option) (*DeleteTrailOutput, error)
DeleteTrailWithContext is the same as DeleteTrail with the addition of the ability to pass a context and additional request options.
See DeleteTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) DescribeTrails ¶
func (c *CLOUDTRAIL20180101) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error)
DescribeTrails API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation DescribeTrails for usage and error information.
func (*CLOUDTRAIL20180101) DescribeTrailsCommon ¶
func (c *CLOUDTRAIL20180101) DescribeTrailsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeTrailsCommon API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation DescribeTrailsCommon for usage and error information.
func (*CLOUDTRAIL20180101) DescribeTrailsCommonRequest ¶
func (c *CLOUDTRAIL20180101) DescribeTrailsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeTrailsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeTrailsCommon operation. The "output" return value will be populated with the DescribeTrailsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeTrailsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeTrailsCommon Send returns without error.
See DescribeTrailsCommon for more information on using the DescribeTrailsCommon API call, and error handling.
// Example sending a request using the DescribeTrailsCommonRequest method.
req, resp := client.DescribeTrailsCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) DescribeTrailsCommonWithContext ¶
func (c *CLOUDTRAIL20180101) DescribeTrailsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeTrailsCommonWithContext is the same as DescribeTrailsCommon with the addition of the ability to pass a context and additional request options.
See DescribeTrailsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) DescribeTrailsRequest ¶
func (c *CLOUDTRAIL20180101) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput)
DescribeTrailsRequest generates a "volcengine/request.Request" representing the client's request for the DescribeTrails operation. The "output" return value will be populated with the DescribeTrailsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeTrailsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeTrailsCommon Send returns without error.
See DescribeTrails for more information on using the DescribeTrails API call, and error handling.
// Example sending a request using the DescribeTrailsRequest method.
req, resp := client.DescribeTrailsRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) DescribeTrailsWithContext ¶
func (c *CLOUDTRAIL20180101) DescribeTrailsWithContext(ctx volcengine.Context, input *DescribeTrailsInput, opts ...request.Option) (*DescribeTrailsOutput, error)
DescribeTrailsWithContext is the same as DescribeTrails with the addition of the ability to pass a context and additional request options.
See DescribeTrails for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) StartLogging ¶
func (c *CLOUDTRAIL20180101) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error)
StartLogging API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation StartLogging for usage and error information.
func (*CLOUDTRAIL20180101) StartLoggingCommon ¶
func (c *CLOUDTRAIL20180101) StartLoggingCommon(input *map[string]interface{}) (*map[string]interface{}, error)
StartLoggingCommon API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation StartLoggingCommon for usage and error information.
func (*CLOUDTRAIL20180101) StartLoggingCommonRequest ¶
func (c *CLOUDTRAIL20180101) StartLoggingCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
StartLoggingCommonRequest generates a "volcengine/request.Request" representing the client's request for the StartLoggingCommon operation. The "output" return value will be populated with the StartLoggingCommon request's response once the request completes successfully.
Use "Send" method on the returned StartLoggingCommon Request to send the API call to the service. the "output" return value is not valid until after StartLoggingCommon Send returns without error.
See StartLoggingCommon for more information on using the StartLoggingCommon API call, and error handling.
// Example sending a request using the StartLoggingCommonRequest method.
req, resp := client.StartLoggingCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) StartLoggingCommonWithContext ¶
func (c *CLOUDTRAIL20180101) StartLoggingCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
StartLoggingCommonWithContext is the same as StartLoggingCommon with the addition of the ability to pass a context and additional request options.
See StartLoggingCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) StartLoggingRequest ¶
func (c *CLOUDTRAIL20180101) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput)
StartLoggingRequest generates a "volcengine/request.Request" representing the client's request for the StartLogging operation. The "output" return value will be populated with the StartLoggingCommon request's response once the request completes successfully.
Use "Send" method on the returned StartLoggingCommon Request to send the API call to the service. the "output" return value is not valid until after StartLoggingCommon Send returns without error.
See StartLogging for more information on using the StartLogging API call, and error handling.
// Example sending a request using the StartLoggingRequest method.
req, resp := client.StartLoggingRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) StartLoggingWithContext ¶
func (c *CLOUDTRAIL20180101) StartLoggingWithContext(ctx volcengine.Context, input *StartLoggingInput, opts ...request.Option) (*StartLoggingOutput, error)
StartLoggingWithContext is the same as StartLogging with the addition of the ability to pass a context and additional request options.
See StartLogging for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) StopLogging ¶
func (c *CLOUDTRAIL20180101) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error)
StopLogging API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation StopLogging for usage and error information.
func (*CLOUDTRAIL20180101) StopLoggingCommon ¶
func (c *CLOUDTRAIL20180101) StopLoggingCommon(input *map[string]interface{}) (*map[string]interface{}, error)
StopLoggingCommon API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation StopLoggingCommon for usage and error information.
func (*CLOUDTRAIL20180101) StopLoggingCommonRequest ¶
func (c *CLOUDTRAIL20180101) StopLoggingCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
StopLoggingCommonRequest generates a "volcengine/request.Request" representing the client's request for the StopLoggingCommon operation. The "output" return value will be populated with the StopLoggingCommon request's response once the request completes successfully.
Use "Send" method on the returned StopLoggingCommon Request to send the API call to the service. the "output" return value is not valid until after StopLoggingCommon Send returns without error.
See StopLoggingCommon for more information on using the StopLoggingCommon API call, and error handling.
// Example sending a request using the StopLoggingCommonRequest method.
req, resp := client.StopLoggingCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) StopLoggingCommonWithContext ¶
func (c *CLOUDTRAIL20180101) StopLoggingCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
StopLoggingCommonWithContext is the same as StopLoggingCommon with the addition of the ability to pass a context and additional request options.
See StopLoggingCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) StopLoggingRequest ¶
func (c *CLOUDTRAIL20180101) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput)
StopLoggingRequest generates a "volcengine/request.Request" representing the client's request for the StopLogging operation. The "output" return value will be populated with the StopLoggingCommon request's response once the request completes successfully.
Use "Send" method on the returned StopLoggingCommon Request to send the API call to the service. the "output" return value is not valid until after StopLoggingCommon Send returns without error.
See StopLogging for more information on using the StopLogging API call, and error handling.
// Example sending a request using the StopLoggingRequest method.
req, resp := client.StopLoggingRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) StopLoggingWithContext ¶
func (c *CLOUDTRAIL20180101) StopLoggingWithContext(ctx volcengine.Context, input *StopLoggingInput, opts ...request.Option) (*StopLoggingOutput, error)
StopLoggingWithContext is the same as StopLogging with the addition of the ability to pass a context and additional request options.
See StopLogging for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) UpdateTrail ¶
func (c *CLOUDTRAIL20180101) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error)
UpdateTrail API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation UpdateTrail for usage and error information.
func (*CLOUDTRAIL20180101) UpdateTrailCommon ¶
func (c *CLOUDTRAIL20180101) UpdateTrailCommon(input *map[string]interface{}) (*map[string]interface{}, error)
UpdateTrailCommon API operation for CLOUD_TRAIL20180101.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for CLOUD_TRAIL20180101's API operation UpdateTrailCommon for usage and error information.
func (*CLOUDTRAIL20180101) UpdateTrailCommonRequest ¶
func (c *CLOUDTRAIL20180101) UpdateTrailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateTrailCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateTrailCommon operation. The "output" return value will be populated with the UpdateTrailCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateTrailCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateTrailCommon Send returns without error.
See UpdateTrailCommon for more information on using the UpdateTrailCommon API call, and error handling.
// Example sending a request using the UpdateTrailCommonRequest method.
req, resp := client.UpdateTrailCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) UpdateTrailCommonWithContext ¶
func (c *CLOUDTRAIL20180101) UpdateTrailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateTrailCommonWithContext is the same as UpdateTrailCommon with the addition of the ability to pass a context and additional request options.
See UpdateTrailCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CLOUDTRAIL20180101) UpdateTrailRequest ¶
func (c *CLOUDTRAIL20180101) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput)
UpdateTrailRequest generates a "volcengine/request.Request" representing the client's request for the UpdateTrail operation. The "output" return value will be populated with the UpdateTrailCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateTrailCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateTrailCommon Send returns without error.
See UpdateTrail for more information on using the UpdateTrail API call, and error handling.
// Example sending a request using the UpdateTrailRequest method.
req, resp := client.UpdateTrailRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*CLOUDTRAIL20180101) UpdateTrailWithContext ¶
func (c *CLOUDTRAIL20180101) UpdateTrailWithContext(ctx volcengine.Context, input *UpdateTrailInput, opts ...request.Option) (*UpdateTrailOutput, error)
UpdateTrailWithContext is the same as UpdateTrail with the addition of the ability to pass a context and additional request options.
See UpdateTrail for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CLOUDTRAIL20180101API ¶
type CLOUDTRAIL20180101API interface {
CreateTrailCommon(*map[string]interface{}) (*map[string]interface{}, error)
CreateTrailCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
CreateTrailCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
CreateTrail(*CreateTrailInput) (*CreateTrailOutput, error)
CreateTrailWithContext(volcengine.Context, *CreateTrailInput, ...request.Option) (*CreateTrailOutput, error)
CreateTrailRequest(*CreateTrailInput) (*request.Request, *CreateTrailOutput)
DeleteTrailCommon(*map[string]interface{}) (*map[string]interface{}, error)
DeleteTrailCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DeleteTrailCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DeleteTrail(*DeleteTrailInput) (*DeleteTrailOutput, error)
DeleteTrailWithContext(volcengine.Context, *DeleteTrailInput, ...request.Option) (*DeleteTrailOutput, error)
DeleteTrailRequest(*DeleteTrailInput) (*request.Request, *DeleteTrailOutput)
DescribeTrailsCommon(*map[string]interface{}) (*map[string]interface{}, error)
DescribeTrailsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DescribeTrailsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DescribeTrails(*DescribeTrailsInput) (*DescribeTrailsOutput, error)
DescribeTrailsWithContext(volcengine.Context, *DescribeTrailsInput, ...request.Option) (*DescribeTrailsOutput, error)
DescribeTrailsRequest(*DescribeTrailsInput) (*request.Request, *DescribeTrailsOutput)
StartLoggingCommon(*map[string]interface{}) (*map[string]interface{}, error)
StartLoggingCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
StartLoggingCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
StartLogging(*StartLoggingInput) (*StartLoggingOutput, error)
StartLoggingWithContext(volcengine.Context, *StartLoggingInput, ...request.Option) (*StartLoggingOutput, error)
StartLoggingRequest(*StartLoggingInput) (*request.Request, *StartLoggingOutput)
StopLoggingCommon(*map[string]interface{}) (*map[string]interface{}, error)
StopLoggingCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
StopLoggingCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
StopLogging(*StopLoggingInput) (*StopLoggingOutput, error)
StopLoggingWithContext(volcengine.Context, *StopLoggingInput, ...request.Option) (*StopLoggingOutput, error)
StopLoggingRequest(*StopLoggingInput) (*request.Request, *StopLoggingOutput)
UpdateTrailCommon(*map[string]interface{}) (*map[string]interface{}, error)
UpdateTrailCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
UpdateTrailCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
UpdateTrail(*UpdateTrailInput) (*UpdateTrailOutput, error)
UpdateTrailWithContext(volcengine.Context, *UpdateTrailInput, ...request.Option) (*UpdateTrailOutput, error)
UpdateTrailRequest(*UpdateTrailInput) (*request.Request, *UpdateTrailOutput)
}
CLOUDTRAIL20180101API provides an interface to enable mocking the cloudtrail20180101.CLOUDTRAIL20180101 service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// CLOUD_TRAIL20180101.
func myFunc(svc CLOUDTRAIL20180101API) bool {
// Make svc.CreateTrail request
}
func main() {
sess := session.New()
svc := cloudtrail20180101.New(sess)
myFunc(svc)
}
type CreateTrailInput ¶
type CreateTrailInput struct {
EventRW *string `type:"string"`
EventSources []*string `type:"list"`
TlsProjectName *string `type:"string"`
TlsProjectRegion *string `type:"string"`
TlsProjectTopicProject *string `type:"string"`
TlsTopicName *string `type:"string"`
TosBucketName *string `type:"string"`
TosBucketProject *string `type:"string"`
TosBucketRegion *string `type:"string"`
TosKeyPrefix *string `type:"string"`
TrailName *string `type:"string"`
TrailType *int32 `type:"int32"`
// contains filtered or unexported fields
}
func (CreateTrailInput) GoString ¶
func (s CreateTrailInput) GoString() string
GoString returns the string representation
func (*CreateTrailInput) SetEventRW ¶
func (s *CreateTrailInput) SetEventRW(v string) *CreateTrailInput
SetEventRW sets the EventRW field's value.
func (*CreateTrailInput) SetEventSources ¶
func (s *CreateTrailInput) SetEventSources(v []*string) *CreateTrailInput
SetEventSources sets the EventSources field's value.
func (*CreateTrailInput) SetTlsProjectName ¶
func (s *CreateTrailInput) SetTlsProjectName(v string) *CreateTrailInput
SetTlsProjectName sets the TlsProjectName field's value.
func (*CreateTrailInput) SetTlsProjectRegion ¶
func (s *CreateTrailInput) SetTlsProjectRegion(v string) *CreateTrailInput
SetTlsProjectRegion sets the TlsProjectRegion field's value.
func (*CreateTrailInput) SetTlsProjectTopicProject ¶
func (s *CreateTrailInput) SetTlsProjectTopicProject(v string) *CreateTrailInput
SetTlsProjectTopicProject sets the TlsProjectTopicProject field's value.
func (*CreateTrailInput) SetTlsTopicName ¶
func (s *CreateTrailInput) SetTlsTopicName(v string) *CreateTrailInput
SetTlsTopicName sets the TlsTopicName field's value.
func (*CreateTrailInput) SetTosBucketName ¶
func (s *CreateTrailInput) SetTosBucketName(v string) *CreateTrailInput
SetTosBucketName sets the TosBucketName field's value.
func (*CreateTrailInput) SetTosBucketProject ¶
func (s *CreateTrailInput) SetTosBucketProject(v string) *CreateTrailInput
SetTosBucketProject sets the TosBucketProject field's value.
func (*CreateTrailInput) SetTosBucketRegion ¶
func (s *CreateTrailInput) SetTosBucketRegion(v string) *CreateTrailInput
SetTosBucketRegion sets the TosBucketRegion field's value.
func (*CreateTrailInput) SetTosKeyPrefix ¶
func (s *CreateTrailInput) SetTosKeyPrefix(v string) *CreateTrailInput
SetTosKeyPrefix sets the TosKeyPrefix field's value.
func (*CreateTrailInput) SetTrailName ¶
func (s *CreateTrailInput) SetTrailName(v string) *CreateTrailInput
SetTrailName sets the TrailName field's value.
func (*CreateTrailInput) SetTrailType ¶
func (s *CreateTrailInput) SetTrailType(v int32) *CreateTrailInput
SetTrailType sets the TrailType field's value.
func (CreateTrailInput) String ¶
func (s CreateTrailInput) String() string
String returns the string representation
type CreateTrailOutput ¶
type CreateTrailOutput struct {
Metadata *response.ResponseMetadata
EventRW *string `type:"string"`
EventSources []*string `type:"list"`
TlsProjectName *string `type:"string"`
TlsProjectRegion *string `type:"string"`
TlsTopicName *string `type:"string"`
TosBucketName *string `type:"string"`
TosBucketRegion *string `type:"string"`
TosKeyPrefix *string `type:"string"`
TrailName *string `type:"string"`
TrailType *int32 `type:"int32"`
// contains filtered or unexported fields
}
func (CreateTrailOutput) GoString ¶
func (s CreateTrailOutput) GoString() string
GoString returns the string representation
func (*CreateTrailOutput) SetEventRW ¶
func (s *CreateTrailOutput) SetEventRW(v string) *CreateTrailOutput
SetEventRW sets the EventRW field's value.
func (*CreateTrailOutput) SetEventSources ¶
func (s *CreateTrailOutput) SetEventSources(v []*string) *CreateTrailOutput
SetEventSources sets the EventSources field's value.
func (*CreateTrailOutput) SetTlsProjectName ¶
func (s *CreateTrailOutput) SetTlsProjectName(v string) *CreateTrailOutput
SetTlsProjectName sets the TlsProjectName field's value.
func (*CreateTrailOutput) SetTlsProjectRegion ¶
func (s *CreateTrailOutput) SetTlsProjectRegion(v string) *CreateTrailOutput
SetTlsProjectRegion sets the TlsProjectRegion field's value.
func (*CreateTrailOutput) SetTlsTopicName ¶
func (s *CreateTrailOutput) SetTlsTopicName(v string) *CreateTrailOutput
SetTlsTopicName sets the TlsTopicName field's value.
func (*CreateTrailOutput) SetTosBucketName ¶
func (s *CreateTrailOutput) SetTosBucketName(v string) *CreateTrailOutput
SetTosBucketName sets the TosBucketName field's value.
func (*CreateTrailOutput) SetTosBucketRegion ¶
func (s *CreateTrailOutput) SetTosBucketRegion(v string) *CreateTrailOutput
SetTosBucketRegion sets the TosBucketRegion field's value.
func (*CreateTrailOutput) SetTosKeyPrefix ¶
func (s *CreateTrailOutput) SetTosKeyPrefix(v string) *CreateTrailOutput
SetTosKeyPrefix sets the TosKeyPrefix field's value.
func (*CreateTrailOutput) SetTrailName ¶
func (s *CreateTrailOutput) SetTrailName(v string) *CreateTrailOutput
SetTrailName sets the TrailName field's value.
func (*CreateTrailOutput) SetTrailType ¶
func (s *CreateTrailOutput) SetTrailType(v int32) *CreateTrailOutput
SetTrailType sets the TrailType field's value.
func (CreateTrailOutput) String ¶
func (s CreateTrailOutput) String() string
String returns the string representation
type DeleteTrailInput ¶
type DeleteTrailInput struct {
TrailName *string `type:"string"`
// contains filtered or unexported fields
}
func (DeleteTrailInput) GoString ¶
func (s DeleteTrailInput) GoString() string
GoString returns the string representation
func (*DeleteTrailInput) SetTrailName ¶
func (s *DeleteTrailInput) SetTrailName(v string) *DeleteTrailInput
SetTrailName sets the TrailName field's value.
func (DeleteTrailInput) String ¶
func (s DeleteTrailInput) String() string
String returns the string representation
type DeleteTrailOutput ¶
type DeleteTrailOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (DeleteTrailOutput) GoString ¶
func (s DeleteTrailOutput) GoString() string
GoString returns the string representation
func (DeleteTrailOutput) String ¶
func (s DeleteTrailOutput) String() string
String returns the string representation
type DescribeTrailsInput ¶
type DescribeTrailsInput struct {
IncludeOrganizationTrail *int32 `type:"int32"`
TrailNames []*string `type:"list"`
// contains filtered or unexported fields
}
func (DescribeTrailsInput) GoString ¶
func (s DescribeTrailsInput) GoString() string
GoString returns the string representation
func (*DescribeTrailsInput) SetIncludeOrganizationTrail ¶
func (s *DescribeTrailsInput) SetIncludeOrganizationTrail(v int32) *DescribeTrailsInput
SetIncludeOrganizationTrail sets the IncludeOrganizationTrail field's value.
func (*DescribeTrailsInput) SetTrailNames ¶
func (s *DescribeTrailsInput) SetTrailNames(v []*string) *DescribeTrailsInput
SetTrailNames sets the TrailNames field's value.
func (DescribeTrailsInput) String ¶
func (s DescribeTrailsInput) String() string
String returns the string representation
type DescribeTrailsOutput ¶
type DescribeTrailsOutput struct {
Metadata *response.ResponseMetadata
Trails []*TrailForDescribeTrailsOutput `type:"list"`
// contains filtered or unexported fields
}
func (DescribeTrailsOutput) GoString ¶
func (s DescribeTrailsOutput) GoString() string
GoString returns the string representation
func (*DescribeTrailsOutput) SetTrails ¶
func (s *DescribeTrailsOutput) SetTrails(v []*TrailForDescribeTrailsOutput) *DescribeTrailsOutput
SetTrails sets the Trails field's value.
func (DescribeTrailsOutput) String ¶
func (s DescribeTrailsOutput) String() string
String returns the string representation
type StartLoggingInput ¶
type StartLoggingInput struct {
TrailName *string `type:"string"`
// contains filtered or unexported fields
}
func (StartLoggingInput) GoString ¶
func (s StartLoggingInput) GoString() string
GoString returns the string representation
func (*StartLoggingInput) SetTrailName ¶
func (s *StartLoggingInput) SetTrailName(v string) *StartLoggingInput
SetTrailName sets the TrailName field's value.
func (StartLoggingInput) String ¶
func (s StartLoggingInput) String() string
String returns the string representation
type StartLoggingOutput ¶
type StartLoggingOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (StartLoggingOutput) GoString ¶
func (s StartLoggingOutput) GoString() string
GoString returns the string representation
func (StartLoggingOutput) String ¶
func (s StartLoggingOutput) String() string
String returns the string representation
type StopLoggingInput ¶
type StopLoggingInput struct {
TrailName *string `type:"string"`
// contains filtered or unexported fields
}
func (StopLoggingInput) GoString ¶
func (s StopLoggingInput) GoString() string
GoString returns the string representation
func (*StopLoggingInput) SetTrailName ¶
func (s *StopLoggingInput) SetTrailName(v string) *StopLoggingInput
SetTrailName sets the TrailName field's value.
func (StopLoggingInput) String ¶
func (s StopLoggingInput) String() string
String returns the string representation
type StopLoggingOutput ¶
type StopLoggingOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (StopLoggingOutput) GoString ¶
func (s StopLoggingOutput) GoString() string
GoString returns the string representation
func (StopLoggingOutput) String ¶
func (s StopLoggingOutput) String() string
String returns the string representation
type TrailForDescribeTrailsOutput ¶
type TrailForDescribeTrailsOutput struct {
CreatedTime *string `type:"string"`
CreatorID *int64 `type:"int64"`
EventRW *string `type:"string"`
EventSources []*string `type:"list"`
LatestDeliveryError *string `type:"string"`
LatestDeliveryTime *string `type:"string"`
LoggingStatus *string `type:"string"`
OrganizationID *int64 `type:"int64"`
StartLoggingTime *string `type:"string"`
StopLoggingTime *string `type:"string"`
TlsProjectName *string `type:"string"`
TlsProjectRegion *string `type:"string"`
TlsTopicName *string `type:"string"`
TosBucketName *string `type:"string"`
TosBucketRegion *string `type:"string"`
TosKeyPrefix *string `type:"string"`
TrailName *string `type:"string"`
TrailType *int32 `type:"int32"`
UpdatedTime *string `type:"string"`
// contains filtered or unexported fields
}
func (TrailForDescribeTrailsOutput) GoString ¶
func (s TrailForDescribeTrailsOutput) GoString() string
GoString returns the string representation
func (*TrailForDescribeTrailsOutput) SetCreatedTime ¶
func (s *TrailForDescribeTrailsOutput) SetCreatedTime(v string) *TrailForDescribeTrailsOutput
SetCreatedTime sets the CreatedTime field's value.
func (*TrailForDescribeTrailsOutput) SetCreatorID ¶
func (s *TrailForDescribeTrailsOutput) SetCreatorID(v int64) *TrailForDescribeTrailsOutput
SetCreatorID sets the CreatorID field's value.
func (*TrailForDescribeTrailsOutput) SetEventRW ¶
func (s *TrailForDescribeTrailsOutput) SetEventRW(v string) *TrailForDescribeTrailsOutput
SetEventRW sets the EventRW field's value.
func (*TrailForDescribeTrailsOutput) SetEventSources ¶
func (s *TrailForDescribeTrailsOutput) SetEventSources(v []*string) *TrailForDescribeTrailsOutput
SetEventSources sets the EventSources field's value.
func (*TrailForDescribeTrailsOutput) SetLatestDeliveryError ¶
func (s *TrailForDescribeTrailsOutput) SetLatestDeliveryError(v string) *TrailForDescribeTrailsOutput
SetLatestDeliveryError sets the LatestDeliveryError field's value.
func (*TrailForDescribeTrailsOutput) SetLatestDeliveryTime ¶
func (s *TrailForDescribeTrailsOutput) SetLatestDeliveryTime(v string) *TrailForDescribeTrailsOutput
SetLatestDeliveryTime sets the LatestDeliveryTime field's value.
func (*TrailForDescribeTrailsOutput) SetLoggingStatus ¶
func (s *TrailForDescribeTrailsOutput) SetLoggingStatus(v string) *TrailForDescribeTrailsOutput
SetLoggingStatus sets the LoggingStatus field's value.
func (*TrailForDescribeTrailsOutput) SetOrganizationID ¶
func (s *TrailForDescribeTrailsOutput) SetOrganizationID(v int64) *TrailForDescribeTrailsOutput
SetOrganizationID sets the OrganizationID field's value.
func (*TrailForDescribeTrailsOutput) SetStartLoggingTime ¶
func (s *TrailForDescribeTrailsOutput) SetStartLoggingTime(v string) *TrailForDescribeTrailsOutput
SetStartLoggingTime sets the StartLoggingTime field's value.
func (*TrailForDescribeTrailsOutput) SetStopLoggingTime ¶
func (s *TrailForDescribeTrailsOutput) SetStopLoggingTime(v string) *TrailForDescribeTrailsOutput
SetStopLoggingTime sets the StopLoggingTime field's value.
func (*TrailForDescribeTrailsOutput) SetTlsProjectName ¶
func (s *TrailForDescribeTrailsOutput) SetTlsProjectName(v string) *TrailForDescribeTrailsOutput
SetTlsProjectName sets the TlsProjectName field's value.
func (*TrailForDescribeTrailsOutput) SetTlsProjectRegion ¶
func (s *TrailForDescribeTrailsOutput) SetTlsProjectRegion(v string) *TrailForDescribeTrailsOutput
SetTlsProjectRegion sets the TlsProjectRegion field's value.
func (*TrailForDescribeTrailsOutput) SetTlsTopicName ¶
func (s *TrailForDescribeTrailsOutput) SetTlsTopicName(v string) *TrailForDescribeTrailsOutput
SetTlsTopicName sets the TlsTopicName field's value.
func (*TrailForDescribeTrailsOutput) SetTosBucketName ¶
func (s *TrailForDescribeTrailsOutput) SetTosBucketName(v string) *TrailForDescribeTrailsOutput
SetTosBucketName sets the TosBucketName field's value.
func (*TrailForDescribeTrailsOutput) SetTosBucketRegion ¶
func (s *TrailForDescribeTrailsOutput) SetTosBucketRegion(v string) *TrailForDescribeTrailsOutput
SetTosBucketRegion sets the TosBucketRegion field's value.
func (*TrailForDescribeTrailsOutput) SetTosKeyPrefix ¶
func (s *TrailForDescribeTrailsOutput) SetTosKeyPrefix(v string) *TrailForDescribeTrailsOutput
SetTosKeyPrefix sets the TosKeyPrefix field's value.
func (*TrailForDescribeTrailsOutput) SetTrailName ¶
func (s *TrailForDescribeTrailsOutput) SetTrailName(v string) *TrailForDescribeTrailsOutput
SetTrailName sets the TrailName field's value.
func (*TrailForDescribeTrailsOutput) SetTrailType ¶
func (s *TrailForDescribeTrailsOutput) SetTrailType(v int32) *TrailForDescribeTrailsOutput
SetTrailType sets the TrailType field's value.
func (*TrailForDescribeTrailsOutput) SetUpdatedTime ¶
func (s *TrailForDescribeTrailsOutput) SetUpdatedTime(v string) *TrailForDescribeTrailsOutput
SetUpdatedTime sets the UpdatedTime field's value.
func (TrailForDescribeTrailsOutput) String ¶
func (s TrailForDescribeTrailsOutput) String() string
String returns the string representation
type UpdateTrailInput ¶
type UpdateTrailInput struct {
EventRW *string `type:"string"`
EventSources []*string `type:"list"`
TlsProjectName *string `type:"string"`
TlsProjectRegion *string `type:"string"`
TlsProjectTopicProject *string `type:"string"`
TlsTopicName *string `type:"string"`
TosBucketName *string `type:"string"`
TosBucketProject *string `type:"string"`
TosBucketRegion *string `type:"string"`
TosKeyPrefix *string `type:"string"`
TrailName *string `type:"string"`
TrailType *int32 `type:"int32"`
// contains filtered or unexported fields
}
func (UpdateTrailInput) GoString ¶
func (s UpdateTrailInput) GoString() string
GoString returns the string representation
func (*UpdateTrailInput) SetEventRW ¶
func (s *UpdateTrailInput) SetEventRW(v string) *UpdateTrailInput
SetEventRW sets the EventRW field's value.
func (*UpdateTrailInput) SetEventSources ¶
func (s *UpdateTrailInput) SetEventSources(v []*string) *UpdateTrailInput
SetEventSources sets the EventSources field's value.
func (*UpdateTrailInput) SetTlsProjectName ¶
func (s *UpdateTrailInput) SetTlsProjectName(v string) *UpdateTrailInput
SetTlsProjectName sets the TlsProjectName field's value.
func (*UpdateTrailInput) SetTlsProjectRegion ¶
func (s *UpdateTrailInput) SetTlsProjectRegion(v string) *UpdateTrailInput
SetTlsProjectRegion sets the TlsProjectRegion field's value.
func (*UpdateTrailInput) SetTlsProjectTopicProject ¶
func (s *UpdateTrailInput) SetTlsProjectTopicProject(v string) *UpdateTrailInput
SetTlsProjectTopicProject sets the TlsProjectTopicProject field's value.
func (*UpdateTrailInput) SetTlsTopicName ¶
func (s *UpdateTrailInput) SetTlsTopicName(v string) *UpdateTrailInput
SetTlsTopicName sets the TlsTopicName field's value.
func (*UpdateTrailInput) SetTosBucketName ¶
func (s *UpdateTrailInput) SetTosBucketName(v string) *UpdateTrailInput
SetTosBucketName sets the TosBucketName field's value.
func (*UpdateTrailInput) SetTosBucketProject ¶
func (s *UpdateTrailInput) SetTosBucketProject(v string) *UpdateTrailInput
SetTosBucketProject sets the TosBucketProject field's value.
func (*UpdateTrailInput) SetTosBucketRegion ¶
func (s *UpdateTrailInput) SetTosBucketRegion(v string) *UpdateTrailInput
SetTosBucketRegion sets the TosBucketRegion field's value.
func (*UpdateTrailInput) SetTosKeyPrefix ¶
func (s *UpdateTrailInput) SetTosKeyPrefix(v string) *UpdateTrailInput
SetTosKeyPrefix sets the TosKeyPrefix field's value.
func (*UpdateTrailInput) SetTrailName ¶
func (s *UpdateTrailInput) SetTrailName(v string) *UpdateTrailInput
SetTrailName sets the TrailName field's value.
func (*UpdateTrailInput) SetTrailType ¶
func (s *UpdateTrailInput) SetTrailType(v int32) *UpdateTrailInput
SetTrailType sets the TrailType field's value.
func (UpdateTrailInput) String ¶
func (s UpdateTrailInput) String() string
String returns the string representation
type UpdateTrailOutput ¶
type UpdateTrailOutput struct {
Metadata *response.ResponseMetadata
EventRW *string `type:"string"`
EventSources []*string `type:"list"`
TlsProjectName *string `type:"string"`
TlsProjectRegion *string `type:"string"`
TlsTopicName *string `type:"string"`
TosBucketName *string `type:"string"`
TosBucketRegion *string `type:"string"`
TosKeyPrefix *string `type:"string"`
TrailName *string `type:"string"`
TrailType *int32 `type:"int32"`
// contains filtered or unexported fields
}
func (UpdateTrailOutput) GoString ¶
func (s UpdateTrailOutput) GoString() string
GoString returns the string representation
func (*UpdateTrailOutput) SetEventRW ¶
func (s *UpdateTrailOutput) SetEventRW(v string) *UpdateTrailOutput
SetEventRW sets the EventRW field's value.
func (*UpdateTrailOutput) SetEventSources ¶
func (s *UpdateTrailOutput) SetEventSources(v []*string) *UpdateTrailOutput
SetEventSources sets the EventSources field's value.
func (*UpdateTrailOutput) SetTlsProjectName ¶
func (s *UpdateTrailOutput) SetTlsProjectName(v string) *UpdateTrailOutput
SetTlsProjectName sets the TlsProjectName field's value.
func (*UpdateTrailOutput) SetTlsProjectRegion ¶
func (s *UpdateTrailOutput) SetTlsProjectRegion(v string) *UpdateTrailOutput
SetTlsProjectRegion sets the TlsProjectRegion field's value.
func (*UpdateTrailOutput) SetTlsTopicName ¶
func (s *UpdateTrailOutput) SetTlsTopicName(v string) *UpdateTrailOutput
SetTlsTopicName sets the TlsTopicName field's value.
func (*UpdateTrailOutput) SetTosBucketName ¶
func (s *UpdateTrailOutput) SetTosBucketName(v string) *UpdateTrailOutput
SetTosBucketName sets the TosBucketName field's value.
func (*UpdateTrailOutput) SetTosBucketRegion ¶
func (s *UpdateTrailOutput) SetTosBucketRegion(v string) *UpdateTrailOutput
SetTosBucketRegion sets the TosBucketRegion field's value.
func (*UpdateTrailOutput) SetTosKeyPrefix ¶
func (s *UpdateTrailOutput) SetTosKeyPrefix(v string) *UpdateTrailOutput
SetTosKeyPrefix sets the TosKeyPrefix field's value.
func (*UpdateTrailOutput) SetTrailName ¶
func (s *UpdateTrailOutput) SetTrailName(v string) *UpdateTrailOutput
SetTrailName sets the TrailName field's value.
func (*UpdateTrailOutput) SetTrailType ¶
func (s *UpdateTrailOutput) SetTrailType(v int32) *UpdateTrailOutput
SetTrailType sets the TrailType field's value.
func (UpdateTrailOutput) String ¶
func (s UpdateTrailOutput) String() string
String returns the string representation