@aws-sdk/client-firehose 3.35.0 → 3.36.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 (123) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist-cjs/Firehose.js +0 -1
  3. package/dist-cjs/FirehoseClient.js +0 -1
  4. package/dist-cjs/commands/CreateDeliveryStreamCommand.js +0 -1
  5. package/dist-cjs/commands/DeleteDeliveryStreamCommand.js +0 -1
  6. package/dist-cjs/commands/DescribeDeliveryStreamCommand.js +0 -1
  7. package/dist-cjs/commands/ListDeliveryStreamsCommand.js +0 -1
  8. package/dist-cjs/commands/ListTagsForDeliveryStreamCommand.js +0 -1
  9. package/dist-cjs/commands/PutRecordBatchCommand.js +0 -1
  10. package/dist-cjs/commands/PutRecordCommand.js +0 -1
  11. package/dist-cjs/commands/StartDeliveryStreamEncryptionCommand.js +0 -1
  12. package/dist-cjs/commands/StopDeliveryStreamEncryptionCommand.js +0 -1
  13. package/dist-cjs/commands/TagDeliveryStreamCommand.js +0 -1
  14. package/dist-cjs/commands/UntagDeliveryStreamCommand.js +0 -1
  15. package/dist-cjs/commands/UpdateDestinationCommand.js +0 -1
  16. package/dist-cjs/endpoints.js +0 -1
  17. package/dist-cjs/index.js +0 -1
  18. package/dist-cjs/models/index.js +0 -1
  19. package/dist-cjs/models/models_0.js +150 -93
  20. package/dist-cjs/protocols/Aws_json1_1.js +132 -1
  21. package/dist-cjs/runtimeConfig.browser.js +2 -3
  22. package/dist-cjs/runtimeConfig.js +3 -4
  23. package/dist-cjs/runtimeConfig.native.js +0 -1
  24. package/dist-cjs/runtimeConfig.shared.js +0 -1
  25. package/dist-es/Firehose.js +0 -1
  26. package/dist-es/FirehoseClient.js +0 -1
  27. package/dist-es/commands/CreateDeliveryStreamCommand.js +0 -1
  28. package/dist-es/commands/DeleteDeliveryStreamCommand.js +0 -1
  29. package/dist-es/commands/DescribeDeliveryStreamCommand.js +0 -1
  30. package/dist-es/commands/ListDeliveryStreamsCommand.js +0 -1
  31. package/dist-es/commands/ListTagsForDeliveryStreamCommand.js +0 -1
  32. package/dist-es/commands/PutRecordBatchCommand.js +0 -1
  33. package/dist-es/commands/PutRecordCommand.js +0 -1
  34. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +0 -1
  35. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +0 -1
  36. package/dist-es/commands/TagDeliveryStreamCommand.js +0 -1
  37. package/dist-es/commands/UntagDeliveryStreamCommand.js +0 -1
  38. package/dist-es/commands/UpdateDestinationCommand.js +0 -1
  39. package/dist-es/endpoints.js +0 -1
  40. package/dist-es/index.js +0 -1
  41. package/dist-es/models/index.js +0 -1
  42. package/dist-es/models/models_0.js +87 -55
  43. package/dist-es/protocols/Aws_json1_1.js +101 -3
  44. package/dist-es/runtimeConfig.browser.js +1 -2
  45. package/dist-es/runtimeConfig.js +2 -3
  46. package/dist-es/runtimeConfig.native.js +0 -1
  47. package/dist-es/runtimeConfig.shared.js +0 -1
  48. package/dist-types/models/models_0.d.ts +524 -397
  49. package/dist-types/ts3.4/models/models_0.d.ts +524 -397
  50. package/package.json +33 -30
  51. package/dist-cjs/Firehose.js.map +0 -1
  52. package/dist-cjs/FirehoseClient.js.map +0 -1
  53. package/dist-cjs/commands/CreateDeliveryStreamCommand.js.map +0 -1
  54. package/dist-cjs/commands/DeleteDeliveryStreamCommand.js.map +0 -1
  55. package/dist-cjs/commands/DescribeDeliveryStreamCommand.js.map +0 -1
  56. package/dist-cjs/commands/ListDeliveryStreamsCommand.js.map +0 -1
  57. package/dist-cjs/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
  58. package/dist-cjs/commands/PutRecordBatchCommand.js.map +0 -1
  59. package/dist-cjs/commands/PutRecordCommand.js.map +0 -1
  60. package/dist-cjs/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
  61. package/dist-cjs/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
  62. package/dist-cjs/commands/TagDeliveryStreamCommand.js.map +0 -1
  63. package/dist-cjs/commands/UntagDeliveryStreamCommand.js.map +0 -1
  64. package/dist-cjs/commands/UpdateDestinationCommand.js.map +0 -1
  65. package/dist-cjs/endpoints.js.map +0 -1
  66. package/dist-cjs/index.js.map +0 -1
  67. package/dist-cjs/models/index.js.map +0 -1
  68. package/dist-cjs/models/models_0.js.map +0 -1
  69. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  70. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  71. package/dist-cjs/runtimeConfig.js.map +0 -1
  72. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  73. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  74. package/dist-es/Firehose.js.map +0 -1
  75. package/dist-es/FirehoseClient.js.map +0 -1
  76. package/dist-es/commands/CreateDeliveryStreamCommand.js.map +0 -1
  77. package/dist-es/commands/DeleteDeliveryStreamCommand.js.map +0 -1
  78. package/dist-es/commands/DescribeDeliveryStreamCommand.js.map +0 -1
  79. package/dist-es/commands/ListDeliveryStreamsCommand.js.map +0 -1
  80. package/dist-es/commands/ListTagsForDeliveryStreamCommand.js.map +0 -1
  81. package/dist-es/commands/PutRecordBatchCommand.js.map +0 -1
  82. package/dist-es/commands/PutRecordCommand.js.map +0 -1
  83. package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js.map +0 -1
  84. package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js.map +0 -1
  85. package/dist-es/commands/TagDeliveryStreamCommand.js.map +0 -1
  86. package/dist-es/commands/UntagDeliveryStreamCommand.js.map +0 -1
  87. package/dist-es/commands/UpdateDestinationCommand.js.map +0 -1
  88. package/dist-es/endpoints.js.map +0 -1
  89. package/dist-es/index.js.map +0 -1
  90. package/dist-es/models/index.js.map +0 -1
  91. package/dist-es/models/models_0.js.map +0 -1
  92. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  93. package/dist-es/runtimeConfig.browser.js.map +0 -1
  94. package/dist-es/runtimeConfig.js.map +0 -1
  95. package/dist-es/runtimeConfig.native.js.map +0 -1
  96. package/dist-es/runtimeConfig.shared.js.map +0 -1
  97. package/jest.config.js +0 -4
  98. package/src/Firehose.ts +0 -705
  99. package/src/FirehoseClient.ts +0 -299
  100. package/src/commands/CreateDeliveryStreamCommand.ts +0 -163
  101. package/src/commands/DeleteDeliveryStreamCommand.ts +0 -104
  102. package/src/commands/DescribeDeliveryStreamCommand.ts +0 -101
  103. package/src/commands/ListDeliveryStreamsCommand.ts +0 -102
  104. package/src/commands/ListTagsForDeliveryStreamCommand.ts +0 -99
  105. package/src/commands/PutRecordBatchCommand.ts +0 -145
  106. package/src/commands/PutRecordCommand.ts +0 -123
  107. package/src/commands/StartDeliveryStreamEncryptionCommand.ts +0 -135
  108. package/src/commands/StopDeliveryStreamEncryptionCommand.ts +0 -119
  109. package/src/commands/TagDeliveryStreamCommand.ts +0 -103
  110. package/src/commands/UntagDeliveryStreamCommand.ts +0 -98
  111. package/src/commands/UpdateDestinationCommand.ts +0 -118
  112. package/src/endpoints.ts +0 -86
  113. package/src/index.ts +0 -15
  114. package/src/models/index.ts +0 -1
  115. package/src/models/models_0.ts +0 -3952
  116. package/src/protocols/Aws_json1_1.ts +0 -3514
  117. package/src/runtimeConfig.browser.ts +0 -41
  118. package/src/runtimeConfig.native.ts +0 -17
  119. package/src/runtimeConfig.shared.ts +0 -17
  120. package/src/runtimeConfig.ts +0 -46
  121. package/tsconfig.es.json +0 -10
  122. package/tsconfig.json +0 -33
  123. package/tsconfig.types.json +0 -9
@@ -1,35 +1,13 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p>Describes hints for the buffering to perform before delivering data to the
4
- * destination. These options are treated as hints, and therefore Kinesis Data Firehose might
5
- * choose to use different values when it is optimal. The <code>SizeInMBs</code> and
6
- * <code>IntervalInSeconds</code> parameters are optional. However, if specify a value for
7
- * one of them, you must also provide a value for the other.</p>
8
- */
9
- export interface BufferingHints {
10
- /**
11
- * <p>Buffer incoming data to the specified size, in MiBs, before delivering it to the
12
- * destination. The default value is 5. This parameter is optional but if you specify a value
13
- * for it, you must also specify a value for <code>IntervalInSeconds</code>, and vice
14
- * versa.</p>
15
- * <p>We recommend setting this parameter to a value greater than the amount of data you
16
- * typically ingest into the delivery stream in 10 seconds. For example, if you typically
17
- * ingest data at 1 MiB/sec, the value should be 10 MiB or higher.</p>
18
- */
19
- SizeInMBs?: number;
20
- /**
21
- * <p>Buffer incoming data for the specified period of time, in seconds, before delivering
22
- * it to the destination. The default value is 300. This parameter is optional but if you
23
- * specify a value for it, you must also specify a value for <code>SizeInMBs</code>, and vice
24
- * versa.</p>
25
- */
2
+ export interface AmazonopensearchserviceBufferingHints {
26
3
  IntervalInSeconds?: number;
4
+ SizeInMBs?: number;
27
5
  }
28
- export declare namespace BufferingHints {
6
+ export declare namespace AmazonopensearchserviceBufferingHints {
29
7
  /**
30
8
  * @internal
31
9
  */
32
- const filterSensitiveLog: (obj: BufferingHints) => any;
10
+ const filterSensitiveLog: (obj: AmazonopensearchserviceBufferingHints) => any;
33
11
  }
34
12
  /**
35
13
  * <p>Describes the Amazon CloudWatch logging options for your delivery stream.</p>
@@ -56,149 +34,13 @@ export declare namespace CloudWatchLoggingOptions {
56
34
  */
57
35
  const filterSensitiveLog: (obj: CloudWatchLoggingOptions) => any;
58
36
  }
59
- export declare enum CompressionFormat {
60
- GZIP = "GZIP",
61
- HADOOP_SNAPPY = "HADOOP_SNAPPY",
62
- SNAPPY = "Snappy",
63
- UNCOMPRESSED = "UNCOMPRESSED",
64
- ZIP = "ZIP"
65
- }
66
- /**
67
- * <p>Another modification has already happened. Fetch <code>VersionId</code> again and use
68
- * it to update the destination.</p>
69
- */
70
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
71
- name: "ConcurrentModificationException";
72
- $fault: "client";
73
- /**
74
- * <p>A message that provides information about the error.</p>
75
- */
76
- message?: string;
77
- }
78
- export declare namespace ConcurrentModificationException {
79
- /**
80
- * @internal
81
- */
82
- const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
83
- }
84
- export declare enum ContentEncoding {
85
- GZIP = "GZIP",
86
- NONE = "NONE"
87
- }
88
- /**
89
- * <p>Describes a <code>COPY</code> command for Amazon Redshift.</p>
90
- */
91
- export interface CopyCommand {
92
- /**
93
- * <p>The name of the target table. The table must already exist in the database.</p>
94
- */
95
- DataTableName: string | undefined;
96
- /**
97
- * <p>A comma-separated list of column names.</p>
98
- */
99
- DataTableColumns?: string;
100
- /**
101
- * <p>Optional parameters to use with the Amazon Redshift <code>COPY</code> command. For
102
- * more information, see the "Optional Parameters" section of <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html">Amazon Redshift COPY command</a>. Some possible
103
- * examples that would apply to Kinesis Data Firehose are as follows:</p>
104
- * <p>
105
- * <code>delimiter '\t' lzop;</code> - fields are delimited with "\t" (TAB character) and
106
- * compressed using lzop.</p>
107
- * <p>
108
- * <code>delimiter '|'</code> - fields are delimited with "|" (this is the default
109
- * delimiter).</p>
110
- * <p>
111
- * <code>delimiter '|' escape</code> - the delimiter should be escaped.</p>
112
- * <p>
113
- * <code>fixedwidth 'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'</code> -
114
- * fields are fixed width in the source, with each width specified after every column in the
115
- * table.</p>
116
- * <p>
117
- * <code>JSON 's3://mybucket/jsonpaths.txt'</code> - data is in JSON format, and the path
118
- * specified is the format of the data.</p>
119
- * <p>For more examples, see <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_COPY_command_examples.html">Amazon Redshift COPY command
120
- * examples</a>.</p>
121
- */
122
- CopyOptions?: string;
123
- }
124
- export declare namespace CopyCommand {
125
- /**
126
- * @internal
127
- */
128
- const filterSensitiveLog: (obj: CopyCommand) => any;
129
- }
130
- export declare enum KeyType {
131
- AWS_OWNED_CMK = "AWS_OWNED_CMK",
132
- CUSTOMER_MANAGED_CMK = "CUSTOMER_MANAGED_CMK"
133
- }
134
- /**
135
- * <p>Specifies the type and Amazon Resource Name (ARN) of the CMK to use for Server-Side
136
- * Encryption (SSE). </p>
137
- */
138
- export interface DeliveryStreamEncryptionConfigurationInput {
139
- /**
140
- * <p>If you set <code>KeyType</code> to <code>CUSTOMER_MANAGED_CMK</code>, you must specify
141
- * the Amazon Resource Name (ARN) of the CMK. If you set <code>KeyType</code> to
142
- * <code>AWS_OWNED_CMK</code>, Kinesis Data Firehose uses a service-account CMK.</p>
143
- */
144
- KeyARN?: string;
145
- /**
146
- * <p>Indicates the type of customer master key (CMK) to use for encryption. The default
147
- * setting is <code>AWS_OWNED_CMK</code>. For more information about CMKs, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys">Customer
148
- * Master Keys (CMKs)</a>. When you invoke <a>CreateDeliveryStream</a> or
149
- * <a>StartDeliveryStreamEncryption</a> with <code>KeyType</code> set to
150
- * CUSTOMER_MANAGED_CMK, Kinesis Data Firehose invokes the Amazon KMS operation <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html">CreateGrant</a> to create a grant that allows the Kinesis Data Firehose service to
151
- * use the customer managed CMK to perform encryption and decryption. Kinesis Data Firehose
152
- * manages that grant. </p>
153
- * <p>When you invoke <a>StartDeliveryStreamEncryption</a> to change the CMK for a
154
- * delivery stream that is encrypted with a customer managed CMK, Kinesis Data Firehose
155
- * schedules the grant it had on the old CMK for retirement.</p>
156
- * <p>You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. If
157
- * a <a>CreateDeliveryStream</a> or <a>StartDeliveryStreamEncryption</a>
158
- * operation exceeds this limit, Kinesis Data Firehose throws a
159
- * <code>LimitExceededException</code>. </p>
160
- * <important>
161
- * <p>To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't
162
- * support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html">About
163
- * Symmetric and Asymmetric CMKs</a> in the AWS Key Management Service developer
164
- * guide.</p>
165
- * </important>
166
- */
167
- KeyType: KeyType | string | undefined;
168
- }
169
- export declare namespace DeliveryStreamEncryptionConfigurationInput {
170
- /**
171
- * @internal
172
- */
173
- const filterSensitiveLog: (obj: DeliveryStreamEncryptionConfigurationInput) => any;
174
- }
175
- export declare type DeliveryStreamType = "DirectPut" | "KinesisStreamAsSource";
176
- /**
177
- * <p>Describes the buffering to perform before delivering data to the Amazon ES
178
- * destination.</p>
179
- */
180
- export interface ElasticsearchBufferingHints {
181
- /**
182
- * <p>Buffer incoming data for the specified period of time, in seconds, before delivering
183
- * it to the destination. The default value is 300 (5 minutes).</p>
184
- */
185
- IntervalInSeconds?: number;
186
- /**
187
- * <p>Buffer incoming data to the specified size, in MBs, before delivering it to the
188
- * destination. The default value is 5.</p>
189
- * <p>We recommend setting this parameter to a value greater than the amount of data you
190
- * typically ingest into the delivery stream in 10 seconds. For example, if you typically
191
- * ingest data at 1 MB/sec, the value should be 10 MB or higher.</p>
192
- */
193
- SizeInMBs?: number;
194
- }
195
- export declare namespace ElasticsearchBufferingHints {
196
- /**
197
- * @internal
198
- */
199
- const filterSensitiveLog: (obj: ElasticsearchBufferingHints) => any;
37
+ export declare enum AmazonopensearchserviceIndexRotationPeriod {
38
+ NoRotation = "NoRotation",
39
+ OneDay = "OneDay",
40
+ OneHour = "OneHour",
41
+ OneMonth = "OneMonth",
42
+ OneWeek = "OneWeek"
200
43
  }
201
- export declare type ElasticsearchIndexRotationPeriod = "NoRotation" | "OneDay" | "OneHour" | "OneMonth" | "OneWeek";
202
44
  export declare enum ProcessorParameterName {
203
45
  BUFFER_INTERVAL_IN_SECONDS = "BufferIntervalInSeconds",
204
46
  BUFFER_SIZE_IN_MB = "BufferSizeInMBs",
@@ -268,26 +110,58 @@ export declare namespace ProcessingConfiguration {
268
110
  */
269
111
  const filterSensitiveLog: (obj: ProcessingConfiguration) => any;
270
112
  }
113
+ export interface AmazonopensearchserviceRetryOptions {
114
+ DurationInSeconds?: number;
115
+ }
116
+ export declare namespace AmazonopensearchserviceRetryOptions {
117
+ /**
118
+ * @internal
119
+ */
120
+ const filterSensitiveLog: (obj: AmazonopensearchserviceRetryOptions) => any;
121
+ }
122
+ export declare enum AmazonopensearchserviceS3BackupMode {
123
+ AllDocuments = "AllDocuments",
124
+ FailedDocumentsOnly = "FailedDocumentsOnly"
125
+ }
271
126
  /**
272
- * <p>Configures retry behavior in case Kinesis Data Firehose is unable to deliver
273
- * documents to Amazon ES.</p>
127
+ * <p>Describes hints for the buffering to perform before delivering data to the
128
+ * destination. These options are treated as hints, and therefore Kinesis Data Firehose might
129
+ * choose to use different values when it is optimal. The <code>SizeInMBs</code> and
130
+ * <code>IntervalInSeconds</code> parameters are optional. However, if specify a value for
131
+ * one of them, you must also provide a value for the other.</p>
274
132
  */
275
- export interface ElasticsearchRetryOptions {
133
+ export interface BufferingHints {
276
134
  /**
277
- * <p>After an initial failure to deliver to Amazon ES, the total amount of time during
278
- * which Kinesis Data Firehose retries delivery (including the first attempt). After this time
279
- * has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5
280
- * minutes). A value of 0 (zero) results in no retries.</p>
135
+ * <p>Buffer incoming data to the specified size, in MiBs, before delivering it to the
136
+ * destination. The default value is 5. This parameter is optional but if you specify a value
137
+ * for it, you must also specify a value for <code>IntervalInSeconds</code>, and vice
138
+ * versa.</p>
139
+ * <p>We recommend setting this parameter to a value greater than the amount of data you
140
+ * typically ingest into the delivery stream in 10 seconds. For example, if you typically
141
+ * ingest data at 1 MiB/sec, the value should be 10 MiB or higher.</p>
281
142
  */
282
- DurationInSeconds?: number;
143
+ SizeInMBs?: number;
144
+ /**
145
+ * <p>Buffer incoming data for the specified period of time, in seconds, before delivering
146
+ * it to the destination. The default value is 300. This parameter is optional but if you
147
+ * specify a value for it, you must also specify a value for <code>SizeInMBs</code>, and vice
148
+ * versa.</p>
149
+ */
150
+ IntervalInSeconds?: number;
283
151
  }
284
- export declare namespace ElasticsearchRetryOptions {
152
+ export declare namespace BufferingHints {
285
153
  /**
286
154
  * @internal
287
155
  */
288
- const filterSensitiveLog: (obj: ElasticsearchRetryOptions) => any;
156
+ const filterSensitiveLog: (obj: BufferingHints) => any;
157
+ }
158
+ export declare enum CompressionFormat {
159
+ GZIP = "GZIP",
160
+ HADOOP_SNAPPY = "HADOOP_SNAPPY",
161
+ SNAPPY = "Snappy",
162
+ UNCOMPRESSED = "UNCOMPRESSED",
163
+ ZIP = "ZIP"
289
164
  }
290
- export declare type ElasticsearchS3BackupMode = "AllDocuments" | "FailedDocumentsOnly";
291
165
  /**
292
166
  * <p>Describes an encryption key for a destination in Amazon S3.</p>
293
167
  */
@@ -454,26 +328,481 @@ export interface VpcConfiguration {
454
328
  * Firehose can't scale out by creating more ENIs when necessary. You might therefore see a
455
329
  * degradation in performance.</p>
456
330
  */
457
- RoleARN: string | undefined;
331
+ RoleARN: string | undefined;
332
+ /**
333
+ * <p>The IDs of the security groups that you want Kinesis Data Firehose to use when it
334
+ * creates ENIs in the VPC of the Amazon ES destination. You can use the same security group
335
+ * that the Amazon ES domain uses or different ones. If you specify different security groups
336
+ * here, ensure that they allow outbound HTTPS traffic to the Amazon ES domain's security
337
+ * group. Also ensure that the Amazon ES domain's security group allows HTTPS traffic from the
338
+ * security groups specified here. If you use the same security group for both your delivery
339
+ * stream and the Amazon ES domain, make sure the security group inbound rule allows HTTPS
340
+ * traffic. For more information about security group rules, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules">Security group
341
+ * rules</a> in the Amazon VPC documentation.</p>
342
+ */
343
+ SecurityGroupIds: string[] | undefined;
344
+ }
345
+ export declare namespace VpcConfiguration {
346
+ /**
347
+ * @internal
348
+ */
349
+ const filterSensitiveLog: (obj: VpcConfiguration) => any;
350
+ }
351
+ export interface AmazonopensearchserviceDestinationConfiguration {
352
+ RoleARN: string | undefined;
353
+ DomainARN?: string;
354
+ ClusterEndpoint?: string;
355
+ IndexName: string | undefined;
356
+ TypeName?: string;
357
+ IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
358
+ BufferingHints?: AmazonopensearchserviceBufferingHints;
359
+ RetryOptions?: AmazonopensearchserviceRetryOptions;
360
+ S3BackupMode?: AmazonopensearchserviceS3BackupMode | string;
361
+ /**
362
+ * <p>Describes the configuration of a destination in Amazon S3.</p>
363
+ */
364
+ S3Configuration: S3DestinationConfiguration | undefined;
365
+ /**
366
+ * <p>Describes a data processing configuration.</p>
367
+ */
368
+ ProcessingConfiguration?: ProcessingConfiguration;
369
+ /**
370
+ * <p>Describes the Amazon CloudWatch logging options for your delivery stream.</p>
371
+ */
372
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
373
+ /**
374
+ * <p>The details of the VPC of the Amazon ES destination.</p>
375
+ */
376
+ VpcConfiguration?: VpcConfiguration;
377
+ }
378
+ export declare namespace AmazonopensearchserviceDestinationConfiguration {
379
+ /**
380
+ * @internal
381
+ */
382
+ const filterSensitiveLog: (obj: AmazonopensearchserviceDestinationConfiguration) => any;
383
+ }
384
+ /**
385
+ * <p>Describes a destination in Amazon S3.</p>
386
+ */
387
+ export interface S3DestinationDescription {
388
+ /**
389
+ * <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information, see
390
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
391
+ * Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
392
+ */
393
+ RoleARN: string | undefined;
394
+ /**
395
+ * <p>The ARN of the S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
396
+ * AWS Service Namespaces</a>.</p>
397
+ */
398
+ BucketARN: string | undefined;
399
+ /**
400
+ * <p>The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3
401
+ * files. You can also specify a custom prefix, as described in <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
402
+ * Objects</a>.</p>
403
+ */
404
+ Prefix?: string;
405
+ /**
406
+ * <p>A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing
407
+ * them to S3. This prefix appears immediately following the bucket name. For information
408
+ * about how to specify this prefix, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
409
+ * Objects</a>.</p>
410
+ */
411
+ ErrorOutputPrefix?: string;
412
+ /**
413
+ * <p>The buffering option. If no value is specified, <code>BufferingHints</code> object
414
+ * default values are used.</p>
415
+ */
416
+ BufferingHints: BufferingHints | undefined;
417
+ /**
418
+ * <p>The compression format. If no value is specified, the default is
419
+ * <code>UNCOMPRESSED</code>.</p>
420
+ */
421
+ CompressionFormat: CompressionFormat | string | undefined;
422
+ /**
423
+ * <p>The encryption configuration. If no value is specified, the default is no
424
+ * encryption.</p>
425
+ */
426
+ EncryptionConfiguration: EncryptionConfiguration | undefined;
427
+ /**
428
+ * <p>The Amazon CloudWatch logging options for your delivery stream.</p>
429
+ */
430
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
431
+ }
432
+ export declare namespace S3DestinationDescription {
433
+ /**
434
+ * @internal
435
+ */
436
+ const filterSensitiveLog: (obj: S3DestinationDescription) => any;
437
+ }
438
+ /**
439
+ * <p>The details of the VPC of the Amazon ES destination.</p>
440
+ */
441
+ export interface VpcConfigurationDescription {
442
+ /**
443
+ * <p>The IDs of the subnets that Kinesis Data Firehose uses to create ENIs in the VPC of the
444
+ * Amazon ES destination. Make sure that the routing tables and inbound and outbound rules
445
+ * allow traffic to flow from the subnets whose IDs are specified here to the subnets that
446
+ * have the destination Amazon ES endpoints. Kinesis Data Firehose creates at least one ENI in
447
+ * each of the subnets that are specified here. Do not delete or modify these ENIs.</p>
448
+ * <p>The number of ENIs that Kinesis Data Firehose creates in the subnets specified here
449
+ * scales up and down automatically based on throughput. To enable Kinesis Data Firehose to
450
+ * scale up the number of ENIs to match throughput, ensure that you have sufficient quota. To
451
+ * help you calculate the quota you need, assume that Kinesis Data Firehose can create up to
452
+ * three ENIs for this delivery stream for each of the subnets specified here. For more
453
+ * information about ENI quota, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-enis">Network Interfaces
454
+ * </a> in the Amazon VPC Quotas topic.</p>
455
+ */
456
+ SubnetIds: string[] | undefined;
457
+ /**
458
+ * <p>The ARN of the IAM role that the delivery stream uses to create endpoints in the
459
+ * destination VPC. You can use your existing Kinesis Data Firehose delivery role or you can
460
+ * specify a new role. In either case, make sure that the role trusts the Kinesis Data
461
+ * Firehose service principal and that it grants the following permissions:</p>
462
+ * <ul>
463
+ * <li>
464
+ * <p>
465
+ * <code>ec2:DescribeVpcs</code>
466
+ * </p>
467
+ * </li>
468
+ * <li>
469
+ * <p>
470
+ * <code>ec2:DescribeVpcAttribute</code>
471
+ * </p>
472
+ * </li>
473
+ * <li>
474
+ * <p>
475
+ * <code>ec2:DescribeSubnets</code>
476
+ * </p>
477
+ * </li>
478
+ * <li>
479
+ * <p>
480
+ * <code>ec2:DescribeSecurityGroups</code>
481
+ * </p>
482
+ * </li>
483
+ * <li>
484
+ * <p>
485
+ * <code>ec2:DescribeNetworkInterfaces</code>
486
+ * </p>
487
+ * </li>
488
+ * <li>
489
+ * <p>
490
+ * <code>ec2:CreateNetworkInterface</code>
491
+ * </p>
492
+ * </li>
493
+ * <li>
494
+ * <p>
495
+ * <code>ec2:CreateNetworkInterfacePermission</code>
496
+ * </p>
497
+ * </li>
498
+ * <li>
499
+ * <p>
500
+ * <code>ec2:DeleteNetworkInterface</code>
501
+ * </p>
502
+ * </li>
503
+ * </ul>
504
+ * <p>If you revoke these permissions after you create the delivery stream, Kinesis Data
505
+ * Firehose can't scale out by creating more ENIs when necessary. You might therefore see a
506
+ * degradation in performance.</p>
507
+ */
508
+ RoleARN: string | undefined;
509
+ /**
510
+ * <p>The IDs of the security groups that Kinesis Data Firehose uses when it creates ENIs in
511
+ * the VPC of the Amazon ES destination. You can use the same security group that the Amazon
512
+ * ES domain uses or different ones. If you specify different security groups, ensure that
513
+ * they allow outbound HTTPS traffic to the Amazon ES domain's security group. Also ensure
514
+ * that the Amazon ES domain's security group allows HTTPS traffic from the security groups
515
+ * specified here. If you use the same security group for both your delivery stream and the
516
+ * Amazon ES domain, make sure the security group inbound rule allows HTTPS traffic. For more
517
+ * information about security group rules, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules">Security group
518
+ * rules</a> in the Amazon VPC documentation.</p>
519
+ */
520
+ SecurityGroupIds: string[] | undefined;
521
+ /**
522
+ * <p>The ID of the Amazon ES destination's VPC.</p>
523
+ */
524
+ VpcId: string | undefined;
525
+ }
526
+ export declare namespace VpcConfigurationDescription {
527
+ /**
528
+ * @internal
529
+ */
530
+ const filterSensitiveLog: (obj: VpcConfigurationDescription) => any;
531
+ }
532
+ export interface AmazonopensearchserviceDestinationDescription {
533
+ RoleARN?: string;
534
+ DomainARN?: string;
535
+ ClusterEndpoint?: string;
536
+ IndexName?: string;
537
+ TypeName?: string;
538
+ IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
539
+ BufferingHints?: AmazonopensearchserviceBufferingHints;
540
+ RetryOptions?: AmazonopensearchserviceRetryOptions;
541
+ S3BackupMode?: AmazonopensearchserviceS3BackupMode | string;
542
+ /**
543
+ * <p>Describes a destination in Amazon S3.</p>
544
+ */
545
+ S3DestinationDescription?: S3DestinationDescription;
546
+ /**
547
+ * <p>Describes a data processing configuration.</p>
548
+ */
549
+ ProcessingConfiguration?: ProcessingConfiguration;
550
+ /**
551
+ * <p>Describes the Amazon CloudWatch logging options for your delivery stream.</p>
552
+ */
553
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
554
+ /**
555
+ * <p>The details of the VPC of the Amazon ES destination.</p>
556
+ */
557
+ VpcConfigurationDescription?: VpcConfigurationDescription;
558
+ }
559
+ export declare namespace AmazonopensearchserviceDestinationDescription {
560
+ /**
561
+ * @internal
562
+ */
563
+ const filterSensitiveLog: (obj: AmazonopensearchserviceDestinationDescription) => any;
564
+ }
565
+ /**
566
+ * <p>Describes an update for a destination in Amazon S3.</p>
567
+ */
568
+ export interface S3DestinationUpdate {
569
+ /**
570
+ * <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information, see
571
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
572
+ * Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
573
+ */
574
+ RoleARN?: string;
575
+ /**
576
+ * <p>The ARN of the S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
577
+ * AWS Service Namespaces</a>.</p>
578
+ */
579
+ BucketARN?: string;
580
+ /**
581
+ * <p>The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3
582
+ * files. You can also specify a custom prefix, as described in <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
583
+ * Objects</a>.</p>
584
+ */
585
+ Prefix?: string;
586
+ /**
587
+ * <p>A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing
588
+ * them to S3. This prefix appears immediately following the bucket name. For information
589
+ * about how to specify this prefix, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
590
+ * Objects</a>.</p>
591
+ */
592
+ ErrorOutputPrefix?: string;
593
+ /**
594
+ * <p>The buffering option. If no value is specified, <code>BufferingHints</code> object
595
+ * default values are used.</p>
596
+ */
597
+ BufferingHints?: BufferingHints;
598
+ /**
599
+ * <p>The compression format. If no value is specified, the default is
600
+ * <code>UNCOMPRESSED</code>.</p>
601
+ * <p>The compression formats <code>SNAPPY</code> or <code>ZIP</code> cannot be specified
602
+ * for Amazon Redshift destinations because they are not supported by the Amazon Redshift
603
+ * <code>COPY</code> operation that reads from the S3 bucket.</p>
604
+ */
605
+ CompressionFormat?: CompressionFormat | string;
606
+ /**
607
+ * <p>The encryption configuration. If no value is specified, the default is no
608
+ * encryption.</p>
609
+ */
610
+ EncryptionConfiguration?: EncryptionConfiguration;
611
+ /**
612
+ * <p>The CloudWatch logging options for your delivery stream.</p>
613
+ */
614
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
615
+ }
616
+ export declare namespace S3DestinationUpdate {
617
+ /**
618
+ * @internal
619
+ */
620
+ const filterSensitiveLog: (obj: S3DestinationUpdate) => any;
621
+ }
622
+ export interface AmazonopensearchserviceDestinationUpdate {
623
+ RoleARN?: string;
624
+ DomainARN?: string;
625
+ ClusterEndpoint?: string;
626
+ IndexName?: string;
627
+ TypeName?: string;
628
+ IndexRotationPeriod?: AmazonopensearchserviceIndexRotationPeriod | string;
629
+ BufferingHints?: AmazonopensearchserviceBufferingHints;
630
+ RetryOptions?: AmazonopensearchserviceRetryOptions;
631
+ /**
632
+ * <p>Describes an update for a destination in Amazon S3.</p>
633
+ */
634
+ S3Update?: S3DestinationUpdate;
635
+ /**
636
+ * <p>Describes a data processing configuration.</p>
637
+ */
638
+ ProcessingConfiguration?: ProcessingConfiguration;
639
+ /**
640
+ * <p>Describes the Amazon CloudWatch logging options for your delivery stream.</p>
641
+ */
642
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
643
+ }
644
+ export declare namespace AmazonopensearchserviceDestinationUpdate {
645
+ /**
646
+ * @internal
647
+ */
648
+ const filterSensitiveLog: (obj: AmazonopensearchserviceDestinationUpdate) => any;
649
+ }
650
+ /**
651
+ * <p>Another modification has already happened. Fetch <code>VersionId</code> again and use
652
+ * it to update the destination.</p>
653
+ */
654
+ export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
655
+ name: "ConcurrentModificationException";
656
+ $fault: "client";
657
+ /**
658
+ * <p>A message that provides information about the error.</p>
659
+ */
660
+ message?: string;
661
+ }
662
+ export declare namespace ConcurrentModificationException {
663
+ /**
664
+ * @internal
665
+ */
666
+ const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
667
+ }
668
+ export declare enum ContentEncoding {
669
+ GZIP = "GZIP",
670
+ NONE = "NONE"
671
+ }
672
+ /**
673
+ * <p>Describes a <code>COPY</code> command for Amazon Redshift.</p>
674
+ */
675
+ export interface CopyCommand {
676
+ /**
677
+ * <p>The name of the target table. The table must already exist in the database.</p>
678
+ */
679
+ DataTableName: string | undefined;
680
+ /**
681
+ * <p>A comma-separated list of column names.</p>
682
+ */
683
+ DataTableColumns?: string;
684
+ /**
685
+ * <p>Optional parameters to use with the Amazon Redshift <code>COPY</code> command. For
686
+ * more information, see the "Optional Parameters" section of <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html">Amazon Redshift COPY command</a>. Some possible
687
+ * examples that would apply to Kinesis Data Firehose are as follows:</p>
688
+ * <p>
689
+ * <code>delimiter '\t' lzop;</code> - fields are delimited with "\t" (TAB character) and
690
+ * compressed using lzop.</p>
691
+ * <p>
692
+ * <code>delimiter '|'</code> - fields are delimited with "|" (this is the default
693
+ * delimiter).</p>
694
+ * <p>
695
+ * <code>delimiter '|' escape</code> - the delimiter should be escaped.</p>
696
+ * <p>
697
+ * <code>fixedwidth 'venueid:3,venuename:25,venuecity:12,venuestate:2,venueseats:6'</code> -
698
+ * fields are fixed width in the source, with each width specified after every column in the
699
+ * table.</p>
700
+ * <p>
701
+ * <code>JSON 's3://mybucket/jsonpaths.txt'</code> - data is in JSON format, and the path
702
+ * specified is the format of the data.</p>
703
+ * <p>For more examples, see <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_COPY_command_examples.html">Amazon Redshift COPY command
704
+ * examples</a>.</p>
705
+ */
706
+ CopyOptions?: string;
707
+ }
708
+ export declare namespace CopyCommand {
709
+ /**
710
+ * @internal
711
+ */
712
+ const filterSensitiveLog: (obj: CopyCommand) => any;
713
+ }
714
+ export declare enum KeyType {
715
+ AWS_OWNED_CMK = "AWS_OWNED_CMK",
716
+ CUSTOMER_MANAGED_CMK = "CUSTOMER_MANAGED_CMK"
717
+ }
718
+ /**
719
+ * <p>Specifies the type and Amazon Resource Name (ARN) of the CMK to use for Server-Side
720
+ * Encryption (SSE). </p>
721
+ */
722
+ export interface DeliveryStreamEncryptionConfigurationInput {
723
+ /**
724
+ * <p>If you set <code>KeyType</code> to <code>CUSTOMER_MANAGED_CMK</code>, you must specify
725
+ * the Amazon Resource Name (ARN) of the CMK. If you set <code>KeyType</code> to
726
+ * <code>AWS_OWNED_CMK</code>, Kinesis Data Firehose uses a service-account CMK.</p>
727
+ */
728
+ KeyARN?: string;
729
+ /**
730
+ * <p>Indicates the type of customer master key (CMK) to use for encryption. The default
731
+ * setting is <code>AWS_OWNED_CMK</code>. For more information about CMKs, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys">Customer
732
+ * Master Keys (CMKs)</a>. When you invoke <a>CreateDeliveryStream</a> or
733
+ * <a>StartDeliveryStreamEncryption</a> with <code>KeyType</code> set to
734
+ * CUSTOMER_MANAGED_CMK, Kinesis Data Firehose invokes the Amazon KMS operation <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_CreateGrant.html">CreateGrant</a> to create a grant that allows the Kinesis Data Firehose service to
735
+ * use the customer managed CMK to perform encryption and decryption. Kinesis Data Firehose
736
+ * manages that grant. </p>
737
+ * <p>When you invoke <a>StartDeliveryStreamEncryption</a> to change the CMK for a
738
+ * delivery stream that is encrypted with a customer managed CMK, Kinesis Data Firehose
739
+ * schedules the grant it had on the old CMK for retirement.</p>
740
+ * <p>You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. If
741
+ * a <a>CreateDeliveryStream</a> or <a>StartDeliveryStreamEncryption</a>
742
+ * operation exceeds this limit, Kinesis Data Firehose throws a
743
+ * <code>LimitExceededException</code>. </p>
744
+ * <important>
745
+ * <p>To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't
746
+ * support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html">About
747
+ * Symmetric and Asymmetric CMKs</a> in the AWS Key Management Service developer
748
+ * guide.</p>
749
+ * </important>
750
+ */
751
+ KeyType: KeyType | string | undefined;
752
+ }
753
+ export declare namespace DeliveryStreamEncryptionConfigurationInput {
754
+ /**
755
+ * @internal
756
+ */
757
+ const filterSensitiveLog: (obj: DeliveryStreamEncryptionConfigurationInput) => any;
758
+ }
759
+ export declare type DeliveryStreamType = "DirectPut" | "KinesisStreamAsSource";
760
+ /**
761
+ * <p>Describes the buffering to perform before delivering data to the Amazon ES
762
+ * destination.</p>
763
+ */
764
+ export interface ElasticsearchBufferingHints {
765
+ /**
766
+ * <p>Buffer incoming data for the specified period of time, in seconds, before delivering
767
+ * it to the destination. The default value is 300 (5 minutes).</p>
768
+ */
769
+ IntervalInSeconds?: number;
458
770
  /**
459
- * <p>The IDs of the security groups that you want Kinesis Data Firehose to use when it
460
- * creates ENIs in the VPC of the Amazon ES destination. You can use the same security group
461
- * that the Amazon ES domain uses or different ones. If you specify different security groups
462
- * here, ensure that they allow outbound HTTPS traffic to the Amazon ES domain's security
463
- * group. Also ensure that the Amazon ES domain's security group allows HTTPS traffic from the
464
- * security groups specified here. If you use the same security group for both your delivery
465
- * stream and the Amazon ES domain, make sure the security group inbound rule allows HTTPS
466
- * traffic. For more information about security group rules, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules">Security group
467
- * rules</a> in the Amazon VPC documentation.</p>
771
+ * <p>Buffer incoming data to the specified size, in MBs, before delivering it to the
772
+ * destination. The default value is 5.</p>
773
+ * <p>We recommend setting this parameter to a value greater than the amount of data you
774
+ * typically ingest into the delivery stream in 10 seconds. For example, if you typically
775
+ * ingest data at 1 MB/sec, the value should be 10 MB or higher.</p>
468
776
  */
469
- SecurityGroupIds: string[] | undefined;
777
+ SizeInMBs?: number;
470
778
  }
471
- export declare namespace VpcConfiguration {
779
+ export declare namespace ElasticsearchBufferingHints {
472
780
  /**
473
781
  * @internal
474
782
  */
475
- const filterSensitiveLog: (obj: VpcConfiguration) => any;
783
+ const filterSensitiveLog: (obj: ElasticsearchBufferingHints) => any;
784
+ }
785
+ export declare type ElasticsearchIndexRotationPeriod = "NoRotation" | "OneDay" | "OneHour" | "OneMonth" | "OneWeek";
786
+ /**
787
+ * <p>Configures retry behavior in case Kinesis Data Firehose is unable to deliver
788
+ * documents to Amazon ES.</p>
789
+ */
790
+ export interface ElasticsearchRetryOptions {
791
+ /**
792
+ * <p>After an initial failure to deliver to Amazon ES, the total amount of time during
793
+ * which Kinesis Data Firehose retries delivery (including the first attempt). After this time
794
+ * has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5
795
+ * minutes). A value of 0 (zero) results in no retries.</p>
796
+ */
797
+ DurationInSeconds?: number;
798
+ }
799
+ export declare namespace ElasticsearchRetryOptions {
800
+ /**
801
+ * @internal
802
+ */
803
+ const filterSensitiveLog: (obj: ElasticsearchRetryOptions) => any;
476
804
  }
805
+ export declare type ElasticsearchS3BackupMode = "AllDocuments" | "FailedDocumentsOnly";
477
806
  /**
478
807
  * <p>Describes the configuration of a destination in Amazon ES.</p>
479
808
  */
@@ -1510,6 +1839,7 @@ export interface CreateDeliveryStreamInput {
1510
1839
  * <p>The destination in Amazon ES. You can specify only one destination.</p>
1511
1840
  */
1512
1841
  ElasticsearchDestinationConfiguration?: ElasticsearchDestinationConfiguration;
1842
+ AmazonopensearchserviceDestinationConfiguration?: AmazonopensearchserviceDestinationConfiguration;
1513
1843
  /**
1514
1844
  * <p>The destination in Splunk. You can specify only one destination.</p>
1515
1845
  */
@@ -1758,154 +2088,6 @@ export declare enum DeliveryStreamStatus {
1758
2088
  DELETING = "DELETING",
1759
2089
  DELETING_FAILED = "DELETING_FAILED"
1760
2090
  }
1761
- /**
1762
- * <p>Describes a destination in Amazon S3.</p>
1763
- */
1764
- export interface S3DestinationDescription {
1765
- /**
1766
- * <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information, see
1767
- * <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
1768
- * Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
1769
- */
1770
- RoleARN: string | undefined;
1771
- /**
1772
- * <p>The ARN of the S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
1773
- * AWS Service Namespaces</a>.</p>
1774
- */
1775
- BucketARN: string | undefined;
1776
- /**
1777
- * <p>The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3
1778
- * files. You can also specify a custom prefix, as described in <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
1779
- * Objects</a>.</p>
1780
- */
1781
- Prefix?: string;
1782
- /**
1783
- * <p>A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing
1784
- * them to S3. This prefix appears immediately following the bucket name. For information
1785
- * about how to specify this prefix, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
1786
- * Objects</a>.</p>
1787
- */
1788
- ErrorOutputPrefix?: string;
1789
- /**
1790
- * <p>The buffering option. If no value is specified, <code>BufferingHints</code> object
1791
- * default values are used.</p>
1792
- */
1793
- BufferingHints: BufferingHints | undefined;
1794
- /**
1795
- * <p>The compression format. If no value is specified, the default is
1796
- * <code>UNCOMPRESSED</code>.</p>
1797
- */
1798
- CompressionFormat: CompressionFormat | string | undefined;
1799
- /**
1800
- * <p>The encryption configuration. If no value is specified, the default is no
1801
- * encryption.</p>
1802
- */
1803
- EncryptionConfiguration: EncryptionConfiguration | undefined;
1804
- /**
1805
- * <p>The Amazon CloudWatch logging options for your delivery stream.</p>
1806
- */
1807
- CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1808
- }
1809
- export declare namespace S3DestinationDescription {
1810
- /**
1811
- * @internal
1812
- */
1813
- const filterSensitiveLog: (obj: S3DestinationDescription) => any;
1814
- }
1815
- /**
1816
- * <p>The details of the VPC of the Amazon ES destination.</p>
1817
- */
1818
- export interface VpcConfigurationDescription {
1819
- /**
1820
- * <p>The IDs of the subnets that Kinesis Data Firehose uses to create ENIs in the VPC of the
1821
- * Amazon ES destination. Make sure that the routing tables and inbound and outbound rules
1822
- * allow traffic to flow from the subnets whose IDs are specified here to the subnets that
1823
- * have the destination Amazon ES endpoints. Kinesis Data Firehose creates at least one ENI in
1824
- * each of the subnets that are specified here. Do not delete or modify these ENIs.</p>
1825
- * <p>The number of ENIs that Kinesis Data Firehose creates in the subnets specified here
1826
- * scales up and down automatically based on throughput. To enable Kinesis Data Firehose to
1827
- * scale up the number of ENIs to match throughput, ensure that you have sufficient quota. To
1828
- * help you calculate the quota you need, assume that Kinesis Data Firehose can create up to
1829
- * three ENIs for this delivery stream for each of the subnets specified here. For more
1830
- * information about ENI quota, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-enis">Network Interfaces
1831
- * </a> in the Amazon VPC Quotas topic.</p>
1832
- */
1833
- SubnetIds: string[] | undefined;
1834
- /**
1835
- * <p>The ARN of the IAM role that the delivery stream uses to create endpoints in the
1836
- * destination VPC. You can use your existing Kinesis Data Firehose delivery role or you can
1837
- * specify a new role. In either case, make sure that the role trusts the Kinesis Data
1838
- * Firehose service principal and that it grants the following permissions:</p>
1839
- * <ul>
1840
- * <li>
1841
- * <p>
1842
- * <code>ec2:DescribeVpcs</code>
1843
- * </p>
1844
- * </li>
1845
- * <li>
1846
- * <p>
1847
- * <code>ec2:DescribeVpcAttribute</code>
1848
- * </p>
1849
- * </li>
1850
- * <li>
1851
- * <p>
1852
- * <code>ec2:DescribeSubnets</code>
1853
- * </p>
1854
- * </li>
1855
- * <li>
1856
- * <p>
1857
- * <code>ec2:DescribeSecurityGroups</code>
1858
- * </p>
1859
- * </li>
1860
- * <li>
1861
- * <p>
1862
- * <code>ec2:DescribeNetworkInterfaces</code>
1863
- * </p>
1864
- * </li>
1865
- * <li>
1866
- * <p>
1867
- * <code>ec2:CreateNetworkInterface</code>
1868
- * </p>
1869
- * </li>
1870
- * <li>
1871
- * <p>
1872
- * <code>ec2:CreateNetworkInterfacePermission</code>
1873
- * </p>
1874
- * </li>
1875
- * <li>
1876
- * <p>
1877
- * <code>ec2:DeleteNetworkInterface</code>
1878
- * </p>
1879
- * </li>
1880
- * </ul>
1881
- * <p>If you revoke these permissions after you create the delivery stream, Kinesis Data
1882
- * Firehose can't scale out by creating more ENIs when necessary. You might therefore see a
1883
- * degradation in performance.</p>
1884
- */
1885
- RoleARN: string | undefined;
1886
- /**
1887
- * <p>The IDs of the security groups that Kinesis Data Firehose uses when it creates ENIs in
1888
- * the VPC of the Amazon ES destination. You can use the same security group that the Amazon
1889
- * ES domain uses or different ones. If you specify different security groups, ensure that
1890
- * they allow outbound HTTPS traffic to the Amazon ES domain's security group. Also ensure
1891
- * that the Amazon ES domain's security group allows HTTPS traffic from the security groups
1892
- * specified here. If you use the same security group for both your delivery stream and the
1893
- * Amazon ES domain, make sure the security group inbound rule allows HTTPS traffic. For more
1894
- * information about security group rules, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#SecurityGroupRules">Security group
1895
- * rules</a> in the Amazon VPC documentation.</p>
1896
- */
1897
- SecurityGroupIds: string[] | undefined;
1898
- /**
1899
- * <p>The ID of the Amazon ES destination's VPC.</p>
1900
- */
1901
- VpcId: string | undefined;
1902
- }
1903
- export declare namespace VpcConfigurationDescription {
1904
- /**
1905
- * @internal
1906
- */
1907
- const filterSensitiveLog: (obj: VpcConfigurationDescription) => any;
1908
- }
1909
2091
  /**
1910
2092
  * <p>The destination description in Amazon ES.</p>
1911
2093
  */
@@ -2267,6 +2449,7 @@ export interface DestinationDescription {
2267
2449
  * <p>The destination in Amazon ES.</p>
2268
2450
  */
2269
2451
  ElasticsearchDestinationDescription?: ElasticsearchDestinationDescription;
2452
+ AmazonopensearchserviceDestinationDescription?: AmazonopensearchserviceDestinationDescription;
2270
2453
  /**
2271
2454
  * <p>The destination in Splunk.</p>
2272
2455
  */
@@ -2444,63 +2627,6 @@ export declare namespace DescribeDeliveryStreamOutput {
2444
2627
  */
2445
2628
  const filterSensitiveLog: (obj: DescribeDeliveryStreamOutput) => any;
2446
2629
  }
2447
- /**
2448
- * <p>Describes an update for a destination in Amazon S3.</p>
2449
- */
2450
- export interface S3DestinationUpdate {
2451
- /**
2452
- * <p>The Amazon Resource Name (ARN) of the AWS credentials. For more information, see
2453
- * <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
2454
- * Resource Names (ARNs) and AWS Service Namespaces</a>.</p>
2455
- */
2456
- RoleARN?: string;
2457
- /**
2458
- * <p>The ARN of the S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and
2459
- * AWS Service Namespaces</a>.</p>
2460
- */
2461
- BucketARN?: string;
2462
- /**
2463
- * <p>The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3
2464
- * files. You can also specify a custom prefix, as described in <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
2465
- * Objects</a>.</p>
2466
- */
2467
- Prefix?: string;
2468
- /**
2469
- * <p>A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing
2470
- * them to S3. This prefix appears immediately following the bucket name. For information
2471
- * about how to specify this prefix, see <a href="https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html">Custom Prefixes for Amazon S3
2472
- * Objects</a>.</p>
2473
- */
2474
- ErrorOutputPrefix?: string;
2475
- /**
2476
- * <p>The buffering option. If no value is specified, <code>BufferingHints</code> object
2477
- * default values are used.</p>
2478
- */
2479
- BufferingHints?: BufferingHints;
2480
- /**
2481
- * <p>The compression format. If no value is specified, the default is
2482
- * <code>UNCOMPRESSED</code>.</p>
2483
- * <p>The compression formats <code>SNAPPY</code> or <code>ZIP</code> cannot be specified
2484
- * for Amazon Redshift destinations because they are not supported by the Amazon Redshift
2485
- * <code>COPY</code> operation that reads from the S3 bucket.</p>
2486
- */
2487
- CompressionFormat?: CompressionFormat | string;
2488
- /**
2489
- * <p>The encryption configuration. If no value is specified, the default is no
2490
- * encryption.</p>
2491
- */
2492
- EncryptionConfiguration?: EncryptionConfiguration;
2493
- /**
2494
- * <p>The CloudWatch logging options for your delivery stream.</p>
2495
- */
2496
- CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
2497
- }
2498
- export declare namespace S3DestinationUpdate {
2499
- /**
2500
- * @internal
2501
- */
2502
- const filterSensitiveLog: (obj: S3DestinationUpdate) => any;
2503
- }
2504
2630
  /**
2505
2631
  * <p>Describes an update for a destination in Amazon ES.</p>
2506
2632
  */
@@ -3201,6 +3327,7 @@ export interface UpdateDestinationInput {
3201
3327
  * <p>Describes an update for a destination in Amazon ES.</p>
3202
3328
  */
3203
3329
  ElasticsearchDestinationUpdate?: ElasticsearchDestinationUpdate;
3330
+ AmazonopensearchserviceDestinationUpdate?: AmazonopensearchserviceDestinationUpdate;
3204
3331
  /**
3205
3332
  * <p>Describes an update for a destination in Splunk.</p>
3206
3333
  */