aws-sdk 2.875.0 → 2.879.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 (90) hide show
  1. package/CHANGELOG.md +47 -1
  2. package/README.md +1 -1
  3. package/apis/batch-2016-08-10.min.json +74 -53
  4. package/apis/cloud9-2017-09-23.examples.json +1 -1
  5. package/apis/cloud9-2017-09-23.min.json +48 -14
  6. package/apis/cloudformation-2010-05-15.min.json +50 -48
  7. package/apis/cloudhsm-2014-05-30.min.json +18 -51
  8. package/apis/cognito-sync-2014-06-30.examples.json +5 -0
  9. package/apis/cognito-sync-2014-06-30.min.json +2 -3
  10. package/apis/cognito-sync-2014-06-30.paginators.json +4 -0
  11. package/apis/comprehend-2017-11-27.min.json +12 -6
  12. package/apis/config-2014-11-12.min.json +238 -128
  13. package/apis/databrew-2017-07-25.min.json +154 -60
  14. package/apis/datapipeline-2012-10-29.examples.json +5 -0
  15. package/apis/datapipeline-2012-10-29.min.json +1 -1
  16. package/apis/datapipeline-2012-10-29.paginators.json +10 -10
  17. package/apis/detective-2018-10-26.min.json +114 -18
  18. package/apis/directconnect-2012-10-25.min.json +151 -52
  19. package/apis/ec2-2016-11-15.min.json +831 -625
  20. package/apis/ec2-2016-11-15.paginators.json +6 -0
  21. package/apis/ec2-2016-11-15.waiters2.json +1 -1
  22. package/apis/ec2-instance-connect-2018-04-02.min.json +25 -0
  23. package/apis/fms-2018-01-01.min.json +41 -7
  24. package/apis/frauddetector-2019-11-15.min.json +158 -54
  25. package/apis/frauddetector-2019-11-15.paginators.json +5 -0
  26. package/apis/imagebuilder-2019-12-02.min.json +141 -111
  27. package/apis/iot-2015-05-28.min.json +20 -15
  28. package/apis/iotwireless-2020-11-22.min.json +43 -2
  29. package/apis/kendra-2019-02-03.min.json +38 -36
  30. package/apis/lightsail-2016-11-28.min.json +121 -114
  31. package/apis/machinelearning-2014-12-12.examples.json +5 -0
  32. package/apis/machinelearning-2014-12-12.min.json +3 -4
  33. package/apis/machinelearning-2014-12-12.paginators.json +5 -5
  34. package/apis/mediaconvert-2017-08-29.min.json +122 -83
  35. package/apis/mediapackage-2017-10-12.min.json +64 -48
  36. package/apis/monitoring-2010-08-01.min.json +208 -38
  37. package/apis/monitoring-2010-08-01.paginators.json +5 -0
  38. package/apis/pinpoint-2016-12-01.min.json +15 -2
  39. package/apis/pricing-2017-10-15.examples.json +1 -0
  40. package/apis/redshift-2012-12-01.min.json +398 -191
  41. package/apis/route53resolver-2018-04-01.min.json +791 -89
  42. package/apis/route53resolver-2018-04-01.paginators.json +36 -0
  43. package/apis/runtime.lex-2016-11-28.min.json +29 -3
  44. package/apis/sagemaker-2017-07-24.min.json +141 -112
  45. package/apis/wafv2-2019-07-29.min.json +196 -89
  46. package/apis/workmail-2017-10-01.min.json +247 -30
  47. package/clients/batch.d.ts +41 -3
  48. package/clients/cloud9.d.ts +22 -12
  49. package/clients/cloudformation.d.ts +4 -0
  50. package/clients/cloudwatch.d.ts +222 -3
  51. package/clients/cognitosync.d.ts +20 -20
  52. package/clients/cognitosync.js +1 -0
  53. package/clients/comprehend.d.ts +24 -0
  54. package/clients/configservice.d.ts +182 -10
  55. package/clients/databrew.d.ts +145 -25
  56. package/clients/detective.d.ts +74 -0
  57. package/clients/directconnect.d.ts +161 -2
  58. package/clients/ec2.d.ts +239 -14
  59. package/clients/ec2instanceconnect.d.ts +41 -8
  60. package/clients/fms.d.ts +63 -2
  61. package/clients/frauddetector.d.ts +174 -0
  62. package/clients/imagebuilder.d.ts +378 -340
  63. package/clients/iot.d.ts +5 -0
  64. package/clients/iotwireless.d.ts +75 -0
  65. package/clients/kendra.d.ts +27 -17
  66. package/clients/lexmodelbuildingservice.d.ts +1 -1
  67. package/clients/lexruntime.d.ts +17 -3
  68. package/clients/lightsail.d.ts +17 -2
  69. package/clients/machinelearning.d.ts +71 -71
  70. package/clients/mediaconvert.d.ts +70 -11
  71. package/clients/mediapackage.d.ts +13 -0
  72. package/clients/pinpoint.d.ts +23 -3
  73. package/clients/redshift.d.ts +275 -0
  74. package/clients/route53resolver.d.ts +1093 -57
  75. package/clients/sagemaker.d.ts +76 -44
  76. package/clients/transcribeservice.d.ts +1 -1
  77. package/clients/wafv2.d.ts +126 -3
  78. package/clients/workmail.d.ts +294 -0
  79. package/dist/aws-sdk-core-react-native.js +2 -2
  80. package/dist/aws-sdk-react-native.js +1868 -1835
  81. package/dist/aws-sdk.js +2415 -1583
  82. package/dist/aws-sdk.min.js +80 -80
  83. package/lib/core.js +1 -1
  84. package/lib/event_listeners.js +1 -1
  85. package/lib/http/node.js +1 -1
  86. package/lib/services/s3.js +31 -8
  87. package/lib/services/s3control.js +18 -15
  88. package/lib/services/s3util.js +10 -10
  89. package/package.json +1 -1
  90. package/scripts/region-checker/allowlist.js +12 -12
@@ -374,17 +374,22 @@ declare namespace DataBrew {
374
374
  }
375
375
  export type ConditionExpressionList = ConditionExpression[];
376
376
  export type ConditionValue = string;
377
+ export type CreateColumn = boolean;
377
378
  export interface CreateDatasetRequest {
378
379
  /**
379
380
  * The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
380
381
  */
381
382
  Name: DatasetName;
382
383
  /**
383
- * Specifies the file format of a dataset created from an S3 file or folder.
384
+ * The file format of a dataset that is created from an S3 file or folder.
384
385
  */
385
386
  Format?: InputFormat;
386
387
  FormatOptions?: FormatOptions;
387
388
  Input: Input;
389
+ /**
390
+ * A set of options that defines how DataBrew interprets an S3 path of the dataset.
391
+ */
392
+ PathOptions?: PathOptions;
388
393
  /**
389
394
  * Metadata tags to apply to this dataset.
390
395
  */
@@ -587,17 +592,17 @@ declare namespace DataBrew {
587
592
  export type CronExpression = string;
588
593
  export interface CsvOptions {
589
594
  /**
590
- * A single character that specifies the delimiter being used in the Csv file.
595
+ * A single character that specifies the delimiter being used in the CSV file.
591
596
  */
592
597
  Delimiter?: Delimiter;
593
598
  /**
594
- * A variable that specifies whether the first row in the file will be parsed as the header. If false, column names will be auto-generated.
599
+ * A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
595
600
  */
596
601
  HeaderRow?: HeaderRow;
597
602
  }
598
603
  export interface CsvOutputOptions {
599
604
  /**
600
- * A single character that specifies the delimiter used to create Csv job output.
605
+ * A single character that specifies the delimiter used to create CSV job output.
601
606
  */
602
607
  Delimiter?: Delimiter;
603
608
  }
@@ -619,7 +624,19 @@ declare namespace DataBrew {
619
624
  */
620
625
  TempDirectory?: S3Location;
621
626
  }
627
+ export interface DatabaseInputDefinition {
628
+ /**
629
+ * The AWS Glue Connection that stores the connection information for the target database.
630
+ */
631
+ GlueConnectionName: GlueConnectionName;
632
+ /**
633
+ * The table within the target database.
634
+ */
635
+ DatabaseTableName: DatabaseTableName;
636
+ TempDirectory?: S3Location;
637
+ }
622
638
  export type DatabaseName = string;
639
+ export type DatabaseTableName = string;
623
640
  export interface Dataset {
624
641
  /**
625
642
  * The ID of the AWS account that owns the dataset.
@@ -638,11 +655,11 @@ declare namespace DataBrew {
638
655
  */
639
656
  Name: DatasetName;
640
657
  /**
641
- * Specifies the file format of a dataset created from an S3 file or folder.
658
+ * The file format of a dataset that is created from an S3 file or folder.
642
659
  */
643
660
  Format?: InputFormat;
644
661
  /**
645
- * Options that define how DataBrew interprets the data in the dataset.
662
+ * A set of options that define how DataBrew interprets the data in the dataset.
646
663
  */
647
664
  FormatOptions?: FormatOptions;
648
665
  /**
@@ -661,6 +678,10 @@ declare namespace DataBrew {
661
678
  * The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
662
679
  */
663
680
  Source?: Source;
681
+ /**
682
+ * A set of options that defines how DataBrew interprets an S3 path of the dataset.
683
+ */
684
+ PathOptions?: PathOptions;
664
685
  /**
665
686
  * Metadata tags that have been applied to the dataset.
666
687
  */
@@ -672,7 +693,44 @@ declare namespace DataBrew {
672
693
  }
673
694
  export type DatasetList = Dataset[];
674
695
  export type DatasetName = string;
696
+ export interface DatasetParameter {
697
+ /**
698
+ * The name of the parameter that is used in the dataset's S3 path.
699
+ */
700
+ Name: PathParameterName;
701
+ /**
702
+ * The type of the dataset parameter, can be one of a 'String', 'Number' or 'Datetime'.
703
+ */
704
+ Type: ParameterType;
705
+ /**
706
+ * Additional parameter options such as a format and a timezone. Required for datetime parameters.
707
+ */
708
+ DatetimeOptions?: DatetimeOptions;
709
+ /**
710
+ * Optional boolean value that defines whether the captured value of this parameter should be loaded as an additional column in the dataset.
711
+ */
712
+ CreateColumn?: CreateColumn;
713
+ /**
714
+ * The optional filter expression structure to apply additional matching criteria to the parameter.
715
+ */
716
+ Filter?: FilterExpression;
717
+ }
675
718
  export type _Date = Date;
719
+ export type DatetimeFormat = string;
720
+ export interface DatetimeOptions {
721
+ /**
722
+ * Required option, that defines the datetime format used for a date parameter in the S3 path. Should use only supported datetime specifiers and separation characters, all litera a-z or A-Z character should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".
723
+ */
724
+ Format: DatetimeFormat;
725
+ /**
726
+ * Optional value for a timezone offset of the datetime parameter value in the S3 path. Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.
727
+ */
728
+ TimezoneOffset?: TimezoneOffset;
729
+ /**
730
+ * Optional value for a non-US locale code, needed for correct interpretation of some date formats.
731
+ */
732
+ LocaleCode?: LocaleCode;
733
+ }
676
734
  export interface DeleteDatasetRequest {
677
735
  /**
678
736
  * The name of the dataset to be deleted.
@@ -762,7 +820,7 @@ declare namespace DataBrew {
762
820
  */
763
821
  Name: DatasetName;
764
822
  /**
765
- * Specifies the file format of a dataset created from an S3 file or folder.
823
+ * The file format of a dataset that is created from an S3 file or folder.
766
824
  */
767
825
  Format?: InputFormat;
768
826
  FormatOptions?: FormatOptions;
@@ -779,6 +837,10 @@ declare namespace DataBrew {
779
837
  * The location of the data for this dataset, Amazon S3 or the AWS Glue Data Catalog.
780
838
  */
781
839
  Source?: Source;
840
+ /**
841
+ * A set of options that defines how DataBrew interprets an S3 path of the dataset.
842
+ */
843
+ PathOptions?: PathOptions;
782
844
  /**
783
845
  * Metadata tags associated with this dataset.
784
846
  */
@@ -1116,19 +1178,44 @@ declare namespace DataBrew {
1116
1178
  export type ErrorCode = string;
1117
1179
  export interface ExcelOptions {
1118
1180
  /**
1119
- * Specifies one or more named sheets in the Excel file, which will be included in the dataset.
1181
+ * One or more named sheets in the Excel file that will be included in the dataset.
1120
1182
  */
1121
1183
  SheetNames?: SheetNameList;
1122
1184
  /**
1123
- * Specifies one or more sheet numbers in the Excel file, which will be included in the dataset.
1185
+ * One or more sheet numbers in the Excel file that will be included in the dataset.
1124
1186
  */
1125
1187
  SheetIndexes?: SheetIndexList;
1126
1188
  /**
1127
- * A variable that specifies whether the first row in the file will be parsed as the header. If false, column names will be auto-generated.
1189
+ * A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
1128
1190
  */
1129
1191
  HeaderRow?: HeaderRow;
1130
1192
  }
1131
1193
  export type ExecutionTime = number;
1194
+ export type Expression = string;
1195
+ export interface FilesLimit {
1196
+ /**
1197
+ * The number of S3 files to select.
1198
+ */
1199
+ MaxFiles: MaxFiles;
1200
+ /**
1201
+ * A criteria to use for S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
1202
+ */
1203
+ OrderedBy?: OrderedBy;
1204
+ /**
1205
+ * A criteria to use for S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Anotherpossible value is ASCENDING.
1206
+ */
1207
+ Order?: Order;
1208
+ }
1209
+ export interface FilterExpression {
1210
+ /**
1211
+ * The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.
1212
+ */
1213
+ Expression: Expression;
1214
+ /**
1215
+ * The map of substitution variable names to their values used in this filter expression.
1216
+ */
1217
+ ValuesMap: ValuesMap;
1218
+ }
1132
1219
  export interface FormatOptions {
1133
1220
  /**
1134
1221
  * Options that define how JSON input is to be interpreted by DataBrew.
@@ -1139,10 +1226,11 @@ declare namespace DataBrew {
1139
1226
  */
1140
1227
  Excel?: ExcelOptions;
1141
1228
  /**
1142
- * Options that define how Csv input is to be interpreted by DataBrew.
1229
+ * Options that define how CSV input is to be interpreted by DataBrew.
1143
1230
  */
1144
1231
  Csv?: CsvOptions;
1145
1232
  }
1233
+ export type GlueConnectionName = string;
1146
1234
  export type HeaderRow = boolean;
1147
1235
  export type HiddenColumnList = ColumnName[];
1148
1236
  export interface Input {
@@ -1154,6 +1242,10 @@ declare namespace DataBrew {
1154
1242
  * The AWS Glue Data Catalog parameters for the data.
1155
1243
  */
1156
1244
  DataCatalogInputDefinition?: DataCatalogInputDefinition;
1245
+ /**
1246
+ * Connection information for dataset input files stored in a database.
1247
+ */
1248
+ DatabaseInputDefinition?: DatabaseInputDefinition;
1157
1249
  }
1158
1250
  export type InputFormat = "CSV"|"JSON"|"PARQUET"|"EXCEL"|string;
1159
1251
  export interface Job {
@@ -1178,7 +1270,7 @@ declare namespace DataBrew {
1178
1270
  */
1179
1271
  EncryptionKeyArn?: EncryptionKeyArn;
1180
1272
  /**
1181
- * The encryption mode for the job, which can be one of the following: SSE-KMS - Server-side encryption with AWS KMS-managed keys. SSE-S3 - Server-side encryption with keys managed by Amazon S3.
1273
+ * The encryption mode for the job, which can be one of the following: SSE-KMS - Server-side encryption with keys managed by AWS KMS. SSE-S3 - Server-side encryption with keys managed by Amazon S3.
1182
1274
  */
1183
1275
  EncryptionMode?: EncryptionMode;
1184
1276
  /**
@@ -1226,7 +1318,7 @@ declare namespace DataBrew {
1226
1318
  */
1227
1319
  ResourceArn?: Arn;
1228
1320
  /**
1229
- * The Amazon Resource Name (ARN) of the role that will be assumed for this job.
1321
+ * The Amazon Resource Name (ARN) of the role to be assumed for this job.
1230
1322
  */
1231
1323
  RoleArn?: Arn;
1232
1324
  /**
@@ -1238,7 +1330,7 @@ declare namespace DataBrew {
1238
1330
  */
1239
1331
  Tags?: TagMap;
1240
1332
  /**
1241
- * Sample configuration for profile jobs only. Determines the number of rows on which the profile job will be executed. If a JobSample value is not provided, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
1333
+ * A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample value isn't provided, the default value is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
1242
1334
  */
1243
1335
  JobSample?: JobSample;
1244
1336
  }
@@ -1303,7 +1395,7 @@ declare namespace DataBrew {
1303
1395
  */
1304
1396
  StartedOn?: _Date;
1305
1397
  /**
1306
- * Sample configuration for profile jobs only. Determines the number of rows on which the profile job will be executed. If a JobSample value is not provided, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
1398
+ * A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
1307
1399
  */
1308
1400
  JobSample?: JobSample;
1309
1401
  }
@@ -1313,11 +1405,11 @@ declare namespace DataBrew {
1313
1405
  export type JobRunState = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"|string;
1314
1406
  export interface JobSample {
1315
1407
  /**
1316
- * Determines whether the profile job will be executed on the entire dataset or on a specified number of rows. Must be one of the following: FULL_DATASET: Profile job will be executed on the entire dataset. CUSTOM_ROWS: Profile job will be executed on the number of rows specified in the Size parameter.
1408
+ * A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following: FULL_DATASET - The profile job is run on the entire dataset. CUSTOM_ROWS - The profile job is run on the number of rows specified in the Size parameter.
1317
1409
  */
1318
1410
  Mode?: SampleMode;
1319
1411
  /**
1320
- * Size parameter is only required when the mode is CUSTOM_ROWS. Profile job will be executed on the the specified number of rows. The maximum value for size is Long.MAX_VALUE. Long.MAX_VALUE = 9223372036854775807
1412
+ * The Size parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE. Long.MAX_VALUE = 9223372036854775807
1321
1413
  */
1322
1414
  Size?: JobSize;
1323
1415
  }
@@ -1507,15 +1599,19 @@ declare namespace DataBrew {
1507
1599
  */
1508
1600
  Tags?: TagMap;
1509
1601
  }
1602
+ export type LocaleCode = string;
1510
1603
  export type LogGroupName = string;
1511
1604
  export type LogSubscription = "ENABLE"|"DISABLE"|string;
1512
1605
  export type MaxCapacity = number;
1606
+ export type MaxFiles = number;
1513
1607
  export type MaxResults100 = number;
1514
1608
  export type MaxRetries = number;
1515
1609
  export type MultiLine = boolean;
1516
1610
  export type NextToken = string;
1517
1611
  export type OpenedBy = string;
1518
1612
  export type Operation = string;
1613
+ export type Order = "DESCENDING"|"ASCENDING"|string;
1614
+ export type OrderedBy = "LAST_MODIFIED_DATE"|string;
1519
1615
  export interface Output {
1520
1616
  /**
1521
1617
  * The compression algorithm used to compress the output text of the job.
@@ -1538,14 +1634,14 @@ declare namespace DataBrew {
1538
1634
  */
1539
1635
  Overwrite?: OverwriteOutput;
1540
1636
  /**
1541
- * Options that define how DataBrew formats job output files.
1637
+ * Represents options that define how DataBrew formats job output files.
1542
1638
  */
1543
1639
  FormatOptions?: OutputFormatOptions;
1544
1640
  }
1545
1641
  export type OutputFormat = "CSV"|"JSON"|"PARQUET"|"GLUEPARQUET"|"AVRO"|"ORC"|"XML"|string;
1546
1642
  export interface OutputFormatOptions {
1547
1643
  /**
1548
- * Options that define how DataBrew writes Csv output.
1644
+ * Represents a set of options that define the structure of comma-separated value (CSV) job output.
1549
1645
  */
1550
1646
  Csv?: CsvOutputOptions;
1551
1647
  }
@@ -1553,7 +1649,24 @@ declare namespace DataBrew {
1553
1649
  export type OverwriteOutput = boolean;
1554
1650
  export type ParameterMap = {[key: string]: ParameterValue};
1555
1651
  export type ParameterName = string;
1652
+ export type ParameterType = "Datetime"|"Number"|"String"|string;
1556
1653
  export type ParameterValue = string;
1654
+ export interface PathOptions {
1655
+ /**
1656
+ * If provided, this structure defines a date range for matching S3 objects based on their LastModifiedDate attribute in S3.
1657
+ */
1658
+ LastModifiedDateCondition?: FilterExpression;
1659
+ /**
1660
+ * If provided, this structure imposes a limit on a number of files that should be selected.
1661
+ */
1662
+ FilesLimit?: FilesLimit;
1663
+ /**
1664
+ * A structure that maps names of parameters used in the S3 path of a dataset to their definitions.
1665
+ */
1666
+ Parameters?: PathParametersMap;
1667
+ }
1668
+ export type PathParameterName = string;
1669
+ export type PathParametersMap = {[key: string]: DatasetParameter};
1557
1670
  export type Preview = boolean;
1558
1671
  export interface Project {
1559
1672
  /**
@@ -1593,7 +1706,7 @@ declare namespace DataBrew {
1593
1706
  */
1594
1707
  ResourceArn?: Arn;
1595
1708
  /**
1596
- * The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample will consiste of the first 500 rows from the dataset.
1709
+ * The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
1597
1710
  */
1598
1711
  Sample?: Sample;
1599
1712
  /**
@@ -1682,7 +1795,7 @@ declare namespace DataBrew {
1682
1795
  */
1683
1796
  Tags?: TagMap;
1684
1797
  /**
1685
- * The identifier for the version for the recipe. Must be one of the following: Numeric version (X.Y) - X and Y stand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X and Y are required, and "0.0" is not a valid version. LATEST_WORKING - the most recent valid version being developed in a DataBrew project. LATEST_PUBLISHED - the most recent published version.
1798
+ * The identifier for the version for the recipe. Must be one of the following: Numeric version (X.Y) - X and Y stand for major and minor version numbers. The maximum length of each is 6 digits, and neither can be negative values. Both X and Y are required, and "0.0" isn't a valid version. LATEST_WORKING - the most recent valid version being developed in a DataBrew project. LATEST_PUBLISHED - the most recent published version.
1686
1799
  */
1687
1800
  RecipeVersion?: RecipeVersion;
1688
1801
  }
@@ -1717,7 +1830,7 @@ declare namespace DataBrew {
1717
1830
  */
1718
1831
  Action: RecipeAction;
1719
1832
  /**
1720
- * One or more conditions that must be met, in order for the recipe step to succeed. All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.
1833
+ * One or more conditions that must be met for the recipe step to succeed. All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.
1721
1834
  */
1722
1835
  ConditionExpressions?: ConditionExpressionList;
1723
1836
  }
@@ -1792,7 +1905,7 @@ declare namespace DataBrew {
1792
1905
  */
1793
1906
  ResourceArn?: Arn;
1794
1907
  /**
1795
- * The date(s) and time(s) when the job will run. For more information, see Cron expressions in the AWS Glue DataBrew Developer Guide.
1908
+ * The dates and times when the job is to run. For more information, see Cron expressions in the AWS Glue DataBrew Developer Guide.
1796
1909
  */
1797
1910
  CronExpression?: CronExpression;
1798
1911
  /**
@@ -1845,7 +1958,7 @@ declare namespace DataBrew {
1845
1958
  export type SheetIndexList = SheetIndex[];
1846
1959
  export type SheetName = string;
1847
1960
  export type SheetNameList = SheetName[];
1848
- export type Source = "S3"|"DATA-CATALOG"|string;
1961
+ export type Source = "S3"|"DATA-CATALOG"|"DATABASE"|string;
1849
1962
  export type StartColumnIndex = number;
1850
1963
  export interface StartJobRunRequest {
1851
1964
  /**
@@ -1916,6 +2029,7 @@ declare namespace DataBrew {
1916
2029
  export type TagValue = string;
1917
2030
  export type TargetColumn = string;
1918
2031
  export type Timeout = number;
2032
+ export type TimezoneOffset = string;
1919
2033
  export interface UntagResourceRequest {
1920
2034
  /**
1921
2035
  * A DataBrew resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).
@@ -1934,11 +2048,15 @@ declare namespace DataBrew {
1934
2048
  */
1935
2049
  Name: DatasetName;
1936
2050
  /**
1937
- * Specifies the file format of a dataset created from an S3 file or folder.
2051
+ * The file format of a dataset that is created from an S3 file or folder.
1938
2052
  */
1939
2053
  Format?: InputFormat;
1940
2054
  FormatOptions?: FormatOptions;
1941
2055
  Input: Input;
2056
+ /**
2057
+ * A set of options that defines how DataBrew interprets an S3 path of the dataset.
2058
+ */
2059
+ PathOptions?: PathOptions;
1942
2060
  }
1943
2061
  export interface UpdateDatasetResponse {
1944
2062
  /**
@@ -2096,6 +2214,8 @@ declare namespace DataBrew {
2096
2214
  */
2097
2215
  Name: ScheduleName;
2098
2216
  }
2217
+ export type ValueReference = string;
2218
+ export type ValuesMap = {[key: string]: ConditionValue};
2099
2219
  export interface ViewFrame {
2100
2220
  /**
2101
2221
  * The starting index for the range of columns to return in the view frame.
@@ -19,6 +19,10 @@ declare class Detective extends Service {
19
19
  * Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account. The request provides the ARN of behavior graph. The member account status in the graph must be INVITED.
20
20
  */
21
21
  acceptInvitation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
+ /**
23
+ * Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective. Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable Detective. The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph. CreateGraph triggers a process to create the corresponding data tables for the new behavior graph. An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.
24
+ */
25
+ createGraph(params: Detective.Types.CreateGraphRequest, callback?: (err: AWSError, data: Detective.Types.CreateGraphResponse) => void): Request<Detective.Types.CreateGraphResponse, AWSError>;
22
26
  /**
23
27
  * Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective. Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable Detective. The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph. CreateGraph triggers a process to create the corresponding data tables for the new behavior graph. An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.
24
28
  */
@@ -87,6 +91,14 @@ declare class Detective extends Service {
87
91
  * Retrieves the list of member accounts for a behavior graph. Does not return member accounts that were removed from the behavior graph.
88
92
  */
89
93
  listMembers(callback?: (err: AWSError, data: Detective.Types.ListMembersResponse) => void): Request<Detective.Types.ListMembersResponse, AWSError>;
94
+ /**
95
+ * Returns the tag values that are assigned to a behavior graph.
96
+ */
97
+ listTagsForResource(params: Detective.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Detective.Types.ListTagsForResourceResponse) => void): Request<Detective.Types.ListTagsForResourceResponse, AWSError>;
98
+ /**
99
+ * Returns the tag values that are assigned to a behavior graph.
100
+ */
101
+ listTagsForResource(callback?: (err: AWSError, data: Detective.Types.ListTagsForResourceResponse) => void): Request<Detective.Types.ListTagsForResourceResponse, AWSError>;
90
102
  /**
91
103
  * Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by a member account that has the INVITED status.
92
104
  */
@@ -103,6 +115,22 @@ declare class Detective extends Service {
103
115
  * Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED. For valid member accounts, the status is updated as follows. If Detective enabled the member account, then the new status is ENABLED. If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED.
104
116
  */
105
117
  startMonitoringMember(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
118
+ /**
119
+ * Applies tag values to a behavior graph.
120
+ */
121
+ tagResource(params: Detective.Types.TagResourceRequest, callback?: (err: AWSError, data: Detective.Types.TagResourceResponse) => void): Request<Detective.Types.TagResourceResponse, AWSError>;
122
+ /**
123
+ * Applies tag values to a behavior graph.
124
+ */
125
+ tagResource(callback?: (err: AWSError, data: Detective.Types.TagResourceResponse) => void): Request<Detective.Types.TagResourceResponse, AWSError>;
126
+ /**
127
+ * Removes tags from a behavior graph.
128
+ */
129
+ untagResource(params: Detective.Types.UntagResourceRequest, callback?: (err: AWSError, data: Detective.Types.UntagResourceResponse) => void): Request<Detective.Types.UntagResourceResponse, AWSError>;
130
+ /**
131
+ * Removes tags from a behavior graph.
132
+ */
133
+ untagResource(callback?: (err: AWSError, data: Detective.Types.UntagResourceResponse) => void): Request<Detective.Types.UntagResourceResponse, AWSError>;
106
134
  }
107
135
  declare namespace Detective {
108
136
  export interface AcceptInvitationRequest {
@@ -125,6 +153,12 @@ declare namespace Detective {
125
153
  export type AccountIdList = AccountId[];
126
154
  export type AccountList = Account[];
127
155
  export type Boolean = boolean;
156
+ export interface CreateGraphRequest {
157
+ /**
158
+ * The tags to assign to the new behavior graph. For each tag, you provide the tag key and the tag value.
159
+ */
160
+ Tags?: TagMap;
161
+ }
128
162
  export interface CreateGraphResponse {
129
163
  /**
130
164
  * The ARN of the new behavior graph.
@@ -289,6 +323,18 @@ declare namespace Detective {
289
323
  */
290
324
  NextToken?: PaginationToken;
291
325
  }
326
+ export interface ListTagsForResourceRequest {
327
+ /**
328
+ * The ARN of the behavior graph for which to retrieve the tag values.
329
+ */
330
+ ResourceArn: GraphArn;
331
+ }
332
+ export interface ListTagsForResourceResponse {
333
+ /**
334
+ * The tag values that are assigned to the behavior graph.
335
+ */
336
+ Tags?: TagMap;
337
+ }
292
338
  export interface MemberDetail {
293
339
  /**
294
340
  * The AWS account identifier for the member account.
@@ -357,6 +403,22 @@ declare namespace Detective {
357
403
  */
358
404
  AccountId: AccountId;
359
405
  }
406
+ export type TagKey = string;
407
+ export type TagKeyList = TagKey[];
408
+ export type TagMap = {[key: string]: TagValue};
409
+ export interface TagResourceRequest {
410
+ /**
411
+ * The ARN of the behavior graph to assign the tags to.
412
+ */
413
+ ResourceArn: GraphArn;
414
+ /**
415
+ * The tag values to assign to the behavior graph.
416
+ */
417
+ Tags: TagMap;
418
+ }
419
+ export interface TagResourceResponse {
420
+ }
421
+ export type TagValue = string;
360
422
  export type Timestamp = Date;
361
423
  export interface UnprocessedAccount {
362
424
  /**
@@ -370,6 +432,18 @@ declare namespace Detective {
370
432
  }
371
433
  export type UnprocessedAccountList = UnprocessedAccount[];
372
434
  export type UnprocessedReason = string;
435
+ export interface UntagResourceRequest {
436
+ /**
437
+ * The ARN of the behavior graph to remove the tags from.
438
+ */
439
+ ResourceArn: GraphArn;
440
+ /**
441
+ * The tag keys of the tags to remove from the behavior graph.
442
+ */
443
+ TagKeys: TagKeyList;
444
+ }
445
+ export interface UntagResourceResponse {
446
+ }
373
447
  /**
374
448
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
375
449
  */