@aws-sdk/client-opensearch 3.1086.0 → 3.1088.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 (116) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/OpenSearch.d.ts +311 -352
  3. package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -42
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AcceptInboundConnectionCommand.d.ts +4 -6
  8. package/dist-types/ts3.4/commands/AddDataSourceCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/AddDirectQueryDataSourceCommand.d.ts +4 -6
  10. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +6 -2
  11. package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +4 -9
  12. package/dist-types/ts3.4/commands/AssociatePackagesCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/AttachDataSourceCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/AuthorizeVpcEndpointAccessCommand.d.ts +4 -6
  15. package/dist-types/ts3.4/commands/CancelDomainConfigChangeCommand.d.ts +4 -6
  16. package/dist-types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +4 -6
  17. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +3 -5
  19. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +3 -5
  20. package/dist-types/ts3.4/commands/CreateOutboundConnectionCommand.d.ts +4 -6
  21. package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +4 -9
  22. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +5 -10
  24. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +4 -9
  25. package/dist-types/ts3.4/commands/DeleteDirectQueryDataSourceCommand.d.ts +4 -6
  26. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +3 -5
  27. package/dist-types/ts3.4/commands/DeleteInboundConnectionCommand.d.ts +4 -6
  28. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +3 -5
  29. package/dist-types/ts3.4/commands/DeleteOutboundConnectionCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +4 -9
  31. package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +5 -10
  32. package/dist-types/ts3.4/commands/DeregisterCapabilityCommand.d.ts +5 -10
  33. package/dist-types/ts3.4/commands/DescribeDataSourceAttachmentCommand.d.ts +4 -6
  34. package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +4 -6
  35. package/dist-types/ts3.4/commands/DescribeDomainChangeProgressCommand.d.ts +4 -6
  36. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +4 -9
  37. package/dist-types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +5 -10
  39. package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +5 -10
  40. package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +4 -9
  41. package/dist-types/ts3.4/commands/DescribeDryRunProgressCommand.d.ts +5 -10
  42. package/dist-types/ts3.4/commands/DescribeInboundConnectionsCommand.d.ts +3 -5
  43. package/dist-types/ts3.4/commands/DescribeInsightDetailsCommand.d.ts +5 -10
  44. package/dist-types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +4 -6
  45. package/dist-types/ts3.4/commands/DescribeOutboundConnectionsCommand.d.ts +3 -5
  46. package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +3 -8
  47. package/dist-types/ts3.4/commands/DescribeReservedInstanceOfferingsCommand.d.ts +3 -5
  48. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +3 -5
  49. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +5 -10
  50. package/dist-types/ts3.4/commands/DetachDataSourceCommand.d.ts +4 -9
  51. package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +5 -10
  52. package/dist-types/ts3.4/commands/DissociatePackagesCommand.d.ts +5 -10
  53. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +4 -9
  54. package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +4 -9
  55. package/dist-types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +4 -9
  56. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +4 -9
  57. package/dist-types/ts3.4/commands/GetDefaultApplicationSettingCommand.d.ts +3 -5
  58. package/dist-types/ts3.4/commands/GetDirectQueryDataSourceCommand.d.ts +4 -6
  59. package/dist-types/ts3.4/commands/GetDomainMaintenanceStatusCommand.d.ts +4 -6
  60. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +7 -5
  61. package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +3 -5
  62. package/dist-types/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +4 -6
  63. package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +5 -10
  64. package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +4 -9
  65. package/dist-types/ts3.4/commands/InsightFeedbackCommand.d.ts +4 -9
  66. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +3 -8
  67. package/dist-types/ts3.4/commands/ListDataSourceAttachmentsCommand.d.ts +4 -6
  68. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +4 -9
  69. package/dist-types/ts3.4/commands/ListDirectQueryDataSourcesCommand.d.ts +3 -5
  70. package/dist-types/ts3.4/commands/ListDomainMaintenancesCommand.d.ts +5 -10
  71. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +3 -8
  72. package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +5 -10
  73. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +3 -5
  74. package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +4 -6
  75. package/dist-types/ts3.4/commands/ListMigrationsCommand.d.ts +4 -9
  76. package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +5 -10
  77. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +5 -10
  78. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -5
  79. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +2 -4
  80. package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +5 -10
  81. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +3 -8
  82. package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +4 -6
  83. package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +4 -6
  84. package/dist-types/ts3.4/commands/PutDefaultApplicationSettingCommand.d.ts +4 -6
  85. package/dist-types/ts3.4/commands/RegisterCapabilityCommand.d.ts +5 -10
  86. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +4 -6
  87. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -2
  88. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +4 -6
  89. package/dist-types/ts3.4/commands/RollbackServiceSoftwareUpdateCommand.d.ts +4 -6
  90. package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +5 -10
  91. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +4 -9
  92. package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +4 -6
  93. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +5 -10
  94. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +4 -9
  95. package/dist-types/ts3.4/commands/UpdateDirectQueryDataSourceCommand.d.ts +4 -6
  96. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +5 -10
  97. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +3 -5
  98. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +4 -9
  99. package/dist-types/ts3.4/commands/UpdatePackageScopeCommand.d.ts +5 -10
  100. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +5 -10
  101. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +5 -10
  102. package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +4 -9
  103. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  104. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  105. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  106. package/dist-types/ts3.4/models/enums.d.ts +28 -56
  107. package/dist-types/ts3.4/models/errors.d.ts +12 -39
  108. package/dist-types/ts3.4/models/models_0.d.ts +7 -21
  109. package/dist-types/ts3.4/models/models_1.d.ts +2 -6
  110. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  111. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  112. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  113. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  114. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  115. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  116. package/package.json +39 -39
@@ -3,30 +3,22 @@ import { OpenSearchServiceException as __BaseException } from "./OpenSearchServi
3
3
  export declare class DisabledOperationException extends __BaseException {
4
4
  readonly name: "DisabledOperationException";
5
5
  readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<DisabledOperationException, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<DisabledOperationException, __BaseException>);
9
7
  }
10
8
  export declare class LimitExceededException extends __BaseException {
11
9
  readonly name: "LimitExceededException";
12
10
  readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
15
- );
11
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
16
12
  }
17
13
  export declare class ResourceNotFoundException extends __BaseException {
18
14
  readonly name: "ResourceNotFoundException";
19
15
  readonly $fault: "client";
20
- constructor(
21
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
- );
16
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
23
17
  }
24
18
  export declare class AccessDeniedException extends __BaseException {
25
19
  readonly name: "AccessDeniedException";
26
20
  readonly $fault: "client";
27
- constructor(
28
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
29
- );
21
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
30
22
  }
31
23
  export declare class BaseException extends __BaseException {
32
24
  readonly name: "BaseException";
@@ -36,9 +28,7 @@ export declare class BaseException extends __BaseException {
36
28
  export declare class DependencyFailureException extends __BaseException {
37
29
  readonly name: "DependencyFailureException";
38
30
  readonly $fault: "client";
39
- constructor(
40
- opts: __ExceptionOptionType<DependencyFailureException, __BaseException>
41
- );
31
+ constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
42
32
  }
43
33
  export declare class InternalException extends __BaseException {
44
34
  readonly name: "InternalException";
@@ -48,9 +38,7 @@ export declare class InternalException extends __BaseException {
48
38
  export declare class ValidationException extends __BaseException {
49
39
  readonly name: "ValidationException";
50
40
  readonly $fault: "client";
51
- constructor(
52
- opts: __ExceptionOptionType<ValidationException, __BaseException>
53
- );
41
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
54
42
  }
55
43
  export declare class ConflictException extends __BaseException {
56
44
  readonly name: "ConflictException";
@@ -60,46 +48,31 @@ export declare class ConflictException extends __BaseException {
60
48
  export declare class InvalidTypeException extends __BaseException {
61
49
  readonly name: "InvalidTypeException";
62
50
  readonly $fault: "client";
63
- constructor(
64
- opts: __ExceptionOptionType<InvalidTypeException, __BaseException>
65
- );
51
+ constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
66
52
  }
67
53
  export declare class ResourceAlreadyExistsException extends __BaseException {
68
54
  readonly name: "ResourceAlreadyExistsException";
69
55
  readonly $fault: "client";
70
- constructor(
71
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
72
- );
56
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
73
57
  }
74
58
  export declare class ThrottlingException extends __BaseException {
75
59
  readonly name: "ThrottlingException";
76
60
  readonly $fault: "client";
77
- constructor(
78
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
79
- );
61
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
80
62
  }
81
63
  export declare class InvalidPaginationTokenException extends __BaseException {
82
64
  readonly name: "InvalidPaginationTokenException";
83
65
  readonly $fault: "client";
84
- constructor(
85
- opts: __ExceptionOptionType<
86
- InvalidPaginationTokenException,
87
- __BaseException
88
- >
89
- );
66
+ constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
90
67
  }
91
68
  export declare class ServiceQuotaExceededException extends __BaseException {
92
69
  readonly name: "ServiceQuotaExceededException";
93
70
  readonly $fault: "client";
94
- constructor(
95
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
96
- );
71
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
97
72
  }
98
73
  export declare class SlotNotAvailableException extends __BaseException {
99
74
  readonly name: "SlotNotAvailableException";
100
75
  readonly $fault: "client";
101
76
  SlotSuggestions?: number[] | undefined;
102
- constructor(
103
- opts: __ExceptionOptionType<SlotNotAvailableException, __BaseException>
104
- );
77
+ constructor(opts: __ExceptionOptionType<SlotNotAvailableException, __BaseException>);
105
78
  }
@@ -114,9 +114,7 @@ export interface AccessPoliciesStatus {
114
114
  export interface S3GlueDataCatalog {
115
115
  RoleArn?: string | undefined;
116
116
  }
117
- export type DataSourceType =
118
- | DataSourceType.S3GlueDataCatalogMember
119
- | DataSourceType.$UnknownMember;
117
+ export type DataSourceType = DataSourceType.S3GlueDataCatalogMember | DataSourceType.$UnknownMember;
120
118
  export declare namespace DataSourceType {
121
119
  interface S3GlueDataCatalogMember {
122
120
  S3GlueDataCatalog: S3GlueDataCatalog;
@@ -296,9 +294,7 @@ export interface ServerlessVectorAcceleration {
296
294
  Enabled?: boolean | undefined;
297
295
  }
298
296
  export interface AIMLOptionsInput {
299
- NaturalLanguageQueryGenerationOptions?:
300
- | NaturalLanguageQueryGenerationOptionsInput
301
- | undefined;
297
+ NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsInput | undefined;
302
298
  S3VectorsEngine?: S3VectorsEngine | undefined;
303
299
  ServerlessVectorAcceleration?: ServerlessVectorAcceleration | undefined;
304
300
  }
@@ -307,9 +303,7 @@ export interface NaturalLanguageQueryGenerationOptionsOutput {
307
303
  CurrentState?: NaturalLanguageQueryGenerationCurrentState | undefined;
308
304
  }
309
305
  export interface AIMLOptionsOutput {
310
- NaturalLanguageQueryGenerationOptions?:
311
- | NaturalLanguageQueryGenerationOptionsOutput
312
- | undefined;
306
+ NaturalLanguageQueryGenerationOptions?: NaturalLanguageQueryGenerationOptionsOutput | undefined;
313
307
  S3VectorsEngine?: S3VectorsEngine | undefined;
314
308
  ServerlessVectorAcceleration?: ServerlessVectorAcceleration | undefined;
315
309
  }
@@ -593,9 +587,7 @@ export interface CreateDomainRequest {
593
587
  EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
594
588
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions | undefined;
595
589
  AdvancedOptions?: Record<string, string> | undefined;
596
- LogPublishingOptions?:
597
- | Partial<Record<LogType, LogPublishingOption>>
598
- | undefined;
590
+ LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>> | undefined;
599
591
  DomainEndpointOptions?: DomainEndpointOptions | undefined;
600
592
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput | undefined;
601
593
  IdentityCenterOptions?: IdentityCenterOptionsInput | undefined;
@@ -605,9 +597,7 @@ export interface CreateDomainRequest {
605
597
  SoftwareUpdateOptions?: SoftwareUpdateOptions | undefined;
606
598
  AIMLOptions?: AIMLOptionsInput | undefined;
607
599
  DeploymentStrategyOptions?: DeploymentStrategyOptions | undefined;
608
- AutomatedSnapshotPauseOptions?:
609
- | AutomatedSnapshotPauseRequestOptions
610
- | undefined;
600
+ AutomatedSnapshotPauseOptions?: AutomatedSnapshotPauseRequestOptions | undefined;
611
601
  UseCase?: DomainUseCase | undefined;
612
602
  EngineMode?: EngineMode | undefined;
613
603
  }
@@ -675,9 +665,7 @@ export interface DomainStatus {
675
665
  EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
676
666
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions | undefined;
677
667
  AdvancedOptions?: Record<string, string> | undefined;
678
- LogPublishingOptions?:
679
- | Partial<Record<LogType, LogPublishingOption>>
680
- | undefined;
668
+ LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>> | undefined;
681
669
  ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
682
670
  DomainEndpointOptions?: DomainEndpointOptions | undefined;
683
671
  AdvancedSecurityOptions?: AdvancedSecurityOptions | undefined;
@@ -1056,9 +1044,7 @@ export interface DomainConfig {
1056
1044
  ModifyingProperties?: ModifyingProperties[] | undefined;
1057
1045
  AIMLOptions?: AIMLOptionsStatus | undefined;
1058
1046
  DeploymentStrategyOptions?: DeploymentStrategyOptionsStatus | undefined;
1059
- AutomatedSnapshotPauseOptions?:
1060
- | AutomatedSnapshotPauseOptionsStatus
1061
- | undefined;
1047
+ AutomatedSnapshotPauseOptions?: AutomatedSnapshotPauseOptionsStatus | undefined;
1062
1048
  UseCase?: UseCaseStatus | undefined;
1063
1049
  EngineMode?: EngineModeStatus | undefined;
1064
1050
  }
@@ -261,9 +261,7 @@ export interface UpdateDomainConfigRequest {
261
261
  AdvancedOptions?: Record<string, string> | undefined;
262
262
  AccessPolicies?: string | undefined;
263
263
  IPAddressType?: IPAddressType | undefined;
264
- LogPublishingOptions?:
265
- | Partial<Record<LogType, LogPublishingOption>>
266
- | undefined;
264
+ LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>> | undefined;
267
265
  EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
268
266
  DomainEndpointOptions?: DomainEndpointOptions | undefined;
269
267
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions | undefined;
@@ -276,9 +274,7 @@ export interface UpdateDomainConfigRequest {
276
274
  SoftwareUpdateOptions?: SoftwareUpdateOptions | undefined;
277
275
  AIMLOptions?: AIMLOptionsInput | undefined;
278
276
  DeploymentStrategyOptions?: DeploymentStrategyOptions | undefined;
279
- AutomatedSnapshotPauseOptions?:
280
- | AutomatedSnapshotPauseRequestOptions
281
- | undefined;
277
+ AutomatedSnapshotPauseOptions?: AutomatedSnapshotPauseRequestOptions | undefined;
282
278
  UseCase?: DomainUseCase | undefined;
283
279
  EngineMode?: EngineMode | undefined;
284
280
  }
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { OpenSearchClient } from "../OpenSearchClient";
3
- export interface OpenSearchPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface OpenSearchPaginationConfiguration extends PaginationConfiguration {
5
4
  client: OpenSearchClient;
6
5
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: OpenSearchClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OpenSearchHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearch",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-opensearch"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearch",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-opensearch"
68
68
  }
69
69
  }