@aws-sdk/client-ec2 3.996.0 → 3.998.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 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",
@@ -16831,6 +16840,7 @@ exports.CreateVpnConnectionRouteCommand = CreateVpnConnectionRouteCommand;
16831
16840
  exports.CreateVpnGatewayCommand = CreateVpnGatewayCommand;
16832
16841
  exports.CurrencyCodeValues = CurrencyCodeValues;
16833
16842
  exports.DatafeedSubscriptionState = DatafeedSubscriptionState;
16843
+ exports.DefaultHttpTokensEnforcedState = DefaultHttpTokensEnforcedState;
16834
16844
  exports.DefaultInstanceMetadataEndpointState = DefaultInstanceMetadataEndpointState;
16835
16845
  exports.DefaultInstanceMetadataTagsState = DefaultInstanceMetadataTagsState;
16836
16846
  exports.DefaultRouteTableAssociationValue = DefaultRouteTableAssociationValue;
@@ -17322,6 +17332,7 @@ exports.HostMaintenance = HostMaintenance;
17322
17332
  exports.HostRecovery = HostRecovery;
17323
17333
  exports.HostTenancy = HostTenancy;
17324
17334
  exports.HostnameType = HostnameType;
17335
+ exports.HttpTokensEnforcedState = HttpTokensEnforcedState;
17325
17336
  exports.HttpTokensState = HttpTokensState;
17326
17337
  exports.HypervisorType = HypervisorType;
17327
17338
  exports.IamInstanceProfileAssociationState = IamInstanceProfileAssociationState;
@@ -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";
@@ -9394,7 +9396,7 @@ exports.CapacityBlock$ = [3, n0, _CBa,
9394
9396
  ];
9395
9397
  exports.CapacityBlockExtension$ = [3, n0, _CBE,
9396
9398
  0,
9397
- [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC],
9399
+ [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC, _ZT],
9398
9400
  [[0, { [_eQN]: `CapacityReservationId`,
9399
9401
  [_xN]: _cRI }], [0, { [_eQN]: `InstanceType`,
9400
9402
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9408,11 +9410,12 @@ exports.CapacityBlockExtension$ = [3, n0, _CBE,
9408
9410
  [_xN]: _cBESD }], [4, { [_eQN]: `CapacityBlockExtensionEndDate`,
9409
9411
  [_xN]: _cBEED }], [0, { [_eQN]: `UpfrontFee`,
9410
9412
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9411
- [_xN]: _cC }]]
9413
+ [_xN]: _cC }], [0, { [_eQN]: `ZoneType`,
9414
+ [_xN]: _zT }]]
9412
9415
  ];
9413
9416
  exports.CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9414
9417
  0,
9415
- [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te],
9418
+ [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te, _ZT],
9416
9419
  [[0, { [_eQN]: `CapacityBlockExtensionOfferingId`,
9417
9420
  [_xN]: _cBEOI }], [0, { [_eQN]: `InstanceType`,
9418
9421
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9425,11 +9428,12 @@ exports.CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9425
9428
  [_xN]: _cBEDH }], [0, { [_eQN]: `UpfrontFee`,
9426
9429
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9427
9430
  [_xN]: _cC }], [0, { [_eQN]: `Tenancy`,
9428
- [_xN]: _t }]]
9431
+ [_xN]: _t }], [0, { [_eQN]: `ZoneType`,
9432
+ [_xN]: _zT }]]
9429
9433
  ];
9430
9434
  exports.CapacityBlockOffering$ = [3, n0, _CBO,
9431
9435
  0,
9432
- [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM],
9436
+ [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM, _ZT],
9433
9437
  [[0, { [_eQN]: `CapacityBlockOfferingId`,
9434
9438
  [_xN]: _cBOI }], [0, { [_eQN]: `InstanceType`,
9435
9439
  [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`,
@@ -9443,7 +9447,8 @@ exports.CapacityBlockOffering$ = [3, n0, _CBO,
9443
9447
  [_xN]: _t }], [0, { [_eQN]: `UltraserverType`,
9444
9448
  [_xN]: _uTl }], [1, { [_eQN]: `UltraserverCount`,
9445
9449
  [_xN]: _uC }], [1, { [_eQN]: `CapacityBlockDurationMinutes`,
9446
- [_xN]: _cBDM }]]
9450
+ [_xN]: _cBDM }], [0, { [_eQN]: `ZoneType`,
9451
+ [_xN]: _zT }]]
9447
9452
  ];
9448
9453
  exports.CapacityBlockStatus$ = [3, n0, _CBS,
9449
9454
  0,
@@ -12690,8 +12695,8 @@ exports.DescribeCapacityBlockExtensionOfferingsResult$ = [3, n0, _DCBEORe,
12690
12695
  ];
12691
12696
  exports.DescribeCapacityBlockOfferingsRequest$ = [3, n0, _DCBOR,
12692
12697
  0,
12693
- [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC],
12694
- [1, 2, 0, 1, 4, 4, 0, 1, 0, 1], 1
12698
+ [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC, _AAZ],
12699
+ [1, 2, 0, 1, 4, 4, 0, 1, 0, 1, 2], 1
12695
12700
  ];
12696
12701
  exports.DescribeCapacityBlockOfferingsResult$ = [3, n0, _DCBORe,
12697
12702
  0,
@@ -18261,14 +18266,15 @@ exports.InstanceMarketOptionsRequest$ = [3, n0, _IMORn,
18261
18266
  ];
18262
18267
  exports.InstanceMetadataDefaultsResponse$ = [3, n0, _IMDR,
18263
18268
  0,
18264
- [_HT, _HPRHL, _HE, _IMT, _MB, _MEM],
18269
+ [_HT, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE],
18265
18270
  [[0, { [_eQN]: `HttpTokens`,
18266
18271
  [_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`,
18267
18272
  [_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`,
18268
18273
  [_xN]: _hE }], [0, { [_eQN]: `InstanceMetadataTags`,
18269
18274
  [_xN]: _iMT }], [0, { [_eQN]: `ManagedBy`,
18270
18275
  [_xN]: _mB }], [0, { [_eQN]: `ManagedExceptionMessage`,
18271
- [_xN]: _mEM }]]
18276
+ [_xN]: _mEM }], [0, { [_eQN]: `HttpTokensEnforced`,
18277
+ [_xN]: _hTE }]]
18272
18278
  ];
18273
18279
  exports.InstanceMetadataOptionsRequest$ = [3, n0, _IMORns,
18274
18280
  0,
@@ -20149,8 +20155,8 @@ exports.ModifyInstanceMaintenanceOptionsResult$ = [3, n0, _MIMORo,
20149
20155
  ];
20150
20156
  exports.ModifyInstanceMetadataDefaultsRequest$ = [3, n0, _MIMDR,
20151
20157
  0,
20152
- [_HT, _HPRHL, _HE, _IMT, _DR],
20153
- [0, 1, 0, 0, 2]
20158
+ [_HT, _HPRHL, _HE, _IMT, _DR, _HTE],
20159
+ [0, 1, 0, 0, 2, 0]
20154
20160
  ];
20155
20161
  exports.ModifyInstanceMetadataDefaultsResult$ = [3, n0, _MIMDRo,
20156
20162
  0,
@@ -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";
@@ -9329,7 +9331,7 @@ export var CapacityBlock$ = [3, n0, _CBa,
9329
9331
  ];
9330
9332
  export var CapacityBlockExtension$ = [3, n0, _CBE,
9331
9333
  0,
9332
- [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC],
9334
+ [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC, _ZT],
9333
9335
  [[0, { [_eQN]: `CapacityReservationId`,
9334
9336
  [_xN]: _cRI }], [0, { [_eQN]: `InstanceType`,
9335
9337
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9343,11 +9345,12 @@ export var CapacityBlockExtension$ = [3, n0, _CBE,
9343
9345
  [_xN]: _cBESD }], [4, { [_eQN]: `CapacityBlockExtensionEndDate`,
9344
9346
  [_xN]: _cBEED }], [0, { [_eQN]: `UpfrontFee`,
9345
9347
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9346
- [_xN]: _cC }]]
9348
+ [_xN]: _cC }], [0, { [_eQN]: `ZoneType`,
9349
+ [_xN]: _zT }]]
9347
9350
  ];
9348
9351
  export var CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9349
9352
  0,
9350
- [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te],
9353
+ [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te, _ZT],
9351
9354
  [[0, { [_eQN]: `CapacityBlockExtensionOfferingId`,
9352
9355
  [_xN]: _cBEOI }], [0, { [_eQN]: `InstanceType`,
9353
9356
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9360,11 +9363,12 @@ export var CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9360
9363
  [_xN]: _cBEDH }], [0, { [_eQN]: `UpfrontFee`,
9361
9364
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9362
9365
  [_xN]: _cC }], [0, { [_eQN]: `Tenancy`,
9363
- [_xN]: _t }]]
9366
+ [_xN]: _t }], [0, { [_eQN]: `ZoneType`,
9367
+ [_xN]: _zT }]]
9364
9368
  ];
9365
9369
  export var CapacityBlockOffering$ = [3, n0, _CBO,
9366
9370
  0,
9367
- [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM],
9371
+ [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM, _ZT],
9368
9372
  [[0, { [_eQN]: `CapacityBlockOfferingId`,
9369
9373
  [_xN]: _cBOI }], [0, { [_eQN]: `InstanceType`,
9370
9374
  [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`,
@@ -9378,7 +9382,8 @@ export var CapacityBlockOffering$ = [3, n0, _CBO,
9378
9382
  [_xN]: _t }], [0, { [_eQN]: `UltraserverType`,
9379
9383
  [_xN]: _uTl }], [1, { [_eQN]: `UltraserverCount`,
9380
9384
  [_xN]: _uC }], [1, { [_eQN]: `CapacityBlockDurationMinutes`,
9381
- [_xN]: _cBDM }]]
9385
+ [_xN]: _cBDM }], [0, { [_eQN]: `ZoneType`,
9386
+ [_xN]: _zT }]]
9382
9387
  ];
9383
9388
  export var CapacityBlockStatus$ = [3, n0, _CBS,
9384
9389
  0,
@@ -12625,8 +12630,8 @@ export var DescribeCapacityBlockExtensionOfferingsResult$ = [3, n0, _DCBEORe,
12625
12630
  ];
12626
12631
  export var DescribeCapacityBlockOfferingsRequest$ = [3, n0, _DCBOR,
12627
12632
  0,
12628
- [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC],
12629
- [1, 2, 0, 1, 4, 4, 0, 1, 0, 1], 1
12633
+ [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC, _AAZ],
12634
+ [1, 2, 0, 1, 4, 4, 0, 1, 0, 1, 2], 1
12630
12635
  ];
12631
12636
  export var DescribeCapacityBlockOfferingsResult$ = [3, n0, _DCBORe,
12632
12637
  0,
@@ -18196,14 +18201,15 @@ export var InstanceMarketOptionsRequest$ = [3, n0, _IMORn,
18196
18201
  ];
18197
18202
  export var InstanceMetadataDefaultsResponse$ = [3, n0, _IMDR,
18198
18203
  0,
18199
- [_HT, _HPRHL, _HE, _IMT, _MB, _MEM],
18204
+ [_HT, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE],
18200
18205
  [[0, { [_eQN]: `HttpTokens`,
18201
18206
  [_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`,
18202
18207
  [_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`,
18203
18208
  [_xN]: _hE }], [0, { [_eQN]: `InstanceMetadataTags`,
18204
18209
  [_xN]: _iMT }], [0, { [_eQN]: `ManagedBy`,
18205
18210
  [_xN]: _mB }], [0, { [_eQN]: `ManagedExceptionMessage`,
18206
- [_xN]: _mEM }]]
18211
+ [_xN]: _mEM }], [0, { [_eQN]: `HttpTokensEnforced`,
18212
+ [_xN]: _hTE }]]
18207
18213
  ];
18208
18214
  export var InstanceMetadataOptionsRequest$ = [3, n0, _IMORns,
18209
18215
  0,
@@ -20084,8 +20090,8 @@ export var ModifyInstanceMaintenanceOptionsResult$ = [3, n0, _MIMORo,
20084
20090
  ];
20085
20091
  export var ModifyInstanceMetadataDefaultsRequest$ = [3, n0, _MIMDR,
20086
20092
  0,
20087
- [_HT, _HPRHL, _HE, _IMT, _DR],
20088
- [0, 1, 0, 0, 2]
20093
+ [_HT, _HPRHL, _HE, _IMT, _DR, _HTE],
20094
+ [0, 1, 0, 0, 2, 0]
20089
20095
  ];
20090
20096
  export var ModifyInstanceMetadataDefaultsResult$ = [3, n0, _MIMDRo,
20091
20097
  0,
@@ -71,6 +71,7 @@ declare const DescribeCapacityBlockExtensionHistoryCommand_base: {
71
71
  * // CapacityBlockExtensionEndDate: new Date("TIMESTAMP"),
72
72
  * // UpfrontFee: "STRING_VALUE",
73
73
  * // CurrencyCode: "STRING_VALUE",
74
+ * // ZoneType: "STRING_VALUE",
74
75
  * // },
75
76
  * // ],
76
77
  * // NextToken: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const DescribeCapacityBlockExtensionOfferingsCommand_base: {
61
61
  * // UpfrontFee: "STRING_VALUE",
62
62
  * // CurrencyCode: "STRING_VALUE",
63
63
  * // Tenancy: "default" || "dedicated",
64
+ * // ZoneType: "STRING_VALUE",
64
65
  * // },
65
66
  * // ],
66
67
  * // NextToken: "STRING_VALUE",
@@ -50,6 +50,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
50
50
  * MaxResults: Number("int"),
51
51
  * UltraserverType: "STRING_VALUE",
52
52
  * UltraserverCount: Number("int"),
53
+ * AllAvailabilityZones: true || false,
53
54
  * };
54
55
  * const command = new DescribeCapacityBlockOfferingsCommand(input);
55
56
  * const response = await client.send(command);
@@ -69,6 +70,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
69
70
  * // UltraserverType: "STRING_VALUE",
70
71
  * // UltraserverCount: Number("int"),
71
72
  * // CapacityBlockDurationMinutes: Number("int"),
73
+ * // ZoneType: "STRING_VALUE",
72
74
  * // },
73
75
  * // ],
74
76
  * // NextToken: "STRING_VALUE",
@@ -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);
@@ -60,6 +60,7 @@ declare const PurchaseCapacityBlockExtensionCommand_base: {
60
60
  * // CapacityBlockExtensionEndDate: new Date("TIMESTAMP"),
61
61
  * // UpfrontFee: "STRING_VALUE",
62
62
  * // CurrencyCode: "STRING_VALUE",
63
+ * // ZoneType: "STRING_VALUE",
63
64
  * // },
64
65
  * // ],
65
66
  * // };
@@ -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
@@ -2120,6 +2120,11 @@ export interface CapacityBlockExtension {
2120
2120
  * @public
2121
2121
  */
2122
2122
  CurrencyCode?: string | undefined;
2123
+ /**
2124
+ * <p>The type of zone where the Capacity Block extension is located.</p>
2125
+ * @public
2126
+ */
2127
+ ZoneType?: string | undefined;
2123
2128
  }
2124
2129
  /**
2125
2130
  * @public
@@ -2250,6 +2255,11 @@ export interface CapacityBlockExtensionOffering {
2250
2255
  * @public
2251
2256
  */
2252
2257
  Tenancy?: CapacityReservationTenancy | undefined;
2258
+ /**
2259
+ * <p>The type of zone where the Capacity Block extension offering is available.</p>
2260
+ * @public
2261
+ */
2262
+ ZoneType?: string | undefined;
2253
2263
  }
2254
2264
  /**
2255
2265
  * @public
@@ -2323,6 +2333,15 @@ export interface DescribeCapacityBlockOfferingsRequest {
2323
2333
  * @public
2324
2334
  */
2325
2335
  UltraserverCount?: number | undefined;
2336
+ /**
2337
+ * <p>
2338
+ * Include all Availability Zones and Local Zones, regardless of your opt-in status.
2339
+ * If you do not use this parameter, the results include available offerings from all
2340
+ * Availability Zones in the Amazon Web Services Region and Local Zones you are opted into.
2341
+ * </p>
2342
+ * @public
2343
+ */
2344
+ AllAvailabilityZones?: boolean | undefined;
2326
2345
  }
2327
2346
  /**
2328
2347
  * <p>The recommended Capacity Block that fits your search requirements.</p>
@@ -2398,6 +2417,11 @@ export interface CapacityBlockOffering {
2398
2417
  * @public
2399
2418
  */
2400
2419
  CapacityBlockDurationMinutes?: number | undefined;
2420
+ /**
2421
+ * <p>The type of zone where the Capacity Block offering is available.</p>
2422
+ * @public
2423
+ */
2424
+ ZoneType?: string | undefined;
2401
2425
  }
2402
2426
  /**
2403
2427
  * @public
@@ -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";
@@ -597,6 +597,7 @@ export interface CapacityBlockExtension {
597
597
  CapacityBlockExtensionEndDate?: Date | undefined;
598
598
  UpfrontFee?: string | undefined;
599
599
  CurrencyCode?: string | undefined;
600
+ ZoneType?: string | undefined;
600
601
  }
601
602
  export interface DescribeCapacityBlockExtensionHistoryResult {
602
603
  CapacityBlockExtensions?: CapacityBlockExtension[] | undefined;
@@ -622,6 +623,7 @@ export interface CapacityBlockExtensionOffering {
622
623
  UpfrontFee?: string | undefined;
623
624
  CurrencyCode?: string | undefined;
624
625
  Tenancy?: CapacityReservationTenancy | undefined;
626
+ ZoneType?: string | undefined;
625
627
  }
626
628
  export interface DescribeCapacityBlockExtensionOfferingsResult {
627
629
  CapacityBlockExtensionOfferings?:
@@ -640,6 +642,7 @@ export interface DescribeCapacityBlockOfferingsRequest {
640
642
  MaxResults?: number | undefined;
641
643
  UltraserverType?: string | undefined;
642
644
  UltraserverCount?: number | undefined;
645
+ AllAvailabilityZones?: boolean | undefined;
643
646
  }
644
647
  export interface CapacityBlockOffering {
645
648
  CapacityBlockOfferingId?: string | undefined;
@@ -655,6 +658,7 @@ export interface CapacityBlockOffering {
655
658
  UltraserverType?: string | undefined;
656
659
  UltraserverCount?: number | undefined;
657
660
  CapacityBlockDurationMinutes?: number | undefined;
661
+ ZoneType?: string | undefined;
658
662
  }
659
663
  export interface DescribeCapacityBlockOfferingsResult {
660
664
  CapacityBlockOfferings?: CapacityBlockOffering[] | undefined;
@@ -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.996.0",
4
+ "version": "3.998.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.12",
25
- "@aws-sdk/credential-provider-node": "^3.972.11",
26
- "@aws-sdk/middleware-host-header": "^3.972.3",
27
- "@aws-sdk/middleware-logger": "^3.972.3",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-sdk-ec2": "^3.972.8",
30
- "@aws-sdk/middleware-user-agent": "^3.972.12",
31
- "@aws-sdk/region-config-resolver": "^3.972.3",
32
- "@aws-sdk/types": "^3.973.1",
33
- "@aws-sdk/util-endpoints": "3.996.0",
34
- "@aws-sdk/util-user-agent-browser": "^3.972.3",
35
- "@aws-sdk/util-user-agent-node": "^3.972.11",
36
- "@smithy/config-resolver": "^4.4.6",
37
- "@smithy/core": "^3.23.2",
38
- "@smithy/fetch-http-handler": "^5.3.9",
39
- "@smithy/hash-node": "^4.2.8",
40
- "@smithy/invalid-dependency": "^4.2.8",
41
- "@smithy/middleware-content-length": "^4.2.8",
42
- "@smithy/middleware-endpoint": "^4.4.16",
43
- "@smithy/middleware-retry": "^4.4.33",
44
- "@smithy/middleware-serde": "^4.2.9",
45
- "@smithy/middleware-stack": "^4.2.8",
46
- "@smithy/node-config-provider": "^4.3.8",
47
- "@smithy/node-http-handler": "^4.4.10",
48
- "@smithy/protocol-http": "^5.3.8",
49
- "@smithy/smithy-client": "^4.11.5",
50
- "@smithy/types": "^4.12.0",
51
- "@smithy/url-parser": "^4.2.8",
52
- "@smithy/util-base64": "^4.3.0",
53
- "@smithy/util-body-length-browser": "^4.2.0",
54
- "@smithy/util-body-length-node": "^4.2.1",
55
- "@smithy/util-defaults-mode-browser": "^4.3.32",
56
- "@smithy/util-defaults-mode-node": "^4.2.35",
57
- "@smithy/util-endpoints": "^3.2.8",
58
- "@smithy/util-middleware": "^4.2.8",
59
- "@smithy/util-retry": "^4.2.8",
60
- "@smithy/util-utf8": "^4.2.0",
61
- "@smithy/util-waiter": "^4.2.8",
24
+ "@aws-sdk/core": "^3.973.14",
25
+ "@aws-sdk/credential-provider-node": "^3.972.13",
26
+ "@aws-sdk/middleware-host-header": "^3.972.5",
27
+ "@aws-sdk/middleware-logger": "^3.972.5",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.5",
29
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.10",
30
+ "@aws-sdk/middleware-user-agent": "^3.972.14",
31
+ "@aws-sdk/region-config-resolver": "^3.972.5",
32
+ "@aws-sdk/types": "^3.973.3",
33
+ "@aws-sdk/util-endpoints": "^3.996.2",
34
+ "@aws-sdk/util-user-agent-browser": "^3.972.5",
35
+ "@aws-sdk/util-user-agent-node": "^3.972.13",
36
+ "@smithy/config-resolver": "^4.4.9",
37
+ "@smithy/core": "^3.23.6",
38
+ "@smithy/fetch-http-handler": "^5.3.11",
39
+ "@smithy/hash-node": "^4.2.10",
40
+ "@smithy/invalid-dependency": "^4.2.10",
41
+ "@smithy/middleware-content-length": "^4.2.10",
42
+ "@smithy/middleware-endpoint": "^4.4.20",
43
+ "@smithy/middleware-retry": "^4.4.37",
44
+ "@smithy/middleware-serde": "^4.2.11",
45
+ "@smithy/middleware-stack": "^4.2.10",
46
+ "@smithy/node-config-provider": "^4.3.10",
47
+ "@smithy/node-http-handler": "^4.4.12",
48
+ "@smithy/protocol-http": "^5.3.10",
49
+ "@smithy/smithy-client": "^4.12.0",
50
+ "@smithy/types": "^4.13.0",
51
+ "@smithy/url-parser": "^4.2.10",
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.36",
56
+ "@smithy/util-defaults-mode-node": "^4.2.39",
57
+ "@smithy/util-endpoints": "^3.3.1",
58
+ "@smithy/util-middleware": "^4.2.10",
59
+ "@smithy/util-retry": "^4.2.10",
60
+ "@smithy/util-utf8": "^4.2.1",
61
+ "@smithy/util-waiter": "^4.2.10",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {