@aws-sdk/client-ec2 3.923.0 → 3.925.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
@@ -17696,6 +17696,18 @@ const se_AuthorizeSecurityGroupIngressRequest = (input, context) => {
17696
17696
  }
17697
17697
  return entries;
17698
17698
  };
17699
+ const se_AvailabilityZoneIdStringList = (input, context) => {
17700
+ const entries = {};
17701
+ let counter = 1;
17702
+ for (const entry of input) {
17703
+ if (entry === null) {
17704
+ continue;
17705
+ }
17706
+ entries[`AvailabilityZoneId.${counter}`] = entry;
17707
+ counter++;
17708
+ }
17709
+ return entries;
17710
+ };
17699
17711
  const se_AvailabilityZoneStringList = (input, context) => {
17700
17712
  const entries = {};
17701
17713
  let counter = 1;
@@ -27989,6 +28001,13 @@ const se_DisableFastSnapshotRestoresRequest = (input, context) => {
27989
28001
  entries[loc] = value;
27990
28002
  });
27991
28003
  }
28004
+ if (input[_AZIv] != null) {
28005
+ const memberEntries = se_AvailabilityZoneIdStringList(input[_AZIv]);
28006
+ Object.entries(memberEntries).forEach(([key, value]) => {
28007
+ const loc = `AvailabilityZoneId.${key.substring(key.indexOf(".") + 1)}`;
28008
+ entries[loc] = value;
28009
+ });
28010
+ }
27992
28011
  if (input[_SSIo] != null) {
27993
28012
  const memberEntries = se_SnapshotIdStringList(input[_SSIo]);
27994
28013
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -28677,6 +28696,13 @@ const se_EnableFastSnapshotRestoresRequest = (input, context) => {
28677
28696
  entries[loc] = value;
28678
28697
  });
28679
28698
  }
28699
+ if (input[_AZIv] != null) {
28700
+ const memberEntries = se_AvailabilityZoneIdStringList(input[_AZIv]);
28701
+ Object.entries(memberEntries).forEach(([key, value]) => {
28702
+ const loc = `AvailabilityZoneId.${key.substring(key.indexOf(".") + 1)}`;
28703
+ entries[loc] = value;
28704
+ });
28705
+ }
28680
28706
  if (input[_SSIo] != null) {
28681
28707
  const memberEntries = se_SnapshotIdStringList(input[_SSIo]);
28682
28708
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -46390,6 +46416,9 @@ const de_DescribeFastSnapshotRestoreSuccessItem = (output, context) => {
46390
46416
  if (output[_aZ] != null) {
46391
46417
  contents[_AZ] = smithyClient.expectString(output[_aZ]);
46392
46418
  }
46419
+ if (output[_aZI] != null) {
46420
+ contents[_AZI] = smithyClient.expectString(output[_aZI]);
46421
+ }
46393
46422
  if (output[_st] != null) {
46394
46423
  contents[_Stat] = smithyClient.expectString(output[_st]);
46395
46424
  }
@@ -48486,6 +48515,9 @@ const de_DisableFastSnapshotRestoreStateErrorItem = (output, context) => {
48486
48515
  if (output[_aZ] != null) {
48487
48516
  contents[_AZ] = smithyClient.expectString(output[_aZ]);
48488
48517
  }
48518
+ if (output[_aZI] != null) {
48519
+ contents[_AZI] = smithyClient.expectString(output[_aZI]);
48520
+ }
48489
48521
  if (output[_er] != null) {
48490
48522
  contents[_Er] = de_DisableFastSnapshotRestoreStateError(output[_er]);
48491
48523
  }
@@ -48506,6 +48538,9 @@ const de_DisableFastSnapshotRestoreSuccessItem = (output, context) => {
48506
48538
  if (output[_aZ] != null) {
48507
48539
  contents[_AZ] = smithyClient.expectString(output[_aZ]);
48508
48540
  }
48541
+ if (output[_aZI] != null) {
48542
+ contents[_AZI] = smithyClient.expectString(output[_aZI]);
48543
+ }
48509
48544
  if (output[_st] != null) {
48510
48545
  contents[_Stat] = smithyClient.expectString(output[_st]);
48511
48546
  }
@@ -49314,6 +49349,9 @@ const de_EnableFastSnapshotRestoreStateErrorItem = (output, context) => {
49314
49349
  if (output[_aZ] != null) {
49315
49350
  contents[_AZ] = smithyClient.expectString(output[_aZ]);
49316
49351
  }
49352
+ if (output[_aZI] != null) {
49353
+ contents[_AZI] = smithyClient.expectString(output[_aZI]);
49354
+ }
49317
49355
  if (output[_er] != null) {
49318
49356
  contents[_Er] = de_EnableFastSnapshotRestoreStateError(output[_er]);
49319
49357
  }
@@ -49334,6 +49372,9 @@ const de_EnableFastSnapshotRestoreSuccessItem = (output, context) => {
49334
49372
  if (output[_aZ] != null) {
49335
49373
  contents[_AZ] = smithyClient.expectString(output[_aZ]);
49336
49374
  }
49375
+ if (output[_aZI] != null) {
49376
+ contents[_AZI] = smithyClient.expectString(output[_aZI]);
49377
+ }
49337
49378
  if (output[_st] != null) {
49338
49379
  contents[_Stat] = smithyClient.expectString(output[_st]);
49339
49380
  }
@@ -17579,6 +17579,18 @@ const se_AuthorizeSecurityGroupIngressRequest = (input, context) => {
17579
17579
  }
17580
17580
  return entries;
17581
17581
  };
17582
+ const se_AvailabilityZoneIdStringList = (input, context) => {
17583
+ const entries = {};
17584
+ let counter = 1;
17585
+ for (const entry of input) {
17586
+ if (entry === null) {
17587
+ continue;
17588
+ }
17589
+ entries[`AvailabilityZoneId.${counter}`] = entry;
17590
+ counter++;
17591
+ }
17592
+ return entries;
17593
+ };
17582
17594
  const se_AvailabilityZoneStringList = (input, context) => {
17583
17595
  const entries = {};
17584
17596
  let counter = 1;
@@ -27872,6 +27884,13 @@ const se_DisableFastSnapshotRestoresRequest = (input, context) => {
27872
27884
  entries[loc] = value;
27873
27885
  });
27874
27886
  }
27887
+ if (input[_AZIv] != null) {
27888
+ const memberEntries = se_AvailabilityZoneIdStringList(input[_AZIv], context);
27889
+ Object.entries(memberEntries).forEach(([key, value]) => {
27890
+ const loc = `AvailabilityZoneId.${key.substring(key.indexOf(".") + 1)}`;
27891
+ entries[loc] = value;
27892
+ });
27893
+ }
27875
27894
  if (input[_SSIo] != null) {
27876
27895
  const memberEntries = se_SnapshotIdStringList(input[_SSIo], context);
27877
27896
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -28560,6 +28579,13 @@ const se_EnableFastSnapshotRestoresRequest = (input, context) => {
28560
28579
  entries[loc] = value;
28561
28580
  });
28562
28581
  }
28582
+ if (input[_AZIv] != null) {
28583
+ const memberEntries = se_AvailabilityZoneIdStringList(input[_AZIv], context);
28584
+ Object.entries(memberEntries).forEach(([key, value]) => {
28585
+ const loc = `AvailabilityZoneId.${key.substring(key.indexOf(".") + 1)}`;
28586
+ entries[loc] = value;
28587
+ });
28588
+ }
28563
28589
  if (input[_SSIo] != null) {
28564
28590
  const memberEntries = se_SnapshotIdStringList(input[_SSIo], context);
28565
28591
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -46273,6 +46299,9 @@ const de_DescribeFastSnapshotRestoreSuccessItem = (output, context) => {
46273
46299
  if (output[_aZ] != null) {
46274
46300
  contents[_AZ] = __expectString(output[_aZ]);
46275
46301
  }
46302
+ if (output[_aZI] != null) {
46303
+ contents[_AZI] = __expectString(output[_aZI]);
46304
+ }
46276
46305
  if (output[_st] != null) {
46277
46306
  contents[_Stat] = __expectString(output[_st]);
46278
46307
  }
@@ -48369,6 +48398,9 @@ const de_DisableFastSnapshotRestoreStateErrorItem = (output, context) => {
48369
48398
  if (output[_aZ] != null) {
48370
48399
  contents[_AZ] = __expectString(output[_aZ]);
48371
48400
  }
48401
+ if (output[_aZI] != null) {
48402
+ contents[_AZI] = __expectString(output[_aZI]);
48403
+ }
48372
48404
  if (output[_er] != null) {
48373
48405
  contents[_Er] = de_DisableFastSnapshotRestoreStateError(output[_er], context);
48374
48406
  }
@@ -48389,6 +48421,9 @@ const de_DisableFastSnapshotRestoreSuccessItem = (output, context) => {
48389
48421
  if (output[_aZ] != null) {
48390
48422
  contents[_AZ] = __expectString(output[_aZ]);
48391
48423
  }
48424
+ if (output[_aZI] != null) {
48425
+ contents[_AZI] = __expectString(output[_aZI]);
48426
+ }
48392
48427
  if (output[_st] != null) {
48393
48428
  contents[_Stat] = __expectString(output[_st]);
48394
48429
  }
@@ -49197,6 +49232,9 @@ const de_EnableFastSnapshotRestoreStateErrorItem = (output, context) => {
49197
49232
  if (output[_aZ] != null) {
49198
49233
  contents[_AZ] = __expectString(output[_aZ]);
49199
49234
  }
49235
+ if (output[_aZI] != null) {
49236
+ contents[_AZI] = __expectString(output[_aZI]);
49237
+ }
49200
49238
  if (output[_er] != null) {
49201
49239
  contents[_Er] = de_EnableFastSnapshotRestoreStateError(output[_er], context);
49202
49240
  }
@@ -49217,6 +49255,9 @@ const de_EnableFastSnapshotRestoreSuccessItem = (output, context) => {
49217
49255
  if (output[_aZ] != null) {
49218
49256
  contents[_AZ] = __expectString(output[_aZ]);
49219
49257
  }
49258
+ if (output[_aZI] != null) {
49259
+ contents[_AZI] = __expectString(output[_aZI]);
49260
+ }
49220
49261
  if (output[_st] != null) {
49221
49262
  contents[_Stat] = __expectString(output[_st]);
49222
49263
  }
@@ -26,7 +26,7 @@ export interface EC2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<EC2Htt
26
26
  */
27
27
  export declare const defaultEC2HttpAuthSchemeProvider: EC2HttpAuthSchemeProvider;
28
28
  /**
29
- * @internal
29
+ * @public
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
32
  /**
@@ -56,6 +56,7 @@ declare const DescribeFastSnapshotRestoresCommand_base: {
56
56
  * // { // DescribeFastSnapshotRestoreSuccessItem
57
57
  * // SnapshotId: "STRING_VALUE",
58
58
  * // AvailabilityZone: "STRING_VALUE",
59
+ * // AvailabilityZoneId: "STRING_VALUE",
59
60
  * // State: "enabling" || "optimizing" || "enabled" || "disabling" || "disabled",
60
61
  * // StateTransitionReason: "STRING_VALUE",
61
62
  * // OwnerId: "STRING_VALUE",
@@ -37,7 +37,10 @@ declare const DisableFastSnapshotRestoresCommand_base: {
37
37
  * const config = {}; // type is EC2ClientConfig
38
38
  * const client = new EC2Client(config);
39
39
  * const input = { // DisableFastSnapshotRestoresRequest
40
- * AvailabilityZones: [ // AvailabilityZoneStringList // required
40
+ * AvailabilityZones: [ // AvailabilityZoneStringList
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * AvailabilityZoneIds: [ // AvailabilityZoneIdStringList
41
44
  * "STRING_VALUE",
42
45
  * ],
43
46
  * SourceSnapshotIds: [ // SnapshotIdStringList // required
@@ -52,6 +55,7 @@ declare const DisableFastSnapshotRestoresCommand_base: {
52
55
  * // { // DisableFastSnapshotRestoreSuccessItem
53
56
  * // SnapshotId: "STRING_VALUE",
54
57
  * // AvailabilityZone: "STRING_VALUE",
58
+ * // AvailabilityZoneId: "STRING_VALUE",
55
59
  * // State: "enabling" || "optimizing" || "enabled" || "disabling" || "disabled",
56
60
  * // StateTransitionReason: "STRING_VALUE",
57
61
  * // OwnerId: "STRING_VALUE",
@@ -69,6 +73,7 @@ declare const DisableFastSnapshotRestoresCommand_base: {
69
73
  * // FastSnapshotRestoreStateErrors: [ // DisableFastSnapshotRestoreStateErrorSet
70
74
  * // { // DisableFastSnapshotRestoreStateErrorItem
71
75
  * // AvailabilityZone: "STRING_VALUE",
76
+ * // AvailabilityZoneId: "STRING_VALUE",
72
77
  * // Error: { // DisableFastSnapshotRestoreStateError
73
78
  * // Code: "STRING_VALUE",
74
79
  * // Message: "STRING_VALUE",
@@ -40,7 +40,10 @@ declare const EnableFastSnapshotRestoresCommand_base: {
40
40
  * const config = {}; // type is EC2ClientConfig
41
41
  * const client = new EC2Client(config);
42
42
  * const input = { // EnableFastSnapshotRestoresRequest
43
- * AvailabilityZones: [ // AvailabilityZoneStringList // required
43
+ * AvailabilityZones: [ // AvailabilityZoneStringList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * AvailabilityZoneIds: [ // AvailabilityZoneIdStringList
44
47
  * "STRING_VALUE",
45
48
  * ],
46
49
  * SourceSnapshotIds: [ // SnapshotIdStringList // required
@@ -55,6 +58,7 @@ declare const EnableFastSnapshotRestoresCommand_base: {
55
58
  * // { // EnableFastSnapshotRestoreSuccessItem
56
59
  * // SnapshotId: "STRING_VALUE",
57
60
  * // AvailabilityZone: "STRING_VALUE",
61
+ * // AvailabilityZoneId: "STRING_VALUE",
58
62
  * // State: "enabling" || "optimizing" || "enabled" || "disabling" || "disabled",
59
63
  * // StateTransitionReason: "STRING_VALUE",
60
64
  * // OwnerId: "STRING_VALUE",
@@ -72,6 +76,7 @@ declare const EnableFastSnapshotRestoresCommand_base: {
72
76
  * // FastSnapshotRestoreStateErrors: [ // EnableFastSnapshotRestoreStateErrorSet
73
77
  * // { // EnableFastSnapshotRestoreStateErrorItem
74
78
  * // AvailabilityZone: "STRING_VALUE",
79
+ * // AvailabilityZoneId: "STRING_VALUE",
75
80
  * // Error: { // EnableFastSnapshotRestoreStateError
76
81
  * // Code: "STRING_VALUE",
77
82
  * // Message: "STRING_VALUE",
@@ -9665,61 +9665,78 @@ export type IpamPrefixListResolverRuleConditionOperation = (typeof IpamPrefixLis
9665
9665
  /**
9666
9666
  * <p>Describes a condition used when creating or modifying resolver rules.</p>
9667
9667
  * <p>CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.</p>
9668
- * <p>There are three rule types:</p>
9668
+ * <p>There are three rule types. Only 2 of the 3 rule types support conditions - <b>IPAM pool CIDR</b> and <b>Scope resource CIDR</b>. <b>Static CIDR</b> rules cannot have conditions.</p>
9669
9669
  * <ul>
9670
9670
  * <li>
9671
9671
  * <p>
9672
- * <b>Static CIDR</b>: A fixed list of CIDRs that do not change (like a manual list replicated across Regions).</p>
9672
+ * <b>Static CIDR</b>: A fixed list of CIDRs that do not change (like a manual list replicated across Regions)</p>
9673
9673
  * </li>
9674
9674
  * <li>
9675
9675
  * <p>
9676
- * <b>IPAM pool CIDR</b>: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool).</p>
9677
- * </li>
9678
- * <li>
9679
- * <p>
9680
- * <b>Scope resource CIDR</b>: CIDRs for Amazon Web Services resources like VPCs, subnets, and EIPs within a specific IPAM scope.</p>
9681
- * </li>
9682
- * </ul>
9683
- * <p>Condition availability by resource type:</p>
9684
- * <ul>
9685
- * <li>
9686
- * <p>Only 2 of the 3 rule types support conditions - <b>IPAM pool CIDR</b> and <b>Scope resource CIDR</b>. <b>Static CIDR</b> rules cannot have conditions.</p>
9676
+ * <b>IPAM pool CIDR</b>: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool)</p>
9677
+ * <p>If you choose this option, choose the following:</p>
9687
9678
  * <ul>
9688
9679
  * <li>
9689
- * <p>Condition available for the <b>IPAM pool CIDR</b> resource type:</p>
9680
+ * <p>
9681
+ * <b>IPAM scope</b>: Select the IPAM scope to search for resources</p>
9682
+ * </li>
9683
+ * <li>
9684
+ * <p>
9685
+ * <b>Conditions:</b>
9686
+ * </p>
9690
9687
  * <ul>
9691
9688
  * <li>
9692
- * <p>Property:</p>
9689
+ * <p>
9690
+ * <b>Property</b>
9691
+ * </p>
9693
9692
  * <ul>
9694
9693
  * <li>
9695
- * <p>IPAM Pool ID</p>
9694
+ * <p>
9695
+ * <b>IPAM pool ID</b>: Select an IPAM pool that contains the resources</p>
9696
9696
  * </li>
9697
9697
  * <li>
9698
- * <p>CIDR (like 10.24.34.0/23)</p>
9698
+ * <p>
9699
+ * <b>CIDR</b> (like 10.24.34.0/23)</p>
9699
9700
  * </li>
9700
9701
  * </ul>
9701
9702
  * </li>
9702
9703
  * <li>
9703
- * <p>Operation: Equals/Not equals</p>
9704
+ * <p>
9705
+ * <b>Operation</b>: Equals/Not equals</p>
9704
9706
  * </li>
9705
9707
  * <li>
9706
- * <p>Value: The value on which to match the condition</p>
9708
+ * <p>
9709
+ * <b>Value</b>: The value on which to match the condition</p>
9707
9710
  * </li>
9708
9711
  * </ul>
9709
9712
  * </li>
9713
+ * </ul>
9714
+ * </li>
9715
+ * <li>
9716
+ * <p>
9717
+ * <b>Scope resource CIDR</b>: CIDRs from Amazon Web Services resources like VPCs, subnets, EIPs within an IPAM scope</p>
9718
+ * <p>If you choose this option, choose the following:</p>
9719
+ * <ul>
9710
9720
  * <li>
9711
- * <p>Conditions for the <b>Scope resource CIDR</b> resource type:</p>
9721
+ * <p>
9722
+ * <b>IPAM scope</b>: Select the IPAM scope to search for resources</p>
9723
+ * </li>
9724
+ * <li>
9725
+ * <p>
9726
+ * <b>Resource type</b>: Select a resource, like a VPC or subnet.</p>
9727
+ * </li>
9728
+ * <li>
9729
+ * <p>
9730
+ * <b>Conditions</b>:</p>
9712
9731
  * <ul>
9713
9732
  * <li>
9714
- * <p>Property:</p>
9733
+ * <p>
9734
+ * <b>Property</b>:</p>
9715
9735
  * <ul>
9716
9736
  * <li>
9717
9737
  * <p>Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0)</p>
9718
9738
  * </li>
9719
9739
  * <li>
9720
- * <p>Resource type (like VPC or Subnet)</p>
9721
- * </li>
9722
- * <li>
9723
9740
  * <p>Resource owner (like 111122223333)</p>
9724
9741
  * </li>
9725
9742
  * <li>
@@ -9734,16 +9751,15 @@ export type IpamPrefixListResolverRuleConditionOperation = (typeof IpamPrefixLis
9734
9751
  * </ul>
9735
9752
  * </li>
9736
9753
  * <li>
9737
- * <p>Operation: Equals/Not equals</p>
9754
+ * <p>
9755
+ * <b>Operation</b>: Equals/Not equals</p>
9738
9756
  * </li>
9739
9757
  * <li>
9740
- * <p>Value: The value on which to match the condition</p>
9758
+ * <p>
9759
+ * <b>Value</b>: The value on which to match the condition</p>
9741
9760
  * </li>
9742
9761
  * </ul>
9743
9762
  * </li>
9744
- * <li>
9745
- * <p>When setting conditions for a rule, one or more conditions is required.</p>
9746
- * </li>
9747
9763
  * </ul>
9748
9764
  * </li>
9749
9765
  * </ul>
@@ -9818,61 +9834,78 @@ export type IpamPrefixListResolverRuleType = (typeof IpamPrefixListResolverRuleT
9818
9834
  /**
9819
9835
  * <p>Describes a CIDR selection rule to include in a request. This is used when creating or modifying resolver rules.</p>
9820
9836
  * <p>CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.</p>
9821
- * <p>There are three rule types:</p>
9837
+ * <p>There are three rule types. Only 2 of the 3 rule types support conditions - <b>IPAM pool CIDR</b> and <b>Scope resource CIDR</b>. <b>Static CIDR</b> rules cannot have conditions.</p>
9822
9838
  * <ul>
9823
9839
  * <li>
9824
9840
  * <p>
9825
- * <b>Static CIDR</b>: A fixed list of CIDRs that do not change (like a manual list replicated across Regions).</p>
9841
+ * <b>Static CIDR</b>: A fixed list of CIDRs that do not change (like a manual list replicated across Regions)</p>
9826
9842
  * </li>
9827
9843
  * <li>
9828
9844
  * <p>
9829
- * <b>IPAM pool CIDR</b>: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool).</p>
9830
- * </li>
9831
- * <li>
9832
- * <p>
9833
- * <b>Scope resource CIDR</b>: CIDRs for Amazon Web Services resources like VPCs, subnets, and EIPs within a specific IPAM scope.</p>
9834
- * </li>
9835
- * </ul>
9836
- * <p>Condition availability by resource type:</p>
9837
- * <ul>
9838
- * <li>
9839
- * <p>Only 2 of the 3 rule types support conditions - <b>IPAM pool CIDR</b> and <b>Scope resource CIDR</b>. <b>Static CIDR</b> rules cannot have conditions.</p>
9845
+ * <b>IPAM pool CIDR</b>: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool)</p>
9846
+ * <p>If you choose this option, choose the following:</p>
9840
9847
  * <ul>
9841
9848
  * <li>
9842
- * <p>Condition available for the <b>IPAM pool CIDR</b> resource type:</p>
9849
+ * <p>
9850
+ * <b>IPAM scope</b>: Select the IPAM scope to search for resources</p>
9851
+ * </li>
9852
+ * <li>
9853
+ * <p>
9854
+ * <b>Conditions:</b>
9855
+ * </p>
9843
9856
  * <ul>
9844
9857
  * <li>
9845
- * <p>Property:</p>
9858
+ * <p>
9859
+ * <b>Property</b>
9860
+ * </p>
9846
9861
  * <ul>
9847
9862
  * <li>
9848
- * <p>IPAM Pool ID</p>
9863
+ * <p>
9864
+ * <b>IPAM pool ID</b>: Select an IPAM pool that contains the resources</p>
9849
9865
  * </li>
9850
9866
  * <li>
9851
- * <p>CIDR (like 10.24.34.0/23)</p>
9867
+ * <p>
9868
+ * <b>CIDR</b> (like 10.24.34.0/23)</p>
9852
9869
  * </li>
9853
9870
  * </ul>
9854
9871
  * </li>
9855
9872
  * <li>
9856
- * <p>Operation: Equals/Not equals</p>
9873
+ * <p>
9874
+ * <b>Operation</b>: Equals/Not equals</p>
9857
9875
  * </li>
9858
9876
  * <li>
9859
- * <p>Value: The value on which to match the condition</p>
9877
+ * <p>
9878
+ * <b>Value</b>: The value on which to match the condition</p>
9860
9879
  * </li>
9861
9880
  * </ul>
9862
9881
  * </li>
9882
+ * </ul>
9883
+ * </li>
9884
+ * <li>
9885
+ * <p>
9886
+ * <b>Scope resource CIDR</b>: CIDRs from Amazon Web Services resources like VPCs, subnets, EIPs within an IPAM scope</p>
9887
+ * <p>If you choose this option, choose the following:</p>
9888
+ * <ul>
9863
9889
  * <li>
9864
- * <p>Conditions for the <b>Scope resource CIDR</b> resource type:</p>
9890
+ * <p>
9891
+ * <b>IPAM scope</b>: Select the IPAM scope to search for resources</p>
9892
+ * </li>
9893
+ * <li>
9894
+ * <p>
9895
+ * <b>Resource type</b>: Select a resource, like a VPC or subnet.</p>
9896
+ * </li>
9897
+ * <li>
9898
+ * <p>
9899
+ * <b>Conditions</b>:</p>
9865
9900
  * <ul>
9866
9901
  * <li>
9867
- * <p>Property:</p>
9902
+ * <p>
9903
+ * <b>Property</b>:</p>
9868
9904
  * <ul>
9869
9905
  * <li>
9870
9906
  * <p>Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0)</p>
9871
9907
  * </li>
9872
9908
  * <li>
9873
- * <p>Resource type (like VPC or Subnet)</p>
9874
- * </li>
9875
- * <li>
9876
9909
  * <p>Resource owner (like 111122223333)</p>
9877
9910
  * </li>
9878
9911
  * <li>
@@ -9887,16 +9920,15 @@ export type IpamPrefixListResolverRuleType = (typeof IpamPrefixListResolverRuleT
9887
9920
  * </ul>
9888
9921
  * </li>
9889
9922
  * <li>
9890
- * <p>Operation: Equals/Not equals</p>
9923
+ * <p>
9924
+ * <b>Operation</b>: Equals/Not equals</p>
9891
9925
  * </li>
9892
9926
  * <li>
9893
- * <p>Value: The value on which to match the condition</p>
9927
+ * <p>
9928
+ * <b>Value</b>: The value on which to match the condition</p>
9894
9929
  * </li>
9895
9930
  * </ul>
9896
9931
  * </li>
9897
- * <li>
9898
- * <p>When setting conditions for a rule, one or more conditions is required.</p>
9899
- * </li>
9900
9932
  * </ul>
9901
9933
  * </li>
9902
9934
  * </ul>
@@ -3956,7 +3956,11 @@ export interface DescribeFastSnapshotRestoresRequest {
3956
3956
  * <ul>
3957
3957
  * <li>
3958
3958
  * <p>
3959
- * <code>availability-zone</code>: The Availability Zone of the snapshot.</p>
3959
+ * <code>availability-zone</code>: The Availability Zone of the snapshot. For example, <code>us-east-2a</code>.</p>
3960
+ * </li>
3961
+ * <li>
3962
+ * <p>
3963
+ * <code>availability-zone-id</code>: The ID of the Availability Zone of the snapshot. For example, <code>use2-az1</code>.</p>
3960
3964
  * </li>
3961
3965
  * <li>
3962
3966
  * <p>
@@ -4030,6 +4034,11 @@ export interface DescribeFastSnapshotRestoreSuccessItem {
4030
4034
  * @public
4031
4035
  */
4032
4036
  AvailabilityZone?: string | undefined;
4037
+ /**
4038
+ * <p>The ID of the Availability Zone.</p>
4039
+ * @public
4040
+ */
4041
+ AvailabilityZoneId?: string | undefined;
4033
4042
  /**
4034
4043
  * <p>The state of fast snapshot restores.</p>
4035
4044
  * @public
@@ -3208,9 +3208,16 @@ export interface DisableFastLaunchResult {
3208
3208
  export interface DisableFastSnapshotRestoresRequest {
3209
3209
  /**
3210
3210
  * <p>One or more Availability Zones. For example, <code>us-east-2a</code>.</p>
3211
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified in the request, but not both.</p>
3211
3212
  * @public
3212
3213
  */
3213
- AvailabilityZones: string[] | undefined;
3214
+ AvailabilityZones?: string[] | undefined;
3215
+ /**
3216
+ * <p>One or more Availability Zone IDs. For example, <code>use2-az1</code>.</p>
3217
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified in the request, but not both.</p>
3218
+ * @public
3219
+ */
3220
+ AvailabilityZoneIds?: string[] | undefined;
3214
3221
  /**
3215
3222
  * <p>The IDs of one or more snapshots. For example, <code>snap-1234567890abcdef0</code>.</p>
3216
3223
  * @public
@@ -3239,6 +3246,11 @@ export interface DisableFastSnapshotRestoreSuccessItem {
3239
3246
  * @public
3240
3247
  */
3241
3248
  AvailabilityZone?: string | undefined;
3249
+ /**
3250
+ * <p>The ID of the Availability Zone.</p>
3251
+ * @public
3252
+ */
3253
+ AvailabilityZoneId?: string | undefined;
3242
3254
  /**
3243
3255
  * <p>The state of fast snapshot restores for the snapshot.</p>
3244
3256
  * @public
@@ -3323,6 +3335,11 @@ export interface DisableFastSnapshotRestoreStateErrorItem {
3323
3335
  * @public
3324
3336
  */
3325
3337
  AvailabilityZone?: string | undefined;
3338
+ /**
3339
+ * <p>The ID of the Availability Zone.</p>
3340
+ * @public
3341
+ */
3342
+ AvailabilityZoneId?: string | undefined;
3326
3343
  /**
3327
3344
  * <p>The error.</p>
3328
3345
  * @public
@@ -4672,9 +4689,16 @@ export interface EnableFastLaunchResult {
4672
4689
  export interface EnableFastSnapshotRestoresRequest {
4673
4690
  /**
4674
4691
  * <p>One or more Availability Zones. For example, <code>us-east-2a</code>.</p>
4692
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified in the request, but not both.</p>
4675
4693
  * @public
4676
4694
  */
4677
- AvailabilityZones: string[] | undefined;
4695
+ AvailabilityZones?: string[] | undefined;
4696
+ /**
4697
+ * <p>One or more Availability Zone IDs. For example, <code>use2-az1</code>.</p>
4698
+ * <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified in the request, but not both.</p>
4699
+ * @public
4700
+ */
4701
+ AvailabilityZoneIds?: string[] | undefined;
4678
4702
  /**
4679
4703
  * <p>The IDs of one or more snapshots. For example, <code>snap-1234567890abcdef0</code>. You can specify
4680
4704
  * a snapshot that was shared with you from another Amazon Web Services account.</p>
@@ -4704,6 +4728,11 @@ export interface EnableFastSnapshotRestoreSuccessItem {
4704
4728
  * @public
4705
4729
  */
4706
4730
  AvailabilityZone?: string | undefined;
4731
+ /**
4732
+ * <p>The ID of the Availability Zone.</p>
4733
+ * @public
4734
+ */
4735
+ AvailabilityZoneId?: string | undefined;
4707
4736
  /**
4708
4737
  * <p>The state of fast snapshot restores.</p>
4709
4738
  * @public
@@ -4788,6 +4817,11 @@ export interface EnableFastSnapshotRestoreStateErrorItem {
4788
4817
  * @public
4789
4818
  */
4790
4819
  AvailabilityZone?: string | undefined;
4820
+ /**
4821
+ * <p>The ID of the Availability Zone.</p>
4822
+ * @public
4823
+ */
4824
+ AvailabilityZoneId?: string | undefined;
4791
4825
  /**
4792
4826
  * <p>The error.</p>
4793
4827
  * @public
@@ -1294,61 +1294,78 @@ export interface GetIpamPrefixListResolverRulesRequest {
1294
1294
  /**
1295
1295
  * <p>Describes a condition within a CIDR selection rule. Conditions define the criteria for selecting CIDRs from IPAM's database based on resource attributes.</p>
1296
1296
  * <p>CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.</p>
1297
- * <p>There are three rule types:</p>
1297
+ * <p>There are three rule types. Only 2 of the 3 rule types support conditions - <b>IPAM pool CIDR</b> and <b>Scope resource CIDR</b>. <b>Static CIDR</b> rules cannot have conditions.</p>
1298
1298
  * <ul>
1299
1299
  * <li>
1300
1300
  * <p>
1301
- * <b>Static CIDR</b>: A fixed list of CIDRs that do not change (like a manual list replicated across Regions).</p>
1301
+ * <b>Static CIDR</b>: A fixed list of CIDRs that do not change (like a manual list replicated across Regions)</p>
1302
1302
  * </li>
1303
1303
  * <li>
1304
1304
  * <p>
1305
- * <b>IPAM pool CIDR</b>: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool).</p>
1306
- * </li>
1307
- * <li>
1308
- * <p>
1309
- * <b>Scope resource CIDR</b>: CIDRs for Amazon Web Services resources like VPCs, subnets, and EIPs within a specific IPAM scope.</p>
1310
- * </li>
1311
- * </ul>
1312
- * <p>Condition availability by resource type:</p>
1313
- * <ul>
1314
- * <li>
1315
- * <p>Only 2 of the 3 rule types support conditions - <b>IPAM pool CIDR</b> and <b>Scope resource CIDR</b>. <b>Static CIDR</b> rules cannot have conditions.</p>
1305
+ * <b>IPAM pool CIDR</b>: CIDRs from specific IPAM pools (like all CIDRs from your IPAM production pool)</p>
1306
+ * <p>If you choose this option, choose the following:</p>
1316
1307
  * <ul>
1317
1308
  * <li>
1318
- * <p>Condition available for the <b>IPAM pool CIDR</b> resource type:</p>
1309
+ * <p>
1310
+ * <b>IPAM scope</b>: Select the IPAM scope to search for resources</p>
1311
+ * </li>
1312
+ * <li>
1313
+ * <p>
1314
+ * <b>Conditions:</b>
1315
+ * </p>
1319
1316
  * <ul>
1320
1317
  * <li>
1321
- * <p>Property:</p>
1318
+ * <p>
1319
+ * <b>Property</b>
1320
+ * </p>
1322
1321
  * <ul>
1323
1322
  * <li>
1324
- * <p>IPAM Pool ID</p>
1323
+ * <p>
1324
+ * <b>IPAM pool ID</b>: Select an IPAM pool that contains the resources</p>
1325
1325
  * </li>
1326
1326
  * <li>
1327
- * <p>CIDR (like 10.24.34.0/23)</p>
1327
+ * <p>
1328
+ * <b>CIDR</b> (like 10.24.34.0/23)</p>
1328
1329
  * </li>
1329
1330
  * </ul>
1330
1331
  * </li>
1331
1332
  * <li>
1332
- * <p>Operation: Equals/Not equals</p>
1333
+ * <p>
1334
+ * <b>Operation</b>: Equals/Not equals</p>
1333
1335
  * </li>
1334
1336
  * <li>
1335
- * <p>Value: The value on which to match the condition</p>
1337
+ * <p>
1338
+ * <b>Value</b>: The value on which to match the condition</p>
1336
1339
  * </li>
1337
1340
  * </ul>
1338
1341
  * </li>
1342
+ * </ul>
1343
+ * </li>
1344
+ * <li>
1345
+ * <p>
1346
+ * <b>Scope resource CIDR</b>: CIDRs from Amazon Web Services resources like VPCs, subnets, EIPs within an IPAM scope</p>
1347
+ * <p>If you choose this option, choose the following:</p>
1348
+ * <ul>
1339
1349
  * <li>
1340
- * <p>Conditions for the <b>Scope resource CIDR</b> resource type:</p>
1350
+ * <p>
1351
+ * <b>IPAM scope</b>: Select the IPAM scope to search for resources</p>
1352
+ * </li>
1353
+ * <li>
1354
+ * <p>
1355
+ * <b>Resource type</b>: Select a resource, like a VPC or subnet.</p>
1356
+ * </li>
1357
+ * <li>
1358
+ * <p>
1359
+ * <b>Conditions</b>:</p>
1341
1360
  * <ul>
1342
1361
  * <li>
1343
- * <p>Property:</p>
1362
+ * <p>
1363
+ * <b>Property</b>:</p>
1344
1364
  * <ul>
1345
1365
  * <li>
1346
1366
  * <p>Resource ID: The unique ID of a resource (like vpc-1234567890abcdef0)</p>
1347
1367
  * </li>
1348
1368
  * <li>
1349
- * <p>Resource type (like VPC or Subnet)</p>
1350
- * </li>
1351
- * <li>
1352
1369
  * <p>Resource owner (like 111122223333)</p>
1353
1370
  * </li>
1354
1371
  * <li>
@@ -1363,16 +1380,15 @@ export interface GetIpamPrefixListResolverRulesRequest {
1363
1380
  * </ul>
1364
1381
  * </li>
1365
1382
  * <li>
1366
- * <p>Operation: Equals/Not equals</p>
1383
+ * <p>
1384
+ * <b>Operation</b>: Equals/Not equals</p>
1367
1385
  * </li>
1368
1386
  * <li>
1369
- * <p>Value: The value on which to match the condition</p>
1387
+ * <p>
1388
+ * <b>Value</b>: The value on which to match the condition</p>
1370
1389
  * </li>
1371
1390
  * </ul>
1372
1391
  * </li>
1373
- * <li>
1374
- * <p>When setting conditions for a rule, one or more conditions is required.</p>
1375
- * </li>
1376
1392
  * </ul>
1377
1393
  * </li>
1378
1394
  * </ul>
@@ -873,6 +873,7 @@ export type FastSnapshotRestoreStateCode =
873
873
  export interface DescribeFastSnapshotRestoreSuccessItem {
874
874
  SnapshotId?: string | undefined;
875
875
  AvailabilityZone?: string | undefined;
876
+ AvailabilityZoneId?: string | undefined;
876
877
  State?: FastSnapshotRestoreStateCode | undefined;
877
878
  StateTransitionReason?: string | undefined;
878
879
  OwnerId?: string | undefined;
@@ -654,13 +654,15 @@ export interface DisableFastLaunchResult {
654
654
  StateTransitionTime?: Date | undefined;
655
655
  }
656
656
  export interface DisableFastSnapshotRestoresRequest {
657
- AvailabilityZones: string[] | undefined;
657
+ AvailabilityZones?: string[] | undefined;
658
+ AvailabilityZoneIds?: string[] | undefined;
658
659
  SourceSnapshotIds: string[] | undefined;
659
660
  DryRun?: boolean | undefined;
660
661
  }
661
662
  export interface DisableFastSnapshotRestoreSuccessItem {
662
663
  SnapshotId?: string | undefined;
663
664
  AvailabilityZone?: string | undefined;
665
+ AvailabilityZoneId?: string | undefined;
664
666
  State?: FastSnapshotRestoreStateCode | undefined;
665
667
  StateTransitionReason?: string | undefined;
666
668
  OwnerId?: string | undefined;
@@ -677,6 +679,7 @@ export interface DisableFastSnapshotRestoreStateError {
677
679
  }
678
680
  export interface DisableFastSnapshotRestoreStateErrorItem {
679
681
  AvailabilityZone?: string | undefined;
682
+ AvailabilityZoneId?: string | undefined;
680
683
  Error?: DisableFastSnapshotRestoreStateError | undefined;
681
684
  }
682
685
  export interface DisableFastSnapshotRestoreErrorItem {
@@ -1023,13 +1026,15 @@ export interface EnableFastLaunchResult {
1023
1026
  StateTransitionTime?: Date | undefined;
1024
1027
  }
1025
1028
  export interface EnableFastSnapshotRestoresRequest {
1026
- AvailabilityZones: string[] | undefined;
1029
+ AvailabilityZones?: string[] | undefined;
1030
+ AvailabilityZoneIds?: string[] | undefined;
1027
1031
  SourceSnapshotIds: string[] | undefined;
1028
1032
  DryRun?: boolean | undefined;
1029
1033
  }
1030
1034
  export interface EnableFastSnapshotRestoreSuccessItem {
1031
1035
  SnapshotId?: string | undefined;
1032
1036
  AvailabilityZone?: string | undefined;
1037
+ AvailabilityZoneId?: string | undefined;
1033
1038
  State?: FastSnapshotRestoreStateCode | undefined;
1034
1039
  StateTransitionReason?: string | undefined;
1035
1040
  OwnerId?: string | undefined;
@@ -1046,6 +1051,7 @@ export interface EnableFastSnapshotRestoreStateError {
1046
1051
  }
1047
1052
  export interface EnableFastSnapshotRestoreStateErrorItem {
1048
1053
  AvailabilityZone?: string | undefined;
1054
+ AvailabilityZoneId?: string | undefined;
1049
1055
  Error?: EnableFastSnapshotRestoreStateError | undefined;
1050
1056
  }
1051
1057
  export interface EnableFastSnapshotRestoreErrorItem {
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.923.0",
4
+ "version": "3.925.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",
@@ -21,18 +21,18 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.922.0",
24
- "@aws-sdk/credential-provider-node": "3.922.0",
24
+ "@aws-sdk/credential-provider-node": "3.925.0",
25
25
  "@aws-sdk/middleware-host-header": "3.922.0",
26
26
  "@aws-sdk/middleware-logger": "3.922.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
28
  "@aws-sdk/middleware-sdk-ec2": "3.922.0",
29
29
  "@aws-sdk/middleware-user-agent": "3.922.0",
30
- "@aws-sdk/region-config-resolver": "3.922.0",
30
+ "@aws-sdk/region-config-resolver": "3.925.0",
31
31
  "@aws-sdk/types": "3.922.0",
32
32
  "@aws-sdk/util-endpoints": "3.922.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.922.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.922.0",
35
- "@smithy/config-resolver": "^4.4.1",
35
+ "@smithy/config-resolver": "^4.4.2",
36
36
  "@smithy/core": "^3.17.2",
37
37
  "@smithy/fetch-http-handler": "^5.3.5",
38
38
  "@smithy/hash-node": "^4.2.4",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
54
  "@smithy/util-defaults-mode-browser": "^4.3.5",
55
- "@smithy/util-defaults-mode-node": "^4.2.7",
55
+ "@smithy/util-defaults-mode-node": "^4.2.8",
56
56
  "@smithy/util-endpoints": "^3.2.4",
57
57
  "@smithy/util-middleware": "^4.2.4",
58
58
  "@smithy/util-retry": "^4.2.4",