Documentation ¶
Overview ¶
Package elasticsearchservice provides the client and types for making API requests to Amazon Elasticsearch Service.
Use the Amazon Elasticsearch configuration API to create, configure, and manage Elasticsearch domains.
The endpoint for configuration service requests is region-specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticsearch-service-regions).
See https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01 for more information on this service.
See elasticsearchservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticsearchservice/
Using the Client ¶
To use the client for Amazon Elasticsearch Service you will first need to create a new instance of it.
When creating a client for an AWS service you'll first need to have a Session already created. The Session provides configuration that can be shared between multiple service clients. Additional configuration can be applied to the Session and service's client when they are constructed. The aws package's Config type contains several fields such as Region for the AWS Region the client should make API requests too. The optional Config value can be provided as the variadic argument for Sessions and client creation.
Once the service's client is created you can use it to make API requests the AWS service. These clients are safe to use concurrently.
// Create a session to share configuration, and load external configuration. sess := session.Must(session.NewSession()) // Create the service's client with the session. svc := elasticsearchservice.New(sess)
See the SDK's documentation for more information on how to use service clients. https://docs.aws.amazon.com/sdk-for-go/api/
See aws package's Config type for more information on configuration options. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Elasticsearch Service client ElasticsearchService for more information on creating the service's client. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticsearchservice/#New
Once the client is created you can make an API request to the service. Each API method takes a input parameter, and returns the service response and an error.
The API method will document which error codes the service can be returned by the operation if the service models the API operation's errors. These errors will also be available as const strings prefixed with "ErrCode".
result, err := svc.AddTags(params) if err != nil { // Cast err to awserr.Error to handle specific error codes. aerr, ok := err.(awserr.Error) if ok && aerr.Code() == <error code to check for> { // Specific error code handling } return err } fmt.Println("AddTags result:") fmt.Println(result)
Using the Client with Context ¶
The service's client also provides methods to make API requests with a Context value. This allows you to control the timeout, and cancellation of pending requests. These methods also take request Option as variadic parameter to apply additional configuration to the API request.
ctx := context.Background() result, err := svc.AddTagsWithContext(ctx, params)
See the request package documentation for more information on using Context pattern with the SDK. https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
Index ¶
- Constants
- type AccessPoliciesStatus
- type AddTagsInput
- type AddTagsOutput
- type AdditionalLimit
- type AdvancedOptionsStatus
- type CreateElasticsearchDomainInput
- func (s CreateElasticsearchDomainInput) GoString() string
- func (s *CreateElasticsearchDomainInput) SetAccessPolicies(v string) *CreateElasticsearchDomainInput
- func (s *CreateElasticsearchDomainInput) SetAdvancedOptions(v map[string]*string) *CreateElasticsearchDomainInput
- func (s *CreateElasticsearchDomainInput) SetDomainName(v string) *CreateElasticsearchDomainInput
- func (s *CreateElasticsearchDomainInput) SetEBSOptions(v *EBSOptions) *CreateElasticsearchDomainInput
- func (s *CreateElasticsearchDomainInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *CreateElasticsearchDomainInput
- func (s *CreateElasticsearchDomainInput) SetElasticsearchVersion(v string) *CreateElasticsearchDomainInput
- func (s *CreateElasticsearchDomainInput) SetSnapshotOptions(v *SnapshotOptions) *CreateElasticsearchDomainInput
- func (s CreateElasticsearchDomainInput) String() string
- func (s *CreateElasticsearchDomainInput) Validate() error
- type CreateElasticsearchDomainOutput
- type DeleteElasticsearchDomainInput
- type DeleteElasticsearchDomainOutput
- type DescribeElasticsearchDomainConfigInput
- func (s DescribeElasticsearchDomainConfigInput) GoString() string
- func (s *DescribeElasticsearchDomainConfigInput) SetDomainName(v string) *DescribeElasticsearchDomainConfigInput
- func (s DescribeElasticsearchDomainConfigInput) String() string
- func (s *DescribeElasticsearchDomainConfigInput) Validate() error
- type DescribeElasticsearchDomainConfigOutput
- type DescribeElasticsearchDomainInput
- type DescribeElasticsearchDomainOutput
- type DescribeElasticsearchDomainsInput
- type DescribeElasticsearchDomainsOutput
- type DescribeElasticsearchInstanceTypeLimitsInput
- func (s DescribeElasticsearchInstanceTypeLimitsInput) GoString() string
- func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetDomainName(v string) *DescribeElasticsearchInstanceTypeLimitsInput
- func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetElasticsearchVersion(v string) *DescribeElasticsearchInstanceTypeLimitsInput
- func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetInstanceType(v string) *DescribeElasticsearchInstanceTypeLimitsInput
- func (s DescribeElasticsearchInstanceTypeLimitsInput) String() string
- func (s *DescribeElasticsearchInstanceTypeLimitsInput) Validate() error
- type DescribeElasticsearchInstanceTypeLimitsOutput
- type DomainInfo
- type EBSOptions
- type EBSOptionsStatus
- type ElasticsearchClusterConfig
- func (s ElasticsearchClusterConfig) GoString() string
- func (s *ElasticsearchClusterConfig) SetDedicatedMasterCount(v int64) *ElasticsearchClusterConfig
- func (s *ElasticsearchClusterConfig) SetDedicatedMasterEnabled(v bool) *ElasticsearchClusterConfig
- func (s *ElasticsearchClusterConfig) SetDedicatedMasterType(v string) *ElasticsearchClusterConfig
- func (s *ElasticsearchClusterConfig) SetInstanceCount(v int64) *ElasticsearchClusterConfig
- func (s *ElasticsearchClusterConfig) SetInstanceType(v string) *ElasticsearchClusterConfig
- func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *ElasticsearchClusterConfig
- func (s ElasticsearchClusterConfig) String() string
- type ElasticsearchClusterConfigStatus
- func (s ElasticsearchClusterConfigStatus) GoString() string
- func (s *ElasticsearchClusterConfigStatus) SetOptions(v *ElasticsearchClusterConfig) *ElasticsearchClusterConfigStatus
- func (s *ElasticsearchClusterConfigStatus) SetStatus(v *OptionStatus) *ElasticsearchClusterConfigStatus
- func (s ElasticsearchClusterConfigStatus) String() string
- type ElasticsearchDomainConfig
- func (s ElasticsearchDomainConfig) GoString() string
- func (s *ElasticsearchDomainConfig) SetAccessPolicies(v *AccessPoliciesStatus) *ElasticsearchDomainConfig
- func (s *ElasticsearchDomainConfig) SetAdvancedOptions(v *AdvancedOptionsStatus) *ElasticsearchDomainConfig
- func (s *ElasticsearchDomainConfig) SetEBSOptions(v *EBSOptionsStatus) *ElasticsearchDomainConfig
- func (s *ElasticsearchDomainConfig) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfigStatus) *ElasticsearchDomainConfig
- func (s *ElasticsearchDomainConfig) SetElasticsearchVersion(v *ElasticsearchVersionStatus) *ElasticsearchDomainConfig
- func (s *ElasticsearchDomainConfig) SetSnapshotOptions(v *SnapshotOptionsStatus) *ElasticsearchDomainConfig
- func (s ElasticsearchDomainConfig) String() string
- type ElasticsearchDomainStatus
- func (s ElasticsearchDomainStatus) GoString() string
- func (s *ElasticsearchDomainStatus) SetARN(v string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetAccessPolicies(v string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetAdvancedOptions(v map[string]*string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetCreated(v bool) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetDeleted(v bool) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetDomainId(v string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetDomainName(v string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetEBSOptions(v *EBSOptions) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetElasticsearchVersion(v string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetEndpoint(v string) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetProcessing(v bool) *ElasticsearchDomainStatus
- func (s *ElasticsearchDomainStatus) SetSnapshotOptions(v *SnapshotOptions) *ElasticsearchDomainStatus
- func (s ElasticsearchDomainStatus) String() string
- type ElasticsearchService
- func (c *ElasticsearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
- func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
- func (c *ElasticsearchService) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
- func (c *ElasticsearchService) CreateElasticsearchDomain(input *CreateElasticsearchDomainInput) (*CreateElasticsearchDomainOutput, error)
- func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateElasticsearchDomainInput) (req *request.Request, output *CreateElasticsearchDomainOutput)
- func (c *ElasticsearchService) CreateElasticsearchDomainWithContext(ctx aws.Context, input *CreateElasticsearchDomainInput, opts ...request.Option) (*CreateElasticsearchDomainOutput, error)
- func (c *ElasticsearchService) DeleteElasticsearchDomain(input *DeleteElasticsearchDomainInput) (*DeleteElasticsearchDomainOutput, error)
- func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteElasticsearchDomainInput) (req *request.Request, output *DeleteElasticsearchDomainOutput)
- func (c *ElasticsearchService) DeleteElasticsearchDomainWithContext(ctx aws.Context, input *DeleteElasticsearchDomainInput, opts ...request.Option) (*DeleteElasticsearchDomainOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchDomain(input *DescribeElasticsearchDomainInput) (*DescribeElasticsearchDomainOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchDomainConfig(input *DescribeElasticsearchDomainConfigInput) (*DescribeElasticsearchDomainConfigOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *DescribeElasticsearchDomainConfigInput) (req *request.Request, output *DescribeElasticsearchDomainConfigOutput)
- func (c *ElasticsearchService) DescribeElasticsearchDomainConfigWithContext(ctx aws.Context, input *DescribeElasticsearchDomainConfigInput, ...) (*DescribeElasticsearchDomainConfigOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *DescribeElasticsearchDomainInput) (req *request.Request, output *DescribeElasticsearchDomainOutput)
- func (c *ElasticsearchService) DescribeElasticsearchDomainWithContext(ctx aws.Context, input *DescribeElasticsearchDomainInput, ...) (*DescribeElasticsearchDomainOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchDomains(input *DescribeElasticsearchDomainsInput) (*DescribeElasticsearchDomainsOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *DescribeElasticsearchDomainsInput) (req *request.Request, output *DescribeElasticsearchDomainsOutput)
- func (c *ElasticsearchService) DescribeElasticsearchDomainsWithContext(ctx aws.Context, input *DescribeElasticsearchDomainsInput, ...) (*DescribeElasticsearchDomainsOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimits(input *DescribeElasticsearchInstanceTypeLimitsInput) (*DescribeElasticsearchInstanceTypeLimitsOutput, error)
- func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsRequest(input *DescribeElasticsearchInstanceTypeLimitsInput) (req *request.Request, output *DescribeElasticsearchInstanceTypeLimitsOutput)
- func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsWithContext(ctx aws.Context, input *DescribeElasticsearchInstanceTypeLimitsInput, ...) (*DescribeElasticsearchInstanceTypeLimitsOutput, error)
- func (c *ElasticsearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error)
- func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput)
- func (c *ElasticsearchService) ListDomainNamesWithContext(ctx aws.Context, input *ListDomainNamesInput, opts ...request.Option) (*ListDomainNamesOutput, error)
- func (c *ElasticsearchService) ListElasticsearchInstanceTypes(input *ListElasticsearchInstanceTypesInput) (*ListElasticsearchInstanceTypesOutput, error)
- func (c *ElasticsearchService) ListElasticsearchInstanceTypesPages(input *ListElasticsearchInstanceTypesInput, ...) error
- func (c *ElasticsearchService) ListElasticsearchInstanceTypesPagesWithContext(ctx aws.Context, input *ListElasticsearchInstanceTypesInput, ...) error
- func (c *ElasticsearchService) ListElasticsearchInstanceTypesRequest(input *ListElasticsearchInstanceTypesInput) (req *request.Request, output *ListElasticsearchInstanceTypesOutput)
- func (c *ElasticsearchService) ListElasticsearchInstanceTypesWithContext(ctx aws.Context, input *ListElasticsearchInstanceTypesInput, ...) (*ListElasticsearchInstanceTypesOutput, error)
- func (c *ElasticsearchService) ListElasticsearchVersions(input *ListElasticsearchVersionsInput) (*ListElasticsearchVersionsOutput, error)
- func (c *ElasticsearchService) ListElasticsearchVersionsPages(input *ListElasticsearchVersionsInput, ...) error
- func (c *ElasticsearchService) ListElasticsearchVersionsPagesWithContext(ctx aws.Context, input *ListElasticsearchVersionsInput, ...) error
- func (c *ElasticsearchService) ListElasticsearchVersionsRequest(input *ListElasticsearchVersionsInput) (req *request.Request, output *ListElasticsearchVersionsOutput)
- func (c *ElasticsearchService) ListElasticsearchVersionsWithContext(ctx aws.Context, input *ListElasticsearchVersionsInput, opts ...request.Option) (*ListElasticsearchVersionsOutput, error)
- func (c *ElasticsearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
- func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
- func (c *ElasticsearchService) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
- func (c *ElasticsearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
- func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
- func (c *ElasticsearchService) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)
- func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElasticsearchDomainConfigInput) (*UpdateElasticsearchDomainConfigOutput, error)
- func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *UpdateElasticsearchDomainConfigInput) (req *request.Request, output *UpdateElasticsearchDomainConfigOutput)
- func (c *ElasticsearchService) UpdateElasticsearchDomainConfigWithContext(ctx aws.Context, input *UpdateElasticsearchDomainConfigInput, ...) (*UpdateElasticsearchDomainConfigOutput, error)
- type ElasticsearchVersionStatus
- type InstanceCountLimits
- type InstanceLimits
- type Limits
- type ListDomainNamesInput
- type ListDomainNamesOutput
- type ListElasticsearchInstanceTypesInput
- func (s ListElasticsearchInstanceTypesInput) GoString() string
- func (s *ListElasticsearchInstanceTypesInput) SetDomainName(v string) *ListElasticsearchInstanceTypesInput
- func (s *ListElasticsearchInstanceTypesInput) SetElasticsearchVersion(v string) *ListElasticsearchInstanceTypesInput
- func (s *ListElasticsearchInstanceTypesInput) SetMaxResults(v int64) *ListElasticsearchInstanceTypesInput
- func (s *ListElasticsearchInstanceTypesInput) SetNextToken(v string) *ListElasticsearchInstanceTypesInput
- func (s ListElasticsearchInstanceTypesInput) String() string
- func (s *ListElasticsearchInstanceTypesInput) Validate() error
- type ListElasticsearchInstanceTypesOutput
- func (s ListElasticsearchInstanceTypesOutput) GoString() string
- func (s *ListElasticsearchInstanceTypesOutput) SetElasticsearchInstanceTypes(v []*string) *ListElasticsearchInstanceTypesOutput
- func (s *ListElasticsearchInstanceTypesOutput) SetNextToken(v string) *ListElasticsearchInstanceTypesOutput
- func (s ListElasticsearchInstanceTypesOutput) String() string
- type ListElasticsearchVersionsInput
- func (s ListElasticsearchVersionsInput) GoString() string
- func (s *ListElasticsearchVersionsInput) SetMaxResults(v int64) *ListElasticsearchVersionsInput
- func (s *ListElasticsearchVersionsInput) SetNextToken(v string) *ListElasticsearchVersionsInput
- func (s ListElasticsearchVersionsInput) String() string
- type ListElasticsearchVersionsOutput
- func (s ListElasticsearchVersionsOutput) GoString() string
- func (s *ListElasticsearchVersionsOutput) SetElasticsearchVersions(v []*string) *ListElasticsearchVersionsOutput
- func (s *ListElasticsearchVersionsOutput) SetNextToken(v string) *ListElasticsearchVersionsOutput
- func (s ListElasticsearchVersionsOutput) String() string
- type ListTagsInput
- type ListTagsOutput
- type OptionStatus
- func (s OptionStatus) GoString() string
- func (s *OptionStatus) SetCreationDate(v time.Time) *OptionStatus
- func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus
- func (s *OptionStatus) SetState(v string) *OptionStatus
- func (s *OptionStatus) SetUpdateDate(v time.Time) *OptionStatus
- func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus
- func (s OptionStatus) String() string
- type RemoveTagsInput
- type RemoveTagsOutput
- type SnapshotOptions
- type SnapshotOptionsStatus
- type StorageType
- type StorageTypeLimit
- type Tag
- type UpdateElasticsearchDomainConfigInput
- func (s UpdateElasticsearchDomainConfigInput) GoString() string
- func (s *UpdateElasticsearchDomainConfigInput) SetAccessPolicies(v string) *UpdateElasticsearchDomainConfigInput
- func (s *UpdateElasticsearchDomainConfigInput) SetAdvancedOptions(v map[string]*string) *UpdateElasticsearchDomainConfigInput
- func (s *UpdateElasticsearchDomainConfigInput) SetDomainName(v string) *UpdateElasticsearchDomainConfigInput
- func (s *UpdateElasticsearchDomainConfigInput) SetEBSOptions(v *EBSOptions) *UpdateElasticsearchDomainConfigInput
- func (s *UpdateElasticsearchDomainConfigInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *UpdateElasticsearchDomainConfigInput
- func (s *UpdateElasticsearchDomainConfigInput) SetSnapshotOptions(v *SnapshotOptions) *UpdateElasticsearchDomainConfigInput
- func (s UpdateElasticsearchDomainConfigInput) String() string
- func (s *UpdateElasticsearchDomainConfigInput) Validate() error
- type UpdateElasticsearchDomainConfigOutput
Constants ¶
const ( // ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch" // ESPartitionInstanceTypeM3LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3LargeElasticsearch = "m3.large.elasticsearch" // ESPartitionInstanceTypeM3XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3XlargeElasticsearch = "m3.xlarge.elasticsearch" // ESPartitionInstanceTypeM32xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM32xlargeElasticsearch = "m3.2xlarge.elasticsearch" // ESPartitionInstanceTypeM4LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM4LargeElasticsearch = "m4.large.elasticsearch" // ESPartitionInstanceTypeM4XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM4XlargeElasticsearch = "m4.xlarge.elasticsearch" // ESPartitionInstanceTypeM42xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM42xlargeElasticsearch = "m4.2xlarge.elasticsearch" // ESPartitionInstanceTypeM44xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM44xlargeElasticsearch = "m4.4xlarge.elasticsearch" // ESPartitionInstanceTypeM410xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM410xlargeElasticsearch = "m4.10xlarge.elasticsearch" // ESPartitionInstanceTypeT2MicroElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeT2MicroElasticsearch = "t2.micro.elasticsearch" // ESPartitionInstanceTypeT2SmallElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeT2SmallElasticsearch = "t2.small.elasticsearch" // ESPartitionInstanceTypeT2MediumElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeT2MediumElasticsearch = "t2.medium.elasticsearch" // ESPartitionInstanceTypeR3LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR3LargeElasticsearch = "r3.large.elasticsearch" // ESPartitionInstanceTypeR3XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR3XlargeElasticsearch = "r3.xlarge.elasticsearch" // ESPartitionInstanceTypeR32xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR32xlargeElasticsearch = "r3.2xlarge.elasticsearch" // ESPartitionInstanceTypeR34xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR34xlargeElasticsearch = "r3.4xlarge.elasticsearch" // ESPartitionInstanceTypeR38xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR38xlargeElasticsearch = "r3.8xlarge.elasticsearch" // ESPartitionInstanceTypeI2XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeI2XlargeElasticsearch = "i2.xlarge.elasticsearch" // ESPartitionInstanceTypeI22xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeI22xlargeElasticsearch = "i2.2xlarge.elasticsearch" // ESPartitionInstanceTypeD2XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeD2XlargeElasticsearch = "d2.xlarge.elasticsearch" // ESPartitionInstanceTypeD22xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeD22xlargeElasticsearch = "d2.2xlarge.elasticsearch" // ESPartitionInstanceTypeD24xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeD24xlargeElasticsearch = "d2.4xlarge.elasticsearch" // ESPartitionInstanceTypeD28xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeD28xlargeElasticsearch = "d2.8xlarge.elasticsearch" // ESPartitionInstanceTypeC4LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeC4LargeElasticsearch = "c4.large.elasticsearch" // ESPartitionInstanceTypeC4XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeC4XlargeElasticsearch = "c4.xlarge.elasticsearch" // ESPartitionInstanceTypeC42xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeC42xlargeElasticsearch = "c4.2xlarge.elasticsearch" // ESPartitionInstanceTypeC44xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeC44xlargeElasticsearch = "c4.4xlarge.elasticsearch" // ESPartitionInstanceTypeC48xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeC48xlargeElasticsearch = "c4.8xlarge.elasticsearch" // ESPartitionInstanceTypeR4LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR4LargeElasticsearch = "r4.large.elasticsearch" // ESPartitionInstanceTypeR4XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR4XlargeElasticsearch = "r4.xlarge.elasticsearch" // ESPartitionInstanceTypeR42xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR42xlargeElasticsearch = "r4.2xlarge.elasticsearch" // ESPartitionInstanceTypeR44xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR44xlargeElasticsearch = "r4.4xlarge.elasticsearch" // ESPartitionInstanceTypeR48xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR48xlargeElasticsearch = "r4.8xlarge.elasticsearch" // ESPartitionInstanceTypeR416xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR416xlargeElasticsearch = "r4.16xlarge.elasticsearch" )
const ( // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" // OptionStateProcessing is a OptionState enum value OptionStateProcessing = "Processing" // OptionStateActive is a OptionState enum value OptionStateActive = "Active" )
The state of a requested change. One of the following:
- Processing: The request change is still in-process.
- Active: The request change is processed and deployed to the Elasticsearch domain.
const ( // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" // VolumeTypeGp2 is a VolumeType enum value VolumeTypeGp2 = "gp2" // VolumeTypeIo1 is a VolumeType enum value VolumeTypeIo1 = "io1" )
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.
const ( // ErrCodeBaseException for service response error code // "BaseException". // // An error occurred while processing the request. ErrCodeBaseException = "BaseException" // ErrCodeDisabledOperationException for service response error code // "DisabledOperationException". // // An error occured because the client wanted to access a not supported operation. // Gives http status code of 409. ErrCodeDisabledOperationException = "DisabledOperationException" // ErrCodeInternalException for service response error code // "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. ErrCodeInternalException = "InternalException" // ErrCodeInvalidTypeException for service response error code // "InvalidTypeException". // // An exception for trying to create or access sub-resource that is either invalid // or not supported. Gives http status code of 409. ErrCodeInvalidTypeException = "InvalidTypeException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // An exception for trying to create more than allowed resources or sub-resources. // Gives http status code of 409. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // An exception for creating a resource that already exists. Gives http status // code of 400. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // An exception for accessing or deleting a resource that does not exist. Gives // http status code of 400. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeValidationException for service response error code // "ValidationException". // // An exception for missing / invalid input fields. Gives http status code of // 400. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "es" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessPoliciesStatus ¶
type AccessPoliciesStatus struct { // The access policy configured for the Elasticsearch domain. Access policies // may be resource-based, IP-based, or IAM-based. See Configuring Access Policies // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-access-policies)for // more information. // // Options is a required field Options *string `type:"string" required:"true"` // The status of the access policy for the Elasticsearch domain. See OptionStatus // for the status information that's included. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
The configured access rules for the domain's document and search endpoints, and the current status of those rules. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AccessPoliciesStatus
func (AccessPoliciesStatus) GoString ¶
func (s AccessPoliciesStatus) GoString() string
GoString returns the string representation
func (*AccessPoliciesStatus) SetOptions ¶
func (s *AccessPoliciesStatus) SetOptions(v string) *AccessPoliciesStatus
SetOptions sets the Options field's value.
func (*AccessPoliciesStatus) SetStatus ¶
func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus
SetStatus sets the Status field's value.
func (AccessPoliciesStatus) String ¶
func (s AccessPoliciesStatus) String() string
String returns the string representation
type AddTagsInput ¶
type AddTagsInput struct { // Specify the ARN for which you want to add the tags. // // ARN is a required field ARN *string `type:"string" required:"true"` // List of Tag that need to be added for the Elasticsearch domain. // // TagList is a required field TagList []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the AddTags operation. Specify the tags that you want to attach to the Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTagsRequest
func (AddTagsInput) GoString ¶
func (s AddTagsInput) GoString() string
GoString returns the string representation
func (*AddTagsInput) SetARN ¶
func (s *AddTagsInput) SetARN(v string) *AddTagsInput
SetARN sets the ARN field's value.
func (*AddTagsInput) SetTagList ¶
func (s *AddTagsInput) SetTagList(v []*Tag) *AddTagsInput
SetTagList sets the TagList field's value.
func (AddTagsInput) String ¶
func (s AddTagsInput) String() string
String returns the string representation
func (*AddTagsInput) Validate ¶
func (s *AddTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsOutput ¶
type AddTagsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTagsOutput
func (AddTagsOutput) GoString ¶
func (s AddTagsOutput) GoString() string
GoString returns the string representation
func (AddTagsOutput) String ¶
func (s AddTagsOutput) String() string
String returns the string representation
type AdditionalLimit ¶
type AdditionalLimit struct { // Name of Additional Limit is specific to a given InstanceType and for each // of it's InstanceRole etc. Attributes and their details: MaximumNumberOfDataNodesSupported // This attribute will be present in Master node only to specify how much data // nodes upto which given ESPartitionInstanceTypecan support as master node. MaximumNumberOfDataNodesWithoutMasterNode // This attribute will be present in Data node only to specify how much data // nodes of given ESPartitionInstanceType LimitName *string `type:"string"` // Value for given AdditionalLimit$LimitName . LimitValues []*string `type:"list"` // contains filtered or unexported fields }
List of limits that are specific to a given InstanceType and for each of it's InstanceRole . Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AdditionalLimit
func (AdditionalLimit) GoString ¶
func (s AdditionalLimit) GoString() string
GoString returns the string representation
func (*AdditionalLimit) SetLimitName ¶
func (s *AdditionalLimit) SetLimitName(v string) *AdditionalLimit
SetLimitName sets the LimitName field's value.
func (*AdditionalLimit) SetLimitValues ¶
func (s *AdditionalLimit) SetLimitValues(v []*string) *AdditionalLimit
SetLimitValues sets the LimitValues field's value.
func (AdditionalLimit) String ¶
func (s AdditionalLimit) String() string
String returns the string representation
type AdvancedOptionsStatus ¶
type AdvancedOptionsStatus struct { // Specifies the status of advanced options for the specified Elasticsearch // domain. // // Options is a required field Options map[string]*string `type:"map" required:"true"` // Specifies the status of OptionStatus for advanced options for the specified // Elasticsearch domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Status of the advanced options for the specified Elasticsearch domain. Currently, the following advanced options are available:
- Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options) for more information.
- Option to specify the percentage of heap space that is allocated to field data. By default, this setting is unbounded.
For more information, see Configuring Advanced Options (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options). Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AdvancedOptionsStatus
func (AdvancedOptionsStatus) GoString ¶
func (s AdvancedOptionsStatus) GoString() string
GoString returns the string representation
func (*AdvancedOptionsStatus) SetOptions ¶
func (s *AdvancedOptionsStatus) SetOptions(v map[string]*string) *AdvancedOptionsStatus
SetOptions sets the Options field's value.
func (*AdvancedOptionsStatus) SetStatus ¶
func (s *AdvancedOptionsStatus) SetStatus(v *OptionStatus) *AdvancedOptionsStatus
SetStatus sets the Status field's value.
func (AdvancedOptionsStatus) String ¶
func (s AdvancedOptionsStatus) String() string
String returns the string representation
type CreateElasticsearchDomainInput ¶
type CreateElasticsearchDomainInput struct { // IAM access policy as a JSON-formatted string. AccessPolicies *string `type:"string"` // Option to allow references to indices in an HTTP request body. Must be false // when configuring access to individual sub-resources. By default, the value // is true. See Configuration Advanced Options (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options) // for more information. AdvancedOptions map[string]*string `type:"map"` // The name of the Elasticsearch domain that you are creating. Domain names // are unique across the domains owned by an account within an AWS region. Domain // names must start with a letter or number and can contain the following characters: // a-z (lowercase), 0-9, and - (hyphen). // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // Options to enable, disable and specify the type and size of EBS storage volumes. EBSOptions *EBSOptions `type:"structure"` // Configuration options for an Elasticsearch domain. Specifies the instance // type and number of instances in the domain cluster. ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure"` // String of format X.Y to specify version for the Elasticsearch domain eg. // "1.5" or "2.3". For more information, see Creating Elasticsearch Domains // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains) // in the Amazon Elasticsearch Service Developer Guide. ElasticsearchVersion *string `type:"string"` // Option to set time, in UTC format, of the daily automated snapshot. Default // value is 0 hours. SnapshotOptions *SnapshotOptions `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomainRequest
func (CreateElasticsearchDomainInput) GoString ¶
func (s CreateElasticsearchDomainInput) GoString() string
GoString returns the string representation
func (*CreateElasticsearchDomainInput) SetAccessPolicies ¶
func (s *CreateElasticsearchDomainInput) SetAccessPolicies(v string) *CreateElasticsearchDomainInput
SetAccessPolicies sets the AccessPolicies field's value.
func (*CreateElasticsearchDomainInput) SetAdvancedOptions ¶
func (s *CreateElasticsearchDomainInput) SetAdvancedOptions(v map[string]*string) *CreateElasticsearchDomainInput
SetAdvancedOptions sets the AdvancedOptions field's value.
func (*CreateElasticsearchDomainInput) SetDomainName ¶
func (s *CreateElasticsearchDomainInput) SetDomainName(v string) *CreateElasticsearchDomainInput
SetDomainName sets the DomainName field's value.
func (*CreateElasticsearchDomainInput) SetEBSOptions ¶
func (s *CreateElasticsearchDomainInput) SetEBSOptions(v *EBSOptions) *CreateElasticsearchDomainInput
SetEBSOptions sets the EBSOptions field's value.
func (*CreateElasticsearchDomainInput) SetElasticsearchClusterConfig ¶
func (s *CreateElasticsearchDomainInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *CreateElasticsearchDomainInput
SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
func (*CreateElasticsearchDomainInput) SetElasticsearchVersion ¶
func (s *CreateElasticsearchDomainInput) SetElasticsearchVersion(v string) *CreateElasticsearchDomainInput
SetElasticsearchVersion sets the ElasticsearchVersion field's value.
func (*CreateElasticsearchDomainInput) SetSnapshotOptions ¶
func (s *CreateElasticsearchDomainInput) SetSnapshotOptions(v *SnapshotOptions) *CreateElasticsearchDomainInput
SetSnapshotOptions sets the SnapshotOptions field's value.
func (CreateElasticsearchDomainInput) String ¶
func (s CreateElasticsearchDomainInput) String() string
String returns the string representation
func (*CreateElasticsearchDomainInput) Validate ¶
func (s *CreateElasticsearchDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateElasticsearchDomainOutput ¶
type CreateElasticsearchDomainOutput struct { // The status of the newly created Elasticsearch domain. DomainStatus *ElasticsearchDomainStatus `type:"structure"` // contains filtered or unexported fields }
The result of a CreateElasticsearchDomain operation. Contains the status of the newly created Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomainResponse
func (CreateElasticsearchDomainOutput) GoString ¶
func (s CreateElasticsearchDomainOutput) GoString() string
GoString returns the string representation
func (*CreateElasticsearchDomainOutput) SetDomainStatus ¶
func (s *CreateElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *CreateElasticsearchDomainOutput
SetDomainStatus sets the DomainStatus field's value.
func (CreateElasticsearchDomainOutput) String ¶
func (s CreateElasticsearchDomainOutput) String() string
String returns the string representation
type DeleteElasticsearchDomainInput ¶
type DeleteElasticsearchDomainInput struct { // The name of the Elasticsearch domain that you want to permanently delete. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the DeleteElasticsearchDomain operation. Specifies the name of the Elasticsearch domain that you want to delete. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomainRequest
func (DeleteElasticsearchDomainInput) GoString ¶
func (s DeleteElasticsearchDomainInput) GoString() string
GoString returns the string representation
func (*DeleteElasticsearchDomainInput) SetDomainName ¶
func (s *DeleteElasticsearchDomainInput) SetDomainName(v string) *DeleteElasticsearchDomainInput
SetDomainName sets the DomainName field's value.
func (DeleteElasticsearchDomainInput) String ¶
func (s DeleteElasticsearchDomainInput) String() string
String returns the string representation
func (*DeleteElasticsearchDomainInput) Validate ¶
func (s *DeleteElasticsearchDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteElasticsearchDomainOutput ¶
type DeleteElasticsearchDomainOutput struct { // The status of the Elasticsearch domain being deleted. DomainStatus *ElasticsearchDomainStatus `type:"structure"` // contains filtered or unexported fields }
The result of a DeleteElasticsearchDomain request. Contains the status of the pending deletion, or no status if the domain and all of its resources have been deleted. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomainResponse
func (DeleteElasticsearchDomainOutput) GoString ¶
func (s DeleteElasticsearchDomainOutput) GoString() string
GoString returns the string representation
func (*DeleteElasticsearchDomainOutput) SetDomainStatus ¶
func (s *DeleteElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *DeleteElasticsearchDomainOutput
SetDomainStatus sets the DomainStatus field's value.
func (DeleteElasticsearchDomainOutput) String ¶
func (s DeleteElasticsearchDomainOutput) String() string
String returns the string representation
type DescribeElasticsearchDomainConfigInput ¶
type DescribeElasticsearchDomainConfigInput struct { // The Elasticsearch domain that you want to get information about. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the DescribeElasticsearchDomainConfig operation. Specifies the domain name for which you want configuration information. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfigRequest
func (DescribeElasticsearchDomainConfigInput) GoString ¶
func (s DescribeElasticsearchDomainConfigInput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchDomainConfigInput) SetDomainName ¶
func (s *DescribeElasticsearchDomainConfigInput) SetDomainName(v string) *DescribeElasticsearchDomainConfigInput
SetDomainName sets the DomainName field's value.
func (DescribeElasticsearchDomainConfigInput) String ¶
func (s DescribeElasticsearchDomainConfigInput) String() string
String returns the string representation
func (*DescribeElasticsearchDomainConfigInput) Validate ¶
func (s *DescribeElasticsearchDomainConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeElasticsearchDomainConfigOutput ¶
type DescribeElasticsearchDomainConfigOutput struct { // The configuration information of the domain requested in the DescribeElasticsearchDomainConfig // request. // // DomainConfig is a required field DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
The result of a DescribeElasticsearchDomainConfig request. Contains the configuration information of the requested domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfigResponse
func (DescribeElasticsearchDomainConfigOutput) GoString ¶
func (s DescribeElasticsearchDomainConfigOutput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchDomainConfigOutput) SetDomainConfig ¶
func (s *DescribeElasticsearchDomainConfigOutput) SetDomainConfig(v *ElasticsearchDomainConfig) *DescribeElasticsearchDomainConfigOutput
SetDomainConfig sets the DomainConfig field's value.
func (DescribeElasticsearchDomainConfigOutput) String ¶
func (s DescribeElasticsearchDomainConfigOutput) String() string
String returns the string representation
type DescribeElasticsearchDomainInput ¶
type DescribeElasticsearchDomainInput struct { // The name of the Elasticsearch domain for which you want information. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the DescribeElasticsearchDomain operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainRequest
func (DescribeElasticsearchDomainInput) GoString ¶
func (s DescribeElasticsearchDomainInput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchDomainInput) SetDomainName ¶
func (s *DescribeElasticsearchDomainInput) SetDomainName(v string) *DescribeElasticsearchDomainInput
SetDomainName sets the DomainName field's value.
func (DescribeElasticsearchDomainInput) String ¶
func (s DescribeElasticsearchDomainInput) String() string
String returns the string representation
func (*DescribeElasticsearchDomainInput) Validate ¶
func (s *DescribeElasticsearchDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeElasticsearchDomainOutput ¶
type DescribeElasticsearchDomainOutput struct { // The current status of the Elasticsearch domain. // // DomainStatus is a required field DomainStatus *ElasticsearchDomainStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
The result of a DescribeElasticsearchDomain request. Contains the status of the domain specified in the request. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainResponse
func (DescribeElasticsearchDomainOutput) GoString ¶
func (s DescribeElasticsearchDomainOutput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchDomainOutput) SetDomainStatus ¶
func (s *DescribeElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *DescribeElasticsearchDomainOutput
SetDomainStatus sets the DomainStatus field's value.
func (DescribeElasticsearchDomainOutput) String ¶
func (s DescribeElasticsearchDomainOutput) String() string
String returns the string representation
type DescribeElasticsearchDomainsInput ¶
type DescribeElasticsearchDomainsInput struct { // The Elasticsearch domains for which you want information. // // DomainNames is a required field DomainNames []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the DescribeElasticsearchDomains operation. By default, the API returns the status of all Elasticsearch domains. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainsRequest
func (DescribeElasticsearchDomainsInput) GoString ¶
func (s DescribeElasticsearchDomainsInput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchDomainsInput) SetDomainNames ¶
func (s *DescribeElasticsearchDomainsInput) SetDomainNames(v []*string) *DescribeElasticsearchDomainsInput
SetDomainNames sets the DomainNames field's value.
func (DescribeElasticsearchDomainsInput) String ¶
func (s DescribeElasticsearchDomainsInput) String() string
String returns the string representation
func (*DescribeElasticsearchDomainsInput) Validate ¶
func (s *DescribeElasticsearchDomainsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeElasticsearchDomainsOutput ¶
type DescribeElasticsearchDomainsOutput struct { // The status of the domains requested in the DescribeElasticsearchDomains request. // // DomainStatusList is a required field DomainStatusList []*ElasticsearchDomainStatus `type:"list" required:"true"` // contains filtered or unexported fields }
The result of a DescribeElasticsearchDomains request. Contains the status of the specified domains or all domains owned by the account. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainsResponse
func (DescribeElasticsearchDomainsOutput) GoString ¶
func (s DescribeElasticsearchDomainsOutput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchDomainsOutput) SetDomainStatusList ¶
func (s *DescribeElasticsearchDomainsOutput) SetDomainStatusList(v []*ElasticsearchDomainStatus) *DescribeElasticsearchDomainsOutput
SetDomainStatusList sets the DomainStatusList field's value.
func (DescribeElasticsearchDomainsOutput) String ¶
func (s DescribeElasticsearchDomainsOutput) String() string
String returns the string representation
type DescribeElasticsearchInstanceTypeLimitsInput ¶
type DescribeElasticsearchInstanceTypeLimitsInput struct { // DomainName represents the name of the Domain that we are trying to modify. // This should be present only if we are querying for Elasticsearch Limits for // existing domain. DomainName *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` // Version of Elasticsearch for which Limits are needed. // // ElasticsearchVersion is a required field ElasticsearchVersion *string `location:"uri" locationName:"ElasticsearchVersion" type:"string" required:"true"` // The instance type for an Elasticsearch cluster for which Elasticsearch Limits // are needed. // // InstanceType is a required field InstanceType *string `location:"uri" locationName:"InstanceType" type:"string" required:"true" enum:"ESPartitionInstanceType"` // contains filtered or unexported fields }
Container for the parameters to DescribeElasticsearchInstanceTypeLimits operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchInstanceTypeLimitsRequest
func (DescribeElasticsearchInstanceTypeLimitsInput) GoString ¶
func (s DescribeElasticsearchInstanceTypeLimitsInput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchInstanceTypeLimitsInput) SetDomainName ¶
func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetDomainName(v string) *DescribeElasticsearchInstanceTypeLimitsInput
SetDomainName sets the DomainName field's value.
func (*DescribeElasticsearchInstanceTypeLimitsInput) SetElasticsearchVersion ¶
func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetElasticsearchVersion(v string) *DescribeElasticsearchInstanceTypeLimitsInput
SetElasticsearchVersion sets the ElasticsearchVersion field's value.
func (*DescribeElasticsearchInstanceTypeLimitsInput) SetInstanceType ¶
func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetInstanceType(v string) *DescribeElasticsearchInstanceTypeLimitsInput
SetInstanceType sets the InstanceType field's value.
func (DescribeElasticsearchInstanceTypeLimitsInput) String ¶
func (s DescribeElasticsearchInstanceTypeLimitsInput) String() string
String returns the string representation
func (*DescribeElasticsearchInstanceTypeLimitsInput) Validate ¶
func (s *DescribeElasticsearchInstanceTypeLimitsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeElasticsearchInstanceTypeLimitsOutput ¶
type DescribeElasticsearchInstanceTypeLimitsOutput struct { // Map of Role of the Instance and Limits that are applicable. Role performed // by given Instance in Elasticsearch can be one of the following: Data: If // the given InstanceType is used as Data node // Master: If the given InstanceType is used as Master node LimitsByRole map[string]*Limits `type:"map"` // contains filtered or unexported fields }
Container for the parameters received from DescribeElasticsearchInstanceTypeLimits operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchInstanceTypeLimitsResponse
func (DescribeElasticsearchInstanceTypeLimitsOutput) GoString ¶
func (s DescribeElasticsearchInstanceTypeLimitsOutput) GoString() string
GoString returns the string representation
func (*DescribeElasticsearchInstanceTypeLimitsOutput) SetLimitsByRole ¶
func (s *DescribeElasticsearchInstanceTypeLimitsOutput) SetLimitsByRole(v map[string]*Limits) *DescribeElasticsearchInstanceTypeLimitsOutput
SetLimitsByRole sets the LimitsByRole field's value.
func (DescribeElasticsearchInstanceTypeLimitsOutput) String ¶
func (s DescribeElasticsearchInstanceTypeLimitsOutput) String() string
String returns the string representation
type DomainInfo ¶
type DomainInfo struct { // Specifies the DomainName. DomainName *string `min:"3" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DomainInfo
func (DomainInfo) GoString ¶
func (s DomainInfo) GoString() string
GoString returns the string representation
func (*DomainInfo) SetDomainName ¶
func (s *DomainInfo) SetDomainName(v string) *DomainInfo
SetDomainName sets the DomainName field's value.
func (DomainInfo) String ¶
func (s DomainInfo) String() string
String returns the string representation
type EBSOptions ¶
type EBSOptions struct { // Specifies whether EBS-based storage is enabled. EBSEnabled *bool `type:"boolean"` // Specifies the IOPD for a Provisioned IOPS EBS volume (SSD). Iops *int64 `type:"integer"` // Integer to specify the size of an EBS volume. VolumeSize *int64 `type:"integer"` // Specifies the volume type for EBS-based storage. VolumeType *string `type:"string" enum:"VolumeType"` // contains filtered or unexported fields }
Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see Configuring EBS-based Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs). Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/EBSOptions
func (EBSOptions) GoString ¶
func (s EBSOptions) GoString() string
GoString returns the string representation
func (*EBSOptions) SetEBSEnabled ¶
func (s *EBSOptions) SetEBSEnabled(v bool) *EBSOptions
SetEBSEnabled sets the EBSEnabled field's value.
func (*EBSOptions) SetIops ¶
func (s *EBSOptions) SetIops(v int64) *EBSOptions
SetIops sets the Iops field's value.
func (*EBSOptions) SetVolumeSize ¶
func (s *EBSOptions) SetVolumeSize(v int64) *EBSOptions
SetVolumeSize sets the VolumeSize field's value.
func (*EBSOptions) SetVolumeType ¶
func (s *EBSOptions) SetVolumeType(v string) *EBSOptions
SetVolumeType sets the VolumeType field's value.
func (EBSOptions) String ¶
func (s EBSOptions) String() string
String returns the string representation
type EBSOptionsStatus ¶
type EBSOptionsStatus struct { // Specifies the EBS options for the specified Elasticsearch domain. // // Options is a required field Options *EBSOptions `type:"structure" required:"true"` // Specifies the status of the EBS options for the specified Elasticsearch domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Status of the EBS options for the specified Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/EBSOptionsStatus
func (EBSOptionsStatus) GoString ¶
func (s EBSOptionsStatus) GoString() string
GoString returns the string representation
func (*EBSOptionsStatus) SetOptions ¶
func (s *EBSOptionsStatus) SetOptions(v *EBSOptions) *EBSOptionsStatus
SetOptions sets the Options field's value.
func (*EBSOptionsStatus) SetStatus ¶
func (s *EBSOptionsStatus) SetStatus(v *OptionStatus) *EBSOptionsStatus
SetStatus sets the Status field's value.
func (EBSOptionsStatus) String ¶
func (s EBSOptionsStatus) String() string
String returns the string representation
type ElasticsearchClusterConfig ¶
type ElasticsearchClusterConfig struct { // Total number of dedicated master nodes, active and on standby, for the cluster. DedicatedMasterCount *int64 `type:"integer"` // A boolean value to indicate whether a dedicated master node is enabled. See // About Dedicated Master Nodes (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-dedicatedmasternodes) // for more information. DedicatedMasterEnabled *bool `type:"boolean"` // The instance type for a dedicated master node. DedicatedMasterType *string `type:"string" enum:"ESPartitionInstanceType"` // The number of instances in the specified domain cluster. InstanceCount *int64 `type:"integer"` // The instance type for an Elasticsearch cluster. InstanceType *string `type:"string" enum:"ESPartitionInstanceType"` // A boolean value to indicate whether zone awareness is enabled. See About // Zone Awareness (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-zoneawareness) // for more information. ZoneAwarenessEnabled *bool `type:"boolean"` // contains filtered or unexported fields }
Specifies the configuration for the domain cluster, such as the type and number of instances. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchClusterConfig
func (ElasticsearchClusterConfig) GoString ¶
func (s ElasticsearchClusterConfig) GoString() string
GoString returns the string representation
func (*ElasticsearchClusterConfig) SetDedicatedMasterCount ¶
func (s *ElasticsearchClusterConfig) SetDedicatedMasterCount(v int64) *ElasticsearchClusterConfig
SetDedicatedMasterCount sets the DedicatedMasterCount field's value.
func (*ElasticsearchClusterConfig) SetDedicatedMasterEnabled ¶
func (s *ElasticsearchClusterConfig) SetDedicatedMasterEnabled(v bool) *ElasticsearchClusterConfig
SetDedicatedMasterEnabled sets the DedicatedMasterEnabled field's value.
func (*ElasticsearchClusterConfig) SetDedicatedMasterType ¶
func (s *ElasticsearchClusterConfig) SetDedicatedMasterType(v string) *ElasticsearchClusterConfig
SetDedicatedMasterType sets the DedicatedMasterType field's value.
func (*ElasticsearchClusterConfig) SetInstanceCount ¶
func (s *ElasticsearchClusterConfig) SetInstanceCount(v int64) *ElasticsearchClusterConfig
SetInstanceCount sets the InstanceCount field's value.
func (*ElasticsearchClusterConfig) SetInstanceType ¶
func (s *ElasticsearchClusterConfig) SetInstanceType(v string) *ElasticsearchClusterConfig
SetInstanceType sets the InstanceType field's value.
func (*ElasticsearchClusterConfig) SetZoneAwarenessEnabled ¶
func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *ElasticsearchClusterConfig
SetZoneAwarenessEnabled sets the ZoneAwarenessEnabled field's value.
func (ElasticsearchClusterConfig) String ¶
func (s ElasticsearchClusterConfig) String() string
String returns the string representation
type ElasticsearchClusterConfigStatus ¶
type ElasticsearchClusterConfigStatus struct { // Specifies the cluster configuration for the specified Elasticsearch domain. // // Options is a required field Options *ElasticsearchClusterConfig `type:"structure" required:"true"` // Specifies the status of the configuration for the specified Elasticsearch // domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Specifies the configuration status for the specified Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchClusterConfigStatus
func (ElasticsearchClusterConfigStatus) GoString ¶
func (s ElasticsearchClusterConfigStatus) GoString() string
GoString returns the string representation
func (*ElasticsearchClusterConfigStatus) SetOptions ¶
func (s *ElasticsearchClusterConfigStatus) SetOptions(v *ElasticsearchClusterConfig) *ElasticsearchClusterConfigStatus
SetOptions sets the Options field's value.
func (*ElasticsearchClusterConfigStatus) SetStatus ¶
func (s *ElasticsearchClusterConfigStatus) SetStatus(v *OptionStatus) *ElasticsearchClusterConfigStatus
SetStatus sets the Status field's value.
func (ElasticsearchClusterConfigStatus) String ¶
func (s ElasticsearchClusterConfigStatus) String() string
String returns the string representation
type ElasticsearchDomainConfig ¶
type ElasticsearchDomainConfig struct { // IAM access policy as a JSON-formatted string. AccessPolicies *AccessPoliciesStatus `type:"structure"` // Specifies the AdvancedOptions for the domain. See Configuring Advanced Options // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options) // for more information. AdvancedOptions *AdvancedOptionsStatus `type:"structure"` // Specifies the EBSOptions for the Elasticsearch domain. EBSOptions *EBSOptionsStatus `type:"structure"` // Specifies the ElasticsearchClusterConfig for the Elasticsearch domain. ElasticsearchClusterConfig *ElasticsearchClusterConfigStatus `type:"structure"` // String of format X.Y to specify version for the Elasticsearch domain. ElasticsearchVersion *ElasticsearchVersionStatus `type:"structure"` // Specifies the SnapshotOptions for the Elasticsearch domain. SnapshotOptions *SnapshotOptionsStatus `type:"structure"` // contains filtered or unexported fields }
The configuration of an Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchDomainConfig
func (ElasticsearchDomainConfig) GoString ¶
func (s ElasticsearchDomainConfig) GoString() string
GoString returns the string representation
func (*ElasticsearchDomainConfig) SetAccessPolicies ¶
func (s *ElasticsearchDomainConfig) SetAccessPolicies(v *AccessPoliciesStatus) *ElasticsearchDomainConfig
SetAccessPolicies sets the AccessPolicies field's value.
func (*ElasticsearchDomainConfig) SetAdvancedOptions ¶
func (s *ElasticsearchDomainConfig) SetAdvancedOptions(v *AdvancedOptionsStatus) *ElasticsearchDomainConfig
SetAdvancedOptions sets the AdvancedOptions field's value.
func (*ElasticsearchDomainConfig) SetEBSOptions ¶
func (s *ElasticsearchDomainConfig) SetEBSOptions(v *EBSOptionsStatus) *ElasticsearchDomainConfig
SetEBSOptions sets the EBSOptions field's value.
func (*ElasticsearchDomainConfig) SetElasticsearchClusterConfig ¶
func (s *ElasticsearchDomainConfig) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfigStatus) *ElasticsearchDomainConfig
SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
func (*ElasticsearchDomainConfig) SetElasticsearchVersion ¶
func (s *ElasticsearchDomainConfig) SetElasticsearchVersion(v *ElasticsearchVersionStatus) *ElasticsearchDomainConfig
SetElasticsearchVersion sets the ElasticsearchVersion field's value.
func (*ElasticsearchDomainConfig) SetSnapshotOptions ¶
func (s *ElasticsearchDomainConfig) SetSnapshotOptions(v *SnapshotOptionsStatus) *ElasticsearchDomainConfig
SetSnapshotOptions sets the SnapshotOptions field's value.
func (ElasticsearchDomainConfig) String ¶
func (s ElasticsearchDomainConfig) String() string
String returns the string representation
type ElasticsearchDomainStatus ¶
type ElasticsearchDomainStatus struct { // The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers // for IAM Entities (http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html) // in Using AWS Identity and Access Management for more information. // // ARN is a required field ARN *string `type:"string" required:"true"` // IAM access policy as a JSON-formatted string. AccessPolicies *string `type:"string"` // Specifies the status of the AdvancedOptions AdvancedOptions map[string]*string `type:"map"` // The domain creation status. True if the creation of an Elasticsearch domain // is complete. False if domain creation is still in progress. Created *bool `type:"boolean"` // The domain deletion status. True if a delete request has been received for // the domain but resource cleanup is still in progress. False if the domain // has not been deleted. Once domain deletion is complete, the status of the // domain is no longer returned. Deleted *bool `type:"boolean"` // The unique identifier for the specified Elasticsearch domain. // // DomainId is a required field DomainId *string `min:"1" type:"string" required:"true"` // The name of an Elasticsearch domain. Domain names are unique across the domains // owned by an account within an AWS region. Domain names start with a letter // or number and can contain the following characters: a-z (lowercase), 0-9, // and - (hyphen). // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The EBSOptions for the specified domain. See Configuring EBS-based Storage // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs) // for more information. EBSOptions *EBSOptions `type:"structure"` // The type and number of instances in the domain cluster. // // ElasticsearchClusterConfig is a required field ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure" required:"true"` ElasticsearchVersion *string `type:"string"` // The Elasticsearch domain endpoint that you use to submit index and search // requests. Endpoint *string `type:"string"` // The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch // Service is processing configuration changes. False if the configuration is // active. Processing *bool `type:"boolean"` // Specifies the status of the SnapshotOptions SnapshotOptions *SnapshotOptions `type:"structure"` // contains filtered or unexported fields }
The current status of an Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchDomainStatus
func (ElasticsearchDomainStatus) GoString ¶
func (s ElasticsearchDomainStatus) GoString() string
GoString returns the string representation
func (*ElasticsearchDomainStatus) SetARN ¶
func (s *ElasticsearchDomainStatus) SetARN(v string) *ElasticsearchDomainStatus
SetARN sets the ARN field's value.
func (*ElasticsearchDomainStatus) SetAccessPolicies ¶
func (s *ElasticsearchDomainStatus) SetAccessPolicies(v string) *ElasticsearchDomainStatus
SetAccessPolicies sets the AccessPolicies field's value.
func (*ElasticsearchDomainStatus) SetAdvancedOptions ¶
func (s *ElasticsearchDomainStatus) SetAdvancedOptions(v map[string]*string) *ElasticsearchDomainStatus
SetAdvancedOptions sets the AdvancedOptions field's value.
func (*ElasticsearchDomainStatus) SetCreated ¶
func (s *ElasticsearchDomainStatus) SetCreated(v bool) *ElasticsearchDomainStatus
SetCreated sets the Created field's value.
func (*ElasticsearchDomainStatus) SetDeleted ¶
func (s *ElasticsearchDomainStatus) SetDeleted(v bool) *ElasticsearchDomainStatus
SetDeleted sets the Deleted field's value.
func (*ElasticsearchDomainStatus) SetDomainId ¶
func (s *ElasticsearchDomainStatus) SetDomainId(v string) *ElasticsearchDomainStatus
SetDomainId sets the DomainId field's value.
func (*ElasticsearchDomainStatus) SetDomainName ¶
func (s *ElasticsearchDomainStatus) SetDomainName(v string) *ElasticsearchDomainStatus
SetDomainName sets the DomainName field's value.
func (*ElasticsearchDomainStatus) SetEBSOptions ¶
func (s *ElasticsearchDomainStatus) SetEBSOptions(v *EBSOptions) *ElasticsearchDomainStatus
SetEBSOptions sets the EBSOptions field's value.
func (*ElasticsearchDomainStatus) SetElasticsearchClusterConfig ¶
func (s *ElasticsearchDomainStatus) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *ElasticsearchDomainStatus
SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
func (*ElasticsearchDomainStatus) SetElasticsearchVersion ¶
func (s *ElasticsearchDomainStatus) SetElasticsearchVersion(v string) *ElasticsearchDomainStatus
SetElasticsearchVersion sets the ElasticsearchVersion field's value.
func (*ElasticsearchDomainStatus) SetEndpoint ¶
func (s *ElasticsearchDomainStatus) SetEndpoint(v string) *ElasticsearchDomainStatus
SetEndpoint sets the Endpoint field's value.
func (*ElasticsearchDomainStatus) SetProcessing ¶
func (s *ElasticsearchDomainStatus) SetProcessing(v bool) *ElasticsearchDomainStatus
SetProcessing sets the Processing field's value.
func (*ElasticsearchDomainStatus) SetSnapshotOptions ¶
func (s *ElasticsearchDomainStatus) SetSnapshotOptions(v *SnapshotOptions) *ElasticsearchDomainStatus
SetSnapshotOptions sets the SnapshotOptions field's value.
func (ElasticsearchDomainStatus) String ¶
func (s ElasticsearchDomainStatus) String() string
String returns the string representation
type ElasticsearchService ¶
ElasticsearchService provides the API operation methods for making requests to Amazon Elasticsearch Service. See this package's package overview docs for details on the service.
ElasticsearchService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticsearchService
New creates a new instance of the ElasticsearchService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a ElasticsearchService client from just a session. svc := elasticsearchservice.New(mySession) // Create a ElasticsearchService client with additional configuration svc := elasticsearchservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ElasticsearchService) AddTags ¶
func (c *ElasticsearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
AddTags API operation for Amazon Elasticsearch Service.
Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information. (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging)
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 AddTags for usage and error information.
Returned Error Codes:
ErrCodeBaseException "BaseException" An error occurred while processing the request.
ErrCodeLimitExceededException "LimitExceededException" An exception for trying to create more than allowed resources or sub-resources. 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTags
func (*ElasticsearchService) AddTagsRequest ¶
func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
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.
See AddTags for usage and error information.
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.
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) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AddTags
func (*ElasticsearchService) AddTagsWithContext ¶
func (c *ElasticsearchService) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)
AddTagsWithContext is the same as AddTags with the addition of the ability to pass a context and additional request options.
See AddTags 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 (*ElasticsearchService) CreateElasticsearchDomain ¶
func (c *ElasticsearchService) CreateElasticsearchDomain(input *CreateElasticsearchDomainInput) (*CreateElasticsearchDomainOutput, error)
CreateElasticsearchDomain API operation for Amazon Elasticsearch Service.
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains) in the Amazon Elasticsearch Service Developer Guide.
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 CreateElasticsearchDomain for usage and error information.
Returned Error Codes:
ErrCodeBaseException "BaseException" An error occurred while processing the request.
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.
ErrCodeInvalidTypeException "InvalidTypeException" An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.
ErrCodeLimitExceededException "LimitExceededException" An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" An exception for creating a resource that already exists. Gives http status code of 400.
ErrCodeValidationException "ValidationException" An exception for missing / invalid input fields. Gives http status code of 400.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomain
func (*ElasticsearchService) CreateElasticsearchDomainRequest ¶
func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateElasticsearchDomainInput) (req *request.Request, output *CreateElasticsearchDomainOutput)
CreateElasticsearchDomainRequest generates a "aws/request.Request" representing the client's request for the CreateElasticsearchDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateElasticsearchDomain for usage and error information.
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 CreateElasticsearchDomain method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateElasticsearchDomainRequest method. req, resp := client.CreateElasticsearchDomainRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/CreateElasticsearchDomain
func (*ElasticsearchService) CreateElasticsearchDomainWithContext ¶
func (c *ElasticsearchService) CreateElasticsearchDomainWithContext(ctx aws.Context, input *CreateElasticsearchDomainInput, opts ...request.Option) (*CreateElasticsearchDomainOutput, error)
CreateElasticsearchDomainWithContext is the same as CreateElasticsearchDomain with the addition of the ability to pass a context and additional request options.
See CreateElasticsearchDomain 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 (*ElasticsearchService) DeleteElasticsearchDomain ¶
func (c *ElasticsearchService) DeleteElasticsearchDomain(input *DeleteElasticsearchDomainInput) (*DeleteElasticsearchDomainOutput, error)
DeleteElasticsearchDomain API operation for Amazon Elasticsearch Service.
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
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 DeleteElasticsearchDomain 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.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomain
func (*ElasticsearchService) DeleteElasticsearchDomainRequest ¶
func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteElasticsearchDomainInput) (req *request.Request, output *DeleteElasticsearchDomainOutput)
DeleteElasticsearchDomainRequest generates a "aws/request.Request" representing the client's request for the DeleteElasticsearchDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteElasticsearchDomain for usage and error information.
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 DeleteElasticsearchDomain method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteElasticsearchDomainRequest method. req, resp := client.DeleteElasticsearchDomainRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DeleteElasticsearchDomain
func (*ElasticsearchService) DeleteElasticsearchDomainWithContext ¶
func (c *ElasticsearchService) DeleteElasticsearchDomainWithContext(ctx aws.Context, input *DeleteElasticsearchDomainInput, opts ...request.Option) (*DeleteElasticsearchDomainOutput, error)
DeleteElasticsearchDomainWithContext is the same as DeleteElasticsearchDomain with the addition of the ability to pass a context and additional request options.
See DeleteElasticsearchDomain 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 (*ElasticsearchService) DescribeElasticsearchDomain ¶
func (c *ElasticsearchService) DescribeElasticsearchDomain(input *DescribeElasticsearchDomainInput) (*DescribeElasticsearchDomainOutput, error)
DescribeElasticsearchDomain API operation for Amazon Elasticsearch Service.
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
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 DescribeElasticsearchDomain 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.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomain
func (*ElasticsearchService) DescribeElasticsearchDomainConfig ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainConfig(input *DescribeElasticsearchDomainConfigInput) (*DescribeElasticsearchDomainConfigOutput, error)
DescribeElasticsearchDomainConfig API operation for Amazon Elasticsearch Service.
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
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 DescribeElasticsearchDomainConfig 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.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfig
func (*ElasticsearchService) DescribeElasticsearchDomainConfigRequest ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *DescribeElasticsearchDomainConfigInput) (req *request.Request, output *DescribeElasticsearchDomainConfigOutput)
DescribeElasticsearchDomainConfigRequest generates a "aws/request.Request" representing the client's request for the DescribeElasticsearchDomainConfig operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeElasticsearchDomainConfig for usage and error information.
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 DescribeElasticsearchDomainConfig method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeElasticsearchDomainConfigRequest method. req, resp := client.DescribeElasticsearchDomainConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomainConfig
func (*ElasticsearchService) DescribeElasticsearchDomainConfigWithContext ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainConfigWithContext(ctx aws.Context, input *DescribeElasticsearchDomainConfigInput, opts ...request.Option) (*DescribeElasticsearchDomainConfigOutput, error)
DescribeElasticsearchDomainConfigWithContext is the same as DescribeElasticsearchDomainConfig with the addition of the ability to pass a context and additional request options.
See DescribeElasticsearchDomainConfig 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 (*ElasticsearchService) DescribeElasticsearchDomainRequest ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *DescribeElasticsearchDomainInput) (req *request.Request, output *DescribeElasticsearchDomainOutput)
DescribeElasticsearchDomainRequest generates a "aws/request.Request" representing the client's request for the DescribeElasticsearchDomain operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeElasticsearchDomain for usage and error information.
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 DescribeElasticsearchDomain method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeElasticsearchDomainRequest method. req, resp := client.DescribeElasticsearchDomainRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomain
func (*ElasticsearchService) DescribeElasticsearchDomainWithContext ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainWithContext(ctx aws.Context, input *DescribeElasticsearchDomainInput, opts ...request.Option) (*DescribeElasticsearchDomainOutput, error)
DescribeElasticsearchDomainWithContext is the same as DescribeElasticsearchDomain with the addition of the ability to pass a context and additional request options.
See DescribeElasticsearchDomain 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 (*ElasticsearchService) DescribeElasticsearchDomains ¶
func (c *ElasticsearchService) DescribeElasticsearchDomains(input *DescribeElasticsearchDomainsInput) (*DescribeElasticsearchDomainsOutput, error)
DescribeElasticsearchDomains API operation for Amazon Elasticsearch Service.
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
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 DescribeElasticsearchDomains 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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomains
func (*ElasticsearchService) DescribeElasticsearchDomainsRequest ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *DescribeElasticsearchDomainsInput) (req *request.Request, output *DescribeElasticsearchDomainsOutput)
DescribeElasticsearchDomainsRequest generates a "aws/request.Request" representing the client's request for the DescribeElasticsearchDomains operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeElasticsearchDomains for usage and error information.
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 DescribeElasticsearchDomains method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeElasticsearchDomainsRequest method. req, resp := client.DescribeElasticsearchDomainsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchDomains
func (*ElasticsearchService) DescribeElasticsearchDomainsWithContext ¶
func (c *ElasticsearchService) DescribeElasticsearchDomainsWithContext(ctx aws.Context, input *DescribeElasticsearchDomainsInput, opts ...request.Option) (*DescribeElasticsearchDomainsOutput, error)
DescribeElasticsearchDomainsWithContext is the same as DescribeElasticsearchDomains with the addition of the ability to pass a context and additional request options.
See DescribeElasticsearchDomains 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 (*ElasticsearchService) DescribeElasticsearchInstanceTypeLimits ¶
func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimits(input *DescribeElasticsearchInstanceTypeLimitsInput) (*DescribeElasticsearchInstanceTypeLimitsOutput, error)
DescribeElasticsearchInstanceTypeLimits API operation for Amazon Elasticsearch Service.
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain, specify the DomainName to know what Limits are supported for modifying.
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 DescribeElasticsearchInstanceTypeLimits 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.
ErrCodeInvalidTypeException "InvalidTypeException" An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.
ErrCodeLimitExceededException "LimitExceededException" An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchInstanceTypeLimits
func (*ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsRequest ¶
func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsRequest(input *DescribeElasticsearchInstanceTypeLimitsInput) (req *request.Request, output *DescribeElasticsearchInstanceTypeLimitsOutput)
DescribeElasticsearchInstanceTypeLimitsRequest generates a "aws/request.Request" representing the client's request for the DescribeElasticsearchInstanceTypeLimits operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeElasticsearchInstanceTypeLimits for usage and error information.
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 DescribeElasticsearchInstanceTypeLimits method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeElasticsearchInstanceTypeLimitsRequest method. req, resp := client.DescribeElasticsearchInstanceTypeLimitsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeElasticsearchInstanceTypeLimits
func (*ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsWithContext ¶
func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsWithContext(ctx aws.Context, input *DescribeElasticsearchInstanceTypeLimitsInput, opts ...request.Option) (*DescribeElasticsearchInstanceTypeLimitsOutput, error)
DescribeElasticsearchInstanceTypeLimitsWithContext is the same as DescribeElasticsearchInstanceTypeLimits with the addition of the ability to pass a context and additional request options.
See DescribeElasticsearchInstanceTypeLimits 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 (*ElasticsearchService) ListDomainNames ¶
func (c *ElasticsearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error)
ListDomainNames API operation for Amazon Elasticsearch Service.
Returns the name of all Elasticsearch domains owned by the current user's 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 ListDomainNames for usage and error information.
Returned Error Codes:
ErrCodeBaseException "BaseException" An error occurred while processing the request.
ErrCodeValidationException "ValidationException" An exception for missing / invalid input fields. Gives http status code of 400.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNames
func (*ElasticsearchService) ListDomainNamesRequest ¶
func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput)
ListDomainNamesRequest generates a "aws/request.Request" representing the client's request for the ListDomainNames operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListDomainNames for usage and error information.
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 ListDomainNames method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListDomainNamesRequest method. req, resp := client.ListDomainNamesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNames
func (*ElasticsearchService) ListDomainNamesWithContext ¶
func (c *ElasticsearchService) ListDomainNamesWithContext(ctx aws.Context, input *ListDomainNamesInput, opts ...request.Option) (*ListDomainNamesOutput, error)
ListDomainNamesWithContext is the same as ListDomainNames with the addition of the ability to pass a context and additional request options.
See ListDomainNames 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 (*ElasticsearchService) ListElasticsearchInstanceTypes ¶
func (c *ElasticsearchService) ListElasticsearchInstanceTypes(input *ListElasticsearchInstanceTypesInput) (*ListElasticsearchInstanceTypesOutput, error)
ListElasticsearchInstanceTypes API operation for Amazon Elasticsearch Service.
List all Elasticsearch instance types that are supported for given ElasticsearchVersion ¶
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 ListElasticsearchInstanceTypes 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.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchInstanceTypes
func (*ElasticsearchService) ListElasticsearchInstanceTypesPages ¶
func (c *ElasticsearchService) ListElasticsearchInstanceTypesPages(input *ListElasticsearchInstanceTypesInput, fn func(*ListElasticsearchInstanceTypesOutput, bool) bool) error
ListElasticsearchInstanceTypesPages iterates over the pages of a ListElasticsearchInstanceTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListElasticsearchInstanceTypes 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 ListElasticsearchInstanceTypes operation. pageNum := 0 err := client.ListElasticsearchInstanceTypesPages(params, func(page *ListElasticsearchInstanceTypesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ElasticsearchService) ListElasticsearchInstanceTypesPagesWithContext ¶
func (c *ElasticsearchService) ListElasticsearchInstanceTypesPagesWithContext(ctx aws.Context, input *ListElasticsearchInstanceTypesInput, fn func(*ListElasticsearchInstanceTypesOutput, bool) bool, opts ...request.Option) error
ListElasticsearchInstanceTypesPagesWithContext same as ListElasticsearchInstanceTypesPages 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 (*ElasticsearchService) ListElasticsearchInstanceTypesRequest ¶
func (c *ElasticsearchService) ListElasticsearchInstanceTypesRequest(input *ListElasticsearchInstanceTypesInput) (req *request.Request, output *ListElasticsearchInstanceTypesOutput)
ListElasticsearchInstanceTypesRequest generates a "aws/request.Request" representing the client's request for the ListElasticsearchInstanceTypes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListElasticsearchInstanceTypes for usage and error information.
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 ListElasticsearchInstanceTypes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListElasticsearchInstanceTypesRequest method. req, resp := client.ListElasticsearchInstanceTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchInstanceTypes
func (*ElasticsearchService) ListElasticsearchInstanceTypesWithContext ¶
func (c *ElasticsearchService) ListElasticsearchInstanceTypesWithContext(ctx aws.Context, input *ListElasticsearchInstanceTypesInput, opts ...request.Option) (*ListElasticsearchInstanceTypesOutput, error)
ListElasticsearchInstanceTypesWithContext is the same as ListElasticsearchInstanceTypes with the addition of the ability to pass a context and additional request options.
See ListElasticsearchInstanceTypes 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 (*ElasticsearchService) ListElasticsearchVersions ¶
func (c *ElasticsearchService) ListElasticsearchVersions(input *ListElasticsearchVersionsInput) (*ListElasticsearchVersionsOutput, error)
ListElasticsearchVersions API operation for Amazon Elasticsearch Service.
List all supported Elasticsearch versions ¶
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 ListElasticsearchVersions 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.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchVersions
func (*ElasticsearchService) ListElasticsearchVersionsPages ¶
func (c *ElasticsearchService) ListElasticsearchVersionsPages(input *ListElasticsearchVersionsInput, fn func(*ListElasticsearchVersionsOutput, bool) bool) error
ListElasticsearchVersionsPages iterates over the pages of a ListElasticsearchVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListElasticsearchVersions 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 ListElasticsearchVersions operation. pageNum := 0 err := client.ListElasticsearchVersionsPages(params, func(page *ListElasticsearchVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*ElasticsearchService) ListElasticsearchVersionsPagesWithContext ¶
func (c *ElasticsearchService) ListElasticsearchVersionsPagesWithContext(ctx aws.Context, input *ListElasticsearchVersionsInput, fn func(*ListElasticsearchVersionsOutput, bool) bool, opts ...request.Option) error
ListElasticsearchVersionsPagesWithContext same as ListElasticsearchVersionsPages 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 (*ElasticsearchService) ListElasticsearchVersionsRequest ¶
func (c *ElasticsearchService) ListElasticsearchVersionsRequest(input *ListElasticsearchVersionsInput) (req *request.Request, output *ListElasticsearchVersionsOutput)
ListElasticsearchVersionsRequest generates a "aws/request.Request" representing the client's request for the ListElasticsearchVersions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListElasticsearchVersions for usage and error information.
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 ListElasticsearchVersions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListElasticsearchVersionsRequest method. req, resp := client.ListElasticsearchVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchVersions
func (*ElasticsearchService) ListElasticsearchVersionsWithContext ¶
func (c *ElasticsearchService) ListElasticsearchVersionsWithContext(ctx aws.Context, input *ListElasticsearchVersionsInput, opts ...request.Option) (*ListElasticsearchVersionsOutput, error)
ListElasticsearchVersionsWithContext is the same as ListElasticsearchVersions with the addition of the ability to pass a context and additional request options.
See ListElasticsearchVersions 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 (*ElasticsearchService) ListTags ¶
func (c *ElasticsearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
ListTags API operation for Amazon Elasticsearch Service.
Returns all tags for the given Elasticsearch domain.
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 ListTags for usage and error information.
Returned Error Codes:
ErrCodeBaseException "BaseException" An error occurred while processing the request.
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.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTags
func (*ElasticsearchService) ListTagsRequest ¶
func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
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.
See ListTags for usage and error information.
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.
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) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTags
func (*ElasticsearchService) ListTagsWithContext ¶
func (c *ElasticsearchService) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
ListTagsWithContext is the same as ListTags with the addition of the ability to pass a context and additional request options.
See ListTags 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 (*ElasticsearchService) RemoveTags ¶
func (c *ElasticsearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
RemoveTags API operation for Amazon Elasticsearch Service.
Removes the specified set of tags from the specified Elasticsearch domain.
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 RemoveTags for usage and error information.
Returned Error Codes:
ErrCodeBaseException "BaseException" An error occurred while processing the request.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTags
func (*ElasticsearchService) RemoveTagsRequest ¶
func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
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.
See RemoveTags for usage and error information.
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.
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) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTags
func (*ElasticsearchService) RemoveTagsWithContext ¶
func (c *ElasticsearchService) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)
RemoveTagsWithContext is the same as RemoveTags with the addition of the ability to pass a context and additional request options.
See RemoveTags 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 (*ElasticsearchService) UpdateElasticsearchDomainConfig ¶
func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElasticsearchDomainConfigInput) (*UpdateElasticsearchDomainConfigOutput, error)
UpdateElasticsearchDomainConfig API operation for Amazon Elasticsearch Service.
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of 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 UpdateElasticsearchDomainConfig 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.
ErrCodeInvalidTypeException "InvalidTypeException" An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.
ErrCodeLimitExceededException "LimitExceededException" An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
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.
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfig
func (*ElasticsearchService) UpdateElasticsearchDomainConfigRequest ¶
func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *UpdateElasticsearchDomainConfigInput) (req *request.Request, output *UpdateElasticsearchDomainConfigOutput)
UpdateElasticsearchDomainConfigRequest generates a "aws/request.Request" representing the client's request for the UpdateElasticsearchDomainConfig operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateElasticsearchDomainConfig for usage and error information.
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 UpdateElasticsearchDomainConfig method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateElasticsearchDomainConfigRequest method. req, resp := client.UpdateElasticsearchDomainConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfig
func (*ElasticsearchService) UpdateElasticsearchDomainConfigWithContext ¶
func (c *ElasticsearchService) UpdateElasticsearchDomainConfigWithContext(ctx aws.Context, input *UpdateElasticsearchDomainConfigInput, opts ...request.Option) (*UpdateElasticsearchDomainConfigOutput, error)
UpdateElasticsearchDomainConfigWithContext is the same as UpdateElasticsearchDomainConfig with the addition of the ability to pass a context and additional request options.
See UpdateElasticsearchDomainConfig 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.
type ElasticsearchVersionStatus ¶
type ElasticsearchVersionStatus struct { // Specifies the Elasticsearch version for the specified Elasticsearch domain. // // Options is a required field Options *string `type:"string" required:"true"` // Specifies the status of the Elasticsearch version options for the specified // Elasticsearch domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Status of the Elasticsearch version options for the specified Elasticsearch domain. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ElasticsearchVersionStatus
func (ElasticsearchVersionStatus) GoString ¶
func (s ElasticsearchVersionStatus) GoString() string
GoString returns the string representation
func (*ElasticsearchVersionStatus) SetOptions ¶
func (s *ElasticsearchVersionStatus) SetOptions(v string) *ElasticsearchVersionStatus
SetOptions sets the Options field's value.
func (*ElasticsearchVersionStatus) SetStatus ¶
func (s *ElasticsearchVersionStatus) SetStatus(v *OptionStatus) *ElasticsearchVersionStatus
SetStatus sets the Status field's value.
func (ElasticsearchVersionStatus) String ¶
func (s ElasticsearchVersionStatus) String() string
String returns the string representation
type InstanceCountLimits ¶
type InstanceCountLimits struct { // Maximum number of Instances that can be instantiated for given InstanceType. MaximumInstanceCount *int64 `type:"integer"` // Minimum number of Instances that can be instantiated for given InstanceType. MinimumInstanceCount *int64 `type:"integer"` // contains filtered or unexported fields }
InstanceCountLimits represents the limits on number of instances that be created in Amazon Elasticsearch for given InstanceType. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/InstanceCountLimits
func (InstanceCountLimits) GoString ¶
func (s InstanceCountLimits) GoString() string
GoString returns the string representation
func (*InstanceCountLimits) SetMaximumInstanceCount ¶
func (s *InstanceCountLimits) SetMaximumInstanceCount(v int64) *InstanceCountLimits
SetMaximumInstanceCount sets the MaximumInstanceCount field's value.
func (*InstanceCountLimits) SetMinimumInstanceCount ¶
func (s *InstanceCountLimits) SetMinimumInstanceCount(v int64) *InstanceCountLimits
SetMinimumInstanceCount sets the MinimumInstanceCount field's value.
func (InstanceCountLimits) String ¶
func (s InstanceCountLimits) String() string
String returns the string representation
type InstanceLimits ¶
type InstanceLimits struct { // InstanceCountLimits represents the limits on number of instances that be // created in Amazon Elasticsearch for given InstanceType. InstanceCountLimits *InstanceCountLimits `type:"structure"` // contains filtered or unexported fields }
InstanceLimits represents the list of instance related attributes that are available for given InstanceType. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/InstanceLimits
func (InstanceLimits) GoString ¶
func (s InstanceLimits) GoString() string
GoString returns the string representation
func (*InstanceLimits) SetInstanceCountLimits ¶
func (s *InstanceLimits) SetInstanceCountLimits(v *InstanceCountLimits) *InstanceLimits
SetInstanceCountLimits sets the InstanceCountLimits field's value.
func (InstanceLimits) String ¶
func (s InstanceLimits) String() string
String returns the string representation
type Limits ¶
type Limits struct { // List of additional limits that are specific to a given InstanceType and for // each of it's InstanceRole . AdditionalLimits []*AdditionalLimit `type:"list"` // InstanceLimits represents the list of instance related attributes that are // available for given InstanceType. InstanceLimits *InstanceLimits `type:"structure"` // StorageType represents the list of storage related types and attributes that // are available for given InstanceType. StorageTypes []*StorageType `type:"list"` // contains filtered or unexported fields }
Limits for given InstanceType and for each of it's role. Limits contains following StorageTypes, InstanceLimitsand AdditionalLimits Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/Limits
func (*Limits) SetAdditionalLimits ¶
func (s *Limits) SetAdditionalLimits(v []*AdditionalLimit) *Limits
SetAdditionalLimits sets the AdditionalLimits field's value.
func (*Limits) SetInstanceLimits ¶
func (s *Limits) SetInstanceLimits(v *InstanceLimits) *Limits
SetInstanceLimits sets the InstanceLimits field's value.
func (*Limits) SetStorageTypes ¶
func (s *Limits) SetStorageTypes(v []*StorageType) *Limits
SetStorageTypes sets the StorageTypes field's value.
type ListDomainNamesInput ¶
type ListDomainNamesInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNamesInput
func (ListDomainNamesInput) GoString ¶
func (s ListDomainNamesInput) GoString() string
GoString returns the string representation
func (ListDomainNamesInput) String ¶
func (s ListDomainNamesInput) String() string
String returns the string representation
type ListDomainNamesOutput ¶
type ListDomainNamesOutput struct { // List of Elasticsearch domain names. DomainNames []*DomainInfo `type:"list"` // contains filtered or unexported fields }
The result of a ListDomainNames operation. Contains the names of all Elasticsearch domains owned by this account. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListDomainNamesResponse
func (ListDomainNamesOutput) GoString ¶
func (s ListDomainNamesOutput) GoString() string
GoString returns the string representation
func (*ListDomainNamesOutput) SetDomainNames ¶
func (s *ListDomainNamesOutput) SetDomainNames(v []*DomainInfo) *ListDomainNamesOutput
SetDomainNames sets the DomainNames field's value.
func (ListDomainNamesOutput) String ¶
func (s ListDomainNamesOutput) String() string
String returns the string representation
type ListElasticsearchInstanceTypesInput ¶
type ListElasticsearchInstanceTypesInput struct { // DomainName represents the name of the Domain that we are trying to modify. // This should be present only if we are querying for list of available Elasticsearch // instance types when modifying existing domain. DomainName *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` // Version of Elasticsearch for which list of supported elasticsearch instance // types are needed. // // ElasticsearchVersion is a required field ElasticsearchVersion *string `location:"uri" locationName:"ElasticsearchVersion" type:"string" required:"true"` // Set this value to limit the number of results returned. Value provided must // be greater than 30 else it wont be honored. 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"` // contains filtered or unexported fields }
Container for the parameters to the ListElasticsearchInstanceTypes operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchInstanceTypesRequest
func (ListElasticsearchInstanceTypesInput) GoString ¶
func (s ListElasticsearchInstanceTypesInput) GoString() string
GoString returns the string representation
func (*ListElasticsearchInstanceTypesInput) SetDomainName ¶
func (s *ListElasticsearchInstanceTypesInput) SetDomainName(v string) *ListElasticsearchInstanceTypesInput
SetDomainName sets the DomainName field's value.
func (*ListElasticsearchInstanceTypesInput) SetElasticsearchVersion ¶
func (s *ListElasticsearchInstanceTypesInput) SetElasticsearchVersion(v string) *ListElasticsearchInstanceTypesInput
SetElasticsearchVersion sets the ElasticsearchVersion field's value.
func (*ListElasticsearchInstanceTypesInput) SetMaxResults ¶
func (s *ListElasticsearchInstanceTypesInput) SetMaxResults(v int64) *ListElasticsearchInstanceTypesInput
SetMaxResults sets the MaxResults field's value.
func (*ListElasticsearchInstanceTypesInput) SetNextToken ¶
func (s *ListElasticsearchInstanceTypesInput) SetNextToken(v string) *ListElasticsearchInstanceTypesInput
SetNextToken sets the NextToken field's value.
func (ListElasticsearchInstanceTypesInput) String ¶
func (s ListElasticsearchInstanceTypesInput) String() string
String returns the string representation
func (*ListElasticsearchInstanceTypesInput) Validate ¶
func (s *ListElasticsearchInstanceTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListElasticsearchInstanceTypesOutput ¶
type ListElasticsearchInstanceTypesOutput struct { // List of instance types supported by Amazon Elasticsearch service for given // ElasticsearchVersion ElasticsearchInstanceTypes []*string `type:"list"` // In case if there are more results available NextToken would be present, make // further request to the same API with received NextToken to paginate remaining // results. NextToken *string `type:"string"` // contains filtered or unexported fields }
Container for the parameters returned by ListElasticsearchInstanceTypes operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchInstanceTypesResponse
func (ListElasticsearchInstanceTypesOutput) GoString ¶
func (s ListElasticsearchInstanceTypesOutput) GoString() string
GoString returns the string representation
func (*ListElasticsearchInstanceTypesOutput) SetElasticsearchInstanceTypes ¶
func (s *ListElasticsearchInstanceTypesOutput) SetElasticsearchInstanceTypes(v []*string) *ListElasticsearchInstanceTypesOutput
SetElasticsearchInstanceTypes sets the ElasticsearchInstanceTypes field's value.
func (*ListElasticsearchInstanceTypesOutput) SetNextToken ¶
func (s *ListElasticsearchInstanceTypesOutput) SetNextToken(v string) *ListElasticsearchInstanceTypesOutput
SetNextToken sets the NextToken field's value.
func (ListElasticsearchInstanceTypesOutput) String ¶
func (s ListElasticsearchInstanceTypesOutput) String() string
String returns the string representation
type ListElasticsearchVersionsInput ¶
type ListElasticsearchVersionsInput struct { // Set this value to limit the number of results returned. Value provided must // be greater than 10 else it wont be honored. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // Paginated APIs accepts NextToken input to returns next page results and provides // a NextToken output in the response which can be used by the client to retrieve // more results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Container for the parameters to the ListElasticsearchVersions operation.
Use MaxResults to control the maximum number of results to retrieve in a
single call.
Use NextToken in response to retrieve more results. If the received response
does not contain a NextToken, then there are no more results to retrieve. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchVersionsRequest
func (ListElasticsearchVersionsInput) GoString ¶
func (s ListElasticsearchVersionsInput) GoString() string
GoString returns the string representation
func (*ListElasticsearchVersionsInput) SetMaxResults ¶
func (s *ListElasticsearchVersionsInput) SetMaxResults(v int64) *ListElasticsearchVersionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListElasticsearchVersionsInput) SetNextToken ¶
func (s *ListElasticsearchVersionsInput) SetNextToken(v string) *ListElasticsearchVersionsInput
SetNextToken sets the NextToken field's value.
func (ListElasticsearchVersionsInput) String ¶
func (s ListElasticsearchVersionsInput) String() string
String returns the string representation
type ListElasticsearchVersionsOutput ¶
type ListElasticsearchVersionsOutput struct { // List of supported elastic search versions. ElasticsearchVersions []*string `type:"list"` // Paginated APIs accepts NextToken input to returns next page results and provides // a NextToken output in the response which can be used by the client to retrieve // more results. NextToken *string `type:"string"` // contains filtered or unexported fields }
Container for the parameters for response received from ListElasticsearchVersions operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListElasticsearchVersionsResponse
func (ListElasticsearchVersionsOutput) GoString ¶
func (s ListElasticsearchVersionsOutput) GoString() string
GoString returns the string representation
func (*ListElasticsearchVersionsOutput) SetElasticsearchVersions ¶
func (s *ListElasticsearchVersionsOutput) SetElasticsearchVersions(v []*string) *ListElasticsearchVersionsOutput
SetElasticsearchVersions sets the ElasticsearchVersions field's value.
func (*ListElasticsearchVersionsOutput) SetNextToken ¶
func (s *ListElasticsearchVersionsOutput) SetNextToken(v string) *ListElasticsearchVersionsOutput
SetNextToken sets the NextToken field's value.
func (ListElasticsearchVersionsOutput) String ¶
func (s ListElasticsearchVersionsOutput) String() string
String returns the string representation
type ListTagsInput ¶
type ListTagsInput struct { // Specify the ARN for the Elasticsearch domain to which the tags are attached // that you want to view. // // ARN is a required field ARN *string `location:"querystring" locationName:"arn" type:"string" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the ListTags operation. Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view are attached. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTagsRequest
func (ListTagsInput) GoString ¶
func (s ListTagsInput) GoString() string
GoString returns the string representation
func (*ListTagsInput) SetARN ¶
func (s *ListTagsInput) SetARN(v string) *ListTagsInput
SetARN sets the ARN field's value.
func (ListTagsInput) String ¶
func (s ListTagsInput) String() string
String returns the string representation
func (*ListTagsInput) Validate ¶
func (s *ListTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsOutput ¶
type ListTagsOutput struct { // List of Tag for the requested Elasticsearch domain. TagList []*Tag `type:"list"` // contains filtered or unexported fields }
The result of a ListTags operation. Contains tags for all requested Elasticsearch domains. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/ListTagsResponse
func (ListTagsOutput) GoString ¶
func (s ListTagsOutput) GoString() string
GoString returns the string representation
func (*ListTagsOutput) SetTagList ¶
func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput
SetTagList sets the TagList field's value.
func (ListTagsOutput) String ¶
func (s ListTagsOutput) String() string
String returns the string representation
type OptionStatus ¶
type OptionStatus struct { // Timestamp which tells the creation date for the entity. // // CreationDate is a required field CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Indicates whether the Elasticsearch domain is being deleted. PendingDeletion *bool `type:"boolean"` // Provides the OptionState for the Elasticsearch domain. // // State is a required field State *string `type:"string" required:"true" enum:"OptionState"` // Timestamp which tells the last updated time for the entity. // // UpdateDate is a required field UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Specifies the latest version for the entity. UpdateVersion *int64 `type:"integer"` // contains filtered or unexported fields }
Provides the current status of the entity. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/OptionStatus
func (OptionStatus) GoString ¶
func (s OptionStatus) GoString() string
GoString returns the string representation
func (*OptionStatus) SetCreationDate ¶
func (s *OptionStatus) SetCreationDate(v time.Time) *OptionStatus
SetCreationDate sets the CreationDate field's value.
func (*OptionStatus) SetPendingDeletion ¶
func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus
SetPendingDeletion sets the PendingDeletion field's value.
func (*OptionStatus) SetState ¶
func (s *OptionStatus) SetState(v string) *OptionStatus
SetState sets the State field's value.
func (*OptionStatus) SetUpdateDate ¶
func (s *OptionStatus) SetUpdateDate(v time.Time) *OptionStatus
SetUpdateDate sets the UpdateDate field's value.
func (*OptionStatus) SetUpdateVersion ¶
func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus
SetUpdateVersion sets the UpdateVersion field's value.
func (OptionStatus) String ¶
func (s OptionStatus) String() string
String returns the string representation
type RemoveTagsInput ¶
type RemoveTagsInput struct { // Specifies the ARN for the Elasticsearch domain from which you want to delete // the specified tags. // // ARN is a required field ARN *string `type:"string" required:"true"` // Specifies the TagKey list which you want to remove from the Elasticsearch // domain. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the RemoveTags operation. Specify the ARN for the Elasticsearch domain from which you want to remove the specified TagKey. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTagsRequest
func (RemoveTagsInput) GoString ¶
func (s RemoveTagsInput) GoString() string
GoString returns the string representation
func (*RemoveTagsInput) SetARN ¶
func (s *RemoveTagsInput) SetARN(v string) *RemoveTagsInput
SetARN sets the ARN field's value.
func (*RemoveTagsInput) SetTagKeys ¶
func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput
SetTagKeys sets the TagKeys field's value.
func (RemoveTagsInput) String ¶
func (s RemoveTagsInput) String() string
String returns the string representation
func (*RemoveTagsInput) Validate ¶
func (s *RemoveTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsOutput ¶
type RemoveTagsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/RemoveTagsOutput
func (RemoveTagsOutput) GoString ¶
func (s RemoveTagsOutput) GoString() string
GoString returns the string representation
func (RemoveTagsOutput) String ¶
func (s RemoveTagsOutput) String() string
String returns the string representation
type SnapshotOptions ¶
type SnapshotOptions struct { // Specifies the time, in UTC format, when the service takes a daily automated // snapshot of the specified Elasticsearch domain. Default value is 0 hours. AutomatedSnapshotStartHour *int64 `type:"integer"` // contains filtered or unexported fields }
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/SnapshotOptions
func (SnapshotOptions) GoString ¶
func (s SnapshotOptions) GoString() string
GoString returns the string representation
func (*SnapshotOptions) SetAutomatedSnapshotStartHour ¶
func (s *SnapshotOptions) SetAutomatedSnapshotStartHour(v int64) *SnapshotOptions
SetAutomatedSnapshotStartHour sets the AutomatedSnapshotStartHour field's value.
func (SnapshotOptions) String ¶
func (s SnapshotOptions) String() string
String returns the string representation
type SnapshotOptionsStatus ¶
type SnapshotOptionsStatus struct { // Specifies the daily snapshot options specified for the Elasticsearch domain. // // Options is a required field Options *SnapshotOptions `type:"structure" required:"true"` // Specifies the status of a daily automated snapshot. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Status of a daily automated snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/SnapshotOptionsStatus
func (SnapshotOptionsStatus) GoString ¶
func (s SnapshotOptionsStatus) GoString() string
GoString returns the string representation
func (*SnapshotOptionsStatus) SetOptions ¶
func (s *SnapshotOptionsStatus) SetOptions(v *SnapshotOptions) *SnapshotOptionsStatus
SetOptions sets the Options field's value.
func (*SnapshotOptionsStatus) SetStatus ¶
func (s *SnapshotOptionsStatus) SetStatus(v *OptionStatus) *SnapshotOptionsStatus
SetStatus sets the Status field's value.
func (SnapshotOptionsStatus) String ¶
func (s SnapshotOptionsStatus) String() string
String returns the string representation
type StorageType ¶
type StorageType struct { // SubType of the given storage type. List of available sub-storage options: // For "instance" storageType we wont have any storageSubType, in case of "ebs" // storageType we will have following valid storageSubTypes standard // gp2 // io1 // Refer VolumeType for more information regarding above EBS storage options. StorageSubTypeName *string `type:"string"` // List of limits that are applicable for given storage type. StorageTypeLimits []*StorageTypeLimit `type:"list"` // Type of the storage. List of available storage options: instance // Inbuilt storage available for the given Instance ebs // Elastic block storage that would be attached to the given Instance StorageTypeName *string `type:"string"` // contains filtered or unexported fields }
StorageTypes represents the list of storage related types and their attributes that are available for given InstanceType. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/StorageType
func (StorageType) GoString ¶
func (s StorageType) GoString() string
GoString returns the string representation
func (*StorageType) SetStorageSubTypeName ¶
func (s *StorageType) SetStorageSubTypeName(v string) *StorageType
SetStorageSubTypeName sets the StorageSubTypeName field's value.
func (*StorageType) SetStorageTypeLimits ¶
func (s *StorageType) SetStorageTypeLimits(v []*StorageTypeLimit) *StorageType
SetStorageTypeLimits sets the StorageTypeLimits field's value.
func (*StorageType) SetStorageTypeName ¶
func (s *StorageType) SetStorageTypeName(v string) *StorageType
SetStorageTypeName sets the StorageTypeName field's value.
func (StorageType) String ¶
func (s StorageType) String() string
String returns the string representation
type StorageTypeLimit ¶
type StorageTypeLimit struct { // Name of storage limits that are applicable for given storage type. If StorageType // is ebs, following storage options are applicable MinimumVolumeSize // Minimum amount of volume size that is applicable for given storage type.It // can be empty if it is not applicable. MaximumVolumeSize // Maximum amount of volume size that is applicable for given storage type.It // can be empty if it is not applicable. MaximumIops // Maximum amount of Iops that is applicable for given storage type.It can // be empty if it is not applicable. MinimumIops // Minimum amount of Iops that is applicable for given storage type.It can // be empty if it is not applicable. LimitName *string `type:"string"` // Values for the StorageTypeLimit$LimitName . LimitValues []*string `type:"list"` // contains filtered or unexported fields }
Limits that are applicable for given storage type. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/StorageTypeLimit
func (StorageTypeLimit) GoString ¶
func (s StorageTypeLimit) GoString() string
GoString returns the string representation
func (*StorageTypeLimit) SetLimitName ¶
func (s *StorageTypeLimit) SetLimitName(v string) *StorageTypeLimit
SetLimitName sets the LimitName field's value.
func (*StorageTypeLimit) SetLimitValues ¶
func (s *StorageTypeLimit) SetLimitValues(v []*string) *StorageTypeLimit
SetLimitValues sets the LimitValues field's value.
func (StorageTypeLimit) String ¶
func (s StorageTypeLimit) String() string
String returns the string representation
type Tag ¶
type Tag struct { // Specifies the TagKey, the name of the tag. Tag keys must be unique for the // Elasticsearch domain to which they are attached. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Specifies the TagValue, the value assigned to the corresponding tag key. // Tag values can be null and do not have to be unique in a tag set. For example, // you can have a key value pair in a tag set of project : Trinity and cost-center // : Trinity // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies a key value pair for a resource tag. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/Tag
type UpdateElasticsearchDomainConfigInput ¶
type UpdateElasticsearchDomainConfigInput struct { // IAM access policy as a JSON-formatted string. AccessPolicies *string `type:"string"` // Modifies the advanced option to allow references to indices in an HTTP request // body. Must be false when configuring access to individual sub-resources. // By default, the value is true. See Configuration Advanced Options (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options) // for more information. AdvancedOptions map[string]*string `type:"map"` // The name of the Elasticsearch domain that you are updating. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // Specify the type and size of the EBS volume that you want to use. EBSOptions *EBSOptions `type:"structure"` // The type and number of instances to instantiate for the domain cluster. ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure"` // Option to set the time, in UTC format, for the daily automated snapshot. // Default value is 0 hours. SnapshotOptions *SnapshotOptions `type:"structure"` // contains filtered or unexported fields }
Container for the parameters to the UpdateElasticsearchDomain operation. Specifies the type and number of instances in the domain cluster. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfigRequest
func (UpdateElasticsearchDomainConfigInput) GoString ¶
func (s UpdateElasticsearchDomainConfigInput) GoString() string
GoString returns the string representation
func (*UpdateElasticsearchDomainConfigInput) SetAccessPolicies ¶
func (s *UpdateElasticsearchDomainConfigInput) SetAccessPolicies(v string) *UpdateElasticsearchDomainConfigInput
SetAccessPolicies sets the AccessPolicies field's value.
func (*UpdateElasticsearchDomainConfigInput) SetAdvancedOptions ¶
func (s *UpdateElasticsearchDomainConfigInput) SetAdvancedOptions(v map[string]*string) *UpdateElasticsearchDomainConfigInput
SetAdvancedOptions sets the AdvancedOptions field's value.
func (*UpdateElasticsearchDomainConfigInput) SetDomainName ¶
func (s *UpdateElasticsearchDomainConfigInput) SetDomainName(v string) *UpdateElasticsearchDomainConfigInput
SetDomainName sets the DomainName field's value.
func (*UpdateElasticsearchDomainConfigInput) SetEBSOptions ¶
func (s *UpdateElasticsearchDomainConfigInput) SetEBSOptions(v *EBSOptions) *UpdateElasticsearchDomainConfigInput
SetEBSOptions sets the EBSOptions field's value.
func (*UpdateElasticsearchDomainConfigInput) SetElasticsearchClusterConfig ¶
func (s *UpdateElasticsearchDomainConfigInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *UpdateElasticsearchDomainConfigInput
SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
func (*UpdateElasticsearchDomainConfigInput) SetSnapshotOptions ¶
func (s *UpdateElasticsearchDomainConfigInput) SetSnapshotOptions(v *SnapshotOptions) *UpdateElasticsearchDomainConfigInput
SetSnapshotOptions sets the SnapshotOptions field's value.
func (UpdateElasticsearchDomainConfigInput) String ¶
func (s UpdateElasticsearchDomainConfigInput) String() string
String returns the string representation
func (*UpdateElasticsearchDomainConfigInput) Validate ¶
func (s *UpdateElasticsearchDomainConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateElasticsearchDomainConfigOutput ¶
type UpdateElasticsearchDomainConfigOutput struct { // The status of the updated Elasticsearch domain. // // DomainConfig is a required field DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
The result of an UpdateElasticsearchDomain request. Contains the status of the Elasticsearch domain being updated. Please also see https://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfigResponse
func (UpdateElasticsearchDomainConfigOutput) GoString ¶
func (s UpdateElasticsearchDomainConfigOutput) GoString() string
GoString returns the string representation
func (*UpdateElasticsearchDomainConfigOutput) SetDomainConfig ¶
func (s *UpdateElasticsearchDomainConfigOutput) SetDomainConfig(v *ElasticsearchDomainConfig) *UpdateElasticsearchDomainConfigOutput
SetDomainConfig sets the DomainConfig field's value.
func (UpdateElasticsearchDomainConfigOutput) String ¶
func (s UpdateElasticsearchDomainConfigOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package elasticsearchserviceiface provides an interface to enable mocking the Amazon Elasticsearch Service service client for testing your code.
|
Package elasticsearchserviceiface provides an interface to enable mocking the Amazon Elasticsearch Service service client for testing your code. |