@aws-sdk/client-opensearchserverless 3.1154.0 → 3.1156.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/README.md +56 -0
- package/dist-cjs/index.js +402 -11
- package/dist-es/OpenSearchServerless.js +20 -0
- package/dist-es/commands/CancelIngestionJobCommand.js +4 -0
- package/dist-es/commands/CreateIngestionJobCommand.js +4 -0
- package/dist-es/commands/CreateIngestionStreamCommand.js +4 -0
- package/dist-es/commands/DeleteIngestionStreamCommand.js +4 -0
- package/dist-es/commands/GetIngestionJobCommand.js +4 -0
- package/dist-es/commands/GetIngestionStreamCommand.js +4 -0
- package/dist-es/commands/ListIngestionJobsCommand.js +4 -0
- package/dist-es/commands/ListIngestionStreamsCommand.js +4 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +44 -0
- package/dist-es/pagination/ListIngestionJobsPaginator.js +4 -0
- package/dist-es/pagination/ListIngestionStreamsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +266 -10
- package/dist-types/OpenSearchServerless.d.ts +70 -0
- package/dist-types/OpenSearchServerlessClient.d.ts +12 -3
- package/dist-types/commands/CancelIngestionJobCommand.d.ts +88 -0
- package/dist-types/commands/CreateIngestionJobCommand.d.ts +141 -0
- package/dist-types/commands/CreateIngestionStreamCommand.d.ts +153 -0
- package/dist-types/commands/DeleteIngestionStreamCommand.d.ts +88 -0
- package/dist-types/commands/GetIngestionJobCommand.d.ts +119 -0
- package/dist-types/commands/GetIngestionStreamCommand.d.ts +125 -0
- package/dist-types/commands/ListIngestionJobsCommand.d.ts +93 -0
- package/dist-types/commands/ListIngestionStreamsCommand.d.ts +93 -0
- package/dist-types/commands/UpdateCollectionCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +158 -0
- package/dist-types/models/models_0.d.ts +723 -2
- package/dist-types/pagination/ListIngestionJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIngestionStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/OpenSearchServerless.d.ts +150 -0
- package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CancelIngestionJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateIngestionJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateIngestionStreamCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteIngestionStreamCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetIngestionStreamCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIngestionStreamsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +51 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -0
- package/dist-types/ts3.4/pagination/ListIngestionJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIngestionStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AccessPolicyType, AutoscalingStatus, CollectionStatus, CollectionType, DeletionProtection, IamIdentityCenterGroupAttribute, IamIdentityCenterUserAttribute, LifecyclePolicyType, ResourceType, SecurityConfigType, SecurityPolicyType, ServerlessGeneration, ServerlessVectorAccelerationStatus, StandbyReplicas, VpcEndpointStatus } from "./enums";
|
|
2
|
+
import type { AccessPolicyType, AutoscalingStatus, CollectionStatus, CollectionType, DeletionProtection, IamIdentityCenterGroupAttribute, IamIdentityCenterUserAttribute, IngestionAlertCode, IngestionFailureCode, IngestionJobStatus, IngestionState, IngestionStreamStatus, InitialScan, LifecyclePolicyType, ResourceType, SecurityConfigType, SecurityPolicyType, ServerlessGeneration, ServerlessVectorAccelerationStatus, StandbyReplicas, VpcEndpointStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -968,6 +968,51 @@ export interface BatchGetVpcEndpointResponse {
|
|
|
968
968
|
*/
|
|
969
969
|
vpcEndpointErrorDetails?: VpcEndpointErrorDetail[] | undefined;
|
|
970
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* @public
|
|
973
|
+
*/
|
|
974
|
+
export interface CancelIngestionJobRequest {
|
|
975
|
+
/**
|
|
976
|
+
* <p>The unique identifier of the collection that the ingestion job belongs to.</p>
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
collectionId: string | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* <p>The unique identifier of the ingestion job to cancel.</p>
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
ingestionJobId: string | undefined;
|
|
985
|
+
/**
|
|
986
|
+
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
clientToken?: string | undefined;
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
994
|
+
export interface CancelIngestionJobResponse {
|
|
995
|
+
/**
|
|
996
|
+
* <p>The unique identifier of the cancelled ingestion job.</p>
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
ingestionJobId?: string | undefined;
|
|
1000
|
+
/**
|
|
1001
|
+
* <p>The unique identifier of the collection that the ingestion job belongs to.</p>
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
1004
|
+
collectionId?: string | undefined;
|
|
1005
|
+
/**
|
|
1006
|
+
* <p>The name of the cancelled ingestion job.</p>
|
|
1007
|
+
* @public
|
|
1008
|
+
*/
|
|
1009
|
+
ingestionJobName?: string | undefined;
|
|
1010
|
+
/**
|
|
1011
|
+
* <p>The current status of the ingestion job.</p>
|
|
1012
|
+
* @public
|
|
1013
|
+
*/
|
|
1014
|
+
status?: IngestionJobStatus | undefined;
|
|
1015
|
+
}
|
|
971
1016
|
/**
|
|
972
1017
|
* <p>Encryption settings for a collection.</p>
|
|
973
1018
|
* @public
|
|
@@ -1287,6 +1332,11 @@ export interface UpdateCollectionRequest {
|
|
|
1287
1332
|
* @public
|
|
1288
1333
|
*/
|
|
1289
1334
|
deletionProtection?: DeletionProtection | undefined;
|
|
1335
|
+
/**
|
|
1336
|
+
* <p>Encryption settings for a collection.</p>
|
|
1337
|
+
* @public
|
|
1338
|
+
*/
|
|
1339
|
+
encryptionConfig?: EncryptionConfig | undefined;
|
|
1290
1340
|
/**
|
|
1291
1341
|
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
1292
1342
|
* @public
|
|
@@ -1328,6 +1378,11 @@ export interface UpdateCollectionDetail {
|
|
|
1328
1378
|
* @public
|
|
1329
1379
|
*/
|
|
1330
1380
|
vectorOptions?: VectorOptions | undefined;
|
|
1381
|
+
/**
|
|
1382
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service (Amazon Web Services KMS) key used to encrypt the collection.</p>
|
|
1383
|
+
* @public
|
|
1384
|
+
*/
|
|
1385
|
+
kmsKeyArn?: string | undefined;
|
|
1331
1386
|
/**
|
|
1332
1387
|
* <p>The Amazon Resource Name (ARN) of the collection.</p>
|
|
1333
1388
|
* @public
|
|
@@ -1566,7 +1621,7 @@ export interface UpdateCollectionGroupRequest {
|
|
|
1566
1621
|
*/
|
|
1567
1622
|
description?: string | undefined;
|
|
1568
1623
|
/**
|
|
1569
|
-
* <p>
|
|
1624
|
+
* <p>The updated capacity limits for the collection group, in OpenSearch Compute Units (OCUs). Updates to capacity limits are not incremental. Any field not specified resets to its default value.</p>
|
|
1570
1625
|
* @public
|
|
1571
1626
|
*/
|
|
1572
1627
|
capacityLimits?: CollectionGroupCapacityLimits | undefined;
|
|
@@ -1678,6 +1733,425 @@ export interface CreateIndexRequest {
|
|
|
1678
1733
|
*/
|
|
1679
1734
|
export interface CreateIndexResponse {
|
|
1680
1735
|
}
|
|
1736
|
+
/**
|
|
1737
|
+
* <p>The Amazon S3 source configuration for an ingestion job.</p>
|
|
1738
|
+
* @public
|
|
1739
|
+
*/
|
|
1740
|
+
export interface IngestionJobS3Source {
|
|
1741
|
+
/**
|
|
1742
|
+
* <p>The name or Amazon Resource Name (ARN) of the Amazon S3 bucket to ingest data from.</p>
|
|
1743
|
+
* @public
|
|
1744
|
+
*/
|
|
1745
|
+
bucket?: string | undefined;
|
|
1746
|
+
/**
|
|
1747
|
+
* <p>The Amazon Web Services account ID that owns the Amazon S3 bucket.</p>
|
|
1748
|
+
* @public
|
|
1749
|
+
*/
|
|
1750
|
+
bucketOwnerAccountId?: string | undefined;
|
|
1751
|
+
/**
|
|
1752
|
+
* <p>A key prefix that limits ingestion to objects in the Amazon S3 bucket whose keys begin with the prefix.</p>
|
|
1753
|
+
* @public
|
|
1754
|
+
*/
|
|
1755
|
+
keyPrefix?: string | undefined;
|
|
1756
|
+
}
|
|
1757
|
+
/**
|
|
1758
|
+
* <p>The source that an ingestion job ingests data from.</p>
|
|
1759
|
+
* @public
|
|
1760
|
+
*/
|
|
1761
|
+
export interface IngestionJobSource {
|
|
1762
|
+
/**
|
|
1763
|
+
* <p>The Amazon S3 source configuration for the ingestion job.</p>
|
|
1764
|
+
* @public
|
|
1765
|
+
*/
|
|
1766
|
+
s3: IngestionJobS3Source | undefined;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* @public
|
|
1770
|
+
*/
|
|
1771
|
+
export interface CreateIngestionJobRequest {
|
|
1772
|
+
/**
|
|
1773
|
+
* <p>The unique identifier of the collection to ingest data into.</p>
|
|
1774
|
+
* @public
|
|
1775
|
+
*/
|
|
1776
|
+
collectionId: string | undefined;
|
|
1777
|
+
/**
|
|
1778
|
+
* <p>The name of the ingestion job. The name must be unique within the collection.</p>
|
|
1779
|
+
* @public
|
|
1780
|
+
*/
|
|
1781
|
+
ingestionJobName: string | undefined;
|
|
1782
|
+
/**
|
|
1783
|
+
* <p>The name of the index to ingest documents into.</p>
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
indexName: string | undefined;
|
|
1787
|
+
/**
|
|
1788
|
+
* <p>The name of the index where documents that fail to be ingested are recorded.</p>
|
|
1789
|
+
* @public
|
|
1790
|
+
*/
|
|
1791
|
+
failureIndexName?: string | undefined;
|
|
1792
|
+
/**
|
|
1793
|
+
* <p>The Amazon S3 source to ingest data from.</p>
|
|
1794
|
+
* @public
|
|
1795
|
+
*/
|
|
1796
|
+
source: IngestionJobSource | undefined;
|
|
1797
|
+
/**
|
|
1798
|
+
* <p>An arbitrary set of tags (key–value pairs) to associate with the ingestion job.</p>
|
|
1799
|
+
* @public
|
|
1800
|
+
*/
|
|
1801
|
+
tags?: Tag[] | undefined;
|
|
1802
|
+
/**
|
|
1803
|
+
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
1804
|
+
* @public
|
|
1805
|
+
*/
|
|
1806
|
+
clientToken?: string | undefined;
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* An active alert about a running ingestion — operational issues
|
|
1810
|
+
* or updates to processing state. Cleared when the issue resolves.
|
|
1811
|
+
* @public
|
|
1812
|
+
*/
|
|
1813
|
+
export interface IngestionAlert {
|
|
1814
|
+
/**
|
|
1815
|
+
* <p>The code that identifies the alert.</p>
|
|
1816
|
+
* @public
|
|
1817
|
+
*/
|
|
1818
|
+
code?: IngestionAlertCode | undefined;
|
|
1819
|
+
/**
|
|
1820
|
+
* <p>A description of the alert.</p>
|
|
1821
|
+
* @public
|
|
1822
|
+
*/
|
|
1823
|
+
message?: string | undefined;
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
* A terminal failure reason explaining why an ingestion stopped.
|
|
1827
|
+
* @public
|
|
1828
|
+
*/
|
|
1829
|
+
export interface IngestionFailureReason {
|
|
1830
|
+
/**
|
|
1831
|
+
* <p>The code that identifies the reason for the failure.</p>
|
|
1832
|
+
* @public
|
|
1833
|
+
*/
|
|
1834
|
+
code?: IngestionFailureCode | undefined;
|
|
1835
|
+
/**
|
|
1836
|
+
* <p>A description of the reason for the failure.</p>
|
|
1837
|
+
* @public
|
|
1838
|
+
*/
|
|
1839
|
+
message?: string | undefined;
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* <p>Processing statistics for the Amazon S3 objects in an ingestion source.</p>
|
|
1843
|
+
* @public
|
|
1844
|
+
*/
|
|
1845
|
+
export interface S3Statistics {
|
|
1846
|
+
/**
|
|
1847
|
+
* <p>The number of Amazon S3 objects discovered for ingestion.</p>
|
|
1848
|
+
* @public
|
|
1849
|
+
*/
|
|
1850
|
+
objectsDiscovered?: number | undefined;
|
|
1851
|
+
/**
|
|
1852
|
+
* <p>The number of Amazon S3 objects successfully ingested.</p>
|
|
1853
|
+
* @public
|
|
1854
|
+
*/
|
|
1855
|
+
objectsIngested?: number | undefined;
|
|
1856
|
+
/**
|
|
1857
|
+
* <p>The number of Amazon S3 objects that failed to be ingested.</p>
|
|
1858
|
+
* @public
|
|
1859
|
+
*/
|
|
1860
|
+
objectsFailed?: number | undefined;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* <p>Processing statistics for an ingestion job or ingestion stream.</p>
|
|
1864
|
+
* @public
|
|
1865
|
+
*/
|
|
1866
|
+
export interface IngestionStatistics {
|
|
1867
|
+
/**
|
|
1868
|
+
* <p>Processing statistics for the Amazon S3 source.</p>
|
|
1869
|
+
* @public
|
|
1870
|
+
*/
|
|
1871
|
+
s3?: S3Statistics | undefined;
|
|
1872
|
+
}
|
|
1873
|
+
/**
|
|
1874
|
+
* <p>Details about an ingestion job.</p>
|
|
1875
|
+
* @public
|
|
1876
|
+
*/
|
|
1877
|
+
export interface IngestionJobDetail {
|
|
1878
|
+
/**
|
|
1879
|
+
* <p>The unique identifier of the ingestion job.</p>
|
|
1880
|
+
* @public
|
|
1881
|
+
*/
|
|
1882
|
+
ingestionJobId?: string | undefined;
|
|
1883
|
+
/**
|
|
1884
|
+
* <p>The Amazon Resource Name (ARN) of the ingestion job.</p>
|
|
1885
|
+
* @public
|
|
1886
|
+
*/
|
|
1887
|
+
arn?: string | undefined;
|
|
1888
|
+
/**
|
|
1889
|
+
* <p>The unique identifier of the collection that the ingestion job belongs to.</p>
|
|
1890
|
+
* @public
|
|
1891
|
+
*/
|
|
1892
|
+
collectionId?: string | undefined;
|
|
1893
|
+
/**
|
|
1894
|
+
* <p>The name of the ingestion job.</p>
|
|
1895
|
+
* @public
|
|
1896
|
+
*/
|
|
1897
|
+
ingestionJobName?: string | undefined;
|
|
1898
|
+
/**
|
|
1899
|
+
* <p>The name of the index that documents are ingested into.</p>
|
|
1900
|
+
* @public
|
|
1901
|
+
*/
|
|
1902
|
+
indexName?: string | undefined;
|
|
1903
|
+
/**
|
|
1904
|
+
* <p>The name of the index where documents that fail to be ingested are recorded.</p>
|
|
1905
|
+
* @public
|
|
1906
|
+
*/
|
|
1907
|
+
failureIndexName?: string | undefined;
|
|
1908
|
+
/**
|
|
1909
|
+
* <p>The Amazon S3 source that the ingestion job ingests data from.</p>
|
|
1910
|
+
* @public
|
|
1911
|
+
*/
|
|
1912
|
+
source?: IngestionJobSource | undefined;
|
|
1913
|
+
/**
|
|
1914
|
+
* <p>The current lifecycle status of the ingestion job. For example, <code>CREATING</code>, <code>ACTIVE</code>, <code>COMPLETED</code>, or <code>CANCELLED</code>.</p>
|
|
1915
|
+
* @public
|
|
1916
|
+
*/
|
|
1917
|
+
status?: IngestionJobStatus | undefined;
|
|
1918
|
+
/**
|
|
1919
|
+
* <p>The current processing state of the ingestion job. For example, <code>SCANNING</code>, <code>INGESTION_IN_PROGRESS</code>, or <code>INGESTION_COMPLETE</code>.</p>
|
|
1920
|
+
* @public
|
|
1921
|
+
*/
|
|
1922
|
+
state?: IngestionState | undefined;
|
|
1923
|
+
/**
|
|
1924
|
+
* <p>Processing statistics for the ingestion job, such as the number of Amazon S3 objects discovered, ingested, and failed.</p>
|
|
1925
|
+
* @public
|
|
1926
|
+
*/
|
|
1927
|
+
statistics?: IngestionStatistics | undefined;
|
|
1928
|
+
/**
|
|
1929
|
+
* <p>The revision number of the ingestion job.</p>
|
|
1930
|
+
* @public
|
|
1931
|
+
*/
|
|
1932
|
+
revision?: number | undefined;
|
|
1933
|
+
/**
|
|
1934
|
+
* <p>The date and time when the ingestion job was created.</p>
|
|
1935
|
+
* @public
|
|
1936
|
+
*/
|
|
1937
|
+
createdAt?: Date | undefined;
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>The date and time when the ingestion job was last updated.</p>
|
|
1940
|
+
* @public
|
|
1941
|
+
*/
|
|
1942
|
+
updatedAt?: Date | undefined;
|
|
1943
|
+
/**
|
|
1944
|
+
* <p>The reasons that the ingestion job reached a terminal failure state, if applicable.</p>
|
|
1945
|
+
* @public
|
|
1946
|
+
*/
|
|
1947
|
+
failureReasons?: IngestionFailureReason[] | undefined;
|
|
1948
|
+
/**
|
|
1949
|
+
* <p>Active alerts about operational issues that currently affect the ingestion job. Alerts are cleared when the issue is resolved.</p>
|
|
1950
|
+
* @public
|
|
1951
|
+
*/
|
|
1952
|
+
activeAlerts?: IngestionAlert[] | undefined;
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
* @public
|
|
1956
|
+
*/
|
|
1957
|
+
export interface CreateIngestionJobResponse {
|
|
1958
|
+
/**
|
|
1959
|
+
* <p>Details about the created ingestion job.</p>
|
|
1960
|
+
* @public
|
|
1961
|
+
*/
|
|
1962
|
+
ingestionJobDetail?: IngestionJobDetail | undefined;
|
|
1963
|
+
}
|
|
1964
|
+
/**
|
|
1965
|
+
* S3 bucket configuration for SQS-driven ingestion. The scan mode controls only
|
|
1966
|
+
* the optional one-time delta scan of existing objects in this bucket.
|
|
1967
|
+
* @public
|
|
1968
|
+
*/
|
|
1969
|
+
export interface StreamBucketConfig {
|
|
1970
|
+
/**
|
|
1971
|
+
* <p>The name or Amazon Resource Name (ARN) of the Amazon S3 bucket to ingest data from.</p>
|
|
1972
|
+
* @public
|
|
1973
|
+
*/
|
|
1974
|
+
bucket: string | undefined;
|
|
1975
|
+
/**
|
|
1976
|
+
* The AWS account ID that owns the S3 bucket. Optional. If omitted, the
|
|
1977
|
+
* control plane derives it from the account segment of sqsArn.
|
|
1978
|
+
* @public
|
|
1979
|
+
*/
|
|
1980
|
+
bucketOwnerAccountId?: string | undefined;
|
|
1981
|
+
/**
|
|
1982
|
+
* <p>Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If <code>DISABLED</code>, only new objects are ingested.</p>
|
|
1983
|
+
* @public
|
|
1984
|
+
*/
|
|
1985
|
+
initialScan?: InitialScan | undefined;
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* <p>The Amazon S3 source configuration for an ingestion stream.</p>
|
|
1989
|
+
* @public
|
|
1990
|
+
*/
|
|
1991
|
+
export interface IngestionStreamS3Source {
|
|
1992
|
+
/**
|
|
1993
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon SQS queue that receives Amazon S3 event notifications for the source buckets.</p>
|
|
1994
|
+
* @public
|
|
1995
|
+
*/
|
|
1996
|
+
sqsArn: string | undefined;
|
|
1997
|
+
/**
|
|
1998
|
+
* <p>The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.</p>
|
|
1999
|
+
* @public
|
|
2000
|
+
*/
|
|
2001
|
+
buckets?: StreamBucketConfig[] | undefined;
|
|
2002
|
+
}
|
|
2003
|
+
/**
|
|
2004
|
+
* <p>The source that an ingestion stream ingests data from.</p>
|
|
2005
|
+
* @public
|
|
2006
|
+
*/
|
|
2007
|
+
export interface IngestionStreamSource {
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>The Amazon S3 source configuration for the ingestion stream.</p>
|
|
2010
|
+
* @public
|
|
2011
|
+
*/
|
|
2012
|
+
s3: IngestionStreamS3Source | undefined;
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* @public
|
|
2016
|
+
*/
|
|
2017
|
+
export interface CreateIngestionStreamRequest {
|
|
2018
|
+
/**
|
|
2019
|
+
* <p>The unique identifier of the collection to ingest data into.</p>
|
|
2020
|
+
* @public
|
|
2021
|
+
*/
|
|
2022
|
+
collectionId: string | undefined;
|
|
2023
|
+
/**
|
|
2024
|
+
* <p>The name of the ingestion stream. The name must be unique within the collection.</p>
|
|
2025
|
+
* @public
|
|
2026
|
+
*/
|
|
2027
|
+
ingestionStreamName: string | undefined;
|
|
2028
|
+
/**
|
|
2029
|
+
* <p>The name of the index to ingest documents into.</p>
|
|
2030
|
+
* @public
|
|
2031
|
+
*/
|
|
2032
|
+
indexName: string | undefined;
|
|
2033
|
+
/**
|
|
2034
|
+
* <p>The name of the index where documents that fail to be ingested are recorded.</p>
|
|
2035
|
+
* @public
|
|
2036
|
+
*/
|
|
2037
|
+
failureIndexName?: string | undefined;
|
|
2038
|
+
/**
|
|
2039
|
+
* <p>The Amazon S3 source to ingest data from, including the Amazon SQS queue that receives S3 event notifications.</p>
|
|
2040
|
+
* @public
|
|
2041
|
+
*/
|
|
2042
|
+
source: IngestionStreamSource | undefined;
|
|
2043
|
+
/**
|
|
2044
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source. The role must be in the same account as the collection.</p>
|
|
2045
|
+
* @public
|
|
2046
|
+
*/
|
|
2047
|
+
roleArn: string | undefined;
|
|
2048
|
+
/**
|
|
2049
|
+
* <p>An arbitrary set of tags (key–value pairs) to associate with the ingestion stream.</p>
|
|
2050
|
+
* @public
|
|
2051
|
+
*/
|
|
2052
|
+
tags?: Tag[] | undefined;
|
|
2053
|
+
/**
|
|
2054
|
+
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
2055
|
+
* @public
|
|
2056
|
+
*/
|
|
2057
|
+
clientToken?: string | undefined;
|
|
2058
|
+
}
|
|
2059
|
+
/**
|
|
2060
|
+
* <p>Details about an ingestion stream.</p>
|
|
2061
|
+
* @public
|
|
2062
|
+
*/
|
|
2063
|
+
export interface IngestionStreamDetail {
|
|
2064
|
+
/**
|
|
2065
|
+
* <p>The unique identifier of the ingestion stream.</p>
|
|
2066
|
+
* @public
|
|
2067
|
+
*/
|
|
2068
|
+
ingestionStreamId?: string | undefined;
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>The Amazon Resource Name (ARN) of the ingestion stream.</p>
|
|
2071
|
+
* @public
|
|
2072
|
+
*/
|
|
2073
|
+
arn?: string | undefined;
|
|
2074
|
+
/**
|
|
2075
|
+
* <p>The unique identifier of the collection that the ingestion stream belongs to.</p>
|
|
2076
|
+
* @public
|
|
2077
|
+
*/
|
|
2078
|
+
collectionId?: string | undefined;
|
|
2079
|
+
/**
|
|
2080
|
+
* <p>The name of the ingestion stream.</p>
|
|
2081
|
+
* @public
|
|
2082
|
+
*/
|
|
2083
|
+
ingestionStreamName?: string | undefined;
|
|
2084
|
+
/**
|
|
2085
|
+
* <p>The name of the index that documents are ingested into.</p>
|
|
2086
|
+
* @public
|
|
2087
|
+
*/
|
|
2088
|
+
indexName?: string | undefined;
|
|
2089
|
+
/**
|
|
2090
|
+
* <p>The name of the index where documents that fail to be ingested are recorded.</p>
|
|
2091
|
+
* @public
|
|
2092
|
+
*/
|
|
2093
|
+
failureIndexName?: string | undefined;
|
|
2094
|
+
/**
|
|
2095
|
+
* <p>The Amazon S3 source that the ingestion stream ingests data from.</p>
|
|
2096
|
+
* @public
|
|
2097
|
+
*/
|
|
2098
|
+
source?: IngestionStreamSource | undefined;
|
|
2099
|
+
/**
|
|
2100
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that OpenSearch Serverless assumes to read data from the source.</p>
|
|
2101
|
+
* @public
|
|
2102
|
+
*/
|
|
2103
|
+
roleArn?: string | undefined;
|
|
2104
|
+
/**
|
|
2105
|
+
* <p>The current lifecycle status of the ingestion stream. For example, <code>CREATING</code>, <code>ACTIVE</code>, or <code>DELETING</code>.</p>
|
|
2106
|
+
* @public
|
|
2107
|
+
*/
|
|
2108
|
+
status?: IngestionStreamStatus | undefined;
|
|
2109
|
+
/**
|
|
2110
|
+
* <p>The current processing state of the ingestion stream. For example, <code>STARTING</code> or <code>INGESTION_IN_PROGRESS</code>.</p>
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
2113
|
+
state?: IngestionState | undefined;
|
|
2114
|
+
/**
|
|
2115
|
+
* <p>Processing statistics for the ingestion stream, such as the number of Amazon S3 objects discovered, ingested, and failed.</p>
|
|
2116
|
+
* @public
|
|
2117
|
+
*/
|
|
2118
|
+
statistics?: IngestionStatistics | undefined;
|
|
2119
|
+
/**
|
|
2120
|
+
* <p>The revision number of the ingestion stream.</p>
|
|
2121
|
+
* @public
|
|
2122
|
+
*/
|
|
2123
|
+
revision?: number | undefined;
|
|
2124
|
+
/**
|
|
2125
|
+
* <p>The date and time when the ingestion stream was created.</p>
|
|
2126
|
+
* @public
|
|
2127
|
+
*/
|
|
2128
|
+
createdAt?: Date | undefined;
|
|
2129
|
+
/**
|
|
2130
|
+
* <p>The date and time when the ingestion stream was last updated.</p>
|
|
2131
|
+
* @public
|
|
2132
|
+
*/
|
|
2133
|
+
updatedAt?: Date | undefined;
|
|
2134
|
+
/**
|
|
2135
|
+
* <p>The reasons that the ingestion stream reached a terminal failure state, if applicable.</p>
|
|
2136
|
+
* @public
|
|
2137
|
+
*/
|
|
2138
|
+
failureReasons?: IngestionFailureReason[] | undefined;
|
|
2139
|
+
/**
|
|
2140
|
+
* <p>Active alerts about operational issues that currently affect the ingestion stream. Alerts are cleared when the issue is resolved.</p>
|
|
2141
|
+
* @public
|
|
2142
|
+
*/
|
|
2143
|
+
activeAlerts?: IngestionAlert[] | undefined;
|
|
2144
|
+
}
|
|
2145
|
+
/**
|
|
2146
|
+
* @public
|
|
2147
|
+
*/
|
|
2148
|
+
export interface CreateIngestionStreamResponse {
|
|
2149
|
+
/**
|
|
2150
|
+
* <p>Details about the created ingestion stream.</p>
|
|
2151
|
+
* @public
|
|
2152
|
+
*/
|
|
2153
|
+
ingestionStreamDetail?: IngestionStreamDetail | undefined;
|
|
2154
|
+
}
|
|
1681
2155
|
/**
|
|
1682
2156
|
* @public
|
|
1683
2157
|
*/
|
|
@@ -2064,6 +2538,51 @@ export interface DeleteIndexRequest {
|
|
|
2064
2538
|
*/
|
|
2065
2539
|
export interface DeleteIndexResponse {
|
|
2066
2540
|
}
|
|
2541
|
+
/**
|
|
2542
|
+
* @public
|
|
2543
|
+
*/
|
|
2544
|
+
export interface DeleteIngestionStreamRequest {
|
|
2545
|
+
/**
|
|
2546
|
+
* <p>The unique identifier of the collection that the ingestion stream belongs to.</p>
|
|
2547
|
+
* @public
|
|
2548
|
+
*/
|
|
2549
|
+
collectionId: string | undefined;
|
|
2550
|
+
/**
|
|
2551
|
+
* <p>The unique identifier of the ingestion stream to delete.</p>
|
|
2552
|
+
* @public
|
|
2553
|
+
*/
|
|
2554
|
+
ingestionStreamId: string | undefined;
|
|
2555
|
+
/**
|
|
2556
|
+
* <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
|
|
2557
|
+
* @public
|
|
2558
|
+
*/
|
|
2559
|
+
clientToken?: string | undefined;
|
|
2560
|
+
}
|
|
2561
|
+
/**
|
|
2562
|
+
* @public
|
|
2563
|
+
*/
|
|
2564
|
+
export interface DeleteIngestionStreamResponse {
|
|
2565
|
+
/**
|
|
2566
|
+
* <p>The unique identifier of the deleted ingestion stream.</p>
|
|
2567
|
+
* @public
|
|
2568
|
+
*/
|
|
2569
|
+
ingestionStreamId?: string | undefined;
|
|
2570
|
+
/**
|
|
2571
|
+
* <p>The unique identifier of the collection that the ingestion stream belonged to.</p>
|
|
2572
|
+
* @public
|
|
2573
|
+
*/
|
|
2574
|
+
collectionId?: string | undefined;
|
|
2575
|
+
/**
|
|
2576
|
+
* <p>The name of the deleted ingestion stream.</p>
|
|
2577
|
+
* @public
|
|
2578
|
+
*/
|
|
2579
|
+
ingestionStreamName?: string | undefined;
|
|
2580
|
+
/**
|
|
2581
|
+
* <p>The current status of the ingestion stream.</p>
|
|
2582
|
+
* @public
|
|
2583
|
+
*/
|
|
2584
|
+
status?: IngestionStreamStatus | undefined;
|
|
2585
|
+
}
|
|
2067
2586
|
/**
|
|
2068
2587
|
* @public
|
|
2069
2588
|
*/
|
|
@@ -2220,6 +2739,56 @@ export interface GetIndexResponse {
|
|
|
2220
2739
|
*/
|
|
2221
2740
|
indexSchema?: __DocumentType | undefined;
|
|
2222
2741
|
}
|
|
2742
|
+
/**
|
|
2743
|
+
* @public
|
|
2744
|
+
*/
|
|
2745
|
+
export interface GetIngestionJobRequest {
|
|
2746
|
+
/**
|
|
2747
|
+
* <p>The unique identifier of the collection that the ingestion job belongs to.</p>
|
|
2748
|
+
* @public
|
|
2749
|
+
*/
|
|
2750
|
+
collectionId: string | undefined;
|
|
2751
|
+
/**
|
|
2752
|
+
* <p>The unique identifier of the ingestion job to retrieve.</p>
|
|
2753
|
+
* @public
|
|
2754
|
+
*/
|
|
2755
|
+
ingestionJobId: string | undefined;
|
|
2756
|
+
}
|
|
2757
|
+
/**
|
|
2758
|
+
* @public
|
|
2759
|
+
*/
|
|
2760
|
+
export interface GetIngestionJobResponse {
|
|
2761
|
+
/**
|
|
2762
|
+
* <p>Details about the requested ingestion job.</p>
|
|
2763
|
+
* @public
|
|
2764
|
+
*/
|
|
2765
|
+
ingestionJobDetail?: IngestionJobDetail | undefined;
|
|
2766
|
+
}
|
|
2767
|
+
/**
|
|
2768
|
+
* @public
|
|
2769
|
+
*/
|
|
2770
|
+
export interface GetIngestionStreamRequest {
|
|
2771
|
+
/**
|
|
2772
|
+
* <p>The unique identifier of the collection that the ingestion stream belongs to.</p>
|
|
2773
|
+
* @public
|
|
2774
|
+
*/
|
|
2775
|
+
collectionId: string | undefined;
|
|
2776
|
+
/**
|
|
2777
|
+
* <p>The unique identifier of the ingestion stream to retrieve.</p>
|
|
2778
|
+
* @public
|
|
2779
|
+
*/
|
|
2780
|
+
ingestionStreamId: string | undefined;
|
|
2781
|
+
}
|
|
2782
|
+
/**
|
|
2783
|
+
* @public
|
|
2784
|
+
*/
|
|
2785
|
+
export interface GetIngestionStreamResponse {
|
|
2786
|
+
/**
|
|
2787
|
+
* <p>Details about the requested ingestion stream.</p>
|
|
2788
|
+
* @public
|
|
2789
|
+
*/
|
|
2790
|
+
ingestionStreamDetail?: IngestionStreamDetail | undefined;
|
|
2791
|
+
}
|
|
2223
2792
|
/**
|
|
2224
2793
|
* @public
|
|
2225
2794
|
*/
|
|
@@ -2363,6 +2932,158 @@ export interface UpdateIndexRequest {
|
|
|
2363
2932
|
*/
|
|
2364
2933
|
export interface UpdateIndexResponse {
|
|
2365
2934
|
}
|
|
2935
|
+
/**
|
|
2936
|
+
* @public
|
|
2937
|
+
*/
|
|
2938
|
+
export interface ListIngestionJobsRequest {
|
|
2939
|
+
/**
|
|
2940
|
+
* <p>The unique identifier of the collection to list ingestion jobs for.</p>
|
|
2941
|
+
* @public
|
|
2942
|
+
*/
|
|
2943
|
+
collectionId: string | undefined;
|
|
2944
|
+
/**
|
|
2945
|
+
* <p>If your initial <code>ListIngestionJobs</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListIngestionJobs</code> operations, which returns results in the next page.</p>
|
|
2946
|
+
* @public
|
|
2947
|
+
*/
|
|
2948
|
+
nextToken?: string | undefined;
|
|
2949
|
+
/**
|
|
2950
|
+
* <p>The maximum number of results to return. Valid values are 1–100. If you don't specify a value, the default is 100. You can use <code>nextToken</code> to get the next page of results.</p> <p>A response can contain fewer results than <code>maxResults</code>, or no results, and still include a <code>nextToken</code>. To retrieve all results, continue to make the call with the returned <code>nextToken</code> until no <code>nextToken</code> is returned.</p>
|
|
2951
|
+
* @public
|
|
2952
|
+
*/
|
|
2953
|
+
maxResults?: number | undefined;
|
|
2954
|
+
}
|
|
2955
|
+
/**
|
|
2956
|
+
* <p>Summary information about an ingestion job.</p>
|
|
2957
|
+
* @public
|
|
2958
|
+
*/
|
|
2959
|
+
export interface IngestionJobSummary {
|
|
2960
|
+
/**
|
|
2961
|
+
* <p>The unique identifier of the ingestion job.</p>
|
|
2962
|
+
* @public
|
|
2963
|
+
*/
|
|
2964
|
+
ingestionJobId?: string | undefined;
|
|
2965
|
+
/**
|
|
2966
|
+
* <p>The Amazon Resource Name (ARN) of the ingestion job.</p>
|
|
2967
|
+
* @public
|
|
2968
|
+
*/
|
|
2969
|
+
arn?: string | undefined;
|
|
2970
|
+
/**
|
|
2971
|
+
* <p>The name of the ingestion job.</p>
|
|
2972
|
+
* @public
|
|
2973
|
+
*/
|
|
2974
|
+
ingestionJobName?: string | undefined;
|
|
2975
|
+
/**
|
|
2976
|
+
* <p>The name of the index that documents are ingested into.</p>
|
|
2977
|
+
* @public
|
|
2978
|
+
*/
|
|
2979
|
+
indexName?: string | undefined;
|
|
2980
|
+
/**
|
|
2981
|
+
* <p>The current lifecycle status of the ingestion job.</p>
|
|
2982
|
+
* @public
|
|
2983
|
+
*/
|
|
2984
|
+
status?: IngestionJobStatus | undefined;
|
|
2985
|
+
/**
|
|
2986
|
+
* <p>The date and time when the ingestion job was created.</p>
|
|
2987
|
+
* @public
|
|
2988
|
+
*/
|
|
2989
|
+
createdAt?: Date | undefined;
|
|
2990
|
+
/**
|
|
2991
|
+
* <p>The date and time when the ingestion job was last updated.</p>
|
|
2992
|
+
* @public
|
|
2993
|
+
*/
|
|
2994
|
+
updatedAt?: Date | undefined;
|
|
2995
|
+
}
|
|
2996
|
+
/**
|
|
2997
|
+
* @public
|
|
2998
|
+
*/
|
|
2999
|
+
export interface ListIngestionJobsResponse {
|
|
3000
|
+
/**
|
|
3001
|
+
* <p>Summary information about each ingestion job.</p>
|
|
3002
|
+
* @public
|
|
3003
|
+
*/
|
|
3004
|
+
ingestionJobSummaries?: IngestionJobSummary[] | undefined;
|
|
3005
|
+
/**
|
|
3006
|
+
* <p>When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
|
|
3007
|
+
* @public
|
|
3008
|
+
*/
|
|
3009
|
+
nextToken?: string | undefined;
|
|
3010
|
+
}
|
|
3011
|
+
/**
|
|
3012
|
+
* @public
|
|
3013
|
+
*/
|
|
3014
|
+
export interface ListIngestionStreamsRequest {
|
|
3015
|
+
/**
|
|
3016
|
+
* <p>The unique identifier of the collection to list ingestion streams for.</p>
|
|
3017
|
+
* @public
|
|
3018
|
+
*/
|
|
3019
|
+
collectionId: string | undefined;
|
|
3020
|
+
/**
|
|
3021
|
+
* <p>If your initial <code>ListIngestionStreams</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListIngestionStreams</code> operations, which returns results in the next page.</p>
|
|
3022
|
+
* @public
|
|
3023
|
+
*/
|
|
3024
|
+
nextToken?: string | undefined;
|
|
3025
|
+
/**
|
|
3026
|
+
* <p>The maximum number of results to return. Valid values are 1–100. If you don't specify a value, the default is 100. You can use <code>nextToken</code> to get the next page of results.</p> <p>A response can contain fewer results than <code>maxResults</code>, or no results, and still include a <code>nextToken</code>. To retrieve all results, continue to make the call with the returned <code>nextToken</code> until no <code>nextToken</code> is returned.</p>
|
|
3027
|
+
* @public
|
|
3028
|
+
*/
|
|
3029
|
+
maxResults?: number | undefined;
|
|
3030
|
+
}
|
|
3031
|
+
/**
|
|
3032
|
+
* <p>Summary information about an ingestion stream.</p>
|
|
3033
|
+
* @public
|
|
3034
|
+
*/
|
|
3035
|
+
export interface IngestionStreamSummary {
|
|
3036
|
+
/**
|
|
3037
|
+
* <p>The unique identifier of the ingestion stream.</p>
|
|
3038
|
+
* @public
|
|
3039
|
+
*/
|
|
3040
|
+
ingestionStreamId?: string | undefined;
|
|
3041
|
+
/**
|
|
3042
|
+
* <p>The Amazon Resource Name (ARN) of the ingestion stream.</p>
|
|
3043
|
+
* @public
|
|
3044
|
+
*/
|
|
3045
|
+
arn?: string | undefined;
|
|
3046
|
+
/**
|
|
3047
|
+
* <p>The name of the ingestion stream.</p>
|
|
3048
|
+
* @public
|
|
3049
|
+
*/
|
|
3050
|
+
ingestionStreamName?: string | undefined;
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>The name of the index that documents are ingested into.</p>
|
|
3053
|
+
* @public
|
|
3054
|
+
*/
|
|
3055
|
+
indexName?: string | undefined;
|
|
3056
|
+
/**
|
|
3057
|
+
* <p>The current lifecycle status of the ingestion stream.</p>
|
|
3058
|
+
* @public
|
|
3059
|
+
*/
|
|
3060
|
+
status?: IngestionStreamStatus | undefined;
|
|
3061
|
+
/**
|
|
3062
|
+
* <p>The date and time when the ingestion stream was created.</p>
|
|
3063
|
+
* @public
|
|
3064
|
+
*/
|
|
3065
|
+
createdAt?: Date | undefined;
|
|
3066
|
+
/**
|
|
3067
|
+
* <p>The date and time when the ingestion stream was last updated.</p>
|
|
3068
|
+
* @public
|
|
3069
|
+
*/
|
|
3070
|
+
updatedAt?: Date | undefined;
|
|
3071
|
+
}
|
|
3072
|
+
/**
|
|
3073
|
+
* @public
|
|
3074
|
+
*/
|
|
3075
|
+
export interface ListIngestionStreamsResponse {
|
|
3076
|
+
/**
|
|
3077
|
+
* <p>Summary information about each ingestion stream.</p>
|
|
3078
|
+
* @public
|
|
3079
|
+
*/
|
|
3080
|
+
ingestionStreamSummaries?: IngestionStreamSummary[] | undefined;
|
|
3081
|
+
/**
|
|
3082
|
+
* <p>When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
|
|
3083
|
+
* @public
|
|
3084
|
+
*/
|
|
3085
|
+
nextToken?: string | undefined;
|
|
3086
|
+
}
|
|
2366
3087
|
/**
|
|
2367
3088
|
* @public
|
|
2368
3089
|
*/
|