@aws-sdk/client-ec2 3.709.0 → 3.713.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist-cjs/index.js +42 -11
  2. package/dist-es/models/models_2.js +4 -0
  3. package/dist-es/models/models_4.js +0 -8
  4. package/dist-es/models/models_5.js +8 -0
  5. package/dist-es/protocols/Aws_ec2.js +26 -1
  6. package/dist-types/commands/CreateSnapshotCommand.d.ts +20 -8
  7. package/dist-types/commands/CreateSnapshotsCommand.d.ts +22 -10
  8. package/dist-types/commands/DeleteClientVpnRouteCommand.d.ts +1 -2
  9. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +7 -4
  10. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  11. package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
  13. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -0
  14. package/dist-types/commands/EnableAddressTransferCommand.d.ts +2 -1
  15. package/dist-types/commands/EnableAllowedImagesSettingsCommand.d.ts +1 -2
  16. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  17. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +3 -3
  18. package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -1
  19. package/dist-types/models/models_2.d.ts +80 -52
  20. package/dist-types/models/models_3.d.ts +41 -76
  21. package/dist-types/models/models_4.d.ts +77 -114
  22. package/dist-types/models/models_5.d.ts +115 -31
  23. package/dist-types/models/models_6.d.ts +31 -72
  24. package/dist-types/models/models_7.d.ts +74 -30
  25. package/dist-types/models/models_8.d.ts +27 -0
  26. package/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +8 -3
  28. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -4
  29. package/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +4 -2
  33. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/models/models_2.d.ts +10 -6
  36. package/dist-types/ts3.4/models/models_3.d.ts +10 -14
  37. package/dist-types/ts3.4/models/models_4.d.ts +15 -17
  38. package/dist-types/ts3.4/models/models_5.d.ts +17 -9
  39. package/dist-types/ts3.4/models/models_6.d.ts +8 -12
  40. package/dist-types/ts3.4/models/models_7.d.ts +12 -7
  41. package/dist-types/ts3.4/models/models_8.d.ts +7 -0
  42. package/package.json +15 -15
package/dist-cjs/index.js CHANGED
@@ -1015,6 +1015,7 @@ __export(src_exports, {
1015
1015
  SnapshotBlockPublicAccessState: () => SnapshotBlockPublicAccessState,
1016
1016
  SnapshotDetailFilterSensitiveLog: () => SnapshotDetailFilterSensitiveLog,
1017
1017
  SnapshotDiskContainerFilterSensitiveLog: () => SnapshotDiskContainerFilterSensitiveLog,
1018
+ SnapshotLocationEnum: () => SnapshotLocationEnum,
1018
1019
  SnapshotState: () => SnapshotState,
1019
1020
  SnapshotTaskDetailFilterSensitiveLog: () => SnapshotTaskDetailFilterSensitiveLog,
1020
1021
  SpotAllocationStrategy: () => SpotAllocationStrategy,
@@ -10457,9 +10458,12 @@ var de_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (output, contex
10457
10458
  if (output.statusCode >= 300) {
10458
10459
  return de_CommandError(output, context);
10459
10460
  }
10460
- await (0, import_smithy_client.collectBody)(output.body, context);
10461
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
10462
+ let contents = {};
10463
+ contents = de_DeleteSecurityGroupResult(data, context);
10461
10464
  const response = {
10462
- $metadata: deserializeMetadata(output)
10465
+ $metadata: deserializeMetadata(output),
10466
+ ...contents
10463
10467
  };
10464
10468
  return response;
10465
10469
  }, "de_DeleteSecurityGroupCommand");
@@ -20101,6 +20105,9 @@ var se_CreateSnapshotRequest = /* @__PURE__ */ __name((input, context) => {
20101
20105
  entries[loc] = value;
20102
20106
  });
20103
20107
  }
20108
+ if (input[_Lo] != null) {
20109
+ entries[_Lo] = input[_Lo];
20110
+ }
20104
20111
  if (input[_DRr] != null) {
20105
20112
  entries[_DRr] = input[_DRr];
20106
20113
  }
@@ -20134,6 +20141,9 @@ var se_CreateSnapshotsRequest = /* @__PURE__ */ __name((input, context) => {
20134
20141
  if (input[_CTFS] != null) {
20135
20142
  entries[_CTFS] = input[_CTFS];
20136
20143
  }
20144
+ if (input[_Lo] != null) {
20145
+ entries[_Lo] = input[_Lo];
20146
+ }
20137
20147
  return entries;
20138
20148
  }, "se_CreateSnapshotsRequest");
20139
20149
  var se_CreateSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => {
@@ -42756,6 +42766,16 @@ var de_DeleteQueuedReservedInstancesResult = /* @__PURE__ */ __name((output, con
42756
42766
  }
42757
42767
  return contents;
42758
42768
  }, "de_DeleteQueuedReservedInstancesResult");
42769
+ var de_DeleteSecurityGroupResult = /* @__PURE__ */ __name((output, context) => {
42770
+ const contents = {};
42771
+ if (output[_r] != null) {
42772
+ contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]);
42773
+ }
42774
+ if (output[_gIr] != null) {
42775
+ contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]);
42776
+ }
42777
+ return contents;
42778
+ }, "de_DeleteSecurityGroupResult");
42759
42779
  var de_DeleteSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => {
42760
42780
  const contents = {};
42761
42781
  if (output[_dSCR] != null) {
@@ -56066,6 +56086,9 @@ var de_Snapshot = /* @__PURE__ */ __name((output, context) => {
56066
56086
  if (output[_sTs] != null) {
56067
56087
  contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);
56068
56088
  }
56089
+ if (output[_aZ] != null) {
56090
+ contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
56091
+ }
56069
56092
  if (output[_tTr] != null) {
56070
56093
  contents[_TTr] = (0, import_smithy_client.expectString)(output[_tTr]);
56071
56094
  }
@@ -56192,6 +56215,9 @@ var de_SnapshotInfo = /* @__PURE__ */ __name((output, context) => {
56192
56215
  if (output[_sTs] != null) {
56193
56216
  contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]);
56194
56217
  }
56218
+ if (output[_aZ] != null) {
56219
+ contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]);
56220
+ }
56195
56221
  return contents;
56196
56222
  }, "de_SnapshotInfo");
56197
56223
  var de_SnapshotList = /* @__PURE__ */ __name((output, context) => {
@@ -68670,6 +68696,10 @@ var RouteState = {
68670
68696
  active: "active",
68671
68697
  blackhole: "blackhole"
68672
68698
  };
68699
+ var SnapshotLocationEnum = {
68700
+ LOCAL: "local",
68701
+ REGIONAL: "regional"
68702
+ };
68673
68703
  var SSEType = {
68674
68704
  none: "none",
68675
68705
  sse_ebs: "sse-ebs",
@@ -71491,14 +71521,6 @@ var OfferingClassType = {
71491
71521
  CONVERTIBLE: "convertible",
71492
71522
  STANDARD: "standard"
71493
71523
  };
71494
- var OfferingTypeValues = {
71495
- All_Upfront: "All Upfront",
71496
- Heavy_Utilization: "Heavy Utilization",
71497
- Light_Utilization: "Light Utilization",
71498
- Medium_Utilization: "Medium Utilization",
71499
- No_Upfront: "No Upfront",
71500
- Partial_Upfront: "Partial Upfront"
71501
- };
71502
71524
  var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
71503
71525
  ...obj,
71504
71526
  ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING }
@@ -72475,6 +72497,14 @@ var DescribeSpotFleetRequestHistoryCommand = _DescribeSpotFleetRequestHistoryCom
72475
72497
 
72476
72498
  // src/models/models_5.ts
72477
72499
 
72500
+ var OfferingTypeValues = {
72501
+ All_Upfront: "All Upfront",
72502
+ Heavy_Utilization: "Heavy Utilization",
72503
+ Light_Utilization: "Light Utilization",
72504
+ Medium_Utilization: "Medium Utilization",
72505
+ No_Upfront: "No Upfront",
72506
+ Partial_Upfront: "Partial Upfront"
72507
+ };
72478
72508
  var RIProductDescription = {
72479
72509
  Linux_UNIX: "Linux/UNIX",
72480
72510
  Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)",
@@ -81633,6 +81663,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
81633
81663
  ReplaceRootVolumeTaskState,
81634
81664
  RouteOrigin,
81635
81665
  RouteState,
81666
+ SnapshotLocationEnum,
81636
81667
  SSEType,
81637
81668
  SnapshotState,
81638
81669
  StorageTier,
@@ -81790,7 +81821,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
81790
81821
  AnalysisStatus,
81791
81822
  NetworkInterfaceAttribute,
81792
81823
  OfferingClassType,
81793
- OfferingTypeValues,
81794
81824
  SnapshotDetailFilterSensitiveLog,
81795
81825
  ImportImageTaskFilterSensitiveLog,
81796
81826
  DescribeImportImageTasksResultFilterSensitiveLog,
@@ -81798,6 +81828,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
81798
81828
  ImportSnapshotTaskFilterSensitiveLog,
81799
81829
  DescribeImportSnapshotTasksResultFilterSensitiveLog,
81800
81830
  DescribeLaunchTemplateVersionsResultFilterSensitiveLog,
81831
+ OfferingTypeValues,
81801
81832
  RIProductDescription,
81802
81833
  RecurringChargeFrequency,
81803
81834
  Scope,
@@ -104,6 +104,10 @@ export const RouteState = {
104
104
  active: "active",
105
105
  blackhole: "blackhole",
106
106
  };
107
+ export const SnapshotLocationEnum = {
108
+ LOCAL: "local",
109
+ REGIONAL: "regional",
110
+ };
107
111
  export const SSEType = {
108
112
  none: "none",
109
113
  sse_ebs: "sse-ebs",
@@ -302,14 +302,6 @@ export const OfferingClassType = {
302
302
  CONVERTIBLE: "convertible",
303
303
  STANDARD: "standard",
304
304
  };
305
- export const OfferingTypeValues = {
306
- All_Upfront: "All Upfront",
307
- Heavy_Utilization: "Heavy Utilization",
308
- Light_Utilization: "Light Utilization",
309
- Medium_Utilization: "Medium Utilization",
310
- No_Upfront: "No Upfront",
311
- Partial_Upfront: "Partial Upfront",
312
- };
313
305
  export const SnapshotDetailFilterSensitiveLog = (obj) => ({
314
306
  ...obj,
315
307
  ...(obj.Url && { Url: SENSITIVE_STRING }),
@@ -1,6 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_2";
4
+ export const OfferingTypeValues = {
5
+ All_Upfront: "All Upfront",
6
+ Heavy_Utilization: "Heavy Utilization",
7
+ Light_Utilization: "Light Utilization",
8
+ Medium_Utilization: "Medium Utilization",
9
+ No_Upfront: "No Upfront",
10
+ Partial_Upfront: "Partial Upfront",
11
+ };
4
12
  export const RIProductDescription = {
5
13
  Linux_UNIX: "Linux/UNIX",
6
14
  Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)",
@@ -8944,9 +8944,12 @@ export const de_DeleteSecurityGroupCommand = async (output, context) => {
8944
8944
  if (output.statusCode >= 300) {
8945
8945
  return de_CommandError(output, context);
8946
8946
  }
8947
- await collectBody(output.body, context);
8947
+ const data = await parseBody(output.body, context);
8948
+ let contents = {};
8949
+ contents = de_DeleteSecurityGroupResult(data, context);
8948
8950
  const response = {
8949
8951
  $metadata: deserializeMetadata(output),
8952
+ ...contents,
8950
8953
  };
8951
8954
  return response;
8952
8955
  };
@@ -18588,6 +18591,9 @@ const se_CreateSnapshotRequest = (input, context) => {
18588
18591
  entries[loc] = value;
18589
18592
  });
18590
18593
  }
18594
+ if (input[_Lo] != null) {
18595
+ entries[_Lo] = input[_Lo];
18596
+ }
18591
18597
  if (input[_DRr] != null) {
18592
18598
  entries[_DRr] = input[_DRr];
18593
18599
  }
@@ -18621,6 +18627,9 @@ const se_CreateSnapshotsRequest = (input, context) => {
18621
18627
  if (input[_CTFS] != null) {
18622
18628
  entries[_CTFS] = input[_CTFS];
18623
18629
  }
18630
+ if (input[_Lo] != null) {
18631
+ entries[_Lo] = input[_Lo];
18632
+ }
18624
18633
  return entries;
18625
18634
  };
18626
18635
  const se_CreateSpotDatafeedSubscriptionRequest = (input, context) => {
@@ -41447,6 +41456,16 @@ const de_DeleteQueuedReservedInstancesResult = (output, context) => {
41447
41456
  }
41448
41457
  return contents;
41449
41458
  };
41459
+ const de_DeleteSecurityGroupResult = (output, context) => {
41460
+ const contents = {};
41461
+ if (output[_r] != null) {
41462
+ contents[_Ret] = __parseBoolean(output[_r]);
41463
+ }
41464
+ if (output[_gIr] != null) {
41465
+ contents[_GIr] = __expectString(output[_gIr]);
41466
+ }
41467
+ return contents;
41468
+ };
41450
41469
  const de_DeleteSubnetCidrReservationResult = (output, context) => {
41451
41470
  const contents = {};
41452
41471
  if (output[_dSCR] != null) {
@@ -55684,6 +55703,9 @@ const de_Snapshot = (output, context) => {
55684
55703
  if (output[_sTs] != null) {
55685
55704
  contents[_STs] = __expectString(output[_sTs]);
55686
55705
  }
55706
+ if (output[_aZ] != null) {
55707
+ contents[_AZ] = __expectString(output[_aZ]);
55708
+ }
55687
55709
  if (output[_tTr] != null) {
55688
55710
  contents[_TTr] = __expectString(output[_tTr]);
55689
55711
  }
@@ -55813,6 +55835,9 @@ const de_SnapshotInfo = (output, context) => {
55813
55835
  if (output[_sTs] != null) {
55814
55836
  contents[_STs] = __expectString(output[_sTs]);
55815
55837
  }
55838
+ if (output[_aZ] != null) {
55839
+ contents[_AZ] = __expectString(output[_aZ]);
55840
+ }
55816
55841
  return contents;
55817
55842
  };
55818
55843
  const de_SnapshotList = (output, context) => {
@@ -30,10 +30,21 @@ declare const CreateSnapshotCommand_base: {
30
30
  * <p>Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for
31
31
  * backups, to make copies of EBS volumes, and to save data before shutting down an
32
32
  * instance.</p>
33
- * <p>You can create snapshots of volumes in a Region and volumes on an Outpost. If you
34
- * create a snapshot of a volume in a Region, the snapshot must be stored in the same
35
- * Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot
36
- * can be stored on the same Outpost as the volume, or in the Region for that Outpost.</p>
33
+ * <p>The location of the source EBS volume determines where you can create the snapshot.</p>
34
+ * <ul>
35
+ * <li>
36
+ * <p>If the source volume is in a Region, you must create the snapshot in the same
37
+ * Region as the volume.</p>
38
+ * </li>
39
+ * <li>
40
+ * <p>If the source volume is in a Local Zone, you can create the snapshot in the same
41
+ * Local Zone or in parent Amazon Web Services Region.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>If the source volume is on an Outpost, you can create the snapshot on the same
45
+ * Outpost or in its parent Amazon Web Services Region.</p>
46
+ * </li>
47
+ * </ul>
37
48
  * <p>When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the
38
49
  * source volume are propagated to the snapshot.</p>
39
50
  * <p>You can take a snapshot of an attached volume that is in use. However, snapshots only
@@ -48,10 +59,9 @@ declare const CreateSnapshotCommand_base: {
48
59
  * that you stop the instance before taking the snapshot.</p>
49
60
  * <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
50
61
  * are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
51
- * and any associated snapshots always remain protected.</p>
52
- * <p>You can tag your snapshots during creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tag your Amazon EC2
53
- * resources</a> in the <i>Amazon EC2 User Guide</i>.</p>
54
- * <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html">Amazon EBS</a> and <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>
62
+ * and any associated snapshots always remain protected. For more information,
63
+ * <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a>
64
+ * in the <i>Amazon EBS User Guide</i>.</p>
55
65
  * @example
56
66
  * Use a bare-bones client and the command you need to make an API call.
57
67
  * ```javascript
@@ -73,6 +83,7 @@ declare const CreateSnapshotCommand_base: {
73
83
  * ],
74
84
  * },
75
85
  * ],
86
+ * Location: "regional" || "local",
76
87
  * DryRun: true || false,
77
88
  * };
78
89
  * const command = new CreateSnapshotCommand(input);
@@ -89,6 +100,7 @@ declare const CreateSnapshotCommand_base: {
89
100
  * // StorageTier: "archive" || "standard",
90
101
  * // RestoreExpiryTime: new Date("TIMESTAMP"),
91
102
  * // SseType: "sse-ebs" || "sse-kms" || "none",
103
+ * // AvailabilityZone: "STRING_VALUE",
92
104
  * // TransferType: "time-based" || "standard",
93
105
  * // CompletionDurationMinutes: Number("int"),
94
106
  * // CompletionTime: new Date("TIMESTAMP"),
@@ -27,16 +27,26 @@ declare const CreateSnapshotsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3.
31
- * Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot
32
- * each that is crash-consistent across the instance.</p>
33
- * <p>You can include all of the volumes currently attached to the instance, or you can exclude
34
- * the root volume or specific data (non-root) volumes from the multi-volume snapshot set.</p>
35
- * <p>You can create multi-volume snapshots of instances in a Region and instances on an
36
- * Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored
37
- * in the same Region as the instance. If you create snapshots from an instance on an Outpost,
38
- * the snapshots can be stored on the same Outpost as the instance, or in the Region for that
39
- * Outpost.</p>
30
+ * <p>Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance.
31
+ * Volumes are chosen by specifying an instance. Each volume attached to the specified instance
32
+ * will produce one snapshot that is crash-consistent across the instance. You can include all of
33
+ * the volumes currently attached to the instance, or you can exclude the root volume or specific
34
+ * data (non-root) volumes from the multi-volume snapshot set.</p>
35
+ * <p>The location of the source instance determines where you can create the snapshots.</p>
36
+ * <ul>
37
+ * <li>
38
+ * <p>If the source instance is in a Region, you must create the snapshots in the same
39
+ * Region as the instance.</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>If the source instance is in a Local Zone, you can create the snapshots in the same
43
+ * Local Zone or in parent Amazon Web Services Region.</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>If the source instance is on an Outpost, you can create the snapshots on the same
47
+ * Outpost or in its parent Amazon Web Services Region.</p>
48
+ * </li>
49
+ * </ul>
40
50
  * @example
41
51
  * Use a bare-bones client and the command you need to make an API call.
42
52
  * ```javascript
@@ -66,6 +76,7 @@ declare const CreateSnapshotsCommand_base: {
66
76
  * ],
67
77
  * DryRun: true || false,
68
78
  * CopyTagsFromSource: "volume",
79
+ * Location: "regional" || "local",
69
80
  * };
70
81
  * const command = new CreateSnapshotsCommand(input);
71
82
  * const response = await client.send(command);
@@ -89,6 +100,7 @@ declare const CreateSnapshotsCommand_base: {
89
100
  * // SnapshotId: "STRING_VALUE",
90
101
  * // OutpostArn: "STRING_VALUE",
91
102
  * // SseType: "sse-ebs" || "sse-kms" || "none",
103
+ * // AvailabilityZone: "STRING_VALUE",
92
104
  * // },
93
105
  * // ],
94
106
  * // };
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteClientVpnRouteRequest } from "../models/models_2";
5
- import { DeleteClientVpnRouteResult } from "../models/models_3";
4
+ import { DeleteClientVpnRouteRequest, DeleteClientVpnRouteResult } from "../models/models_3";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DeleteSecurityGroupRequest } from "../models/models_3";
4
+ import { DeleteSecurityGroupRequest, DeleteSecurityGroupResult } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -19,7 +19,7 @@ export interface DeleteSecurityGroupCommandInput extends DeleteSecurityGroupRequ
19
19
  *
20
20
  * The output of {@link DeleteSecurityGroupCommand}.
21
21
  */
22
- export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {
22
+ export interface DeleteSecurityGroupCommandOutput extends DeleteSecurityGroupResult, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteSecurityGroupCommand_base: {
25
25
  new (input: DeleteSecurityGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSecurityGroupCommandInput, DeleteSecurityGroupCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
@@ -44,7 +44,10 @@ declare const DeleteSecurityGroupCommand_base: {
44
44
  * };
45
45
  * const command = new DeleteSecurityGroupCommand(input);
46
46
  * const response = await client.send(command);
47
- * // {};
47
+ * // { // DeleteSecurityGroupResult
48
+ * // Return: true || false,
49
+ * // GroupId: "STRING_VALUE",
50
+ * // };
48
51
  *
49
52
  * ```
50
53
  *
@@ -75,7 +78,7 @@ export declare class DeleteSecurityGroupCommand extends DeleteSecurityGroupComma
75
78
  protected static __types: {
76
79
  api: {
77
80
  input: DeleteSecurityGroupRequest;
78
- output: {};
81
+ output: DeleteSecurityGroupResult;
79
82
  };
80
83
  sdk: {
81
84
  input: DeleteSecurityGroupCommandInput;
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeFleetHistoryRequest, DescribeFleetHistoryResult } from "../models/models_3";
4
+ import { DescribeFleetHistoryRequest } from "../models/models_3";
5
+ import { DescribeFleetHistoryResult } from "../models/models_4";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeFleetInstancesRequest } from "../models/models_3";
5
- import { DescribeFleetInstancesResult } from "../models/models_4";
4
+ import { DescribeFleetInstancesRequest, DescribeFleetInstancesResult } from "../models/models_4";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeReservedInstancesRequest } from "../models/models_4";
5
- import { DescribeReservedInstancesResult } from "../models/models_5";
4
+ import { DescribeReservedInstancesRequest, DescribeReservedInstancesResult } from "../models/models_5";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -119,6 +119,7 @@ declare const DescribeSnapshotsCommand_base: {
119
119
  * // StorageTier: "archive" || "standard",
120
120
  * // RestoreExpiryTime: new Date("TIMESTAMP"),
121
121
  * // SseType: "sse-ebs" || "sse-kms" || "none",
122
+ * // AvailabilityZone: "STRING_VALUE",
122
123
  * // TransferType: "time-based" || "standard",
123
124
  * // CompletionDurationMinutes: Number("int"),
124
125
  * // CompletionTime: new Date("TIMESTAMP"),
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { EnableAddressTransferRequest, EnableAddressTransferResult } from "../models/models_5";
4
+ import { EnableAddressTransferRequest } from "../models/models_5";
5
+ import { EnableAddressTransferResult } from "../models/models_6";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { EnableAllowedImagesSettingsRequest } from "../models/models_5";
5
- import { EnableAllowedImagesSettingsResult } from "../models/models_6";
4
+ import { EnableAllowedImagesSettingsRequest, EnableAllowedImagesSettingsResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_6";
4
+ import { ModifyInstanceEventWindowRequest, ModifyInstanceEventWindowResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -50,9 +50,9 @@ declare const StartDeclarativePoliciesReportCommand_base: {
50
50
  * </li>
51
51
  * <li>
52
52
  * <p>An S3 bucket must be available before generating the report (you can create a
53
- * new one or use an existing one), and it must have an appropriate bucket policy.
54
- * For a sample S3 policy, see <i>Sample Amazon S3 policy</i> under
55
- * .</p>
53
+ * new one or use an existing one), it must be in the same Region where the report
54
+ * generation request is made, and it must have an appropriate bucket policy. For a
55
+ * sample S3 policy, see <i>Sample Amazon S3 policy</i> under .</p>
56
56
  * </li>
57
57
  * <li>
58
58
  * <p>Trusted access must be enabled for the service for which the declarative
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { UnlockSnapshotRequest, UnlockSnapshotResult } from "../models/models_7";
4
+ import { UnlockSnapshotRequest, UnlockSnapshotResult } from "../models/models_8";
5
5
  /**
6
6
  * @public
7
7
  */