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
package/clients/all.d.ts CHANGED
@@ -282,3 +282,4 @@ export import VoiceID = require('./voiceid');
282
282
  export import Wisdom = require('./wisdom');
283
283
  export import Account = require('./account');
284
284
  export import CloudControl = require('./cloudcontrol');
285
+ export import Grafana = require('./grafana');
package/clients/all.js CHANGED
@@ -283,5 +283,6 @@ module.exports = {
283
283
  VoiceID: require('./voiceid'),
284
284
  Wisdom: require('./wisdom'),
285
285
  Account: require('./account'),
286
- CloudControl: require('./cloudcontrol')
286
+ CloudControl: require('./cloudcontrol'),
287
+ Grafana: require('./grafana')
287
288
  };
@@ -83,6 +83,14 @@ declare class Backup extends Service {
83
83
  * Deletes the policy document that manages permissions on a backup vault.
84
84
  */
85
85
  deleteBackupVaultAccessPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86
+ /**
87
+ * Deletes Backup Vault Lock from a backup vault specified by a backup vault name. If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you will receive an InvalidRequestException if you attempt to do so. For more information, see Vault Lock in the Backup Developer Guide.
88
+ */
89
+ deleteBackupVaultLockConfiguration(params: Backup.Types.DeleteBackupVaultLockConfigurationInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90
+ /**
91
+ * Deletes Backup Vault Lock from a backup vault specified by a backup vault name. If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you will receive an InvalidRequestException if you attempt to do so. For more information, see Vault Lock in the Backup Developer Guide.
92
+ */
93
+ deleteBackupVaultLockConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86
94
  /**
87
95
  * Deletes event notifications for the specified backup vault.
88
96
  */
@@ -407,6 +415,14 @@ declare class Backup extends Service {
407
415
  * Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.
408
416
  */
409
417
  putBackupVaultAccessPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
418
+ /**
419
+ * Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and maximum retention period for future backup and copy jobs that target a backup vault.
420
+ */
421
+ putBackupVaultLockConfiguration(params: Backup.Types.PutBackupVaultLockConfigurationInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
422
+ /**
423
+ * Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and maximum retention period for future backup and copy jobs that target a backup vault.
424
+ */
425
+ putBackupVaultLockConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
410
426
  /**
411
427
  * Turns on notifications on a backup vault for the specified topic and events.
412
428
  */
@@ -858,6 +874,22 @@ declare namespace Backup {
858
874
  * The number of recovery points that are stored in a backup vault.
859
875
  */
860
876
  NumberOfRecoveryPoints?: long;
877
+ /**
878
+ * A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If true, Vault Lock prevents delete and update operations on the recovery points in the selected vault.
879
+ */
880
+ Locked?: Boolean;
881
+ /**
882
+ * The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period. If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
883
+ */
884
+ MinRetentionDays?: Long;
885
+ /**
886
+ * The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage). If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
887
+ */
888
+ MaxRetentionDays?: Long;
889
+ /**
890
+ * The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed or deleted. If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time. This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
891
+ */
892
+ LockDate?: timestamp;
861
893
  }
862
894
  export type BackupVaultName = string;
863
895
  export type Boolean = boolean;
@@ -1199,6 +1231,12 @@ declare namespace Backup {
1199
1231
  */
1200
1232
  BackupVaultName: string;
1201
1233
  }
1234
+ export interface DeleteBackupVaultLockConfigurationInput {
1235
+ /**
1236
+ * The name of the backup vault from which to delete Backup Vault Lock.
1237
+ */
1238
+ BackupVaultName: BackupVaultName;
1239
+ }
1202
1240
  export interface DeleteBackupVaultNotificationsInput {
1203
1241
  /**
1204
1242
  * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
@@ -1346,6 +1384,22 @@ declare namespace Backup {
1346
1384
  * The number of recovery points that are stored in a backup vault.
1347
1385
  */
1348
1386
  NumberOfRecoveryPoints?: long;
1387
+ /**
1388
+ * A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. True means that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.
1389
+ */
1390
+ Locked?: Boolean;
1391
+ /**
1392
+ * The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period. If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
1393
+ */
1394
+ MinRetentionDays?: Long;
1395
+ /**
1396
+ * The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage). If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already stored in the vault prior to Vault Lock are not affected.
1397
+ */
1398
+ MaxRetentionDays?: Long;
1399
+ /**
1400
+ * The date and time when Backup Vault Lock configuration cannot be changed or deleted. If you applied Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time. This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1401
+ */
1402
+ LockDate?: timestamp;
1349
1403
  }
1350
1404
  export interface DescribeCopyJobInput {
1351
1405
  /**
@@ -2338,6 +2392,24 @@ declare namespace Backup {
2338
2392
  */
2339
2393
  Policy?: IAMPolicy;
2340
2394
  }
2395
+ export interface PutBackupVaultLockConfigurationInput {
2396
+ /**
2397
+ * The Backup Vault Lock configuration that specifies the name of the backup vault it protects.
2398
+ */
2399
+ BackupVaultName: BackupVaultName;
2400
+ /**
2401
+ * The Backup Vault Lock configuration that specifies the minimum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to retain certain data for at least seven years (2555 days). If this parameter is not specified, Vault Lock will not enforce a minimum retention period. If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails that backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected.
2402
+ */
2403
+ MinRetentionDays?: Long;
2404
+ /**
2405
+ * The Backup Vault Lock configuration that specifies the maximum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to destroy certain data after retaining it for four years (1460 days). If this parameter is not included, Vault Lock does not enforce a maximum retention period on the recovery points in the vault. If this parameter is included without a value, Vault Lock will not enforce a maximum retention period. If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected.
2406
+ */
2407
+ MaxRetentionDays?: Long;
2408
+ /**
2409
+ * The Backup Vault Lock configuration that specifies the number of days before the lock date. For example, setting ChangeableForDays to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC. Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable. Therefore, you must set ChangeableForDays to 3 or greater. Before the lock date, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration. On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted. If this parameter is not specified, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration at any time.
2410
+ */
2411
+ ChangeableForDays?: Long;
2412
+ }
2341
2413
  export interface PutBackupVaultNotificationsInput {
2342
2414
  /**
2343
2415
  * The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
@@ -1713,6 +1713,21 @@ declare namespace Chime {
1713
1713
  }
1714
1714
  export type AreaCode = string;
1715
1715
  export type Arn = string;
1716
+ export interface ArtifactsConfiguration {
1717
+ /**
1718
+ * The configuration for the audio artifacts.
1719
+ */
1720
+ Audio: AudioArtifactsConfiguration;
1721
+ /**
1722
+ * The configuration for the video artifacts.
1723
+ */
1724
+ Video: VideoArtifactsConfiguration;
1725
+ /**
1726
+ * The configuration for the content artifacts.
1727
+ */
1728
+ Content: ContentArtifactsConfiguration;
1729
+ }
1730
+ export type ArtifactsState = "Enabled"|"Disabled"|string;
1716
1731
  export interface AssociatePhoneNumberWithUserRequest {
1717
1732
  /**
1718
1733
  * The Amazon Chime account ID.
@@ -1795,9 +1810,17 @@ declare namespace Chime {
1795
1810
  */
1796
1811
  JoinToken?: JoinTokenString;
1797
1812
  }
1813
+ export type AttendeeIdList = GuidString[];
1798
1814
  export type AttendeeList = Attendee[];
1799
1815
  export type AttendeeTagKeyList = TagKey[];
1800
1816
  export type AttendeeTagList = Tag[];
1817
+ export interface AudioArtifactsConfiguration {
1818
+ /**
1819
+ * The MUX type of the audio artifact configuration object.
1820
+ */
1821
+ MuxType: AudioMuxType;
1822
+ }
1823
+ export type AudioMuxType = "AudioOnly"|"AudioWithActiveSpeakerVideo"|string;
1801
1824
  export interface BatchChannelMemberships {
1802
1825
  /**
1803
1826
  * The identifier of the member who invited another member.
@@ -2282,8 +2305,29 @@ declare namespace Chime {
2282
2305
  }
2283
2306
  export type ChannelSummaryList = ChannelSummary[];
2284
2307
  export type ChimeArn = string;
2308
+ export interface ChimeSdkMeetingConfiguration {
2309
+ /**
2310
+ * The source configuration for a specified media capture pipline.
2311
+ */
2312
+ SourceConfiguration?: SourceConfiguration;
2313
+ /**
2314
+ * The configuration for the artifacts in an Amazon Chime SDK meeting.
2315
+ */
2316
+ ArtifactsConfiguration?: ArtifactsConfiguration;
2317
+ }
2285
2318
  export type ClientRequestToken = string;
2286
2319
  export type Content = string;
2320
+ export interface ContentArtifactsConfiguration {
2321
+ /**
2322
+ * Indicates whether the content artifact is enabled or disabled.
2323
+ */
2324
+ State: ArtifactsState;
2325
+ /**
2326
+ * The MUX type of the artifact configuration.
2327
+ */
2328
+ MuxType?: ContentMuxType;
2329
+ }
2330
+ export type ContentMuxType = "ContentOnly"|string;
2287
2331
  export interface ConversationRetentionSettings {
2288
2332
  /**
2289
2333
  * The number of days for which to retain conversation messages.
@@ -2583,6 +2627,10 @@ declare namespace Chime {
2583
2627
  * The token assigned to the client making the pipeline request.
2584
2628
  */
2585
2629
  ClientRequestToken?: ClientRequestToken;
2630
+ /**
2631
+ * The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.
2632
+ */
2633
+ ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration;
2586
2634
  }
2587
2635
  export interface CreateMediaCapturePipelineResponse {
2588
2636
  /**
@@ -3461,6 +3509,7 @@ declare namespace Chime {
3461
3509
  LambdaFunctionArn?: SensitiveString;
3462
3510
  }
3463
3511
  export type ExternalMeetingIdType = string;
3512
+ export type ExternalUserIdList = ExternalUserIdType[];
3464
3513
  export type ExternalUserIdType = string;
3465
3514
  export type FunctionArn = string;
3466
3515
  export type GeoMatchLevel = "Country"|"AreaCode"|string;
@@ -4746,6 +4795,10 @@ declare namespace Chime {
4746
4795
  * The time at which the capture pipeline was updated, in ISO 8601 format.
4747
4796
  */
4748
4797
  UpdatedTimestamp?: Iso8601Timestamp;
4798
+ /**
4799
+ * The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting.
4800
+ */
4801
+ ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration;
4749
4802
  }
4750
4803
  export type MediaCapturePipelineList = MediaCapturePipeline[];
4751
4804
  export type MediaPipelineSinkType = "S3Bucket"|string;
@@ -4781,7 +4834,7 @@ declare namespace Chime {
4781
4834
  */
4782
4835
  TurnControlUrl?: UriType;
4783
4836
  /**
4784
- * The URL of the S3 bucket used to store the captured media.
4837
+ * The event ingestion URL.
4785
4838
  */
4786
4839
  EventIngestionUrl?: UriType;
4787
4840
  }
@@ -5598,6 +5651,16 @@ declare namespace Chime {
5598
5651
  */
5599
5652
  NextToken?: String;
5600
5653
  }
5654
+ export interface SelectedVideoStreams {
5655
+ /**
5656
+ * The attendee IDs of the streams selected for a media capture pipeline.
5657
+ */
5658
+ AttendeeIds?: AttendeeIdList;
5659
+ /**
5660
+ * The external user IDs of the streams selected for a media capture pipeline.
5661
+ */
5662
+ ExternalUserIds?: ExternalUserIdList;
5663
+ }
5601
5664
  export interface SendChannelMessageRequest {
5602
5665
  /**
5603
5666
  * The ARN of the channel.
@@ -5749,6 +5812,12 @@ declare namespace Chime {
5749
5812
  export type SipRuleTargetApplicationList = SipRuleTargetApplication[];
5750
5813
  export type SipRuleTriggerType = "ToPhoneNumber"|"RequestUriHostname"|string;
5751
5814
  export type SortOrder = "ASCENDING"|"DESCENDING"|string;
5815
+ export interface SourceConfiguration {
5816
+ /**
5817
+ * The selected video streams to capture for a specified media capture pipeline. The number of video streams can't exceed 25.
5818
+ */
5819
+ SelectedVideoStreams?: SelectedVideoStreams;
5820
+ }
5752
5821
  export interface StartMeetingTranscriptionRequest {
5753
5822
  /**
5754
5823
  * The unique ID of the meeting being transcribed.
@@ -6112,11 +6181,11 @@ declare namespace Chime {
6112
6181
  /**
6113
6182
  * The Amazon Chime Business Calling settings.
6114
6183
  */
6115
- BusinessCalling: BusinessCallingSettings;
6184
+ BusinessCalling?: BusinessCallingSettings;
6116
6185
  /**
6117
6186
  * The Amazon Chime Voice Connector settings.
6118
6187
  */
6119
- VoiceConnector: VoiceConnectorSettings;
6188
+ VoiceConnector?: VoiceConnectorSettings;
6120
6189
  }
6121
6190
  export interface UpdatePhoneNumberRequest {
6122
6191
  /**
@@ -6472,6 +6541,17 @@ declare namespace Chime {
6472
6541
  Telephony: TelephonySettings;
6473
6542
  }
6474
6543
  export type UserType = "PrivateUser"|"SharedDevice"|string;
6544
+ export interface VideoArtifactsConfiguration {
6545
+ /**
6546
+ * Indicates whether the video artifact is enabled or disabled.
6547
+ */
6548
+ State: ArtifactsState;
6549
+ /**
6550
+ * The MUX type of the video artifact configuration object.
6551
+ */
6552
+ MuxType?: VideoMuxType;
6553
+ }
6554
+ export type VideoMuxType = "VideoOnly"|string;
6475
6555
  export interface VoiceConnector {
6476
6556
  /**
6477
6557
  * The Amazon Chime Voice Connector ID.