mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-29 04:16:07 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
+171
-147
@@ -1,6 +1,5 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package cloudtrail provides a client for AWS CloudTrail.
|
||||
package cloudtrail
|
||||
|
||||
import (
|
||||
@@ -16,19 +15,18 @@ const opAddTags = "AddTags"
|
||||
|
||||
// AddTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AddTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AddTags method directly
|
||||
// instead.
|
||||
// See AddTags for more information on using the AddTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AddTagsRequest method.
|
||||
// req, resp := client.AddTagsRequest(params)
|
||||
@@ -141,19 +139,18 @@ const opCreateTrail = "CreateTrail"
|
||||
|
||||
// CreateTrailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateTrail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateTrail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateTrail method directly
|
||||
// instead.
|
||||
// See CreateTrail for more information on using the CreateTrail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateTrailRequest method.
|
||||
// req, resp := client.CreateTrailRequest(params)
|
||||
@@ -300,19 +297,18 @@ const opDeleteTrail = "DeleteTrail"
|
||||
|
||||
// DeleteTrailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteTrail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteTrail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteTrail method directly
|
||||
// instead.
|
||||
// See DeleteTrail for more information on using the DeleteTrail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteTrailRequest method.
|
||||
// req, resp := client.DeleteTrailRequest(params)
|
||||
@@ -402,19 +398,18 @@ const opDescribeTrails = "DescribeTrails"
|
||||
|
||||
// DescribeTrailsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeTrails operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeTrails for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeTrails method directly
|
||||
// instead.
|
||||
// See DescribeTrails for more information on using the DescribeTrails
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeTrailsRequest method.
|
||||
// req, resp := client.DescribeTrailsRequest(params)
|
||||
@@ -486,19 +481,18 @@ const opGetEventSelectors = "GetEventSelectors"
|
||||
|
||||
// GetEventSelectorsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetEventSelectors operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetEventSelectors for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetEventSelectors method directly
|
||||
// instead.
|
||||
// See GetEventSelectors for more information on using the GetEventSelectors
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetEventSelectorsRequest method.
|
||||
// req, resp := client.GetEventSelectorsRequest(params)
|
||||
@@ -600,19 +594,18 @@ const opGetTrailStatus = "GetTrailStatus"
|
||||
|
||||
// GetTrailStatusRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetTrailStatus operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetTrailStatus for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetTrailStatus method directly
|
||||
// instead.
|
||||
// See GetTrailStatus for more information on using the GetTrailStatus
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetTrailStatusRequest method.
|
||||
// req, resp := client.GetTrailStatusRequest(params)
|
||||
@@ -700,19 +693,18 @@ const opListPublicKeys = "ListPublicKeys"
|
||||
|
||||
// ListPublicKeysRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListPublicKeys operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListPublicKeys for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListPublicKeys method directly
|
||||
// instead.
|
||||
// See ListPublicKeys for more information on using the ListPublicKeys
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListPublicKeysRequest method.
|
||||
// req, resp := client.ListPublicKeysRequest(params)
|
||||
@@ -797,19 +789,18 @@ const opListTags = "ListTags"
|
||||
|
||||
// ListTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTags method directly
|
||||
// instead.
|
||||
// See ListTags for more information on using the ListTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTagsRequest method.
|
||||
// req, resp := client.ListTagsRequest(params)
|
||||
@@ -912,19 +903,18 @@ const opLookupEvents = "LookupEvents"
|
||||
|
||||
// LookupEventsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the LookupEvents operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See LookupEvents for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the LookupEvents method directly
|
||||
// instead.
|
||||
// See LookupEvents for more information on using the LookupEvents
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the LookupEventsRequest method.
|
||||
// req, resp := client.LookupEventsRequest(params)
|
||||
@@ -1061,8 +1051,12 @@ func (c *CloudTrail) LookupEventsPages(input *LookupEventsInput, fn func(*Lookup
|
||||
func (c *CloudTrail) LookupEventsPagesWithContext(ctx aws.Context, input *LookupEventsInput, fn func(*LookupEventsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
inCpy := *input
|
||||
req, _ := c.LookupEventsRequest(&inCpy)
|
||||
var inCpy *LookupEventsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.LookupEventsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
@@ -1080,19 +1074,18 @@ const opPutEventSelectors = "PutEventSelectors"
|
||||
|
||||
// PutEventSelectorsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PutEventSelectors operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See PutEventSelectors for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the PutEventSelectors method directly
|
||||
// instead.
|
||||
// See PutEventSelectors for more information on using the PutEventSelectors
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PutEventSelectorsRequest method.
|
||||
// req, resp := client.PutEventSelectorsRequest(params)
|
||||
@@ -1225,19 +1218,18 @@ const opRemoveTags = "RemoveTags"
|
||||
|
||||
// RemoveTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemoveTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemoveTags method directly
|
||||
// instead.
|
||||
// See RemoveTags for more information on using the RemoveTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemoveTagsRequest method.
|
||||
// req, resp := client.RemoveTagsRequest(params)
|
||||
@@ -1341,19 +1333,18 @@ const opStartLogging = "StartLogging"
|
||||
|
||||
// StartLoggingRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StartLogging operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StartLogging for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StartLogging method directly
|
||||
// instead.
|
||||
// See StartLogging for more information on using the StartLogging
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StartLoggingRequest method.
|
||||
// req, resp := client.StartLoggingRequest(params)
|
||||
@@ -1445,19 +1436,18 @@ const opStopLogging = "StopLogging"
|
||||
|
||||
// StopLoggingRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the StopLogging operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See StopLogging for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the StopLogging method directly
|
||||
// instead.
|
||||
// See StopLogging for more information on using the StopLogging
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the StopLoggingRequest method.
|
||||
// req, resp := client.StopLoggingRequest(params)
|
||||
@@ -1551,19 +1541,18 @@ const opUpdateTrail = "UpdateTrail"
|
||||
|
||||
// UpdateTrailRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateTrail operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateTrail for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateTrail method directly
|
||||
// instead.
|
||||
// See UpdateTrail for more information on using the UpdateTrail
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateTrailRequest method.
|
||||
// req, resp := client.UpdateTrailRequest(params)
|
||||
@@ -2464,7 +2453,9 @@ type GetEventSelectorsInput struct {
|
||||
// If you specify a trail ARN, it must be in the format:
|
||||
//
|
||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||
TrailName *string `type:"string"`
|
||||
//
|
||||
// TrailName is a required field
|
||||
TrailName *string `type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -2477,6 +2468,19 @@ func (s GetEventSelectorsInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *GetEventSelectorsInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "GetEventSelectorsInput"}
|
||||
if s.TrailName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("TrailName"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetTrailName sets the TrailName field's value.
|
||||
func (s *GetEventSelectorsInput) SetTrailName(v string) *GetEventSelectorsInput {
|
||||
s.TrailName = &v
|
||||
@@ -3173,7 +3177,9 @@ type PutEventSelectorsInput struct {
|
||||
|
||||
// Specifies the settings for your event selectors. You can configure up to
|
||||
// five event selectors for a trail.
|
||||
EventSelectors []*EventSelector `type:"list"`
|
||||
//
|
||||
// EventSelectors is a required field
|
||||
EventSelectors []*EventSelector `type:"list" required:"true"`
|
||||
|
||||
// Specifies the name of the trail or trail ARN. If you specify a trail name,
|
||||
// the string must meet the following requirements:
|
||||
@@ -3193,7 +3199,9 @@ type PutEventSelectorsInput struct {
|
||||
// If you specify a trail ARN, it must be in the format:
|
||||
//
|
||||
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
|
||||
TrailName *string `type:"string"`
|
||||
//
|
||||
// TrailName is a required field
|
||||
TrailName *string `type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
@@ -3206,6 +3214,22 @@ func (s PutEventSelectorsInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *PutEventSelectorsInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "PutEventSelectorsInput"}
|
||||
if s.EventSelectors == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("EventSelectors"))
|
||||
}
|
||||
if s.TrailName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("TrailName"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetEventSelectors sets the EventSelectors field's value.
|
||||
func (s *PutEventSelectorsInput) SetEventSelectors(v []*EventSelector) *PutEventSelectorsInput {
|
||||
s.EventSelectors = v
|
||||
|
||||
Reference in New Issue
Block a user