@aws-sdk/client-cloudsearch 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CloudSearch.js +0 -10
- package/dist-cjs/CloudSearchClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/BuildSuggestersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDomainCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DefineAnalysisSchemeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DefineExpressionCommand.js +2 -27
- package/dist-cjs/commands/DefineIndexFieldCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DefineSuggesterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteAnalysisSchemeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDomainCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteExpressionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteIndexFieldCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteSuggesterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeAnalysisSchemesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeAvailabilityOptionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainEndpointOptionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeDomainsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeExpressionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeIndexFieldsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeScalingParametersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeServiceAccessPoliciesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeSuggestersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/IndexDocumentsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDomainNamesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateAvailabilityOptionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateDomainEndpointOptionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateScalingParametersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateServiceAccessPoliciesCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +7 -278
- package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +164 -71
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CloudSearch.js +0 -1
- package/{dist/es → dist-es}/CloudSearchClient.js +1 -2
- package/{dist/es → dist-es}/commands/BuildSuggestersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateDomainCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DefineAnalysisSchemeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DefineExpressionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DefineIndexFieldCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DefineSuggesterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAnalysisSchemeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteDomainCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteExpressionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteIndexFieldCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteSuggesterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAnalysisSchemesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAvailabilityOptionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDomainEndpointOptionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDomainsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeExpressionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeIndexFieldsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeScalingParametersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeServiceAccessPoliciesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeSuggestersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/IndexDocumentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDomainNamesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateAvailabilityOptionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateDomainEndpointOptionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateScalingParametersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateServiceAccessPoliciesCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +4 -5
- package/{dist/es → dist-es}/protocols/Aws_query.js +308 -213
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CloudSearch.d.ts +1 -1
- package/{dist/types → dist-types}/CloudSearchClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BuildSuggestersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDomainCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DefineAnalysisSchemeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DefineExpressionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DefineIndexFieldCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DefineSuggesterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAnalysisSchemeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDomainCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteExpressionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteIndexFieldCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteSuggesterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAnalysisSchemesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAvailabilityOptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDomainEndpointOptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDomainsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeExpressionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeIndexFieldsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeScalingParametersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeServiceAccessPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeSuggestersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/IndexDocumentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDomainNamesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAvailabilityOptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDomainEndpointOptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateScalingParametersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateServiceAccessPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +21 -21
- package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CloudSearch.d.ts +28 -97
- package/{dist/types → dist-types}/ts3.4/CloudSearchClient.d.ts +32 -103
- package/dist-types/ts3.4/commands/BuildSuggestersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DefineAnalysisSchemeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DefineExpressionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DefineIndexFieldCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DefineSuggesterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAnalysisSchemeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExpressionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIndexFieldCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSuggesterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAnalysisSchemesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAvailabilityOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainEndpointOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExpressionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIndexFieldsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScalingParametersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeServiceAccessPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSuggestersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/IndexDocumentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAvailabilityOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDomainEndpointOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateScalingParametersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateServiceAccessPoliciesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1097 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CloudSearch.ts +0 -978
- package/CloudSearchClient.ts +0 -358
- package/commands/BuildSuggestersCommand.ts +0 -94
- package/commands/CreateDomainCommand.ts +0 -92
- package/commands/DefineAnalysisSchemeCommand.ts +0 -94
- package/commands/DefineExpressionCommand.ts +0 -94
- package/commands/DefineIndexFieldCommand.ts +0 -94
- package/commands/DefineSuggesterCommand.ts +0 -94
- package/commands/DeleteAnalysisSchemeCommand.ts +0 -94
- package/commands/DeleteDomainCommand.ts +0 -92
- package/commands/DeleteExpressionCommand.ts +0 -94
- package/commands/DeleteIndexFieldCommand.ts +0 -94
- package/commands/DeleteSuggesterCommand.ts +0 -94
- package/commands/DescribeAnalysisSchemesCommand.ts +0 -94
- package/commands/DescribeAvailabilityOptionsCommand.ts +0 -99
- package/commands/DescribeDomainEndpointOptionsCommand.ts +0 -99
- package/commands/DescribeDomainsCommand.ts +0 -96
- package/commands/DescribeExpressionsCommand.ts +0 -94
- package/commands/DescribeIndexFieldsCommand.ts +0 -96
- package/commands/DescribeScalingParametersCommand.ts +0 -97
- package/commands/DescribeServiceAccessPoliciesCommand.ts +0 -100
- package/commands/DescribeSuggestersCommand.ts +0 -94
- package/commands/IndexDocumentsCommand.ts +0 -94
- package/commands/ListDomainNamesCommand.ts +0 -94
- package/commands/UpdateAvailabilityOptionsCommand.ts +0 -97
- package/commands/UpdateDomainEndpointOptionsCommand.ts +0 -99
- package/commands/UpdateScalingParametersCommand.ts +0 -94
- package/commands/UpdateServiceAccessPoliciesCommand.ts +0 -101
- package/dist/cjs/CloudSearch.js.map +0 -1
- package/dist/cjs/CloudSearchClient.js +0 -50
- package/dist/cjs/CloudSearchClient.js.map +0 -1
- package/dist/cjs/commands/BuildSuggestersCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DefineAnalysisSchemeCommand.js.map +0 -1
- package/dist/cjs/commands/DefineExpressionCommand.js.map +0 -1
- package/dist/cjs/commands/DefineIndexFieldCommand.js +0 -61
- package/dist/cjs/commands/DefineIndexFieldCommand.js.map +0 -1
- package/dist/cjs/commands/DefineSuggesterCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAnalysisSchemeCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDomainCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteExpressionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteIndexFieldCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSuggesterCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAnalysisSchemesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAvailabilityOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainEndpointOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDomainsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeExpressionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeIndexFieldsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeScalingParametersCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeServiceAccessPoliciesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSuggestersCommand.js.map +0 -1
- package/dist/cjs/commands/IndexDocumentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDomainNamesCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAvailabilityOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDomainEndpointOptionsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateScalingParametersCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateServiceAccessPoliciesCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/protocols/Aws_query.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CloudSearch.js.map +0 -1
- package/dist/es/CloudSearchClient.js.map +0 -1
- package/dist/es/commands/BuildSuggestersCommand.js.map +0 -1
- package/dist/es/commands/CreateDomainCommand.js.map +0 -1
- package/dist/es/commands/DefineAnalysisSchemeCommand.js.map +0 -1
- package/dist/es/commands/DefineExpressionCommand.js.map +0 -1
- package/dist/es/commands/DefineIndexFieldCommand.js.map +0 -1
- package/dist/es/commands/DefineSuggesterCommand.js.map +0 -1
- package/dist/es/commands/DeleteAnalysisSchemeCommand.js.map +0 -1
- package/dist/es/commands/DeleteDomainCommand.js.map +0 -1
- package/dist/es/commands/DeleteExpressionCommand.js.map +0 -1
- package/dist/es/commands/DeleteIndexFieldCommand.js.map +0 -1
- package/dist/es/commands/DeleteSuggesterCommand.js.map +0 -1
- package/dist/es/commands/DescribeAnalysisSchemesCommand.js.map +0 -1
- package/dist/es/commands/DescribeAvailabilityOptionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainEndpointOptionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDomainsCommand.js.map +0 -1
- package/dist/es/commands/DescribeExpressionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeIndexFieldsCommand.js.map +0 -1
- package/dist/es/commands/DescribeScalingParametersCommand.js.map +0 -1
- package/dist/es/commands/DescribeServiceAccessPoliciesCommand.js.map +0 -1
- package/dist/es/commands/DescribeSuggestersCommand.js.map +0 -1
- package/dist/es/commands/IndexDocumentsCommand.js.map +0 -1
- package/dist/es/commands/ListDomainNamesCommand.js.map +0 -1
- package/dist/es/commands/UpdateAvailabilityOptionsCommand.js.map +0 -1
- package/dist/es/commands/UpdateDomainEndpointOptionsCommand.js.map +0 -1
- package/dist/es/commands/UpdateScalingParametersCommand.js.map +0 -1
- package/dist/es/commands/UpdateServiceAccessPoliciesCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -30
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/protocols/Aws_query.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/BuildSuggestersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateDomainCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DefineAnalysisSchemeCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DefineExpressionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DefineIndexFieldCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DefineSuggesterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteAnalysisSchemeCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteDomainCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteExpressionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteIndexFieldCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteSuggesterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeAnalysisSchemesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeAvailabilityOptionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeDomainEndpointOptionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeDomainsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeExpressionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeIndexFieldsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeScalingParametersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeServiceAccessPoliciesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeSuggestersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/IndexDocumentsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListDomainNamesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateAvailabilityOptionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateDomainEndpointOptionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateScalingParametersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateServiceAccessPoliciesCommand.d.ts +0 -37
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1973
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2531
- package/protocols/Aws_query.ts +0 -4956
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/CloudSearchClient.ts
DELETED
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
import { BuildSuggestersCommandInput, BuildSuggestersCommandOutput } from "./commands/BuildSuggestersCommand";
|
|
2
|
-
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
3
|
-
import {
|
|
4
|
-
DefineAnalysisSchemeCommandInput,
|
|
5
|
-
DefineAnalysisSchemeCommandOutput,
|
|
6
|
-
} from "./commands/DefineAnalysisSchemeCommand";
|
|
7
|
-
import { DefineExpressionCommandInput, DefineExpressionCommandOutput } from "./commands/DefineExpressionCommand";
|
|
8
|
-
import { DefineIndexFieldCommandInput, DefineIndexFieldCommandOutput } from "./commands/DefineIndexFieldCommand";
|
|
9
|
-
import { DefineSuggesterCommandInput, DefineSuggesterCommandOutput } from "./commands/DefineSuggesterCommand";
|
|
10
|
-
import {
|
|
11
|
-
DeleteAnalysisSchemeCommandInput,
|
|
12
|
-
DeleteAnalysisSchemeCommandOutput,
|
|
13
|
-
} from "./commands/DeleteAnalysisSchemeCommand";
|
|
14
|
-
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
15
|
-
import { DeleteExpressionCommandInput, DeleteExpressionCommandOutput } from "./commands/DeleteExpressionCommand";
|
|
16
|
-
import { DeleteIndexFieldCommandInput, DeleteIndexFieldCommandOutput } from "./commands/DeleteIndexFieldCommand";
|
|
17
|
-
import { DeleteSuggesterCommandInput, DeleteSuggesterCommandOutput } from "./commands/DeleteSuggesterCommand";
|
|
18
|
-
import {
|
|
19
|
-
DescribeAnalysisSchemesCommandInput,
|
|
20
|
-
DescribeAnalysisSchemesCommandOutput,
|
|
21
|
-
} from "./commands/DescribeAnalysisSchemesCommand";
|
|
22
|
-
import {
|
|
23
|
-
DescribeAvailabilityOptionsCommandInput,
|
|
24
|
-
DescribeAvailabilityOptionsCommandOutput,
|
|
25
|
-
} from "./commands/DescribeAvailabilityOptionsCommand";
|
|
26
|
-
import {
|
|
27
|
-
DescribeDomainEndpointOptionsCommandInput,
|
|
28
|
-
DescribeDomainEndpointOptionsCommandOutput,
|
|
29
|
-
} from "./commands/DescribeDomainEndpointOptionsCommand";
|
|
30
|
-
import { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
31
|
-
import {
|
|
32
|
-
DescribeExpressionsCommandInput,
|
|
33
|
-
DescribeExpressionsCommandOutput,
|
|
34
|
-
} from "./commands/DescribeExpressionsCommand";
|
|
35
|
-
import {
|
|
36
|
-
DescribeIndexFieldsCommandInput,
|
|
37
|
-
DescribeIndexFieldsCommandOutput,
|
|
38
|
-
} from "./commands/DescribeIndexFieldsCommand";
|
|
39
|
-
import {
|
|
40
|
-
DescribeScalingParametersCommandInput,
|
|
41
|
-
DescribeScalingParametersCommandOutput,
|
|
42
|
-
} from "./commands/DescribeScalingParametersCommand";
|
|
43
|
-
import {
|
|
44
|
-
DescribeServiceAccessPoliciesCommandInput,
|
|
45
|
-
DescribeServiceAccessPoliciesCommandOutput,
|
|
46
|
-
} from "./commands/DescribeServiceAccessPoliciesCommand";
|
|
47
|
-
import { DescribeSuggestersCommandInput, DescribeSuggestersCommandOutput } from "./commands/DescribeSuggestersCommand";
|
|
48
|
-
import { IndexDocumentsCommandInput, IndexDocumentsCommandOutput } from "./commands/IndexDocumentsCommand";
|
|
49
|
-
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
50
|
-
import {
|
|
51
|
-
UpdateAvailabilityOptionsCommandInput,
|
|
52
|
-
UpdateAvailabilityOptionsCommandOutput,
|
|
53
|
-
} from "./commands/UpdateAvailabilityOptionsCommand";
|
|
54
|
-
import {
|
|
55
|
-
UpdateDomainEndpointOptionsCommandInput,
|
|
56
|
-
UpdateDomainEndpointOptionsCommandOutput,
|
|
57
|
-
} from "./commands/UpdateDomainEndpointOptionsCommand";
|
|
58
|
-
import {
|
|
59
|
-
UpdateScalingParametersCommandInput,
|
|
60
|
-
UpdateScalingParametersCommandOutput,
|
|
61
|
-
} from "./commands/UpdateScalingParametersCommand";
|
|
62
|
-
import {
|
|
63
|
-
UpdateServiceAccessPoliciesCommandInput,
|
|
64
|
-
UpdateServiceAccessPoliciesCommandOutput,
|
|
65
|
-
} from "./commands/UpdateServiceAccessPoliciesCommand";
|
|
66
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
67
|
-
import {
|
|
68
|
-
EndpointsInputConfig,
|
|
69
|
-
EndpointsResolvedConfig,
|
|
70
|
-
RegionInputConfig,
|
|
71
|
-
RegionResolvedConfig,
|
|
72
|
-
resolveEndpointsConfig,
|
|
73
|
-
resolveRegionConfig,
|
|
74
|
-
} from "@aws-sdk/config-resolver";
|
|
75
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
76
|
-
import {
|
|
77
|
-
HostHeaderInputConfig,
|
|
78
|
-
HostHeaderResolvedConfig,
|
|
79
|
-
getHostHeaderPlugin,
|
|
80
|
-
resolveHostHeaderConfig,
|
|
81
|
-
} from "@aws-sdk/middleware-host-header";
|
|
82
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
83
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
84
|
-
import {
|
|
85
|
-
AwsAuthInputConfig,
|
|
86
|
-
AwsAuthResolvedConfig,
|
|
87
|
-
getAwsAuthPlugin,
|
|
88
|
-
resolveAwsAuthConfig,
|
|
89
|
-
} from "@aws-sdk/middleware-signing";
|
|
90
|
-
import {
|
|
91
|
-
UserAgentInputConfig,
|
|
92
|
-
UserAgentResolvedConfig,
|
|
93
|
-
getUserAgentPlugin,
|
|
94
|
-
resolveUserAgentConfig,
|
|
95
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
96
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
97
|
-
import {
|
|
98
|
-
Client as __Client,
|
|
99
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
100
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
101
|
-
} from "@aws-sdk/smithy-client";
|
|
102
|
-
import {
|
|
103
|
-
Provider,
|
|
104
|
-
RegionInfoProvider,
|
|
105
|
-
Credentials as __Credentials,
|
|
106
|
-
Decoder as __Decoder,
|
|
107
|
-
Encoder as __Encoder,
|
|
108
|
-
Hash as __Hash,
|
|
109
|
-
HashConstructor as __HashConstructor,
|
|
110
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
111
|
-
Logger as __Logger,
|
|
112
|
-
Provider as __Provider,
|
|
113
|
-
StreamCollector as __StreamCollector,
|
|
114
|
-
UrlParser as __UrlParser,
|
|
115
|
-
UserAgent as __UserAgent,
|
|
116
|
-
} from "@aws-sdk/types";
|
|
117
|
-
|
|
118
|
-
export type ServiceInputTypes =
|
|
119
|
-
| BuildSuggestersCommandInput
|
|
120
|
-
| CreateDomainCommandInput
|
|
121
|
-
| DefineAnalysisSchemeCommandInput
|
|
122
|
-
| DefineExpressionCommandInput
|
|
123
|
-
| DefineIndexFieldCommandInput
|
|
124
|
-
| DefineSuggesterCommandInput
|
|
125
|
-
| DeleteAnalysisSchemeCommandInput
|
|
126
|
-
| DeleteDomainCommandInput
|
|
127
|
-
| DeleteExpressionCommandInput
|
|
128
|
-
| DeleteIndexFieldCommandInput
|
|
129
|
-
| DeleteSuggesterCommandInput
|
|
130
|
-
| DescribeAnalysisSchemesCommandInput
|
|
131
|
-
| DescribeAvailabilityOptionsCommandInput
|
|
132
|
-
| DescribeDomainEndpointOptionsCommandInput
|
|
133
|
-
| DescribeDomainsCommandInput
|
|
134
|
-
| DescribeExpressionsCommandInput
|
|
135
|
-
| DescribeIndexFieldsCommandInput
|
|
136
|
-
| DescribeScalingParametersCommandInput
|
|
137
|
-
| DescribeServiceAccessPoliciesCommandInput
|
|
138
|
-
| DescribeSuggestersCommandInput
|
|
139
|
-
| IndexDocumentsCommandInput
|
|
140
|
-
| ListDomainNamesCommandInput
|
|
141
|
-
| UpdateAvailabilityOptionsCommandInput
|
|
142
|
-
| UpdateDomainEndpointOptionsCommandInput
|
|
143
|
-
| UpdateScalingParametersCommandInput
|
|
144
|
-
| UpdateServiceAccessPoliciesCommandInput;
|
|
145
|
-
|
|
146
|
-
export type ServiceOutputTypes =
|
|
147
|
-
| BuildSuggestersCommandOutput
|
|
148
|
-
| CreateDomainCommandOutput
|
|
149
|
-
| DefineAnalysisSchemeCommandOutput
|
|
150
|
-
| DefineExpressionCommandOutput
|
|
151
|
-
| DefineIndexFieldCommandOutput
|
|
152
|
-
| DefineSuggesterCommandOutput
|
|
153
|
-
| DeleteAnalysisSchemeCommandOutput
|
|
154
|
-
| DeleteDomainCommandOutput
|
|
155
|
-
| DeleteExpressionCommandOutput
|
|
156
|
-
| DeleteIndexFieldCommandOutput
|
|
157
|
-
| DeleteSuggesterCommandOutput
|
|
158
|
-
| DescribeAnalysisSchemesCommandOutput
|
|
159
|
-
| DescribeAvailabilityOptionsCommandOutput
|
|
160
|
-
| DescribeDomainEndpointOptionsCommandOutput
|
|
161
|
-
| DescribeDomainsCommandOutput
|
|
162
|
-
| DescribeExpressionsCommandOutput
|
|
163
|
-
| DescribeIndexFieldsCommandOutput
|
|
164
|
-
| DescribeScalingParametersCommandOutput
|
|
165
|
-
| DescribeServiceAccessPoliciesCommandOutput
|
|
166
|
-
| DescribeSuggestersCommandOutput
|
|
167
|
-
| IndexDocumentsCommandOutput
|
|
168
|
-
| ListDomainNamesCommandOutput
|
|
169
|
-
| UpdateAvailabilityOptionsCommandOutput
|
|
170
|
-
| UpdateDomainEndpointOptionsCommandOutput
|
|
171
|
-
| UpdateScalingParametersCommandOutput
|
|
172
|
-
| UpdateServiceAccessPoliciesCommandOutput;
|
|
173
|
-
|
|
174
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
175
|
-
/**
|
|
176
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
177
|
-
*/
|
|
178
|
-
requestHandler?: __HttpHandler;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
182
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
185
|
-
sha256?: __HashConstructor;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
urlParser?: __UrlParser;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* A function that can calculate the length of a request body.
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* A function that converts a stream into an array of bytes.
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
|
-
streamCollector?: __StreamCollector;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
|
-
base64Decoder?: __Decoder;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
base64Encoder?: __Encoder;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
utf8Decoder?: __Decoder;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
utf8Encoder?: __Encoder;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* The runtime environment.
|
|
231
|
-
* @internal
|
|
232
|
-
*/
|
|
233
|
-
runtime?: string;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
237
|
-
* trait of an operation.
|
|
238
|
-
*/
|
|
239
|
-
disableHostPrefix?: boolean;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
243
|
-
*/
|
|
244
|
-
maxAttempts?: number | __Provider<number>;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* Specifies which retry algorithm to use.
|
|
248
|
-
*/
|
|
249
|
-
retryMode?: string | __Provider<string>;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Optional logger for logging debug/info/warn/error.
|
|
253
|
-
*/
|
|
254
|
-
logger?: __Logger;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Unique service identifier.
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
|
-
serviceId?: string;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* The AWS region to which this client will send requests
|
|
264
|
-
*/
|
|
265
|
-
region?: string | __Provider<string>;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Default credentials provider; Not available in browser runtime.
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
281
|
-
* @internal
|
|
282
|
-
*/
|
|
283
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
type CloudSearchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
287
|
-
ClientDefaults &
|
|
288
|
-
RegionInputConfig &
|
|
289
|
-
EndpointsInputConfig &
|
|
290
|
-
RetryInputConfig &
|
|
291
|
-
HostHeaderInputConfig &
|
|
292
|
-
AwsAuthInputConfig &
|
|
293
|
-
UserAgentInputConfig;
|
|
294
|
-
/**
|
|
295
|
-
* The configuration interface of CloudSearchClient class constructor that set the region, credentials and other options.
|
|
296
|
-
*/
|
|
297
|
-
export interface CloudSearchClientConfig extends CloudSearchClientConfigType {}
|
|
298
|
-
|
|
299
|
-
type CloudSearchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
300
|
-
Required<ClientDefaults> &
|
|
301
|
-
RegionResolvedConfig &
|
|
302
|
-
EndpointsResolvedConfig &
|
|
303
|
-
RetryResolvedConfig &
|
|
304
|
-
HostHeaderResolvedConfig &
|
|
305
|
-
AwsAuthResolvedConfig &
|
|
306
|
-
UserAgentResolvedConfig;
|
|
307
|
-
/**
|
|
308
|
-
* The resolved configuration interface of CloudSearchClient class. This is resolved and normalized from the {@link CloudSearchClientConfig | constructor configuration interface}.
|
|
309
|
-
*/
|
|
310
|
-
export interface CloudSearchClientResolvedConfig extends CloudSearchClientResolvedConfigType {}
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* <fullname>Amazon CloudSearch Configuration Service</fullname>
|
|
314
|
-
* <p>You use the Amazon CloudSearch configuration service to create, configure, and manage search domains.
|
|
315
|
-
* Configuration service requests are submitted using the AWS Query protocol. AWS Query requests
|
|
316
|
-
* are HTTP or HTTPS requests submitted via HTTP GET or POST with a query parameter named Action.</p>
|
|
317
|
-
* <p>The endpoint for configuration service requests is region-specific: cloudsearch.<i>region</i>.amazonaws.com.
|
|
318
|
-
* For example, cloudsearch.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
|
|
319
|
-
* see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#cloudsearch_region" target="_blank">Regions and Endpoints</a>.</p>
|
|
320
|
-
*/
|
|
321
|
-
export class CloudSearchClient extends __Client<
|
|
322
|
-
__HttpHandlerOptions,
|
|
323
|
-
ServiceInputTypes,
|
|
324
|
-
ServiceOutputTypes,
|
|
325
|
-
CloudSearchClientResolvedConfig
|
|
326
|
-
> {
|
|
327
|
-
/**
|
|
328
|
-
* The resolved configuration of CloudSearchClient class. This is resolved and normalized from the {@link CloudSearchClientConfig | constructor configuration interface}.
|
|
329
|
-
*/
|
|
330
|
-
readonly config: CloudSearchClientResolvedConfig;
|
|
331
|
-
|
|
332
|
-
constructor(configuration: CloudSearchClientConfig) {
|
|
333
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
334
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
335
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
336
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
337
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
338
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
339
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
340
|
-
super(_config_6);
|
|
341
|
-
this.config = _config_6;
|
|
342
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
343
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
344
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
345
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
346
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
347
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
352
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
353
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
354
|
-
*/
|
|
355
|
-
destroy(): void {
|
|
356
|
-
super.destroy();
|
|
357
|
-
}
|
|
358
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { BuildSuggestersRequest, BuildSuggestersResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryBuildSuggestersCommand,
|
|
5
|
-
serializeAws_queryBuildSuggestersCommand,
|
|
6
|
-
} from "../protocols/Aws_query";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface BuildSuggestersCommandInput extends BuildSuggestersRequest {}
|
|
21
|
-
export interface BuildSuggestersCommandOutput extends BuildSuggestersResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Indexes the search suggestions. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html#configuring-suggesters">Configuring Suggesters</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudSearchClient, BuildSuggestersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, BuildSuggestersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new BuildSuggestersCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link BuildSuggestersCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link BuildSuggestersCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class BuildSuggestersCommand extends $Command<
|
|
41
|
-
BuildSuggestersCommandInput,
|
|
42
|
-
BuildSuggestersCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: BuildSuggestersCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CloudSearchClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<BuildSuggestersCommandInput, BuildSuggestersCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CloudSearchClient";
|
|
68
|
-
const commandName = "BuildSuggestersCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: BuildSuggestersRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: BuildSuggestersResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: BuildSuggestersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryBuildSuggestersCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BuildSuggestersCommandOutput> {
|
|
89
|
-
return deserializeAws_queryBuildSuggestersCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { CreateDomainRequest, CreateDomainResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_queryCreateDomainCommand, serializeAws_queryCreateDomainCommand } from "../protocols/Aws_query";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface CreateDomainCommandInput extends CreateDomainRequest {}
|
|
18
|
-
export interface CreateDomainCommandOutput extends CreateDomainResponse, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Creates a new search domain. For more information,
|
|
22
|
-
* see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/creating-domains.html" target="_blank">Creating a Search Domain</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { CloudSearchClient, CreateDomainCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
27
|
-
* // const { CloudSearchClient, CreateDomainCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
28
|
-
* const client = new CloudSearchClient(config);
|
|
29
|
-
* const command = new CreateDomainCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link CreateDomainCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link CreateDomainCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export class CreateDomainCommand extends $Command<
|
|
39
|
-
CreateDomainCommandInput,
|
|
40
|
-
CreateDomainCommandOutput,
|
|
41
|
-
CloudSearchClientResolvedConfig
|
|
42
|
-
> {
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
|
-
|
|
46
|
-
constructor(readonly input: CreateDomainCommandInput) {
|
|
47
|
-
// Start section: command_constructor
|
|
48
|
-
super();
|
|
49
|
-
// End section: command_constructor
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
|
-
resolveMiddleware(
|
|
56
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
57
|
-
configuration: CloudSearchClientResolvedConfig,
|
|
58
|
-
options?: __HttpHandlerOptions
|
|
59
|
-
): Handler<CreateDomainCommandInput, CreateDomainCommandOutput> {
|
|
60
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
61
|
-
|
|
62
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
63
|
-
|
|
64
|
-
const { logger } = configuration;
|
|
65
|
-
const clientName = "CloudSearchClient";
|
|
66
|
-
const commandName = "CreateDomainCommand";
|
|
67
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
68
|
-
logger,
|
|
69
|
-
clientName,
|
|
70
|
-
commandName,
|
|
71
|
-
inputFilterSensitiveLog: CreateDomainRequest.filterSensitiveLog,
|
|
72
|
-
outputFilterSensitiveLog: CreateDomainResponse.filterSensitiveLog,
|
|
73
|
-
};
|
|
74
|
-
const { requestHandler } = configuration;
|
|
75
|
-
return stack.resolve(
|
|
76
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
77
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
78
|
-
handlerExecutionContext
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
private serialize(input: CreateDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
83
|
-
return serializeAws_queryCreateDomainCommand(input, context);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDomainCommandOutput> {
|
|
87
|
-
return deserializeAws_queryCreateDomainCommand(output, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Start section: command_body_extra
|
|
91
|
-
// End section: command_body_extra
|
|
92
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { DefineAnalysisSchemeRequest, DefineAnalysisSchemeResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryDefineAnalysisSchemeCommand,
|
|
5
|
-
serializeAws_queryDefineAnalysisSchemeCommand,
|
|
6
|
-
} from "../protocols/Aws_query";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DefineAnalysisSchemeCommandInput extends DefineAnalysisSchemeRequest {}
|
|
21
|
-
export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Configures an analysis scheme that can be applied to a <code>text</code> or <code>text-array</code> field to define language-specific text processing options. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html" target="_blank">Configuring Analysis Schemes</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudSearchClient, DefineAnalysisSchemeCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, DefineAnalysisSchemeCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new DefineAnalysisSchemeCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DefineAnalysisSchemeCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DefineAnalysisSchemeCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DefineAnalysisSchemeCommand extends $Command<
|
|
41
|
-
DefineAnalysisSchemeCommandInput,
|
|
42
|
-
DefineAnalysisSchemeCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DefineAnalysisSchemeCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CloudSearchClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DefineAnalysisSchemeCommandInput, DefineAnalysisSchemeCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CloudSearchClient";
|
|
68
|
-
const commandName = "DefineAnalysisSchemeCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DefineAnalysisSchemeRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DefineAnalysisSchemeResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DefineAnalysisSchemeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryDefineAnalysisSchemeCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DefineAnalysisSchemeCommandOutput> {
|
|
89
|
-
return deserializeAws_queryDefineAnalysisSchemeCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|