Documentation ¶
Overview ¶
Updates the attributes of multiple existing API keys.
Index ¶
- Variables
- type BulkUpdateApiKeys
- func (r BulkUpdateApiKeys) Do(ctx context.Context) (*http.Response, error)
- func (r *BulkUpdateApiKeys) Header(key, value string) *BulkUpdateApiKeys
- func (r *BulkUpdateApiKeys) HttpRequest(ctx context.Context) (*http.Request, error)
- func (r BulkUpdateApiKeys) IsSuccess(ctx context.Context) (bool, error)
- type NewBulkUpdateApiKeys
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBuildPath = errors.New("cannot build path, check for missing path parameters")
ErrBuildPath is returned in case of missing parameters within the build of the request.
Functions ¶
This section is empty.
Types ¶
type BulkUpdateApiKeys ¶
type BulkUpdateApiKeys struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *BulkUpdateApiKeys
Updates the attributes of multiple existing API keys.
func (*BulkUpdateApiKeys) Header ¶
func (r *BulkUpdateApiKeys) Header(key, value string) *BulkUpdateApiKeys
Header set a key, value pair in the BulkUpdateApiKeys headers map.
func (*BulkUpdateApiKeys) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
type NewBulkUpdateApiKeys ¶
type NewBulkUpdateApiKeys func() *BulkUpdateApiKeys
NewBulkUpdateApiKeys type alias for index.
func NewBulkUpdateApiKeysFunc ¶
func NewBulkUpdateApiKeysFunc(tp elastictransport.Interface) NewBulkUpdateApiKeys
NewBulkUpdateApiKeysFunc returns a new instance of BulkUpdateApiKeys with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.
Click to show internal directories.
Click to hide internal directories.