@aws-sdk/client-ec2 3.370.0 → 3.373.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 (84) hide show
  1. package/dist-cjs/commands/RunScheduledInstancesCommand.js +2 -2
  2. package/dist-cjs/models/models_4.js +6 -2
  3. package/dist-cjs/models/models_5.js +1 -6
  4. package/dist-cjs/models/models_6.js +7 -12
  5. package/dist-cjs/models/models_7.js +11 -1
  6. package/dist-cjs/protocols/Aws_ec2.js +23 -0
  7. package/dist-es/commands/RunScheduledInstancesCommand.js +1 -1
  8. package/dist-es/models/models_4.js +4 -0
  9. package/dist-es/models/models_5.js +0 -4
  10. package/dist-es/models/models_6.js +4 -8
  11. package/dist-es/models/models_7.js +8 -0
  12. package/dist-es/protocols/Aws_ec2.js +23 -0
  13. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +2 -1
  14. package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
  15. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +3 -2
  16. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
  17. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
  18. package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
  19. package/dist-types/commands/AttachInternetGatewayCommand.d.ts +3 -2
  20. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  21. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +0 -3
  22. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -2
  23. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -11
  24. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateImageCommand.d.ts +0 -10
  26. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
  27. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +3 -3
  28. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -1
  32. package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +6 -5
  35. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateVpcCommand.d.ts +4 -4
  37. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +4 -4
  38. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -6
  39. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +6 -0
  42. package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +2 -2
  43. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +0 -9
  46. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -2
  48. package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
  49. package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
  50. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  51. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +4 -3
  52. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +5 -6
  53. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +6 -5
  54. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  55. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +2 -3
  56. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +2 -3
  57. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -0
  58. package/dist-types/commands/ImportInstanceCommand.d.ts +11 -4
  59. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -16
  60. package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
  61. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  62. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  63. package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +2 -2
  64. package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
  65. package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
  66. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +2 -3
  67. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +3 -5
  68. package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -2
  69. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -3
  70. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  71. package/dist-types/models/models_0.d.ts +24 -32
  72. package/dist-types/models/models_1.d.ts +85 -30
  73. package/dist-types/models/models_2.d.ts +8 -11
  74. package/dist-types/models/models_3.d.ts +12 -15
  75. package/dist-types/models/models_4.d.ts +63 -66
  76. package/dist-types/models/models_5.d.ts +60 -60
  77. package/dist-types/models/models_6.d.ts +71 -140
  78. package/dist-types/models/models_7.d.ts +112 -7
  79. package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/models/models_4.d.ts +11 -12
  81. package/dist-types/ts3.4/models/models_5.d.ts +13 -16
  82. package/dist-types/ts3.4/models/models_6.d.ts +14 -31
  83. package/dist-types/ts3.4/models/models_7.d.ts +37 -1
  84. package/package.json +1 -1
@@ -13,7 +13,37 @@ import {
13
13
  NetworkInsightsAccessScopeAnalysis,
14
14
  NetworkInsightsAnalysis,
15
15
  } from "./models_4";
16
- import { InstanceMonitoring } from "./models_6";
16
+ import {
17
+ InstanceMonitoring,
18
+ ScheduledInstancesBlockDeviceMapping,
19
+ ScheduledInstancesIamInstanceProfile,
20
+ ScheduledInstancesMonitoring,
21
+ ScheduledInstancesNetworkInterface,
22
+ ScheduledInstancesPlacement,
23
+ } from "./models_6";
24
+ export interface ScheduledInstancesLaunchSpecification {
25
+ BlockDeviceMappings?: ScheduledInstancesBlockDeviceMapping[];
26
+ EbsOptimized?: boolean;
27
+ IamInstanceProfile?: ScheduledInstancesIamInstanceProfile;
28
+ ImageId: string | undefined;
29
+ InstanceType?: string;
30
+ KernelId?: string;
31
+ KeyName?: string;
32
+ Monitoring?: ScheduledInstancesMonitoring;
33
+ NetworkInterfaces?: ScheduledInstancesNetworkInterface[];
34
+ Placement?: ScheduledInstancesPlacement;
35
+ RamdiskId?: string;
36
+ SecurityGroupIds?: string[];
37
+ SubnetId?: string;
38
+ UserData?: string;
39
+ }
40
+ export interface RunScheduledInstancesRequest {
41
+ ClientToken?: string;
42
+ DryRun?: boolean;
43
+ InstanceCount?: number;
44
+ LaunchSpecification: ScheduledInstancesLaunchSpecification | undefined;
45
+ ScheduledInstanceId: string | undefined;
46
+ }
17
47
  export interface RunScheduledInstancesResult {
18
48
  InstanceIdSet?: string[];
19
49
  }
@@ -207,3 +237,9 @@ export interface WithdrawByoipCidrRequest {
207
237
  export interface WithdrawByoipCidrResult {
208
238
  ByoipCidr?: ByoipCidr;
209
239
  }
240
+ export declare const ScheduledInstancesLaunchSpecificationFilterSensitiveLog: (
241
+ obj: ScheduledInstancesLaunchSpecification
242
+ ) => any;
243
+ export declare const RunScheduledInstancesRequestFilterSensitiveLog: (
244
+ obj: RunScheduledInstancesRequest
245
+ ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.370.0",
4
+ "version": "3.373.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",