cdk-lambda-subminute 2.0.279 → 2.0.281

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 (38) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +17 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +28 -5
  6. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +115 -56
  7. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  8. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +14 -2
  9. package/node_modules/aws-sdk/apis/neptune-2014-10-31.min.json +86 -78
  10. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +30 -16
  11. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +184 -167
  12. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +243 -125
  13. package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +6 -0
  14. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +877 -862
  15. package/node_modules/aws-sdk/apis/ssm-sap-2018-05-10.min.json +62 -27
  16. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +53 -53
  17. package/node_modules/aws-sdk/apis/transfer-2018-11-05.paginators.json +12 -24
  18. package/node_modules/aws-sdk/apis/transfer-2018-11-05.waiters2.json +33 -41
  19. package/node_modules/aws-sdk/clients/appstream.d.ts +46 -6
  20. package/node_modules/aws-sdk/clients/ec2.d.ts +68 -0
  21. package/node_modules/aws-sdk/clients/emr.d.ts +56 -40
  22. package/node_modules/aws-sdk/clients/neptune.d.ts +20 -4
  23. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +31 -11
  24. package/node_modules/aws-sdk/clients/opensearch.d.ts +47 -22
  25. package/node_modules/aws-sdk/clients/pinpoint.d.ts +3 -3
  26. package/node_modules/aws-sdk/clients/redshift.d.ts +167 -0
  27. package/node_modules/aws-sdk/clients/sagemaker.d.ts +36 -14
  28. package/node_modules/aws-sdk/clients/sns.d.ts +4 -4
  29. package/node_modules/aws-sdk/clients/ssmsap.d.ts +75 -4
  30. package/node_modules/aws-sdk/clients/transfer.d.ts +3 -3
  31. package/node_modules/aws-sdk/clients/wafv2.d.ts +20 -20
  32. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  33. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +15 -15
  34. package/node_modules/aws-sdk/dist/aws-sdk.js +387 -186
  35. package/node_modules/aws-sdk/dist/aws-sdk.min.js +68 -68
  36. package/node_modules/aws-sdk/lib/core.js +1 -1
  37. package/node_modules/aws-sdk/package.json +1 -1
  38. package/package.json +3 -4
@@ -1,45 +1,37 @@
1
1
  {
2
- "version": 2,
3
- "waiters": {
4
- "ServerOffline": {
5
- "acceptors": [
6
- {
7
- "argument": "Server.State",
8
- "expected": "OFFLINE",
9
- "matcher": "path",
10
- "state": "success"
11
- },
12
- {
13
- "argument": "Server.State",
14
- "expected": "STOP_FAILED",
15
- "matcher": "path",
16
- "state": "failure"
17
- }
18
- ],
19
- "delay": 30,
20
- "maxAttempts": 120,
21
- "operation": "DescribeServer",
22
- "type": "api"
2
+ "version" : 2,
3
+ "waiters" : {
4
+ "ServerOffline" : {
5
+ "delay" : 30,
6
+ "maxAttempts" : 120,
7
+ "operation" : "DescribeServer",
8
+ "acceptors" : [ {
9
+ "matcher" : "path",
10
+ "argument" : "Server.State",
11
+ "state" : "success",
12
+ "expected" : "OFFLINE"
13
+ }, {
14
+ "matcher" : "path",
15
+ "argument" : "Server.State",
16
+ "state" : "failure",
17
+ "expected" : "STOP_FAILED"
18
+ } ]
23
19
  },
24
- "ServerOnline": {
25
- "acceptors": [
26
- {
27
- "argument": "Server.State",
28
- "expected": "ONLINE",
29
- "matcher": "path",
30
- "state": "success"
31
- },
32
- {
33
- "argument": "Server.State",
34
- "expected": "START_FAILED",
35
- "matcher": "path",
36
- "state": "failure"
37
- }
38
- ],
39
- "delay": 30,
40
- "maxAttempts": 120,
41
- "operation": "DescribeServer",
42
- "type": "api"
20
+ "ServerOnline" : {
21
+ "delay" : 30,
22
+ "maxAttempts" : 120,
23
+ "operation" : "DescribeServer",
24
+ "acceptors" : [ {
25
+ "matcher" : "path",
26
+ "argument" : "Server.State",
27
+ "state" : "success",
28
+ "expected" : "ONLINE"
29
+ }, {
30
+ "matcher" : "path",
31
+ "argument" : "Server.State",
32
+ "state" : "failure",
33
+ "expected" : "START_FAILED"
34
+ } ]
43
35
  }
44
36
  }
45
- }
37
+ }
@@ -986,7 +986,11 @@ declare namespace AppStream {
986
986
  /**
987
987
  * The desired number of streaming instances.
988
988
  */
989
- DesiredInstances: Integer;
989
+ DesiredInstances?: Integer;
990
+ /**
991
+ * The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets. When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.
992
+ */
993
+ DesiredSessions?: Integer;
990
994
  }
991
995
  export interface ComputeCapacityStatus {
992
996
  /**
@@ -1005,6 +1009,22 @@ declare namespace AppStream {
1005
1009
  * The number of currently available instances that can be used to stream sessions.
1006
1010
  */
1007
1011
  Available?: Integer;
1012
+ /**
1013
+ * The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state. DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity This only applies to multi-session fleets.
1014
+ */
1015
+ DesiredUserSessions?: Integer;
1016
+ /**
1017
+ * The number of idle session slots currently available for user sessions. AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions This only applies to multi-session fleets.
1018
+ */
1019
+ AvailableUserSessions?: Integer;
1020
+ /**
1021
+ * The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
1022
+ */
1023
+ ActiveUserSessions?: Integer;
1024
+ /**
1025
+ * The total number of session slots that are available for streaming or are currently streaming. ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions This only applies to multi-session fleets.
1026
+ */
1027
+ ActualUserSessions?: Integer;
1008
1028
  }
1009
1029
  export interface CopyImageRequest {
1010
1030
  /**
@@ -1266,7 +1286,7 @@ declare namespace AppStream {
1266
1286
  */
1267
1287
  VpcConfig?: VpcConfig;
1268
1288
  /**
1269
- * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 360000.
1289
+ * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 432000.
1270
1290
  */
1271
1291
  MaxUserDurationInSeconds?: Integer;
1272
1292
  /**
@@ -1321,6 +1341,10 @@ declare namespace AppStream {
1321
1341
  * The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.
1322
1342
  */
1323
1343
  SessionScriptS3Location?: S3Location;
1344
+ /**
1345
+ * The maximum number of user sessions on an instance. This only applies to multi-session fleets.
1346
+ */
1347
+ MaxSessionsPerInstance?: Integer;
1324
1348
  }
1325
1349
  export interface CreateFleetResult {
1326
1350
  /**
@@ -1974,11 +1998,11 @@ declare namespace AppStream {
1974
1998
  /**
1975
1999
  * The name of the stack. This value is case-sensitive.
1976
2000
  */
1977
- StackName: String;
2001
+ StackName: Name;
1978
2002
  /**
1979
2003
  * The name of the fleet. This value is case-sensitive.
1980
2004
  */
1981
- FleetName: String;
2005
+ FleetName: Name;
1982
2006
  /**
1983
2007
  * The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
1984
2008
  */
@@ -1995,6 +2019,10 @@ declare namespace AppStream {
1995
2019
  * The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
1996
2020
  */
1997
2021
  AuthenticationType?: AuthenticationType;
2022
+ /**
2023
+ * The identifier for the instance hosting the session.
2024
+ */
2025
+ InstanceId?: String;
1998
2026
  }
1999
2027
  export interface DescribeSessionsResult {
2000
2028
  /**
@@ -2385,8 +2413,12 @@ declare namespace AppStream {
2385
2413
  * The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.
2386
2414
  */
2387
2415
  SessionScriptS3Location?: S3Location;
2416
+ /**
2417
+ * The maximum number of user sessions on an instance. This only applies to multi-session fleets.
2418
+ */
2419
+ MaxSessionsPerInstance?: Integer;
2388
2420
  }
2389
- export type FleetAttribute = "VPC_CONFIGURATION"|"VPC_CONFIGURATION_SECURITY_GROUP_IDS"|"DOMAIN_JOIN_INFO"|"IAM_ROLE_ARN"|"USB_DEVICE_FILTER_STRINGS"|"SESSION_SCRIPT_S3_LOCATION"|string;
2421
+ export type FleetAttribute = "VPC_CONFIGURATION"|"VPC_CONFIGURATION_SECURITY_GROUP_IDS"|"DOMAIN_JOIN_INFO"|"IAM_ROLE_ARN"|"USB_DEVICE_FILTER_STRINGS"|"SESSION_SCRIPT_S3_LOCATION"|"MAX_SESSIONS_PER_INSTANCE"|string;
2390
2422
  export type FleetAttributes = FleetAttribute[];
2391
2423
  export interface FleetError {
2392
2424
  /**
@@ -2794,6 +2826,10 @@ declare namespace AppStream {
2794
2826
  * The network details for the streaming session.
2795
2827
  */
2796
2828
  NetworkAccessConfiguration?: NetworkAccessConfiguration;
2829
+ /**
2830
+ * The identifier for the instance hosting the session.
2831
+ */
2832
+ InstanceId?: String;
2797
2833
  }
2798
2834
  export type SessionConnectionState = "CONNECTED"|"NOT_CONNECTED"|string;
2799
2835
  export type SessionList = Session[];
@@ -3151,7 +3187,7 @@ declare namespace AppStream {
3151
3187
  /**
3152
3188
  * A unique name for the fleet.
3153
3189
  */
3154
- Name?: String;
3190
+ Name?: Name;
3155
3191
  /**
3156
3192
  * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.memory.z1d.large stream.memory.z1d.xlarge stream.memory.z1d.2xlarge stream.memory.z1d.3xlarge stream.memory.z1d.6xlarge stream.memory.z1d.12xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics.g4dn.xlarge stream.graphics.g4dn.2xlarge stream.graphics.g4dn.4xlarge stream.graphics.g4dn.8xlarge stream.graphics.g4dn.12xlarge stream.graphics.g4dn.16xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge The following instance types are available for Elastic fleets: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge
3157
3193
  */
@@ -3224,6 +3260,10 @@ declare namespace AppStream {
3224
3260
  * The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.
3225
3261
  */
3226
3262
  SessionScriptS3Location?: S3Location;
3263
+ /**
3264
+ * The maximum number of user sessions on an instance. This only applies to multi-session fleets.
3265
+ */
3266
+ MaxSessionsPerInstance?: Integer;
3227
3267
  }
3228
3268
  export interface UpdateFleetResult {
3229
3269
  /**
@@ -3572,6 +3572,14 @@ declare class EC2 extends Service {
3572
3572
  * Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.
3573
3573
  */
3574
3574
  getReservedInstancesExchangeQuote(callback?: (err: AWSError, data: EC2.Types.GetReservedInstancesExchangeQuoteResult) => void): Request<EC2.Types.GetReservedInstancesExchangeQuoteResult, AWSError>;
3575
+ /**
3576
+ * Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
3577
+ */
3578
+ getSecurityGroupsForVpc(params: EC2.Types.GetSecurityGroupsForVpcRequest, callback?: (err: AWSError, data: EC2.Types.GetSecurityGroupsForVpcResult) => void): Request<EC2.Types.GetSecurityGroupsForVpcResult, AWSError>;
3579
+ /**
3580
+ * Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
3581
+ */
3582
+ getSecurityGroupsForVpc(callback?: (err: AWSError, data: EC2.Types.GetSecurityGroupsForVpcResult) => void): Request<EC2.Types.GetSecurityGroupsForVpcResult, AWSError>;
3575
3583
  /**
3576
3584
  * Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
3577
3585
  */
@@ -21454,6 +21462,39 @@ declare namespace EC2 {
21454
21462
  */
21455
21463
  ValidationFailureReason?: String;
21456
21464
  }
21465
+ export interface GetSecurityGroupsForVpcRequest {
21466
+ /**
21467
+ * The VPC ID where the security group can be used.
21468
+ */
21469
+ VpcId: VpcId;
21470
+ /**
21471
+ * The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
21472
+ */
21473
+ NextToken?: String;
21474
+ /**
21475
+ * The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
21476
+ */
21477
+ MaxResults?: GetSecurityGroupsForVpcRequestMaxResults;
21478
+ /**
21479
+ * The filters. If using multiple filters, the results include security groups which match all filters. group-id: The security group ID. description: The security group's description. group-name: The security group name. owner-id: The security group owner ID. primary-vpc-id: The VPC ID in which the security group was created.
21480
+ */
21481
+ Filters?: FilterList;
21482
+ /**
21483
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
21484
+ */
21485
+ DryRun?: Boolean;
21486
+ }
21487
+ export type GetSecurityGroupsForVpcRequestMaxResults = number;
21488
+ export interface GetSecurityGroupsForVpcResult {
21489
+ /**
21490
+ * The token to include in another request to get the next page of items. This value is null when there are no more items to return.
21491
+ */
21492
+ NextToken?: String;
21493
+ /**
21494
+ * The security group that can be used by interfaces in the VPC.
21495
+ */
21496
+ SecurityGroupForVpcs?: SecurityGroupForVpcList;
21497
+ }
21457
21498
  export interface GetSerialConsoleAccessStatusRequest {
21458
21499
  /**
21459
21500
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
@@ -33758,6 +33799,33 @@ declare namespace EC2 {
33758
33799
  */
33759
33800
  VpcId?: String;
33760
33801
  }
33802
+ export interface SecurityGroupForVpc {
33803
+ /**
33804
+ * The security group's description.
33805
+ */
33806
+ Description?: String;
33807
+ /**
33808
+ * The security group name.
33809
+ */
33810
+ GroupName?: String;
33811
+ /**
33812
+ * The security group owner ID.
33813
+ */
33814
+ OwnerId?: String;
33815
+ /**
33816
+ * The security group ID.
33817
+ */
33818
+ GroupId?: String;
33819
+ /**
33820
+ * The security group tags.
33821
+ */
33822
+ Tags?: TagList;
33823
+ /**
33824
+ * The VPC ID in which the security group was created.
33825
+ */
33826
+ PrimaryVpcId?: String;
33827
+ }
33828
+ export type SecurityGroupForVpcList = SecurityGroupForVpc[];
33761
33829
  export type SecurityGroupId = string;
33762
33830
  export type SecurityGroupIdList = SecurityGroupId[];
33763
33831
  export type SecurityGroupIdSet = SecurityGroupId[];