aws-sdk 2.1002.0 → 2.1006.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/backup-2018-11-15.min.json +109 -38
  4. package/apis/chime-2018-05-01.min.json +263 -197
  5. package/apis/ec2-2016-11-15.min.json +235 -233
  6. package/apis/elasticloadbalancingv2-2015-12-01.min.json +26 -24
  7. package/apis/firehose-2015-08-04.min.json +198 -82
  8. package/apis/frauddetector-2019-11-15.min.json +358 -75
  9. package/apis/frauddetector-2019-11-15.paginators.json +5 -0
  10. package/apis/grafana-2020-08-18.examples.json +5 -0
  11. package/apis/grafana-2020-08-18.min.json +728 -0
  12. package/apis/grafana-2020-08-18.paginators.json +16 -0
  13. package/apis/kendra-2019-02-03.min.json +45 -38
  14. package/apis/mediaconvert-2017-08-29.min.json +77 -0
  15. package/apis/medialive-2017-10-14.min.json +297 -227
  16. package/apis/mediatailor-2018-04-23.min.json +288 -75
  17. package/apis/mediatailor-2018-04-23.paginators.json +6 -0
  18. package/apis/metadata.json +3 -0
  19. package/apis/models.lex.v2-2020-08-07.min.json +182 -118
  20. package/apis/securityhub-2018-10-26.min.json +634 -259
  21. package/clients/all.d.ts +1 -0
  22. package/clients/all.js +2 -1
  23. package/clients/backup.d.ts +72 -0
  24. package/clients/chime.d.ts +83 -3
  25. package/clients/ec2.d.ts +99 -94
  26. package/clients/ecs.d.ts +4 -4
  27. package/clients/elbv2.d.ts +10 -1
  28. package/clients/firehose.d.ts +62 -0
  29. package/clients/frauddetector.d.ts +434 -26
  30. package/clients/grafana.d.ts +718 -0
  31. package/clients/grafana.js +18 -0
  32. package/clients/kendra.d.ts +30 -1
  33. package/clients/lexmodelsv2.d.ts +72 -10
  34. package/clients/lexruntimev2.d.ts +7 -7
  35. package/clients/mediaconvert.d.ts +63 -0
  36. package/clients/medialive.d.ts +76 -5
  37. package/clients/mediatailor.d.ts +224 -0
  38. package/clients/secretsmanager.d.ts +27 -27
  39. package/clients/securityhub.d.ts +668 -11
  40. package/dist/aws-sdk-core-react-native.js +2 -2
  41. package/dist/aws-sdk-react-native.js +55 -18
  42. package/dist/aws-sdk.js +465 -342
  43. package/dist/aws-sdk.min.js +64 -64
  44. package/lib/config_service_placeholders.d.ts +2 -0
  45. package/lib/core.js +1 -1
  46. package/package.json +1 -1
@@ -27,6 +27,14 @@ declare class MediaTailor extends Service {
27
27
  * Creates a channel.
28
28
  */
29
29
  createChannel(callback?: (err: AWSError, data: MediaTailor.Types.CreateChannelResponse) => void): Request<MediaTailor.Types.CreateChannelResponse, AWSError>;
30
+ /**
31
+ * Creates a new prefetch schedule for the specified playback configuration.
32
+ */
33
+ createPrefetchSchedule(params: MediaTailor.Types.CreatePrefetchScheduleRequest, callback?: (err: AWSError, data: MediaTailor.Types.CreatePrefetchScheduleResponse) => void): Request<MediaTailor.Types.CreatePrefetchScheduleResponse, AWSError>;
34
+ /**
35
+ * Creates a new prefetch schedule for the specified playback configuration.
36
+ */
37
+ createPrefetchSchedule(callback?: (err: AWSError, data: MediaTailor.Types.CreatePrefetchScheduleResponse) => void): Request<MediaTailor.Types.CreatePrefetchScheduleResponse, AWSError>;
30
38
  /**
31
39
  * Creates a program.
32
40
  */
@@ -75,6 +83,14 @@ declare class MediaTailor extends Service {
75
83
  * Deletes the playback configuration for the specified name.
76
84
  */
77
85
  deletePlaybackConfiguration(callback?: (err: AWSError, data: MediaTailor.Types.DeletePlaybackConfigurationResponse) => void): Request<MediaTailor.Types.DeletePlaybackConfigurationResponse, AWSError>;
86
+ /**
87
+ * Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.
88
+ */
89
+ deletePrefetchSchedule(params: MediaTailor.Types.DeletePrefetchScheduleRequest, callback?: (err: AWSError, data: MediaTailor.Types.DeletePrefetchScheduleResponse) => void): Request<MediaTailor.Types.DeletePrefetchScheduleResponse, AWSError>;
90
+ /**
91
+ * Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.
92
+ */
93
+ deletePrefetchSchedule(callback?: (err: AWSError, data: MediaTailor.Types.DeletePrefetchScheduleResponse) => void): Request<MediaTailor.Types.DeletePrefetchScheduleResponse, AWSError>;
78
94
  /**
79
95
  * Deletes a specific program on a specific channel.
80
96
  */
@@ -155,6 +171,14 @@ declare class MediaTailor extends Service {
155
171
  * Returns the playback configuration for the specified name.
156
172
  */
157
173
  getPlaybackConfiguration(callback?: (err: AWSError, data: MediaTailor.Types.GetPlaybackConfigurationResponse) => void): Request<MediaTailor.Types.GetPlaybackConfigurationResponse, AWSError>;
174
+ /**
175
+ * Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.
176
+ */
177
+ getPrefetchSchedule(params: MediaTailor.Types.GetPrefetchScheduleRequest, callback?: (err: AWSError, data: MediaTailor.Types.GetPrefetchScheduleResponse) => void): Request<MediaTailor.Types.GetPrefetchScheduleResponse, AWSError>;
178
+ /**
179
+ * Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.
180
+ */
181
+ getPrefetchSchedule(callback?: (err: AWSError, data: MediaTailor.Types.GetPrefetchScheduleResponse) => void): Request<MediaTailor.Types.GetPrefetchScheduleResponse, AWSError>;
158
182
  /**
159
183
  * Returns a list of alerts for the given resource.
160
184
  */
@@ -179,6 +203,14 @@ declare class MediaTailor extends Service {
179
203
  * Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
180
204
  */
181
205
  listPlaybackConfigurations(callback?: (err: AWSError, data: MediaTailor.Types.ListPlaybackConfigurationsResponse) => void): Request<MediaTailor.Types.ListPlaybackConfigurationsResponse, AWSError>;
206
+ /**
207
+ * Creates a new prefetch schedule.
208
+ */
209
+ listPrefetchSchedules(params: MediaTailor.Types.ListPrefetchSchedulesRequest, callback?: (err: AWSError, data: MediaTailor.Types.ListPrefetchSchedulesResponse) => void): Request<MediaTailor.Types.ListPrefetchSchedulesResponse, AWSError>;
210
+ /**
211
+ * Creates a new prefetch schedule.
212
+ */
213
+ listPrefetchSchedules(callback?: (err: AWSError, data: MediaTailor.Types.ListPrefetchSchedulesResponse) => void): Request<MediaTailor.Types.ListPrefetchSchedulesResponse, AWSError>;
182
214
  /**
183
215
  * Retrieves a list of source locations.
184
216
  */
@@ -334,6 +366,16 @@ declare namespace MediaTailor {
334
366
  */
335
367
  ResourceArn: __string;
336
368
  }
369
+ export interface AvailMatchingCriteria {
370
+ /**
371
+ * The dynamic variable(s) that MediaTailor should use as avail matching criteria. MediaTailor only places the prefetched ads into the avail if the avail matches the criteria defined by the dynamic variable. For information about dynamic variables, see Using dynamic ad variables in the MediaTailor User Guide. You can include up to 100 dynamic variables.
372
+ */
373
+ DynamicVariable: __string;
374
+ /**
375
+ * For the DynamicVariable specified in AvailMatchingCriteria, the Operator that is used for the comparison.
376
+ */
377
+ Operator: Operator;
378
+ }
337
379
  export interface AvailSuppression {
338
380
  /**
339
381
  * Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window.
@@ -485,6 +527,54 @@ declare namespace MediaTailor {
485
527
  */
486
528
  Tags?: __mapOf__string;
487
529
  }
530
+ export interface CreatePrefetchScheduleRequest {
531
+ /**
532
+ * The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
533
+ */
534
+ Consumption: PrefetchConsumption;
535
+ /**
536
+ * The identifier for the playback configuration.
537
+ */
538
+ Name: __string;
539
+ /**
540
+ * The name of the playback configuration.
541
+ */
542
+ PlaybackConfigurationName: __string;
543
+ /**
544
+ * The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
545
+ */
546
+ Retrieval: PrefetchRetrieval;
547
+ /**
548
+ * An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.
549
+ */
550
+ StreamId?: __string;
551
+ }
552
+ export interface CreatePrefetchScheduleResponse {
553
+ /**
554
+ * The Amazon Resource Name (ARN) of the prefetch schedule.
555
+ */
556
+ Arn?: __string;
557
+ /**
558
+ * Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
559
+ */
560
+ Consumption?: PrefetchConsumption;
561
+ /**
562
+ * The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
563
+ */
564
+ Name?: __string;
565
+ /**
566
+ * The name of the playback configuration to create the prefetch schedule for.
567
+ */
568
+ PlaybackConfigurationName?: __string;
569
+ /**
570
+ * A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
571
+ */
572
+ Retrieval?: PrefetchRetrieval;
573
+ /**
574
+ * An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
575
+ */
576
+ StreamId?: __string;
577
+ }
488
578
  export interface CreateProgramRequest {
489
579
  /**
490
580
  * The ad break configuration settings.
@@ -721,6 +811,18 @@ declare namespace MediaTailor {
721
811
  }
722
812
  export interface DeletePlaybackConfigurationResponse {
723
813
  }
814
+ export interface DeletePrefetchScheduleRequest {
815
+ /**
816
+ * The identifier for the playback configuration.
817
+ */
818
+ Name: __string;
819
+ /**
820
+ * The name of the playback configuration.
821
+ */
822
+ PlaybackConfigurationName: __string;
823
+ }
824
+ export interface DeletePrefetchScheduleResponse {
825
+ }
724
826
  export interface DeleteProgramRequest {
725
827
  /**
726
828
  * The identifier for the channel you are working on.
@@ -1045,6 +1147,42 @@ declare namespace MediaTailor {
1045
1147
  */
1046
1148
  VideoContentSourceUrl?: __string;
1047
1149
  }
1150
+ export interface GetPrefetchScheduleRequest {
1151
+ /**
1152
+ * The identifier for the playback configuration.
1153
+ */
1154
+ Name: __string;
1155
+ /**
1156
+ * The name of the playback configuration.
1157
+ */
1158
+ PlaybackConfigurationName: __string;
1159
+ }
1160
+ export interface GetPrefetchScheduleResponse {
1161
+ /**
1162
+ * The Amazon Resource Name (ARN) of the prefetch schedule.
1163
+ */
1164
+ Arn?: __string;
1165
+ /**
1166
+ * Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
1167
+ */
1168
+ Consumption?: PrefetchConsumption;
1169
+ /**
1170
+ * The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
1171
+ */
1172
+ Name?: __string;
1173
+ /**
1174
+ * The name of the playback configuration to create the prefetch schedule for.
1175
+ */
1176
+ PlaybackConfigurationName?: __string;
1177
+ /**
1178
+ * A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
1179
+ */
1180
+ Retrieval?: PrefetchRetrieval;
1181
+ /**
1182
+ * An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
1183
+ */
1184
+ StreamId?: __string;
1185
+ }
1048
1186
  export interface HlsConfiguration {
1049
1187
  /**
1050
1188
  * The URL that is used to initiate a playback session for devices that support Apple HLS. The session uses server-side reporting.
@@ -1142,6 +1280,34 @@ declare namespace MediaTailor {
1142
1280
  */
1143
1281
  NextToken?: __string;
1144
1282
  }
1283
+ export interface ListPrefetchSchedulesRequest {
1284
+ /**
1285
+ * The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If the playback configuration has more than MaxResults prefetch schedules, use the value of NextToken in the response to get the next page of results.
1286
+ */
1287
+ MaxResults?: __integerMin1Max100;
1288
+ /**
1289
+ * (Optional) If the playback configuration has more than MaxResults prefetch schedules, use NextToken to get the second and subsequent pages of results. For the first ListPrefetchSchedulesRequest request, omit this value. For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request. If the previous response didn't include a NextToken element, there are no more prefetch schedules to get.
1290
+ */
1291
+ NextToken?: __string;
1292
+ /**
1293
+ * The name of the playback configuration.
1294
+ */
1295
+ PlaybackConfigurationName: __string;
1296
+ /**
1297
+ * An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.
1298
+ */
1299
+ StreamId?: __string;
1300
+ }
1301
+ export interface ListPrefetchSchedulesResponse {
1302
+ /**
1303
+ * Lists the prefetch schedules. An empty Items list doesn't mean there aren't more items to fetch, just that that page was empty.
1304
+ */
1305
+ Items?: __listOfPrefetchSchedule;
1306
+ /**
1307
+ * The value that you will use forNextToken in the next ListPrefetchSchedulesRequest request.
1308
+ */
1309
+ NextToken?: __string;
1310
+ }
1145
1311
  export interface ListSourceLocationsRequest {
1146
1312
  /**
1147
1313
  * Upper bound on number of records to return. The maximum number of results is 100.
@@ -1223,6 +1389,7 @@ declare namespace MediaTailor {
1223
1389
  export type MaxResults = number;
1224
1390
  export type MessageType = "SPLICE_INSERT"|string;
1225
1391
  export type Mode = "OFF"|"BEHIND_LIVE_EDGE"|string;
1392
+ export type Operator = "EQUALS"|string;
1226
1393
  export type OriginManifestType = "SINGLE_PERIOD"|"MULTI_PERIOD"|string;
1227
1394
  export interface PlaybackConfiguration {
1228
1395
  /**
@@ -1303,6 +1470,60 @@ declare namespace MediaTailor {
1303
1470
  VideoContentSourceUrl?: __string;
1304
1471
  }
1305
1472
  export type PlaybackMode = "LOOP"|"LINEAR"|string;
1473
+ export interface PrefetchConsumption {
1474
+ /**
1475
+ * If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.
1476
+ */
1477
+ AvailMatchingCriteria?: __listOfAvailMatchingCriteria;
1478
+ /**
1479
+ * The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.
1480
+ */
1481
+ EndTime: __timestampUnix;
1482
+ /**
1483
+ * The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.
1484
+ */
1485
+ StartTime?: __timestampUnix;
1486
+ }
1487
+ export interface PrefetchRetrieval {
1488
+ /**
1489
+ * The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS). You intially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify DynamicVariables for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.
1490
+ */
1491
+ DynamicVariables?: __mapOf__string;
1492
+ /**
1493
+ * The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.
1494
+ */
1495
+ EndTime: __timestampUnix;
1496
+ /**
1497
+ * The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.
1498
+ */
1499
+ StartTime?: __timestampUnix;
1500
+ }
1501
+ export interface PrefetchSchedule {
1502
+ /**
1503
+ * The Amazon Resource Name (ARN) of the prefetch schedule.
1504
+ */
1505
+ Arn: __string;
1506
+ /**
1507
+ * Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
1508
+ */
1509
+ Consumption: PrefetchConsumption;
1510
+ /**
1511
+ * The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
1512
+ */
1513
+ Name: __string;
1514
+ /**
1515
+ * The name of the playback configuration to create the prefetch schedule for.
1516
+ */
1517
+ PlaybackConfigurationName: __string;
1518
+ /**
1519
+ * A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
1520
+ */
1521
+ Retrieval: PrefetchRetrieval;
1522
+ /**
1523
+ * An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
1524
+ */
1525
+ StreamId?: __string;
1526
+ }
1306
1527
  export interface PutChannelPolicyRequest {
1307
1528
  /**
1308
1529
  * The identifier for the channel you are working on.
@@ -1865,10 +2086,13 @@ declare namespace MediaTailor {
1865
2086
  export type __boolean = boolean;
1866
2087
  export type __integer = number;
1867
2088
  export type __integerMin1 = number;
2089
+ export type __integerMin1Max100 = number;
1868
2090
  export type __listOfAdBreak = AdBreak[];
1869
2091
  export type __listOfAlert = Alert[];
2092
+ export type __listOfAvailMatchingCriteria = AvailMatchingCriteria[];
1870
2093
  export type __listOfChannel = Channel[];
1871
2094
  export type __listOfPlaybackConfiguration = PlaybackConfiguration[];
2095
+ export type __listOfPrefetchSchedule = PrefetchSchedule[];
1872
2096
  export type __listOfScheduleAdBreak = ScheduleAdBreak[];
1873
2097
  export type __listOfScheduleEntry = ScheduleEntry[];
1874
2098
  export type __listOfSourceLocation = SourceLocation[];