@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
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { DescribeScalingParametersRequest, DescribeScalingParametersResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryDescribeScalingParametersCommand,
|
|
5
|
-
serializeAws_queryDescribeScalingParametersCommand,
|
|
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 DescribeScalingParametersCommandInput extends DescribeScalingParametersRequest {}
|
|
21
|
-
export interface DescribeScalingParametersCommandOutput extends DescribeScalingParametersResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>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 <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html" target="_blank">Configuring Scaling Options</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, DescribeScalingParametersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, DescribeScalingParametersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new DescribeScalingParametersCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeScalingParametersCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeScalingParametersCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeScalingParametersCommand extends $Command<
|
|
41
|
-
DescribeScalingParametersCommandInput,
|
|
42
|
-
DescribeScalingParametersCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeScalingParametersCommandInput) {
|
|
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<DescribeScalingParametersCommandInput, DescribeScalingParametersCommandOutput> {
|
|
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 = "DescribeScalingParametersCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeScalingParametersRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeScalingParametersResponse.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: DescribeScalingParametersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryDescribeScalingParametersCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<DescribeScalingParametersCommandOutput> {
|
|
92
|
-
return deserializeAws_queryDescribeScalingParametersCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { DescribeServiceAccessPoliciesRequest, DescribeServiceAccessPoliciesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryDescribeServiceAccessPoliciesCommand,
|
|
5
|
-
serializeAws_queryDescribeServiceAccessPoliciesCommand,
|
|
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 DescribeServiceAccessPoliciesCommandInput extends DescribeServiceAccessPoliciesRequest {}
|
|
21
|
-
export interface DescribeServiceAccessPoliciesCommandOutput
|
|
22
|
-
extends DescribeServiceAccessPoliciesResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>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 <code>Deployed</code> option to <code>true</code> to show the active configuration and exclude pending changes. For more information,
|
|
27
|
-
* see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html" target="_blank">Configuring Access for a Search Domain</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CloudSearchClient, DescribeServiceAccessPoliciesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
32
|
-
* // const { CloudSearchClient, DescribeServiceAccessPoliciesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
33
|
-
* const client = new CloudSearchClient(config);
|
|
34
|
-
* const command = new DescribeServiceAccessPoliciesCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeServiceAccessPoliciesCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeServiceAccessPoliciesCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeServiceAccessPoliciesCommand extends $Command<
|
|
44
|
-
DescribeServiceAccessPoliciesCommandInput,
|
|
45
|
-
DescribeServiceAccessPoliciesCommandOutput,
|
|
46
|
-
CloudSearchClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeServiceAccessPoliciesCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: CloudSearchClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DescribeServiceAccessPoliciesCommandInput, DescribeServiceAccessPoliciesCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "CloudSearchClient";
|
|
71
|
-
const commandName = "DescribeServiceAccessPoliciesCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeServiceAccessPoliciesRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeServiceAccessPoliciesResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DescribeServiceAccessPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_queryDescribeServiceAccessPoliciesCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<DescribeServiceAccessPoliciesCommandOutput> {
|
|
95
|
-
return deserializeAws_queryDescribeServiceAccessPoliciesCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { DescribeSuggestersRequest, DescribeSuggestersResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryDescribeSuggestersCommand,
|
|
5
|
-
serializeAws_queryDescribeSuggestersCommand,
|
|
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 DescribeSuggestersCommandInput extends DescribeSuggestersRequest {}
|
|
21
|
-
export interface DescribeSuggestersCommandOutput extends DescribeSuggestersResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>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 <code>Deployed</code> option to <code>true</code> to show the active configuration and exclude pending changes. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html" target="_blank">Getting Search Suggestions</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, DescribeSuggestersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, DescribeSuggestersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new DescribeSuggestersCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeSuggestersCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeSuggestersCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeSuggestersCommand extends $Command<
|
|
41
|
-
DescribeSuggestersCommandInput,
|
|
42
|
-
DescribeSuggestersCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeSuggestersCommandInput) {
|
|
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<DescribeSuggestersCommandInput, DescribeSuggestersCommandOutput> {
|
|
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 = "DescribeSuggestersCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeSuggestersRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeSuggestersResponse.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: DescribeSuggestersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryDescribeSuggestersCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSuggestersCommandOutput> {
|
|
89
|
-
return deserializeAws_queryDescribeSuggestersCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { IndexDocumentsRequest, IndexDocumentsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryIndexDocumentsCommand,
|
|
5
|
-
serializeAws_queryIndexDocumentsCommand,
|
|
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 IndexDocumentsCommandInput extends IndexDocumentsRequest {}
|
|
21
|
-
export interface IndexDocumentsCommandOutput extends IndexDocumentsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose <a>OptionStatus</a> is <code>RequiresIndexDocuments</code>.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudSearchClient, IndexDocumentsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, IndexDocumentsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new IndexDocumentsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link IndexDocumentsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link IndexDocumentsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class IndexDocumentsCommand extends $Command<
|
|
41
|
-
IndexDocumentsCommandInput,
|
|
42
|
-
IndexDocumentsCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: IndexDocumentsCommandInput) {
|
|
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<IndexDocumentsCommandInput, IndexDocumentsCommandOutput> {
|
|
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 = "IndexDocumentsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: IndexDocumentsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: IndexDocumentsResponse.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: IndexDocumentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryIndexDocumentsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<IndexDocumentsCommandOutput> {
|
|
89
|
-
return deserializeAws_queryIndexDocumentsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { ListDomainNamesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryListDomainNamesCommand,
|
|
5
|
-
serializeAws_queryListDomainNamesCommand,
|
|
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 ListDomainNamesCommandInput {}
|
|
21
|
-
export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists all search domains owned by an account.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new ListDomainNamesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListDomainNamesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListDomainNamesCommand extends $Command<
|
|
41
|
-
ListDomainNamesCommandInput,
|
|
42
|
-
ListDomainNamesCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListDomainNamesCommandInput) {
|
|
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<ListDomainNamesCommandInput, ListDomainNamesCommandOutput> {
|
|
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 = "ListDomainNamesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: (input: any) => input,
|
|
74
|
-
outputFilterSensitiveLog: ListDomainNamesResponse.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: ListDomainNamesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryListDomainNamesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDomainNamesCommandOutput> {
|
|
89
|
-
return deserializeAws_queryListDomainNamesCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { UpdateAvailabilityOptionsRequest, UpdateAvailabilityOptionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryUpdateAvailabilityOptionsCommand,
|
|
5
|
-
serializeAws_queryUpdateAvailabilityOptionsCommand,
|
|
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 UpdateAvailabilityOptionsCommandInput extends UpdateAvailabilityOptionsRequest {}
|
|
21
|
-
export interface UpdateAvailabilityOptionsCommandOutput extends UpdateAvailabilityOptionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>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 <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html" target="_blank">Configuring Availability Options</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, UpdateAvailabilityOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
29
|
-
* // const { CloudSearchClient, UpdateAvailabilityOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
30
|
-
* const client = new CloudSearchClient(config);
|
|
31
|
-
* const command = new UpdateAvailabilityOptionsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateAvailabilityOptionsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateAvailabilityOptionsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateAvailabilityOptionsCommand extends $Command<
|
|
41
|
-
UpdateAvailabilityOptionsCommandInput,
|
|
42
|
-
UpdateAvailabilityOptionsCommandOutput,
|
|
43
|
-
CloudSearchClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateAvailabilityOptionsCommandInput) {
|
|
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<UpdateAvailabilityOptionsCommandInput, UpdateAvailabilityOptionsCommandOutput> {
|
|
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 = "UpdateAvailabilityOptionsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateAvailabilityOptionsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateAvailabilityOptionsResponse.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: UpdateAvailabilityOptionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_queryUpdateAvailabilityOptionsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<UpdateAvailabilityOptionsCommandOutput> {
|
|
92
|
-
return deserializeAws_queryUpdateAvailabilityOptionsCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
|
|
2
|
-
import { UpdateDomainEndpointOptionsRequest, UpdateDomainEndpointOptionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_queryUpdateDomainEndpointOptionsCommand,
|
|
5
|
-
serializeAws_queryUpdateDomainEndpointOptionsCommand,
|
|
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 UpdateDomainEndpointOptionsCommandInput extends UpdateDomainEndpointOptionsRequest {}
|
|
21
|
-
export interface UpdateDomainEndpointOptionsCommandOutput
|
|
22
|
-
extends UpdateDomainEndpointOptionsResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html" target="_blank">Configuring Domain Endpoint Options</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CloudSearchClient, UpdateDomainEndpointOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
|
|
31
|
-
* // const { CloudSearchClient, UpdateDomainEndpointOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
|
|
32
|
-
* const client = new CloudSearchClient(config);
|
|
33
|
-
* const command = new UpdateDomainEndpointOptionsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UpdateDomainEndpointOptionsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UpdateDomainEndpointOptionsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class UpdateDomainEndpointOptionsCommand extends $Command<
|
|
43
|
-
UpdateDomainEndpointOptionsCommandInput,
|
|
44
|
-
UpdateDomainEndpointOptionsCommandOutput,
|
|
45
|
-
CloudSearchClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: UpdateDomainEndpointOptionsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CloudSearchClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<UpdateDomainEndpointOptionsCommandInput, UpdateDomainEndpointOptionsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CloudSearchClient";
|
|
70
|
-
const commandName = "UpdateDomainEndpointOptionsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: UpdateDomainEndpointOptionsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: UpdateDomainEndpointOptionsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: UpdateDomainEndpointOptionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_queryUpdateDomainEndpointOptionsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<UpdateDomainEndpointOptionsCommandOutput> {
|
|
94
|
-
return deserializeAws_queryUpdateDomainEndpointOptionsCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|