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.
For sample code that uses the Configuration API, see the Amazon Elasticsearch Service Developer Guide (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-configuration-samples.html). The guide also contains sample code for sending signed HTTP requests to the Elasticsearch APIs (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-request-signing.html).
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 elasticsearchservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticsearchservice/
Using the Client ¶
To use Amazon Elasticsearch Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Elasticsearch Service client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticsearchservice/#New
Index ¶
- Constants
- type AccessPoliciesStatus
- type AddTagsInput
- type AddTagsOutput
- type AddTagsRequest
- type AddTagsResponse
- type AdditionalLimit
- type AdvancedOptionsStatus
- type AdvancedSecurityOptions
- type AdvancedSecurityOptionsInput
- type AdvancedSecurityOptionsStatus
- type AssociatePackageInput
- type AssociatePackageOutput
- type AssociatePackageRequest
- type AssociatePackageResponse
- type CancelElasticsearchServiceSoftwareUpdateInput
- type CancelElasticsearchServiceSoftwareUpdateOutput
- type CancelElasticsearchServiceSoftwareUpdateRequest
- type CancelElasticsearchServiceSoftwareUpdateResponse
- type Client
- func (c *Client) AddTagsRequest(input *AddTagsInput) AddTagsRequest
- func (c *Client) AssociatePackageRequest(input *AssociatePackageInput) AssociatePackageRequest
- func (c *Client) CancelElasticsearchServiceSoftwareUpdateRequest(input *CancelElasticsearchServiceSoftwareUpdateInput) CancelElasticsearchServiceSoftwareUpdateRequest
- func (c *Client) CreateElasticsearchDomainRequest(input *CreateElasticsearchDomainInput) CreateElasticsearchDomainRequest
- func (c *Client) CreatePackageRequest(input *CreatePackageInput) CreatePackageRequest
- func (c *Client) DeleteElasticsearchDomainRequest(input *DeleteElasticsearchDomainInput) DeleteElasticsearchDomainRequest
- func (c *Client) DeleteElasticsearchServiceRoleRequest(input *DeleteElasticsearchServiceRoleInput) DeleteElasticsearchServiceRoleRequest
- func (c *Client) DeletePackageRequest(input *DeletePackageInput) DeletePackageRequest
- func (c *Client) DescribeElasticsearchDomainConfigRequest(input *DescribeElasticsearchDomainConfigInput) DescribeElasticsearchDomainConfigRequest
- func (c *Client) DescribeElasticsearchDomainRequest(input *DescribeElasticsearchDomainInput) DescribeElasticsearchDomainRequest
- func (c *Client) DescribeElasticsearchDomainsRequest(input *DescribeElasticsearchDomainsInput) DescribeElasticsearchDomainsRequest
- func (c *Client) DescribeElasticsearchInstanceTypeLimitsRequest(input *DescribeElasticsearchInstanceTypeLimitsInput) DescribeElasticsearchInstanceTypeLimitsRequest
- func (c *Client) DescribePackagesRequest(input *DescribePackagesInput) DescribePackagesRequest
- func (c *Client) DescribeReservedElasticsearchInstanceOfferingsRequest(input *DescribeReservedElasticsearchInstanceOfferingsInput) DescribeReservedElasticsearchInstanceOfferingsRequest
- func (c *Client) DescribeReservedElasticsearchInstancesRequest(input *DescribeReservedElasticsearchInstancesInput) DescribeReservedElasticsearchInstancesRequest
- func (c *Client) DissociatePackageRequest(input *DissociatePackageInput) DissociatePackageRequest
- func (c *Client) GetCompatibleElasticsearchVersionsRequest(input *GetCompatibleElasticsearchVersionsInput) GetCompatibleElasticsearchVersionsRequest
- func (c *Client) GetUpgradeHistoryRequest(input *GetUpgradeHistoryInput) GetUpgradeHistoryRequest
- func (c *Client) GetUpgradeStatusRequest(input *GetUpgradeStatusInput) GetUpgradeStatusRequest
- func (c *Client) ListDomainNamesRequest(input *ListDomainNamesInput) ListDomainNamesRequest
- func (c *Client) ListDomainsForPackageRequest(input *ListDomainsForPackageInput) ListDomainsForPackageRequest
- func (c *Client) ListElasticsearchInstanceTypesRequest(input *ListElasticsearchInstanceTypesInput) ListElasticsearchInstanceTypesRequest
- func (c *Client) ListElasticsearchVersionsRequest(input *ListElasticsearchVersionsInput) ListElasticsearchVersionsRequest
- func (c *Client) ListPackagesForDomainRequest(input *ListPackagesForDomainInput) ListPackagesForDomainRequest
- func (c *Client) ListTagsRequest(input *ListTagsInput) ListTagsRequest
- func (c *Client) PurchaseReservedElasticsearchInstanceOfferingRequest(input *PurchaseReservedElasticsearchInstanceOfferingInput) PurchaseReservedElasticsearchInstanceOfferingRequest
- func (c *Client) RemoveTagsRequest(input *RemoveTagsInput) RemoveTagsRequest
- func (c *Client) StartElasticsearchServiceSoftwareUpdateRequest(input *StartElasticsearchServiceSoftwareUpdateInput) StartElasticsearchServiceSoftwareUpdateRequest
- func (c *Client) UpdateElasticsearchDomainConfigRequest(input *UpdateElasticsearchDomainConfigInput) UpdateElasticsearchDomainConfigRequest
- func (c *Client) UpgradeElasticsearchDomainRequest(input *UpgradeElasticsearchDomainInput) UpgradeElasticsearchDomainRequest
- type CognitoOptions
- type CognitoOptionsStatus
- type CompatibleVersionsMap
- type CreateElasticsearchDomainInput
- type CreateElasticsearchDomainOutput
- type CreateElasticsearchDomainRequest
- type CreateElasticsearchDomainResponse
- type CreatePackageInput
- type CreatePackageOutput
- type CreatePackageRequest
- type CreatePackageResponse
- type DeleteElasticsearchDomainInput
- type DeleteElasticsearchDomainOutput
- type DeleteElasticsearchDomainRequest
- type DeleteElasticsearchDomainResponse
- type DeleteElasticsearchServiceRoleInput
- type DeleteElasticsearchServiceRoleOutput
- type DeleteElasticsearchServiceRoleRequest
- type DeleteElasticsearchServiceRoleResponse
- type DeletePackageInput
- type DeletePackageOutput
- type DeletePackageRequest
- type DeletePackageResponse
- type DeploymentStatus
- type DescribeElasticsearchDomainConfigInput
- type DescribeElasticsearchDomainConfigOutput
- type DescribeElasticsearchDomainConfigRequest
- type DescribeElasticsearchDomainConfigResponse
- type DescribeElasticsearchDomainInput
- type DescribeElasticsearchDomainOutput
- type DescribeElasticsearchDomainRequest
- type DescribeElasticsearchDomainResponse
- type DescribeElasticsearchDomainsInput
- type DescribeElasticsearchDomainsOutput
- type DescribeElasticsearchDomainsRequest
- type DescribeElasticsearchDomainsResponse
- type DescribeElasticsearchInstanceTypeLimitsInput
- type DescribeElasticsearchInstanceTypeLimitsOutput
- type DescribeElasticsearchInstanceTypeLimitsRequest
- type DescribeElasticsearchInstanceTypeLimitsResponse
- type DescribePackagesFilter
- type DescribePackagesFilterName
- type DescribePackagesInput
- type DescribePackagesOutput
- type DescribePackagesPaginator
- type DescribePackagesRequest
- type DescribePackagesResponse
- type DescribeReservedElasticsearchInstanceOfferingsInput
- type DescribeReservedElasticsearchInstanceOfferingsOutput
- type DescribeReservedElasticsearchInstanceOfferingsPaginator
- type DescribeReservedElasticsearchInstanceOfferingsRequest
- type DescribeReservedElasticsearchInstanceOfferingsResponse
- type DescribeReservedElasticsearchInstancesInput
- type DescribeReservedElasticsearchInstancesOutput
- type DescribeReservedElasticsearchInstancesPaginator
- type DescribeReservedElasticsearchInstancesRequest
- type DescribeReservedElasticsearchInstancesResponse
- type DissociatePackageInput
- type DissociatePackageOutput
- type DissociatePackageRequest
- type DissociatePackageResponse
- type DomainEndpointOptions
- type DomainEndpointOptionsStatus
- type DomainInfo
- type DomainPackageDetails
- type DomainPackageStatus
- type EBSOptions
- type EBSOptionsStatus
- type ESPartitionInstanceType
- type ESWarmPartitionInstanceType
- type ElasticsearchClusterConfig
- type ElasticsearchClusterConfigStatus
- type ElasticsearchDomainConfig
- type ElasticsearchDomainStatus
- type ElasticsearchVersionStatus
- type EncryptionAtRestOptions
- type EncryptionAtRestOptionsStatus
- type ErrorDetails
- type GetCompatibleElasticsearchVersionsInput
- type GetCompatibleElasticsearchVersionsOutput
- type GetCompatibleElasticsearchVersionsRequest
- type GetCompatibleElasticsearchVersionsResponse
- type GetUpgradeHistoryInput
- type GetUpgradeHistoryOutput
- type GetUpgradeHistoryPaginator
- type GetUpgradeHistoryRequest
- type GetUpgradeHistoryResponse
- type GetUpgradeStatusInput
- type GetUpgradeStatusOutput
- type GetUpgradeStatusRequest
- type GetUpgradeStatusResponse
- type InstanceCountLimits
- type InstanceLimits
- type Limits
- type ListDomainNamesInput
- type ListDomainNamesOutput
- type ListDomainNamesRequest
- type ListDomainNamesResponse
- type ListDomainsForPackageInput
- type ListDomainsForPackageOutput
- type ListDomainsForPackagePaginator
- type ListDomainsForPackageRequest
- type ListDomainsForPackageResponse
- type ListElasticsearchInstanceTypesInput
- type ListElasticsearchInstanceTypesOutput
- type ListElasticsearchInstanceTypesPaginator
- type ListElasticsearchInstanceTypesRequest
- type ListElasticsearchInstanceTypesResponse
- type ListElasticsearchVersionsInput
- type ListElasticsearchVersionsOutput
- type ListElasticsearchVersionsPaginator
- type ListElasticsearchVersionsRequest
- type ListElasticsearchVersionsResponse
- type ListPackagesForDomainInput
- type ListPackagesForDomainOutput
- type ListPackagesForDomainPaginator
- type ListPackagesForDomainRequest
- type ListPackagesForDomainResponse
- type ListTagsInput
- type ListTagsOutput
- type ListTagsRequest
- type ListTagsResponse
- type LogPublishingOption
- type LogPublishingOptionsStatus
- type LogType
- type MasterUserOptions
- type NodeToNodeEncryptionOptions
- type NodeToNodeEncryptionOptionsStatus
- type OptionState
- type OptionStatus
- type PackageDetails
- type PackageSource
- type PackageStatus
- type PackageType
- type PurchaseReservedElasticsearchInstanceOfferingInput
- type PurchaseReservedElasticsearchInstanceOfferingOutput
- type PurchaseReservedElasticsearchInstanceOfferingRequest
- type PurchaseReservedElasticsearchInstanceOfferingResponse
- type RecurringCharge
- type RemoveTagsInput
- type RemoveTagsOutput
- type RemoveTagsRequest
- type RemoveTagsResponse
- type ReservedElasticsearchInstance
- type ReservedElasticsearchInstanceOffering
- type ReservedElasticsearchInstancePaymentOption
- type ServiceSoftwareOptions
- type SnapshotOptions
- type SnapshotOptionsStatus
- type StartElasticsearchServiceSoftwareUpdateInput
- type StartElasticsearchServiceSoftwareUpdateOutput
- type StartElasticsearchServiceSoftwareUpdateRequest
- type StartElasticsearchServiceSoftwareUpdateResponse
- type StorageType
- type StorageTypeLimit
- type TLSSecurityPolicy
- type Tag
- type UpdateElasticsearchDomainConfigInput
- type UpdateElasticsearchDomainConfigOutput
- type UpdateElasticsearchDomainConfigRequest
- type UpdateElasticsearchDomainConfigResponse
- type UpgradeElasticsearchDomainInput
- type UpgradeElasticsearchDomainOutput
- type UpgradeElasticsearchDomainRequest
- type UpgradeElasticsearchDomainResponse
- type UpgradeHistory
- type UpgradeStatus
- type UpgradeStep
- type UpgradeStepItem
- type VPCDerivedInfo
- type VPCDerivedInfoStatus
- type VPCOptions
- type VolumeType
- type ZoneAwarenessConfig
Constants ¶
const ( ServiceName = "Amazon Elasticsearch Service" // Service's name ServiceID = "ElasticsearchService" // Service's identifier EndpointsID = "es" // Service's Endpoint identifier )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // An error occurred because user does not have permissions to access the resource. // Returns HTTP status code 403. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeBaseException for service response error code // "BaseException". // // An error occurred while processing the request. ErrCodeBaseException = "BaseException" // ErrCodeConflictException for service response error code // "ConflictException". // // An error occurred because the client attempts to remove a resource that is // currently in use. Returns HTTP status code 409. ErrCodeConflictException = "ConflictException" // 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" )
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.
func (AccessPoliciesStatus) MarshalFields ¶ added in v0.3.0
func (s AccessPoliciesStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (AddTagsInput) MarshalFields ¶ added in v0.3.0
func (s AddTagsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
func (AddTagsOutput) MarshalFields ¶ added in v0.3.0
func (s AddTagsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AddTagsOutput) String ¶
func (s AddTagsOutput) String() string
String returns the string representation
type AddTagsRequest ¶
type AddTagsRequest struct { *aws.Request Input *AddTagsInput Copy func(*AddTagsInput) AddTagsRequest }
AddTagsRequest is the request type for the AddTags API operation.
func (AddTagsRequest) Send ¶
func (r AddTagsRequest) Send(ctx context.Context) (*AddTagsResponse, error)
Send marshals and sends the AddTags API request.
type AddTagsResponse ¶ added in v0.9.0
type AddTagsResponse struct { *AddTagsOutput // contains filtered or unexported fields }
AddTagsResponse is the response type for the AddTags API operation.
func (*AddTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *AddTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AddTags request.
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 // // * MaximumNumberOfDataNodesWithoutMasterNode 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 .
func (AdditionalLimit) MarshalFields ¶ added in v0.3.0
func (s AdditionalLimit) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 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).
func (AdvancedOptionsStatus) MarshalFields ¶ added in v0.3.0
func (s AdvancedOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AdvancedOptionsStatus) String ¶
func (s AdvancedOptionsStatus) String() string
String returns the string representation
type AdvancedSecurityOptions ¶ added in v0.20.0
type AdvancedSecurityOptions struct { // True if advanced security is enabled. Enabled *bool `type:"boolean"` // True if the internal user database is enabled. InternalUserDatabaseEnabled *bool `type:"boolean"` // contains filtered or unexported fields }
Specifies the advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled.
func (AdvancedSecurityOptions) MarshalFields ¶ added in v0.20.0
func (s AdvancedSecurityOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AdvancedSecurityOptions) String ¶ added in v0.20.0
func (s AdvancedSecurityOptions) String() string
String returns the string representation
type AdvancedSecurityOptionsInput ¶ added in v0.20.0
type AdvancedSecurityOptionsInput struct { // True if advanced security is enabled. Enabled *bool `type:"boolean"` // True if the internal user database is enabled. InternalUserDatabaseEnabled *bool `type:"boolean"` // Credentials for the master user: username and password, ARN, or both. MasterUserOptions *MasterUserOptions `type:"structure"` // contains filtered or unexported fields }
Specifies the advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled, master username and password (if internal database is enabled), and master user ARN (if IAM is enabled).
func (AdvancedSecurityOptionsInput) MarshalFields ¶ added in v0.20.0
func (s AdvancedSecurityOptionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AdvancedSecurityOptionsInput) String ¶ added in v0.20.0
func (s AdvancedSecurityOptionsInput) String() string
String returns the string representation
func (*AdvancedSecurityOptionsInput) Validate ¶ added in v0.20.0
func (s *AdvancedSecurityOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdvancedSecurityOptionsStatus ¶ added in v0.20.0
type AdvancedSecurityOptionsStatus struct { // Specifies advanced security options for the specified Elasticsearch domain. // // Options is a required field Options *AdvancedSecurityOptions `type:"structure" required:"true"` // Status of the advanced security options for the specified Elasticsearch domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Specifies the status of advanced security options for the specified Elasticsearch domain.
func (AdvancedSecurityOptionsStatus) MarshalFields ¶ added in v0.20.0
func (s AdvancedSecurityOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AdvancedSecurityOptionsStatus) String ¶ added in v0.20.0
func (s AdvancedSecurityOptionsStatus) String() string
String returns the string representation
type AssociatePackageInput ¶ added in v0.21.0
type AssociatePackageInput struct { // Name of the domain that you want to associate the package with. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // Internal ID of the package that you want to associate with a domain. Use // DescribePackages to find this value. // // PackageID is a required field PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` // contains filtered or unexported fields }
Container for request parameters to AssociatePackage operation.
func (AssociatePackageInput) MarshalFields ¶ added in v0.21.0
func (s AssociatePackageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociatePackageInput) String ¶ added in v0.21.0
func (s AssociatePackageInput) String() string
String returns the string representation
func (*AssociatePackageInput) Validate ¶ added in v0.21.0
func (s *AssociatePackageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociatePackageOutput ¶ added in v0.21.0
type AssociatePackageOutput struct { // DomainPackageDetails DomainPackageDetails *DomainPackageDetails `type:"structure"` // contains filtered or unexported fields }
Container for response returned by AssociatePackage operation.
func (AssociatePackageOutput) MarshalFields ¶ added in v0.21.0
func (s AssociatePackageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociatePackageOutput) String ¶ added in v0.21.0
func (s AssociatePackageOutput) String() string
String returns the string representation
type AssociatePackageRequest ¶ added in v0.21.0
type AssociatePackageRequest struct { *aws.Request Input *AssociatePackageInput Copy func(*AssociatePackageInput) AssociatePackageRequest }
AssociatePackageRequest is the request type for the AssociatePackage API operation.
func (AssociatePackageRequest) Send ¶ added in v0.21.0
func (r AssociatePackageRequest) Send(ctx context.Context) (*AssociatePackageResponse, error)
Send marshals and sends the AssociatePackage API request.
type AssociatePackageResponse ¶ added in v0.21.0
type AssociatePackageResponse struct { *AssociatePackageOutput // contains filtered or unexported fields }
AssociatePackageResponse is the response type for the AssociatePackage API operation.
func (*AssociatePackageResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *AssociatePackageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociatePackage request.
type CancelElasticsearchServiceSoftwareUpdateInput ¶ added in v0.6.0
type CancelElasticsearchServiceSoftwareUpdateInput struct { // The name of the domain that you want to stop the latest service software // update on. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the CancelElasticsearchServiceSoftwareUpdate operation. Specifies the name of the Elasticsearch domain that you wish to cancel a service software update on.
func (CancelElasticsearchServiceSoftwareUpdateInput) MarshalFields ¶ added in v0.6.0
func (s CancelElasticsearchServiceSoftwareUpdateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelElasticsearchServiceSoftwareUpdateInput) String ¶ added in v0.6.0
func (s CancelElasticsearchServiceSoftwareUpdateInput) String() string
String returns the string representation
func (*CancelElasticsearchServiceSoftwareUpdateInput) Validate ¶ added in v0.6.0
func (s *CancelElasticsearchServiceSoftwareUpdateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelElasticsearchServiceSoftwareUpdateOutput ¶ added in v0.6.0
type CancelElasticsearchServiceSoftwareUpdateOutput struct { // The current status of the Elasticsearch service software update. ServiceSoftwareOptions *ServiceSoftwareOptions `type:"structure"` // contains filtered or unexported fields }
The result of a CancelElasticsearchServiceSoftwareUpdate operation. Contains the status of the update.
func (CancelElasticsearchServiceSoftwareUpdateOutput) MarshalFields ¶ added in v0.6.0
func (s CancelElasticsearchServiceSoftwareUpdateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelElasticsearchServiceSoftwareUpdateOutput) String ¶ added in v0.6.0
func (s CancelElasticsearchServiceSoftwareUpdateOutput) String() string
String returns the string representation
type CancelElasticsearchServiceSoftwareUpdateRequest ¶ added in v0.6.0
type CancelElasticsearchServiceSoftwareUpdateRequest struct { *aws.Request Input *CancelElasticsearchServiceSoftwareUpdateInput Copy func(*CancelElasticsearchServiceSoftwareUpdateInput) CancelElasticsearchServiceSoftwareUpdateRequest }
CancelElasticsearchServiceSoftwareUpdateRequest is the request type for the CancelElasticsearchServiceSoftwareUpdate API operation.
func (CancelElasticsearchServiceSoftwareUpdateRequest) Send ¶ added in v0.6.0
func (r CancelElasticsearchServiceSoftwareUpdateRequest) Send(ctx context.Context) (*CancelElasticsearchServiceSoftwareUpdateResponse, error)
Send marshals and sends the CancelElasticsearchServiceSoftwareUpdate API request.
type CancelElasticsearchServiceSoftwareUpdateResponse ¶ added in v0.9.0
type CancelElasticsearchServiceSoftwareUpdateResponse struct { *CancelElasticsearchServiceSoftwareUpdateOutput // contains filtered or unexported fields }
CancelElasticsearchServiceSoftwareUpdateResponse is the response type for the CancelElasticsearchServiceSoftwareUpdate API operation.
func (*CancelElasticsearchServiceSoftwareUpdateResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CancelElasticsearchServiceSoftwareUpdateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CancelElasticsearchServiceSoftwareUpdate request.
type Client ¶ added in v0.9.0
Client provides the API operation methods for making requests to Amazon Elasticsearch Service. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := elasticsearchservice.New(myConfig)
func (*Client) AddTagsRequest ¶ added in v0.9.0
func (c *Client) AddTagsRequest(input *AddTagsInput) AddTagsRequest
AddTagsRequest returns a request value for making 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)
// Example sending a request using AddTagsRequest. req := client.AddTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) AssociatePackageRequest ¶ added in v0.21.0
func (c *Client) AssociatePackageRequest(input *AssociatePackageInput) AssociatePackageRequest
AssociatePackageRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Associates a package with an Amazon ES domain.
// Example sending a request using AssociatePackageRequest. req := client.AssociatePackageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) CancelElasticsearchServiceSoftwareUpdateRequest ¶ added in v0.9.0
func (c *Client) CancelElasticsearchServiceSoftwareUpdateRequest(input *CancelElasticsearchServiceSoftwareUpdateInput) CancelElasticsearchServiceSoftwareUpdateRequest
CancelElasticsearchServiceSoftwareUpdateRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.
// Example sending a request using CancelElasticsearchServiceSoftwareUpdateRequest. req := client.CancelElasticsearchServiceSoftwareUpdateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) CreateElasticsearchDomainRequest ¶ added in v0.9.0
func (c *Client) CreateElasticsearchDomainRequest(input *CreateElasticsearchDomainInput) CreateElasticsearchDomainRequest
CreateElasticsearchDomainRequest returns a request value for making 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.
// Example sending a request using CreateElasticsearchDomainRequest. req := client.CreateElasticsearchDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) CreatePackageRequest ¶ added in v0.21.0
func (c *Client) CreatePackageRequest(input *CreatePackageInput) CreatePackageRequest
CreatePackageRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Create a package for use with Amazon ES domains.
// Example sending a request using CreatePackageRequest. req := client.CreatePackageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DeleteElasticsearchDomainRequest ¶ added in v0.9.0
func (c *Client) DeleteElasticsearchDomainRequest(input *DeleteElasticsearchDomainInput) DeleteElasticsearchDomainRequest
DeleteElasticsearchDomainRequest returns a request value for making 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.
// Example sending a request using DeleteElasticsearchDomainRequest. req := client.DeleteElasticsearchDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DeleteElasticsearchServiceRoleRequest ¶ added in v0.9.0
func (c *Client) DeleteElasticsearchServiceRoleRequest(input *DeleteElasticsearchServiceRoleInput) DeleteElasticsearchServiceRoleRequest
DeleteElasticsearchServiceRoleRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-enabling-slr) in VPC Endpoints for Amazon Elasticsearch Service Domains.
// Example sending a request using DeleteElasticsearchServiceRoleRequest. req := client.DeleteElasticsearchServiceRoleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DeletePackageRequest ¶ added in v0.21.0
func (c *Client) DeletePackageRequest(input *DeletePackageInput) DeletePackageRequest
DeletePackageRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Delete the package.
// Example sending a request using DeletePackageRequest. req := client.DeletePackageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribeElasticsearchDomainConfigRequest ¶ added in v0.9.0
func (c *Client) DescribeElasticsearchDomainConfigRequest(input *DescribeElasticsearchDomainConfigInput) DescribeElasticsearchDomainConfigRequest
DescribeElasticsearchDomainConfigRequest returns a request value for making 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.
// Example sending a request using DescribeElasticsearchDomainConfigRequest. req := client.DescribeElasticsearchDomainConfigRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribeElasticsearchDomainRequest ¶ added in v0.9.0
func (c *Client) DescribeElasticsearchDomainRequest(input *DescribeElasticsearchDomainInput) DescribeElasticsearchDomainRequest
DescribeElasticsearchDomainRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
// Example sending a request using DescribeElasticsearchDomainRequest. req := client.DescribeElasticsearchDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribeElasticsearchDomainsRequest ¶ added in v0.9.0
func (c *Client) DescribeElasticsearchDomainsRequest(input *DescribeElasticsearchDomainsInput) DescribeElasticsearchDomainsRequest
DescribeElasticsearchDomainsRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
// Example sending a request using DescribeElasticsearchDomainsRequest. req := client.DescribeElasticsearchDomainsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribeElasticsearchInstanceTypeLimitsRequest ¶ added in v0.9.0
func (c *Client) DescribeElasticsearchInstanceTypeLimitsRequest(input *DescribeElasticsearchInstanceTypeLimitsInput) DescribeElasticsearchInstanceTypeLimitsRequest
DescribeElasticsearchInstanceTypeLimitsRequest returns a request value for making 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.
// Example sending a request using DescribeElasticsearchInstanceTypeLimitsRequest. req := client.DescribeElasticsearchInstanceTypeLimitsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribePackagesRequest ¶ added in v0.21.0
func (c *Client) DescribePackagesRequest(input *DescribePackagesInput) DescribePackagesRequest
DescribePackagesRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.
// Example sending a request using DescribePackagesRequest. req := client.DescribePackagesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribeReservedElasticsearchInstanceOfferingsRequest ¶ added in v0.9.0
func (c *Client) DescribeReservedElasticsearchInstanceOfferingsRequest(input *DescribeReservedElasticsearchInstanceOfferingsInput) DescribeReservedElasticsearchInstanceOfferingsRequest
DescribeReservedElasticsearchInstanceOfferingsRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Lists available reserved Elasticsearch instance offerings.
// Example sending a request using DescribeReservedElasticsearchInstanceOfferingsRequest. req := client.DescribeReservedElasticsearchInstanceOfferingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DescribeReservedElasticsearchInstancesRequest ¶ added in v0.9.0
func (c *Client) DescribeReservedElasticsearchInstancesRequest(input *DescribeReservedElasticsearchInstancesInput) DescribeReservedElasticsearchInstancesRequest
DescribeReservedElasticsearchInstancesRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Returns information about reserved Elasticsearch instances for this account.
// Example sending a request using DescribeReservedElasticsearchInstancesRequest. req := client.DescribeReservedElasticsearchInstancesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) DissociatePackageRequest ¶ added in v0.21.0
func (c *Client) DissociatePackageRequest(input *DissociatePackageInput) DissociatePackageRequest
DissociatePackageRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Dissociates a package from the Amazon ES domain.
// Example sending a request using DissociatePackageRequest. req := client.DissociatePackageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) GetCompatibleElasticsearchVersionsRequest ¶ added in v0.9.0
func (c *Client) GetCompatibleElasticsearchVersionsRequest(input *GetCompatibleElasticsearchVersionsInput) GetCompatibleElasticsearchVersionsRequest
GetCompatibleElasticsearchVersionsRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a DomainName to get all upgrade compatible Elasticsearch versions for that specific domain.
// Example sending a request using GetCompatibleElasticsearchVersionsRequest. req := client.GetCompatibleElasticsearchVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) GetUpgradeHistoryRequest ¶ added in v0.9.0
func (c *Client) GetUpgradeHistoryRequest(input *GetUpgradeHistoryInput) GetUpgradeHistoryRequest
GetUpgradeHistoryRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Retrieves the complete history of the last 10 upgrades that were performed on the domain.
// Example sending a request using GetUpgradeHistoryRequest. req := client.GetUpgradeHistoryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) GetUpgradeStatusRequest ¶ added in v0.9.0
func (c *Client) GetUpgradeStatusRequest(input *GetUpgradeStatusInput) GetUpgradeStatusRequest
GetUpgradeStatusRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.
// Example sending a request using GetUpgradeStatusRequest. req := client.GetUpgradeStatusRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) ListDomainNamesRequest ¶ added in v0.9.0
func (c *Client) ListDomainNamesRequest(input *ListDomainNamesInput) ListDomainNamesRequest
ListDomainNamesRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Returns the name of all Elasticsearch domains owned by the current user's account.
// Example sending a request using ListDomainNamesRequest. req := client.ListDomainNamesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) ListDomainsForPackageRequest ¶ added in v0.21.0
func (c *Client) ListDomainsForPackageRequest(input *ListDomainsForPackageInput) ListDomainsForPackageRequest
ListDomainsForPackageRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Lists all Amazon ES domains associated with the package.
// Example sending a request using ListDomainsForPackageRequest. req := client.ListDomainsForPackageRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) ListElasticsearchInstanceTypesRequest ¶ added in v0.9.0
func (c *Client) ListElasticsearchInstanceTypesRequest(input *ListElasticsearchInstanceTypesInput) ListElasticsearchInstanceTypesRequest
ListElasticsearchInstanceTypesRequest returns a request value for making API operation for Amazon Elasticsearch Service.
List all Elasticsearch instance types that are supported for given ElasticsearchVersion
// Example sending a request using ListElasticsearchInstanceTypesRequest. req := client.ListElasticsearchInstanceTypesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) ListElasticsearchVersionsRequest ¶ added in v0.9.0
func (c *Client) ListElasticsearchVersionsRequest(input *ListElasticsearchVersionsInput) ListElasticsearchVersionsRequest
ListElasticsearchVersionsRequest returns a request value for making API operation for Amazon Elasticsearch Service.
List all supported Elasticsearch versions
// Example sending a request using ListElasticsearchVersionsRequest. req := client.ListElasticsearchVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) ListPackagesForDomainRequest ¶ added in v0.21.0
func (c *Client) ListPackagesForDomainRequest(input *ListPackagesForDomainInput) ListPackagesForDomainRequest
ListPackagesForDomainRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Lists all packages associated with the Amazon ES domain.
// Example sending a request using ListPackagesForDomainRequest. req := client.ListPackagesForDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) ListTagsRequest ¶ added in v0.9.0
func (c *Client) ListTagsRequest(input *ListTagsInput) ListTagsRequest
ListTagsRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Returns all tags for the given Elasticsearch domain.
// Example sending a request using ListTagsRequest. req := client.ListTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) PurchaseReservedElasticsearchInstanceOfferingRequest ¶ added in v0.9.0
func (c *Client) PurchaseReservedElasticsearchInstanceOfferingRequest(input *PurchaseReservedElasticsearchInstanceOfferingInput) PurchaseReservedElasticsearchInstanceOfferingRequest
PurchaseReservedElasticsearchInstanceOfferingRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Allows you to purchase reserved Elasticsearch instances.
// Example sending a request using PurchaseReservedElasticsearchInstanceOfferingRequest. req := client.PurchaseReservedElasticsearchInstanceOfferingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) RemoveTagsRequest ¶ added in v0.9.0
func (c *Client) RemoveTagsRequest(input *RemoveTagsInput) RemoveTagsRequest
RemoveTagsRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Removes the specified set of tags from the specified Elasticsearch domain.
// Example sending a request using RemoveTagsRequest. req := client.RemoveTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) StartElasticsearchServiceSoftwareUpdateRequest ¶ added in v0.9.0
func (c *Client) StartElasticsearchServiceSoftwareUpdateRequest(input *StartElasticsearchServiceSoftwareUpdateInput) StartElasticsearchServiceSoftwareUpdateRequest
StartElasticsearchServiceSoftwareUpdateRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Schedules a service software update for an Amazon ES domain.
// Example sending a request using StartElasticsearchServiceSoftwareUpdateRequest. req := client.StartElasticsearchServiceSoftwareUpdateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) UpdateElasticsearchDomainConfigRequest ¶ added in v0.9.0
func (c *Client) UpdateElasticsearchDomainConfigRequest(input *UpdateElasticsearchDomainConfigInput) UpdateElasticsearchDomainConfigRequest
UpdateElasticsearchDomainConfigRequest returns a request value for making 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.
// Example sending a request using UpdateElasticsearchDomainConfigRequest. req := client.UpdateElasticsearchDomainConfigRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*Client) UpgradeElasticsearchDomainRequest ¶ added in v0.9.0
func (c *Client) UpgradeElasticsearchDomainRequest(input *UpgradeElasticsearchDomainInput) UpgradeElasticsearchDomainRequest
UpgradeElasticsearchDomainRequest returns a request value for making API operation for Amazon Elasticsearch Service.
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.
// Example sending a request using UpgradeElasticsearchDomainRequest. req := client.UpgradeElasticsearchDomainRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
type CognitoOptions ¶ added in v0.4.0
type CognitoOptions struct { // Specifies the option to enable Cognito for Kibana authentication. Enabled *bool `type:"boolean"` // Specifies the Cognito identity pool ID for Kibana authentication. IdentityPoolId *string `min:"1" type:"string"` // Specifies the role ARN that provides Elasticsearch permissions for accessing // Cognito resources. RoleArn *string `min:"20" type:"string"` // Specifies the Cognito user pool ID for Kibana authentication. UserPoolId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html).
func (CognitoOptions) MarshalFields ¶ added in v0.4.0
func (s CognitoOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CognitoOptions) String ¶ added in v0.4.0
func (s CognitoOptions) String() string
String returns the string representation
func (*CognitoOptions) Validate ¶ added in v0.4.0
func (s *CognitoOptions) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CognitoOptionsStatus ¶ added in v0.4.0
type CognitoOptionsStatus struct { // Specifies the Cognito options for the specified Elasticsearch domain. // // Options is a required field Options *CognitoOptions `type:"structure" required:"true"` // Specifies the status of the Cognito 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 Cognito options for the specified Elasticsearch domain.
func (CognitoOptionsStatus) MarshalFields ¶ added in v0.4.0
func (s CognitoOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CognitoOptionsStatus) String ¶ added in v0.4.0
func (s CognitoOptionsStatus) String() string
String returns the string representation
type CompatibleVersionsMap ¶ added in v0.5.0
type CompatibleVersionsMap struct { // The current version of Elasticsearch on which a domain is. SourceVersion *string `type:"string"` // List of supported elastic search versions. TargetVersions []string `type:"list"` // contains filtered or unexported fields }
A map from an ElasticsearchVersion to a list of compatible ElasticsearchVersion s to which the domain can be upgraded.
func (CompatibleVersionsMap) MarshalFields ¶ added in v0.5.0
func (s CompatibleVersionsMap) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CompatibleVersionsMap) String ¶ added in v0.5.0
func (s CompatibleVersionsMap) 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"` // Specifies advanced security options. AdvancedSecurityOptions *AdvancedSecurityOptionsInput `type:"structure"` // Options to specify the Cognito user and identity pools for Kibana authentication. // For more information, see Amazon Cognito Authentication for Kibana (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html). CognitoOptions *CognitoOptions `type:"structure"` // Options to specify configuration that will be applied to the domain endpoint. DomainEndpointOptions *DomainEndpointOptions `type:"structure"` // 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 lowercase letter 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"` // Specifies the Encryption At Rest Options. EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` // Map of LogType and LogPublishingOption, each containing options to publish // a given type of Elasticsearch log. LogPublishingOptions map[string]LogPublishingOption `type:"map"` // Specifies the NodeToNodeEncryptionOptions. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` // Option to set time, in UTC format, of the daily automated snapshot. Default // value is 0 hours. SnapshotOptions *SnapshotOptions `type:"structure"` // Options to specify the subnets and security groups for VPC endpoint. For // more information, see Creating a VPC (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc) // in VPC Endpoints for Amazon Elasticsearch Service Domains VPCOptions *VPCOptions `type:"structure"` // contains filtered or unexported fields }
func (CreateElasticsearchDomainInput) MarshalFields ¶ added in v0.3.0
func (s CreateElasticsearchDomainInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (CreateElasticsearchDomainOutput) MarshalFields ¶ added in v0.3.0
func (s CreateElasticsearchDomainOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateElasticsearchDomainOutput) String ¶
func (s CreateElasticsearchDomainOutput) String() string
String returns the string representation
type CreateElasticsearchDomainRequest ¶
type CreateElasticsearchDomainRequest struct { *aws.Request Input *CreateElasticsearchDomainInput Copy func(*CreateElasticsearchDomainInput) CreateElasticsearchDomainRequest }
CreateElasticsearchDomainRequest is the request type for the CreateElasticsearchDomain API operation.
func (CreateElasticsearchDomainRequest) Send ¶
func (r CreateElasticsearchDomainRequest) Send(ctx context.Context) (*CreateElasticsearchDomainResponse, error)
Send marshals and sends the CreateElasticsearchDomain API request.
type CreateElasticsearchDomainResponse ¶ added in v0.9.0
type CreateElasticsearchDomainResponse struct { *CreateElasticsearchDomainOutput // contains filtered or unexported fields }
CreateElasticsearchDomainResponse is the response type for the CreateElasticsearchDomain API operation.
func (*CreateElasticsearchDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *CreateElasticsearchDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateElasticsearchDomain request.
type CreatePackageInput ¶ added in v0.21.0
type CreatePackageInput struct { // Description of the package. PackageDescription *string `type:"string"` // Unique identifier for the package. // // PackageName is a required field PackageName *string `min:"3" type:"string" required:"true"` // The customer S3 location PackageSource for importing the package. // // PackageSource is a required field PackageSource *PackageSource `type:"structure" required:"true"` // Type of package. Currently supports only TXT-DICTIONARY. // // PackageType is a required field PackageType PackageType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Container for request parameters to CreatePackage operation.
func (CreatePackageInput) MarshalFields ¶ added in v0.21.0
func (s CreatePackageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePackageInput) String ¶ added in v0.21.0
func (s CreatePackageInput) String() string
String returns the string representation
func (*CreatePackageInput) Validate ¶ added in v0.21.0
func (s *CreatePackageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePackageOutput ¶ added in v0.21.0
type CreatePackageOutput struct { // Information about the package PackageDetails. PackageDetails *PackageDetails `type:"structure"` // contains filtered or unexported fields }
Container for response returned by CreatePackage operation.
func (CreatePackageOutput) MarshalFields ¶ added in v0.21.0
func (s CreatePackageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePackageOutput) String ¶ added in v0.21.0
func (s CreatePackageOutput) String() string
String returns the string representation
type CreatePackageRequest ¶ added in v0.21.0
type CreatePackageRequest struct { *aws.Request Input *CreatePackageInput Copy func(*CreatePackageInput) CreatePackageRequest }
CreatePackageRequest is the request type for the CreatePackage API operation.
func (CreatePackageRequest) Send ¶ added in v0.21.0
func (r CreatePackageRequest) Send(ctx context.Context) (*CreatePackageResponse, error)
Send marshals and sends the CreatePackage API request.
type CreatePackageResponse ¶ added in v0.21.0
type CreatePackageResponse struct { *CreatePackageOutput // contains filtered or unexported fields }
CreatePackageResponse is the response type for the CreatePackage API operation.
func (*CreatePackageResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *CreatePackageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreatePackage request.
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.
func (DeleteElasticsearchDomainInput) MarshalFields ¶ added in v0.3.0
func (s DeleteElasticsearchDomainInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (DeleteElasticsearchDomainOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteElasticsearchDomainOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteElasticsearchDomainOutput) String ¶
func (s DeleteElasticsearchDomainOutput) String() string
String returns the string representation
type DeleteElasticsearchDomainRequest ¶
type DeleteElasticsearchDomainRequest struct { *aws.Request Input *DeleteElasticsearchDomainInput Copy func(*DeleteElasticsearchDomainInput) DeleteElasticsearchDomainRequest }
DeleteElasticsearchDomainRequest is the request type for the DeleteElasticsearchDomain API operation.
func (DeleteElasticsearchDomainRequest) Send ¶
func (r DeleteElasticsearchDomainRequest) Send(ctx context.Context) (*DeleteElasticsearchDomainResponse, error)
Send marshals and sends the DeleteElasticsearchDomain API request.
type DeleteElasticsearchDomainResponse ¶ added in v0.9.0
type DeleteElasticsearchDomainResponse struct { *DeleteElasticsearchDomainOutput // contains filtered or unexported fields }
DeleteElasticsearchDomainResponse is the response type for the DeleteElasticsearchDomain API operation.
func (*DeleteElasticsearchDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteElasticsearchDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteElasticsearchDomain request.
type DeleteElasticsearchServiceRoleInput ¶ added in v0.2.0
type DeleteElasticsearchServiceRoleInput struct {
// contains filtered or unexported fields
}
func (DeleteElasticsearchServiceRoleInput) MarshalFields ¶ added in v0.3.0
func (s DeleteElasticsearchServiceRoleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteElasticsearchServiceRoleInput) String ¶ added in v0.2.0
func (s DeleteElasticsearchServiceRoleInput) String() string
String returns the string representation
type DeleteElasticsearchServiceRoleOutput ¶ added in v0.2.0
type DeleteElasticsearchServiceRoleOutput struct {
// contains filtered or unexported fields
}
func (DeleteElasticsearchServiceRoleOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteElasticsearchServiceRoleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteElasticsearchServiceRoleOutput) String ¶ added in v0.2.0
func (s DeleteElasticsearchServiceRoleOutput) String() string
String returns the string representation
type DeleteElasticsearchServiceRoleRequest ¶ added in v0.2.0
type DeleteElasticsearchServiceRoleRequest struct { *aws.Request Input *DeleteElasticsearchServiceRoleInput Copy func(*DeleteElasticsearchServiceRoleInput) DeleteElasticsearchServiceRoleRequest }
DeleteElasticsearchServiceRoleRequest is the request type for the DeleteElasticsearchServiceRole API operation.
func (DeleteElasticsearchServiceRoleRequest) Send ¶ added in v0.2.0
func (r DeleteElasticsearchServiceRoleRequest) Send(ctx context.Context) (*DeleteElasticsearchServiceRoleResponse, error)
Send marshals and sends the DeleteElasticsearchServiceRole API request.
type DeleteElasticsearchServiceRoleResponse ¶ added in v0.9.0
type DeleteElasticsearchServiceRoleResponse struct { *DeleteElasticsearchServiceRoleOutput // contains filtered or unexported fields }
DeleteElasticsearchServiceRoleResponse is the response type for the DeleteElasticsearchServiceRole API operation.
func (*DeleteElasticsearchServiceRoleResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DeleteElasticsearchServiceRoleResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteElasticsearchServiceRole request.
type DeletePackageInput ¶ added in v0.21.0
type DeletePackageInput struct { // Internal ID of the package that you want to delete. Use DescribePackages // to find this value. // // PackageID is a required field PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` // contains filtered or unexported fields }
Container for request parameters to DeletePackage operation.
func (DeletePackageInput) MarshalFields ¶ added in v0.21.0
func (s DeletePackageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePackageInput) String ¶ added in v0.21.0
func (s DeletePackageInput) String() string
String returns the string representation
func (*DeletePackageInput) Validate ¶ added in v0.21.0
func (s *DeletePackageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePackageOutput ¶ added in v0.21.0
type DeletePackageOutput struct { // PackageDetails PackageDetails *PackageDetails `type:"structure"` // contains filtered or unexported fields }
Container for response parameters to DeletePackage operation.
func (DeletePackageOutput) MarshalFields ¶ added in v0.21.0
func (s DeletePackageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePackageOutput) String ¶ added in v0.21.0
func (s DeletePackageOutput) String() string
String returns the string representation
type DeletePackageRequest ¶ added in v0.21.0
type DeletePackageRequest struct { *aws.Request Input *DeletePackageInput Copy func(*DeletePackageInput) DeletePackageRequest }
DeletePackageRequest is the request type for the DeletePackage API operation.
func (DeletePackageRequest) Send ¶ added in v0.21.0
func (r DeletePackageRequest) Send(ctx context.Context) (*DeletePackageResponse, error)
Send marshals and sends the DeletePackage API request.
type DeletePackageResponse ¶ added in v0.21.0
type DeletePackageResponse struct { *DeletePackageOutput // contains filtered or unexported fields }
DeletePackageResponse is the response type for the DeletePackage API operation.
func (*DeletePackageResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *DeletePackageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeletePackage request.
type DeploymentStatus ¶ added in v0.6.0
type DeploymentStatus string
const ( DeploymentStatusPendingUpdate DeploymentStatus = "PENDING_UPDATE" DeploymentStatusInProgress DeploymentStatus = "IN_PROGRESS" DeploymentStatusCompleted DeploymentStatus = "COMPLETED" DeploymentStatusNotEligible DeploymentStatus = "NOT_ELIGIBLE" DeploymentStatusEligible DeploymentStatus = "ELIGIBLE" )
Enum values for DeploymentStatus
func (DeploymentStatus) MarshalValue ¶ added in v0.6.0
func (enum DeploymentStatus) MarshalValue() (string, error)
func (DeploymentStatus) MarshalValueBuf ¶ added in v0.6.0
func (enum DeploymentStatus) MarshalValueBuf(b []byte) ([]byte, error)
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.
func (DescribeElasticsearchDomainConfigInput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchDomainConfigInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (DescribeElasticsearchDomainConfigOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchDomainConfigOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeElasticsearchDomainConfigOutput) String ¶
func (s DescribeElasticsearchDomainConfigOutput) String() string
String returns the string representation
type DescribeElasticsearchDomainConfigRequest ¶
type DescribeElasticsearchDomainConfigRequest struct { *aws.Request Input *DescribeElasticsearchDomainConfigInput Copy func(*DescribeElasticsearchDomainConfigInput) DescribeElasticsearchDomainConfigRequest }
DescribeElasticsearchDomainConfigRequest is the request type for the DescribeElasticsearchDomainConfig API operation.
func (DescribeElasticsearchDomainConfigRequest) Send ¶
func (r DescribeElasticsearchDomainConfigRequest) Send(ctx context.Context) (*DescribeElasticsearchDomainConfigResponse, error)
Send marshals and sends the DescribeElasticsearchDomainConfig API request.
type DescribeElasticsearchDomainConfigResponse ¶ added in v0.9.0
type DescribeElasticsearchDomainConfigResponse struct { *DescribeElasticsearchDomainConfigOutput // contains filtered or unexported fields }
DescribeElasticsearchDomainConfigResponse is the response type for the DescribeElasticsearchDomainConfig API operation.
func (*DescribeElasticsearchDomainConfigResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeElasticsearchDomainConfigResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeElasticsearchDomainConfig request.
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.
func (DescribeElasticsearchDomainInput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchDomainInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (DescribeElasticsearchDomainOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchDomainOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeElasticsearchDomainOutput) String ¶
func (s DescribeElasticsearchDomainOutput) String() string
String returns the string representation
type DescribeElasticsearchDomainRequest ¶
type DescribeElasticsearchDomainRequest struct { *aws.Request Input *DescribeElasticsearchDomainInput Copy func(*DescribeElasticsearchDomainInput) DescribeElasticsearchDomainRequest }
DescribeElasticsearchDomainRequest is the request type for the DescribeElasticsearchDomain API operation.
func (DescribeElasticsearchDomainRequest) Send ¶
func (r DescribeElasticsearchDomainRequest) Send(ctx context.Context) (*DescribeElasticsearchDomainResponse, error)
Send marshals and sends the DescribeElasticsearchDomain API request.
type DescribeElasticsearchDomainResponse ¶ added in v0.9.0
type DescribeElasticsearchDomainResponse struct { *DescribeElasticsearchDomainOutput // contains filtered or unexported fields }
DescribeElasticsearchDomainResponse is the response type for the DescribeElasticsearchDomain API operation.
func (*DescribeElasticsearchDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeElasticsearchDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeElasticsearchDomain request.
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.
func (DescribeElasticsearchDomainsInput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchDomainsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (DescribeElasticsearchDomainsOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchDomainsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeElasticsearchDomainsOutput) String ¶
func (s DescribeElasticsearchDomainsOutput) String() string
String returns the string representation
type DescribeElasticsearchDomainsRequest ¶
type DescribeElasticsearchDomainsRequest struct { *aws.Request Input *DescribeElasticsearchDomainsInput Copy func(*DescribeElasticsearchDomainsInput) DescribeElasticsearchDomainsRequest }
DescribeElasticsearchDomainsRequest is the request type for the DescribeElasticsearchDomains API operation.
func (DescribeElasticsearchDomainsRequest) Send ¶
func (r DescribeElasticsearchDomainsRequest) Send(ctx context.Context) (*DescribeElasticsearchDomainsResponse, error)
Send marshals and sends the DescribeElasticsearchDomains API request.
type DescribeElasticsearchDomainsResponse ¶ added in v0.9.0
type DescribeElasticsearchDomainsResponse struct { *DescribeElasticsearchDomainsOutput // contains filtered or unexported fields }
DescribeElasticsearchDomainsResponse is the response type for the DescribeElasticsearchDomains API operation.
func (*DescribeElasticsearchDomainsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeElasticsearchDomainsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeElasticsearchDomains request.
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 ESPartitionInstanceType `location:"uri" locationName:"InstanceType" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Container for the parameters to DescribeElasticsearchInstanceTypeLimits operation.
func (DescribeElasticsearchInstanceTypeLimitsInput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchInstanceTypeLimitsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 // // * ultra_warm: If the given InstanceType is used as warm node LimitsByRole map[string]Limits `type:"map"` // contains filtered or unexported fields }
Container for the parameters received from DescribeElasticsearchInstanceTypeLimits operation.
func (DescribeElasticsearchInstanceTypeLimitsOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeElasticsearchInstanceTypeLimitsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeElasticsearchInstanceTypeLimitsOutput) String ¶
func (s DescribeElasticsearchInstanceTypeLimitsOutput) String() string
String returns the string representation
type DescribeElasticsearchInstanceTypeLimitsRequest ¶
type DescribeElasticsearchInstanceTypeLimitsRequest struct { *aws.Request Input *DescribeElasticsearchInstanceTypeLimitsInput Copy func(*DescribeElasticsearchInstanceTypeLimitsInput) DescribeElasticsearchInstanceTypeLimitsRequest }
DescribeElasticsearchInstanceTypeLimitsRequest is the request type for the DescribeElasticsearchInstanceTypeLimits API operation.
func (DescribeElasticsearchInstanceTypeLimitsRequest) Send ¶
func (r DescribeElasticsearchInstanceTypeLimitsRequest) Send(ctx context.Context) (*DescribeElasticsearchInstanceTypeLimitsResponse, error)
Send marshals and sends the DescribeElasticsearchInstanceTypeLimits API request.
type DescribeElasticsearchInstanceTypeLimitsResponse ¶ added in v0.9.0
type DescribeElasticsearchInstanceTypeLimitsResponse struct { *DescribeElasticsearchInstanceTypeLimitsOutput // contains filtered or unexported fields }
DescribeElasticsearchInstanceTypeLimitsResponse is the response type for the DescribeElasticsearchInstanceTypeLimits API operation.
func (*DescribeElasticsearchInstanceTypeLimitsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeElasticsearchInstanceTypeLimitsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeElasticsearchInstanceTypeLimits request.
type DescribePackagesFilter ¶ added in v0.21.0
type DescribePackagesFilter struct { // Any field from PackageDetails. Name DescribePackagesFilterName `type:"string" enum:"true"` // A list of values for the specified field. Value []string `type:"list"` // contains filtered or unexported fields }
Filter to apply in DescribePackage response.
func (DescribePackagesFilter) MarshalFields ¶ added in v0.21.0
func (s DescribePackagesFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribePackagesFilter) String ¶ added in v0.21.0
func (s DescribePackagesFilter) String() string
String returns the string representation
type DescribePackagesFilterName ¶ added in v0.21.0
type DescribePackagesFilterName string
const ( DescribePackagesFilterNamePackageId DescribePackagesFilterName = "PackageID" DescribePackagesFilterNamePackageName DescribePackagesFilterName = "PackageName" DescribePackagesFilterNamePackageStatus DescribePackagesFilterName = "PackageStatus" )
Enum values for DescribePackagesFilterName
func (DescribePackagesFilterName) MarshalValue ¶ added in v0.21.0
func (enum DescribePackagesFilterName) MarshalValue() (string, error)
func (DescribePackagesFilterName) MarshalValueBuf ¶ added in v0.21.0
func (enum DescribePackagesFilterName) MarshalValueBuf(b []byte) ([]byte, error)
type DescribePackagesInput ¶ added in v0.21.0
type DescribePackagesInput struct { // Only returns packages that match the DescribePackagesFilterList values. Filters []DescribePackagesFilter `type:"list"` // Limits results to a maximum number of packages. MaxResults *int64 `type:"integer"` // Used for pagination. Only necessary if a previous API call includes a non-null // NextToken value. If provided, returns results for the next page. NextToken *string `type:"string"` // contains filtered or unexported fields }
Container for request parameters to DescribePackage operation.
func (DescribePackagesInput) MarshalFields ¶ added in v0.21.0
func (s DescribePackagesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribePackagesInput) String ¶ added in v0.21.0
func (s DescribePackagesInput) String() string
String returns the string representation
type DescribePackagesOutput ¶ added in v0.21.0
type DescribePackagesOutput struct { NextToken *string `type:"string"` // List of PackageDetails objects. PackageDetailsList []PackageDetails `type:"list"` // contains filtered or unexported fields }
Container for response returned by DescribePackages operation.
func (DescribePackagesOutput) MarshalFields ¶ added in v0.21.0
func (s DescribePackagesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribePackagesOutput) String ¶ added in v0.21.0
func (s DescribePackagesOutput) String() string
String returns the string representation
type DescribePackagesPaginator ¶ added in v0.21.0
DescribePackagesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribePackagesPaginator ¶ added in v0.21.0
func NewDescribePackagesPaginator(req DescribePackagesRequest) DescribePackagesPaginator
NewDescribePackagesRequestPaginator returns a paginator for DescribePackages. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.DescribePackagesRequest(input) p := elasticsearchservice.NewDescribePackagesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribePackagesPaginator) CurrentPage ¶ added in v0.21.0
func (p *DescribePackagesPaginator) CurrentPage() *DescribePackagesOutput
type DescribePackagesRequest ¶ added in v0.21.0
type DescribePackagesRequest struct { *aws.Request Input *DescribePackagesInput Copy func(*DescribePackagesInput) DescribePackagesRequest }
DescribePackagesRequest is the request type for the DescribePackages API operation.
func (DescribePackagesRequest) Send ¶ added in v0.21.0
func (r DescribePackagesRequest) Send(ctx context.Context) (*DescribePackagesResponse, error)
Send marshals and sends the DescribePackages API request.
type DescribePackagesResponse ¶ added in v0.21.0
type DescribePackagesResponse struct { *DescribePackagesOutput // contains filtered or unexported fields }
DescribePackagesResponse is the response type for the DescribePackages API operation.
func (*DescribePackagesResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *DescribePackagesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribePackages request.
type DescribeReservedElasticsearchInstanceOfferingsInput ¶ added in v0.4.0
type DescribeReservedElasticsearchInstanceOfferingsInput struct { // Set this value to limit the number of results returned. If not specified, // defaults to 100. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // NextToken should be sent in case if earlier API call produced result containing // NextToken. It is used for pagination. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The offering identifier filter value. Use this parameter to show only the // available offering that matches the specified reservation identifier. ReservedElasticsearchInstanceOfferingId *string `location:"querystring" locationName:"offeringId" type:"string"` // contains filtered or unexported fields }
Container for parameters to DescribeReservedElasticsearchInstanceOfferings
func (DescribeReservedElasticsearchInstanceOfferingsInput) MarshalFields ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstanceOfferingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeReservedElasticsearchInstanceOfferingsInput) String ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstanceOfferingsInput) String() string
String returns the string representation
type DescribeReservedElasticsearchInstanceOfferingsOutput ¶ added in v0.4.0
type DescribeReservedElasticsearchInstanceOfferingsOutput struct { // Provides an identifier to allow retrieval of paginated results. NextToken *string `type:"string"` // List of reserved Elasticsearch instance offerings ReservedElasticsearchInstanceOfferings []ReservedElasticsearchInstanceOffering `type:"list"` // contains filtered or unexported fields }
Container for results from DescribeReservedElasticsearchInstanceOfferings
func (DescribeReservedElasticsearchInstanceOfferingsOutput) MarshalFields ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstanceOfferingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeReservedElasticsearchInstanceOfferingsOutput) String ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstanceOfferingsOutput) String() string
String returns the string representation
type DescribeReservedElasticsearchInstanceOfferingsPaginator ¶ added in v0.9.0
DescribeReservedElasticsearchInstanceOfferingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeReservedElasticsearchInstanceOfferingsPaginator ¶ added in v0.9.0
func NewDescribeReservedElasticsearchInstanceOfferingsPaginator(req DescribeReservedElasticsearchInstanceOfferingsRequest) DescribeReservedElasticsearchInstanceOfferingsPaginator
NewDescribeReservedElasticsearchInstanceOfferingsRequestPaginator returns a paginator for DescribeReservedElasticsearchInstanceOfferings. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.DescribeReservedElasticsearchInstanceOfferingsRequest(input) p := elasticsearchservice.NewDescribeReservedElasticsearchInstanceOfferingsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeReservedElasticsearchInstanceOfferingsPaginator) CurrentPage ¶ added in v0.9.0
type DescribeReservedElasticsearchInstanceOfferingsRequest ¶ added in v0.4.0
type DescribeReservedElasticsearchInstanceOfferingsRequest struct { *aws.Request Input *DescribeReservedElasticsearchInstanceOfferingsInput Copy func(*DescribeReservedElasticsearchInstanceOfferingsInput) DescribeReservedElasticsearchInstanceOfferingsRequest }
DescribeReservedElasticsearchInstanceOfferingsRequest is the request type for the DescribeReservedElasticsearchInstanceOfferings API operation.
func (DescribeReservedElasticsearchInstanceOfferingsRequest) Send ¶ added in v0.4.0
func (r DescribeReservedElasticsearchInstanceOfferingsRequest) Send(ctx context.Context) (*DescribeReservedElasticsearchInstanceOfferingsResponse, error)
Send marshals and sends the DescribeReservedElasticsearchInstanceOfferings API request.
type DescribeReservedElasticsearchInstanceOfferingsResponse ¶ added in v0.9.0
type DescribeReservedElasticsearchInstanceOfferingsResponse struct { *DescribeReservedElasticsearchInstanceOfferingsOutput // contains filtered or unexported fields }
DescribeReservedElasticsearchInstanceOfferingsResponse is the response type for the DescribeReservedElasticsearchInstanceOfferings API operation.
func (*DescribeReservedElasticsearchInstanceOfferingsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeReservedElasticsearchInstanceOfferingsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeReservedElasticsearchInstanceOfferings request.
type DescribeReservedElasticsearchInstancesInput ¶ added in v0.4.0
type DescribeReservedElasticsearchInstancesInput struct { // Set this value to limit the number of results returned. If not specified, // defaults to 100. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // NextToken should be sent in case if earlier API call produced result containing // NextToken. It is used for pagination. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The reserved instance identifier filter value. Use this parameter to show // only the reservation that matches the specified reserved Elasticsearch instance // ID. ReservedElasticsearchInstanceId *string `location:"querystring" locationName:"reservationId" type:"string"` // contains filtered or unexported fields }
Container for parameters to DescribeReservedElasticsearchInstances
func (DescribeReservedElasticsearchInstancesInput) MarshalFields ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstancesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeReservedElasticsearchInstancesInput) String ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstancesInput) String() string
String returns the string representation
type DescribeReservedElasticsearchInstancesOutput ¶ added in v0.4.0
type DescribeReservedElasticsearchInstancesOutput struct { // Provides an identifier to allow retrieval of paginated results. NextToken *string `type:"string"` // List of reserved Elasticsearch instances. ReservedElasticsearchInstances []ReservedElasticsearchInstance `type:"list"` // contains filtered or unexported fields }
Container for results from DescribeReservedElasticsearchInstances
func (DescribeReservedElasticsearchInstancesOutput) MarshalFields ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstancesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeReservedElasticsearchInstancesOutput) String ¶ added in v0.4.0
func (s DescribeReservedElasticsearchInstancesOutput) String() string
String returns the string representation
type DescribeReservedElasticsearchInstancesPaginator ¶ added in v0.9.0
DescribeReservedElasticsearchInstancesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewDescribeReservedElasticsearchInstancesPaginator ¶ added in v0.9.0
func NewDescribeReservedElasticsearchInstancesPaginator(req DescribeReservedElasticsearchInstancesRequest) DescribeReservedElasticsearchInstancesPaginator
NewDescribeReservedElasticsearchInstancesRequestPaginator returns a paginator for DescribeReservedElasticsearchInstances. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.DescribeReservedElasticsearchInstancesRequest(input) p := elasticsearchservice.NewDescribeReservedElasticsearchInstancesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*DescribeReservedElasticsearchInstancesPaginator) CurrentPage ¶ added in v0.9.0
func (p *DescribeReservedElasticsearchInstancesPaginator) CurrentPage() *DescribeReservedElasticsearchInstancesOutput
type DescribeReservedElasticsearchInstancesRequest ¶ added in v0.4.0
type DescribeReservedElasticsearchInstancesRequest struct { *aws.Request Input *DescribeReservedElasticsearchInstancesInput Copy func(*DescribeReservedElasticsearchInstancesInput) DescribeReservedElasticsearchInstancesRequest }
DescribeReservedElasticsearchInstancesRequest is the request type for the DescribeReservedElasticsearchInstances API operation.
func (DescribeReservedElasticsearchInstancesRequest) Send ¶ added in v0.4.0
func (r DescribeReservedElasticsearchInstancesRequest) Send(ctx context.Context) (*DescribeReservedElasticsearchInstancesResponse, error)
Send marshals and sends the DescribeReservedElasticsearchInstances API request.
type DescribeReservedElasticsearchInstancesResponse ¶ added in v0.9.0
type DescribeReservedElasticsearchInstancesResponse struct { *DescribeReservedElasticsearchInstancesOutput // contains filtered or unexported fields }
DescribeReservedElasticsearchInstancesResponse is the response type for the DescribeReservedElasticsearchInstances API operation.
func (*DescribeReservedElasticsearchInstancesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *DescribeReservedElasticsearchInstancesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeReservedElasticsearchInstances request.
type DissociatePackageInput ¶ added in v0.21.0
type DissociatePackageInput struct { // Name of the domain that you want to associate the package with. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // Internal ID of the package that you want to associate with a domain. Use // DescribePackages to find this value. // // PackageID is a required field PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` // contains filtered or unexported fields }
Container for request parameters to DissociatePackage operation.
func (DissociatePackageInput) MarshalFields ¶ added in v0.21.0
func (s DissociatePackageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DissociatePackageInput) String ¶ added in v0.21.0
func (s DissociatePackageInput) String() string
String returns the string representation
func (*DissociatePackageInput) Validate ¶ added in v0.21.0
func (s *DissociatePackageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DissociatePackageOutput ¶ added in v0.21.0
type DissociatePackageOutput struct { // DomainPackageDetails DomainPackageDetails *DomainPackageDetails `type:"structure"` // contains filtered or unexported fields }
Container for response returned by DissociatePackage operation.
func (DissociatePackageOutput) MarshalFields ¶ added in v0.21.0
func (s DissociatePackageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DissociatePackageOutput) String ¶ added in v0.21.0
func (s DissociatePackageOutput) String() string
String returns the string representation
type DissociatePackageRequest ¶ added in v0.21.0
type DissociatePackageRequest struct { *aws.Request Input *DissociatePackageInput Copy func(*DissociatePackageInput) DissociatePackageRequest }
DissociatePackageRequest is the request type for the DissociatePackage API operation.
func (DissociatePackageRequest) Send ¶ added in v0.21.0
func (r DissociatePackageRequest) Send(ctx context.Context) (*DissociatePackageResponse, error)
Send marshals and sends the DissociatePackage API request.
type DissociatePackageResponse ¶ added in v0.21.0
type DissociatePackageResponse struct { *DissociatePackageOutput // contains filtered or unexported fields }
DissociatePackageResponse is the response type for the DissociatePackage API operation.
func (*DissociatePackageResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *DissociatePackageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DissociatePackage request.
type DomainEndpointOptions ¶ added in v0.14.0
type DomainEndpointOptions struct { // Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain. EnforceHTTPS *bool `type:"boolean"` // Specify the TLS security policy that needs to be applied to the HTTPS endpoint // of Elasticsearch domain. It can be one of the following values: // * Policy-Min-TLS-1-0-2019-07: TLS security policy which supports TLSv1.0 // and higher. // // * Policy-Min-TLS-1-2-2019-07: TLS security policy which supports only // TLSv1.2 TLSSecurityPolicy TLSSecurityPolicy `type:"string" enum:"true"` // contains filtered or unexported fields }
Options to configure endpoint for the Elasticsearch domain.
func (DomainEndpointOptions) MarshalFields ¶ added in v0.14.0
func (s DomainEndpointOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DomainEndpointOptions) String ¶ added in v0.14.0
func (s DomainEndpointOptions) String() string
String returns the string representation
type DomainEndpointOptionsStatus ¶ added in v0.14.0
type DomainEndpointOptionsStatus struct { // Options to configure endpoint for the Elasticsearch domain. // // Options is a required field Options *DomainEndpointOptions `type:"structure" required:"true"` // The status of the endpoint options 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 endpoint options for the domain and their current status.
func (DomainEndpointOptionsStatus) MarshalFields ¶ added in v0.14.0
func (s DomainEndpointOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DomainEndpointOptionsStatus) String ¶ added in v0.14.0
func (s DomainEndpointOptionsStatus) 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 }
func (DomainInfo) MarshalFields ¶ added in v0.3.0
func (s DomainInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DomainInfo) String ¶
func (s DomainInfo) String() string
String returns the string representation
type DomainPackageDetails ¶ added in v0.21.0
type DomainPackageDetails struct { // Name of the domain you've associated a package with. DomainName *string `min:"3" type:"string"` // State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED. DomainPackageStatus DomainPackageStatus `type:"string" enum:"true"` // Additional information if the package is in an error state. Null otherwise. ErrorDetails *ErrorDetails `type:"structure"` // Timestamp of the most-recent update to the association status. LastUpdated *time.Time `type:"timestamp"` // Internal ID of the package. PackageID *string `type:"string"` // User specified name of the package. PackageName *string `min:"3" type:"string"` // Currently supports only TXT-DICTIONARY. PackageType PackageType `type:"string" enum:"true"` // The relative path on Amazon ES nodes, which can be used as synonym_path when // the package is synonym file. ReferencePath *string `type:"string"` // contains filtered or unexported fields }
Information on a package that is associated with a domain.
func (DomainPackageDetails) MarshalFields ¶ added in v0.21.0
func (s DomainPackageDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DomainPackageDetails) String ¶ added in v0.21.0
func (s DomainPackageDetails) String() string
String returns the string representation
type DomainPackageStatus ¶ added in v0.21.0
type DomainPackageStatus string
const ( DomainPackageStatusAssociating DomainPackageStatus = "ASSOCIATING" DomainPackageStatusAssociationFailed DomainPackageStatus = "ASSOCIATION_FAILED" DomainPackageStatusActive DomainPackageStatus = "ACTIVE" DomainPackageStatusDissociating DomainPackageStatus = "DISSOCIATING" DomainPackageStatusDissociationFailed DomainPackageStatus = "DISSOCIATION_FAILED" )
Enum values for DomainPackageStatus
func (DomainPackageStatus) MarshalValue ¶ added in v0.21.0
func (enum DomainPackageStatus) MarshalValue() (string, error)
func (DomainPackageStatus) MarshalValueBuf ¶ added in v0.21.0
func (enum DomainPackageStatus) MarshalValueBuf(b []byte) ([]byte, error)
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 VolumeType `type:"string" enum:"true"` // 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).
func (EBSOptions) MarshalFields ¶ added in v0.3.0
func (s EBSOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (EBSOptionsStatus) MarshalFields ¶ added in v0.3.0
func (s EBSOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EBSOptionsStatus) String ¶
func (s EBSOptionsStatus) String() string
String returns the string representation
type ESPartitionInstanceType ¶
type ESPartitionInstanceType string
const ( ESPartitionInstanceTypeM3MediumElasticsearch ESPartitionInstanceType = "m3.medium.elasticsearch" ESPartitionInstanceTypeM3LargeElasticsearch ESPartitionInstanceType = "m3.large.elasticsearch" ESPartitionInstanceTypeM3XlargeElasticsearch ESPartitionInstanceType = "m3.xlarge.elasticsearch" ESPartitionInstanceTypeM32xlargeElasticsearch ESPartitionInstanceType = "m3.2xlarge.elasticsearch" ESPartitionInstanceTypeM4LargeElasticsearch ESPartitionInstanceType = "m4.large.elasticsearch" ESPartitionInstanceTypeM4XlargeElasticsearch ESPartitionInstanceType = "m4.xlarge.elasticsearch" ESPartitionInstanceTypeM42xlargeElasticsearch ESPartitionInstanceType = "m4.2xlarge.elasticsearch" ESPartitionInstanceTypeM44xlargeElasticsearch ESPartitionInstanceType = "m4.4xlarge.elasticsearch" ESPartitionInstanceTypeM410xlargeElasticsearch ESPartitionInstanceType = "m4.10xlarge.elasticsearch" ESPartitionInstanceTypeM5LargeElasticsearch ESPartitionInstanceType = "m5.large.elasticsearch" ESPartitionInstanceTypeM5XlargeElasticsearch ESPartitionInstanceType = "m5.xlarge.elasticsearch" ESPartitionInstanceTypeM52xlargeElasticsearch ESPartitionInstanceType = "m5.2xlarge.elasticsearch" ESPartitionInstanceTypeM54xlargeElasticsearch ESPartitionInstanceType = "m5.4xlarge.elasticsearch" ESPartitionInstanceTypeM512xlargeElasticsearch ESPartitionInstanceType = "m5.12xlarge.elasticsearch" ESPartitionInstanceTypeR5LargeElasticsearch ESPartitionInstanceType = "r5.large.elasticsearch" ESPartitionInstanceTypeR5XlargeElasticsearch ESPartitionInstanceType = "r5.xlarge.elasticsearch" ESPartitionInstanceTypeR52xlargeElasticsearch ESPartitionInstanceType = "r5.2xlarge.elasticsearch" ESPartitionInstanceTypeR54xlargeElasticsearch ESPartitionInstanceType = "r5.4xlarge.elasticsearch" ESPartitionInstanceTypeR512xlargeElasticsearch ESPartitionInstanceType = "r5.12xlarge.elasticsearch" ESPartitionInstanceTypeC5LargeElasticsearch ESPartitionInstanceType = "c5.large.elasticsearch" ESPartitionInstanceTypeC5XlargeElasticsearch ESPartitionInstanceType = "c5.xlarge.elasticsearch" ESPartitionInstanceTypeC52xlargeElasticsearch ESPartitionInstanceType = "c5.2xlarge.elasticsearch" ESPartitionInstanceTypeC54xlargeElasticsearch ESPartitionInstanceType = "c5.4xlarge.elasticsearch" ESPartitionInstanceTypeC59xlargeElasticsearch ESPartitionInstanceType = "c5.9xlarge.elasticsearch" ESPartitionInstanceTypeC518xlargeElasticsearch ESPartitionInstanceType = "c5.18xlarge.elasticsearch" ESPartitionInstanceTypeUltrawarm1MediumElasticsearch ESPartitionInstanceType = "ultrawarm1.medium.elasticsearch" ESPartitionInstanceTypeUltrawarm1LargeElasticsearch ESPartitionInstanceType = "ultrawarm1.large.elasticsearch" ESPartitionInstanceTypeT2MicroElasticsearch ESPartitionInstanceType = "t2.micro.elasticsearch" ESPartitionInstanceTypeT2SmallElasticsearch ESPartitionInstanceType = "t2.small.elasticsearch" ESPartitionInstanceTypeT2MediumElasticsearch ESPartitionInstanceType = "t2.medium.elasticsearch" ESPartitionInstanceTypeR3LargeElasticsearch ESPartitionInstanceType = "r3.large.elasticsearch" ESPartitionInstanceTypeR3XlargeElasticsearch ESPartitionInstanceType = "r3.xlarge.elasticsearch" ESPartitionInstanceTypeR32xlargeElasticsearch ESPartitionInstanceType = "r3.2xlarge.elasticsearch" ESPartitionInstanceTypeR34xlargeElasticsearch ESPartitionInstanceType = "r3.4xlarge.elasticsearch" ESPartitionInstanceTypeR38xlargeElasticsearch ESPartitionInstanceType = "r3.8xlarge.elasticsearch" ESPartitionInstanceTypeI2XlargeElasticsearch ESPartitionInstanceType = "i2.xlarge.elasticsearch" ESPartitionInstanceTypeI22xlargeElasticsearch ESPartitionInstanceType = "i2.2xlarge.elasticsearch" ESPartitionInstanceTypeD2XlargeElasticsearch ESPartitionInstanceType = "d2.xlarge.elasticsearch" ESPartitionInstanceTypeD22xlargeElasticsearch ESPartitionInstanceType = "d2.2xlarge.elasticsearch" ESPartitionInstanceTypeD24xlargeElasticsearch ESPartitionInstanceType = "d2.4xlarge.elasticsearch" ESPartitionInstanceTypeD28xlargeElasticsearch ESPartitionInstanceType = "d2.8xlarge.elasticsearch" ESPartitionInstanceTypeC4LargeElasticsearch ESPartitionInstanceType = "c4.large.elasticsearch" ESPartitionInstanceTypeC4XlargeElasticsearch ESPartitionInstanceType = "c4.xlarge.elasticsearch" ESPartitionInstanceTypeC42xlargeElasticsearch ESPartitionInstanceType = "c4.2xlarge.elasticsearch" ESPartitionInstanceTypeC44xlargeElasticsearch ESPartitionInstanceType = "c4.4xlarge.elasticsearch" ESPartitionInstanceTypeC48xlargeElasticsearch ESPartitionInstanceType = "c4.8xlarge.elasticsearch" ESPartitionInstanceTypeR4LargeElasticsearch ESPartitionInstanceType = "r4.large.elasticsearch" ESPartitionInstanceTypeR4XlargeElasticsearch ESPartitionInstanceType = "r4.xlarge.elasticsearch" ESPartitionInstanceTypeR42xlargeElasticsearch ESPartitionInstanceType = "r4.2xlarge.elasticsearch" ESPartitionInstanceTypeR44xlargeElasticsearch ESPartitionInstanceType = "r4.4xlarge.elasticsearch" ESPartitionInstanceTypeR48xlargeElasticsearch ESPartitionInstanceType = "r4.8xlarge.elasticsearch" ESPartitionInstanceTypeR416xlargeElasticsearch ESPartitionInstanceType = "r4.16xlarge.elasticsearch" ESPartitionInstanceTypeI3LargeElasticsearch ESPartitionInstanceType = "i3.large.elasticsearch" ESPartitionInstanceTypeI3XlargeElasticsearch ESPartitionInstanceType = "i3.xlarge.elasticsearch" ESPartitionInstanceTypeI32xlargeElasticsearch ESPartitionInstanceType = "i3.2xlarge.elasticsearch" ESPartitionInstanceTypeI34xlargeElasticsearch ESPartitionInstanceType = "i3.4xlarge.elasticsearch" ESPartitionInstanceTypeI38xlargeElasticsearch ESPartitionInstanceType = "i3.8xlarge.elasticsearch" ESPartitionInstanceTypeI316xlargeElasticsearch ESPartitionInstanceType = "i3.16xlarge.elasticsearch" )
Enum values for ESPartitionInstanceType
func (ESPartitionInstanceType) MarshalValue ¶ added in v0.3.0
func (enum ESPartitionInstanceType) MarshalValue() (string, error)
func (ESPartitionInstanceType) MarshalValueBuf ¶ added in v0.3.0
func (enum ESPartitionInstanceType) MarshalValueBuf(b []byte) ([]byte, error)
type ESWarmPartitionInstanceType ¶ added in v0.18.0
type ESWarmPartitionInstanceType string
const ( ESWarmPartitionInstanceTypeUltrawarm1MediumElasticsearch ESWarmPartitionInstanceType = "ultrawarm1.medium.elasticsearch" ESWarmPartitionInstanceTypeUltrawarm1LargeElasticsearch ESWarmPartitionInstanceType = "ultrawarm1.large.elasticsearch" )
Enum values for ESWarmPartitionInstanceType
func (ESWarmPartitionInstanceType) MarshalValue ¶ added in v0.18.0
func (enum ESWarmPartitionInstanceType) MarshalValue() (string, error)
func (ESWarmPartitionInstanceType) MarshalValueBuf ¶ added in v0.18.0
func (enum ESWarmPartitionInstanceType) MarshalValueBuf(b []byte) ([]byte, error)
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 ESPartitionInstanceType `type:"string" enum:"true"` // The number of instances in the specified domain cluster. InstanceCount *int64 `type:"integer"` // The instance type for an Elasticsearch cluster. UltraWarm instance types // are not supported for data instances. InstanceType ESPartitionInstanceType `type:"string" enum:"true"` // The number of warm nodes in the cluster. WarmCount *int64 `type:"integer"` // True to enable warm storage. WarmEnabled *bool `type:"boolean"` // The instance type for the Elasticsearch cluster's warm nodes. WarmType ESWarmPartitionInstanceType `type:"string" enum:"true"` // Specifies the zone awareness configuration for a domain when zone awareness // is enabled. ZoneAwarenessConfig *ZoneAwarenessConfig `type:"structure"` // 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.
func (ElasticsearchClusterConfig) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchClusterConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (ElasticsearchClusterConfigStatus) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchClusterConfigStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 AdvancedSecurityOptions for the domain. AdvancedSecurityOptions *AdvancedSecurityOptionsStatus `type:"structure"` // The CognitoOptions for the specified domain. For more information, see Amazon // Cognito Authentication for Kibana (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html). CognitoOptions *CognitoOptionsStatus `type:"structure"` // Specifies the DomainEndpointOptions for the Elasticsearch domain. DomainEndpointOptions *DomainEndpointOptionsStatus `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 EncryptionAtRestOptions for the Elasticsearch domain. EncryptionAtRestOptions *EncryptionAtRestOptionsStatus `type:"structure"` // Log publishing options for the given domain. LogPublishingOptions *LogPublishingOptionsStatus `type:"structure"` // Specifies the NodeToNodeEncryptionOptions for the Elasticsearch domain. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptionsStatus `type:"structure"` // Specifies the SnapshotOptions for the Elasticsearch domain. SnapshotOptions *SnapshotOptionsStatus `type:"structure"` // The VPCOptions for the specified domain. For more information, see VPC Endpoints // for Amazon Elasticsearch Service Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html). VPCOptions *VPCDerivedInfoStatus `type:"structure"` // contains filtered or unexported fields }
The configuration of an Elasticsearch domain.
func (ElasticsearchDomainConfig) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchDomainConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 current status of the Elasticsearch domain's advanced security options. AdvancedSecurityOptions *AdvancedSecurityOptions `type:"structure"` // The CognitoOptions for the specified domain. For more information, see Amazon // Cognito Authentication for Kibana (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html). CognitoOptions *CognitoOptions `type:"structure"` // 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 current status of the Elasticsearch domain's endpoint options. DomainEndpointOptions *DomainEndpointOptions `type:"structure"` // 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"` // Specifies the status of the EncryptionAtRestOptions. EncryptionAtRestOptions *EncryptionAtRestOptions `type:"structure"` // The Elasticsearch domain endpoint that you use to submit index and search // requests. Endpoint *string `type:"string"` // Map containing the Elasticsearch domain endpoints used to submit index and // search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'. Endpoints map[string]string `type:"map"` // Log publishing options for the given domain. LogPublishingOptions map[string]LogPublishingOption `type:"map"` // Specifies the status of the NodeToNodeEncryptionOptions. NodeToNodeEncryptionOptions *NodeToNodeEncryptionOptions `type:"structure"` // 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"` // The current status of the Elasticsearch domain's service software. ServiceSoftwareOptions *ServiceSoftwareOptions `type:"structure"` // Specifies the status of the SnapshotOptions SnapshotOptions *SnapshotOptions `type:"structure"` // The status of an Elasticsearch domain version upgrade. True if Amazon Elasticsearch // Service is undergoing a version upgrade. False if the configuration is active. UpgradeProcessing *bool `type:"boolean"` // The VPCOptions for the specified domain. For more information, see VPC Endpoints // for Amazon Elasticsearch Service Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html). VPCOptions *VPCDerivedInfo `type:"structure"` // contains filtered or unexported fields }
The current status of an Elasticsearch domain.
func (ElasticsearchDomainStatus) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchDomainStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ElasticsearchDomainStatus) String ¶
func (s ElasticsearchDomainStatus) String() string
String returns the string representation
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.
func (ElasticsearchVersionStatus) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchVersionStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ElasticsearchVersionStatus) String ¶
func (s ElasticsearchVersionStatus) String() string
String returns the string representation
type EncryptionAtRestOptions ¶ added in v0.2.0
type EncryptionAtRestOptions struct { // Specifies the option to enable Encryption At Rest. Enabled *bool `type:"boolean"` // Specifies the KMS Key ID for Encryption At Rest options. KmsKeyId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Specifies the Encryption At Rest Options.
func (EncryptionAtRestOptions) MarshalFields ¶ added in v0.3.0
func (s EncryptionAtRestOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EncryptionAtRestOptions) String ¶ added in v0.2.0
func (s EncryptionAtRestOptions) String() string
String returns the string representation
func (*EncryptionAtRestOptions) Validate ¶ added in v0.2.0
func (s *EncryptionAtRestOptions) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EncryptionAtRestOptionsStatus ¶ added in v0.2.0
type EncryptionAtRestOptionsStatus struct { // Specifies the Encryption At Rest options for the specified Elasticsearch // domain. // // Options is a required field Options *EncryptionAtRestOptions `type:"structure" required:"true"` // Specifies the status of the Encryption At Rest options for the specified // Elasticsearch domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Status of the Encryption At Rest options for the specified Elasticsearch domain.
func (EncryptionAtRestOptionsStatus) MarshalFields ¶ added in v0.3.0
func (s EncryptionAtRestOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EncryptionAtRestOptionsStatus) String ¶ added in v0.2.0
func (s EncryptionAtRestOptionsStatus) String() string
String returns the string representation
type ErrorDetails ¶ added in v0.21.0
type ErrorDetails struct { ErrorMessage *string `type:"string"` ErrorType *string `type:"string"` // contains filtered or unexported fields }
func (ErrorDetails) MarshalFields ¶ added in v0.21.0
func (s ErrorDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ErrorDetails) String ¶ added in v0.21.0
func (s ErrorDetails) String() string
String returns the string representation
type GetCompatibleElasticsearchVersionsInput ¶ added in v0.5.0
type GetCompatibleElasticsearchVersionsInput struct { // 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 *string `location:"querystring" locationName:"domainName" min:"3" type:"string"` // contains filtered or unexported fields }
Container for request parameters to GetCompatibleElasticsearchVersions operation.
func (GetCompatibleElasticsearchVersionsInput) MarshalFields ¶ added in v0.5.0
func (s GetCompatibleElasticsearchVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCompatibleElasticsearchVersionsInput) String ¶ added in v0.5.0
func (s GetCompatibleElasticsearchVersionsInput) String() string
String returns the string representation
func (*GetCompatibleElasticsearchVersionsInput) Validate ¶ added in v0.5.0
func (s *GetCompatibleElasticsearchVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCompatibleElasticsearchVersionsOutput ¶ added in v0.5.0
type GetCompatibleElasticsearchVersionsOutput struct { // A map of compatible Elasticsearch versions returned as part of the GetCompatibleElasticsearchVersions // operation. CompatibleElasticsearchVersions []CompatibleVersionsMap `type:"list"` // contains filtered or unexported fields }
Container for response returned by GetCompatibleElasticsearchVersions operation.
func (GetCompatibleElasticsearchVersionsOutput) MarshalFields ¶ added in v0.5.0
func (s GetCompatibleElasticsearchVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCompatibleElasticsearchVersionsOutput) String ¶ added in v0.5.0
func (s GetCompatibleElasticsearchVersionsOutput) String() string
String returns the string representation
type GetCompatibleElasticsearchVersionsRequest ¶ added in v0.5.0
type GetCompatibleElasticsearchVersionsRequest struct { *aws.Request Input *GetCompatibleElasticsearchVersionsInput Copy func(*GetCompatibleElasticsearchVersionsInput) GetCompatibleElasticsearchVersionsRequest }
GetCompatibleElasticsearchVersionsRequest is the request type for the GetCompatibleElasticsearchVersions API operation.
func (GetCompatibleElasticsearchVersionsRequest) Send ¶ added in v0.5.0
func (r GetCompatibleElasticsearchVersionsRequest) Send(ctx context.Context) (*GetCompatibleElasticsearchVersionsResponse, error)
Send marshals and sends the GetCompatibleElasticsearchVersions API request.
type GetCompatibleElasticsearchVersionsResponse ¶ added in v0.9.0
type GetCompatibleElasticsearchVersionsResponse struct { *GetCompatibleElasticsearchVersionsOutput // contains filtered or unexported fields }
GetCompatibleElasticsearchVersionsResponse is the response type for the GetCompatibleElasticsearchVersions API operation.
func (*GetCompatibleElasticsearchVersionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetCompatibleElasticsearchVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetCompatibleElasticsearchVersions request.
type GetUpgradeHistoryInput ¶ added in v0.5.0
type GetUpgradeHistoryInput struct { // 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 `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // Set this value to limit the number of results returned. 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 request parameters to GetUpgradeHistory operation.
func (GetUpgradeHistoryInput) MarshalFields ¶ added in v0.5.0
func (s GetUpgradeHistoryInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetUpgradeHistoryInput) String ¶ added in v0.5.0
func (s GetUpgradeHistoryInput) String() string
String returns the string representation
func (*GetUpgradeHistoryInput) Validate ¶ added in v0.5.0
func (s *GetUpgradeHistoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUpgradeHistoryOutput ¶ added in v0.5.0
type GetUpgradeHistoryOutput struct { // Pagination token that needs to be supplied to the next call to get the next // page of results NextToken *string `type:"string"` // A list of UpgradeHistory objects corresponding to each Upgrade or Upgrade // Eligibility Check performed on a domain returned as part of GetUpgradeHistoryResponse // object. UpgradeHistories []UpgradeHistory `type:"list"` // contains filtered or unexported fields }
Container for response returned by GetUpgradeHistory operation.
func (GetUpgradeHistoryOutput) MarshalFields ¶ added in v0.5.0
func (s GetUpgradeHistoryOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetUpgradeHistoryOutput) String ¶ added in v0.5.0
func (s GetUpgradeHistoryOutput) String() string
String returns the string representation
type GetUpgradeHistoryPaginator ¶ added in v0.9.0
GetUpgradeHistoryPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetUpgradeHistoryPaginator ¶ added in v0.9.0
func NewGetUpgradeHistoryPaginator(req GetUpgradeHistoryRequest) GetUpgradeHistoryPaginator
NewGetUpgradeHistoryRequestPaginator returns a paginator for GetUpgradeHistory. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetUpgradeHistoryRequest(input) p := elasticsearchservice.NewGetUpgradeHistoryRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetUpgradeHistoryPaginator) CurrentPage ¶ added in v0.9.0
func (p *GetUpgradeHistoryPaginator) CurrentPage() *GetUpgradeHistoryOutput
type GetUpgradeHistoryRequest ¶ added in v0.5.0
type GetUpgradeHistoryRequest struct { *aws.Request Input *GetUpgradeHistoryInput Copy func(*GetUpgradeHistoryInput) GetUpgradeHistoryRequest }
GetUpgradeHistoryRequest is the request type for the GetUpgradeHistory API operation.
func (GetUpgradeHistoryRequest) Send ¶ added in v0.5.0
func (r GetUpgradeHistoryRequest) Send(ctx context.Context) (*GetUpgradeHistoryResponse, error)
Send marshals and sends the GetUpgradeHistory API request.
type GetUpgradeHistoryResponse ¶ added in v0.9.0
type GetUpgradeHistoryResponse struct { *GetUpgradeHistoryOutput // contains filtered or unexported fields }
GetUpgradeHistoryResponse is the response type for the GetUpgradeHistory API operation.
func (*GetUpgradeHistoryResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetUpgradeHistoryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetUpgradeHistory request.
type GetUpgradeStatusInput ¶ added in v0.5.0
type GetUpgradeStatusInput struct { // 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 `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Container for request parameters to GetUpgradeStatus operation.
func (GetUpgradeStatusInput) MarshalFields ¶ added in v0.5.0
func (s GetUpgradeStatusInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetUpgradeStatusInput) String ¶ added in v0.5.0
func (s GetUpgradeStatusInput) String() string
String returns the string representation
func (*GetUpgradeStatusInput) Validate ¶ added in v0.5.0
func (s *GetUpgradeStatusInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetUpgradeStatusOutput ¶ added in v0.5.0
type GetUpgradeStatusOutput struct { // One of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse // object. The status can take one of the following values: // * In Progress // // * Succeeded // // * Succeeded with Issues // // * Failed StepStatus UpgradeStatus `type:"string" enum:"true"` // A string that describes the update briefly UpgradeName *string `type:"string"` // Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does // through: // * PreUpgradeCheck // // * Snapshot // // * Upgrade UpgradeStep UpgradeStep `type:"string" enum:"true"` // contains filtered or unexported fields }
Container for response returned by GetUpgradeStatus operation.
func (GetUpgradeStatusOutput) MarshalFields ¶ added in v0.5.0
func (s GetUpgradeStatusOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetUpgradeStatusOutput) String ¶ added in v0.5.0
func (s GetUpgradeStatusOutput) String() string
String returns the string representation
type GetUpgradeStatusRequest ¶ added in v0.5.0
type GetUpgradeStatusRequest struct { *aws.Request Input *GetUpgradeStatusInput Copy func(*GetUpgradeStatusInput) GetUpgradeStatusRequest }
GetUpgradeStatusRequest is the request type for the GetUpgradeStatus API operation.
func (GetUpgradeStatusRequest) Send ¶ added in v0.5.0
func (r GetUpgradeStatusRequest) Send(ctx context.Context) (*GetUpgradeStatusResponse, error)
Send marshals and sends the GetUpgradeStatus API request.
type GetUpgradeStatusResponse ¶ added in v0.9.0
type GetUpgradeStatusResponse struct { *GetUpgradeStatusOutput // contains filtered or unexported fields }
GetUpgradeStatusResponse is the response type for the GetUpgradeStatus API operation.
func (*GetUpgradeStatusResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *GetUpgradeStatusResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetUpgradeStatus request.
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.
func (InstanceCountLimits) MarshalFields ¶ added in v0.3.0
func (s InstanceCountLimits) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (InstanceLimits) MarshalFields ¶ added in v0.3.0
func (s InstanceLimits) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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, InstanceLimits and AdditionalLimits
func (Limits) MarshalFields ¶ added in v0.3.0
func (s Limits) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ListDomainNamesInput ¶
type ListDomainNamesInput struct {
// contains filtered or unexported fields
}
func (ListDomainNamesInput) MarshalFields ¶ added in v0.3.0
func (s ListDomainNamesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (ListDomainNamesOutput) MarshalFields ¶ added in v0.3.0
func (s ListDomainNamesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDomainNamesOutput) String ¶
func (s ListDomainNamesOutput) String() string
String returns the string representation
type ListDomainNamesRequest ¶
type ListDomainNamesRequest struct { *aws.Request Input *ListDomainNamesInput Copy func(*ListDomainNamesInput) ListDomainNamesRequest }
ListDomainNamesRequest is the request type for the ListDomainNames API operation.
func (ListDomainNamesRequest) Send ¶
func (r ListDomainNamesRequest) Send(ctx context.Context) (*ListDomainNamesResponse, error)
Send marshals and sends the ListDomainNames API request.
type ListDomainNamesResponse ¶ added in v0.9.0
type ListDomainNamesResponse struct { *ListDomainNamesOutput // contains filtered or unexported fields }
ListDomainNamesResponse is the response type for the ListDomainNames API operation.
func (*ListDomainNamesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListDomainNamesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDomainNames request.
type ListDomainsForPackageInput ¶ added in v0.21.0
type ListDomainsForPackageInput struct { // Limits results to a maximum number of domains. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // Used for pagination. Only necessary if a previous API call includes a non-null // NextToken value. If provided, returns results for the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The package for which to list domains. // // PackageID is a required field PackageID *string `location:"uri" locationName:"PackageID" type:"string" required:"true"` // contains filtered or unexported fields }
Container for request parameters to ListDomainsForPackage operation.
func (ListDomainsForPackageInput) MarshalFields ¶ added in v0.21.0
func (s ListDomainsForPackageInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDomainsForPackageInput) String ¶ added in v0.21.0
func (s ListDomainsForPackageInput) String() string
String returns the string representation
func (*ListDomainsForPackageInput) Validate ¶ added in v0.21.0
func (s *ListDomainsForPackageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDomainsForPackageOutput ¶ added in v0.21.0
type ListDomainsForPackageOutput struct { // List of DomainPackageDetails objects. DomainPackageDetailsList []DomainPackageDetails `type:"list"` NextToken *string `type:"string"` // contains filtered or unexported fields }
Container for response parameters to ListDomainsForPackage operation.
func (ListDomainsForPackageOutput) MarshalFields ¶ added in v0.21.0
func (s ListDomainsForPackageOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDomainsForPackageOutput) String ¶ added in v0.21.0
func (s ListDomainsForPackageOutput) String() string
String returns the string representation
type ListDomainsForPackagePaginator ¶ added in v0.21.0
ListDomainsForPackagePaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDomainsForPackagePaginator ¶ added in v0.21.0
func NewListDomainsForPackagePaginator(req ListDomainsForPackageRequest) ListDomainsForPackagePaginator
NewListDomainsForPackageRequestPaginator returns a paginator for ListDomainsForPackage. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDomainsForPackageRequest(input) p := elasticsearchservice.NewListDomainsForPackageRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDomainsForPackagePaginator) CurrentPage ¶ added in v0.21.0
func (p *ListDomainsForPackagePaginator) CurrentPage() *ListDomainsForPackageOutput
type ListDomainsForPackageRequest ¶ added in v0.21.0
type ListDomainsForPackageRequest struct { *aws.Request Input *ListDomainsForPackageInput Copy func(*ListDomainsForPackageInput) ListDomainsForPackageRequest }
ListDomainsForPackageRequest is the request type for the ListDomainsForPackage API operation.
func (ListDomainsForPackageRequest) Send ¶ added in v0.21.0
func (r ListDomainsForPackageRequest) Send(ctx context.Context) (*ListDomainsForPackageResponse, error)
Send marshals and sends the ListDomainsForPackage API request.
type ListDomainsForPackageResponse ¶ added in v0.21.0
type ListDomainsForPackageResponse struct { *ListDomainsForPackageOutput // contains filtered or unexported fields }
ListDomainsForPackageResponse is the response type for the ListDomainsForPackage API operation.
func (*ListDomainsForPackageResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *ListDomainsForPackageResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDomainsForPackage request.
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.
func (ListElasticsearchInstanceTypesInput) MarshalFields ¶ added in v0.3.0
func (s ListElasticsearchInstanceTypesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 []ESPartitionInstanceType `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.
func (ListElasticsearchInstanceTypesOutput) MarshalFields ¶ added in v0.3.0
func (s ListElasticsearchInstanceTypesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListElasticsearchInstanceTypesOutput) String ¶
func (s ListElasticsearchInstanceTypesOutput) String() string
String returns the string representation
type ListElasticsearchInstanceTypesPaginator ¶ added in v0.9.0
ListElasticsearchInstanceTypesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListElasticsearchInstanceTypesPaginator ¶ added in v0.9.0
func NewListElasticsearchInstanceTypesPaginator(req ListElasticsearchInstanceTypesRequest) ListElasticsearchInstanceTypesPaginator
NewListElasticsearchInstanceTypesRequestPaginator returns a paginator for ListElasticsearchInstanceTypes. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListElasticsearchInstanceTypesRequest(input) p := elasticsearchservice.NewListElasticsearchInstanceTypesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListElasticsearchInstanceTypesPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListElasticsearchInstanceTypesPaginator) CurrentPage() *ListElasticsearchInstanceTypesOutput
type ListElasticsearchInstanceTypesRequest ¶
type ListElasticsearchInstanceTypesRequest struct { *aws.Request Input *ListElasticsearchInstanceTypesInput Copy func(*ListElasticsearchInstanceTypesInput) ListElasticsearchInstanceTypesRequest }
ListElasticsearchInstanceTypesRequest is the request type for the ListElasticsearchInstanceTypes API operation.
func (ListElasticsearchInstanceTypesRequest) Send ¶
func (r ListElasticsearchInstanceTypesRequest) Send(ctx context.Context) (*ListElasticsearchInstanceTypesResponse, error)
Send marshals and sends the ListElasticsearchInstanceTypes API request.
type ListElasticsearchInstanceTypesResponse ¶ added in v0.9.0
type ListElasticsearchInstanceTypesResponse struct { *ListElasticsearchInstanceTypesOutput // contains filtered or unexported fields }
ListElasticsearchInstanceTypesResponse is the response type for the ListElasticsearchInstanceTypes API operation.
func (*ListElasticsearchInstanceTypesResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListElasticsearchInstanceTypesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListElasticsearchInstanceTypes request.
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.
func (ListElasticsearchVersionsInput) MarshalFields ¶ added in v0.3.0
func (s ListElasticsearchVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (ListElasticsearchVersionsOutput) MarshalFields ¶ added in v0.3.0
func (s ListElasticsearchVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListElasticsearchVersionsOutput) String ¶
func (s ListElasticsearchVersionsOutput) String() string
String returns the string representation
type ListElasticsearchVersionsPaginator ¶ added in v0.9.0
ListElasticsearchVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListElasticsearchVersionsPaginator ¶ added in v0.9.0
func NewListElasticsearchVersionsPaginator(req ListElasticsearchVersionsRequest) ListElasticsearchVersionsPaginator
NewListElasticsearchVersionsRequestPaginator returns a paginator for ListElasticsearchVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListElasticsearchVersionsRequest(input) p := elasticsearchservice.NewListElasticsearchVersionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListElasticsearchVersionsPaginator) CurrentPage ¶ added in v0.9.0
func (p *ListElasticsearchVersionsPaginator) CurrentPage() *ListElasticsearchVersionsOutput
type ListElasticsearchVersionsRequest ¶
type ListElasticsearchVersionsRequest struct { *aws.Request Input *ListElasticsearchVersionsInput Copy func(*ListElasticsearchVersionsInput) ListElasticsearchVersionsRequest }
ListElasticsearchVersionsRequest is the request type for the ListElasticsearchVersions API operation.
func (ListElasticsearchVersionsRequest) Send ¶
func (r ListElasticsearchVersionsRequest) Send(ctx context.Context) (*ListElasticsearchVersionsResponse, error)
Send marshals and sends the ListElasticsearchVersions API request.
type ListElasticsearchVersionsResponse ¶ added in v0.9.0
type ListElasticsearchVersionsResponse struct { *ListElasticsearchVersionsOutput // contains filtered or unexported fields }
ListElasticsearchVersionsResponse is the response type for the ListElasticsearchVersions API operation.
func (*ListElasticsearchVersionsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListElasticsearchVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListElasticsearchVersions request.
type ListPackagesForDomainInput ¶ added in v0.21.0
type ListPackagesForDomainInput struct { // The name of the domain for which you want to list associated packages. // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // Limits results to a maximum number of packages. MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` // Used for pagination. Only necessary if a previous API call includes a non-null // NextToken value. If provided, returns results for the next page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
Container for request parameters to ListPackagesForDomain operation.
func (ListPackagesForDomainInput) MarshalFields ¶ added in v0.21.0
func (s ListPackagesForDomainInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPackagesForDomainInput) String ¶ added in v0.21.0
func (s ListPackagesForDomainInput) String() string
String returns the string representation
func (*ListPackagesForDomainInput) Validate ¶ added in v0.21.0
func (s *ListPackagesForDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPackagesForDomainOutput ¶ added in v0.21.0
type ListPackagesForDomainOutput struct { // List of DomainPackageDetails objects. DomainPackageDetailsList []DomainPackageDetails `type:"list"` // Pagination token that needs to be supplied to the next call to get the next // page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
Container for response parameters to ListPackagesForDomain operation.
func (ListPackagesForDomainOutput) MarshalFields ¶ added in v0.21.0
func (s ListPackagesForDomainOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPackagesForDomainOutput) String ¶ added in v0.21.0
func (s ListPackagesForDomainOutput) String() string
String returns the string representation
type ListPackagesForDomainPaginator ¶ added in v0.21.0
ListPackagesForDomainPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListPackagesForDomainPaginator ¶ added in v0.21.0
func NewListPackagesForDomainPaginator(req ListPackagesForDomainRequest) ListPackagesForDomainPaginator
NewListPackagesForDomainRequestPaginator returns a paginator for ListPackagesForDomain. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListPackagesForDomainRequest(input) p := elasticsearchservice.NewListPackagesForDomainRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListPackagesForDomainPaginator) CurrentPage ¶ added in v0.21.0
func (p *ListPackagesForDomainPaginator) CurrentPage() *ListPackagesForDomainOutput
type ListPackagesForDomainRequest ¶ added in v0.21.0
type ListPackagesForDomainRequest struct { *aws.Request Input *ListPackagesForDomainInput Copy func(*ListPackagesForDomainInput) ListPackagesForDomainRequest }
ListPackagesForDomainRequest is the request type for the ListPackagesForDomain API operation.
func (ListPackagesForDomainRequest) Send ¶ added in v0.21.0
func (r ListPackagesForDomainRequest) Send(ctx context.Context) (*ListPackagesForDomainResponse, error)
Send marshals and sends the ListPackagesForDomain API request.
type ListPackagesForDomainResponse ¶ added in v0.21.0
type ListPackagesForDomainResponse struct { *ListPackagesForDomainOutput // contains filtered or unexported fields }
ListPackagesForDomainResponse is the response type for the ListPackagesForDomain API operation.
func (*ListPackagesForDomainResponse) SDKResponseMetdata ¶ added in v0.21.0
func (r *ListPackagesForDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListPackagesForDomain request.
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.
func (ListTagsInput) MarshalFields ¶ added in v0.3.0
func (s ListTagsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (ListTagsOutput) MarshalFields ¶ added in v0.3.0
func (s ListTagsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsOutput) String ¶
func (s ListTagsOutput) String() string
String returns the string representation
type ListTagsRequest ¶
type ListTagsRequest struct { *aws.Request Input *ListTagsInput Copy func(*ListTagsInput) ListTagsRequest }
ListTagsRequest is the request type for the ListTags API operation.
func (ListTagsRequest) Send ¶
func (r ListTagsRequest) Send(ctx context.Context) (*ListTagsResponse, error)
Send marshals and sends the ListTags API request.
type ListTagsResponse ¶ added in v0.9.0
type ListTagsResponse struct { *ListTagsOutput // contains filtered or unexported fields }
ListTagsResponse is the response type for the ListTags API operation.
func (*ListTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *ListTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTags request.
type LogPublishingOption ¶ added in v0.2.0
type LogPublishingOption struct { // ARN of the Cloudwatch log group to which log needs to be published. CloudWatchLogsLogGroupArn *string `type:"string"` // Specifies whether given log publishing option is enabled or not. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Log Publishing option that is set for given domain. Attributes and their details:
CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to which log needs to be published.
Enabled: Whether the log publishing for given log type is enabled or not
func (LogPublishingOption) MarshalFields ¶ added in v0.3.0
func (s LogPublishingOption) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LogPublishingOption) String ¶ added in v0.2.0
func (s LogPublishingOption) String() string
String returns the string representation
type LogPublishingOptionsStatus ¶ added in v0.2.0
type LogPublishingOptionsStatus struct { // The log publishing options configured for the Elasticsearch domain. Options map[string]LogPublishingOption `type:"map"` // The status of the log publishing options for the Elasticsearch domain. See // OptionStatus for the status information that's included. Status *OptionStatus `type:"structure"` // contains filtered or unexported fields }
The configured log publishing options for the domain and their current status.
func (LogPublishingOptionsStatus) MarshalFields ¶ added in v0.3.0
func (s LogPublishingOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LogPublishingOptionsStatus) String ¶ added in v0.2.0
func (s LogPublishingOptionsStatus) String() string
String returns the string representation
type LogType ¶ added in v0.2.0
type LogType string
Type of Log File, it can be one of the following:
INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more time than configured index query log threshold to execute.
SEARCH_SLOW_LOGS: Search slow logs contain search queries that took more time than configured search query log threshold to execute.
ES_APPLICATION_LOGS: Elasticsearch application logs contain information about errors and warnings raised during the operation of the service and can be useful for troubleshooting.
const ( LogTypeIndexSlowLogs LogType = "INDEX_SLOW_LOGS" LogTypeSearchSlowLogs LogType = "SEARCH_SLOW_LOGS" LogTypeEsApplicationLogs LogType = "ES_APPLICATION_LOGS" )
Enum values for LogType
func (LogType) MarshalValue ¶ added in v0.3.0
type MasterUserOptions ¶ added in v0.20.0
type MasterUserOptions struct { // ARN for the master user (if IAM is enabled). MasterUserARN *string `type:"string"` // The master user's username, which is stored in the Amazon Elasticsearch Service // domain's internal database. MasterUserName *string `min:"1" type:"string" sensitive:"true"` // The master user's password, which is stored in the Amazon Elasticsearch Service // domain's internal database. MasterUserPassword *string `min:"8" type:"string" sensitive:"true"` // contains filtered or unexported fields }
Credentials for the master user: username and password, ARN, or both.
func (MasterUserOptions) MarshalFields ¶ added in v0.20.0
func (s MasterUserOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MasterUserOptions) String ¶ added in v0.20.0
func (s MasterUserOptions) String() string
String returns the string representation
func (*MasterUserOptions) Validate ¶ added in v0.20.0
func (s *MasterUserOptions) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NodeToNodeEncryptionOptions ¶ added in v0.5.0
type NodeToNodeEncryptionOptions struct { // Specify true to enable node-to-node encryption. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Specifies the node-to-node encryption options.
func (NodeToNodeEncryptionOptions) MarshalFields ¶ added in v0.5.0
func (s NodeToNodeEncryptionOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NodeToNodeEncryptionOptions) String ¶ added in v0.5.0
func (s NodeToNodeEncryptionOptions) String() string
String returns the string representation
type NodeToNodeEncryptionOptionsStatus ¶ added in v0.5.0
type NodeToNodeEncryptionOptionsStatus struct { // Specifies the node-to-node encryption options for the specified Elasticsearch // domain. // // Options is a required field Options *NodeToNodeEncryptionOptions `type:"structure" required:"true"` // Specifies the status of the node-to-node encryption 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 node-to-node encryption options for the specified Elasticsearch domain.
func (NodeToNodeEncryptionOptionsStatus) MarshalFields ¶ added in v0.5.0
func (s NodeToNodeEncryptionOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NodeToNodeEncryptionOptionsStatus) String ¶ added in v0.5.0
func (s NodeToNodeEncryptionOptionsStatus) String() string
String returns the string representation
type OptionState ¶
type OptionState string
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 ( OptionStateRequiresIndexDocuments OptionState = "RequiresIndexDocuments" OptionStateProcessing OptionState = "Processing" OptionStateActive OptionState = "Active" )
Enum values for OptionState
func (OptionState) MarshalValue ¶ added in v0.3.0
func (enum OptionState) MarshalValue() (string, error)
func (OptionState) MarshalValueBuf ¶ added in v0.3.0
func (enum OptionState) MarshalValueBuf(b []byte) ([]byte, error)
type OptionStatus ¶
type OptionStatus struct { // Timestamp which tells the creation date for the entity. // // CreationDate is a required field CreationDate *time.Time `type:"timestamp" 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 OptionState `type:"string" required:"true" enum:"true"` // Timestamp which tells the last updated time for the entity. // // UpdateDate is a required field UpdateDate *time.Time `type:"timestamp" 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.
func (OptionStatus) MarshalFields ¶ added in v0.3.0
func (s OptionStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OptionStatus) String ¶
func (s OptionStatus) String() string
String returns the string representation
type PackageDetails ¶ added in v0.21.0
type PackageDetails struct { // Timestamp which tells creation date of the package. CreatedAt *time.Time `type:"timestamp"` // Additional information if the package is in an error state. Null otherwise. ErrorDetails *ErrorDetails `type:"structure"` // User-specified description of the package. PackageDescription *string `type:"string"` // Internal ID of the package. PackageID *string `type:"string"` // User specified name of the package. PackageName *string `min:"3" type:"string"` // Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED PackageStatus PackageStatus `type:"string" enum:"true"` // Currently supports only TXT-DICTIONARY. PackageType PackageType `type:"string" enum:"true"` // contains filtered or unexported fields }
Basic information about a package.
func (PackageDetails) MarshalFields ¶ added in v0.21.0
func (s PackageDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PackageDetails) String ¶ added in v0.21.0
func (s PackageDetails) String() string
String returns the string representation
type PackageSource ¶ added in v0.21.0
type PackageSource struct { // Name of the bucket containing the package. S3BucketName *string `min:"3" type:"string"` // Key (file name) of the package. S3Key *string `type:"string"` // contains filtered or unexported fields }
The S3 location for importing the package specified as S3BucketName and S3Key
func (PackageSource) MarshalFields ¶ added in v0.21.0
func (s PackageSource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PackageSource) String ¶ added in v0.21.0
func (s PackageSource) String() string
String returns the string representation
func (*PackageSource) Validate ¶ added in v0.21.0
func (s *PackageSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PackageStatus ¶ added in v0.21.0
type PackageStatus string
const ( PackageStatusCopying PackageStatus = "COPYING" PackageStatusCopyFailed PackageStatus = "COPY_FAILED" PackageStatusValidating PackageStatus = "VALIDATING" PackageStatusValidationFailed PackageStatus = "VALIDATION_FAILED" PackageStatusAvailable PackageStatus = "AVAILABLE" PackageStatusDeleting PackageStatus = "DELETING" PackageStatusDeleted PackageStatus = "DELETED" PackageStatusDeleteFailed PackageStatus = "DELETE_FAILED" )
Enum values for PackageStatus
func (PackageStatus) MarshalValue ¶ added in v0.21.0
func (enum PackageStatus) MarshalValue() (string, error)
func (PackageStatus) MarshalValueBuf ¶ added in v0.21.0
func (enum PackageStatus) MarshalValueBuf(b []byte) ([]byte, error)
type PackageType ¶ added in v0.21.0
type PackageType string
const (
PackageTypeTxtDictionary PackageType = "TXT-DICTIONARY"
)
Enum values for PackageType
func (PackageType) MarshalValue ¶ added in v0.21.0
func (enum PackageType) MarshalValue() (string, error)
func (PackageType) MarshalValueBuf ¶ added in v0.21.0
func (enum PackageType) MarshalValueBuf(b []byte) ([]byte, error)
type PurchaseReservedElasticsearchInstanceOfferingInput ¶ added in v0.4.0
type PurchaseReservedElasticsearchInstanceOfferingInput struct { // The number of Elasticsearch instances to reserve. InstanceCount *int64 `min:"1" type:"integer"` // A customer-specified identifier to track this reservation. // // ReservationName is a required field ReservationName *string `min:"5" type:"string" required:"true"` // The ID of the reserved Elasticsearch instance offering to purchase. // // ReservedElasticsearchInstanceOfferingId is a required field ReservedElasticsearchInstanceOfferingId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Container for parameters to PurchaseReservedElasticsearchInstanceOffering
func (PurchaseReservedElasticsearchInstanceOfferingInput) MarshalFields ¶ added in v0.4.0
func (s PurchaseReservedElasticsearchInstanceOfferingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PurchaseReservedElasticsearchInstanceOfferingInput) String ¶ added in v0.4.0
func (s PurchaseReservedElasticsearchInstanceOfferingInput) String() string
String returns the string representation
func (*PurchaseReservedElasticsearchInstanceOfferingInput) Validate ¶ added in v0.4.0
func (s *PurchaseReservedElasticsearchInstanceOfferingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PurchaseReservedElasticsearchInstanceOfferingOutput ¶ added in v0.4.0
type PurchaseReservedElasticsearchInstanceOfferingOutput struct { // The customer-specified identifier used to track this reservation. ReservationName *string `min:"5" type:"string"` // Details of the reserved Elasticsearch instance which was purchased. ReservedElasticsearchInstanceId *string `type:"string"` // contains filtered or unexported fields }
Represents the output of a PurchaseReservedElasticsearchInstanceOffering operation.
func (PurchaseReservedElasticsearchInstanceOfferingOutput) MarshalFields ¶ added in v0.4.0
func (s PurchaseReservedElasticsearchInstanceOfferingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PurchaseReservedElasticsearchInstanceOfferingOutput) String ¶ added in v0.4.0
func (s PurchaseReservedElasticsearchInstanceOfferingOutput) String() string
String returns the string representation
type PurchaseReservedElasticsearchInstanceOfferingRequest ¶ added in v0.4.0
type PurchaseReservedElasticsearchInstanceOfferingRequest struct { *aws.Request Input *PurchaseReservedElasticsearchInstanceOfferingInput Copy func(*PurchaseReservedElasticsearchInstanceOfferingInput) PurchaseReservedElasticsearchInstanceOfferingRequest }
PurchaseReservedElasticsearchInstanceOfferingRequest is the request type for the PurchaseReservedElasticsearchInstanceOffering API operation.
func (PurchaseReservedElasticsearchInstanceOfferingRequest) Send ¶ added in v0.4.0
func (r PurchaseReservedElasticsearchInstanceOfferingRequest) Send(ctx context.Context) (*PurchaseReservedElasticsearchInstanceOfferingResponse, error)
Send marshals and sends the PurchaseReservedElasticsearchInstanceOffering API request.
type PurchaseReservedElasticsearchInstanceOfferingResponse ¶ added in v0.9.0
type PurchaseReservedElasticsearchInstanceOfferingResponse struct { *PurchaseReservedElasticsearchInstanceOfferingOutput // contains filtered or unexported fields }
PurchaseReservedElasticsearchInstanceOfferingResponse is the response type for the PurchaseReservedElasticsearchInstanceOffering API operation.
func (*PurchaseReservedElasticsearchInstanceOfferingResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *PurchaseReservedElasticsearchInstanceOfferingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PurchaseReservedElasticsearchInstanceOffering request.
type RecurringCharge ¶ added in v0.4.0
type RecurringCharge struct { // The monetary amount of the recurring charge. RecurringChargeAmount *float64 `type:"double"` // The frequency of the recurring charge. RecurringChargeFrequency *string `type:"string"` // contains filtered or unexported fields }
Contains the specific price and frequency of a recurring charges for a reserved Elasticsearch instance, or for a reserved Elasticsearch instance offering.
func (RecurringCharge) MarshalFields ¶ added in v0.4.0
func (s RecurringCharge) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RecurringCharge) String ¶ added in v0.4.0
func (s RecurringCharge) 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.
func (RemoveTagsInput) MarshalFields ¶ added in v0.3.0
func (s RemoveTagsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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
}
func (RemoveTagsOutput) MarshalFields ¶ added in v0.3.0
func (s RemoveTagsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RemoveTagsOutput) String ¶
func (s RemoveTagsOutput) String() string
String returns the string representation
type RemoveTagsRequest ¶
type RemoveTagsRequest struct { *aws.Request Input *RemoveTagsInput Copy func(*RemoveTagsInput) RemoveTagsRequest }
RemoveTagsRequest is the request type for the RemoveTags API operation.
func (RemoveTagsRequest) Send ¶
func (r RemoveTagsRequest) Send(ctx context.Context) (*RemoveTagsResponse, error)
Send marshals and sends the RemoveTags API request.
type RemoveTagsResponse ¶ added in v0.9.0
type RemoveTagsResponse struct { *RemoveTagsOutput // contains filtered or unexported fields }
RemoveTagsResponse is the response type for the RemoveTags API operation.
func (*RemoveTagsResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *RemoveTagsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RemoveTags request.
type ReservedElasticsearchInstance ¶ added in v0.4.0
type ReservedElasticsearchInstance struct { // The currency code for the reserved Elasticsearch instance offering. CurrencyCode *string `type:"string"` // The duration, in seconds, for which the Elasticsearch instance is reserved. Duration *int64 `type:"integer"` // The number of Elasticsearch instances that have been reserved. ElasticsearchInstanceCount *int64 `type:"integer"` // The Elasticsearch instance type offered by the reserved instance offering. ElasticsearchInstanceType ESPartitionInstanceType `type:"string" enum:"true"` // The upfront fixed charge you will paid to purchase the specific reserved // Elasticsearch instance offering. FixedPrice *float64 `type:"double"` // The payment option as defined in the reserved Elasticsearch instance offering. PaymentOption ReservedElasticsearchInstancePaymentOption `type:"string" enum:"true"` // The charge to your account regardless of whether you are creating any domains // using the instance offering. RecurringCharges []RecurringCharge `type:"list"` // The customer-specified identifier to track this reservation. ReservationName *string `min:"5" type:"string"` // The unique identifier for the reservation. ReservedElasticsearchInstanceId *string `type:"string"` // The offering identifier. ReservedElasticsearchInstanceOfferingId *string `type:"string"` // The time the reservation started. StartTime *time.Time `type:"timestamp"` // The state of the reserved Elasticsearch instance. State *string `type:"string"` // The rate you are charged for each hour for the domain that is using this // reserved instance. UsagePrice *float64 `type:"double"` // contains filtered or unexported fields }
Details of a reserved Elasticsearch instance.
func (ReservedElasticsearchInstance) MarshalFields ¶ added in v0.4.0
func (s ReservedElasticsearchInstance) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReservedElasticsearchInstance) String ¶ added in v0.4.0
func (s ReservedElasticsearchInstance) String() string
String returns the string representation
type ReservedElasticsearchInstanceOffering ¶ added in v0.4.0
type ReservedElasticsearchInstanceOffering struct { // The currency code for the reserved Elasticsearch instance offering. CurrencyCode *string `type:"string"` // The duration, in seconds, for which the offering will reserve the Elasticsearch // instance. Duration *int64 `type:"integer"` // The Elasticsearch instance type offered by the reserved instance offering. ElasticsearchInstanceType ESPartitionInstanceType `type:"string" enum:"true"` // The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch // instance offering. FixedPrice *float64 `type:"double"` // Payment option for the reserved Elasticsearch instance offering PaymentOption ReservedElasticsearchInstancePaymentOption `type:"string" enum:"true"` // The charge to your account regardless of whether you are creating any domains // using the instance offering. RecurringCharges []RecurringCharge `type:"list"` // The Elasticsearch reserved instance offering identifier. ReservedElasticsearchInstanceOfferingId *string `type:"string"` // The rate you are charged for each hour the domain that is using the offering // is running. UsagePrice *float64 `type:"double"` // contains filtered or unexported fields }
Details of a reserved Elasticsearch instance offering.
func (ReservedElasticsearchInstanceOffering) MarshalFields ¶ added in v0.4.0
func (s ReservedElasticsearchInstanceOffering) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReservedElasticsearchInstanceOffering) String ¶ added in v0.4.0
func (s ReservedElasticsearchInstanceOffering) String() string
String returns the string representation
type ReservedElasticsearchInstancePaymentOption ¶ added in v0.4.0
type ReservedElasticsearchInstancePaymentOption string
const ( ReservedElasticsearchInstancePaymentOptionAllUpfront ReservedElasticsearchInstancePaymentOption = "ALL_UPFRONT" ReservedElasticsearchInstancePaymentOptionPartialUpfront ReservedElasticsearchInstancePaymentOption = "PARTIAL_UPFRONT" ReservedElasticsearchInstancePaymentOptionNoUpfront ReservedElasticsearchInstancePaymentOption = "NO_UPFRONT" )
Enum values for ReservedElasticsearchInstancePaymentOption
func (ReservedElasticsearchInstancePaymentOption) MarshalValue ¶ added in v0.4.0
func (enum ReservedElasticsearchInstancePaymentOption) MarshalValue() (string, error)
func (ReservedElasticsearchInstancePaymentOption) MarshalValueBuf ¶ added in v0.4.0
func (enum ReservedElasticsearchInstancePaymentOption) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceSoftwareOptions ¶ added in v0.6.0
type ServiceSoftwareOptions struct { // Timestamp, in Epoch time, until which you can manually request a service // software update. After this date, we automatically update your service software. AutomatedUpdateDate *time.Time `type:"timestamp"` // True if you are able to cancel your service software version update. False // if you are not able to cancel your service software version. Cancellable *bool `type:"boolean"` // The current service software version that is present on the domain. CurrentVersion *string `type:"string"` // The description of the UpdateStatus. Description *string `type:"string"` // The new service software version if one is available. NewVersion *string `type:"string"` // True if you are able to update you service software version. False if you // are not able to update your service software version. UpdateAvailable *bool `type:"boolean"` // The status of your service software update. This field can take the following // values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE. UpdateStatus DeploymentStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
The current options of an Elasticsearch domain service software options.
func (ServiceSoftwareOptions) MarshalFields ¶ added in v0.6.0
func (s ServiceSoftwareOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServiceSoftwareOptions) String ¶ added in v0.6.0
func (s ServiceSoftwareOptions) 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.
func (SnapshotOptions) MarshalFields ¶ added in v0.3.0
func (s SnapshotOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (SnapshotOptionsStatus) MarshalFields ¶ added in v0.3.0
func (s SnapshotOptionsStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SnapshotOptionsStatus) String ¶
func (s SnapshotOptionsStatus) String() string
String returns the string representation
type StartElasticsearchServiceSoftwareUpdateInput ¶ added in v0.6.0
type StartElasticsearchServiceSoftwareUpdateInput struct { // The name of the domain that you want to update to the latest service software. // // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Container for the parameters to the StartElasticsearchServiceSoftwareUpdate operation. Specifies the name of the Elasticsearch domain that you wish to schedule a service software update on.
func (StartElasticsearchServiceSoftwareUpdateInput) MarshalFields ¶ added in v0.6.0
func (s StartElasticsearchServiceSoftwareUpdateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartElasticsearchServiceSoftwareUpdateInput) String ¶ added in v0.6.0
func (s StartElasticsearchServiceSoftwareUpdateInput) String() string
String returns the string representation
func (*StartElasticsearchServiceSoftwareUpdateInput) Validate ¶ added in v0.6.0
func (s *StartElasticsearchServiceSoftwareUpdateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartElasticsearchServiceSoftwareUpdateOutput ¶ added in v0.6.0
type StartElasticsearchServiceSoftwareUpdateOutput struct { // The current status of the Elasticsearch service software update. ServiceSoftwareOptions *ServiceSoftwareOptions `type:"structure"` // contains filtered or unexported fields }
The result of a StartElasticsearchServiceSoftwareUpdate operation. Contains the status of the update.
func (StartElasticsearchServiceSoftwareUpdateOutput) MarshalFields ¶ added in v0.6.0
func (s StartElasticsearchServiceSoftwareUpdateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartElasticsearchServiceSoftwareUpdateOutput) String ¶ added in v0.6.0
func (s StartElasticsearchServiceSoftwareUpdateOutput) String() string
String returns the string representation
type StartElasticsearchServiceSoftwareUpdateRequest ¶ added in v0.6.0
type StartElasticsearchServiceSoftwareUpdateRequest struct { *aws.Request Input *StartElasticsearchServiceSoftwareUpdateInput Copy func(*StartElasticsearchServiceSoftwareUpdateInput) StartElasticsearchServiceSoftwareUpdateRequest }
StartElasticsearchServiceSoftwareUpdateRequest is the request type for the StartElasticsearchServiceSoftwareUpdate API operation.
func (StartElasticsearchServiceSoftwareUpdateRequest) Send ¶ added in v0.6.0
func (r StartElasticsearchServiceSoftwareUpdateRequest) Send(ctx context.Context) (*StartElasticsearchServiceSoftwareUpdateResponse, error)
Send marshals and sends the StartElasticsearchServiceSoftwareUpdate API request.
type StartElasticsearchServiceSoftwareUpdateResponse ¶ added in v0.9.0
type StartElasticsearchServiceSoftwareUpdateResponse struct { *StartElasticsearchServiceSoftwareUpdateOutput // contains filtered or unexported fields }
StartElasticsearchServiceSoftwareUpdateResponse is the response type for the StartElasticsearchServiceSoftwareUpdate API operation.
func (*StartElasticsearchServiceSoftwareUpdateResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *StartElasticsearchServiceSoftwareUpdateResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartElasticsearchServiceSoftwareUpdate request.
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.
func (StorageType) MarshalFields ¶ added in v0.3.0
func (s StorageType) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (StorageTypeLimit) MarshalFields ¶ added in v0.3.0
func (s StorageTypeLimit) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StorageTypeLimit) String ¶
func (s StorageTypeLimit) String() string
String returns the string representation
type TLSSecurityPolicy ¶ added in v0.14.0
type TLSSecurityPolicy string
const ( TLSSecurityPolicyPolicyMinTls10201907 TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07" TLSSecurityPolicyPolicyMinTls12201907 TLSSecurityPolicy = "Policy-Min-TLS-1-2-2019-07" )
Enum values for TLSSecurityPolicy
func (TLSSecurityPolicy) MarshalValue ¶ added in v0.14.0
func (enum TLSSecurityPolicy) MarshalValue() (string, error)
func (TLSSecurityPolicy) MarshalValueBuf ¶ added in v0.14.0
func (enum TLSSecurityPolicy) MarshalValueBuf(b []byte) ([]byte, error)
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.
func (Tag) MarshalFields ¶ added in v0.3.0
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` // Specifies advanced security options. AdvancedSecurityOptions *AdvancedSecurityOptionsInput `type:"structure"` // Options to specify the Cognito user and identity pools for Kibana authentication. // For more information, see Amazon Cognito Authentication for Kibana (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html). CognitoOptions *CognitoOptions `type:"structure"` // Options to specify configuration that will be applied to the domain endpoint. DomainEndpointOptions *DomainEndpointOptions `type:"structure"` // 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"` // Map of LogType and LogPublishingOption, each containing options to publish // a given type of Elasticsearch log. LogPublishingOptions map[string]LogPublishingOption `type:"map"` // Option to set the time, in UTC format, for the daily automated snapshot. // Default value is 0 hours. SnapshotOptions *SnapshotOptions `type:"structure"` // Options to specify the subnets and security groups for VPC endpoint. For // more information, see Creating a VPC (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc) // in VPC Endpoints for Amazon Elasticsearch Service Domains VPCOptions *VPCOptions `type:"structure"` // contains filtered or unexported fields }
Container for the parameters to the UpdateElasticsearchDomain operation. Specifies the type and number of instances in the domain cluster.
func (UpdateElasticsearchDomainConfigInput) MarshalFields ¶ added in v0.3.0
func (s UpdateElasticsearchDomainConfigInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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.
func (UpdateElasticsearchDomainConfigOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateElasticsearchDomainConfigOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateElasticsearchDomainConfigOutput) String ¶
func (s UpdateElasticsearchDomainConfigOutput) String() string
String returns the string representation
type UpdateElasticsearchDomainConfigRequest ¶
type UpdateElasticsearchDomainConfigRequest struct { *aws.Request Input *UpdateElasticsearchDomainConfigInput Copy func(*UpdateElasticsearchDomainConfigInput) UpdateElasticsearchDomainConfigRequest }
UpdateElasticsearchDomainConfigRequest is the request type for the UpdateElasticsearchDomainConfig API operation.
func (UpdateElasticsearchDomainConfigRequest) Send ¶
func (r UpdateElasticsearchDomainConfigRequest) Send(ctx context.Context) (*UpdateElasticsearchDomainConfigResponse, error)
Send marshals and sends the UpdateElasticsearchDomainConfig API request.
type UpdateElasticsearchDomainConfigResponse ¶ added in v0.9.0
type UpdateElasticsearchDomainConfigResponse struct { *UpdateElasticsearchDomainConfigOutput // contains filtered or unexported fields }
UpdateElasticsearchDomainConfigResponse is the response type for the UpdateElasticsearchDomainConfig API operation.
func (*UpdateElasticsearchDomainConfigResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpdateElasticsearchDomainConfigResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateElasticsearchDomainConfig request.
type UpgradeElasticsearchDomainInput ¶ added in v0.5.0
type UpgradeElasticsearchDomainInput struct { // 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"` // This flag, when set to True, indicates that an Upgrade Eligibility Check // needs to be performed. This will not actually perform the Upgrade. PerformCheckOnly *bool `type:"boolean"` // The version of Elasticsearch that you intend to upgrade the domain to. // // TargetVersion is a required field TargetVersion *string `type:"string" required:"true"` // contains filtered or unexported fields }
Container for request parameters to UpgradeElasticsearchDomain operation.
func (UpgradeElasticsearchDomainInput) MarshalFields ¶ added in v0.5.0
func (s UpgradeElasticsearchDomainInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpgradeElasticsearchDomainInput) String ¶ added in v0.5.0
func (s UpgradeElasticsearchDomainInput) String() string
String returns the string representation
func (*UpgradeElasticsearchDomainInput) Validate ¶ added in v0.5.0
func (s *UpgradeElasticsearchDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpgradeElasticsearchDomainOutput ¶ added in v0.5.0
type UpgradeElasticsearchDomainOutput struct { // 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 *string `min:"3" type:"string"` // This flag, when set to True, indicates that an Upgrade Eligibility Check // needs to be performed. This will not actually perform the Upgrade. PerformCheckOnly *bool `type:"boolean"` // The version of Elasticsearch that you intend to upgrade the domain to. TargetVersion *string `type:"string"` // contains filtered or unexported fields }
Container for response returned by UpgradeElasticsearchDomain operation.
func (UpgradeElasticsearchDomainOutput) MarshalFields ¶ added in v0.5.0
func (s UpgradeElasticsearchDomainOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpgradeElasticsearchDomainOutput) String ¶ added in v0.5.0
func (s UpgradeElasticsearchDomainOutput) String() string
String returns the string representation
type UpgradeElasticsearchDomainRequest ¶ added in v0.5.0
type UpgradeElasticsearchDomainRequest struct { *aws.Request Input *UpgradeElasticsearchDomainInput Copy func(*UpgradeElasticsearchDomainInput) UpgradeElasticsearchDomainRequest }
UpgradeElasticsearchDomainRequest is the request type for the UpgradeElasticsearchDomain API operation.
func (UpgradeElasticsearchDomainRequest) Send ¶ added in v0.5.0
func (r UpgradeElasticsearchDomainRequest) Send(ctx context.Context) (*UpgradeElasticsearchDomainResponse, error)
Send marshals and sends the UpgradeElasticsearchDomain API request.
type UpgradeElasticsearchDomainResponse ¶ added in v0.9.0
type UpgradeElasticsearchDomainResponse struct { *UpgradeElasticsearchDomainOutput // contains filtered or unexported fields }
UpgradeElasticsearchDomainResponse is the response type for the UpgradeElasticsearchDomain API operation.
func (*UpgradeElasticsearchDomainResponse) SDKResponseMetdata ¶ added in v0.9.0
func (r *UpgradeElasticsearchDomainResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpgradeElasticsearchDomain request.
type UpgradeHistory ¶ added in v0.5.0
type UpgradeHistory struct { // UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" // format. StartTimestamp *time.Time `type:"timestamp"` // A list of UpgradeStepItem s representing information about each step performed // as pard of a specific Upgrade or Upgrade Eligibility Check. StepsList []UpgradeStepItem `type:"list"` // A string that describes the update briefly UpgradeName *string `type:"string"` // The overall status of the update. The status can take one of the following // values: // * In Progress // // * Succeeded // // * Succeeded with Issues // // * Failed UpgradeStatus UpgradeStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
History of the last 10 Upgrades and Upgrade Eligibility Checks.
func (UpgradeHistory) MarshalFields ¶ added in v0.5.0
func (s UpgradeHistory) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpgradeHistory) String ¶ added in v0.5.0
func (s UpgradeHistory) String() string
String returns the string representation
type UpgradeStatus ¶ added in v0.5.0
type UpgradeStatus string
const ( UpgradeStatusInProgress UpgradeStatus = "IN_PROGRESS" UpgradeStatusSucceeded UpgradeStatus = "SUCCEEDED" UpgradeStatusSucceededWithIssues UpgradeStatus = "SUCCEEDED_WITH_ISSUES" UpgradeStatusFailed UpgradeStatus = "FAILED" )
Enum values for UpgradeStatus
func (UpgradeStatus) MarshalValue ¶ added in v0.5.0
func (enum UpgradeStatus) MarshalValue() (string, error)
func (UpgradeStatus) MarshalValueBuf ¶ added in v0.5.0
func (enum UpgradeStatus) MarshalValueBuf(b []byte) ([]byte, error)
type UpgradeStep ¶ added in v0.5.0
type UpgradeStep string
const ( UpgradeStepPreUpgradeCheck UpgradeStep = "PRE_UPGRADE_CHECK" UpgradeStepSnapshot UpgradeStep = "SNAPSHOT" UpgradeStepUpgrade UpgradeStep = "UPGRADE" )
Enum values for UpgradeStep
func (UpgradeStep) MarshalValue ¶ added in v0.5.0
func (enum UpgradeStep) MarshalValue() (string, error)
func (UpgradeStep) MarshalValueBuf ¶ added in v0.5.0
func (enum UpgradeStep) MarshalValueBuf(b []byte) ([]byte, error)
type UpgradeStepItem ¶ added in v0.5.0
type UpgradeStepItem struct { // A list of strings containing detailed information about the errors encountered // in a particular step. Issues []string `type:"list"` // The Floating point value representing progress percentage of a particular // step. ProgressPercent *float64 `type:"double"` // Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does // through: // * PreUpgradeCheck // // * Snapshot // // * Upgrade UpgradeStep UpgradeStep `type:"string" enum:"true"` // The status of a particular step during an upgrade. The status can take one // of the following values: // * In Progress // // * Succeeded // // * Succeeded with Issues // // * Failed UpgradeStepStatus UpgradeStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
Represents a single step of the Upgrade or Upgrade Eligibility Check workflow.
func (UpgradeStepItem) MarshalFields ¶ added in v0.5.0
func (s UpgradeStepItem) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpgradeStepItem) String ¶ added in v0.5.0
func (s UpgradeStepItem) String() string
String returns the string representation
type VPCDerivedInfo ¶ added in v0.2.0
type VPCDerivedInfo struct { // The availability zones for the Elasticsearch domain. Exists only if the domain // was created with VPCOptions. AvailabilityZones []string `type:"list"` // Specifies the security groups for VPC endpoint. SecurityGroupIds []string `type:"list"` // Specifies the subnets for VPC endpoint. SubnetIds []string `type:"list"` // The VPC Id for the Elasticsearch domain. Exists only if the domain was created // with VPCOptions. VPCId *string `type:"string"` // contains filtered or unexported fields }
Options to specify the subnets and security groups for VPC endpoint. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html).
func (VPCDerivedInfo) MarshalFields ¶ added in v0.3.0
func (s VPCDerivedInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VPCDerivedInfo) String ¶ added in v0.2.0
func (s VPCDerivedInfo) String() string
String returns the string representation
type VPCDerivedInfoStatus ¶ added in v0.2.0
type VPCDerivedInfoStatus struct { // Specifies the VPC options for the specified Elasticsearch domain. // // Options is a required field Options *VPCDerivedInfo `type:"structure" required:"true"` // Specifies the status of the VPC options for the specified Elasticsearch domain. // // Status is a required field Status *OptionStatus `type:"structure" required:"true"` // contains filtered or unexported fields }
Status of the VPC options for the specified Elasticsearch domain.
func (VPCDerivedInfoStatus) MarshalFields ¶ added in v0.3.0
func (s VPCDerivedInfoStatus) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VPCDerivedInfoStatus) String ¶ added in v0.2.0
func (s VPCDerivedInfoStatus) String() string
String returns the string representation
type VPCOptions ¶ added in v0.2.0
type VPCOptions struct { // Specifies the security groups for VPC endpoint. SecurityGroupIds []string `type:"list"` // Specifies the subnets for VPC endpoint. SubnetIds []string `type:"list"` // contains filtered or unexported fields }
Options to specify the subnets and security groups for VPC endpoint. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html).
func (VPCOptions) MarshalFields ¶ added in v0.3.0
func (s VPCOptions) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (VPCOptions) String ¶ added in v0.2.0
func (s VPCOptions) String() string
String returns the string representation
type VolumeType ¶
type VolumeType string
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 ( VolumeTypeStandard VolumeType = "standard" VolumeTypeGp2 VolumeType = "gp2" VolumeTypeIo1 VolumeType = "io1" )
Enum values for VolumeType
func (VolumeType) MarshalValue ¶ added in v0.3.0
func (enum VolumeType) MarshalValue() (string, error)
func (VolumeType) MarshalValueBuf ¶ added in v0.3.0
func (enum VolumeType) MarshalValueBuf(b []byte) ([]byte, error)
type ZoneAwarenessConfig ¶ added in v0.8.0
type ZoneAwarenessConfig struct { // An integer value to indicate the number of availability zones for a domain // when zone awareness is enabled. This should be equal to number of subnets // if VPC endpoints is enabled AvailabilityZoneCount *int64 `type:"integer"` // contains filtered or unexported fields }
Specifies the zone awareness configuration for the domain cluster, such as the number of availability zones.
func (ZoneAwarenessConfig) MarshalFields ¶ added in v0.8.0
func (s ZoneAwarenessConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ZoneAwarenessConfig) String ¶ added in v0.8.0
func (s ZoneAwarenessConfig) String() string
String returns the string representation
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_AddTags.go
- api_op_AssociatePackage.go
- api_op_CancelElasticsearchServiceSoftwareUpdate.go
- api_op_CreateElasticsearchDomain.go
- api_op_CreatePackage.go
- api_op_DeleteElasticsearchDomain.go
- api_op_DeleteElasticsearchServiceRole.go
- api_op_DeletePackage.go
- api_op_DescribeElasticsearchDomain.go
- api_op_DescribeElasticsearchDomainConfig.go
- api_op_DescribeElasticsearchDomains.go
- api_op_DescribeElasticsearchInstanceTypeLimits.go
- api_op_DescribePackages.go
- api_op_DescribeReservedElasticsearchInstanceOfferings.go
- api_op_DescribeReservedElasticsearchInstances.go
- api_op_DissociatePackage.go
- api_op_GetCompatibleElasticsearchVersions.go
- api_op_GetUpgradeHistory.go
- api_op_GetUpgradeStatus.go
- api_op_ListDomainNames.go
- api_op_ListDomainsForPackage.go
- api_op_ListElasticsearchInstanceTypes.go
- api_op_ListElasticsearchVersions.go
- api_op_ListPackagesForDomain.go
- api_op_ListTags.go
- api_op_PurchaseReservedElasticsearchInstanceOffering.go
- api_op_RemoveTags.go
- api_op_StartElasticsearchServiceSoftwareUpdate.go
- api_op_UpdateElasticsearchDomainConfig.go
- api_op_UpgradeElasticsearchDomain.go
- api_types.go
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. |