@aws-sdk/client-ec2 3.995.0 → 3.997.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.
- package/dist-cjs/index.js +21 -15
- package/dist-cjs/schemas/schemas_0.js +7 -4
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +7 -4
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_6.d.ts +17 -1
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_6.d.ts +4 -0
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -16401,6 +16401,10 @@ const PartitionLoadFrequency = {
|
|
|
16401
16401
|
NONE: "none",
|
|
16402
16402
|
WEEKLY: "weekly",
|
|
16403
16403
|
};
|
|
16404
|
+
const HttpTokensEnforcedState = {
|
|
16405
|
+
disabled: "disabled",
|
|
16406
|
+
enabled: "enabled",
|
|
16407
|
+
};
|
|
16404
16408
|
const EkPubKeyFormat = {
|
|
16405
16409
|
der: "der",
|
|
16406
16410
|
tpmt: "tpmt",
|
|
@@ -16513,6 +16517,11 @@ const MetadataDefaultHttpTokensState = {
|
|
|
16513
16517
|
optional: "optional",
|
|
16514
16518
|
required: "required",
|
|
16515
16519
|
};
|
|
16520
|
+
const DefaultHttpTokensEnforcedState = {
|
|
16521
|
+
disabled: "disabled",
|
|
16522
|
+
enabled: "enabled",
|
|
16523
|
+
no_preference: "no-preference",
|
|
16524
|
+
};
|
|
16516
16525
|
const DefaultInstanceMetadataTagsState = {
|
|
16517
16526
|
disabled: "disabled",
|
|
16518
16527
|
enabled: "enabled",
|
|
@@ -16584,18 +16593,9 @@ const MembershipType = {
|
|
|
16584
16593
|
static: "static",
|
|
16585
16594
|
};
|
|
16586
16595
|
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
});
|
|
16591
|
-
Object.defineProperty(exports, "__Client", {
|
|
16592
|
-
enumerable: true,
|
|
16593
|
-
get: function () { return smithyClient.Client; }
|
|
16594
|
-
});
|
|
16595
|
-
Object.defineProperty(exports, "EC2ServiceException", {
|
|
16596
|
-
enumerable: true,
|
|
16597
|
-
get: function () { return EC2ServiceException.EC2ServiceException; }
|
|
16598
|
-
});
|
|
16596
|
+
exports.$Command = smithyClient.Command;
|
|
16597
|
+
exports.__Client = smithyClient.Client;
|
|
16598
|
+
exports.EC2ServiceException = EC2ServiceException.EC2ServiceException;
|
|
16599
16599
|
exports.AcceleratorManufacturer = AcceleratorManufacturer;
|
|
16600
16600
|
exports.AcceleratorName = AcceleratorName;
|
|
16601
16601
|
exports.AcceleratorType = AcceleratorType;
|
|
@@ -16840,6 +16840,7 @@ exports.CreateVpnConnectionRouteCommand = CreateVpnConnectionRouteCommand;
|
|
|
16840
16840
|
exports.CreateVpnGatewayCommand = CreateVpnGatewayCommand;
|
|
16841
16841
|
exports.CurrencyCodeValues = CurrencyCodeValues;
|
|
16842
16842
|
exports.DatafeedSubscriptionState = DatafeedSubscriptionState;
|
|
16843
|
+
exports.DefaultHttpTokensEnforcedState = DefaultHttpTokensEnforcedState;
|
|
16843
16844
|
exports.DefaultInstanceMetadataEndpointState = DefaultInstanceMetadataEndpointState;
|
|
16844
16845
|
exports.DefaultInstanceMetadataTagsState = DefaultInstanceMetadataTagsState;
|
|
16845
16846
|
exports.DefaultRouteTableAssociationValue = DefaultRouteTableAssociationValue;
|
|
@@ -17331,6 +17332,7 @@ exports.HostMaintenance = HostMaintenance;
|
|
|
17331
17332
|
exports.HostRecovery = HostRecovery;
|
|
17332
17333
|
exports.HostTenancy = HostTenancy;
|
|
17333
17334
|
exports.HostnameType = HostnameType;
|
|
17335
|
+
exports.HttpTokensEnforcedState = HttpTokensEnforcedState;
|
|
17334
17336
|
exports.HttpTokensState = HttpTokensState;
|
|
17335
17337
|
exports.HypervisorType = HypervisorType;
|
|
17336
17338
|
exports.IamInstanceProfileAssociationState = IamInstanceProfileAssociationState;
|
|
@@ -18048,9 +18050,13 @@ exports.waitUntilVpcPeeringConnectionDeleted = waitUntilVpcPeeringConnectionDele
|
|
|
18048
18050
|
exports.waitUntilVpcPeeringConnectionExists = waitUntilVpcPeeringConnectionExists;
|
|
18049
18051
|
exports.waitUntilVpnConnectionAvailable = waitUntilVpnConnectionAvailable;
|
|
18050
18052
|
exports.waitUntilVpnConnectionDeleted = waitUntilVpnConnectionDeleted;
|
|
18051
|
-
Object.
|
|
18052
|
-
|
|
18053
|
+
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
18054
|
+
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
18055
|
+
Object.defineProperty(exports, '__proto__', {
|
|
18053
18056
|
enumerable: true,
|
|
18054
|
-
|
|
18057
|
+
value: schemas_0['__proto__']
|
|
18055
18058
|
});
|
|
18059
|
+
|
|
18060
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
18061
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
18056
18062
|
});
|
|
@@ -3001,6 +3001,7 @@ const _HRo = "HostReservation";
|
|
|
3001
3001
|
const _HS = "HibernationSupported";
|
|
3002
3002
|
const _HSa = "HaStatus";
|
|
3003
3003
|
const _HT = "HttpTokens";
|
|
3004
|
+
const _HTE = "HttpTokensEnforced";
|
|
3004
3005
|
const _HTo = "HostnameType";
|
|
3005
3006
|
const _HZI = "HostedZoneId";
|
|
3006
3007
|
const _Hi = "Hibernate";
|
|
@@ -6770,6 +6771,7 @@ const _hS = "hostSet";
|
|
|
6770
6771
|
const _hSa = "haStatus";
|
|
6771
6772
|
const _hSi = "hibernationSupported";
|
|
6772
6773
|
const _hT = "httpTokens";
|
|
6774
|
+
const _hTE = "httpTokensEnforced";
|
|
6773
6775
|
const _hTo = "hostnameType";
|
|
6774
6776
|
const _hZI = "hostedZoneId";
|
|
6775
6777
|
const _i = "id";
|
|
@@ -18261,14 +18263,15 @@ exports.InstanceMarketOptionsRequest$ = [3, n0, _IMORn,
|
|
|
18261
18263
|
];
|
|
18262
18264
|
exports.InstanceMetadataDefaultsResponse$ = [3, n0, _IMDR,
|
|
18263
18265
|
0,
|
|
18264
|
-
[_HT, _HPRHL, _HE, _IMT, _MB, _MEM],
|
|
18266
|
+
[_HT, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE],
|
|
18265
18267
|
[[0, { [_eQN]: `HttpTokens`,
|
|
18266
18268
|
[_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`,
|
|
18267
18269
|
[_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`,
|
|
18268
18270
|
[_xN]: _hE }], [0, { [_eQN]: `InstanceMetadataTags`,
|
|
18269
18271
|
[_xN]: _iMT }], [0, { [_eQN]: `ManagedBy`,
|
|
18270
18272
|
[_xN]: _mB }], [0, { [_eQN]: `ManagedExceptionMessage`,
|
|
18271
|
-
[_xN]: _mEM }]]
|
|
18273
|
+
[_xN]: _mEM }], [0, { [_eQN]: `HttpTokensEnforced`,
|
|
18274
|
+
[_xN]: _hTE }]]
|
|
18272
18275
|
];
|
|
18273
18276
|
exports.InstanceMetadataOptionsRequest$ = [3, n0, _IMORns,
|
|
18274
18277
|
0,
|
|
@@ -20149,8 +20152,8 @@ exports.ModifyInstanceMaintenanceOptionsResult$ = [3, n0, _MIMORo,
|
|
|
20149
20152
|
];
|
|
20150
20153
|
exports.ModifyInstanceMetadataDefaultsRequest$ = [3, n0, _MIMDR,
|
|
20151
20154
|
0,
|
|
20152
|
-
[_HT, _HPRHL, _HE, _IMT, _DR],
|
|
20153
|
-
[0, 1, 0, 0, 2]
|
|
20155
|
+
[_HT, _HPRHL, _HE, _IMT, _DR, _HTE],
|
|
20156
|
+
[0, 1, 0, 0, 2, 0]
|
|
20154
20157
|
];
|
|
20155
20158
|
exports.ModifyInstanceMetadataDefaultsResult$ = [3, n0, _MIMDRo,
|
|
20156
20159
|
0,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -3644,6 +3644,10 @@ export const PartitionLoadFrequency = {
|
|
|
3644
3644
|
NONE: "none",
|
|
3645
3645
|
WEEKLY: "weekly",
|
|
3646
3646
|
};
|
|
3647
|
+
export const HttpTokensEnforcedState = {
|
|
3648
|
+
disabled: "disabled",
|
|
3649
|
+
enabled: "enabled",
|
|
3650
|
+
};
|
|
3647
3651
|
export const EkPubKeyFormat = {
|
|
3648
3652
|
der: "der",
|
|
3649
3653
|
tpmt: "tpmt",
|
|
@@ -3756,6 +3760,11 @@ export const MetadataDefaultHttpTokensState = {
|
|
|
3756
3760
|
optional: "optional",
|
|
3757
3761
|
required: "required",
|
|
3758
3762
|
};
|
|
3763
|
+
export const DefaultHttpTokensEnforcedState = {
|
|
3764
|
+
disabled: "disabled",
|
|
3765
|
+
enabled: "enabled",
|
|
3766
|
+
no_preference: "no-preference",
|
|
3767
|
+
};
|
|
3759
3768
|
export const DefaultInstanceMetadataTagsState = {
|
|
3760
3769
|
disabled: "disabled",
|
|
3761
3770
|
enabled: "enabled",
|
|
@@ -2936,6 +2936,7 @@ const _HRo = "HostReservation";
|
|
|
2936
2936
|
const _HS = "HibernationSupported";
|
|
2937
2937
|
const _HSa = "HaStatus";
|
|
2938
2938
|
const _HT = "HttpTokens";
|
|
2939
|
+
const _HTE = "HttpTokensEnforced";
|
|
2939
2940
|
const _HTo = "HostnameType";
|
|
2940
2941
|
const _HZI = "HostedZoneId";
|
|
2941
2942
|
const _Hi = "Hibernate";
|
|
@@ -6705,6 +6706,7 @@ const _hS = "hostSet";
|
|
|
6705
6706
|
const _hSa = "haStatus";
|
|
6706
6707
|
const _hSi = "hibernationSupported";
|
|
6707
6708
|
const _hT = "httpTokens";
|
|
6709
|
+
const _hTE = "httpTokensEnforced";
|
|
6708
6710
|
const _hTo = "hostnameType";
|
|
6709
6711
|
const _hZI = "hostedZoneId";
|
|
6710
6712
|
const _i = "id";
|
|
@@ -18196,14 +18198,15 @@ export var InstanceMarketOptionsRequest$ = [3, n0, _IMORn,
|
|
|
18196
18198
|
];
|
|
18197
18199
|
export var InstanceMetadataDefaultsResponse$ = [3, n0, _IMDR,
|
|
18198
18200
|
0,
|
|
18199
|
-
[_HT, _HPRHL, _HE, _IMT, _MB, _MEM],
|
|
18201
|
+
[_HT, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE],
|
|
18200
18202
|
[[0, { [_eQN]: `HttpTokens`,
|
|
18201
18203
|
[_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`,
|
|
18202
18204
|
[_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`,
|
|
18203
18205
|
[_xN]: _hE }], [0, { [_eQN]: `InstanceMetadataTags`,
|
|
18204
18206
|
[_xN]: _iMT }], [0, { [_eQN]: `ManagedBy`,
|
|
18205
18207
|
[_xN]: _mB }], [0, { [_eQN]: `ManagedExceptionMessage`,
|
|
18206
|
-
[_xN]: _mEM }]]
|
|
18208
|
+
[_xN]: _mEM }], [0, { [_eQN]: `HttpTokensEnforced`,
|
|
18209
|
+
[_xN]: _hTE }]]
|
|
18207
18210
|
];
|
|
18208
18211
|
export var InstanceMetadataOptionsRequest$ = [3, n0, _IMORns,
|
|
18209
18212
|
0,
|
|
@@ -20084,8 +20087,8 @@ export var ModifyInstanceMaintenanceOptionsResult$ = [3, n0, _MIMORo,
|
|
|
20084
20087
|
];
|
|
20085
20088
|
export var ModifyInstanceMetadataDefaultsRequest$ = [3, n0, _MIMDR,
|
|
20086
20089
|
0,
|
|
20087
|
-
[_HT, _HPRHL, _HE, _IMT, _DR],
|
|
20088
|
-
[0, 1, 0, 0, 2]
|
|
20090
|
+
[_HT, _HPRHL, _HE, _IMT, _DR, _HTE],
|
|
20091
|
+
[0, 1, 0, 0, 2, 0]
|
|
20089
20092
|
];
|
|
20090
20093
|
export var ModifyInstanceMetadataDefaultsResult$ = [3, n0, _MIMDRo,
|
|
20091
20094
|
0,
|
|
@@ -53,6 +53,7 @@ declare const GetInstanceMetadataDefaultsCommand_base: {
|
|
|
53
53
|
* // InstanceMetadataTags: "disabled" || "enabled",
|
|
54
54
|
* // ManagedBy: "account" || "declarative-policy",
|
|
55
55
|
* // ManagedExceptionMessage: "STRING_VALUE",
|
|
56
|
+
* // HttpTokensEnforced: "disabled" || "enabled",
|
|
56
57
|
* // },
|
|
57
58
|
* // };
|
|
58
59
|
*
|
|
@@ -51,6 +51,7 @@ declare const ModifyInstanceMetadataDefaultsCommand_base: {
|
|
|
51
51
|
* HttpEndpoint: "disabled" || "enabled" || "no-preference",
|
|
52
52
|
* InstanceMetadataTags: "disabled" || "enabled" || "no-preference",
|
|
53
53
|
* DryRun: true || false,
|
|
54
|
+
* HttpTokensEnforced: "disabled" || "enabled" || "no-preference",
|
|
54
55
|
* };
|
|
55
56
|
* const command = new ModifyInstanceMetadataDefaultsCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -6884,6 +6884,18 @@ export declare const PartitionLoadFrequency: {
|
|
|
6884
6884
|
* @public
|
|
6885
6885
|
*/
|
|
6886
6886
|
export type PartitionLoadFrequency = (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
|
|
6887
|
+
/**
|
|
6888
|
+
* @public
|
|
6889
|
+
* @enum
|
|
6890
|
+
*/
|
|
6891
|
+
export declare const HttpTokensEnforcedState: {
|
|
6892
|
+
readonly disabled: "disabled";
|
|
6893
|
+
readonly enabled: "enabled";
|
|
6894
|
+
};
|
|
6895
|
+
/**
|
|
6896
|
+
* @public
|
|
6897
|
+
*/
|
|
6898
|
+
export type HttpTokensEnforcedState = (typeof HttpTokensEnforcedState)[keyof typeof HttpTokensEnforcedState];
|
|
6887
6899
|
/**
|
|
6888
6900
|
* @public
|
|
6889
6901
|
* @enum
|
|
@@ -7164,6 +7176,19 @@ export declare const MetadataDefaultHttpTokensState: {
|
|
|
7164
7176
|
* @public
|
|
7165
7177
|
*/
|
|
7166
7178
|
export type MetadataDefaultHttpTokensState = (typeof MetadataDefaultHttpTokensState)[keyof typeof MetadataDefaultHttpTokensState];
|
|
7179
|
+
/**
|
|
7180
|
+
* @public
|
|
7181
|
+
* @enum
|
|
7182
|
+
*/
|
|
7183
|
+
export declare const DefaultHttpTokensEnforcedState: {
|
|
7184
|
+
readonly disabled: "disabled";
|
|
7185
|
+
readonly enabled: "enabled";
|
|
7186
|
+
readonly no_preference: "no-preference";
|
|
7187
|
+
};
|
|
7188
|
+
/**
|
|
7189
|
+
* @public
|
|
7190
|
+
*/
|
|
7191
|
+
export type DefaultHttpTokensEnforcedState = (typeof DefaultHttpTokensEnforcedState)[keyof typeof DefaultHttpTokensEnforcedState];
|
|
7167
7192
|
/**
|
|
7168
7193
|
* @public
|
|
7169
7194
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EkPubKeyFormat, EkPubKeyType, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TargetStorageTier, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType, VpnEcmpSupportValue } from "./enums";
|
|
1
|
+
import { _InstanceType, Affinity, AnalysisStatus, ArchitectureType, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EkPubKeyFormat, EkPubKeyType, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensEnforcedState, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, OperationType, PartitionLoadFrequency, PaymentOption, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, SnapshotBlockPublicAccessState, SSEType, TargetCapacityUnitType, TargetStorageTier, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VirtualizationType, VolumeState, VolumeType, VpnEcmpSupportValue } from "./enums";
|
|
2
2
|
import { type AddressAttribute, type ClientConnectOptions, type ClientLoginBannerOptions, type ClientRouteEnforcementOptions, type ConnectionLogOptions, type EnaSrdSpecification, type InstanceEventWindow, type OperatorResponse, type SubnetAssociation, AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, IpamPoolAllocation, RouteServerAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
|
|
3
3
|
import { type AttributeValue, type CapacityReservationTarget, type ConnectionTrackingSpecificationRequest, type ExternalAuthorityConfiguration, type InstanceRequirementsRequest, type Ipam, type IpamPool, type IpamPrefixListResolver, type IpamPrefixListResolverTarget, type IpamResourceDiscovery, type IpamScope, type LaunchTemplate, type LocalGatewayRoute, type ManagedPrefixList, type NetworkInsightsAccessScopeContent, type Placement, type ResponseLaunchTemplateData, type RouteServer, type TargetCapacitySpecificationRequest, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, IpamPrefixListResolverRuleRequest, IpamResourceTag, RequestIpamResourceTag } from "./models_1";
|
|
4
4
|
import { type TrafficMirrorFilter, type TrafficMirrorFilterRule, type TrafficMirrorPortRangeRequest, type TrafficMirrorSession, SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
|
|
@@ -513,6 +513,13 @@ export interface InstanceMetadataDefaultsResponse {
|
|
|
513
513
|
* @public
|
|
514
514
|
*/
|
|
515
515
|
ManagedExceptionMessage?: string | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* <p>Indicates whether to enforce the requirement of IMDSv2 on an instance at the time of
|
|
518
|
+
* launch. When enforcement is enabled, the instance can't launch unless IMDSv2
|
|
519
|
+
* (<code>HttpTokens</code>) is set to <code>required</code>.</p>
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
HttpTokensEnforced?: HttpTokensEnforcedState | undefined;
|
|
516
523
|
}
|
|
517
524
|
/**
|
|
518
525
|
* @public
|
|
@@ -6944,6 +6951,15 @@ export interface ModifyInstanceMetadataDefaultsRequest {
|
|
|
6944
6951
|
* @public
|
|
6945
6952
|
*/
|
|
6946
6953
|
DryRun?: boolean | undefined;
|
|
6954
|
+
/**
|
|
6955
|
+
* <p>Specifies whether to enforce the requirement of IMDSv2 on an instance at the time of
|
|
6956
|
+
* launch. When enforcement is enabled, the instance can't launch unless IMDSv2
|
|
6957
|
+
* (<code>HttpTokens</code>) is set to <code>required</code>. For more information, see
|
|
6958
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#enforce-imdsv2-at-the-account-level">Enforce IMDSv2 at the account level</a> in the
|
|
6959
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6960
|
+
* @public
|
|
6961
|
+
*/
|
|
6962
|
+
HttpTokensEnforced?: DefaultHttpTokensEnforcedState | undefined;
|
|
6947
6963
|
}
|
|
6948
6964
|
/**
|
|
6949
6965
|
* @public
|
|
@@ -4373,6 +4373,12 @@ export declare const PartitionLoadFrequency: {
|
|
|
4373
4373
|
};
|
|
4374
4374
|
export type PartitionLoadFrequency =
|
|
4375
4375
|
(typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
|
|
4376
|
+
export declare const HttpTokensEnforcedState: {
|
|
4377
|
+
readonly disabled: "disabled";
|
|
4378
|
+
readonly enabled: "enabled";
|
|
4379
|
+
};
|
|
4380
|
+
export type HttpTokensEnforcedState =
|
|
4381
|
+
(typeof HttpTokensEnforcedState)[keyof typeof HttpTokensEnforcedState];
|
|
4376
4382
|
export declare const EkPubKeyFormat: {
|
|
4377
4383
|
readonly der: "der";
|
|
4378
4384
|
readonly tpmt: "tpmt";
|
|
@@ -4524,6 +4530,13 @@ export declare const MetadataDefaultHttpTokensState: {
|
|
|
4524
4530
|
};
|
|
4525
4531
|
export type MetadataDefaultHttpTokensState =
|
|
4526
4532
|
(typeof MetadataDefaultHttpTokensState)[keyof typeof MetadataDefaultHttpTokensState];
|
|
4533
|
+
export declare const DefaultHttpTokensEnforcedState: {
|
|
4534
|
+
readonly disabled: "disabled";
|
|
4535
|
+
readonly enabled: "enabled";
|
|
4536
|
+
readonly no_preference: "no-preference";
|
|
4537
|
+
};
|
|
4538
|
+
export type DefaultHttpTokensEnforcedState =
|
|
4539
|
+
(typeof DefaultHttpTokensEnforcedState)[keyof typeof DefaultHttpTokensEnforcedState];
|
|
4527
4540
|
export declare const DefaultInstanceMetadataTagsState: {
|
|
4528
4541
|
readonly disabled: "disabled";
|
|
4529
4542
|
readonly enabled: "enabled";
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
BootModeValues,
|
|
10
10
|
CapacityReservationPreference,
|
|
11
11
|
CurrencyCodeValues,
|
|
12
|
+
DefaultHttpTokensEnforcedState,
|
|
12
13
|
DefaultInstanceMetadataEndpointState,
|
|
13
14
|
DefaultInstanceMetadataTagsState,
|
|
14
15
|
DefaultRouteTableAssociationValue,
|
|
@@ -26,6 +27,7 @@ import {
|
|
|
26
27
|
HostnameType,
|
|
27
28
|
HostRecovery,
|
|
28
29
|
HostTenancy,
|
|
30
|
+
HttpTokensEnforcedState,
|
|
29
31
|
HttpTokensState,
|
|
30
32
|
InstanceAttributeName,
|
|
31
33
|
InstanceAutoRecoveryState,
|
|
@@ -279,6 +281,7 @@ export interface InstanceMetadataDefaultsResponse {
|
|
|
279
281
|
InstanceMetadataTags?: InstanceMetadataTagsState | undefined;
|
|
280
282
|
ManagedBy?: ManagedBy | undefined;
|
|
281
283
|
ManagedExceptionMessage?: string | undefined;
|
|
284
|
+
HttpTokensEnforced?: HttpTokensEnforcedState | undefined;
|
|
282
285
|
}
|
|
283
286
|
export interface GetInstanceMetadataDefaultsResult {
|
|
284
287
|
AccountLevel?: InstanceMetadataDefaultsResponse | undefined;
|
|
@@ -1558,6 +1561,7 @@ export interface ModifyInstanceMetadataDefaultsRequest {
|
|
|
1558
1561
|
HttpEndpoint?: DefaultInstanceMetadataEndpointState | undefined;
|
|
1559
1562
|
InstanceMetadataTags?: DefaultInstanceMetadataTagsState | undefined;
|
|
1560
1563
|
DryRun?: boolean | undefined;
|
|
1564
|
+
HttpTokensEnforced?: DefaultHttpTokensEnforcedState | undefined;
|
|
1561
1565
|
}
|
|
1562
1566
|
export interface ModifyInstanceMetadataDefaultsResult {
|
|
1563
1567
|
Return?: boolean | undefined;
|
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.
|
|
4
|
+
"version": "3.997.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -21,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-sdk-ec2": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
36
|
-
"@smithy/config-resolver": "^4.4.
|
|
37
|
-
"@smithy/core": "^3.23.
|
|
38
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
39
|
-
"@smithy/hash-node": "^4.2.
|
|
40
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
41
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
-
"@smithy/middleware-serde": "^4.2.
|
|
45
|
-
"@smithy/middleware-stack": "^4.2.
|
|
46
|
-
"@smithy/node-config-provider": "^4.3.
|
|
47
|
-
"@smithy/node-http-handler": "^4.4.
|
|
48
|
-
"@smithy/protocol-http": "^5.3.
|
|
49
|
-
"@smithy/smithy-client": "^4.11.
|
|
50
|
-
"@smithy/types": "^4.12.
|
|
51
|
-
"@smithy/url-parser": "^4.2.
|
|
52
|
-
"@smithy/util-base64": "^4.3.
|
|
53
|
-
"@smithy/util-body-length-browser": "^4.2.
|
|
54
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
57
|
-
"@smithy/util-endpoints": "^3.2.
|
|
58
|
-
"@smithy/util-middleware": "^4.2.
|
|
59
|
-
"@smithy/util-retry": "^4.2.
|
|
60
|
-
"@smithy/util-utf8": "^4.2.
|
|
61
|
-
"@smithy/util-waiter": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "^3.973.13",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.12",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.4",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.4",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.4",
|
|
29
|
+
"@aws-sdk/middleware-sdk-ec2": "^3.972.9",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "^3.972.13",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "^3.972.4",
|
|
32
|
+
"@aws-sdk/types": "^3.973.2",
|
|
33
|
+
"@aws-sdk/util-endpoints": "^3.996.1",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.4",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.972.12",
|
|
36
|
+
"@smithy/config-resolver": "^4.4.7",
|
|
37
|
+
"@smithy/core": "^3.23.4",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.3.10",
|
|
39
|
+
"@smithy/hash-node": "^4.2.9",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.2.9",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.2.9",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.18",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.35",
|
|
44
|
+
"@smithy/middleware-serde": "^4.2.10",
|
|
45
|
+
"@smithy/middleware-stack": "^4.2.9",
|
|
46
|
+
"@smithy/node-config-provider": "^4.3.9",
|
|
47
|
+
"@smithy/node-http-handler": "^4.4.11",
|
|
48
|
+
"@smithy/protocol-http": "^5.3.9",
|
|
49
|
+
"@smithy/smithy-client": "^4.11.7",
|
|
50
|
+
"@smithy/types": "^4.12.1",
|
|
51
|
+
"@smithy/url-parser": "^4.2.9",
|
|
52
|
+
"@smithy/util-base64": "^4.3.1",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.2.1",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.2.2",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.34",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.37",
|
|
57
|
+
"@smithy/util-endpoints": "^3.2.9",
|
|
58
|
+
"@smithy/util-middleware": "^4.2.9",
|
|
59
|
+
"@smithy/util-retry": "^4.2.9",
|
|
60
|
+
"@smithy/util-utf8": "^4.2.1",
|
|
61
|
+
"@smithy/util-waiter": "^4.2.9",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|