Upgrade AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2017-09-28 17:57:05 +03:00
parent 9a767b7631
commit 182c21e38c
1096 changed files with 309697 additions and 132612 deletions
+217 -242
View File
@@ -1,6 +1,5 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package cloudsearch provides a client for Amazon CloudSearch.
package cloudsearch
import (
@@ -15,19 +14,18 @@ const opBuildSuggesters = "BuildSuggesters"
// BuildSuggestersRequest generates a "aws/request.Request" representing the
// client's request for the BuildSuggesters operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See BuildSuggesters for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the BuildSuggesters method directly
// instead.
// See BuildSuggesters for more information on using the BuildSuggesters
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the BuildSuggestersRequest method.
// req, resp := client.BuildSuggestersRequest(params)
@@ -102,19 +100,18 @@ const opCreateDomain = "CreateDomain"
// CreateDomainRequest generates a "aws/request.Request" representing the
// client's request for the CreateDomain operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See CreateDomain for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the CreateDomain method directly
// instead.
// See CreateDomain for more information on using the CreateDomain
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the CreateDomainRequest method.
// req, resp := client.CreateDomainRequest(params)
@@ -188,19 +185,18 @@ const opDefineAnalysisScheme = "DefineAnalysisScheme"
// DefineAnalysisSchemeRequest generates a "aws/request.Request" representing the
// client's request for the DefineAnalysisScheme operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DefineAnalysisScheme for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DefineAnalysisScheme method directly
// instead.
// See DefineAnalysisScheme for more information on using the DefineAnalysisScheme
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DefineAnalysisSchemeRequest method.
// req, resp := client.DefineAnalysisSchemeRequest(params)
@@ -282,19 +278,18 @@ const opDefineExpression = "DefineExpression"
// DefineExpressionRequest generates a "aws/request.Request" representing the
// client's request for the DefineExpression operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DefineExpression for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DefineExpression method directly
// instead.
// See DefineExpression for more information on using the DefineExpression
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DefineExpressionRequest method.
// req, resp := client.DefineExpressionRequest(params)
@@ -376,19 +371,18 @@ const opDefineIndexField = "DefineIndexField"
// DefineIndexFieldRequest generates a "aws/request.Request" representing the
// client's request for the DefineIndexField operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DefineIndexField for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DefineIndexField method directly
// instead.
// See DefineIndexField for more information on using the DefineIndexField
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DefineIndexFieldRequest method.
// req, resp := client.DefineIndexFieldRequest(params)
@@ -474,19 +468,18 @@ const opDefineSuggester = "DefineSuggester"
// DefineSuggesterRequest generates a "aws/request.Request" representing the
// client's request for the DefineSuggester operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DefineSuggester for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DefineSuggester method directly
// instead.
// See DefineSuggester for more information on using the DefineSuggester
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DefineSuggesterRequest method.
// req, resp := client.DefineSuggesterRequest(params)
@@ -570,19 +563,18 @@ const opDeleteAnalysisScheme = "DeleteAnalysisScheme"
// DeleteAnalysisSchemeRequest generates a "aws/request.Request" representing the
// client's request for the DeleteAnalysisScheme operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DeleteAnalysisScheme for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DeleteAnalysisScheme method directly
// instead.
// See DeleteAnalysisScheme for more information on using the DeleteAnalysisScheme
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DeleteAnalysisSchemeRequest method.
// req, resp := client.DeleteAnalysisSchemeRequest(params)
@@ -660,19 +652,18 @@ const opDeleteDomain = "DeleteDomain"
// DeleteDomainRequest generates a "aws/request.Request" representing the
// client's request for the DeleteDomain operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DeleteDomain for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DeleteDomain method directly
// instead.
// See DeleteDomain for more information on using the DeleteDomain
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DeleteDomainRequest method.
// req, resp := client.DeleteDomainRequest(params)
@@ -744,19 +735,18 @@ const opDeleteExpression = "DeleteExpression"
// DeleteExpressionRequest generates a "aws/request.Request" representing the
// client's request for the DeleteExpression operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DeleteExpression for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DeleteExpression method directly
// instead.
// See DeleteExpression for more information on using the DeleteExpression
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DeleteExpressionRequest method.
// req, resp := client.DeleteExpressionRequest(params)
@@ -834,19 +824,18 @@ const opDeleteIndexField = "DeleteIndexField"
// DeleteIndexFieldRequest generates a "aws/request.Request" representing the
// client's request for the DeleteIndexField operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DeleteIndexField for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DeleteIndexField method directly
// instead.
// See DeleteIndexField for more information on using the DeleteIndexField
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DeleteIndexFieldRequest method.
// req, resp := client.DeleteIndexFieldRequest(params)
@@ -924,19 +913,18 @@ const opDeleteSuggester = "DeleteSuggester"
// DeleteSuggesterRequest generates a "aws/request.Request" representing the
// client's request for the DeleteSuggester operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DeleteSuggester for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DeleteSuggester method directly
// instead.
// See DeleteSuggester for more information on using the DeleteSuggester
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DeleteSuggesterRequest method.
// req, resp := client.DeleteSuggesterRequest(params)
@@ -1014,19 +1002,18 @@ const opDescribeAnalysisSchemes = "DescribeAnalysisSchemes"
// DescribeAnalysisSchemesRequest generates a "aws/request.Request" representing the
// client's request for the DescribeAnalysisSchemes operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeAnalysisSchemes for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeAnalysisSchemes method directly
// instead.
// See DescribeAnalysisSchemes for more information on using the DescribeAnalysisSchemes
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeAnalysisSchemesRequest method.
// req, resp := client.DescribeAnalysisSchemesRequest(params)
@@ -1105,19 +1092,18 @@ const opDescribeAvailabilityOptions = "DescribeAvailabilityOptions"
// DescribeAvailabilityOptionsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeAvailabilityOptions operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeAvailabilityOptions for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeAvailabilityOptions method directly
// instead.
// See DescribeAvailabilityOptions for more information on using the DescribeAvailabilityOptions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeAvailabilityOptionsRequest method.
// req, resp := client.DescribeAvailabilityOptionsRequest(params)
@@ -1203,19 +1189,18 @@ const opDescribeDomains = "DescribeDomains"
// DescribeDomainsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeDomains operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeDomains for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeDomains method directly
// instead.
// See DescribeDomains for more information on using the DescribeDomains
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeDomainsRequest method.
// req, resp := client.DescribeDomainsRequest(params)
@@ -1289,19 +1274,18 @@ const opDescribeExpressions = "DescribeExpressions"
// DescribeExpressionsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeExpressions operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeExpressions for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeExpressions method directly
// instead.
// See DescribeExpressions for more information on using the DescribeExpressions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeExpressionsRequest method.
// req, resp := client.DescribeExpressionsRequest(params)
@@ -1379,19 +1363,18 @@ const opDescribeIndexFields = "DescribeIndexFields"
// DescribeIndexFieldsRequest generates a "aws/request.Request" representing the
// client's request for the DescribeIndexFields operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeIndexFields for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeIndexFields method directly
// instead.
// See DescribeIndexFields for more information on using the DescribeIndexFields
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeIndexFieldsRequest method.
// req, resp := client.DescribeIndexFieldsRequest(params)
@@ -1469,19 +1452,18 @@ const opDescribeScalingParameters = "DescribeScalingParameters"
// DescribeScalingParametersRequest generates a "aws/request.Request" representing the
// client's request for the DescribeScalingParameters operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeScalingParameters for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeScalingParameters method directly
// instead.
// See DescribeScalingParameters for more information on using the DescribeScalingParameters
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeScalingParametersRequest method.
// req, resp := client.DescribeScalingParametersRequest(params)
@@ -1557,19 +1539,18 @@ const opDescribeServiceAccessPolicies = "DescribeServiceAccessPolicies"
// DescribeServiceAccessPoliciesRequest generates a "aws/request.Request" representing the
// client's request for the DescribeServiceAccessPolicies operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeServiceAccessPolicies for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeServiceAccessPolicies method directly
// instead.
// See DescribeServiceAccessPolicies for more information on using the DescribeServiceAccessPolicies
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeServiceAccessPoliciesRequest method.
// req, resp := client.DescribeServiceAccessPoliciesRequest(params)
@@ -1647,19 +1628,18 @@ const opDescribeSuggesters = "DescribeSuggesters"
// DescribeSuggestersRequest generates a "aws/request.Request" representing the
// client's request for the DescribeSuggesters operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See DescribeSuggesters for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the DescribeSuggesters method directly
// instead.
// See DescribeSuggesters for more information on using the DescribeSuggesters
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the DescribeSuggestersRequest method.
// req, resp := client.DescribeSuggestersRequest(params)
@@ -1738,19 +1718,18 @@ const opIndexDocuments = "IndexDocuments"
// IndexDocumentsRequest generates a "aws/request.Request" representing the
// client's request for the IndexDocuments operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See IndexDocuments for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the IndexDocuments method directly
// instead.
// See IndexDocuments for more information on using the IndexDocuments
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the IndexDocumentsRequest method.
// req, resp := client.IndexDocumentsRequest(params)
@@ -1825,19 +1804,18 @@ const opListDomainNames = "ListDomainNames"
// ListDomainNamesRequest generates a "aws/request.Request" representing the
// client's request for the ListDomainNames operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See ListDomainNames for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the ListDomainNames method directly
// instead.
// See ListDomainNames for more information on using the ListDomainNames
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the ListDomainNamesRequest method.
// req, resp := client.ListDomainNamesRequest(params)
@@ -1902,19 +1880,18 @@ const opUpdateAvailabilityOptions = "UpdateAvailabilityOptions"
// UpdateAvailabilityOptionsRequest generates a "aws/request.Request" representing the
// client's request for the UpdateAvailabilityOptions operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See UpdateAvailabilityOptions for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the UpdateAvailabilityOptions method directly
// instead.
// See UpdateAvailabilityOptions for more information on using the UpdateAvailabilityOptions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the UpdateAvailabilityOptionsRequest method.
// req, resp := client.UpdateAvailabilityOptionsRequest(params)
@@ -2001,19 +1978,18 @@ const opUpdateScalingParameters = "UpdateScalingParameters"
// UpdateScalingParametersRequest generates a "aws/request.Request" representing the
// client's request for the UpdateScalingParameters operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See UpdateScalingParameters for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the UpdateScalingParameters method directly
// instead.
// See UpdateScalingParameters for more information on using the UpdateScalingParameters
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the UpdateScalingParametersRequest method.
// req, resp := client.UpdateScalingParametersRequest(params)
@@ -2099,19 +2075,18 @@ const opUpdateServiceAccessPolicies = "UpdateServiceAccessPolicies"
// UpdateServiceAccessPoliciesRequest generates a "aws/request.Request" representing the
// client's request for the UpdateServiceAccessPolicies operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
// value will be populated with the request's response once the request complets
// successfuly.
//
// See UpdateServiceAccessPolicies for usage and error information.
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
// you just want the service response, call the UpdateServiceAccessPolicies method directly
// instead.
// See UpdateServiceAccessPolicies for more information on using the UpdateServiceAccessPolicies
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
// // Example sending a request using the UpdateServiceAccessPoliciesRequest method.
// req, resp := client.UpdateServiceAccessPoliciesRequest(params)
@@ -1,4 +1,4 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package cloudsearchiface provides an interface to enable mocking the Amazon CloudSearch service client
// for testing your code.
@@ -21,7 +21,7 @@ import (
//
// The best way to use this interface is so the SDK's service client's calls
// can be stubbed out for unit testing your code with the SDK without needing
// to inject custom request handlers into the the SDK's request pipeline.
// to inject custom request handlers into the SDK's request pipeline.
//
// // myFunc uses an SDK service client to make a request to
// // Amazon CloudSearch.
+33
View File
@@ -0,0 +1,33 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package cloudsearch provides the client and types for making API
// requests to Amazon CloudSearch.
//
// You use the Amazon CloudSearch configuration service to create, configure,
// and manage search domains. Configuration service requests are submitted using
// the AWS Query protocol. AWS Query requests are HTTP or HTTPS requests submitted
// via HTTP GET or POST with a query parameter named Action.
//
// The endpoint for configuration service requests is region-specific: cloudsearch.region.amazonaws.com.
// For example, cloudsearch.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#cloudsearch_region).
//
// See cloudsearch package documentation for more information.
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearch/
//
// Using the Client
//
// To Amazon CloudSearch 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 CloudSearch client CloudSearch for more
// information on creating client for this service.
// https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearch/#New
package cloudsearch
+1 -1
View File
@@ -1,4 +1,4 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudsearch
-664
View File
@@ -1,664 +0,0 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudsearch_test
import (
"bytes"
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/cloudsearch"
)
var _ time.Duration
var _ bytes.Buffer
func ExampleCloudSearch_BuildSuggesters() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.BuildSuggestersInput{
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.BuildSuggesters(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_CreateDomain() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.CreateDomainInput{
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.CreateDomain(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DefineAnalysisScheme() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DefineAnalysisSchemeInput{
AnalysisScheme: &cloudsearch.AnalysisScheme{ // Required
AnalysisSchemeLanguage: aws.String("AnalysisSchemeLanguage"), // Required
AnalysisSchemeName: aws.String("StandardName"), // Required
AnalysisOptions: &cloudsearch.AnalysisOptions{
AlgorithmicStemming: aws.String("AlgorithmicStemming"),
JapaneseTokenizationDictionary: aws.String("String"),
StemmingDictionary: aws.String("String"),
Stopwords: aws.String("String"),
Synonyms: aws.String("String"),
},
},
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.DefineAnalysisScheme(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DefineExpression() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DefineExpressionInput{
DomainName: aws.String("DomainName"), // Required
Expression: &cloudsearch.Expression{ // Required
ExpressionName: aws.String("StandardName"), // Required
ExpressionValue: aws.String("ExpressionValue"), // Required
},
}
resp, err := svc.DefineExpression(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DefineIndexField() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DefineIndexFieldInput{
DomainName: aws.String("DomainName"), // Required
IndexField: &cloudsearch.IndexField{ // Required
IndexFieldName: aws.String("DynamicFieldName"), // Required
IndexFieldType: aws.String("IndexFieldType"), // Required
DateArrayOptions: &cloudsearch.DateArrayOptions{
DefaultValue: aws.String("FieldValue"),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SourceFields: aws.String("FieldNameCommaList"),
},
DateOptions: &cloudsearch.DateOptions{
DefaultValue: aws.String("FieldValue"),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SortEnabled: aws.Bool(true),
SourceField: aws.String("FieldName"),
},
DoubleArrayOptions: &cloudsearch.DoubleArrayOptions{
DefaultValue: aws.Float64(1.0),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SourceFields: aws.String("FieldNameCommaList"),
},
DoubleOptions: &cloudsearch.DoubleOptions{
DefaultValue: aws.Float64(1.0),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SortEnabled: aws.Bool(true),
SourceField: aws.String("FieldName"),
},
IntArrayOptions: &cloudsearch.IntArrayOptions{
DefaultValue: aws.Int64(1),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SourceFields: aws.String("FieldNameCommaList"),
},
IntOptions: &cloudsearch.IntOptions{
DefaultValue: aws.Int64(1),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SortEnabled: aws.Bool(true),
SourceField: aws.String("FieldName"),
},
LatLonOptions: &cloudsearch.LatLonOptions{
DefaultValue: aws.String("FieldValue"),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SortEnabled: aws.Bool(true),
SourceField: aws.String("FieldName"),
},
LiteralArrayOptions: &cloudsearch.LiteralArrayOptions{
DefaultValue: aws.String("FieldValue"),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SourceFields: aws.String("FieldNameCommaList"),
},
LiteralOptions: &cloudsearch.LiteralOptions{
DefaultValue: aws.String("FieldValue"),
FacetEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SearchEnabled: aws.Bool(true),
SortEnabled: aws.Bool(true),
SourceField: aws.String("FieldName"),
},
TextArrayOptions: &cloudsearch.TextArrayOptions{
AnalysisScheme: aws.String("Word"),
DefaultValue: aws.String("FieldValue"),
HighlightEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SourceFields: aws.String("FieldNameCommaList"),
},
TextOptions: &cloudsearch.TextOptions{
AnalysisScheme: aws.String("Word"),
DefaultValue: aws.String("FieldValue"),
HighlightEnabled: aws.Bool(true),
ReturnEnabled: aws.Bool(true),
SortEnabled: aws.Bool(true),
SourceField: aws.String("FieldName"),
},
},
}
resp, err := svc.DefineIndexField(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DefineSuggester() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DefineSuggesterInput{
DomainName: aws.String("DomainName"), // Required
Suggester: &cloudsearch.Suggester{ // Required
DocumentSuggesterOptions: &cloudsearch.DocumentSuggesterOptions{ // Required
SourceField: aws.String("FieldName"), // Required
FuzzyMatching: aws.String("SuggesterFuzzyMatching"),
SortExpression: aws.String("String"),
},
SuggesterName: aws.String("StandardName"), // Required
},
}
resp, err := svc.DefineSuggester(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DeleteAnalysisScheme() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DeleteAnalysisSchemeInput{
AnalysisSchemeName: aws.String("StandardName"), // Required
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.DeleteAnalysisScheme(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DeleteDomain() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DeleteDomainInput{
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.DeleteDomain(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DeleteExpression() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DeleteExpressionInput{
DomainName: aws.String("DomainName"), // Required
ExpressionName: aws.String("StandardName"), // Required
}
resp, err := svc.DeleteExpression(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DeleteIndexField() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DeleteIndexFieldInput{
DomainName: aws.String("DomainName"), // Required
IndexFieldName: aws.String("DynamicFieldName"), // Required
}
resp, err := svc.DeleteIndexField(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DeleteSuggester() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DeleteSuggesterInput{
DomainName: aws.String("DomainName"), // Required
SuggesterName: aws.String("StandardName"), // Required
}
resp, err := svc.DeleteSuggester(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeAnalysisSchemes() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeAnalysisSchemesInput{
DomainName: aws.String("DomainName"), // Required
AnalysisSchemeNames: []*string{
aws.String("StandardName"), // Required
// More values...
},
Deployed: aws.Bool(true),
}
resp, err := svc.DescribeAnalysisSchemes(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeAvailabilityOptions() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeAvailabilityOptionsInput{
DomainName: aws.String("DomainName"), // Required
Deployed: aws.Bool(true),
}
resp, err := svc.DescribeAvailabilityOptions(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeDomains() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeDomainsInput{
DomainNames: []*string{
aws.String("DomainName"), // Required
// More values...
},
}
resp, err := svc.DescribeDomains(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeExpressions() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeExpressionsInput{
DomainName: aws.String("DomainName"), // Required
Deployed: aws.Bool(true),
ExpressionNames: []*string{
aws.String("StandardName"), // Required
// More values...
},
}
resp, err := svc.DescribeExpressions(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeIndexFields() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeIndexFieldsInput{
DomainName: aws.String("DomainName"), // Required
Deployed: aws.Bool(true),
FieldNames: []*string{
aws.String("DynamicFieldName"), // Required
// More values...
},
}
resp, err := svc.DescribeIndexFields(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeScalingParameters() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeScalingParametersInput{
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.DescribeScalingParameters(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeServiceAccessPolicies() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeServiceAccessPoliciesInput{
DomainName: aws.String("DomainName"), // Required
Deployed: aws.Bool(true),
}
resp, err := svc.DescribeServiceAccessPolicies(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_DescribeSuggesters() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.DescribeSuggestersInput{
DomainName: aws.String("DomainName"), // Required
Deployed: aws.Bool(true),
SuggesterNames: []*string{
aws.String("StandardName"), // Required
// More values...
},
}
resp, err := svc.DescribeSuggesters(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_IndexDocuments() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.IndexDocumentsInput{
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.IndexDocuments(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_ListDomainNames() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
var params *cloudsearch.ListDomainNamesInput
resp, err := svc.ListDomainNames(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_UpdateAvailabilityOptions() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.UpdateAvailabilityOptionsInput{
DomainName: aws.String("DomainName"), // Required
MultiAZ: aws.Bool(true), // Required
}
resp, err := svc.UpdateAvailabilityOptions(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_UpdateScalingParameters() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.UpdateScalingParametersInput{
DomainName: aws.String("DomainName"), // Required
ScalingParameters: &cloudsearch.ScalingParameters{ // Required
DesiredInstanceType: aws.String("PartitionInstanceType"),
DesiredPartitionCount: aws.Int64(1),
DesiredReplicationCount: aws.Int64(1),
},
}
resp, err := svc.UpdateScalingParameters(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleCloudSearch_UpdateServiceAccessPolicies() {
sess := session.Must(session.NewSession())
svc := cloudsearch.New(sess)
params := &cloudsearch.UpdateServiceAccessPoliciesInput{
AccessPolicies: aws.String("PolicyDocument"), // Required
DomainName: aws.String("DomainName"), // Required
}
resp, err := svc.UpdateServiceAccessPolicies(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
+6 -10
View File
@@ -1,4 +1,4 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cloudsearch
@@ -11,16 +11,12 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/query"
)
// You use the Amazon CloudSearch configuration service to create, configure,
// and manage search domains. Configuration service requests are submitted using
// the AWS Query protocol. AWS Query requests are HTTP or HTTPS requests submitted
// via HTTP GET or POST with a query parameter named Action.
// CloudSearch provides the API operation methods for making requests to
// Amazon CloudSearch. See this package's package overview docs
// for details on the service.
//
// The endpoint for configuration service requests is region-specific: cloudsearch.region.amazonaws.com.
// For example, cloudsearch.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#cloudsearch_region).
// The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
// CloudSearch methods are safe to use concurrently. It is not safe to
// modify mutate any of the struct's properties though.
type CloudSearch struct {
*client.Client
}