cdk-lambda-subminute 2.0.292 → 2.0.293

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 (30) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +13 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +3 -0
  6. package/node_modules/aws-sdk/apis/connectcases-2022-10-03.min.json +29 -16
  7. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +217 -52
  8. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +82 -76
  9. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +25 -21
  10. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +9 -0
  11. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +48 -24
  12. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +46 -117
  13. package/node_modules/aws-sdk/apis/sqs-2012-11-05.paginators.json +3 -3
  14. package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
  15. package/node_modules/aws-sdk/clients/connectcases.d.ts +17 -2
  16. package/node_modules/aws-sdk/clients/guardduty.d.ts +168 -2
  17. package/node_modules/aws-sdk/clients/lambda.d.ts +8 -8
  18. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +8 -0
  19. package/node_modules/aws-sdk/clients/omics.d.ts +17 -0
  20. package/node_modules/aws-sdk/clients/rds.d.ts +2 -2
  21. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +12 -0
  22. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +40 -2
  23. package/node_modules/aws-sdk/clients/sqs.d.ts +15 -13
  24. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  25. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +10 -10
  26. package/node_modules/aws-sdk/dist/aws-sdk.js +55 -122
  27. package/node_modules/aws-sdk/dist/aws-sdk.min.js +20 -20
  28. package/node_modules/aws-sdk/lib/core.js +1 -1
  29. package/node_modules/aws-sdk/package.json +1 -1
  30. package/package.json +2 -2
@@ -680,6 +680,18 @@ declare namespace GuardDuty {
680
680
  * Information about RDS_LOGIN_ATTEMPT action described in this finding.
681
681
  */
682
682
  RdsLoginAttemptAction?: RdsLoginAttemptAction;
683
+ /**
684
+ * Information whether the user has the permission to use a specific Kubernetes API.
685
+ */
686
+ KubernetesPermissionCheckedDetails?: KubernetesPermissionCheckedDetails;
687
+ /**
688
+ * Information about the role binding that grants the permission defined in a Kubernetes role.
689
+ */
690
+ KubernetesRoleBindingDetails?: KubernetesRoleBindingDetails;
691
+ /**
692
+ * Information about the Kubernetes role name and role type.
693
+ */
694
+ KubernetesRoleDetails?: KubernetesRoleDetails;
683
695
  }
684
696
  export interface AddonDetails {
685
697
  /**
@@ -722,6 +734,40 @@ declare namespace GuardDuty {
722
734
  InvitedAt?: String;
723
735
  }
724
736
  export type AffectedResources = {[key: string]: String};
737
+ export interface Anomaly {
738
+ /**
739
+ * Information about the types of profiles.
740
+ */
741
+ Profiles?: AnomalyProfiles;
742
+ /**
743
+ * Information about the behavior of the anomalies.
744
+ */
745
+ Unusual?: AnomalyUnusual;
746
+ }
747
+ export interface AnomalyObject {
748
+ /**
749
+ * The type of behavior of the profile.
750
+ */
751
+ ProfileType?: ProfileType;
752
+ /**
753
+ * The frequency of the anomaly.
754
+ */
755
+ ProfileSubtype?: ProfileSubtype;
756
+ /**
757
+ * The recorded value.
758
+ */
759
+ Observations?: Observations;
760
+ }
761
+ export type AnomalyProfileFeatureObjects = AnomalyObject[];
762
+ export type AnomalyProfileFeatures = {[key: string]: AnomalyProfileFeatureObjects};
763
+ export type AnomalyProfiles = {[key: string]: AnomalyProfileFeatures};
764
+ export interface AnomalyUnusual {
765
+ /**
766
+ * The behavior of the anomalous activity that caused GuardDuty to generate the finding.
767
+ */
768
+ Behavior?: Behavior;
769
+ }
770
+ export type AnomalyUnusualBehaviorFeature = {[key: string]: AnomalyObject};
725
771
  export interface ArchiveFindingsRequest {
726
772
  /**
727
773
  * The ID of the detector that specifies the GuardDuty service whose findings you want to archive.
@@ -773,6 +819,7 @@ declare namespace GuardDuty {
773
819
  */
774
820
  AffectedResources?: AffectedResources;
775
821
  }
822
+ export type Behavior = {[key: string]: AnomalyUnusualBehaviorFeature};
776
823
  export interface BlockPublicAccess {
777
824
  /**
778
825
  * Indicates if S3 Block Public Access is set to IgnorePublicAcls.
@@ -1096,7 +1143,7 @@ declare namespace GuardDuty {
1096
1143
  */
1097
1144
  Rank?: FilterRank;
1098
1145
  /**
1099
- * Represents the criteria to be used in the filter for querying findings. You can only use the following attributes to query findings: accountId id region severity To filter on the basis of severity, the API and CLI use the following input list for the FindingCriteria condition: Low: ["1", "2", "3"] Medium: ["4", "5", "6"] High: ["7", "8", "9"] For more information, see Severity levels for GuardDuty findings. type updatedAt Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds. resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.outpostArn resource.resourceType resource.s3BucketDetails.publicAccess.effectivePermissions resource.s3BucketDetails.name resource.s3BucketDetails.tags.key resource.s3BucketDetails.tags.value resource.s3BucketDetails.type service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.errorCode service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.action.awsApiCallAction.remoteAccountDetails.affiliated service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 service.action.kubernetesApiCallAction.requestUri service.action.networkConnectionAction.localIpDetails.ipAddressV4 service.action.networkConnectionAction.protocol service.action.awsApiCallAction.serviceName service.action.awsApiCallAction.remoteAccountDetails.accountId service.additionalInfo.threatListName service.resourceRole resource.eksClusterDetails.name resource.kubernetesDetails.kubernetesWorkloadDetails.name resource.kubernetesDetails.kubernetesWorkloadDetails.namespace resource.kubernetesDetails.kubernetesUserDetails.username resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix service.ebsVolumeScanDetails.scanId service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash resource.ecsClusterDetails.name resource.ecsClusterDetails.taskDetails.containers.image resource.ecsClusterDetails.taskDetails.definitionArn resource.containerDetails.image resource.rdsDbInstanceDetails.dbInstanceIdentifier resource.rdsDbInstanceDetails.dbClusterIdentifier resource.rdsDbInstanceDetails.engine resource.rdsDbUserDetails.user resource.rdsDbInstanceDetails.tags.key resource.rdsDbInstanceDetails.tags.value service.runtimeDetails.process.executableSha256 service.runtimeDetails.process.name service.runtimeDetails.process.name resource.lambdaDetails.functionName resource.lambdaDetails.functionArn resource.lambdaDetails.tags.key resource.lambdaDetails.tags.value
1146
+ * Represents the criteria to be used in the filter for querying findings. You can only use the following attributes to query findings: accountId id region severity To filter on the basis of severity, the API and CLI use the following input list for the FindingCriteria condition: Low: ["1", "2", "3"] Medium: ["4", "5", "6"] High: ["7", "8", "9"] For more information, see Severity levels for GuardDuty findings. type updatedAt Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds. resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.outpostArn resource.resourceType resource.s3BucketDetails.publicAccess.effectivePermissions resource.s3BucketDetails.name resource.s3BucketDetails.tags.key resource.s3BucketDetails.tags.value resource.s3BucketDetails.type service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.errorCode service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.dnsRequestAction.domainWithSuffix service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.action.awsApiCallAction.remoteAccountDetails.affiliated service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 service.action.kubernetesApiCallAction.namespace service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn service.action.kubernetesApiCallAction.requestUri service.action.kubernetesApiCallAction.statusCode service.action.networkConnectionAction.localIpDetails.ipAddressV4 service.action.networkConnectionAction.protocol service.action.awsApiCallAction.serviceName service.action.awsApiCallAction.remoteAccountDetails.accountId service.additionalInfo.threatListName service.resourceRole resource.eksClusterDetails.name resource.kubernetesDetails.kubernetesWorkloadDetails.name resource.kubernetesDetails.kubernetesWorkloadDetails.namespace resource.kubernetesDetails.kubernetesUserDetails.username resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix service.ebsVolumeScanDetails.scanId service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash resource.ecsClusterDetails.name resource.ecsClusterDetails.taskDetails.containers.image resource.ecsClusterDetails.taskDetails.definitionArn resource.containerDetails.image resource.rdsDbInstanceDetails.dbInstanceIdentifier resource.rdsDbInstanceDetails.dbClusterIdentifier resource.rdsDbInstanceDetails.engine resource.rdsDbUserDetails.user resource.rdsDbInstanceDetails.tags.key resource.rdsDbInstanceDetails.tags.value service.runtimeDetails.process.executableSha256 service.runtimeDetails.process.name service.runtimeDetails.process.name resource.lambdaDetails.functionName resource.lambdaDetails.functionArn resource.lambdaDetails.tags.key resource.lambdaDetails.tags.value
1100
1147
  */
1101
1148
  FindingCriteria: FindingCriteria;
1102
1149
  /**
@@ -1557,6 +1604,12 @@ declare namespace GuardDuty {
1557
1604
  }
1558
1605
  export type DestinationType = "S3"|string;
1559
1606
  export type Destinations = Destination[];
1607
+ export interface Detection {
1608
+ /**
1609
+ * The details about the anomalous activity that caused GuardDuty to generate the finding.
1610
+ */
1611
+ Anomaly?: Anomaly;
1612
+ }
1560
1613
  export interface DetectorAdditionalConfiguration {
1561
1614
  /**
1562
1615
  * Name of the additional configuration.
@@ -2378,6 +2431,16 @@ declare namespace GuardDuty {
2378
2431
  */
2379
2432
  Id?: String;
2380
2433
  }
2434
+ export interface ImpersonatedUser {
2435
+ /**
2436
+ * Information about the username that was being impersonated.
2437
+ */
2438
+ Username?: String;
2439
+ /**
2440
+ * The group to which the user name belongs.
2441
+ */
2442
+ Groups?: Groups;
2443
+ }
2381
2444
  export type InstanceArn = string;
2382
2445
  export interface InstanceDetails {
2383
2446
  /**
@@ -2508,6 +2571,22 @@ declare namespace GuardDuty {
2508
2571
  * Parameters related to the Kubernetes API call action.
2509
2572
  */
2510
2573
  Parameters?: String;
2574
+ /**
2575
+ * The resource component in the Kubernetes API call action.
2576
+ */
2577
+ Resource?: String;
2578
+ /**
2579
+ * The name of the sub-resource in the Kubernetes API call action.
2580
+ */
2581
+ Subresource?: String;
2582
+ /**
2583
+ * The name of the namespace where the Kubernetes API call action takes place.
2584
+ */
2585
+ Namespace?: String;
2586
+ /**
2587
+ * The name of the resource in the Kubernetes API call action.
2588
+ */
2589
+ ResourceName?: String;
2511
2590
  }
2512
2591
  export interface KubernetesAuditLogsConfiguration {
2513
2592
  /**
@@ -2549,6 +2628,60 @@ declare namespace GuardDuty {
2549
2628
  */
2550
2629
  KubernetesWorkloadDetails?: KubernetesWorkloadDetails;
2551
2630
  }
2631
+ export interface KubernetesPermissionCheckedDetails {
2632
+ /**
2633
+ * The verb component of the Kubernetes API call. For example, when you check whether or not you have the permission to call the CreatePod API, the verb component will be Create.
2634
+ */
2635
+ Verb?: String;
2636
+ /**
2637
+ * The Kubernetes resource with which your Kubernetes API call will interact.
2638
+ */
2639
+ Resource?: String;
2640
+ /**
2641
+ * The namespace where the Kubernetes API action will take place.
2642
+ */
2643
+ Namespace?: String;
2644
+ /**
2645
+ * Information whether the user has the permission to call the Kubernetes API.
2646
+ */
2647
+ Allowed?: Boolean;
2648
+ }
2649
+ export interface KubernetesRoleBindingDetails {
2650
+ /**
2651
+ * The kind of the role. For role binding, this value will be RoleBinding.
2652
+ */
2653
+ Kind?: String;
2654
+ /**
2655
+ * The name of the RoleBinding.
2656
+ */
2657
+ Name?: String;
2658
+ /**
2659
+ * The unique identifier of the role binding.
2660
+ */
2661
+ Uid?: String;
2662
+ /**
2663
+ * The name of the role being referenced. This must match the name of the Role or ClusterRole that you want to bind to.
2664
+ */
2665
+ RoleRefName?: String;
2666
+ /**
2667
+ * The type of the role being referenced. This could be either Role or ClusterRole.
2668
+ */
2669
+ RoleRefKind?: String;
2670
+ }
2671
+ export interface KubernetesRoleDetails {
2672
+ /**
2673
+ * The kind of role. For this API, the value of kind will be Role.
2674
+ */
2675
+ Kind?: String;
2676
+ /**
2677
+ * The name of the Kubernetes role.
2678
+ */
2679
+ Name?: String;
2680
+ /**
2681
+ * The unique identifier of the Kubernetes role name.
2682
+ */
2683
+ Uid?: String;
2684
+ }
2552
2685
  export interface KubernetesUserDetails {
2553
2686
  /**
2554
2687
  * The username of the user who called the Kubernetes API.
@@ -2566,6 +2699,10 @@ declare namespace GuardDuty {
2566
2699
  * Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
2567
2700
  */
2568
2701
  SessionName?: SessionNameList;
2702
+ /**
2703
+ * Information about the impersonated user.
2704
+ */
2705
+ ImpersonatedUser?: ImpersonatedUser;
2569
2706
  }
2570
2707
  export interface KubernetesWorkloadDetails {
2571
2708
  /**
@@ -2596,6 +2733,18 @@ declare namespace GuardDuty {
2596
2733
  * Volumes used by the Kubernetes workload.
2597
2734
  */
2598
2735
  Volumes?: Volumes;
2736
+ /**
2737
+ * The service account name that is associated with a Kubernetes workload.
2738
+ */
2739
+ ServiceAccountName?: String;
2740
+ /**
2741
+ * Whether the host IPC flag is enabled for the pods in the workload.
2742
+ */
2743
+ HostIPC?: Boolean;
2744
+ /**
2745
+ * Whether the host PID flag is enabled for the pods in the workload.
2746
+ */
2747
+ HostPID?: Boolean;
2599
2748
  }
2600
2749
  export interface LambdaDetails {
2601
2750
  /**
@@ -2846,7 +2995,7 @@ declare namespace GuardDuty {
2846
2995
  }
2847
2996
  export interface ListMembersResponse {
2848
2997
  /**
2849
- * A list of members.
2998
+ * A list of members. The values for email and invitedAt are available only if the member accounts are added by invitation.
2850
2999
  */
2851
3000
  Members?: Members;
2852
3001
  /**
@@ -3203,6 +3352,13 @@ declare namespace GuardDuty {
3203
3352
  export type NetworkInterfaces = NetworkInterface[];
3204
3353
  export type NonEmptyString = string;
3205
3354
  export type NotEquals = String[];
3355
+ export type ObservationTexts = String[];
3356
+ export interface Observations {
3357
+ /**
3358
+ * The text that was unusual.
3359
+ */
3360
+ Text?: ObservationTexts;
3361
+ }
3206
3362
  export type OrderBy = "ASC"|"DESC"|string;
3207
3363
  export type OrgFeature = "S3_DATA_EVENTS"|"EKS_AUDIT_LOGS"|"EBS_MALWARE_PROTECTION"|"RDS_LOGIN_EVENTS"|"EKS_RUNTIME_MONITORING"|"LAMBDA_NETWORK_LOGS"|string;
3208
3364
  export type OrgFeatureAdditionalConfiguration = "EKS_ADDON_MANAGEMENT"|string;
@@ -3495,6 +3651,8 @@ declare namespace GuardDuty {
3495
3651
  ProductType?: String;
3496
3652
  }
3497
3653
  export type ProductCodes = ProductCode[];
3654
+ export type ProfileSubtype = "FREQUENT"|"INFREQUENT"|"UNSEEN"|"RARE"|string;
3655
+ export type ProfileType = "FREQUENCY"|string;
3498
3656
  export interface PublicAccess {
3499
3657
  /**
3500
3658
  * Contains information about how permissions are configured for the S3 bucket.
@@ -3984,6 +4142,10 @@ declare namespace GuardDuty {
3984
4142
  * Whether the container is privileged.
3985
4143
  */
3986
4144
  Privileged?: Boolean;
4145
+ /**
4146
+ * Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.
4147
+ */
4148
+ AllowPrivilegeEscalation?: Boolean;
3987
4149
  }
3988
4150
  export interface SecurityGroup {
3989
4151
  /**
@@ -4053,6 +4215,10 @@ declare namespace GuardDuty {
4053
4215
  * Information about the process and any required context values for a specific finding
4054
4216
  */
4055
4217
  RuntimeDetails?: RuntimeDetails;
4218
+ /**
4219
+ * Contains information about the detected unusual behavior.
4220
+ */
4221
+ Detection?: Detection;
4056
4222
  }
4057
4223
  export interface ServiceAdditionalInfo {
4058
4224
  /**
@@ -279,19 +279,19 @@ declare class Lambda extends Service {
279
279
  */
280
280
  getRuntimeManagementConfig(callback?: (err: AWSError, data: Lambda.Types.GetRuntimeManagementConfigResponse) => void): Request<Lambda.Types.GetRuntimeManagementConfigResponse, AWSError>;
281
281
  /**
282
- * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
282
+ * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
283
283
  */
284
284
  invoke(params: Lambda.Types.InvocationRequest, callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
285
285
  /**
286
- * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
286
+ * Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
287
287
  */
288
288
  invoke(callback?: (err: AWSError, data: Lambda.Types.InvocationResponse) => void): Request<Lambda.Types.InvocationResponse, AWSError>;
289
289
  /**
290
- * For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
290
+ * For asynchronous function invocation, use Invoke. Invokes a function asynchronously. If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
291
291
  */
292
292
  invokeAsync(params: Lambda.Types.InvokeAsyncRequest, callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request<Lambda.Types.InvokeAsyncResponse, AWSError>;
293
293
  /**
294
- * For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
294
+ * For asynchronous function invocation, use Invoke. Invokes a function asynchronously. If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
295
295
  */
296
296
  invokeAsync(callback?: (err: AWSError, data: Lambda.Types.InvokeAsyncResponse) => void): Request<Lambda.Types.InvokeAsyncResponse, AWSError>;
297
297
  /**
@@ -1069,7 +1069,7 @@ declare namespace Lambda {
1069
1069
  */
1070
1070
  Architectures?: ArchitecturesList;
1071
1071
  /**
1072
- * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
1072
+ * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
1073
1073
  */
1074
1074
  EphemeralStorage?: EphemeralStorage;
1075
1075
  /**
@@ -1597,7 +1597,7 @@ declare namespace Lambda {
1597
1597
  */
1598
1598
  Architectures?: ArchitecturesList;
1599
1599
  /**
1600
- * The size of the functions /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
1600
+ * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
1601
1601
  */
1602
1602
  EphemeralStorage?: EphemeralStorage;
1603
1603
  /**
@@ -2888,7 +2888,7 @@ declare namespace Lambda {
2888
2888
  export type ResourceArn = string;
2889
2889
  export type ResponseStreamingInvocationType = "RequestResponse"|"DryRun"|string;
2890
2890
  export type RoleArn = string;
2891
- export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"nodejs14.x"|"nodejs16.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"python3.9"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"dotnet6"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"|"nodejs18.x"|"python3.10"|"java17"|"ruby3.2"|"python3.11"|string;
2891
+ export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"nodejs14.x"|"nodejs16.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"python3.9"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"dotnet6"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"|"nodejs18.x"|"python3.10"|"java17"|"ruby3.2"|"python3.11"|"nodejs20.x"|string;
2892
2892
  export type RuntimeVersionArn = string;
2893
2893
  export interface RuntimeVersionConfig {
2894
2894
  /**
@@ -3242,7 +3242,7 @@ declare namespace Lambda {
3242
3242
  */
3243
3243
  ImageConfig?: ImageConfig;
3244
3244
  /**
3245
- * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
3245
+ * The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
3246
3246
  */
3247
3247
  EphemeralStorage?: EphemeralStorage;
3248
3248
  /**
@@ -1331,6 +1331,10 @@ declare namespace LexModelsV2 {
1331
1331
  */
1332
1332
  enabled: Boolean;
1333
1333
  destination: AudioLogDestination;
1334
+ /**
1335
+ * The option to enable selective conversation log capture for audio.
1336
+ */
1337
+ selectiveLoggingEnabled?: BoxedBoolean;
1334
1338
  }
1335
1339
  export type AudioLogSettingsList = AudioLogSetting[];
1336
1340
  export type AudioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary"|string;
@@ -7396,6 +7400,10 @@ declare namespace LexModelsV2 {
7396
7400
  */
7397
7401
  enabled: Boolean;
7398
7402
  destination: TextLogDestination;
7403
+ /**
7404
+ * The option to enable selective conversation log capture for text.
7405
+ */
7406
+ selectiveLoggingEnabled?: BoxedBoolean;
7399
7407
  }
7400
7408
  export type TextLogSettingsList = TextLogSetting[];
7401
7409
  export type TimeDimension = "Hours"|"Days"|"Weeks"|string;
@@ -2606,6 +2606,14 @@ declare namespace Omics {
2606
2606
  * The location of the run log.
2607
2607
  */
2608
2608
  logLocation?: RunLogLocation;
2609
+ /**
2610
+ * The universally unique identifier for a run.
2611
+ */
2612
+ uuid?: RunUuid;
2613
+ /**
2614
+ * The destination for workflow outputs.
2615
+ */
2616
+ runOutputUri?: RunOutputUri;
2609
2617
  }
2610
2618
  export type GetRunResponsePriorityInteger = number;
2611
2619
  export type GetRunResponseStorageCapacityInteger = number;
@@ -4243,6 +4251,7 @@ declare namespace Omics {
4243
4251
  export type RunStatus = "PENDING"|"STARTING"|"RUNNING"|"STOPPING"|"COMPLETED"|"DELETED"|"CANCELLED"|"FAILED"|string;
4244
4252
  export type RunStatusMessage = string;
4245
4253
  export type RunTimestamp = Date;
4254
+ export type RunUuid = string;
4246
4255
  export type S3Destination = string;
4247
4256
  export type S3Uri = string;
4248
4257
  export type SampleId = string;
@@ -4714,6 +4723,14 @@ declare namespace Omics {
4714
4723
  * The run's tags.
4715
4724
  */
4716
4725
  tags?: TagMap;
4726
+ /**
4727
+ * The universally unique identifier for a run.
4728
+ */
4729
+ uuid?: RunUuid;
4730
+ /**
4731
+ * The destination for workflow outputs.
4732
+ */
4733
+ runOutputUri?: RunOutputUri;
4717
4734
  }
4718
4735
  export interface StartVariantImportRequest {
4719
4736
  /**
@@ -1912,11 +1912,11 @@ declare namespace RDS {
1912
1912
  Manifest?: CustomDBEngineVersionManifest;
1913
1913
  Tags?: TagList;
1914
1914
  /**
1915
- * Reserved for future use.
1915
+ * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine (AMI) by using either Source or UseAwsProvidedLatestImage. You can't specify a different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier.
1916
1916
  */
1917
1917
  SourceCustomDbEngineVersionIdentifier?: String255;
1918
1918
  /**
1919
- * Reserved for future use.
1919
+ * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify UseAwsProvidedLatestImage, you can't also specify ImageId.
1920
1920
  */
1921
1921
  UseAwsProvidedLatestImage?: BooleanOptional;
1922
1922
  }
@@ -603,6 +603,10 @@ declare namespace RedshiftServerless {
603
603
  * The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
604
604
  */
605
605
  enhancedVpcRouting?: Boolean;
606
+ /**
607
+ * The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
608
+ */
609
+ maxCapacity?: Integer;
606
610
  /**
607
611
  * The name of the namespace to associate with the workgroup.
608
612
  */
@@ -1798,6 +1802,10 @@ declare namespace RedshiftServerless {
1798
1802
  * The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
1799
1803
  */
1800
1804
  enhancedVpcRouting?: Boolean;
1805
+ /**
1806
+ * The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
1807
+ */
1808
+ maxCapacity?: Integer;
1801
1809
  /**
1802
1810
  * The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
1803
1811
  */
@@ -1920,6 +1928,10 @@ declare namespace RedshiftServerless {
1920
1928
  * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
1921
1929
  */
1922
1930
  enhancedVpcRouting?: Boolean;
1931
+ /**
1932
+ * The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.
1933
+ */
1934
+ maxCapacity?: Integer;
1923
1935
  /**
1924
1936
  * The namespace the workgroup is associated with.
1925
1937
  */
@@ -500,6 +500,10 @@ declare namespace Resiliencehub {
500
500
  * Identifier of the alarm recommendation.
501
501
  */
502
502
  recommendationId: Uuid;
503
+ /**
504
+ * Status of the recommended Amazon CloudWatch alarm.
505
+ */
506
+ recommendationStatus?: RecommendationStatus;
503
507
  /**
504
508
  * Reference identifier of the alarm recommendation.
505
509
  */
@@ -2371,6 +2375,7 @@ declare namespace Resiliencehub {
2371
2375
  */
2372
2376
  terraformSourceName?: String255;
2373
2377
  }
2378
+ export type Long = number;
2374
2379
  export type LongOptional = number;
2375
2380
  export type MaxResults = number;
2376
2381
  export type NextToken = string;
@@ -2380,7 +2385,7 @@ declare namespace Resiliencehub {
2380
2385
  */
2381
2386
  crossAccountRoleArns?: IamRoleArnList;
2382
2387
  /**
2383
- * Existing Amazon Web Services IAM role name in the primary Amazon Web Services account that will be assumed by Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment. You must have iam:passRole permission for this role while creating or updating the application.
2388
+ * Existing Amazon Web Services IAM role name in the primary Amazon Web Services account that will be assumed by Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment. You must have iam:passRole permission for this role while creating or updating the application. Currently, invokerRoleName accepts only [A-Za-z0-9_+=,.@-] characters.
2384
2389
  */
2385
2390
  invokerRoleName?: IamRoleName;
2386
2391
  /**
@@ -2420,7 +2425,7 @@ declare namespace Resiliencehub {
2420
2425
  */
2421
2426
  resourceName?: EntityName;
2422
2427
  /**
2423
- * Type of resource.
2428
+ * The type of resource.
2424
2429
  */
2425
2430
  resourceType: String255;
2426
2431
  /**
@@ -2547,6 +2552,7 @@ declare namespace Resiliencehub {
2547
2552
  targetRegion?: AwsRegion;
2548
2553
  }
2549
2554
  export type RecommendationItemList = RecommendationItem[];
2555
+ export type RecommendationStatus = "Implemented"|"Inactive"|"NotImplemented"|"Excluded"|string;
2550
2556
  export interface RecommendationTemplate {
2551
2557
  /**
2552
2558
  * Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
@@ -2691,6 +2697,10 @@ declare namespace Resiliencehub {
2691
2697
  }
2692
2698
  export type ResiliencyPolicyTier = "MissionCritical"|"Critical"|"Important"|"CoreServices"|"NonCritical"|"NotApplicable"|string;
2693
2699
  export interface ResiliencyScore {
2700
+ /**
2701
+ * The score generated by Resilience Hub for the scoring component after running an assessment. For example, if the score is 25 points, it indicates the overall score of your application generated by Resilience Hub after running an assessment.
2702
+ */
2703
+ componentScore?: ScoringComponentResiliencyScores;
2694
2704
  /**
2695
2705
  * The disruption score for a valid key.
2696
2706
  */
@@ -2700,6 +2710,7 @@ declare namespace Resiliencehub {
2700
2710
  */
2701
2711
  score: Double;
2702
2712
  }
2713
+ export type ResiliencyScoreType = "Compliance"|"Test"|"Alarm"|"Sop"|string;
2703
2714
  export interface ResolveAppVersionResourcesRequest {
2704
2715
  /**
2705
2716
  * Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
@@ -2804,6 +2815,25 @@ declare namespace Resiliencehub {
2804
2815
  prefix?: String500;
2805
2816
  }
2806
2817
  export type S3Url = string;
2818
+ export interface ScoringComponentResiliencyScore {
2819
+ /**
2820
+ * Number of recommendations that were excluded from the assessment. For example, if the Excluded count for Resilience Hub recommended Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.
2821
+ */
2822
+ excludedCount?: Long;
2823
+ /**
2824
+ * Number of issues that must be resolved to obtain the maximum possible score for the scoring component. For SOPs, alarms, and FIS experiments, these are the number of recommendations that must be implemented. For compliance, it is the number of Application Components that has breached the resiliency policy. For example, if the Outstanding count for Resilience Hub recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the maximum possible score.
2825
+ */
2826
+ outstandingCount?: Long;
2827
+ /**
2828
+ * Maximum possible score that can be obtained for the scoring component. If the Possible score is 20 points, it indicates the maximum possible score you can achieve for your application when you run a new assessment after implementing all the Resilience Hub recommendations.
2829
+ */
2830
+ possibleScore?: Double;
2831
+ /**
2832
+ * Resiliency score of your application.
2833
+ */
2834
+ score?: Double;
2835
+ }
2836
+ export type ScoringComponentResiliencyScores = {[key: string]: ScoringComponentResiliencyScore};
2807
2837
  export type Seconds = number;
2808
2838
  export interface SopRecommendation {
2809
2839
  /**
@@ -2830,6 +2860,10 @@ declare namespace Resiliencehub {
2830
2860
  * Identifier for the SOP recommendation.
2831
2861
  */
2832
2862
  recommendationId: Uuid;
2863
+ /**
2864
+ * Status of the recommended standard operating procedure.
2865
+ */
2866
+ recommendationStatus?: RecommendationStatus;
2833
2867
  /**
2834
2868
  * Reference identifier for the SOP recommendation.
2835
2869
  */
@@ -2934,6 +2968,10 @@ declare namespace Resiliencehub {
2934
2968
  * Identifier for the test recommendation.
2935
2969
  */
2936
2970
  recommendationId?: Uuid;
2971
+ /**
2972
+ * Status of the recommended test.
2973
+ */
2974
+ recommendationStatus?: RecommendationStatus;
2937
2975
  /**
2938
2976
  * Reference identifier for the test recommendation.
2939
2977
  */