cdk-comprehend-s3olap 2.0.36 → 2.0.37

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 (33) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +14 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +38 -38
  8. package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +171 -6
  9. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1 -2
  10. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +56 -44
  11. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +103 -44
  12. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +326 -182
  13. package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +5 -0
  14. package/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json +119 -111
  15. package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +54 -34
  16. package/node_modules/aws-sdk/clients/athena.d.ts +6 -4
  17. package/node_modules/aws-sdk/clients/codeartifact.d.ts +207 -42
  18. package/node_modules/aws-sdk/clients/configservice.d.ts +7 -7
  19. package/node_modules/aws-sdk/clients/ec2.d.ts +2 -2
  20. package/node_modules/aws-sdk/clients/fms.d.ts +23 -3
  21. package/node_modules/aws-sdk/clients/glue.d.ts +43 -37
  22. package/node_modules/aws-sdk/clients/inspector2.d.ts +73 -5
  23. package/node_modules/aws-sdk/clients/kendra.d.ts +316 -131
  24. package/node_modules/aws-sdk/clients/nimble.d.ts +61 -37
  25. package/node_modules/aws-sdk/clients/outposts.d.ts +33 -0
  26. package/node_modules/aws-sdk/clients/sagemaker.d.ts +1 -1
  27. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  28. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +10 -10
  29. package/node_modules/aws-sdk/dist/aws-sdk.js +42 -43
  30. package/node_modules/aws-sdk/dist/aws-sdk.min.js +4 -4
  31. package/node_modules/aws-sdk/lib/core.js +1 -1
  32. package/node_modules/aws-sdk/package.json +1 -1
  33. package/package.json +5 -5
@@ -115,6 +115,14 @@ declare class Inspector2 extends Service {
115
115
  * Enables the Amazon Inspector delegated administrator for your Organizations organization.
116
116
  */
117
117
  enableDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.EnableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.EnableDelegatedAdminAccountResponse, AWSError>;
118
+ /**
119
+ * Retrieves setting configurations for Inspector scans.
120
+ */
121
+ getConfiguration(params: Inspector2.Types.GetConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.GetConfigurationResponse) => void): Request<Inspector2.Types.GetConfigurationResponse, AWSError>;
122
+ /**
123
+ * Retrieves setting configurations for Inspector scans.
124
+ */
125
+ getConfiguration(callback?: (err: AWSError, data: Inspector2.Types.GetConfigurationResponse) => void): Request<Inspector2.Types.GetConfigurationResponse, AWSError>;
118
126
  /**
119
127
  * Retrieves information about the Amazon Inspector delegated administrator for your organization.
120
128
  */
@@ -235,6 +243,14 @@ declare class Inspector2 extends Service {
235
243
  * Removes tags from a resource.
236
244
  */
237
245
  untagResource(callback?: (err: AWSError, data: Inspector2.Types.UntagResourceResponse) => void): Request<Inspector2.Types.UntagResourceResponse, AWSError>;
246
+ /**
247
+ * Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
248
+ */
249
+ updateConfiguration(params: Inspector2.Types.UpdateConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateConfigurationResponse) => void): Request<Inspector2.Types.UpdateConfigurationResponse, AWSError>;
250
+ /**
251
+ * Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
252
+ */
253
+ updateConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateConfigurationResponse) => void): Request<Inspector2.Types.UpdateConfigurationResponse, AWSError>;
238
254
  /**
239
255
  * Specifies the action that is to be applied to the findings that match the filter.
240
256
  */
@@ -671,7 +687,7 @@ declare namespace Inspector2 {
671
687
  */
672
688
  resourceId?: CoverageStringFilterList;
673
689
  /**
674
- * An array of Amazon Web Services resource types to return coverage statistics for.
690
+ * An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY.
675
691
  */
676
692
  resourceType?: CoverageStringFilterList;
677
693
  /**
@@ -761,6 +777,10 @@ declare namespace Inspector2 {
761
777
  * The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
762
778
  */
763
779
  name: FilterName;
780
+ /**
781
+ * The reason for creating the filter.
782
+ */
783
+ reason?: FilterReason;
764
784
  /**
765
785
  * A list of tags for the filter.
766
786
  */
@@ -1039,6 +1059,18 @@ declare namespace Inspector2 {
1039
1059
  tags?: TagMap;
1040
1060
  }
1041
1061
  export type Ec2Platform = "WINDOWS"|"LINUX"|"UNKNOWN"|string;
1062
+ export interface EcrConfiguration {
1063
+ /**
1064
+ * The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.
1065
+ */
1066
+ rescanDuration: EcrRescanDuration;
1067
+ }
1068
+ export interface EcrConfigurationState {
1069
+ /**
1070
+ * An object that contains details about the state of the ECR automated re-scan setting.
1071
+ */
1072
+ rescanDurationState?: EcrRescanDurationState;
1073
+ }
1042
1074
  export interface EcrContainerImageMetadata {
1043
1075
  /**
1044
1076
  * Tags associated with the Amazon ECR image metadata.
@@ -1055,6 +1087,22 @@ declare namespace Inspector2 {
1055
1087
  */
1056
1088
  scanFrequency?: EcrScanFrequency;
1057
1089
  }
1090
+ export type EcrRescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|string;
1091
+ export interface EcrRescanDurationState {
1092
+ /**
1093
+ * The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.
1094
+ */
1095
+ rescanDuration?: EcrRescanDuration;
1096
+ /**
1097
+ * The status of changes to the ECR automated re-scan duration.
1098
+ */
1099
+ status?: EcrRescanDurationStatus;
1100
+ /**
1101
+ * A timestamp representing when the last time the ECR scan duration setting was changed.
1102
+ */
1103
+ updatedAt?: DateTimeTimestamp;
1104
+ }
1105
+ export type EcrRescanDurationStatus = "SUCCESS"|"PENDING"|"FAILED"|string;
1058
1106
  export type EcrScanFrequency = "MANUAL"|"SCAN_ON_PUSH"|"CONTINUOUS_SCAN"|string;
1059
1107
  export interface EnableDelegatedAdminAccountRequest {
1060
1108
  /**
@@ -1097,7 +1145,7 @@ declare namespace Inspector2 {
1097
1145
  */
1098
1146
  failedAccounts?: FailedAccountList;
1099
1147
  }
1100
- export type ErrorCode = "ALREADY_ENABLED"|"ENABLE_IN_PROGRESS"|"DISABLE_IN_PROGRESS"|"SUSPEND_IN_PROGRESS"|"RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"SSM_UNAVAILABLE"|"SSM_THROTTLED"|"EVENTBRIDGE_UNAVAILABLE"|"EVENTBRIDGE_THROTTLED"|"RESOURCE_SCAN_NOT_DISABLED"|"DISASSOCIATE_ALL_MEMBERS"|string;
1148
+ export type ErrorCode = "ALREADY_ENABLED"|"ENABLE_IN_PROGRESS"|"DISABLE_IN_PROGRESS"|"SUSPEND_IN_PROGRESS"|"RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"SSM_UNAVAILABLE"|"SSM_THROTTLED"|"EVENTBRIDGE_UNAVAILABLE"|"EVENTBRIDGE_THROTTLED"|"RESOURCE_SCAN_NOT_DISABLED"|"DISASSOCIATE_ALL_MEMBERS"|"ACCOUNT_IS_ISOLATED"|string;
1101
1149
  export type ErrorMessage = string;
1102
1150
  export type ExternalReportStatus = "SUCCEEDED"|"IN_PROGRESS"|"CANCELLED"|"FAILED"|string;
1103
1151
  export interface FailedAccount {
@@ -1448,6 +1496,14 @@ declare namespace Inspector2 {
1448
1496
  export type FreeTrialInfoList = FreeTrialInfo[];
1449
1497
  export type FreeTrialStatus = "ACTIVE"|"INACTIVE"|string;
1450
1498
  export type FreeTrialType = "EC2"|"ECR"|string;
1499
+ export interface GetConfigurationRequest {
1500
+ }
1501
+ export interface GetConfigurationResponse {
1502
+ /**
1503
+ * Specifies how the ECR automated re-scan duration is currently configured for your environment.
1504
+ */
1505
+ ecrConfiguration?: EcrConfigurationState;
1506
+ }
1451
1507
  export interface GetDelegatedAdminAccountRequest {
1452
1508
  }
1453
1509
  export interface GetDelegatedAdminAccountResponse {
@@ -1949,7 +2005,7 @@ declare namespace Inspector2 {
1949
2005
  version?: StringFilter;
1950
2006
  }
1951
2007
  export type PackageFilterList = PackageFilter[];
1952
- export type PackageManager = "BUNDLER"|"CARGO"|"COMPOSER"|"NPM"|"NUGET"|"PIPENV"|"POETRY"|"YARN"|"GOBINARY"|"GOMOD"|"JAR"|"OS"|string;
2008
+ export type PackageManager = "BUNDLER"|"CARGO"|"COMPOSER"|"NPM"|"NUGET"|"PIPENV"|"POETRY"|"YARN"|"GOBINARY"|"GOMOD"|"JAR"|"OS"|"PIP"|"PYTHONPKG"|"NODEPKG"|"POM"|string;
1953
2009
  export type PackageName = string;
1954
2010
  export type PackageRelease = string;
1955
2011
  export type PackageSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
@@ -2049,7 +2105,7 @@ declare namespace Inspector2 {
2049
2105
  }
2050
2106
  export type ReportFormat = "CSV"|"JSON"|string;
2051
2107
  export type ReportId = string;
2052
- export type ReportingErrorCode = "INTERNAL_ERROR"|"INVALID_PERMISSIONS"|string;
2108
+ export type ReportingErrorCode = "INTERNAL_ERROR"|"INVALID_PERMISSIONS"|"NO_FINDINGS_FOUND"|"BUCKET_NOT_FOUND"|"INCOMPATIBLE_BUCKET_REGION"|"MALFORMED_KMS_KEY"|string;
2053
2109
  export interface RepositoryAggregation {
2054
2110
  /**
2055
2111
  * The names of repositories to aggregate findings on.
@@ -2168,7 +2224,7 @@ declare namespace Inspector2 {
2168
2224
  statusCode: ScanStatusCode;
2169
2225
  }
2170
2226
  export type ScanStatusCode = "ACTIVE"|"INACTIVE"|string;
2171
- export type ScanStatusReason = "PENDING_INITIAL_SCAN"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"UNMANAGED_EC2_INSTANCE"|"UNSUPPORTED_OS"|"SCAN_ELIGIBILITY_EXPIRED"|"RESOURCE_TERMINATED"|"SUCCESSFUL"|"NO_RESOURCES_FOUND"|"IMAGE_SIZE_EXCEEDED"|"SCAN_FREQUENCY_MANUAL"|"SCAN_FREQUENCY_SCAN_ON_PUSH"|"EC2_INSTANCE_STOPPED"|string;
2227
+ export type ScanStatusReason = "PENDING_INITIAL_SCAN"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"UNMANAGED_EC2_INSTANCE"|"UNSUPPORTED_OS"|"SCAN_ELIGIBILITY_EXPIRED"|"RESOURCE_TERMINATED"|"SUCCESSFUL"|"NO_RESOURCES_FOUND"|"IMAGE_SIZE_EXCEEDED"|"SCAN_FREQUENCY_MANUAL"|"SCAN_FREQUENCY_SCAN_ON_PUSH"|"EC2_INSTANCE_STOPPED"|"PENDING_DISABLE"|string;
2172
2228
  export type ScanType = "NETWORK"|"PACKAGE"|string;
2173
2229
  export type Service = "EC2"|"ECR"|string;
2174
2230
  export type Severity = "INFORMATIONAL"|"LOW"|"MEDIUM"|"HIGH"|"CRITICAL"|"UNTRIAGED"|string;
@@ -2314,6 +2370,14 @@ declare namespace Inspector2 {
2314
2370
  }
2315
2371
  export interface UntagResourceResponse {
2316
2372
  }
2373
+ export interface UpdateConfigurationRequest {
2374
+ /**
2375
+ * Specifies how the ECR automated re-scan will be updated for your environment.
2376
+ */
2377
+ ecrConfiguration: EcrConfiguration;
2378
+ }
2379
+ export interface UpdateConfigurationResponse {
2380
+ }
2317
2381
  export interface UpdateFilterRequest {
2318
2382
  /**
2319
2383
  * Specifies the action that is to be applied to the findings that match the filter.
@@ -2335,6 +2399,10 @@ declare namespace Inspector2 {
2335
2399
  * The name of the filter.
2336
2400
  */
2337
2401
  name?: FilterName;
2402
+ /**
2403
+ * The reason the filter was updated.
2404
+ */
2405
+ reason?: FilterReason;
2338
2406
  }
2339
2407
  export interface UpdateFilterResponse {
2340
2408
  /**