@aws-sdk/client-auto-scaling 3.1103.0 → 3.1105.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.1102.0";
72
+ var version = "3.1104.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -663,11 +663,12 @@ const _NTARN = "NotificationTargetARN";
663
663
  const _NTo = "NotificationType";
664
664
  const _NTot = "NotificationTypes";
665
665
  const _Na = "Name";
666
- const _O = "Overrides";
666
+ const _O = "Operator";
667
667
  const _ODAS = "OnDemandAllocationStrategy";
668
668
  const _ODBC = "OnDemandBaseCapacity";
669
669
  const _ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice";
670
670
  const _ODPABC = "OnDemandPercentageAboveBaseCapacity";
671
+ const _Ov = "Overrides";
671
672
  const _P = "Progress";
672
673
  const _PAL = "PropagateAtLaunch";
673
674
  const _PARN = "PolicyARN";
@@ -719,6 +720,7 @@ const _PWPA = "PutWarmPoolAnswer";
719
720
  const _PWPT = "PutWarmPoolType";
720
721
  const _Pe = "Period";
721
722
  const _Pr = "Preferences";
723
+ const _Pri = "Principal";
722
724
  const _Pro = "Processes";
723
725
  const _R = "References";
724
726
  const _RARN = "RoleARN";
@@ -1015,8 +1017,8 @@ var AttachTrafficSourcesType$ = [3, n0, _ATST,
1015
1017
  ];
1016
1018
  var AutoScalingGroup$ = [3, n0, _ASG,
1017
1019
  0,
1018
- [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _AZI, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _DP, _AZD, _AZIP, _CRS, _ILP],
1019
- [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, 0, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 8
1020
+ [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _AZI, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _DP, _AZD, _AZIP, _CRS, _ILP, _O],
1021
+ [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, 0, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$, () => Operator$], 8
1020
1022
  ];
1021
1023
  var AutoScalingGroupNamesType$ = [3, n0, _ASGNT,
1022
1024
  0,
@@ -1125,8 +1127,8 @@ var CpuPerformanceFactorRequest$ = [3, n0, _CPFR,
1125
1127
  ];
1126
1128
  var CreateAutoScalingGroupType$ = [3, n0, _CASGT,
1127
1129
  0,
1128
- [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _AZI, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _DP, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
1129
- [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, 0, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 3
1130
+ [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _AZI, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _DP, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP, _O],
1131
+ [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, 0, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$, () => Operator$], 3
1130
1132
  ];
1131
1133
  var CreateLaunchConfigurationType$ = [3, n0, _CLCT,
1132
1134
  0,
@@ -1525,7 +1527,7 @@ var LaunchInstancesResult$ = [3, n0, _LIRa,
1525
1527
  ];
1526
1528
  var LaunchTemplate$ = [3, n0, _LT,
1527
1529
  0,
1528
- [_LTS, _O],
1530
+ [_LTS, _Ov],
1529
1531
  [() => LaunchTemplateSpecification$, [() => Overrides, 0]]
1530
1532
  ];
1531
1533
  var LaunchTemplateOverrides$ = [3, n0, _LTO,
@@ -1623,6 +1625,11 @@ var NotificationConfiguration$ = [3, n0, _NCo,
1623
1625
  [_ASGN, _TARN, _NTo],
1624
1626
  [0, 0, 0]
1625
1627
  ];
1628
+ var Operator$ = [3, n0, _O,
1629
+ 0,
1630
+ [_Pri],
1631
+ [0], 1
1632
+ ];
1626
1633
  var PerformanceFactorReferenceRequest$ = [3, n0, _PFRR,
1627
1634
  0,
1628
1635
  [_IF],
@@ -1968,7 +1975,7 @@ var MetricGranularityTypes = [1, n0, _MGTe,
1968
1975
  var NotificationConfigurations = [1, n0, _NC,
1969
1976
  0, () => NotificationConfiguration$
1970
1977
  ];
1971
- var Overrides = [1, n0, _O,
1978
+ var Overrides = [1, n0, _Ov,
1972
1979
  0, [() => LaunchTemplateOverrides$,
1973
1980
  0]
1974
1981
  ];
@@ -3302,6 +3309,7 @@ exports.MixedInstancesPolicy$ = MixedInstancesPolicy$;
3302
3309
  exports.NetworkBandwidthGbpsRequest$ = NetworkBandwidthGbpsRequest$;
3303
3310
  exports.NetworkInterfaceCountRequest$ = NetworkInterfaceCountRequest$;
3304
3311
  exports.NotificationConfiguration$ = NotificationConfiguration$;
3312
+ exports.Operator$ = Operator$;
3305
3313
  exports.PerformanceFactorReferenceRequest$ = PerformanceFactorReferenceRequest$;
3306
3314
  exports.PoliciesType$ = PoliciesType$;
3307
3315
  exports.PolicyARNType$ = PolicyARNType$;
@@ -385,11 +385,12 @@ const _NTARN = "NotificationTargetARN";
385
385
  const _NTo = "NotificationType";
386
386
  const _NTot = "NotificationTypes";
387
387
  const _Na = "Name";
388
- const _O = "Overrides";
388
+ const _O = "Operator";
389
389
  const _ODAS = "OnDemandAllocationStrategy";
390
390
  const _ODBC = "OnDemandBaseCapacity";
391
391
  const _ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice";
392
392
  const _ODPABC = "OnDemandPercentageAboveBaseCapacity";
393
+ const _Ov = "Overrides";
393
394
  const _P = "Progress";
394
395
  const _PAL = "PropagateAtLaunch";
395
396
  const _PARN = "PolicyARN";
@@ -441,6 +442,7 @@ const _PWPA = "PutWarmPoolAnswer";
441
442
  const _PWPT = "PutWarmPoolType";
442
443
  const _Pe = "Period";
443
444
  const _Pr = "Preferences";
445
+ const _Pri = "Principal";
444
446
  const _Pro = "Processes";
445
447
  const _R = "References";
446
448
  const _RARN = "RoleARN";
@@ -740,8 +742,8 @@ export var AttachTrafficSourcesType$ = [3, n0, _ATST,
740
742
  ];
741
743
  export var AutoScalingGroup$ = [3, n0, _ASG,
742
744
  0,
743
- [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _AZI, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _DP, _AZD, _AZIP, _CRS, _ILP],
744
- [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, 0, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 8
745
+ [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _AZI, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _DP, _AZD, _AZIP, _CRS, _ILP, _O],
746
+ [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, 0, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$, () => Operator$], 8
745
747
  ];
746
748
  export var AutoScalingGroupNamesType$ = [3, n0, _ASGNT,
747
749
  0,
@@ -850,8 +852,8 @@ export var CpuPerformanceFactorRequest$ = [3, n0, _CPFR,
850
852
  ];
851
853
  export var CreateAutoScalingGroupType$ = [3, n0, _CASGT,
852
854
  0,
853
- [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _AZI, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _DP, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
854
- [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, 0, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 3
855
+ [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _AZI, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _DP, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP, _O],
856
+ [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, 0, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$, () => Operator$], 3
855
857
  ];
856
858
  export var CreateLaunchConfigurationType$ = [3, n0, _CLCT,
857
859
  0,
@@ -1250,7 +1252,7 @@ export var LaunchInstancesResult$ = [3, n0, _LIRa,
1250
1252
  ];
1251
1253
  export var LaunchTemplate$ = [3, n0, _LT,
1252
1254
  0,
1253
- [_LTS, _O],
1255
+ [_LTS, _Ov],
1254
1256
  [() => LaunchTemplateSpecification$, [() => Overrides, 0]]
1255
1257
  ];
1256
1258
  export var LaunchTemplateOverrides$ = [3, n0, _LTO,
@@ -1348,6 +1350,11 @@ export var NotificationConfiguration$ = [3, n0, _NCo,
1348
1350
  [_ASGN, _TARN, _NTo],
1349
1351
  [0, 0, 0]
1350
1352
  ];
1353
+ export var Operator$ = [3, n0, _O,
1354
+ 0,
1355
+ [_Pri],
1356
+ [0], 1
1357
+ ];
1351
1358
  export var PerformanceFactorReferenceRequest$ = [3, n0, _PFRR,
1352
1359
  0,
1353
1360
  [_IF],
@@ -1719,7 +1726,7 @@ var Metrics = 64 | 0;
1719
1726
  var NotificationConfigurations = [1, n0, _NC,
1720
1727
  0, () => NotificationConfiguration$
1721
1728
  ];
1722
- var Overrides = [1, n0, _O,
1729
+ var Overrides = [1, n0, _Ov,
1723
1730
  0, [() => LaunchTemplateOverrides$,
1724
1731
  0]
1725
1732
  ];
@@ -244,6 +244,9 @@ declare const CreateAutoScalingGroupCommand_base: {
244
244
  * TerminateHookAbandon: "retain" || "terminate",
245
245
  * },
246
246
  * },
247
+ * Operator: { // Operator
248
+ * Principal: "STRING_VALUE", // required
249
+ * },
247
250
  * };
248
251
  * const command = new CreateAutoScalingGroupCommand(input);
249
252
  * const response = await client.send(command);
@@ -285,6 +285,9 @@ declare const DescribeAutoScalingGroupsCommand_base: {
285
285
  * // TerminateHookAbandon: "retain" || "terminate",
286
286
  * // },
287
287
  * // },
288
+ * // Operator: { // Operator
289
+ * // Principal: "STRING_VALUE", // required
290
+ * // },
288
291
  * // },
289
292
  * // ],
290
293
  * // NextToken: "STRING_VALUE",
@@ -540,7 +540,7 @@ export interface AvailabilityZoneDistribution {
540
540
  * </li>
541
541
  * <li>
542
542
  * <p>
543
- * <code>reservations-then-balanced</code> - Auto Scaling will first attempt to launch into your Capacity Reservations, and then balance any remaining capacity across the healthy Availability Zones.</p>
543
+ * <code>reservations-then-balanced</code> - Auto Scaling will first attempt to launch into your Capacity Reservations, and then balance any remaining capacity across healthy Availability Zones.</p>
544
544
  * </li>
545
545
  * </ul>
546
546
  * @public
@@ -1683,6 +1683,19 @@ export interface MixedInstancesPolicy {
1683
1683
  */
1684
1684
  InstancesDistribution?: InstancesDistribution | undefined;
1685
1685
  }
1686
+ /**
1687
+ * <p>Describes the entity that manages an Auto Scaling group.</p>
1688
+ * @public
1689
+ */
1690
+ export interface Operator {
1691
+ /**
1692
+ * <p>The service principal that is authorized to manage the Auto Scaling group. When an operator is
1693
+ * specified, only the designated operator service principal can make mutating changes to
1694
+ * the Auto Scaling group.</p>
1695
+ * @public
1696
+ */
1697
+ Principal: string | undefined;
1698
+ }
1686
1699
  /**
1687
1700
  * <p>Describes a tag for an Auto Scaling group.</p>
1688
1701
  * @public
@@ -2066,6 +2079,14 @@ export interface CreateAutoScalingGroupType {
2066
2079
  * @public
2067
2080
  */
2068
2081
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
2082
+ /**
2083
+ * <p>The entity that manages the Auto Scaling group. If you specify this parameter, Amazon EC2 Auto Scaling
2084
+ * passes the operator identity to EC2 for instance launches and only allows the
2085
+ * designated operator to make changes to the Auto Scaling group. All mutating API calls from
2086
+ * non-operator callers are rejected with an <code>AccessDenied</code> exception.</p>
2087
+ * @public
2088
+ */
2089
+ Operator?: Operator | undefined;
2069
2090
  }
2070
2091
  /**
2071
2092
  * <p>Describes information used to set up an Amazon EBS volume specified in a block device
@@ -3327,6 +3348,12 @@ export interface AutoScalingGroup {
3327
3348
  * @public
3328
3349
  */
3329
3350
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
3351
+ /**
3352
+ * <p>The entity that manages the Auto Scaling group, if applicable. When set, only the designated
3353
+ * operator can make changes to the group configuration.</p>
3354
+ * @public
3355
+ */
3356
+ Operator?: Operator | undefined;
3330
3357
  }
3331
3358
  /**
3332
3359
  * @public
@@ -155,6 +155,7 @@ export declare var MixedInstancesPolicy$: StaticStructureSchema;
155
155
  export declare var NetworkBandwidthGbpsRequest$: StaticStructureSchema;
156
156
  export declare var NetworkInterfaceCountRequest$: StaticStructureSchema;
157
157
  export declare var NotificationConfiguration$: StaticStructureSchema;
158
+ export declare var Operator$: StaticStructureSchema;
158
159
  export declare var PerformanceFactorReferenceRequest$: StaticStructureSchema;
159
160
  export declare var PoliciesType$: StaticStructureSchema;
160
161
  export declare var PolicyARNType$: StaticStructureSchema;
@@ -265,6 +265,9 @@ export interface MixedInstancesPolicy {
265
265
  LaunchTemplate?: LaunchTemplate | undefined;
266
266
  InstancesDistribution?: InstancesDistribution | undefined;
267
267
  }
268
+ export interface Operator {
269
+ Principal: string | undefined;
270
+ }
268
271
  export interface Tag {
269
272
  ResourceId?: string | undefined;
270
273
  ResourceType?: string | undefined;
@@ -308,6 +311,7 @@ export interface CreateAutoScalingGroupType {
308
311
  SkipZonalShiftValidation?: boolean | undefined;
309
312
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
310
313
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
314
+ Operator?: Operator | undefined;
311
315
  }
312
316
  export interface Ebs {
313
317
  SnapshotId?: string | undefined;
@@ -488,6 +492,7 @@ export interface AutoScalingGroup {
488
492
  AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
489
493
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
490
494
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
495
+ Operator?: Operator | undefined;
491
496
  }
492
497
  export interface AutoScalingGroupsType {
493
498
  AutoScalingGroups: AutoScalingGroup[] | undefined;
@@ -150,6 +150,7 @@ export declare var MixedInstancesPolicy$: StaticStructureSchema;
150
150
  export declare var NetworkBandwidthGbpsRequest$: StaticStructureSchema;
151
151
  export declare var NetworkInterfaceCountRequest$: StaticStructureSchema;
152
152
  export declare var NotificationConfiguration$: StaticStructureSchema;
153
+ export declare var Operator$: StaticStructureSchema;
153
154
  export declare var PerformanceFactorReferenceRequest$: StaticStructureSchema;
154
155
  export declare var PoliciesType$: StaticStructureSchema;
155
156
  export declare var PolicyARNType$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
- "version": "3.1103.0",
3
+ "version": "3.1105.0",
4
4
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-auto-scaling",
6
6
  "license": "Apache-2.0",