Interface CloudSearchClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudSearchClientBuilderbuilder()Create a builder that can be used to configure and create aCloudSearchClient.default BuildSuggestersResponsebuildSuggesters(Consumer<BuildSuggestersRequest.Builder> buildSuggestersRequest) Indexes the search suggestions.default BuildSuggestersResponsebuildSuggesters(BuildSuggestersRequest buildSuggestersRequest) Indexes the search suggestions.static CloudSearchClientcreate()Create aCloudSearchClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateDomainResponsecreateDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) Creates a new search domain.default CreateDomainResponsecreateDomain(CreateDomainRequest createDomainRequest) Creates a new search domain.default DefineAnalysisSchemeResponsedefineAnalysisScheme(Consumer<DefineAnalysisSchemeRequest.Builder> defineAnalysisSchemeRequest) Configures an analysis scheme that can be applied to atextortext-arrayfield to define language-specific text processing options.default DefineAnalysisSchemeResponsedefineAnalysisScheme(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest) Configures an analysis scheme that can be applied to atextortext-arrayfield to define language-specific text processing options.default DefineExpressionResponsedefineExpression(Consumer<DefineExpressionRequest.Builder> defineExpressionRequest) Configures anExpressionfor the search domain.default DefineExpressionResponsedefineExpression(DefineExpressionRequest defineExpressionRequest) Configures anExpressionfor the search domain.default DefineIndexFieldResponsedefineIndexField(Consumer<DefineIndexFieldRequest.Builder> defineIndexFieldRequest) Configures anIndexFieldfor the search domain.default DefineIndexFieldResponsedefineIndexField(DefineIndexFieldRequest defineIndexFieldRequest) Configures anIndexFieldfor the search domain.default DefineSuggesterResponsedefineSuggester(Consumer<DefineSuggesterRequest.Builder> defineSuggesterRequest) Configures a suggester for a domain.default DefineSuggesterResponsedefineSuggester(DefineSuggesterRequest defineSuggesterRequest) Configures a suggester for a domain.default DeleteAnalysisSchemeResponsedeleteAnalysisScheme(Consumer<DeleteAnalysisSchemeRequest.Builder> deleteAnalysisSchemeRequest) Deletes an analysis scheme.default DeleteAnalysisSchemeResponsedeleteAnalysisScheme(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest) Deletes an analysis scheme.default DeleteDomainResponsedeleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Permanently deletes a search domain and all of its data.default DeleteDomainResponsedeleteDomain(DeleteDomainRequest deleteDomainRequest) Permanently deletes a search domain and all of its data.default DeleteExpressionResponsedeleteExpression(Consumer<DeleteExpressionRequest.Builder> deleteExpressionRequest) Removes anExpressionfrom the search domain.default DeleteExpressionResponsedeleteExpression(DeleteExpressionRequest deleteExpressionRequest) Removes anExpressionfrom the search domain.default DeleteIndexFieldResponsedeleteIndexField(Consumer<DeleteIndexFieldRequest.Builder> deleteIndexFieldRequest) Removes anIndexFieldfrom the search domain.default DeleteIndexFieldResponsedeleteIndexField(DeleteIndexFieldRequest deleteIndexFieldRequest) Removes anIndexFieldfrom the search domain.default DeleteSuggesterResponsedeleteSuggester(Consumer<DeleteSuggesterRequest.Builder> deleteSuggesterRequest) Deletes a suggester.default DeleteSuggesterResponsedeleteSuggester(DeleteSuggesterRequest deleteSuggesterRequest) Deletes a suggester.default DescribeAnalysisSchemesResponsedescribeAnalysisSchemes(Consumer<DescribeAnalysisSchemesRequest.Builder> describeAnalysisSchemesRequest) Gets the analysis schemes configured for a domain.default DescribeAnalysisSchemesResponsedescribeAnalysisSchemes(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest) Gets the analysis schemes configured for a domain.describeAvailabilityOptions(Consumer<DescribeAvailabilityOptionsRequest.Builder> describeAvailabilityOptionsRequest) Gets the availability options configured for a domain.describeAvailabilityOptions(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest) Gets the availability options configured for a domain.describeDomainEndpointOptions(Consumer<DescribeDomainEndpointOptionsRequest.Builder> describeDomainEndpointOptionsRequest) Returns the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS.describeDomainEndpointOptions(DescribeDomainEndpointOptionsRequest describeDomainEndpointOptionsRequest) Returns the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS.default DescribeDomainsResponseGets information about the search domains owned by this account.default DescribeDomainsResponsedescribeDomains(Consumer<DescribeDomainsRequest.Builder> describeDomainsRequest) Gets information about the search domains owned by this account.default DescribeDomainsResponsedescribeDomains(DescribeDomainsRequest describeDomainsRequest) Gets information about the search domains owned by this account.default DescribeExpressionsResponsedescribeExpressions(Consumer<DescribeExpressionsRequest.Builder> describeExpressionsRequest) Gets the expressions configured for the search domain.default DescribeExpressionsResponsedescribeExpressions(DescribeExpressionsRequest describeExpressionsRequest) Gets the expressions configured for the search domain.default DescribeIndexFieldsResponsedescribeIndexFields(Consumer<DescribeIndexFieldsRequest.Builder> describeIndexFieldsRequest) Gets information about the index fields configured for the search domain.default DescribeIndexFieldsResponsedescribeIndexFields(DescribeIndexFieldsRequest describeIndexFieldsRequest) Gets information about the index fields configured for the search domain.describeScalingParameters(Consumer<DescribeScalingParametersRequest.Builder> describeScalingParametersRequest) Gets the scaling parameters configured for a domain.describeScalingParameters(DescribeScalingParametersRequest describeScalingParametersRequest) Gets the scaling parameters configured for a domain.describeServiceAccessPolicies(Consumer<DescribeServiceAccessPoliciesRequest.Builder> describeServiceAccessPoliciesRequest) Gets information about the access policies that control access to the domain's document and search endpoints.describeServiceAccessPolicies(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest) Gets information about the access policies that control access to the domain's document and search endpoints.default DescribeSuggestersResponsedescribeSuggesters(Consumer<DescribeSuggestersRequest.Builder> describeSuggestersRequest) Gets the suggesters configured for a domain.default DescribeSuggestersResponsedescribeSuggesters(DescribeSuggestersRequest describeSuggestersRequest) Gets the suggesters configured for a domain.default IndexDocumentsResponseindexDocuments(Consumer<IndexDocumentsRequest.Builder> indexDocumentsRequest) Tells the search domain to start indexing its documents using the latest indexing options.default IndexDocumentsResponseindexDocuments(IndexDocumentsRequest indexDocumentsRequest) Tells the search domain to start indexing its documents using the latest indexing options.default ListDomainNamesResponseLists all search domains owned by an account.default ListDomainNamesResponselistDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) Lists all search domains owned by an account.default ListDomainNamesResponselistDomainNames(ListDomainNamesRequest listDomainNamesRequest) Lists all search domains owned by an account.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadataupdateAvailabilityOptions(Consumer<UpdateAvailabilityOptionsRequest.Builder> updateAvailabilityOptionsRequest) Configures the availability options for a domain.updateAvailabilityOptions(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest) Configures the availability options for a domain.updateDomainEndpointOptions(Consumer<UpdateDomainEndpointOptionsRequest.Builder> updateDomainEndpointOptionsRequest) Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS.updateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest updateDomainEndpointOptionsRequest) Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS.default UpdateScalingParametersResponseupdateScalingParameters(Consumer<UpdateScalingParametersRequest.Builder> updateScalingParametersRequest) Configures scaling parameters for a domain.default UpdateScalingParametersResponseupdateScalingParameters(UpdateScalingParametersRequest updateScalingParametersRequest) Configures scaling parameters for a domain.updateServiceAccessPolicies(Consumer<UpdateServiceAccessPoliciesRequest.Builder> updateServiceAccessPoliciesRequest) Configures the access rules that control access to the domain's document and search endpoints.updateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest) Configures the access rules that control access to the domain's document and search endpoints.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
buildSuggesters
default BuildSuggestersResponse buildSuggesters(BuildSuggestersRequest buildSuggestersRequest) throws BaseException, InternalException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
- Parameters:
buildSuggestersRequest- Container for the parameters to theBuildSuggesteroperation. Specifies the name of the domain you want to update.- Returns:
- Result of the BuildSuggesters operation returned by the service.
-
buildSuggesters
default BuildSuggestersResponse buildSuggesters(Consumer<BuildSuggestersRequest.Builder> buildSuggestersRequest) throws BaseException, InternalException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Indexes the search suggestions. For more information, see Configuring Suggesters in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
BuildSuggestersRequest.Builderavoiding the need to create one manually viaBuildSuggestersRequest.builder()- Parameters:
buildSuggestersRequest- AConsumerthat will call methods onBuildSuggestersRequest.Builderto create a request. Container for the parameters to theBuildSuggesteroperation. Specifies the name of the domain you want to update.- Returns:
- Result of the BuildSuggesters operation returned by the service.
-
createDomain
default CreateDomainResponse createDomain(CreateDomainRequest createDomainRequest) throws BaseException, InternalException, LimitExceededException, ResourceAlreadyExistsException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
- Parameters:
createDomainRequest- Container for the parameters to theCreateDomainoperation. Specifies a name for the new search domain.- Returns:
- Result of the CreateDomain operation returned by the service.
-
createDomain
default CreateDomainResponse createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) throws BaseException, InternalException, LimitExceededException, ResourceAlreadyExistsException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
CreateDomainRequest.Builderavoiding the need to create one manually viaCreateDomainRequest.builder()- Parameters:
createDomainRequest- AConsumerthat will call methods onCreateDomainRequest.Builderto create a request. Container for the parameters to theCreateDomainoperation. Specifies a name for the new search domain.- Returns:
- Result of the CreateDomain operation returned by the service.
-
defineAnalysisScheme
default DefineAnalysisSchemeResponse defineAnalysisScheme(DefineAnalysisSchemeRequest defineAnalysisSchemeRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures an analysis scheme that can be applied to a
textortext-arrayfield to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.- Parameters:
defineAnalysisSchemeRequest- Container for the parameters to theDefineAnalysisSchemeoperation. Specifies the name of the domain you want to update and the analysis scheme configuration.- Returns:
- Result of the DefineAnalysisScheme operation returned by the service.
-
defineAnalysisScheme
default DefineAnalysisSchemeResponse defineAnalysisScheme(Consumer<DefineAnalysisSchemeRequest.Builder> defineAnalysisSchemeRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures an analysis scheme that can be applied to a
textortext-arrayfield to define language-specific text processing options. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DefineAnalysisSchemeRequest.Builderavoiding the need to create one manually viaDefineAnalysisSchemeRequest.builder()- Parameters:
defineAnalysisSchemeRequest- AConsumerthat will call methods onDefineAnalysisSchemeRequest.Builderto create a request. Container for the parameters to theDefineAnalysisSchemeoperation. Specifies the name of the domain you want to update and the analysis scheme configuration.- Returns:
- Result of the DefineAnalysisScheme operation returned by the service.
-
defineExpression
default DefineExpressionResponse defineExpression(DefineExpressionRequest defineExpressionRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures an
Expressionfor the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.- Parameters:
defineExpressionRequest- Container for the parameters to theDefineExpressionoperation. Specifies the name of the domain you want to update and the expression you want to configure.- Returns:
- Result of the DefineExpression operation returned by the service.
-
defineExpression
default DefineExpressionResponse defineExpression(Consumer<DefineExpressionRequest.Builder> defineExpressionRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures an
Expressionfor the search domain. Used to create new expressions and modify existing ones. If the expression exists, the new configuration replaces the old one. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DefineExpressionRequest.Builderavoiding the need to create one manually viaDefineExpressionRequest.builder()- Parameters:
defineExpressionRequest- AConsumerthat will call methods onDefineExpressionRequest.Builderto create a request. Container for the parameters to theDefineExpressionoperation. Specifies the name of the domain you want to update and the expression you want to configure.- Returns:
- Result of the DefineExpression operation returned by the service.
-
defineIndexField
default DefineIndexFieldResponse defineIndexField(DefineIndexFieldRequest defineIndexFieldRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures an
IndexFieldfor the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on theIndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.- Parameters:
defineIndexFieldRequest- Container for the parameters to theDefineIndexFieldoperation. Specifies the name of the domain you want to update and the index field configuration.- Returns:
- Result of the DefineIndexField operation returned by the service.
-
defineIndexField
default DefineIndexFieldResponse defineIndexField(Consumer<DefineIndexFieldRequest.Builder> defineIndexFieldRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures an
IndexFieldfor the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on theIndexFieldType. If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DefineIndexFieldRequest.Builderavoiding the need to create one manually viaDefineIndexFieldRequest.builder()- Parameters:
defineIndexFieldRequest- AConsumerthat will call methods onDefineIndexFieldRequest.Builderto create a request. Container for the parameters to theDefineIndexFieldoperation. Specifies the name of the domain you want to update and the index field configuration.- Returns:
- Result of the DefineIndexField operation returned by the service.
-
defineSuggester
default DefineSuggesterResponse defineSuggester(DefineSuggesterRequest defineSuggesterRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
- Parameters:
defineSuggesterRequest- Container for the parameters to theDefineSuggesteroperation. Specifies the name of the domain you want to update and the suggester configuration.- Returns:
- Result of the DefineSuggester operation returned by the service.
-
defineSuggester
default DefineSuggesterResponse defineSuggester(Consumer<DefineSuggesterRequest.Builder> defineSuggesterRequest) throws BaseException, InternalException, LimitExceededException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DefineSuggesterRequest.Builderavoiding the need to create one manually viaDefineSuggesterRequest.builder()- Parameters:
defineSuggesterRequest- AConsumerthat will call methods onDefineSuggesterRequest.Builderto create a request. Container for the parameters to theDefineSuggesteroperation. Specifies the name of the domain you want to update and the suggester configuration.- Returns:
- Result of the DefineSuggester operation returned by the service.
-
deleteAnalysisScheme
default DeleteAnalysisSchemeResponse deleteAnalysisScheme(DeleteAnalysisSchemeRequest deleteAnalysisSchemeRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
- Parameters:
deleteAnalysisSchemeRequest- Container for the parameters to theDeleteAnalysisSchemeoperation. Specifies the name of the domain you want to update and the analysis scheme you want to delete.- Returns:
- Result of the DeleteAnalysisScheme operation returned by the service.
-
deleteAnalysisScheme
default DeleteAnalysisSchemeResponse deleteAnalysisScheme(Consumer<DeleteAnalysisSchemeRequest.Builder> deleteAnalysisSchemeRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Deletes an analysis scheme. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DeleteAnalysisSchemeRequest.Builderavoiding the need to create one manually viaDeleteAnalysisSchemeRequest.builder()- Parameters:
deleteAnalysisSchemeRequest- AConsumerthat will call methods onDeleteAnalysisSchemeRequest.Builderto create a request. Container for the parameters to theDeleteAnalysisSchemeoperation. Specifies the name of the domain you want to update and the analysis scheme you want to delete.- Returns:
- Result of the DeleteAnalysisScheme operation returned by the service.
-
deleteDomain
default DeleteDomainResponse deleteDomain(DeleteDomainRequest deleteDomainRequest) throws BaseException, InternalException, AwsServiceException, SdkClientException, CloudSearchException Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide.
- Parameters:
deleteDomainRequest- Container for the parameters to theDeleteDomainoperation. Specifies the name of the domain you want to delete.- Returns:
- Result of the DeleteDomain operation returned by the service.
-
deleteDomain
default DeleteDomainResponse deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) throws BaseException, InternalException, AwsServiceException, SdkClientException, CloudSearchException Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DeleteDomainRequest.Builderavoiding the need to create one manually viaDeleteDomainRequest.builder()- Parameters:
deleteDomainRequest- AConsumerthat will call methods onDeleteDomainRequest.Builderto create a request. Container for the parameters to theDeleteDomainoperation. Specifies the name of the domain you want to delete.- Returns:
- Result of the DeleteDomain operation returned by the service.
-
deleteExpression
default DeleteExpressionResponse deleteExpression(DeleteExpressionRequest deleteExpressionRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Removes an
Expressionfrom the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.- Parameters:
deleteExpressionRequest- Container for the parameters to theDeleteExpressionoperation. Specifies the name of the domain you want to update and the name of the expression you want to delete.- Returns:
- Result of the DeleteExpression operation returned by the service.
-
deleteExpression
default DeleteExpressionResponse deleteExpression(Consumer<DeleteExpressionRequest.Builder> deleteExpressionRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Removes an
Expressionfrom the search domain. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DeleteExpressionRequest.Builderavoiding the need to create one manually viaDeleteExpressionRequest.builder()- Parameters:
deleteExpressionRequest- AConsumerthat will call methods onDeleteExpressionRequest.Builderto create a request. Container for the parameters to theDeleteExpressionoperation. Specifies the name of the domain you want to update and the name of the expression you want to delete.- Returns:
- Result of the DeleteExpression operation returned by the service.
-
deleteIndexField
default DeleteIndexFieldResponse deleteIndexField(DeleteIndexFieldRequest deleteIndexFieldRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Removes an
IndexFieldfrom the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.- Parameters:
deleteIndexFieldRequest- Container for the parameters to theDeleteIndexFieldoperation. Specifies the name of the domain you want to update and the name of the index field you want to delete.- Returns:
- Result of the DeleteIndexField operation returned by the service.
-
deleteIndexField
default DeleteIndexFieldResponse deleteIndexField(Consumer<DeleteIndexFieldRequest.Builder> deleteIndexFieldRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Removes an
IndexFieldfrom the search domain. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DeleteIndexFieldRequest.Builderavoiding the need to create one manually viaDeleteIndexFieldRequest.builder()- Parameters:
deleteIndexFieldRequest- AConsumerthat will call methods onDeleteIndexFieldRequest.Builderto create a request. Container for the parameters to theDeleteIndexFieldoperation. Specifies the name of the domain you want to update and the name of the index field you want to delete.- Returns:
- Result of the DeleteIndexField operation returned by the service.
-
deleteSuggester
default DeleteSuggesterResponse deleteSuggester(DeleteSuggesterRequest deleteSuggesterRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
- Parameters:
deleteSuggesterRequest- Container for the parameters to theDeleteSuggesteroperation. Specifies the name of the domain you want to update and name of the suggester you want to delete.- Returns:
- Result of the DeleteSuggester operation returned by the service.
-
deleteSuggester
default DeleteSuggesterResponse deleteSuggester(Consumer<DeleteSuggesterRequest.Builder> deleteSuggesterRequest) throws BaseException, InternalException, InvalidTypeException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Deletes a suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DeleteSuggesterRequest.Builderavoiding the need to create one manually viaDeleteSuggesterRequest.builder()- Parameters:
deleteSuggesterRequest- AConsumerthat will call methods onDeleteSuggesterRequest.Builderto create a request. Container for the parameters to theDeleteSuggesteroperation. Specifies the name of the domain you want to update and name of the suggester you want to delete.- Returns:
- Result of the DeleteSuggester operation returned by the service.
-
describeAnalysisSchemes
default DescribeAnalysisSchemesResponse describeAnalysisSchemes(DescribeAnalysisSchemesRequest describeAnalysisSchemesRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a
textfield. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set theDeployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.- Parameters:
describeAnalysisSchemesRequest- Container for the parameters to theDescribeAnalysisSchemesoperation. Specifies the name of the domain you want to describe. To limit the response to particular analysis schemes, specify the names of the analysis schemes you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeAnalysisSchemes operation returned by the service.
-
describeAnalysisSchemes
default DescribeAnalysisSchemesResponse describeAnalysisSchemes(Consumer<DescribeAnalysisSchemesRequest.Builder> describeAnalysisSchemesRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the analysis schemes configured for a domain. An analysis scheme defines language-specific text processing options for a
textfield. Can be limited to specific analysis schemes by name. By default, shows all analysis schemes and includes any pending changes to the configuration. Set theDeployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeAnalysisSchemesRequest.Builderavoiding the need to create one manually viaDescribeAnalysisSchemesRequest.builder()- Parameters:
describeAnalysisSchemesRequest- AConsumerthat will call methods onDescribeAnalysisSchemesRequest.Builderto create a request. Container for the parameters to theDescribeAnalysisSchemesoperation. Specifies the name of the domain you want to describe. To limit the response to particular analysis schemes, specify the names of the analysis schemes you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeAnalysisSchemes operation returned by the service.
-
describeAvailabilityOptions
default DescribeAvailabilityOptionsResponse describeAvailabilityOptions(DescribeAvailabilityOptionsRequest describeAvailabilityOptionsRequest) throws BaseException, InternalException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, AwsServiceException, SdkClientException, CloudSearchException Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.- Parameters:
describeAvailabilityOptionsRequest- Container for the parameters to theDescribeAvailabilityOptionsoperation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option totrue.- Returns:
- Result of the DescribeAvailabilityOptions operation returned by the service.
-
describeAvailabilityOptions
default DescribeAvailabilityOptionsResponse describeAvailabilityOptions(Consumer<DescribeAvailabilityOptionsRequest.Builder> describeAvailabilityOptionsRequest) throws BaseException, InternalException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, AwsServiceException, SdkClientException, CloudSearchException Gets the availability options configured for a domain. By default, shows the configuration with any pending changes. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeAvailabilityOptionsRequest.Builderavoiding the need to create one manually viaDescribeAvailabilityOptionsRequest.builder()- Parameters:
describeAvailabilityOptionsRequest- AConsumerthat will call methods onDescribeAvailabilityOptionsRequest.Builderto create a request. Container for the parameters to theDescribeAvailabilityOptionsoperation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option totrue.- Returns:
- Result of the DescribeAvailabilityOptions operation returned by the service.
-
describeDomainEndpointOptions
default DescribeDomainEndpointOptionsResponse describeDomainEndpointOptions(DescribeDomainEndpointOptionsRequest describeDomainEndpointOptionsRequest) throws BaseException, InternalException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, AwsServiceException, SdkClientException, CloudSearchException Returns the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
- Parameters:
describeDomainEndpointOptionsRequest- Container for the parameters to theDescribeDomainEndpointOptionsoperation. Specify the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option totrue.- Returns:
- Result of the DescribeDomainEndpointOptions operation returned by the service.
-
describeDomainEndpointOptions
default DescribeDomainEndpointOptionsResponse describeDomainEndpointOptions(Consumer<DescribeDomainEndpointOptionsRequest.Builder> describeDomainEndpointOptionsRequest) throws BaseException, InternalException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, AwsServiceException, SdkClientException, CloudSearchException Returns the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeDomainEndpointOptionsRequest.Builderavoiding the need to create one manually viaDescribeDomainEndpointOptionsRequest.builder()- Parameters:
describeDomainEndpointOptionsRequest- AConsumerthat will call methods onDescribeDomainEndpointOptionsRequest.Builderto create a request. Container for the parameters to theDescribeDomainEndpointOptionsoperation. Specify the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set the Deployed option totrue.- Returns:
- Result of the DescribeDomainEndpointOptions operation returned by the service.
-
describeDomains
default DescribeDomainsResponse describeDomains(DescribeDomainsRequest describeDomainsRequest) throws BaseException, InternalException, AwsServiceException, SdkClientException, CloudSearchException Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a
matchallrequest to your domain's search endpoint:q=matchall&q.parser=structured&size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.- Parameters:
describeDomainsRequest- Container for the parameters to theDescribeDomainsoperation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.- Returns:
- Result of the DescribeDomains operation returned by the service.
-
describeDomains
default DescribeDomainsResponse describeDomains(Consumer<DescribeDomainsRequest.Builder> describeDomainsRequest) throws BaseException, InternalException, AwsServiceException, SdkClientException, CloudSearchException Gets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a
matchallrequest to your domain's search endpoint:q=matchall&q.parser=structured&size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeDomainsRequest.Builderavoiding the need to create one manually viaDescribeDomainsRequest.builder()- Parameters:
describeDomainsRequest- AConsumerthat will call methods onDescribeDomainsRequest.Builderto create a request. Container for the parameters to theDescribeDomainsoperation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.- Returns:
- Result of the DescribeDomains operation returned by the service.
-
describeDomains
default DescribeDomainsResponse describeDomains() throws BaseException, InternalException, AwsServiceException, SdkClientException, CloudSearchExceptionGets information about the search domains owned by this account. Can be limited to specific domains. Shows all domains by default. To get the number of searchable documents in a domain, use the console or submit a
matchallrequest to your domain's search endpoint:q=matchall&q.parser=structured&size=0. For more information, see Getting Information about a Search Domain in the Amazon CloudSearch Developer Guide.- Returns:
- Result of the DescribeDomains operation returned by the service.
- See Also:
-
describeExpressions
default DescribeExpressionsResponse describeExpressions(DescribeExpressionsRequest describeExpressionsRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.- Parameters:
describeExpressionsRequest- Container for the parameters to theDescribeDomainsoperation. Specifies the name of the domain you want to describe. To restrict the response to particular expressions, specify the names of the expressions you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeExpressions operation returned by the service.
-
describeExpressions
default DescribeExpressionsResponse describeExpressions(Consumer<DescribeExpressionsRequest.Builder> describeExpressionsRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the expressions configured for the search domain. Can be limited to specific expressions by name. By default, shows all expressions and includes any pending changes to the configuration. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeExpressionsRequest.Builderavoiding the need to create one manually viaDescribeExpressionsRequest.builder()- Parameters:
describeExpressionsRequest- AConsumerthat will call methods onDescribeExpressionsRequest.Builderto create a request. Container for the parameters to theDescribeDomainsoperation. Specifies the name of the domain you want to describe. To restrict the response to particular expressions, specify the names of the expressions you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeExpressions operation returned by the service.
-
describeIndexFields
default DescribeIndexFieldsResponse describeIndexFields(DescribeIndexFieldsRequest describeIndexFieldsRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. By default, shows all fields and includes any pending changes to the configuration. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide.- Parameters:
describeIndexFieldsRequest- Container for the parameters to theDescribeIndexFieldsoperation. Specifies the name of the domain you want to describe. To restrict the response to particular index fields, specify the names of the index fields you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeIndexFields operation returned by the service.
-
describeIndexFields
default DescribeIndexFieldsResponse describeIndexFields(Consumer<DescribeIndexFieldsRequest.Builder> describeIndexFieldsRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets information about the index fields configured for the search domain. Can be limited to specific fields by name. By default, shows all fields and includes any pending changes to the configuration. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Getting Domain Information in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeIndexFieldsRequest.Builderavoiding the need to create one manually viaDescribeIndexFieldsRequest.builder()- Parameters:
describeIndexFieldsRequest- AConsumerthat will call methods onDescribeIndexFieldsRequest.Builderto create a request. Container for the parameters to theDescribeIndexFieldsoperation. Specifies the name of the domain you want to describe. To restrict the response to particular index fields, specify the names of the index fields you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeIndexFields operation returned by the service.
-
describeScalingParameters
default DescribeScalingParametersResponse describeScalingParameters(DescribeScalingParametersRequest describeScalingParametersRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
- Parameters:
describeScalingParametersRequest- Container for the parameters to theDescribeScalingParametersoperation. Specifies the name of the domain you want to describe.- Returns:
- Result of the DescribeScalingParameters operation returned by the service.
-
describeScalingParameters
default DescribeScalingParametersResponse describeScalingParameters(Consumer<DescribeScalingParametersRequest.Builder> describeScalingParametersRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeScalingParametersRequest.Builderavoiding the need to create one manually viaDescribeScalingParametersRequest.builder()- Parameters:
describeScalingParametersRequest- AConsumerthat will call methods onDescribeScalingParametersRequest.Builderto create a request. Container for the parameters to theDescribeScalingParametersoperation. Specifies the name of the domain you want to describe.- Returns:
- Result of the DescribeScalingParameters operation returned by the service.
-
describeServiceAccessPolicies
default DescribeServiceAccessPoliciesResponse describeServiceAccessPolicies(DescribeServiceAccessPoliciesRequest describeServiceAccessPoliciesRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide.- Parameters:
describeServiceAccessPoliciesRequest- Container for the parameters to theDescribeServiceAccessPoliciesoperation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeServiceAccessPolicies operation returned by the service.
-
describeServiceAccessPolicies
default DescribeServiceAccessPoliciesResponse describeServiceAccessPolicies(Consumer<DescribeServiceAccessPoliciesRequest.Builder> describeServiceAccessPoliciesRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Configuring Access for a Search Domain in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeServiceAccessPoliciesRequest.Builderavoiding the need to create one manually viaDescribeServiceAccessPoliciesRequest.builder()- Parameters:
describeServiceAccessPoliciesRequest- AConsumerthat will call methods onDescribeServiceAccessPoliciesRequest.Builderto create a request. Container for the parameters to theDescribeServiceAccessPoliciesoperation. Specifies the name of the domain you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeServiceAccessPolicies operation returned by the service.
-
describeSuggesters
default DescribeSuggestersResponse describeSuggesters(DescribeSuggestersRequest describeSuggestersRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.- Parameters:
describeSuggestersRequest- Container for the parameters to theDescribeSuggesteroperation. Specifies the name of the domain you want to describe. To restrict the response to particular suggesters, specify the names of the suggesters you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeSuggesters operation returned by the service.
-
describeSuggesters
default DescribeSuggestersResponse describeSuggesters(Consumer<DescribeSuggestersRequest.Builder> describeSuggestersRequest) throws BaseException, InternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, CloudSearchException Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the
Deployedoption totrueto show the active configuration and exclude pending changes. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
DescribeSuggestersRequest.Builderavoiding the need to create one manually viaDescribeSuggestersRequest.builder()- Parameters:
describeSuggestersRequest- AConsumerthat will call methods onDescribeSuggestersRequest.Builderto create a request. Container for the parameters to theDescribeSuggesteroperation. Specifies the name of the domain you want to describe. To restrict the response to particular suggesters, specify the names of the suggesters you want to describe. To show the active configuration and exclude any pending changes, set theDeployedoption totrue.- Returns:
- Result of the DescribeSuggesters operation returned by the service.
-
indexDocuments
default IndexDocumentsResponse indexDocuments(IndexDocumentsRequest indexDocumentsRequest) throws BaseException, InternalException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose OptionStatus is
RequiresIndexDocuments.- Parameters:
indexDocumentsRequest- Container for the parameters to theIndexDocumentsoperation. Specifies the name of the domain you want to re-index.- Returns:
- Result of the IndexDocuments operation returned by the service.
-
indexDocuments
default IndexDocumentsResponse indexDocuments(Consumer<IndexDocumentsRequest.Builder> indexDocumentsRequest) throws BaseException, InternalException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose OptionStatus is
RequiresIndexDocuments.
This is a convenience which creates an instance of the
IndexDocumentsRequest.Builderavoiding the need to create one manually viaIndexDocumentsRequest.builder()- Parameters:
indexDocumentsRequest- AConsumerthat will call methods onIndexDocumentsRequest.Builderto create a request. Container for the parameters to theIndexDocumentsoperation. Specifies the name of the domain you want to re-index.- Returns:
- Result of the IndexDocuments operation returned by the service.
-
listDomainNames
default ListDomainNamesResponse listDomainNames(ListDomainNamesRequest listDomainNamesRequest) throws BaseException, AwsServiceException, SdkClientException, CloudSearchException Lists all search domains owned by an account.
- Parameters:
listDomainNamesRequest-- Returns:
- Result of the ListDomainNames operation returned by the service.
-
listDomainNames
default ListDomainNamesResponse listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) throws BaseException, AwsServiceException, SdkClientException, CloudSearchException Lists all search domains owned by an account.
This is a convenience which creates an instance of the
ListDomainNamesRequest.Builderavoiding the need to create one manually viaListDomainNamesRequest.builder()- Parameters:
listDomainNamesRequest- AConsumerthat will call methods onListDomainNamesRequest.Builderto create a request.- Returns:
- Result of the ListDomainNames operation returned by the service.
-
listDomainNames
default ListDomainNamesResponse listDomainNames() throws BaseException, AwsServiceException, SdkClientException, CloudSearchExceptionLists all search domains owned by an account.
- Returns:
- Result of the ListDomainNames operation returned by the service.
- See Also:
-
updateAvailabilityOptions
default UpdateAvailabilityOptionsResponse updateAvailabilityOptions(UpdateAvailabilityOptionsRequest updateAvailabilityOptionsRequest) throws BaseException, InternalException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
- Parameters:
updateAvailabilityOptionsRequest- Container for the parameters to theUpdateAvailabilityOptionsoperation. Specifies the name of the domain you want to update and the Multi-AZ availability option.- Returns:
- Result of the UpdateAvailabilityOptions operation returned by the service.
-
updateAvailabilityOptions
default UpdateAvailabilityOptionsResponse updateAvailabilityOptions(Consumer<UpdateAvailabilityOptionsRequest.Builder> updateAvailabilityOptionsRequest) throws BaseException, InternalException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see Configuring Availability Options in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
UpdateAvailabilityOptionsRequest.Builderavoiding the need to create one manually viaUpdateAvailabilityOptionsRequest.builder()- Parameters:
updateAvailabilityOptionsRequest- AConsumerthat will call methods onUpdateAvailabilityOptionsRequest.Builderto create a request. Container for the parameters to theUpdateAvailabilityOptionsoperation. Specifies the name of the domain you want to update and the Multi-AZ availability option.- Returns:
- Result of the UpdateAvailabilityOptions operation returned by the service.
-
updateDomainEndpointOptions
default UpdateDomainEndpointOptionsResponse updateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest updateDomainEndpointOptionsRequest) throws BaseException, InternalException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
- Parameters:
updateDomainEndpointOptionsRequest- Container for the parameters to theUpdateDomainEndpointOptionsoperation. Specifies the name of the domain you want to update and the domain endpoint options.- Returns:
- Result of the UpdateDomainEndpointOptions operation returned by the service.
-
updateDomainEndpointOptions
default UpdateDomainEndpointOptionsResponse updateDomainEndpointOptions(Consumer<UpdateDomainEndpointOptionsRequest.Builder> updateDomainEndpointOptionsRequest) throws BaseException, InternalException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, DisabledOperationException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see Configuring Domain Endpoint Options in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
UpdateDomainEndpointOptionsRequest.Builderavoiding the need to create one manually viaUpdateDomainEndpointOptionsRequest.builder()- Parameters:
updateDomainEndpointOptionsRequest- AConsumerthat will call methods onUpdateDomainEndpointOptionsRequest.Builderto create a request. Container for the parameters to theUpdateDomainEndpointOptionsoperation. Specifies the name of the domain you want to update and the domain endpoint options.- Returns:
- Result of the UpdateDomainEndpointOptions operation returned by the service.
-
updateScalingParameters
default UpdateScalingParametersResponse updateScalingParameters(UpdateScalingParametersRequest updateScalingParametersRequest) throws BaseException, InternalException, LimitExceededException, ResourceNotFoundException, InvalidTypeException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
- Parameters:
updateScalingParametersRequest- Container for the parameters to theUpdateScalingParametersoperation. Specifies the name of the domain you want to update and the scaling parameters you want to configure.- Returns:
- Result of the UpdateScalingParameters operation returned by the service.
-
updateScalingParameters
default UpdateScalingParametersResponse updateScalingParameters(Consumer<UpdateScalingParametersRequest.Builder> updateScalingParametersRequest) throws BaseException, InternalException, LimitExceededException, ResourceNotFoundException, InvalidTypeException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
This is a convenience which creates an instance of the
UpdateScalingParametersRequest.Builderavoiding the need to create one manually viaUpdateScalingParametersRequest.builder()- Parameters:
updateScalingParametersRequest- AConsumerthat will call methods onUpdateScalingParametersRequest.Builderto create a request. Container for the parameters to theUpdateScalingParametersoperation. Specifies the name of the domain you want to update and the scaling parameters you want to configure.- Returns:
- Result of the UpdateScalingParameters operation returned by the service.
-
updateServiceAccessPolicies
default UpdateServiceAccessPoliciesResponse updateServiceAccessPolicies(UpdateServiceAccessPoliciesRequest updateServiceAccessPoliciesRequest) throws BaseException, InternalException, LimitExceededException, ResourceNotFoundException, InvalidTypeException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain.
- Parameters:
updateServiceAccessPoliciesRequest- Container for the parameters to theUpdateServiceAccessPoliciesoperation. Specifies the name of the domain you want to update and the access rules you want to configure.- Returns:
- Result of the UpdateServiceAccessPolicies operation returned by the service.
-
updateServiceAccessPolicies
default UpdateServiceAccessPoliciesResponse updateServiceAccessPolicies(Consumer<UpdateServiceAccessPoliciesRequest.Builder> updateServiceAccessPoliciesRequest) throws BaseException, InternalException, LimitExceededException, ResourceNotFoundException, InvalidTypeException, ValidationException, AwsServiceException, SdkClientException, CloudSearchException Configures the access rules that control access to the domain's document and search endpoints. For more information, see Configuring Access for an Amazon CloudSearch Domain.
This is a convenience which creates an instance of the
UpdateServiceAccessPoliciesRequest.Builderavoiding the need to create one manually viaUpdateServiceAccessPoliciesRequest.builder()- Parameters:
updateServiceAccessPoliciesRequest- AConsumerthat will call methods onUpdateServiceAccessPoliciesRequest.Builderto create a request. Container for the parameters to theUpdateServiceAccessPoliciesoperation. Specifies the name of the domain you want to update and the access rules you want to configure.- Returns:
- Result of the UpdateServiceAccessPolicies operation returned by the service.
-
create
Create aCloudSearchClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aCloudSearchClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-