aws-sdk 2.992.0 → 2.996.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 (56) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/appintegrations-2020-07-29.min.json +222 -8
  4. package/apis/appsync-2017-07-25.min.json +97 -77
  5. package/apis/connect-2017-08-08.min.json +25 -11
  6. package/apis/ec2-2016-11-15.min.json +25 -15
  7. package/apis/imagebuilder-2019-12-02.min.json +116 -82
  8. package/apis/license-manager-2018-08-01.min.json +186 -72
  9. package/apis/mediaconvert-2017-08-29.min.json +194 -83
  10. package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
  11. package/apis/mediatailor-2018-04-23.min.json +198 -149
  12. package/apis/metadata.json +7 -0
  13. package/apis/models.lex.v2-2020-08-07.min.json +179 -22
  14. package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  15. package/apis/pinpoint-2016-12-01.min.json +226 -213
  16. package/apis/ssm-2014-11-06.min.json +105 -100
  17. package/apis/ssm-2014-11-06.waiters2.json +5 -0
  18. package/apis/voice-id-2021-09-27.examples.json +5 -0
  19. package/apis/voice-id-2021-09-27.min.json +903 -0
  20. package/apis/voice-id-2021-09-27.paginators.json +24 -0
  21. package/apis/wafv2-2019-07-29.min.json +114 -97
  22. package/apis/wisdom-2020-10-19.examples.json +5 -0
  23. package/apis/wisdom-2020-10-19.min.json +1525 -0
  24. package/apis/wisdom-2020-10-19.paginators.json +46 -0
  25. package/clients/all.d.ts +2 -0
  26. package/clients/all.js +3 -1
  27. package/clients/appintegrations.d.ts +273 -2
  28. package/clients/appsync.d.ts +35 -13
  29. package/clients/connect.d.ts +60 -32
  30. package/clients/ec2.d.ts +17 -5
  31. package/clients/elbv2.d.ts +7 -7
  32. package/clients/iam.d.ts +85 -85
  33. package/clients/imagebuilder.d.ts +73 -25
  34. package/clients/lexmodelsv2.d.ts +188 -0
  35. package/clients/licensemanager.d.ts +215 -42
  36. package/clients/mediaconvert.d.ts +154 -17
  37. package/clients/mediapackagevod.d.ts +4 -0
  38. package/clients/mediatailor.d.ts +47 -1
  39. package/clients/pinpoint.d.ts +24 -0
  40. package/clients/ssm.d.ts +40 -19
  41. package/clients/voiceid.d.ts +1133 -0
  42. package/clients/voiceid.js +18 -0
  43. package/clients/wafv2.d.ts +18 -0
  44. package/clients/wisdom.d.ts +1499 -0
  45. package/clients/wisdom.js +18 -0
  46. package/dist/aws-sdk-core-react-native.js +5 -5
  47. package/dist/aws-sdk-react-native.js +96 -22
  48. package/dist/aws-sdk.js +173 -132
  49. package/dist/aws-sdk.min.js +70 -70
  50. package/lib/config.js +1 -1
  51. package/lib/config_service_placeholders.d.ts +4 -0
  52. package/lib/core.js +1 -1
  53. package/lib/event_listeners.js +1 -1
  54. package/lib/http_request.d.ts +1 -1
  55. package/lib/signers/v4.js +1 -1
  56. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ {
2
+ "pagination": {
3
+ "ListAssistantAssociations": {
4
+ "input_token": "nextToken",
5
+ "output_token": "nextToken",
6
+ "limit_key": "maxResults",
7
+ "result_key": "assistantAssociationSummaries"
8
+ },
9
+ "ListAssistants": {
10
+ "input_token": "nextToken",
11
+ "output_token": "nextToken",
12
+ "limit_key": "maxResults",
13
+ "result_key": "assistantSummaries"
14
+ },
15
+ "ListContents": {
16
+ "input_token": "nextToken",
17
+ "output_token": "nextToken",
18
+ "limit_key": "maxResults",
19
+ "result_key": "contentSummaries"
20
+ },
21
+ "ListKnowledgeBases": {
22
+ "input_token": "nextToken",
23
+ "output_token": "nextToken",
24
+ "limit_key": "maxResults",
25
+ "result_key": "knowledgeBaseSummaries"
26
+ },
27
+ "QueryAssistant": {
28
+ "input_token": "nextToken",
29
+ "output_token": "nextToken",
30
+ "limit_key": "maxResults",
31
+ "result_key": "results"
32
+ },
33
+ "SearchContent": {
34
+ "input_token": "nextToken",
35
+ "output_token": "nextToken",
36
+ "limit_key": "maxResults",
37
+ "result_key": "contentSummaries"
38
+ },
39
+ "SearchSessions": {
40
+ "input_token": "nextToken",
41
+ "output_token": "nextToken",
42
+ "limit_key": "maxResults",
43
+ "result_key": "sessionSummaries"
44
+ }
45
+ }
46
+ }
package/clients/all.d.ts CHANGED
@@ -278,3 +278,5 @@ export import SnowDeviceManagement = require('./snowdevicemanagement');
278
278
  export import MemoryDB = require('./memorydb');
279
279
  export import OpenSearch = require('./opensearch');
280
280
  export import KafkaConnect = require('./kafkaconnect');
281
+ export import VoiceID = require('./voiceid');
282
+ export import Wisdom = require('./wisdom');
package/clients/all.js CHANGED
@@ -279,5 +279,7 @@ module.exports = {
279
279
  SnowDeviceManagement: require('./snowdevicemanagement'),
280
280
  MemoryDB: require('./memorydb'),
281
281
  OpenSearch: require('./opensearch'),
282
- KafkaConnect: require('./kafkaconnect')
282
+ KafkaConnect: require('./kafkaconnect'),
283
+ VoiceID: require('./voiceid'),
284
+ Wisdom: require('./wisdom')
283
285
  };
@@ -11,6 +11,14 @@ declare class AppIntegrations extends Service {
11
11
  */
12
12
  constructor(options?: AppIntegrations.Types.ClientConfiguration)
13
13
  config: Config & AppIntegrations.Types.ClientConfiguration;
14
+ /**
15
+ * Creates and persists a DataIntegration resource. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
16
+ */
17
+ createDataIntegration(params: AppIntegrations.Types.CreateDataIntegrationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.CreateDataIntegrationResponse) => void): Request<AppIntegrations.Types.CreateDataIntegrationResponse, AWSError>;
18
+ /**
19
+ * Creates and persists a DataIntegration resource. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
20
+ */
21
+ createDataIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.CreateDataIntegrationResponse) => void): Request<AppIntegrations.Types.CreateDataIntegrationResponse, AWSError>;
14
22
  /**
15
23
  * Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
16
24
  */
@@ -19,6 +27,14 @@ declare class AppIntegrations extends Service {
19
27
  * Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
20
28
  */
21
29
  createEventIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.CreateEventIntegrationResponse) => void): Request<AppIntegrations.Types.CreateEventIntegrationResponse, AWSError>;
30
+ /**
31
+ * Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
32
+ */
33
+ deleteDataIntegration(params: AppIntegrations.Types.DeleteDataIntegrationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.DeleteDataIntegrationResponse) => void): Request<AppIntegrations.Types.DeleteDataIntegrationResponse, AWSError>;
34
+ /**
35
+ * Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
36
+ */
37
+ deleteDataIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.DeleteDataIntegrationResponse) => void): Request<AppIntegrations.Types.DeleteDataIntegrationResponse, AWSError>;
22
38
  /**
23
39
  * Deletes the specified existing event integration. If the event integration is associated with clients, the request is rejected.
24
40
  */
@@ -28,13 +44,37 @@ declare class AppIntegrations extends Service {
28
44
  */
29
45
  deleteEventIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.DeleteEventIntegrationResponse) => void): Request<AppIntegrations.Types.DeleteEventIntegrationResponse, AWSError>;
30
46
  /**
31
- * Return information about the event integration.
47
+ * Returns information about the DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
48
+ */
49
+ getDataIntegration(params: AppIntegrations.Types.GetDataIntegrationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.GetDataIntegrationResponse) => void): Request<AppIntegrations.Types.GetDataIntegrationResponse, AWSError>;
50
+ /**
51
+ * Returns information about the DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
52
+ */
53
+ getDataIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.GetDataIntegrationResponse) => void): Request<AppIntegrations.Types.GetDataIntegrationResponse, AWSError>;
54
+ /**
55
+ * Returns information about the event integration.
32
56
  */
33
57
  getEventIntegration(params: AppIntegrations.Types.GetEventIntegrationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.GetEventIntegrationResponse) => void): Request<AppIntegrations.Types.GetEventIntegrationResponse, AWSError>;
34
58
  /**
35
- * Return information about the event integration.
59
+ * Returns information about the event integration.
36
60
  */
37
61
  getEventIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.GetEventIntegrationResponse) => void): Request<AppIntegrations.Types.GetEventIntegrationResponse, AWSError>;
62
+ /**
63
+ * Returns a paginated list of DataIntegration associations in the account. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
64
+ */
65
+ listDataIntegrationAssociations(params: AppIntegrations.Types.ListDataIntegrationAssociationsRequest, callback?: (err: AWSError, data: AppIntegrations.Types.ListDataIntegrationAssociationsResponse) => void): Request<AppIntegrations.Types.ListDataIntegrationAssociationsResponse, AWSError>;
66
+ /**
67
+ * Returns a paginated list of DataIntegration associations in the account. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
68
+ */
69
+ listDataIntegrationAssociations(callback?: (err: AWSError, data: AppIntegrations.Types.ListDataIntegrationAssociationsResponse) => void): Request<AppIntegrations.Types.ListDataIntegrationAssociationsResponse, AWSError>;
70
+ /**
71
+ * Returns a paginated list of DataIntegrations in the account. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
72
+ */
73
+ listDataIntegrations(params: AppIntegrations.Types.ListDataIntegrationsRequest, callback?: (err: AWSError, data: AppIntegrations.Types.ListDataIntegrationsResponse) => void): Request<AppIntegrations.Types.ListDataIntegrationsResponse, AWSError>;
74
+ /**
75
+ * Returns a paginated list of DataIntegrations in the account. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
76
+ */
77
+ listDataIntegrations(callback?: (err: AWSError, data: AppIntegrations.Types.ListDataIntegrationsResponse) => void): Request<AppIntegrations.Types.ListDataIntegrationsResponse, AWSError>;
38
78
  /**
39
79
  * Returns a paginated list of event integration associations in the account.
40
80
  */
@@ -75,6 +115,14 @@ declare class AppIntegrations extends Service {
75
115
  * Removes the specified tags from the specified resource.
76
116
  */
77
117
  untagResource(callback?: (err: AWSError, data: AppIntegrations.Types.UntagResourceResponse) => void): Request<AppIntegrations.Types.UntagResourceResponse, AWSError>;
118
+ /**
119
+ * Updates the description of a DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
120
+ */
121
+ updateDataIntegration(params: AppIntegrations.Types.UpdateDataIntegrationRequest, callback?: (err: AWSError, data: AppIntegrations.Types.UpdateDataIntegrationResponse) => void): Request<AppIntegrations.Types.UpdateDataIntegrationResponse, AWSError>;
122
+ /**
123
+ * Updates the description of a DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
124
+ */
125
+ updateDataIntegration(callback?: (err: AWSError, data: AppIntegrations.Types.UpdateDataIntegrationResponse) => void): Request<AppIntegrations.Types.UpdateDataIntegrationResponse, AWSError>;
78
126
  /**
79
127
  * Updates the description of an event integration.
80
128
  */
@@ -88,6 +136,74 @@ declare namespace AppIntegrations {
88
136
  export type Arn = string;
89
137
  export type ClientAssociationMetadata = {[key: string]: NonBlankString};
90
138
  export type ClientId = string;
139
+ export interface CreateDataIntegrationRequest {
140
+ /**
141
+ * The name of the DataIntegration.
142
+ */
143
+ Name: Name;
144
+ /**
145
+ * A description of the DataIntegration.
146
+ */
147
+ Description?: Description;
148
+ /**
149
+ * The KMS key for the DataIntegration.
150
+ */
151
+ KmsKey?: NonBlankString;
152
+ /**
153
+ * The URI of the data source.
154
+ */
155
+ SourceURI?: NonBlankString;
156
+ /**
157
+ * The name of the data and how often it should be pulled from the source.
158
+ */
159
+ ScheduleConfig?: ScheduleConfiguration;
160
+ /**
161
+ * One or more tags.
162
+ */
163
+ Tags?: TagMap;
164
+ /**
165
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
166
+ */
167
+ ClientToken?: IdempotencyToken;
168
+ }
169
+ export interface CreateDataIntegrationResponse {
170
+ /**
171
+ * The Amazon Resource Name (ARN)
172
+ */
173
+ Arn?: Arn;
174
+ /**
175
+ * A unique identifier.
176
+ */
177
+ Id?: UUID;
178
+ /**
179
+ * The name of the DataIntegration.
180
+ */
181
+ Name?: Name;
182
+ /**
183
+ * A description of the DataIntegration.
184
+ */
185
+ Description?: Description;
186
+ /**
187
+ * The KMS key for the DataIntegration.
188
+ */
189
+ KmsKey?: NonBlankString;
190
+ /**
191
+ * The URI of the data source.
192
+ */
193
+ SourceURI?: NonBlankString;
194
+ /**
195
+ * The name of the data and how often it should be pulled from the source.
196
+ */
197
+ ScheduleConfiguration?: ScheduleConfiguration;
198
+ /**
199
+ * One or more tags.
200
+ */
201
+ Tags?: TagMap;
202
+ /**
203
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
204
+ */
205
+ ClientToken?: IdempotencyToken;
206
+ }
91
207
  export interface CreateEventIntegrationRequest {
92
208
  /**
93
209
  * The name of the event integration.
@@ -120,6 +236,44 @@ declare namespace AppIntegrations {
120
236
  */
121
237
  EventIntegrationArn?: Arn;
122
238
  }
239
+ export interface DataIntegrationAssociationSummary {
240
+ /**
241
+ * The Amazon Resource Name (ARN) of the DataIntegration association.
242
+ */
243
+ DataIntegrationAssociationArn?: Arn;
244
+ /**
245
+ * The Amazon Resource Name (ARN)of the DataIntegration.
246
+ */
247
+ DataIntegrationArn?: Arn;
248
+ /**
249
+ * The identifier for teh client that is associated with the DataIntegration association.
250
+ */
251
+ ClientId?: ClientId;
252
+ }
253
+ export type DataIntegrationAssociationsList = DataIntegrationAssociationSummary[];
254
+ export interface DataIntegrationSummary {
255
+ /**
256
+ * The Amazon Resource Name (ARN) of the DataIntegration.
257
+ */
258
+ Arn?: Arn;
259
+ /**
260
+ * The name of the DataIntegration.
261
+ */
262
+ Name?: Name;
263
+ /**
264
+ * The URI of the data source.
265
+ */
266
+ SourceURI?: NonBlankString;
267
+ }
268
+ export type DataIntegrationsList = DataIntegrationSummary[];
269
+ export interface DeleteDataIntegrationRequest {
270
+ /**
271
+ * A unique identifier for the DataIntegration.
272
+ */
273
+ DataIntegrationIdentifier: Identifier;
274
+ }
275
+ export interface DeleteDataIntegrationResponse {
276
+ }
123
277
  export interface DeleteEventIntegrationRequest {
124
278
  /**
125
279
  * The name of the event integration.
@@ -191,6 +345,46 @@ declare namespace AppIntegrations {
191
345
  }
192
346
  export type EventIntegrationAssociationsList = EventIntegrationAssociation[];
193
347
  export type EventIntegrationsList = EventIntegration[];
348
+ export interface GetDataIntegrationRequest {
349
+ /**
350
+ * A unique identifier.
351
+ */
352
+ Identifier: Identifier;
353
+ }
354
+ export interface GetDataIntegrationResponse {
355
+ /**
356
+ * The Amazon Resource Name (ARN) for the DataIntegration.
357
+ */
358
+ Arn?: Arn;
359
+ /**
360
+ * A unique identifier.
361
+ */
362
+ Id?: UUID;
363
+ /**
364
+ * The name of the DataIntegration.
365
+ */
366
+ Name?: Name;
367
+ /**
368
+ * The KMS key for the DataIntegration.
369
+ */
370
+ Description?: Description;
371
+ /**
372
+ * The KMS key for the DataIntegration.
373
+ */
374
+ KmsKey?: NonBlankString;
375
+ /**
376
+ * The URI of the data source.
377
+ */
378
+ SourceURI?: NonBlankString;
379
+ /**
380
+ * The name of the data and how often it should be pulled from the source.
381
+ */
382
+ ScheduleConfiguration?: ScheduleConfiguration;
383
+ /**
384
+ * One or more tags.
385
+ */
386
+ Tags?: TagMap;
387
+ }
194
388
  export interface GetEventIntegrationRequest {
195
389
  /**
196
390
  * The name of the event integration.
@@ -224,6 +418,51 @@ declare namespace AppIntegrations {
224
418
  Tags?: TagMap;
225
419
  }
226
420
  export type IdempotencyToken = string;
421
+ export type Identifier = string;
422
+ export interface ListDataIntegrationAssociationsRequest {
423
+ /**
424
+ * A unique identifier for the DataIntegration.
425
+ */
426
+ DataIntegrationIdentifier: Identifier;
427
+ /**
428
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
429
+ */
430
+ NextToken?: NextToken;
431
+ /**
432
+ * The maximum number of results to return per page.
433
+ */
434
+ MaxResults?: MaxResults;
435
+ }
436
+ export interface ListDataIntegrationAssociationsResponse {
437
+ /**
438
+ * The Amazon Resource Name (ARN) and unique ID of the DataIntegration association.
439
+ */
440
+ DataIntegrationAssociations?: DataIntegrationAssociationsList;
441
+ /**
442
+ * If there are additional results, this is the token for the next set of results.
443
+ */
444
+ NextToken?: NextToken;
445
+ }
446
+ export interface ListDataIntegrationsRequest {
447
+ /**
448
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
449
+ */
450
+ NextToken?: NextToken;
451
+ /**
452
+ * The maximum number of results to return per page.
453
+ */
454
+ MaxResults?: MaxResults;
455
+ }
456
+ export interface ListDataIntegrationsResponse {
457
+ /**
458
+ * The DataIntegrations associated with this account.
459
+ */
460
+ DataIntegrations?: DataIntegrationsList;
461
+ /**
462
+ * If there are additional results, this is the token for the next set of results.
463
+ */
464
+ NextToken?: NextToken;
465
+ }
227
466
  export interface ListEventIntegrationAssociationsRequest {
228
467
  /**
229
468
  * The name of the event integration.
@@ -284,6 +523,22 @@ declare namespace AppIntegrations {
284
523
  export type Name = string;
285
524
  export type NextToken = string;
286
525
  export type NonBlankString = string;
526
+ export type Object = string;
527
+ export type Schedule = string;
528
+ export interface ScheduleConfiguration {
529
+ /**
530
+ * The start date for objects to import in the first flow run.
531
+ */
532
+ FirstExecutionFrom?: NonBlankString;
533
+ /**
534
+ * The name of the object to pull from the data source.
535
+ */
536
+ Object?: Object;
537
+ /**
538
+ * How often the data should be pulled from data source.
539
+ */
540
+ ScheduleExpression?: Schedule;
541
+ }
287
542
  export type Source = string;
288
543
  export type TagKey = string;
289
544
  export type TagKeyList = TagKey[];
@@ -314,6 +569,22 @@ declare namespace AppIntegrations {
314
569
  }
315
570
  export interface UntagResourceResponse {
316
571
  }
572
+ export interface UpdateDataIntegrationRequest {
573
+ /**
574
+ * A unique identifier for the DataIntegration.
575
+ */
576
+ Identifier: Identifier;
577
+ /**
578
+ * The name of the DataIntegration.
579
+ */
580
+ Name?: Name;
581
+ /**
582
+ * A description of the DataIntegration.
583
+ */
584
+ Description?: Description;
585
+ }
586
+ export interface UpdateDataIntegrationResponse {
587
+ }
317
588
  export interface UpdateEventIntegrationRequest {
318
589
  /**
319
590
  * The name of the event integration.
@@ -343,7 +343,7 @@ declare class AppSync extends Service {
343
343
  declare namespace AppSync {
344
344
  export interface AdditionalAuthenticationProvider {
345
345
  /**
346
- * The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.
346
+ * The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
347
347
  */
348
348
  authenticationType?: AuthenticationType;
349
349
  /**
@@ -355,7 +355,7 @@ declare namespace AppSync {
355
355
  */
356
356
  userPoolConfig?: CognitoUserPoolConfig;
357
357
  /**
358
- * Configuration for AWS Lambda function authorization.
358
+ * Configuration for Amazon Web Services Lambda function authorization.
359
359
  */
360
360
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
361
361
  }
@@ -542,9 +542,13 @@ declare namespace AppSync {
542
542
  */
543
543
  lambdaConfig?: LambdaDataSourceConfig;
544
544
  /**
545
- * Amazon Elasticsearch Service settings.
545
+ * Amazon OpenSearch Service settings. As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
546
546
  */
547
547
  elasticsearchConfig?: ElasticsearchDataSourceConfig;
548
+ /**
549
+ * Amazon OpenSearch Service settings.
550
+ */
551
+ openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
548
552
  /**
549
553
  * HTTP endpoint settings.
550
554
  */
@@ -607,7 +611,7 @@ declare namespace AppSync {
607
611
  */
608
612
  logConfig?: LogConfig;
609
613
  /**
610
- * The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.
614
+ * The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
611
615
  */
612
616
  authenticationType: AuthenticationType;
613
617
  /**
@@ -631,7 +635,7 @@ declare namespace AppSync {
631
635
  */
632
636
  xrayEnabled?: Boolean;
633
637
  /**
634
- * Configuration for AWS Lambda function authorization.
638
+ * Configuration for Amazon Web Services Lambda function authorization.
635
639
  */
636
640
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
637
641
  }
@@ -723,7 +727,7 @@ declare namespace AppSync {
723
727
  */
724
728
  description?: String;
725
729
  /**
726
- * The type of the data source. AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain. AWS_LAMBDA: The data source is an Amazon Web Services Lambda function. NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. HTTP: The data source is an HTTP endpoint. RELATIONAL_DATABASE: The data source is a relational database.
730
+ * The type of the data source. AWS_LAMBDA: The data source is an Amazon Web Services Lambda function. AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table. AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain. AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain. NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. HTTP: The data source is an HTTP endpoint. RELATIONAL_DATABASE: The data source is a relational database.
727
731
  */
728
732
  type?: DataSourceType;
729
733
  /**
@@ -739,9 +743,13 @@ declare namespace AppSync {
739
743
  */
740
744
  lambdaConfig?: LambdaDataSourceConfig;
741
745
  /**
742
- * Amazon Elasticsearch Service settings.
746
+ * Amazon OpenSearch Service settings.
743
747
  */
744
748
  elasticsearchConfig?: ElasticsearchDataSourceConfig;
749
+ /**
750
+ * Amazon OpenSearch Service settings.
751
+ */
752
+ openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
745
753
  /**
746
754
  * HTTP endpoint settings.
747
755
  */
@@ -751,7 +759,7 @@ declare namespace AppSync {
751
759
  */
752
760
  relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
753
761
  }
754
- export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|string;
762
+ export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|"AMAZON_OPENSEARCH_SERVICE"|string;
755
763
  export type DataSources = DataSource[];
756
764
  export type DefaultAction = "ALLOW"|"DENY"|string;
757
765
  export interface DeleteApiCacheRequest {
@@ -1108,7 +1116,7 @@ declare namespace AppSync {
1108
1116
  */
1109
1117
  wafWebAclArn?: String;
1110
1118
  /**
1111
- * Configuration for AWS Lambda function authorization.
1119
+ * Configuration for Amazon Web Services Lambda function authorization.
1112
1120
  */
1113
1121
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
1114
1122
  }
@@ -1129,11 +1137,11 @@ declare namespace AppSync {
1129
1137
  */
1130
1138
  authorizerResultTtlInSeconds?: TTL;
1131
1139
  /**
1132
- * The ARN of the lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (.../v3) or alias ARN. Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the AWS CLI, run the following: aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction
1140
+ * The ARN of the Lambda function to be called for authorization. This may be a standard Lambda ARN, a version ARN (.../v3) or alias ARN. Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the Console, this is done for you. To do so with the Amazon Web Services CLI, run the following: aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction
1133
1141
  */
1134
1142
  authorizerUri: String;
1135
1143
  /**
1136
- * A regular expression for validation of tokens before the Lambda Function is called.
1144
+ * A regular expression for validation of tokens before the Lambda function is called.
1137
1145
  */
1138
1146
  identityValidationExpression?: String;
1139
1147
  }
@@ -1373,6 +1381,16 @@ declare namespace AppSync {
1373
1381
  */
1374
1382
  authTTL?: Long;
1375
1383
  }
1384
+ export interface OpenSearchServiceDataSourceConfig {
1385
+ /**
1386
+ * The endpoint.
1387
+ */
1388
+ endpoint: String;
1389
+ /**
1390
+ * The Amazon Web Services Region.
1391
+ */
1392
+ awsRegion: String;
1393
+ }
1376
1394
  export type OutputType = "SDL"|"JSON"|string;
1377
1395
  export type PaginationToken = string;
1378
1396
  export interface PipelineConfig {
@@ -1623,9 +1641,13 @@ declare namespace AppSync {
1623
1641
  */
1624
1642
  lambdaConfig?: LambdaDataSourceConfig;
1625
1643
  /**
1626
- * The new Elasticsearch Service configuration.
1644
+ * The new OpenSearch configuration. As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
1627
1645
  */
1628
1646
  elasticsearchConfig?: ElasticsearchDataSourceConfig;
1647
+ /**
1648
+ * The new OpenSearch configuration.
1649
+ */
1650
+ openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
1629
1651
  /**
1630
1652
  * The new HTTP endpoint configuration.
1631
1653
  */
@@ -1716,7 +1738,7 @@ declare namespace AppSync {
1716
1738
  */
1717
1739
  xrayEnabled?: Boolean;
1718
1740
  /**
1719
- * Configuration for AWS Lambda function authorization.
1741
+ * Configuration for Amazon Web Services Lambda function authorization.
1720
1742
  */
1721
1743
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
1722
1744
  }