vendor: update all dependencies
This commit is contained in:
parent
3f0789e2db
commit
08021c4636
2474 changed files with 435818 additions and 282709 deletions
920
vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go
generated
vendored
920
vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go
generated
vendored
|
@ -756,6 +756,298 @@ func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsWithContex
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opDescribeReservedElasticsearchInstanceOfferings = "DescribeReservedElasticsearchInstanceOfferings"
|
||||
|
||||
// DescribeReservedElasticsearchInstanceOfferingsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeReservedElasticsearchInstanceOfferings operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See DescribeReservedElasticsearchInstanceOfferings for more information on using the DescribeReservedElasticsearchInstanceOfferings
|
||||
// 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.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the DescribeReservedElasticsearchInstanceOfferingsRequest method.
|
||||
// req, resp := client.DescribeReservedElasticsearchInstanceOfferingsRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsRequest(input *DescribeReservedElasticsearchInstanceOfferingsInput) (req *request.Request, output *DescribeReservedElasticsearchInstanceOfferingsOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeReservedElasticsearchInstanceOfferings,
|
||||
HTTPMethod: "GET",
|
||||
HTTPPath: "/2015-01-01/es/reservedInstanceOfferings",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
LimitToken: "MaxResults",
|
||||
TruncationToken: "",
|
||||
},
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &DescribeReservedElasticsearchInstanceOfferingsInput{}
|
||||
}
|
||||
|
||||
output = &DescribeReservedElasticsearchInstanceOfferingsOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstanceOfferings API operation for Amazon Elasticsearch Service.
|
||||
//
|
||||
// Lists available reserved Elasticsearch instance offerings.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon Elasticsearch Service's
|
||||
// API operation DescribeReservedElasticsearchInstanceOfferings for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// An exception for accessing or deleting a resource that does not exist. Gives
|
||||
// http status code of 400.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// * ErrCodeDisabledOperationException "DisabledOperationException"
|
||||
// An error occured because the client wanted to access a not supported operation.
|
||||
// Gives http status code of 409.
|
||||
//
|
||||
// * ErrCodeInternalException "InternalException"
|
||||
// The request processing has failed because of an unknown error, exception
|
||||
// or failure (the failure is internal to the service) . Gives http status code
|
||||
// of 500.
|
||||
//
|
||||
func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferings(input *DescribeReservedElasticsearchInstanceOfferingsInput) (*DescribeReservedElasticsearchInstanceOfferingsOutput, error) {
|
||||
req, out := c.DescribeReservedElasticsearchInstanceOfferingsRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstanceOfferingsWithContext is the same as DescribeReservedElasticsearchInstanceOfferings with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See DescribeReservedElasticsearchInstanceOfferings 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 (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsWithContext(ctx aws.Context, input *DescribeReservedElasticsearchInstanceOfferingsInput, opts ...request.Option) (*DescribeReservedElasticsearchInstanceOfferingsOutput, error) {
|
||||
req, out := c.DescribeReservedElasticsearchInstanceOfferingsRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstanceOfferingsPages iterates over the pages of a DescribeReservedElasticsearchInstanceOfferings operation,
|
||||
// calling the "fn" function with the response data for each page. To stop
|
||||
// iterating, return false from the fn function.
|
||||
//
|
||||
// See DescribeReservedElasticsearchInstanceOfferings method for more information on how to use this operation.
|
||||
//
|
||||
// Note: This operation can generate multiple requests to a service.
|
||||
//
|
||||
// // Example iterating over at most 3 pages of a DescribeReservedElasticsearchInstanceOfferings operation.
|
||||
// pageNum := 0
|
||||
// err := client.DescribeReservedElasticsearchInstanceOfferingsPages(params,
|
||||
// func(page *DescribeReservedElasticsearchInstanceOfferingsOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
// })
|
||||
//
|
||||
func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsPages(input *DescribeReservedElasticsearchInstanceOfferingsInput, fn func(*DescribeReservedElasticsearchInstanceOfferingsOutput, bool) bool) error {
|
||||
return c.DescribeReservedElasticsearchInstanceOfferingsPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstanceOfferingsPagesWithContext same as DescribeReservedElasticsearchInstanceOfferingsPages except
|
||||
// it takes a Context and allows setting request options on the pages.
|
||||
//
|
||||
// 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 (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsPagesWithContext(ctx aws.Context, input *DescribeReservedElasticsearchInstanceOfferingsInput, fn func(*DescribeReservedElasticsearchInstanceOfferingsOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeReservedElasticsearchInstanceOfferingsInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeReservedElasticsearchInstanceOfferingsRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
|
||||
cont := true
|
||||
for p.Next() && cont {
|
||||
cont = fn(p.Page().(*DescribeReservedElasticsearchInstanceOfferingsOutput), !p.HasNextPage())
|
||||
}
|
||||
return p.Err()
|
||||
}
|
||||
|
||||
const opDescribeReservedElasticsearchInstances = "DescribeReservedElasticsearchInstances"
|
||||
|
||||
// DescribeReservedElasticsearchInstancesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeReservedElasticsearchInstances operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See DescribeReservedElasticsearchInstances for more information on using the DescribeReservedElasticsearchInstances
|
||||
// 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.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the DescribeReservedElasticsearchInstancesRequest method.
|
||||
// req, resp := client.DescribeReservedElasticsearchInstancesRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
func (c *ElasticsearchService) DescribeReservedElasticsearchInstancesRequest(input *DescribeReservedElasticsearchInstancesInput) (req *request.Request, output *DescribeReservedElasticsearchInstancesOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opDescribeReservedElasticsearchInstances,
|
||||
HTTPMethod: "GET",
|
||||
HTTPPath: "/2015-01-01/es/reservedInstances",
|
||||
Paginator: &request.Paginator{
|
||||
InputTokens: []string{"NextToken"},
|
||||
OutputTokens: []string{"NextToken"},
|
||||
LimitToken: "MaxResults",
|
||||
TruncationToken: "",
|
||||
},
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &DescribeReservedElasticsearchInstancesInput{}
|
||||
}
|
||||
|
||||
output = &DescribeReservedElasticsearchInstancesOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstances API operation for Amazon Elasticsearch Service.
|
||||
//
|
||||
// Returns information about reserved Elasticsearch instances for this account.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon Elasticsearch Service's
|
||||
// API operation DescribeReservedElasticsearchInstances for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// An exception for accessing or deleting a resource that does not exist. Gives
|
||||
// http status code of 400.
|
||||
//
|
||||
// * ErrCodeInternalException "InternalException"
|
||||
// The request processing has failed because of an unknown error, exception
|
||||
// or failure (the failure is internal to the service) . Gives http status code
|
||||
// of 500.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// * ErrCodeDisabledOperationException "DisabledOperationException"
|
||||
// An error occured because the client wanted to access a not supported operation.
|
||||
// Gives http status code of 409.
|
||||
//
|
||||
func (c *ElasticsearchService) DescribeReservedElasticsearchInstances(input *DescribeReservedElasticsearchInstancesInput) (*DescribeReservedElasticsearchInstancesOutput, error) {
|
||||
req, out := c.DescribeReservedElasticsearchInstancesRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstancesWithContext is the same as DescribeReservedElasticsearchInstances with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See DescribeReservedElasticsearchInstances 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 (c *ElasticsearchService) DescribeReservedElasticsearchInstancesWithContext(ctx aws.Context, input *DescribeReservedElasticsearchInstancesInput, opts ...request.Option) (*DescribeReservedElasticsearchInstancesOutput, error) {
|
||||
req, out := c.DescribeReservedElasticsearchInstancesRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstancesPages iterates over the pages of a DescribeReservedElasticsearchInstances operation,
|
||||
// calling the "fn" function with the response data for each page. To stop
|
||||
// iterating, return false from the fn function.
|
||||
//
|
||||
// See DescribeReservedElasticsearchInstances method for more information on how to use this operation.
|
||||
//
|
||||
// Note: This operation can generate multiple requests to a service.
|
||||
//
|
||||
// // Example iterating over at most 3 pages of a DescribeReservedElasticsearchInstances operation.
|
||||
// pageNum := 0
|
||||
// err := client.DescribeReservedElasticsearchInstancesPages(params,
|
||||
// func(page *DescribeReservedElasticsearchInstancesOutput, lastPage bool) bool {
|
||||
// pageNum++
|
||||
// fmt.Println(page)
|
||||
// return pageNum <= 3
|
||||
// })
|
||||
//
|
||||
func (c *ElasticsearchService) DescribeReservedElasticsearchInstancesPages(input *DescribeReservedElasticsearchInstancesInput, fn func(*DescribeReservedElasticsearchInstancesOutput, bool) bool) error {
|
||||
return c.DescribeReservedElasticsearchInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||
}
|
||||
|
||||
// DescribeReservedElasticsearchInstancesPagesWithContext same as DescribeReservedElasticsearchInstancesPages except
|
||||
// it takes a Context and allows setting request options on the pages.
|
||||
//
|
||||
// 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 (c *ElasticsearchService) DescribeReservedElasticsearchInstancesPagesWithContext(ctx aws.Context, input *DescribeReservedElasticsearchInstancesInput, fn func(*DescribeReservedElasticsearchInstancesOutput, bool) bool, opts ...request.Option) error {
|
||||
p := request.Pagination{
|
||||
NewRequest: func() (*request.Request, error) {
|
||||
var inCpy *DescribeReservedElasticsearchInstancesInput
|
||||
if input != nil {
|
||||
tmp := *input
|
||||
inCpy = &tmp
|
||||
}
|
||||
req, _ := c.DescribeReservedElasticsearchInstancesRequest(inCpy)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return req, nil
|
||||
},
|
||||
}
|
||||
|
||||
cont := true
|
||||
for p.Next() && cont {
|
||||
cont = fn(p.Page().(*DescribeReservedElasticsearchInstancesOutput), !p.HasNextPage())
|
||||
}
|
||||
return p.Err()
|
||||
}
|
||||
|
||||
const opListDomainNames = "ListDomainNames"
|
||||
|
||||
// ListDomainNamesRequest generates a "aws/request.Request" representing the
|
||||
|
@ -1216,6 +1508,104 @@ func (c *ElasticsearchService) ListTagsWithContext(ctx aws.Context, input *ListT
|
|||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opPurchaseReservedElasticsearchInstanceOffering = "PurchaseReservedElasticsearchInstanceOffering"
|
||||
|
||||
// PurchaseReservedElasticsearchInstanceOfferingRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the PurchaseReservedElasticsearchInstanceOffering operation. The "output" return
|
||||
// value will be populated with the request's response once the request completes
|
||||
// successfuly.
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// See PurchaseReservedElasticsearchInstanceOffering for more information on using the PurchaseReservedElasticsearchInstanceOffering
|
||||
// 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.
|
||||
//
|
||||
//
|
||||
// // Example sending a request using the PurchaseReservedElasticsearchInstanceOfferingRequest method.
|
||||
// req, resp := client.PurchaseReservedElasticsearchInstanceOfferingRequest(params)
|
||||
//
|
||||
// err := req.Send()
|
||||
// if err == nil { // resp is now filled
|
||||
// fmt.Println(resp)
|
||||
// }
|
||||
func (c *ElasticsearchService) PurchaseReservedElasticsearchInstanceOfferingRequest(input *PurchaseReservedElasticsearchInstanceOfferingInput) (req *request.Request, output *PurchaseReservedElasticsearchInstanceOfferingOutput) {
|
||||
op := &request.Operation{
|
||||
Name: opPurchaseReservedElasticsearchInstanceOffering,
|
||||
HTTPMethod: "POST",
|
||||
HTTPPath: "/2015-01-01/es/purchaseReservedInstanceOffering",
|
||||
}
|
||||
|
||||
if input == nil {
|
||||
input = &PurchaseReservedElasticsearchInstanceOfferingInput{}
|
||||
}
|
||||
|
||||
output = &PurchaseReservedElasticsearchInstanceOfferingOutput{}
|
||||
req = c.newRequest(op, input, output)
|
||||
return
|
||||
}
|
||||
|
||||
// PurchaseReservedElasticsearchInstanceOffering API operation for Amazon Elasticsearch Service.
|
||||
//
|
||||
// Allows you to purchase reserved Elasticsearch instances.
|
||||
//
|
||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||
// with awserr.Error's Code and Message methods to get detailed information about
|
||||
// the error.
|
||||
//
|
||||
// See the AWS API reference guide for Amazon Elasticsearch Service's
|
||||
// API operation PurchaseReservedElasticsearchInstanceOffering for usage and error information.
|
||||
//
|
||||
// Returned Error Codes:
|
||||
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
|
||||
// An exception for accessing or deleting a resource that does not exist. Gives
|
||||
// http status code of 400.
|
||||
//
|
||||
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
|
||||
// An exception for creating a resource that already exists. Gives http status
|
||||
// code of 400.
|
||||
//
|
||||
// * ErrCodeLimitExceededException "LimitExceededException"
|
||||
// An exception for trying to create more than allowed resources or sub-resources.
|
||||
// Gives http status code of 409.
|
||||
//
|
||||
// * ErrCodeDisabledOperationException "DisabledOperationException"
|
||||
// An error occured because the client wanted to access a not supported operation.
|
||||
// Gives http status code of 409.
|
||||
//
|
||||
// * ErrCodeValidationException "ValidationException"
|
||||
// An exception for missing / invalid input fields. Gives http status code of
|
||||
// 400.
|
||||
//
|
||||
// * ErrCodeInternalException "InternalException"
|
||||
// The request processing has failed because of an unknown error, exception
|
||||
// or failure (the failure is internal to the service) . Gives http status code
|
||||
// of 500.
|
||||
//
|
||||
func (c *ElasticsearchService) PurchaseReservedElasticsearchInstanceOffering(input *PurchaseReservedElasticsearchInstanceOfferingInput) (*PurchaseReservedElasticsearchInstanceOfferingOutput, error) {
|
||||
req, out := c.PurchaseReservedElasticsearchInstanceOfferingRequest(input)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
// PurchaseReservedElasticsearchInstanceOfferingWithContext is the same as PurchaseReservedElasticsearchInstanceOffering with the addition of
|
||||
// the ability to pass a context and additional request options.
|
||||
//
|
||||
// See PurchaseReservedElasticsearchInstanceOffering 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 (c *ElasticsearchService) PurchaseReservedElasticsearchInstanceOfferingWithContext(ctx aws.Context, input *PurchaseReservedElasticsearchInstanceOfferingInput, opts ...request.Option) (*PurchaseReservedElasticsearchInstanceOfferingOutput, error) {
|
||||
req, out := c.PurchaseReservedElasticsearchInstanceOfferingRequest(input)
|
||||
req.SetContext(ctx)
|
||||
req.ApplyOptions(opts...)
|
||||
return out, req.Send()
|
||||
}
|
||||
|
||||
const opRemoveTags = "RemoveTags"
|
||||
|
||||
// RemoveTagsRequest generates a "aws/request.Request" representing the
|
||||
|
@ -2299,6 +2689,163 @@ func (s *DescribeElasticsearchInstanceTypeLimitsOutput) SetLimitsByRole(v map[st
|
|||
return s
|
||||
}
|
||||
|
||||
// Container for parameters to DescribeReservedElasticsearchInstanceOfferings
|
||||
type DescribeReservedElasticsearchInstanceOfferingsInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Set this value to limit the number of results returned. If not specified,
|
||||
// defaults to 100.
|
||||
MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`
|
||||
|
||||
// NextToken should be sent in case if earlier API call produced result containing
|
||||
// NextToken. It is used for pagination.
|
||||
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
|
||||
|
||||
// The offering identifier filter value. Use this parameter to show only the
|
||||
// available offering that matches the specified reservation identifier.
|
||||
ReservedElasticsearchInstanceOfferingId *string `location:"querystring" locationName:"offeringId" type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstanceOfferingsInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstanceOfferingsInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetMaxResults sets the MaxResults field's value.
|
||||
func (s *DescribeReservedElasticsearchInstanceOfferingsInput) SetMaxResults(v int64) *DescribeReservedElasticsearchInstanceOfferingsInput {
|
||||
s.MaxResults = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *DescribeReservedElasticsearchInstanceOfferingsInput) SetNextToken(v string) *DescribeReservedElasticsearchInstanceOfferingsInput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceOfferingId sets the ReservedElasticsearchInstanceOfferingId field's value.
|
||||
func (s *DescribeReservedElasticsearchInstanceOfferingsInput) SetReservedElasticsearchInstanceOfferingId(v string) *DescribeReservedElasticsearchInstanceOfferingsInput {
|
||||
s.ReservedElasticsearchInstanceOfferingId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Container for results from DescribeReservedElasticsearchInstanceOfferings
|
||||
type DescribeReservedElasticsearchInstanceOfferingsOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Provides an identifier to allow retrieval of paginated results.
|
||||
NextToken *string `type:"string"`
|
||||
|
||||
// List of reserved Elasticsearch instance offerings
|
||||
ReservedElasticsearchInstanceOfferings []*ReservedElasticsearchInstanceOffering `type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstanceOfferingsOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstanceOfferingsOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *DescribeReservedElasticsearchInstanceOfferingsOutput) SetNextToken(v string) *DescribeReservedElasticsearchInstanceOfferingsOutput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceOfferings sets the ReservedElasticsearchInstanceOfferings field's value.
|
||||
func (s *DescribeReservedElasticsearchInstanceOfferingsOutput) SetReservedElasticsearchInstanceOfferings(v []*ReservedElasticsearchInstanceOffering) *DescribeReservedElasticsearchInstanceOfferingsOutput {
|
||||
s.ReservedElasticsearchInstanceOfferings = v
|
||||
return s
|
||||
}
|
||||
|
||||
// Container for parameters to DescribeReservedElasticsearchInstances
|
||||
type DescribeReservedElasticsearchInstancesInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Set this value to limit the number of results returned. If not specified,
|
||||
// defaults to 100.
|
||||
MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"`
|
||||
|
||||
// NextToken should be sent in case if earlier API call produced result containing
|
||||
// NextToken. It is used for pagination.
|
||||
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
|
||||
|
||||
// The reserved instance identifier filter value. Use this parameter to show
|
||||
// only the reservation that matches the specified reserved Elasticsearch instance
|
||||
// ID.
|
||||
ReservedElasticsearchInstanceId *string `location:"querystring" locationName:"reservationId" type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstancesInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstancesInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetMaxResults sets the MaxResults field's value.
|
||||
func (s *DescribeReservedElasticsearchInstancesInput) SetMaxResults(v int64) *DescribeReservedElasticsearchInstancesInput {
|
||||
s.MaxResults = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *DescribeReservedElasticsearchInstancesInput) SetNextToken(v string) *DescribeReservedElasticsearchInstancesInput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceId sets the ReservedElasticsearchInstanceId field's value.
|
||||
func (s *DescribeReservedElasticsearchInstancesInput) SetReservedElasticsearchInstanceId(v string) *DescribeReservedElasticsearchInstancesInput {
|
||||
s.ReservedElasticsearchInstanceId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Container for results from DescribeReservedElasticsearchInstances
|
||||
type DescribeReservedElasticsearchInstancesOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// Provides an identifier to allow retrieval of paginated results.
|
||||
NextToken *string `type:"string"`
|
||||
|
||||
// List of reserved Elasticsearch instances.
|
||||
ReservedElasticsearchInstances []*ReservedElasticsearchInstance `type:"list"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstancesOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s DescribeReservedElasticsearchInstancesOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetNextToken sets the NextToken field's value.
|
||||
func (s *DescribeReservedElasticsearchInstancesOutput) SetNextToken(v string) *DescribeReservedElasticsearchInstancesOutput {
|
||||
s.NextToken = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstances sets the ReservedElasticsearchInstances field's value.
|
||||
func (s *DescribeReservedElasticsearchInstancesOutput) SetReservedElasticsearchInstances(v []*ReservedElasticsearchInstance) *DescribeReservedElasticsearchInstancesOutput {
|
||||
s.ReservedElasticsearchInstances = v
|
||||
return s
|
||||
}
|
||||
|
||||
type DomainInfo struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
|
@ -3491,6 +4038,142 @@ func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus {
|
|||
return s
|
||||
}
|
||||
|
||||
// Container for parameters to PurchaseReservedElasticsearchInstanceOffering
|
||||
type PurchaseReservedElasticsearchInstanceOfferingInput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The number of Elasticsearch instances to reserve.
|
||||
InstanceCount *int64 `min:"1" type:"integer"`
|
||||
|
||||
// A customer-specified identifier to track this reservation.
|
||||
//
|
||||
// ReservationName is a required field
|
||||
ReservationName *string `min:"5" type:"string" required:"true"`
|
||||
|
||||
// The ID of the reserved Elasticsearch instance offering to purchase.
|
||||
//
|
||||
// ReservedElasticsearchInstanceOfferingId is a required field
|
||||
ReservedElasticsearchInstanceOfferingId *string `type:"string" required:"true"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s PurchaseReservedElasticsearchInstanceOfferingInput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s PurchaseReservedElasticsearchInstanceOfferingInput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// Validate inspects the fields of the type to determine if they are valid.
|
||||
func (s *PurchaseReservedElasticsearchInstanceOfferingInput) Validate() error {
|
||||
invalidParams := request.ErrInvalidParams{Context: "PurchaseReservedElasticsearchInstanceOfferingInput"}
|
||||
if s.InstanceCount != nil && *s.InstanceCount < 1 {
|
||||
invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
|
||||
}
|
||||
if s.ReservationName == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("ReservationName"))
|
||||
}
|
||||
if s.ReservationName != nil && len(*s.ReservationName) < 5 {
|
||||
invalidParams.Add(request.NewErrParamMinLen("ReservationName", 5))
|
||||
}
|
||||
if s.ReservedElasticsearchInstanceOfferingId == nil {
|
||||
invalidParams.Add(request.NewErrParamRequired("ReservedElasticsearchInstanceOfferingId"))
|
||||
}
|
||||
|
||||
if invalidParams.Len() > 0 {
|
||||
return invalidParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// SetInstanceCount sets the InstanceCount field's value.
|
||||
func (s *PurchaseReservedElasticsearchInstanceOfferingInput) SetInstanceCount(v int64) *PurchaseReservedElasticsearchInstanceOfferingInput {
|
||||
s.InstanceCount = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservationName sets the ReservationName field's value.
|
||||
func (s *PurchaseReservedElasticsearchInstanceOfferingInput) SetReservationName(v string) *PurchaseReservedElasticsearchInstanceOfferingInput {
|
||||
s.ReservationName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceOfferingId sets the ReservedElasticsearchInstanceOfferingId field's value.
|
||||
func (s *PurchaseReservedElasticsearchInstanceOfferingInput) SetReservedElasticsearchInstanceOfferingId(v string) *PurchaseReservedElasticsearchInstanceOfferingInput {
|
||||
s.ReservedElasticsearchInstanceOfferingId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Represents the output of a PurchaseReservedElasticsearchInstanceOffering
|
||||
// operation.
|
||||
type PurchaseReservedElasticsearchInstanceOfferingOutput struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The customer-specified identifier used to track this reservation.
|
||||
ReservationName *string `min:"5" type:"string"`
|
||||
|
||||
// Details of the reserved Elasticsearch instance which was purchased.
|
||||
ReservedElasticsearchInstanceId *string `type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s PurchaseReservedElasticsearchInstanceOfferingOutput) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s PurchaseReservedElasticsearchInstanceOfferingOutput) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetReservationName sets the ReservationName field's value.
|
||||
func (s *PurchaseReservedElasticsearchInstanceOfferingOutput) SetReservationName(v string) *PurchaseReservedElasticsearchInstanceOfferingOutput {
|
||||
s.ReservationName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceId sets the ReservedElasticsearchInstanceId field's value.
|
||||
func (s *PurchaseReservedElasticsearchInstanceOfferingOutput) SetReservedElasticsearchInstanceId(v string) *PurchaseReservedElasticsearchInstanceOfferingOutput {
|
||||
s.ReservedElasticsearchInstanceId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Contains the specific price and frequency of a recurring charges for a reserved
|
||||
// Elasticsearch instance, or for a reserved Elasticsearch instance offering.
|
||||
type RecurringCharge struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The monetary amount of the recurring charge.
|
||||
RecurringChargeAmount *float64 `type:"double"`
|
||||
|
||||
// The frequency of the recurring charge.
|
||||
RecurringChargeFrequency *string `type:"string"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s RecurringCharge) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s RecurringCharge) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetRecurringChargeAmount sets the RecurringChargeAmount field's value.
|
||||
func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge {
|
||||
s.RecurringChargeAmount = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value.
|
||||
func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge {
|
||||
s.RecurringChargeFrequency = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Container for the parameters to the RemoveTags operation. Specify the ARN
|
||||
// for the Elasticsearch domain from which you want to remove the specified
|
||||
// TagKey.
|
||||
|
@ -3562,6 +4245,232 @@ func (s RemoveTagsOutput) GoString() string {
|
|||
return s.String()
|
||||
}
|
||||
|
||||
// Details of a reserved Elasticsearch instance.
|
||||
type ReservedElasticsearchInstance struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The currency code for the reserved Elasticsearch instance offering.
|
||||
CurrencyCode *string `type:"string"`
|
||||
|
||||
// The duration, in seconds, for which the Elasticsearch instance is reserved.
|
||||
Duration *int64 `type:"integer"`
|
||||
|
||||
// The number of Elasticsearch instances that have been reserved.
|
||||
ElasticsearchInstanceCount *int64 `type:"integer"`
|
||||
|
||||
// The Elasticsearch instance type offered by the reserved instance offering.
|
||||
ElasticsearchInstanceType *string `type:"string" enum:"ESPartitionInstanceType"`
|
||||
|
||||
// The upfront fixed charge you will paid to purchase the specific reserved
|
||||
// Elasticsearch instance offering.
|
||||
FixedPrice *float64 `type:"double"`
|
||||
|
||||
// The payment option as defined in the reserved Elasticsearch instance offering.
|
||||
PaymentOption *string `type:"string" enum:"ReservedElasticsearchInstancePaymentOption"`
|
||||
|
||||
// The charge to your account regardless of whether you are creating any domains
|
||||
// using the instance offering.
|
||||
RecurringCharges []*RecurringCharge `type:"list"`
|
||||
|
||||
// The customer-specified identifier to track this reservation.
|
||||
ReservationName *string `min:"5" type:"string"`
|
||||
|
||||
// The unique identifier for the reservation.
|
||||
ReservedElasticsearchInstanceId *string `type:"string"`
|
||||
|
||||
// The offering identifier.
|
||||
ReservedElasticsearchInstanceOfferingId *string `type:"string"`
|
||||
|
||||
// The time the reservation started.
|
||||
StartTime *time.Time `type:"timestamp" timestampFormat:"unix"`
|
||||
|
||||
// The state of the reserved Elasticsearch instance.
|
||||
State *string `type:"string"`
|
||||
|
||||
// The rate you are charged for each hour for the domain that is using this
|
||||
// reserved instance.
|
||||
UsagePrice *float64 `type:"double"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ReservedElasticsearchInstance) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ReservedElasticsearchInstance) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetCurrencyCode sets the CurrencyCode field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetCurrencyCode(v string) *ReservedElasticsearchInstance {
|
||||
s.CurrencyCode = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDuration sets the Duration field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetDuration(v int64) *ReservedElasticsearchInstance {
|
||||
s.Duration = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetElasticsearchInstanceCount sets the ElasticsearchInstanceCount field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetElasticsearchInstanceCount(v int64) *ReservedElasticsearchInstance {
|
||||
s.ElasticsearchInstanceCount = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetElasticsearchInstanceType sets the ElasticsearchInstanceType field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetElasticsearchInstanceType(v string) *ReservedElasticsearchInstance {
|
||||
s.ElasticsearchInstanceType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetFixedPrice sets the FixedPrice field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetFixedPrice(v float64) *ReservedElasticsearchInstance {
|
||||
s.FixedPrice = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPaymentOption sets the PaymentOption field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetPaymentOption(v string) *ReservedElasticsearchInstance {
|
||||
s.PaymentOption = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRecurringCharges sets the RecurringCharges field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetRecurringCharges(v []*RecurringCharge) *ReservedElasticsearchInstance {
|
||||
s.RecurringCharges = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservationName sets the ReservationName field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetReservationName(v string) *ReservedElasticsearchInstance {
|
||||
s.ReservationName = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceId sets the ReservedElasticsearchInstanceId field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetReservedElasticsearchInstanceId(v string) *ReservedElasticsearchInstance {
|
||||
s.ReservedElasticsearchInstanceId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceOfferingId sets the ReservedElasticsearchInstanceOfferingId field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetReservedElasticsearchInstanceOfferingId(v string) *ReservedElasticsearchInstance {
|
||||
s.ReservedElasticsearchInstanceOfferingId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetStartTime sets the StartTime field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetStartTime(v time.Time) *ReservedElasticsearchInstance {
|
||||
s.StartTime = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetState sets the State field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetState(v string) *ReservedElasticsearchInstance {
|
||||
s.State = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetUsagePrice sets the UsagePrice field's value.
|
||||
func (s *ReservedElasticsearchInstance) SetUsagePrice(v float64) *ReservedElasticsearchInstance {
|
||||
s.UsagePrice = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Details of a reserved Elasticsearch instance offering.
|
||||
type ReservedElasticsearchInstanceOffering struct {
|
||||
_ struct{} `type:"structure"`
|
||||
|
||||
// The currency code for the reserved Elasticsearch instance offering.
|
||||
CurrencyCode *string `type:"string"`
|
||||
|
||||
// The duration, in seconds, for which the offering will reserve the Elasticsearch
|
||||
// instance.
|
||||
Duration *int64 `type:"integer"`
|
||||
|
||||
// The Elasticsearch instance type offered by the reserved instance offering.
|
||||
ElasticsearchInstanceType *string `type:"string" enum:"ESPartitionInstanceType"`
|
||||
|
||||
// The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch
|
||||
// instance offering.
|
||||
FixedPrice *float64 `type:"double"`
|
||||
|
||||
// Payment option for the reserved Elasticsearch instance offering
|
||||
PaymentOption *string `type:"string" enum:"ReservedElasticsearchInstancePaymentOption"`
|
||||
|
||||
// The charge to your account regardless of whether you are creating any domains
|
||||
// using the instance offering.
|
||||
RecurringCharges []*RecurringCharge `type:"list"`
|
||||
|
||||
// The Elasticsearch reserved instance offering identifier.
|
||||
ReservedElasticsearchInstanceOfferingId *string `type:"string"`
|
||||
|
||||
// The rate you are charged for each hour the domain that is using the offering
|
||||
// is running.
|
||||
UsagePrice *float64 `type:"double"`
|
||||
}
|
||||
|
||||
// String returns the string representation
|
||||
func (s ReservedElasticsearchInstanceOffering) String() string {
|
||||
return awsutil.Prettify(s)
|
||||
}
|
||||
|
||||
// GoString returns the string representation
|
||||
func (s ReservedElasticsearchInstanceOffering) GoString() string {
|
||||
return s.String()
|
||||
}
|
||||
|
||||
// SetCurrencyCode sets the CurrencyCode field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetCurrencyCode(v string) *ReservedElasticsearchInstanceOffering {
|
||||
s.CurrencyCode = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetDuration sets the Duration field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetDuration(v int64) *ReservedElasticsearchInstanceOffering {
|
||||
s.Duration = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetElasticsearchInstanceType sets the ElasticsearchInstanceType field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetElasticsearchInstanceType(v string) *ReservedElasticsearchInstanceOffering {
|
||||
s.ElasticsearchInstanceType = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetFixedPrice sets the FixedPrice field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetFixedPrice(v float64) *ReservedElasticsearchInstanceOffering {
|
||||
s.FixedPrice = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetPaymentOption sets the PaymentOption field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetPaymentOption(v string) *ReservedElasticsearchInstanceOffering {
|
||||
s.PaymentOption = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetRecurringCharges sets the RecurringCharges field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedElasticsearchInstanceOffering {
|
||||
s.RecurringCharges = v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetReservedElasticsearchInstanceOfferingId sets the ReservedElasticsearchInstanceOfferingId field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetReservedElasticsearchInstanceOfferingId(v string) *ReservedElasticsearchInstanceOffering {
|
||||
s.ReservedElasticsearchInstanceOfferingId = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// SetUsagePrice sets the UsagePrice field's value.
|
||||
func (s *ReservedElasticsearchInstanceOffering) SetUsagePrice(v float64) *ReservedElasticsearchInstanceOffering {
|
||||
s.UsagePrice = &v
|
||||
return s
|
||||
}
|
||||
|
||||
// Specifies the time, in UTC format, when the service takes a daily automated
|
||||
// snapshot of the specified Elasticsearch domain. Default value is 0 hours.
|
||||
type SnapshotOptions struct {
|
||||
|
@ -4210,6 +5119,17 @@ const (
|
|||
OptionStateActive = "Active"
|
||||
)
|
||||
|
||||
const (
|
||||
// ReservedElasticsearchInstancePaymentOptionAllUpfront is a ReservedElasticsearchInstancePaymentOption enum value
|
||||
ReservedElasticsearchInstancePaymentOptionAllUpfront = "ALL_UPFRONT"
|
||||
|
||||
// ReservedElasticsearchInstancePaymentOptionPartialUpfront is a ReservedElasticsearchInstancePaymentOption enum value
|
||||
ReservedElasticsearchInstancePaymentOptionPartialUpfront = "PARTIAL_UPFRONT"
|
||||
|
||||
// ReservedElasticsearchInstancePaymentOptionNoUpfront is a ReservedElasticsearchInstancePaymentOption enum value
|
||||
ReservedElasticsearchInstancePaymentOptionNoUpfront = "NO_UPFRONT"
|
||||
)
|
||||
|
||||
// The type of EBS volume, standard, gp2, or io1. See Configuring EBS-based
|
||||
// Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs)for
|
||||
// more information.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue