@aws-sdk/client-lightsail 3.1157.0 → 3.1158.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1156.0";
72
+ var version = "3.1157.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -780,6 +780,7 @@ const _HO = "HeaderObject";
780
780
  const _I = "Instance";
781
781
  const _IAD = "InstanceAccessDetails";
782
782
  const _IAMAKI = "IAMAccessKeyId";
783
+ const _IAU = "InstanceAttributeUpdates";
783
784
  const _IE = "InstanceEntry";
784
785
  const _IEL = "InstanceEntryList";
785
786
  const _IH = "InstanceHardware";
@@ -1029,6 +1030,7 @@ const _aT = "attachedTo";
1029
1030
  const _aTUB = "ableToUpdateBundle";
1030
1031
  const _aTc = "accessType";
1031
1032
  const _aTp = "applyType";
1033
+ const _aU = "attributeUpdates";
1032
1034
  const _aV = "allowedValues";
1033
1035
  const _aVt = "attributeValue";
1034
1036
  const _aZ = "availabilityZone";
@@ -3168,6 +3170,11 @@ var InstanceAccessDetails$ = [3, n0, _IAD,
3168
3170
  [_cK, _eA, _iApd, _iAp, _pas, _pD, _pKr, _pro, _iN, _us, _hK],
3169
3171
  [0, 4, 0, 64 | 0, 0, () => PasswordData$, 0, 0, 0, 0, () => HostKeysList]
3170
3172
  ];
3173
+ var InstanceAttributeUpdates$ = [3, n0, _IAU,
3174
+ 0,
3175
+ [_bIu],
3176
+ [0]
3177
+ ];
3171
3178
  var InstanceEntry$ = [3, n0, _IE,
3172
3179
  0,
3173
3180
  [_sNo, _iT, _pIS, _aZ, _uD],
@@ -3600,8 +3607,8 @@ var StartGUISessionResult$ = [3, n0, _SGUISRt,
3600
3607
  ];
3601
3608
  var StartInstanceRequest$ = [3, n0, _SIR,
3602
3609
  0,
3603
- [_iN],
3604
- [0], 1
3610
+ [_iN, _aU],
3611
+ [0, () => InstanceAttributeUpdates$], 1
3605
3612
  ];
3606
3613
  var StartInstanceResult$ = [3, n0, _SIRt,
3607
3614
  0,
@@ -6653,6 +6660,7 @@ exports.InputOrigin$ = InputOrigin$;
6653
6660
  exports.Instance$ = Instance$;
6654
6661
  exports.InstanceAccessDetails$ = InstanceAccessDetails$;
6655
6662
  exports.InstanceAccessProtocol = InstanceAccessProtocol;
6663
+ exports.InstanceAttributeUpdates$ = InstanceAttributeUpdates$;
6656
6664
  exports.InstanceEntry$ = InstanceEntry$;
6657
6665
  exports.InstanceHardware$ = InstanceHardware$;
6658
6666
  exports.InstanceHealthReason = InstanceHealthReason;
@@ -486,6 +486,7 @@ const _HO = "HeaderObject";
486
486
  const _I = "Instance";
487
487
  const _IAD = "InstanceAccessDetails";
488
488
  const _IAMAKI = "IAMAccessKeyId";
489
+ const _IAU = "InstanceAttributeUpdates";
489
490
  const _IE = "InstanceEntry";
490
491
  const _IEL = "InstanceEntryList";
491
492
  const _IH = "InstanceHardware";
@@ -735,6 +736,7 @@ const _aT = "attachedTo";
735
736
  const _aTUB = "ableToUpdateBundle";
736
737
  const _aTc = "accessType";
737
738
  const _aTp = "applyType";
739
+ const _aU = "attributeUpdates";
738
740
  const _aV = "allowedValues";
739
741
  const _aVt = "attributeValue";
740
742
  const _aZ = "availabilityZone";
@@ -2877,6 +2879,11 @@ export var InstanceAccessDetails$ = [3, n0, _IAD,
2877
2879
  [_cK, _eA, _iApd, _iAp, _pas, _pD, _pKr, _pro, _iN, _us, _hK],
2878
2880
  [0, 4, 0, 64 | 0, 0, () => PasswordData$, 0, 0, 0, 0, () => HostKeysList]
2879
2881
  ];
2882
+ export var InstanceAttributeUpdates$ = [3, n0, _IAU,
2883
+ 0,
2884
+ [_bIu],
2885
+ [0]
2886
+ ];
2880
2887
  export var InstanceEntry$ = [3, n0, _IE,
2881
2888
  0,
2882
2889
  [_sNo, _iT, _pIS, _aZ, _uD],
@@ -3309,8 +3316,8 @@ export var StartGUISessionResult$ = [3, n0, _SGUISRt,
3309
3316
  ];
3310
3317
  export var StartInstanceRequest$ = [3, n0, _SIR,
3311
3318
  0,
3312
- [_iN],
3313
- [0], 1
3319
+ [_iN, _aU],
3320
+ [0, () => InstanceAttributeUpdates$], 1
3314
3321
  ];
3315
3322
  export var StartInstanceResult$ = [3, n0, _SIRt,
3316
3323
  0,
@@ -44,6 +44,9 @@ declare const StartInstanceCommand_base: {
44
44
  * const client = new LightsailClient(config);
45
45
  * const input = { // StartInstanceRequest
46
46
  * instanceName: "STRING_VALUE", // required
47
+ * attributeUpdates: { // InstanceAttributeUpdates
48
+ * bundleId: "STRING_VALUE",
49
+ * },
47
50
  * };
48
51
  * const command = new StartInstanceCommand(input);
49
52
  * const response = await client.send(command);
@@ -2828,6 +2828,47 @@ export interface ImportKeyPairResult {
2828
2828
  */
2829
2829
  operation?: Operation | undefined;
2830
2830
  }
2831
+ /**
2832
+ * <p>Describes the attributes to update on a Lightsail instance when it starts.</p>
2833
+ * @public
2834
+ */
2835
+ export interface InstanceAttributeUpdates {
2836
+ /**
2837
+ * <p>The ID of the bundle to update the instance to.</p>
2838
+ * <p>Specify one of the following values for the bundle ID:</p>
2839
+ * <ul>
2840
+ * <li>
2841
+ * <p>
2842
+ * <b>
2843
+ * <code>auto</code>
2844
+ * </b> – Updates an instance that
2845
+ * runs on a previous-generation bundle to the newer-generation equivalent of that
2846
+ * bundle. For example, specify <code>auto</code> to update an instance that runs on
2847
+ * <code>small_2_0</code> to <code>small_3_0</code>.</p>
2848
+ * </li>
2849
+ * <li>
2850
+ * <p>
2851
+ * <b>Newer-generation bundle ID</b> – Updates an
2852
+ * instance that runs on a previous-generation bundle to the specified bundle. For example,
2853
+ * specify <code>small_3_0</code> to update an instance that runs on <code>small_2_0</code>
2854
+ * to <code>small_3_0</code>.</p>
2855
+ * </li>
2856
+ * <li>
2857
+ * <p>
2858
+ * <b>Original bundle ID</b> – Updates an instance to
2859
+ * the previous-generation bundle that it ran on before an earlier update. For example,
2860
+ * specify <code>small_2_0</code> to return an instance that runs on <code>small_3_0</code>
2861
+ * to <code>small_2_0</code>.</p>
2862
+ * </li>
2863
+ * </ul>
2864
+ * <note>
2865
+ * <p>The instance must be in the <code>stopped</code> state to update its bundle.</p>
2866
+ * <p>There is no additional cost to update an instance to a newer-generation bundle.</p>
2867
+ * </note>
2868
+ * @public
2869
+ */
2870
+ bundleId?: string | undefined;
2871
+ }
2831
2872
  /**
2832
2873
  * @public
2833
2874
  */
@@ -3439,6 +3480,11 @@ export interface StartInstanceRequest {
3439
3480
  * @public
3440
3481
  */
3441
3482
  instanceName: string | undefined;
3483
+ /**
3484
+ * <p>An object that describes the attributes to update on the instance before it starts.</p>
3485
+ * @public
3486
+ */
3487
+ attributeUpdates?: InstanceAttributeUpdates | undefined;
3442
3488
  }
3443
3489
  /**
3444
3490
  * @public
@@ -334,6 +334,7 @@ export declare var ImportKeyPairResult$: StaticStructureSchema;
334
334
  export declare var InputOrigin$: StaticStructureSchema;
335
335
  export declare var Instance$: StaticStructureSchema;
336
336
  export declare var InstanceAccessDetails$: StaticStructureSchema;
337
+ export declare var InstanceAttributeUpdates$: StaticStructureSchema;
337
338
  export declare var InstanceEntry$: StaticStructureSchema;
338
339
  export declare var InstanceHardware$: StaticStructureSchema;
339
340
  export declare var InstanceHealthSummary$: StaticStructureSchema;
@@ -519,6 +519,9 @@ export interface ImportKeyPairRequest {
519
519
  export interface ImportKeyPairResult {
520
520
  operation?: Operation | undefined;
521
521
  }
522
+ export interface InstanceAttributeUpdates {
523
+ bundleId?: string | undefined;
524
+ }
522
525
  export interface IsVpcPeeredRequest {}
523
526
  export interface IsVpcPeeredResult {
524
527
  isPeered?: boolean | undefined;
@@ -632,6 +635,7 @@ export interface StartGUISessionResult {
632
635
  }
633
636
  export interface StartInstanceRequest {
634
637
  instanceName: string | undefined;
638
+ attributeUpdates?: InstanceAttributeUpdates | undefined;
635
639
  }
636
640
  export interface StartInstanceResult {
637
641
  operations?: Operation[] | undefined;
@@ -329,6 +329,7 @@ export declare var ImportKeyPairResult$: StaticStructureSchema;
329
329
  export declare var InputOrigin$: StaticStructureSchema;
330
330
  export declare var Instance$: StaticStructureSchema;
331
331
  export declare var InstanceAccessDetails$: StaticStructureSchema;
332
+ export declare var InstanceAttributeUpdates$: StaticStructureSchema;
332
333
  export declare var InstanceEntry$: StaticStructureSchema;
333
334
  export declare var InstanceHardware$: StaticStructureSchema;
334
335
  export declare var InstanceHealthSummary$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lightsail",
3
- "version": "3.1157.0",
3
+ "version": "3.1158.0",
4
4
  "description": "AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lightsail",
6
6
  "license": "Apache-2.0",