@aws-sdk/client-cloudsearch 3.952.0 → 3.953.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.
Files changed (46) hide show
  1. package/dist-cjs/index.js +412 -260
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/BuildSuggestersCommand.js +2 -2
  4. package/dist-es/commands/CreateDomainCommand.js +2 -2
  5. package/dist-es/commands/DefineAnalysisSchemeCommand.js +2 -2
  6. package/dist-es/commands/DefineExpressionCommand.js +2 -2
  7. package/dist-es/commands/DefineIndexFieldCommand.js +2 -2
  8. package/dist-es/commands/DefineSuggesterCommand.js +2 -2
  9. package/dist-es/commands/DeleteAnalysisSchemeCommand.js +2 -2
  10. package/dist-es/commands/DeleteDomainCommand.js +2 -2
  11. package/dist-es/commands/DeleteExpressionCommand.js +2 -2
  12. package/dist-es/commands/DeleteIndexFieldCommand.js +2 -2
  13. package/dist-es/commands/DeleteSuggesterCommand.js +2 -2
  14. package/dist-es/commands/DescribeAnalysisSchemesCommand.js +2 -2
  15. package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +2 -2
  16. package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +2 -2
  17. package/dist-es/commands/DescribeDomainsCommand.js +2 -2
  18. package/dist-es/commands/DescribeExpressionsCommand.js +2 -2
  19. package/dist-es/commands/DescribeIndexFieldsCommand.js +2 -2
  20. package/dist-es/commands/DescribeScalingParametersCommand.js +2 -2
  21. package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +2 -2
  22. package/dist-es/commands/DescribeSuggestersCommand.js +2 -2
  23. package/dist-es/commands/IndexDocumentsCommand.js +2 -2
  24. package/dist-es/commands/ListDomainNamesCommand.js +2 -2
  25. package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +2 -2
  26. package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +2 -2
  27. package/dist-es/commands/UpdateScalingParametersCommand.js +2 -2
  28. package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +2 -2
  29. package/dist-es/index.js +1 -0
  30. package/dist-es/runtimeConfig.shared.js +7 -6
  31. package/dist-es/schemas/schemas_0.js +255 -220
  32. package/dist-types/CloudSearchClient.d.ts +1 -10
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  35. package/dist-types/runtimeConfig.d.ts +6 -2
  36. package/dist-types/runtimeConfig.native.d.ts +6 -2
  37. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  38. package/dist-types/schemas/schemas_0.d.ts +118 -129
  39. package/dist-types/ts3.4/CloudSearchClient.d.ts +0 -4
  40. package/dist-types/ts3.4/index.d.ts +1 -0
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +117 -129
  46. package/package.json +34 -34
@@ -26,12 +26,13 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsQueryProtocol({
31
- defaultNamespace: "com.amazonaws.cloudsearch",
32
- xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
33
- version: "2013-01-01",
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.cloudsearch",
32
+ xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
33
+ version: "2013-01-01",
34
+ serviceTarget: "A9SearchCloudConfigService2013",
35
+ },
35
36
  serviceId: config?.serviceId ?? "CloudSearch",
36
37
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
38
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BuildSuggesters } from "../schemas/schemas_0";
4
+ import { BuildSuggesters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BuildSuggestersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BuildSuggestersCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "BuildSuggesters", {})
13
13
  .n("CloudSearchClient", "BuildSuggestersCommand")
14
- .sc(BuildSuggesters)
14
+ .sc(BuildSuggesters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateDomain } from "../schemas/schemas_0";
4
+ import { CreateDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateDomainCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "CreateDomain", {})
13
13
  .n("CloudSearchClient", "CreateDomainCommand")
14
- .sc(CreateDomain)
14
+ .sc(CreateDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DefineAnalysisScheme } from "../schemas/schemas_0";
4
+ import { DefineAnalysisScheme$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DefineAnalysisSchemeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DefineAnalysisSchemeCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DefineAnalysisScheme", {})
13
13
  .n("CloudSearchClient", "DefineAnalysisSchemeCommand")
14
- .sc(DefineAnalysisScheme)
14
+ .sc(DefineAnalysisScheme$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DefineExpression } from "../schemas/schemas_0";
4
+ import { DefineExpression$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DefineExpressionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DefineExpressionCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DefineExpression", {})
13
13
  .n("CloudSearchClient", "DefineExpressionCommand")
14
- .sc(DefineExpression)
14
+ .sc(DefineExpression$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DefineIndexField } from "../schemas/schemas_0";
4
+ import { DefineIndexField$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DefineIndexFieldCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DefineIndexFieldCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DefineIndexField", {})
13
13
  .n("CloudSearchClient", "DefineIndexFieldCommand")
14
- .sc(DefineIndexField)
14
+ .sc(DefineIndexField$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DefineSuggester } from "../schemas/schemas_0";
4
+ import { DefineSuggester$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DefineSuggesterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DefineSuggesterCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DefineSuggester", {})
13
13
  .n("CloudSearchClient", "DefineSuggesterCommand")
14
- .sc(DefineSuggester)
14
+ .sc(DefineSuggester$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteAnalysisScheme } from "../schemas/schemas_0";
4
+ import { DeleteAnalysisScheme$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteAnalysisSchemeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteAnalysisSchemeCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DeleteAnalysisScheme", {})
13
13
  .n("CloudSearchClient", "DeleteAnalysisSchemeCommand")
14
- .sc(DeleteAnalysisScheme)
14
+ .sc(DeleteAnalysisScheme$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteDomain } from "../schemas/schemas_0";
4
+ import { DeleteDomain$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteDomainCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteDomainCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DeleteDomain", {})
13
13
  .n("CloudSearchClient", "DeleteDomainCommand")
14
- .sc(DeleteDomain)
14
+ .sc(DeleteDomain$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteExpression } from "../schemas/schemas_0";
4
+ import { DeleteExpression$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteExpressionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteExpressionCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DeleteExpression", {})
13
13
  .n("CloudSearchClient", "DeleteExpressionCommand")
14
- .sc(DeleteExpression)
14
+ .sc(DeleteExpression$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteIndexField } from "../schemas/schemas_0";
4
+ import { DeleteIndexField$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteIndexFieldCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteIndexFieldCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DeleteIndexField", {})
13
13
  .n("CloudSearchClient", "DeleteIndexFieldCommand")
14
- .sc(DeleteIndexField)
14
+ .sc(DeleteIndexField$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSuggester } from "../schemas/schemas_0";
4
+ import { DeleteSuggester$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSuggesterCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSuggesterCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DeleteSuggester", {})
13
13
  .n("CloudSearchClient", "DeleteSuggesterCommand")
14
- .sc(DeleteSuggester)
14
+ .sc(DeleteSuggester$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeAnalysisSchemes } from "../schemas/schemas_0";
4
+ import { DescribeAnalysisSchemes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAnalysisSchemesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAnalysisSchemesCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeAnalysisSchemes", {})
13
13
  .n("CloudSearchClient", "DescribeAnalysisSchemesCommand")
14
- .sc(DescribeAnalysisSchemes)
14
+ .sc(DescribeAnalysisSchemes$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeAvailabilityOptions } from "../schemas/schemas_0";
4
+ import { DescribeAvailabilityOptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAvailabilityOptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAvailabilityOptionsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeAvailabilityOptions", {})
13
13
  .n("CloudSearchClient", "DescribeAvailabilityOptionsCommand")
14
- .sc(DescribeAvailabilityOptions)
14
+ .sc(DescribeAvailabilityOptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeDomainEndpointOptions } from "../schemas/schemas_0";
4
+ import { DescribeDomainEndpointOptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDomainEndpointOptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDomainEndpointOptionsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeDomainEndpointOptions", {})
13
13
  .n("CloudSearchClient", "DescribeDomainEndpointOptionsCommand")
14
- .sc(DescribeDomainEndpointOptions)
14
+ .sc(DescribeDomainEndpointOptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeDomains } from "../schemas/schemas_0";
4
+ import { DescribeDomains$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeDomainsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeDomainsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeDomains", {})
13
13
  .n("CloudSearchClient", "DescribeDomainsCommand")
14
- .sc(DescribeDomains)
14
+ .sc(DescribeDomains$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeExpressions } from "../schemas/schemas_0";
4
+ import { DescribeExpressions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeExpressionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeExpressionsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeExpressions", {})
13
13
  .n("CloudSearchClient", "DescribeExpressionsCommand")
14
- .sc(DescribeExpressions)
14
+ .sc(DescribeExpressions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeIndexFields } from "../schemas/schemas_0";
4
+ import { DescribeIndexFields$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeIndexFieldsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeIndexFieldsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeIndexFields", {})
13
13
  .n("CloudSearchClient", "DescribeIndexFieldsCommand")
14
- .sc(DescribeIndexFields)
14
+ .sc(DescribeIndexFields$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeScalingParameters } from "../schemas/schemas_0";
4
+ import { DescribeScalingParameters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeScalingParametersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeScalingParametersCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeScalingParameters", {})
13
13
  .n("CloudSearchClient", "DescribeScalingParametersCommand")
14
- .sc(DescribeScalingParameters)
14
+ .sc(DescribeScalingParameters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeServiceAccessPolicies } from "../schemas/schemas_0";
4
+ import { DescribeServiceAccessPolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeServiceAccessPoliciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeServiceAccessPoliciesCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeServiceAccessPolicies", {})
13
13
  .n("CloudSearchClient", "DescribeServiceAccessPoliciesCommand")
14
- .sc(DescribeServiceAccessPolicies)
14
+ .sc(DescribeServiceAccessPolicies$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSuggesters } from "../schemas/schemas_0";
4
+ import { DescribeSuggesters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSuggestersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSuggestersCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "DescribeSuggesters", {})
13
13
  .n("CloudSearchClient", "DescribeSuggestersCommand")
14
- .sc(DescribeSuggesters)
14
+ .sc(DescribeSuggesters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { IndexDocuments } from "../schemas/schemas_0";
4
+ import { IndexDocuments$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class IndexDocumentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class IndexDocumentsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "IndexDocuments", {})
13
13
  .n("CloudSearchClient", "IndexDocumentsCommand")
14
- .sc(IndexDocuments)
14
+ .sc(IndexDocuments$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDomainNames } from "../schemas/schemas_0";
4
+ import { ListDomainNames$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDomainNamesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDomainNamesCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "ListDomainNames", {})
13
13
  .n("CloudSearchClient", "ListDomainNamesCommand")
14
- .sc(ListDomainNames)
14
+ .sc(ListDomainNames$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAvailabilityOptions } from "../schemas/schemas_0";
4
+ import { UpdateAvailabilityOptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAvailabilityOptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAvailabilityOptionsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "UpdateAvailabilityOptions", {})
13
13
  .n("CloudSearchClient", "UpdateAvailabilityOptionsCommand")
14
- .sc(UpdateAvailabilityOptions)
14
+ .sc(UpdateAvailabilityOptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateDomainEndpointOptions } from "../schemas/schemas_0";
4
+ import { UpdateDomainEndpointOptions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateDomainEndpointOptionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateDomainEndpointOptionsCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "UpdateDomainEndpointOptions", {})
13
13
  .n("CloudSearchClient", "UpdateDomainEndpointOptionsCommand")
14
- .sc(UpdateDomainEndpointOptions)
14
+ .sc(UpdateDomainEndpointOptions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateScalingParameters } from "../schemas/schemas_0";
4
+ import { UpdateScalingParameters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateScalingParametersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateScalingParametersCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "UpdateScalingParameters", {})
13
13
  .n("CloudSearchClient", "UpdateScalingParametersCommand")
14
- .sc(UpdateScalingParameters)
14
+ .sc(UpdateScalingParameters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateServiceAccessPolicies } from "../schemas/schemas_0";
4
+ import { UpdateServiceAccessPolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateServiceAccessPoliciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateServiceAccessPoliciesCommand extends $Command
11
11
  })
12
12
  .s("A9SearchCloudConfigService2013", "UpdateServiceAccessPolicies", {})
13
13
  .n("CloudSearchClient", "UpdateServiceAccessPoliciesCommand")
14
- .sc(UpdateServiceAccessPolicies)
14
+ .sc(UpdateServiceAccessPolicies$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./CloudSearchClient";
2
2
  export * from "./CloudSearch";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { CloudSearchServiceException } from "./models/CloudSearchServiceException";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsQueryProtocol({
28
- defaultNamespace: "com.amazonaws.cloudsearch",
29
- xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
30
- version: "2013-01-01",
31
- }),
26
+ protocol: config?.protocol ?? AwsQueryProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.cloudsearch",
29
+ xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
30
+ version: "2013-01-01",
31
+ serviceTarget: "A9SearchCloudConfigService2013",
32
+ },
32
33
  serviceId: config?.serviceId ?? "CloudSearch",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,