@aws-sdk/client-ec2 3.1112.0 → 3.1113.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
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1111.0";
73
+ var version = "3.1112.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -41,6 +41,12 @@ declare const CreateImageCommand_base: {
41
41
  * <p>If the source instance is in a Local Zone, you can create the snapshots in the same
42
42
  * Local Zone or in its parent Region.</p>
43
43
  * </li>
44
+ * <li>
45
+ * <p>If the source instance is on an Outpost that supports local snapshots, you can create
46
+ * the snapshots on the same Outpost or in the parent Region of that Outpost. In this case,
47
+ * you must use the <code>SnapshotLocation</code> parameter to specify where to create the
48
+ * snapshots.</p>
49
+ * </li>
44
50
  * </ul>
45
51
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Create an Amazon EBS-backed AMI</a> in
46
52
  * the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
@@ -4833,22 +4833,27 @@ export interface CreateImageRequest {
4833
4833
  TagSpecifications?: TagSpecification[] | undefined;
4834
4834
  /**
4835
4835
  * <note>
4836
- * <p>Only supported for instances in Local Zones. If the source instance is not in a Local
4837
- * Zone, omit this parameter.</p>
4836
+ * <p>Only supported for instances in Local Zones and for instances on Outposts that support
4837
+ * local snapshots. If the source instance is not in one of these locations, omit this
4838
+ * parameter.</p>
4838
4839
  * </note>
4839
4840
  * <p>The Amazon S3 location where the snapshots will be stored.</p>
4840
4841
  * <ul>
4841
4842
  * <li>
4842
- * <p>To create local snapshots in the same Local Zone as the source instance, specify
4843
- * <code>local</code>.</p>
4843
+ * <p>To create local snapshots in the same Local Zone or on the same Outpost as the source
4844
+ * instance, specify <code>local</code>.</p>
4844
4845
  * </li>
4845
4846
  * <li>
4846
- * <p>To create regional snapshots in the parent Region of the Local Zone, specify
4847
- * <code>regional</code> or omit this parameter.</p>
4847
+ * <p>To create regional snapshots in the parent Region of the Local Zone or Outpost, specify
4848
+ * <code>regional</code>.</p>
4848
4849
  * </li>
4849
4850
  * </ul>
4850
- * <p>Default: <code>regional</code>
4851
- * </p>
4851
+ * <p>If the source instance is in a Local Zone and you omit this parameter, regional snapshots
4852
+ * are created in the parent Region of the Local Zone.</p>
4853
+ * <p>If the source instance is on an Outpost that supports local snapshots, this parameter is
4854
+ * required. If you omit it, the request fails with an
4855
+ * <code>InvalidParameterValue</code> error.</p>
4856
+ * <p>Default: <code>regional</code> (for instances in Local Zones only)</p>
4852
4857
  * @public
4853
4858
  */
4854
4859
  SnapshotLocation?: SnapshotLocationEnum | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
- "version": "3.1112.0",
3
+ "version": "3.1113.0",
4
4
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
6
6
  "license": "Apache-2.0",