vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood 2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974229 additions and 201215 deletions

View file

@ -299,6 +299,97 @@ func (c *ElasticsearchService) DeleteElasticsearchDomainWithContext(ctx aws.Cont
return out, req.Send()
}
const opDeleteElasticsearchServiceRole = "DeleteElasticsearchServiceRole"
// DeleteElasticsearchServiceRoleRequest generates a "aws/request.Request" representing the
// client's request for the DeleteElasticsearchServiceRole operation. The "output" return
// value will be populated with the request's response once the request complets
// 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 DeleteElasticsearchServiceRole for more information on using the DeleteElasticsearchServiceRole
// 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 DeleteElasticsearchServiceRoleRequest method.
// req, resp := client.DeleteElasticsearchServiceRoleRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
func (c *ElasticsearchService) DeleteElasticsearchServiceRoleRequest(input *DeleteElasticsearchServiceRoleInput) (req *request.Request, output *DeleteElasticsearchServiceRoleOutput) {
op := &request.Operation{
Name: opDeleteElasticsearchServiceRole,
HTTPMethod: "DELETE",
HTTPPath: "/2015-01-01/es/role",
}
if input == nil {
input = &DeleteElasticsearchServiceRoleInput{}
}
output = &DeleteElasticsearchServiceRoleOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Remove(restjson.UnmarshalHandler)
req.Handlers.Unmarshal.PushBackNamed(protocol.UnmarshalDiscardBodyHandler)
return
}
// DeleteElasticsearchServiceRole API operation for Amazon Elasticsearch Service.
//
// Deletes the service-linked role that Elasticsearch Service uses to manage
// and maintain VPC domains. Role deletion will fail if any existing VPC domains
// use the role. You must delete any such Elasticsearch domains before deleting
// the role. See Deleting Elasticsearch Service Role (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-enabling-slr)
// in VPC Endpoints for Amazon Elasticsearch Service Domains.
//
// 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 DeleteElasticsearchServiceRole for usage and error information.
//
// Returned Error Codes:
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * 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.
//
func (c *ElasticsearchService) DeleteElasticsearchServiceRole(input *DeleteElasticsearchServiceRoleInput) (*DeleteElasticsearchServiceRoleOutput, error) {
req, out := c.DeleteElasticsearchServiceRoleRequest(input)
return out, req.Send()
}
// DeleteElasticsearchServiceRoleWithContext is the same as DeleteElasticsearchServiceRole with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteElasticsearchServiceRole 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) DeleteElasticsearchServiceRoleWithContext(ctx aws.Context, input *DeleteElasticsearchServiceRoleInput, opts ...request.Option) (*DeleteElasticsearchServiceRoleOutput, error) {
req, out := c.DeleteElasticsearchServiceRoleRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDescribeElasticsearchDomain = "DescribeElasticsearchDomain"
// DescribeElasticsearchDomainRequest generates a "aws/request.Request" representing the
@ -1550,9 +1641,21 @@ type CreateElasticsearchDomainInput struct {
// in the Amazon Elasticsearch Service Developer Guide.
ElasticsearchVersion *string `type:"string"`
// Specifies the Encryption At Rest Options.
EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"`
// Map of LogType and LogPublishingOption, each containing options to publish
// a given type of Elasticsearch log.
LogPublishingOptions map[string]*LogPublishingOption `type:"map"`
// Option to set time, in UTC format, of the daily automated snapshot. Default
// value is 0 hours.
SnapshotOptions *SnapshotOptions `type:"structure"`
// Options to specify the subnets and security groups for VPC endpoint. For
// more information, see Creating a VPC (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc)
// in VPC Endpoints for Amazon Elasticsearch Service Domains
VPCOptions *VPCOptions `type:"structure"`
}
// String returns the string representation
@ -1574,6 +1677,11 @@ func (s *CreateElasticsearchDomainInput) Validate() error {
if s.DomainName != nil && len(*s.DomainName) < 3 {
invalidParams.Add(request.NewErrParamMinLen("DomainName", 3))
}
if s.EncryptionAtRestOptions != nil {
if err := s.EncryptionAtRestOptions.Validate(); err != nil {
invalidParams.AddNested("EncryptionAtRestOptions", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
@ -1617,12 +1725,30 @@ func (s *CreateElasticsearchDomainInput) SetElasticsearchVersion(v string) *Crea
return s
}
// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value.
func (s *CreateElasticsearchDomainInput) SetEncryptionAtRestOptions(v *EncryptionAtRestOptions) *CreateElasticsearchDomainInput {
s.EncryptionAtRestOptions = v
return s
}
// SetLogPublishingOptions sets the LogPublishingOptions field's value.
func (s *CreateElasticsearchDomainInput) SetLogPublishingOptions(v map[string]*LogPublishingOption) *CreateElasticsearchDomainInput {
s.LogPublishingOptions = v
return s
}
// SetSnapshotOptions sets the SnapshotOptions field's value.
func (s *CreateElasticsearchDomainInput) SetSnapshotOptions(v *SnapshotOptions) *CreateElasticsearchDomainInput {
s.SnapshotOptions = v
return s
}
// SetVPCOptions sets the VPCOptions field's value.
func (s *CreateElasticsearchDomainInput) SetVPCOptions(v *VPCOptions) *CreateElasticsearchDomainInput {
s.VPCOptions = v
return s
}
// The result of a CreateElasticsearchDomain operation. Contains the status
// of the newly created Elasticsearch domain.
type CreateElasticsearchDomainOutput struct {
@ -1717,6 +1843,34 @@ func (s *DeleteElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomain
return s
}
type DeleteElasticsearchServiceRoleInput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteElasticsearchServiceRoleInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteElasticsearchServiceRoleInput) GoString() string {
return s.String()
}
type DeleteElasticsearchServiceRoleOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteElasticsearchServiceRoleOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteElasticsearchServiceRoleOutput) GoString() string {
return s.String()
}
// Container for the parameters to the DescribeElasticsearchDomainConfig operation.
// Specifies the domain name for which you want configuration information.
type DescribeElasticsearchDomainConfigInput struct {
@ -2265,8 +2419,18 @@ type ElasticsearchDomainConfig struct {
// String of format X.Y to specify version for the Elasticsearch domain.
ElasticsearchVersion *ElasticsearchVersionStatus `type:"structure"`
// Specifies the EncryptionAtRestOptions for the Elasticsearch domain.
EncryptionAtRestOptions *EncryptionAtRestOptionsStatus `type:"structure"`
// Log publishing options for the given domain.
LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"`
// Specifies the SnapshotOptions for the Elasticsearch domain.
SnapshotOptions *SnapshotOptionsStatus `type:"structure"`
// The VPCOptions for the specified domain. For more information, see VPC Endpoints
// for Amazon Elasticsearch Service Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html).
VPCOptions *VPCDerivedInfoStatus `type:"structure"`
}
// String returns the string representation
@ -2309,12 +2473,30 @@ func (s *ElasticsearchDomainConfig) SetElasticsearchVersion(v *ElasticsearchVers
return s
}
// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value.
func (s *ElasticsearchDomainConfig) SetEncryptionAtRestOptions(v *EncryptionAtRestOptionsStatus) *ElasticsearchDomainConfig {
s.EncryptionAtRestOptions = v
return s
}
// SetLogPublishingOptions sets the LogPublishingOptions field's value.
func (s *ElasticsearchDomainConfig) SetLogPublishingOptions(v *LogPublishingOptionsStatus) *ElasticsearchDomainConfig {
s.LogPublishingOptions = v
return s
}
// SetSnapshotOptions sets the SnapshotOptions field's value.
func (s *ElasticsearchDomainConfig) SetSnapshotOptions(v *SnapshotOptionsStatus) *ElasticsearchDomainConfig {
s.SnapshotOptions = v
return s
}
// SetVPCOptions sets the VPCOptions field's value.
func (s *ElasticsearchDomainConfig) SetVPCOptions(v *VPCDerivedInfoStatus) *ElasticsearchDomainConfig {
s.VPCOptions = v
return s
}
// The current status of an Elasticsearch domain.
type ElasticsearchDomainStatus struct {
_ struct{} `type:"structure"`
@ -2367,10 +2549,20 @@ type ElasticsearchDomainStatus struct {
ElasticsearchVersion *string `type:"string"`
// Specifies the status of the EncryptionAtRestOptions.
EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"`
// The Elasticsearch domain endpoint that you use to submit index and search
// requests.
Endpoint *string `type:"string"`
// Map containing the Elasticsearch domain endpoints used to submit index and
// search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.
Endpoints map[string]*string `type:"map"`
// Log publishing options for the given domain.
LogPublishingOptions map[string]*LogPublishingOption `type:"map"`
// The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch
// Service is processing configuration changes. False if the configuration is
// active.
@ -2378,6 +2570,10 @@ type ElasticsearchDomainStatus struct {
// Specifies the status of the SnapshotOptions
SnapshotOptions *SnapshotOptions `type:"structure"`
// The VPCOptions for the specified domain. For more information, see VPC Endpoints
// for Amazon Elasticsearch Service Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html).
VPCOptions *VPCDerivedInfo `type:"structure"`
}
// String returns the string representation
@ -2450,12 +2646,30 @@ func (s *ElasticsearchDomainStatus) SetElasticsearchVersion(v string) *Elasticse
return s
}
// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value.
func (s *ElasticsearchDomainStatus) SetEncryptionAtRestOptions(v *EncryptionAtRestOptions) *ElasticsearchDomainStatus {
s.EncryptionAtRestOptions = v
return s
}
// SetEndpoint sets the Endpoint field's value.
func (s *ElasticsearchDomainStatus) SetEndpoint(v string) *ElasticsearchDomainStatus {
s.Endpoint = &v
return s
}
// SetEndpoints sets the Endpoints field's value.
func (s *ElasticsearchDomainStatus) SetEndpoints(v map[string]*string) *ElasticsearchDomainStatus {
s.Endpoints = v
return s
}
// SetLogPublishingOptions sets the LogPublishingOptions field's value.
func (s *ElasticsearchDomainStatus) SetLogPublishingOptions(v map[string]*LogPublishingOption) *ElasticsearchDomainStatus {
s.LogPublishingOptions = v
return s
}
// SetProcessing sets the Processing field's value.
func (s *ElasticsearchDomainStatus) SetProcessing(v bool) *ElasticsearchDomainStatus {
s.Processing = &v
@ -2468,6 +2682,12 @@ func (s *ElasticsearchDomainStatus) SetSnapshotOptions(v *SnapshotOptions) *Elas
return s
}
// SetVPCOptions sets the VPCOptions field's value.
func (s *ElasticsearchDomainStatus) SetVPCOptions(v *VPCDerivedInfo) *ElasticsearchDomainStatus {
s.VPCOptions = v
return s
}
// Status of the Elasticsearch version options for the specified Elasticsearch
// domain.
type ElasticsearchVersionStatus struct {
@ -2507,6 +2727,92 @@ func (s *ElasticsearchVersionStatus) SetStatus(v *OptionStatus) *ElasticsearchVe
return s
}
// Specifies the Encryption At Rest Options.
type EncryptionAtRestOptions struct {
_ struct{} `type:"structure"`
// Specifies the option to enable Encryption At Rest.
Enabled *bool `type:"boolean"`
// Specifies the KMS Key ID for Encryption At Rest options.
KmsKeyId *string `min:"1" type:"string"`
}
// String returns the string representation
func (s EncryptionAtRestOptions) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s EncryptionAtRestOptions) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *EncryptionAtRestOptions) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "EncryptionAtRestOptions"}
if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetEnabled sets the Enabled field's value.
func (s *EncryptionAtRestOptions) SetEnabled(v bool) *EncryptionAtRestOptions {
s.Enabled = &v
return s
}
// SetKmsKeyId sets the KmsKeyId field's value.
func (s *EncryptionAtRestOptions) SetKmsKeyId(v string) *EncryptionAtRestOptions {
s.KmsKeyId = &v
return s
}
// Status of the Encryption At Rest options for the specified Elasticsearch
// domain.
type EncryptionAtRestOptionsStatus struct {
_ struct{} `type:"structure"`
// Specifies the Encryption At Rest options for the specified Elasticsearch
// domain.
//
// Options is a required field
Options *EncryptionAtRestOptions `type:"structure" required:"true"`
// Specifies the status of the Encryption At Rest options for the specified
// Elasticsearch domain.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
// String returns the string representation
func (s EncryptionAtRestOptionsStatus) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s EncryptionAtRestOptionsStatus) GoString() string {
return s.String()
}
// SetOptions sets the Options field's value.
func (s *EncryptionAtRestOptionsStatus) SetOptions(v *EncryptionAtRestOptions) *EncryptionAtRestOptionsStatus {
s.Options = v
return s
}
// SetStatus sets the Status field's value.
func (s *EncryptionAtRestOptionsStatus) SetStatus(v *OptionStatus) *EncryptionAtRestOptionsStatus {
s.Status = v
return s
}
// InstanceCountLimits represents the limits on number of instances that be
// created in Amazon Elasticsearch for given InstanceType.
type InstanceCountLimits struct {
@ -2905,6 +3211,75 @@ func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput {
return s
}
// Log Publishing option that is set for given domain. Attributes and their details: CloudWatchLogsLogGroupArn: ARN of the Cloudwatch
// log group to which log needs to be published.
// Enabled: Whether the log publishing for given log type is enabled or not
type LogPublishingOption struct {
_ struct{} `type:"structure"`
// ARN of the Cloudwatch log group to which log needs to be published.
CloudWatchLogsLogGroupArn *string `type:"string"`
// Specifies whether given log publishing option is enabled or not.
Enabled *bool `type:"boolean"`
}
// String returns the string representation
func (s LogPublishingOption) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s LogPublishingOption) GoString() string {
return s.String()
}
// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
func (s *LogPublishingOption) SetCloudWatchLogsLogGroupArn(v string) *LogPublishingOption {
s.CloudWatchLogsLogGroupArn = &v
return s
}
// SetEnabled sets the Enabled field's value.
func (s *LogPublishingOption) SetEnabled(v bool) *LogPublishingOption {
s.Enabled = &v
return s
}
// The configured log publishing options for the domain and their current status.
type LogPublishingOptionsStatus struct {
_ struct{} `type:"structure"`
// The log publishing options configured for the Elasticsearch domain.
Options map[string]*LogPublishingOption `type:"map"`
// The status of the log publishing options for the Elasticsearch domain. See
// OptionStatus for the status information that's included.
Status *OptionStatus `type:"structure"`
}
// String returns the string representation
func (s LogPublishingOptionsStatus) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s LogPublishingOptionsStatus) GoString() string {
return s.String()
}
// SetOptions sets the Options field's value.
func (s *LogPublishingOptionsStatus) SetOptions(v map[string]*LogPublishingOption) *LogPublishingOptionsStatus {
s.Options = v
return s
}
// SetStatus sets the Status field's value.
func (s *LogPublishingOptionsStatus) SetStatus(v *OptionStatus) *LogPublishingOptionsStatus {
s.Status = v
return s
}
// Provides the current status of the entity.
type OptionStatus struct {
_ struct{} `type:"structure"`
@ -3282,9 +3657,18 @@ type UpdateElasticsearchDomainConfigInput struct {
// The type and number of instances to instantiate for the domain cluster.
ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure"`
// Map of LogType and LogPublishingOption, each containing options to publish
// a given type of Elasticsearch log.
LogPublishingOptions map[string]*LogPublishingOption `type:"map"`
// Option to set the time, in UTC format, for the daily automated snapshot.
// Default value is 0 hours.
SnapshotOptions *SnapshotOptions `type:"structure"`
// Options to specify the subnets and security groups for VPC endpoint. For
// more information, see Creating a VPC (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc)
// in VPC Endpoints for Amazon Elasticsearch Service Domains
VPCOptions *VPCOptions `type:"structure"`
}
// String returns the string representation
@ -3343,12 +3727,24 @@ func (s *UpdateElasticsearchDomainConfigInput) SetElasticsearchClusterConfig(v *
return s
}
// SetLogPublishingOptions sets the LogPublishingOptions field's value.
func (s *UpdateElasticsearchDomainConfigInput) SetLogPublishingOptions(v map[string]*LogPublishingOption) *UpdateElasticsearchDomainConfigInput {
s.LogPublishingOptions = v
return s
}
// SetSnapshotOptions sets the SnapshotOptions field's value.
func (s *UpdateElasticsearchDomainConfigInput) SetSnapshotOptions(v *SnapshotOptions) *UpdateElasticsearchDomainConfigInput {
s.SnapshotOptions = v
return s
}
// SetVPCOptions sets the VPCOptions field's value.
func (s *UpdateElasticsearchDomainConfigInput) SetVPCOptions(v *VPCOptions) *UpdateElasticsearchDomainConfigInput {
s.VPCOptions = v
return s
}
// The result of an UpdateElasticsearchDomain request. Contains the status of
// the Elasticsearch domain being updated.
type UpdateElasticsearchDomainConfigOutput struct {
@ -3376,6 +3772,133 @@ func (s *UpdateElasticsearchDomainConfigOutput) SetDomainConfig(v *Elasticsearch
return s
}
// Options to specify the subnets and security groups for VPC endpoint. For
// more information, see VPC Endpoints for Amazon Elasticsearch Service Domains
// (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html).
type VPCDerivedInfo struct {
_ struct{} `type:"structure"`
// The availability zones for the Elasticsearch domain. Exists only if the domain
// was created with VPCOptions.
AvailabilityZones []*string `type:"list"`
// Specifies the security groups for VPC endpoint.
SecurityGroupIds []*string `type:"list"`
// Specifies the subnets for VPC endpoint.
SubnetIds []*string `type:"list"`
// The VPC Id for the Elasticsearch domain. Exists only if the domain was created
// with VPCOptions.
VPCId *string `type:"string"`
}
// String returns the string representation
func (s VPCDerivedInfo) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s VPCDerivedInfo) GoString() string {
return s.String()
}
// SetAvailabilityZones sets the AvailabilityZones field's value.
func (s *VPCDerivedInfo) SetAvailabilityZones(v []*string) *VPCDerivedInfo {
s.AvailabilityZones = v
return s
}
// SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (s *VPCDerivedInfo) SetSecurityGroupIds(v []*string) *VPCDerivedInfo {
s.SecurityGroupIds = v
return s
}
// SetSubnetIds sets the SubnetIds field's value.
func (s *VPCDerivedInfo) SetSubnetIds(v []*string) *VPCDerivedInfo {
s.SubnetIds = v
return s
}
// SetVPCId sets the VPCId field's value.
func (s *VPCDerivedInfo) SetVPCId(v string) *VPCDerivedInfo {
s.VPCId = &v
return s
}
// Status of the VPC options for the specified Elasticsearch domain.
type VPCDerivedInfoStatus struct {
_ struct{} `type:"structure"`
// Specifies the VPC options for the specified Elasticsearch domain.
//
// Options is a required field
Options *VPCDerivedInfo `type:"structure" required:"true"`
// Specifies the status of the VPC options for the specified Elasticsearch domain.
//
// Status is a required field
Status *OptionStatus `type:"structure" required:"true"`
}
// String returns the string representation
func (s VPCDerivedInfoStatus) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s VPCDerivedInfoStatus) GoString() string {
return s.String()
}
// SetOptions sets the Options field's value.
func (s *VPCDerivedInfoStatus) SetOptions(v *VPCDerivedInfo) *VPCDerivedInfoStatus {
s.Options = v
return s
}
// SetStatus sets the Status field's value.
func (s *VPCDerivedInfoStatus) SetStatus(v *OptionStatus) *VPCDerivedInfoStatus {
s.Status = v
return s
}
// Options to specify the subnets and security groups for VPC endpoint. For
// more information, see VPC Endpoints for Amazon Elasticsearch Service Domains
// (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html).
type VPCOptions struct {
_ struct{} `type:"structure"`
// Specifies the security groups for VPC endpoint.
SecurityGroupIds []*string `type:"list"`
// Specifies the subnets for VPC endpoint.
SubnetIds []*string `type:"list"`
}
// String returns the string representation
func (s VPCOptions) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s VPCOptions) GoString() string {
return s.String()
}
// SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (s *VPCOptions) SetSecurityGroupIds(v []*string) *VPCOptions {
s.SecurityGroupIds = v
return s
}
// SetSubnetIds sets the SubnetIds field's value.
func (s *VPCOptions) SetSubnetIds(v []*string) *VPCOptions {
s.SubnetIds = v
return s
}
const (
// ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch"
@ -3478,6 +4001,37 @@ const (
// ESPartitionInstanceTypeR416xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeR416xlargeElasticsearch = "r4.16xlarge.elasticsearch"
// ESPartitionInstanceTypeI3LargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI3LargeElasticsearch = "i3.large.elasticsearch"
// ESPartitionInstanceTypeI3XlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI3XlargeElasticsearch = "i3.xlarge.elasticsearch"
// ESPartitionInstanceTypeI32xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI32xlargeElasticsearch = "i3.2xlarge.elasticsearch"
// ESPartitionInstanceTypeI34xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI34xlargeElasticsearch = "i3.4xlarge.elasticsearch"
// ESPartitionInstanceTypeI38xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI38xlargeElasticsearch = "i3.8xlarge.elasticsearch"
// ESPartitionInstanceTypeI316xlargeElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeI316xlargeElasticsearch = "i3.16xlarge.elasticsearch"
)
// Type of Log File, it can be one of the following: INDEX_SLOW_LOGS: Index
// slow logs contains insert requests that took more time than configured index
// query log threshold to execute.
// SEARCH_SLOW_LOGS: Search slow logs contains search queries that took more
// time than configured search query log threshold to execute.
const (
// LogTypeIndexSlowLogs is a LogType enum value
LogTypeIndexSlowLogs = "INDEX_SLOW_LOGS"
// LogTypeSearchSlowLogs is a LogType enum value
LogTypeSearchSlowLogs = "SEARCH_SLOW_LOGS"
)
// The state of a requested change. One of the following: