@aws-sdk/client-ec2 3.632.0 → 3.636.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 (30) hide show
  1. package/dist-cjs/index.js +69 -34
  2. package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
  3. package/dist-es/models/models_4.js +7 -11
  4. package/dist-es/models/models_5.js +4 -0
  5. package/dist-es/models/models_6.js +0 -4
  6. package/dist-es/models/models_7.js +4 -0
  7. package/dist-es/protocols/Aws_ec2.js +38 -0
  8. package/dist-types/commands/CopyImageCommand.d.ts +10 -19
  9. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +10 -0
  11. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  12. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +9 -3
  13. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +9 -4
  14. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -2
  15. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +2 -1
  16. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -2
  17. package/dist-types/models/models_0.d.ts +2 -2
  18. package/dist-types/models/models_1.d.ts +1 -1
  19. package/dist-types/models/models_4.d.ts +93 -73
  20. package/dist-types/models/models_5.d.ts +35 -67
  21. package/dist-types/models/models_6.d.ts +77 -39
  22. package/dist-types/models/models_7.d.ts +37 -0
  23. package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +2 -4
  25. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/models/models_4.d.ts +27 -27
  27. package/dist-types/ts3.4/models/models_5.d.ts +12 -14
  28. package/dist-types/ts3.4/models/models_6.d.ts +9 -12
  29. package/dist-types/ts3.4/models/models_7.d.ts +11 -0
  30. package/package.json +11 -11
@@ -591,22 +591,6 @@ export interface DescribeInstanceStatusRequest {
591
591
  DryRun?: boolean;
592
592
  IncludeAllInstances?: boolean;
593
593
  }
594
- export declare const EventCode: {
595
- readonly instance_reboot: "instance-reboot";
596
- readonly instance_retirement: "instance-retirement";
597
- readonly instance_stop: "instance-stop";
598
- readonly system_maintenance: "system-maintenance";
599
- readonly system_reboot: "system-reboot";
600
- };
601
- export type EventCode = (typeof EventCode)[keyof typeof EventCode];
602
- export interface InstanceStatusEvent {
603
- InstanceEventId?: string;
604
- Code?: EventCode;
605
- Description?: string;
606
- NotAfter?: Date;
607
- NotBefore?: Date;
608
- NotBeforeDeadline?: Date;
609
- }
610
594
  export declare const StatusName: {
611
595
  readonly reachability: "reachability";
612
596
  };
@@ -618,7 +602,7 @@ export declare const StatusType: {
618
602
  readonly passed: "passed";
619
603
  };
620
604
  export type StatusType = (typeof StatusType)[keyof typeof StatusType];
621
- export interface InstanceStatusDetails {
605
+ export interface EbsStatusDetails {
622
606
  ImpairedSince?: Date;
623
607
  Name?: StatusName;
624
608
  Status?: StatusType;
@@ -631,6 +615,31 @@ export declare const SummaryStatus: {
631
615
  readonly ok: "ok";
632
616
  };
633
617
  export type SummaryStatus = (typeof SummaryStatus)[keyof typeof SummaryStatus];
618
+ export interface EbsStatusSummary {
619
+ Details?: EbsStatusDetails[];
620
+ Status?: SummaryStatus;
621
+ }
622
+ export declare const EventCode: {
623
+ readonly instance_reboot: "instance-reboot";
624
+ readonly instance_retirement: "instance-retirement";
625
+ readonly instance_stop: "instance-stop";
626
+ readonly system_maintenance: "system-maintenance";
627
+ readonly system_reboot: "system-reboot";
628
+ };
629
+ export type EventCode = (typeof EventCode)[keyof typeof EventCode];
630
+ export interface InstanceStatusEvent {
631
+ InstanceEventId?: string;
632
+ Code?: EventCode;
633
+ Description?: string;
634
+ NotAfter?: Date;
635
+ NotBefore?: Date;
636
+ NotBeforeDeadline?: Date;
637
+ }
638
+ export interface InstanceStatusDetails {
639
+ ImpairedSince?: Date;
640
+ Name?: StatusName;
641
+ Status?: StatusType;
642
+ }
634
643
  export interface InstanceStatusSummary {
635
644
  Details?: InstanceStatusDetails[];
636
645
  Status?: SummaryStatus;
@@ -643,6 +652,7 @@ export interface InstanceStatus {
643
652
  InstanceState?: InstanceState;
644
653
  InstanceStatus?: InstanceStatusSummary;
645
654
  SystemStatus?: InstanceStatusSummary;
655
+ AttachedEbsStatus?: EbsStatusSummary;
646
656
  }
647
657
  export interface DescribeInstanceStatusResult {
648
658
  InstanceStatuses?: InstanceStatus[];
@@ -2054,16 +2064,6 @@ export interface TargetGroup {
2054
2064
  export interface TargetGroupsConfig {
2055
2065
  TargetGroups?: TargetGroup[];
2056
2066
  }
2057
- export interface LoadBalancersConfig {
2058
- ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig;
2059
- TargetGroupsConfig?: TargetGroupsConfig;
2060
- }
2061
- export declare const OnDemandAllocationStrategy: {
2062
- readonly LOWEST_PRICE: "lowestPrice";
2063
- readonly PRIORITIZED: "prioritized";
2064
- };
2065
- export type OnDemandAllocationStrategy =
2066
- (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
2067
2067
  export declare const SnapshotDetailFilterSensitiveLog: (
2068
2068
  obj: SnapshotDetail
2069
2069
  ) => any;
@@ -92,18 +92,25 @@ import {
92
92
  } from "./models_3";
93
93
  import {
94
94
  AttributeBooleanValue,
95
+ ClassicLoadBalancersConfig,
95
96
  ExcessCapacityTerminationPolicy,
96
- HttpTokensState,
97
- InstanceMetadataEndpointState,
98
- InstanceMetadataTagsState,
99
97
  InstanceNetworkInterfaceSpecification,
100
98
  LaunchTemplateConfig,
101
- LoadBalancersConfig,
102
- OnDemandAllocationStrategy,
103
99
  RIProductDescription,
104
100
  SpotFleetLaunchSpecification,
105
101
  SpotPlacement,
102
+ TargetGroupsConfig,
106
103
  } from "./models_4";
104
+ export interface LoadBalancersConfig {
105
+ ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig;
106
+ TargetGroupsConfig?: TargetGroupsConfig;
107
+ }
108
+ export declare const OnDemandAllocationStrategy: {
109
+ readonly LOWEST_PRICE: "lowestPrice";
110
+ readonly PRIORITIZED: "prioritized";
111
+ };
112
+ export type OnDemandAllocationStrategy =
113
+ (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
107
114
  export declare const ReplacementStrategy: {
108
115
  readonly LAUNCH: "launch";
109
116
  readonly LAUNCH_BEFORE_TERMINATE: "launch-before-terminate";
@@ -1688,15 +1695,6 @@ export interface GetImageBlockPublicAccessStateRequest {
1688
1695
  export interface GetImageBlockPublicAccessStateResult {
1689
1696
  ImageBlockPublicAccessState?: string;
1690
1697
  }
1691
- export interface GetInstanceMetadataDefaultsRequest {
1692
- DryRun?: boolean;
1693
- }
1694
- export interface InstanceMetadataDefaultsResponse {
1695
- HttpTokens?: HttpTokensState;
1696
- HttpPutResponseHopLimit?: number;
1697
- HttpEndpoint?: InstanceMetadataEndpointState;
1698
- InstanceMetadataTags?: InstanceMetadataTagsState;
1699
- }
1700
1698
  export declare const SpotFleetRequestConfigDataFilterSensitiveLog: (
1701
1699
  obj: SpotFleetRequestConfigData
1702
1700
  ) => any;
@@ -126,13 +126,21 @@ import {
126
126
  } from "./models_4";
127
127
  import {
128
128
  InstanceFamilyCreditSpecification,
129
- InstanceMetadataDefaultsResponse,
130
129
  SnapshotBlockPublicAccessState,
131
130
  TransitGatewayPropagationState,
132
131
  UnlimitedSupportedInstanceFamily,
133
132
  VerifiedAccessInstanceLoggingConfiguration,
134
133
  VolumeModification,
135
134
  } from "./models_5";
135
+ export interface GetInstanceMetadataDefaultsRequest {
136
+ DryRun?: boolean;
137
+ }
138
+ export interface InstanceMetadataDefaultsResponse {
139
+ HttpTokens?: HttpTokensState;
140
+ HttpPutResponseHopLimit?: number;
141
+ HttpEndpoint?: InstanceMetadataEndpointState;
142
+ InstanceMetadataTags?: InstanceMetadataTagsState;
143
+ }
136
144
  export interface GetInstanceMetadataDefaultsResult {
137
145
  AccountLevel?: InstanceMetadataDefaultsResponse;
138
146
  }
@@ -1890,14 +1898,6 @@ export interface ModifyVpnConnectionOptionsRequest {
1890
1898
  RemoteIpv6NetworkCidr?: string;
1891
1899
  DryRun?: boolean;
1892
1900
  }
1893
- export interface ModifyVpnConnectionOptionsResult {
1894
- VpnConnection?: VpnConnection;
1895
- }
1896
- export interface ModifyVpnTunnelCertificateRequest {
1897
- VpnConnectionId: string | undefined;
1898
- VpnTunnelOutsideIpAddress: string | undefined;
1899
- DryRun?: boolean;
1900
- }
1901
1901
  export declare const GetInstanceTpmEkPubResultFilterSensitiveLog: (
1902
1902
  obj: GetInstanceTpmEkPubResult
1903
1903
  ) => any;
@@ -1960,6 +1960,3 @@ export declare const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog:
1960
1960
  export declare const ModifyVpnConnectionResultFilterSensitiveLog: (
1961
1961
  obj: ModifyVpnConnectionResult
1962
1962
  ) => any;
1963
- export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (
1964
- obj: ModifyVpnConnectionOptionsResult
1965
- ) => any;
@@ -86,6 +86,14 @@ import {
86
86
  SpotInstanceRequest,
87
87
  } from "./models_5";
88
88
  import { CapacityReservationSpecification } from "./models_6";
89
+ export interface ModifyVpnConnectionOptionsResult {
90
+ VpnConnection?: VpnConnection;
91
+ }
92
+ export interface ModifyVpnTunnelCertificateRequest {
93
+ VpnConnectionId: string | undefined;
94
+ VpnTunnelOutsideIpAddress: string | undefined;
95
+ DryRun?: boolean;
96
+ }
89
97
  export interface ModifyVpnTunnelCertificateResult {
90
98
  VpnConnection?: VpnConnection;
91
99
  }
@@ -1061,6 +1069,9 @@ export interface WithdrawByoipCidrRequest {
1061
1069
  export interface WithdrawByoipCidrResult {
1062
1070
  ByoipCidr?: ByoipCidr;
1063
1071
  }
1072
+ export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (
1073
+ obj: ModifyVpnConnectionOptionsResult
1074
+ ) => any;
1064
1075
  export declare const ModifyVpnTunnelCertificateResultFilterSensitiveLog: (
1065
1076
  obj: ModifyVpnTunnelCertificateResult
1066
1077
  ) => 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.632.0",
4
+ "version": "3.636.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.632.0",
24
- "@aws-sdk/client-sts": "3.632.0",
25
- "@aws-sdk/core": "3.629.0",
26
- "@aws-sdk/credential-provider-node": "3.632.0",
23
+ "@aws-sdk/client-sso-oidc": "3.635.0",
24
+ "@aws-sdk/client-sts": "3.635.0",
25
+ "@aws-sdk/core": "3.635.0",
26
+ "@aws-sdk/credential-provider-node": "3.635.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-sdk-ec2": "3.622.0",
30
+ "@aws-sdk/middleware-sdk-ec2": "3.635.0",
31
31
  "@aws-sdk/middleware-user-agent": "3.632.0",
32
32
  "@aws-sdk/region-config-resolver": "3.614.0",
33
33
  "@aws-sdk/types": "3.609.0",
@@ -35,26 +35,26 @@
35
35
  "@aws-sdk/util-user-agent-browser": "3.609.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.614.0",
37
37
  "@smithy/config-resolver": "^3.0.5",
38
- "@smithy/core": "^2.3.2",
38
+ "@smithy/core": "^2.4.0",
39
39
  "@smithy/fetch-http-handler": "^3.2.4",
40
40
  "@smithy/hash-node": "^3.0.3",
41
41
  "@smithy/invalid-dependency": "^3.0.3",
42
42
  "@smithy/middleware-content-length": "^3.0.5",
43
43
  "@smithy/middleware-endpoint": "^3.1.0",
44
- "@smithy/middleware-retry": "^3.0.14",
44
+ "@smithy/middleware-retry": "^3.0.15",
45
45
  "@smithy/middleware-serde": "^3.0.3",
46
46
  "@smithy/middleware-stack": "^3.0.3",
47
47
  "@smithy/node-config-provider": "^3.1.4",
48
48
  "@smithy/node-http-handler": "^3.1.4",
49
49
  "@smithy/protocol-http": "^4.1.0",
50
- "@smithy/smithy-client": "^3.1.12",
50
+ "@smithy/smithy-client": "^3.2.0",
51
51
  "@smithy/types": "^3.3.0",
52
52
  "@smithy/url-parser": "^3.0.3",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.14",
57
- "@smithy/util-defaults-mode-node": "^3.0.14",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.15",
57
+ "@smithy/util-defaults-mode-node": "^3.0.15",
58
58
  "@smithy/util-endpoints": "^2.0.5",
59
59
  "@smithy/util-middleware": "^3.0.3",
60
60
  "@smithy/util-retry": "^3.0.3",