Skip to content

Commit 1869e89

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 466d9d5 commit 1869e89

32 files changed

+12763
-892
lines changed

codegen/sdk-codegen/aws-models/application-signals.json

Lines changed: 318 additions & 113 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/auto-scaling.json

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,9 @@
526526
"target": "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsResultType"
527527
},
528528
"errors": [
529+
{
530+
"target": "com.amazonaws.autoscaling#InstanceRefreshInProgressFault"
531+
},
529532
{
530533
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
531534
},
@@ -583,6 +586,9 @@
583586
"target": "com.amazonaws.autoscaling#AttachLoadBalancersResultType"
584587
},
585588
"errors": [
589+
{
590+
"target": "com.amazonaws.autoscaling#InstanceRefreshInProgressFault"
591+
},
586592
{
587593
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
588594
},
@@ -640,6 +646,9 @@
640646
"target": "com.amazonaws.autoscaling#AttachTrafficSourcesResultType"
641647
},
642648
"errors": [
649+
{
650+
"target": "com.amazonaws.autoscaling#InstanceRefreshInProgressFault"
651+
},
643652
{
644653
"target": "com.amazonaws.autoscaling#ResourceContentionFault"
645654
},
@@ -946,6 +955,12 @@
946955
"traits": {
947956
"smithy.api#documentation": "<p>\n The capacity reservation specification. \n </p>"
948957
}
958+
},
959+
"InstanceLifecyclePolicy": {
960+
"target": "com.amazonaws.autoscaling#InstanceLifecyclePolicy",
961+
"traits": {
962+
"smithy.api#documentation": "<p>\n The instance lifecycle policy applied to this Auto Scaling group. This policy determines \n instance behavior when an instance transitions through its lifecycle states. It provides additional \n control over graceful instance management processes.\n </p>"
963+
}
949964
}
950965
},
951966
"traits": {
@@ -1100,6 +1115,12 @@
11001115
"smithy.api#documentation": "<p>The launch template for the instance.</p>"
11011116
}
11021117
},
1118+
"ImageId": {
1119+
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
1120+
"traits": {
1121+
"smithy.api#documentation": "<p>\n The ID of the Amazon Machine Image (AMI) associated with the instance. This field shows the \n current AMI ID of the instance's root volume. It may differ from the original AMI used when \n the instance was first launched.\n </p>\n <p>\n This field appears for:\n </p>\n <ul>\n <li>\n <p>Instances with root volume replacements through Instance Refresh</p>\n </li>\n <li>\n <p>Instances launched with AMI overrides </p>\n </li>\n </ul>\n <p>This field won't appear for:</p>\n <ul>\n <li>\n <p>Existing instances launched from Launch Templates without overrides</p>\n </li>\n <li>\n <p>Existing instances that didn’t have their root volume replaced through Instance Refresh</p>\n </li>\n </ul>"
1122+
}
1123+
},
11031124
"ProtectedFromScaleIn": {
11041125
"target": "com.amazonaws.autoscaling#InstanceProtected",
11051126
"traits": {
@@ -3327,6 +3348,12 @@
33273348
"traits": {
33283349
"smithy.api#documentation": "<p>\n The capacity reservation specification for the Auto Scaling group. \n </p>"
33293350
}
3351+
},
3352+
"InstanceLifecyclePolicy": {
3353+
"target": "com.amazonaws.autoscaling#InstanceLifecyclePolicy",
3354+
"traits": {
3355+
"smithy.api#documentation": "<p>\n The instance lifecycle policy for the Auto Scaling group. This policy controls instance \n behavior when an instance transitions through its lifecycle states. Configure retention \n triggers to specify when instances should move to a <code>Retained</code> \n state for manual intervention instead of automatic termination.\n </p>\n <note>\n <p>Instances in a Retained state will continue to incur standard EC2 charges until terminated.</p>\n </note>"
3356+
}
33303357
}
33313358
}
33323359
},
@@ -6475,6 +6502,16 @@
64756502
"smithy.api#httpError": 400
64766503
}
64776504
},
6505+
"com.amazonaws.autoscaling#ImageId": {
6506+
"type": "string",
6507+
"traits": {
6508+
"smithy.api#length": {
6509+
"min": 5,
6510+
"max": 21
6511+
},
6512+
"smithy.api#pattern": "^ami-[a-z0-9]{1,17}$"
6513+
}
6514+
},
64786515
"com.amazonaws.autoscaling#ImpairedZoneHealthCheckBehavior": {
64796516
"type": "enum",
64806517
"members": {
@@ -6551,6 +6588,12 @@
65516588
"smithy.api#documentation": "<p>The launch template for the instance.</p>"
65526589
}
65536590
},
6591+
"ImageId": {
6592+
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255",
6593+
"traits": {
6594+
"smithy.api#documentation": "<p>\n The ID of the Amazon Machine Image (AMI) used for the instance's current root volume. \n This value reflects the most recent AMI applied to the instance, including updates made \n through root volume replacement operations.\n </p>\n <p>\n This field appears for:\n </p>\n <ul>\n <li>\n <p>Instances with root volume replacements through Instance Refresh</p>\n </li>\n <li>\n <p>Instances launched with AMI overrides </p>\n </li>\n </ul>\n <p>This field won't appear for:</p>\n <ul>\n <li>\n <p>Existing instances launched from Launch Templates without overrides</p>\n </li>\n <li>\n <p>Existing instances that didn’t have their root volume replaced through Instance Refresh</p>\n </li>\n </ul>"
6595+
}
6596+
},
65546597
"ProtectedFromScaleIn": {
65556598
"target": "com.amazonaws.autoscaling#InstanceProtected",
65566599
"traits": {
@@ -6649,6 +6692,20 @@
66496692
"target": "com.amazonaws.autoscaling#XmlStringMaxLen19"
66506693
}
66516694
},
6695+
"com.amazonaws.autoscaling#InstanceLifecyclePolicy": {
6696+
"type": "structure",
6697+
"members": {
6698+
"RetentionTriggers": {
6699+
"target": "com.amazonaws.autoscaling#RetentionTriggers",
6700+
"traits": {
6701+
"smithy.api#documentation": "<p>\n Specifies the conditions that trigger instance retention behavior. These triggers determine when instances \n should move to a Retained state instead of being terminated. This allows you to maintain control over \n instance management when lifecycle operations fail.\n </p>"
6702+
}
6703+
}
6704+
},
6705+
"traits": {
6706+
"smithy.api#documentation": "<p>\n Defines the lifecycle policy for instances in an Auto Scaling group. This policy controls instance behavior when lifecycles transition and operations fail. Use lifecycle policies to ensure graceful shutdown for stateful workloads or applications requiring extended draining periods.\n </p>"
6707+
}
6708+
},
66526709
"com.amazonaws.autoscaling#InstanceMaintenancePolicy": {
66536710
"type": "structure",
66546711
"members": {
@@ -6829,6 +6886,12 @@
68296886
"traits": {
68306887
"smithy.api#documentation": "<p>The rollback details.</p>"
68316888
}
6889+
},
6890+
"Strategy": {
6891+
"target": "com.amazonaws.autoscaling#RefreshStrategy",
6892+
"traits": {
6893+
"smithy.api#documentation": "<p>\n The strategy to use for the instance refresh. This determines how instances in the Auto Scaling group are \n updated. Default is Rolling.\n </p>\n <ul>\n <li>\n <p>\n <code>Rolling</code> – Terminates instances and launches replacements in batches</p>\n </li>\n <li>\n <p>\n <code>ReplaceRootVolume</code> – Updates instances by replacing only the root volume without terminating the instance</p>\n </li>\n </ul>"
6894+
}
68326895
}
68336896
},
68346897
"traits": {
@@ -7720,6 +7783,12 @@
77207783
"traits": {
77217784
"smithy.api#documentation": "<p>The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify\n instance types. Then, it uses your On-Demand and Spot allocation strategies to launch\n instances from these instance types.</p>\n <p>You can specify up to four separate sets of instance requirements per Auto Scaling group. This\n is useful for provisioning instances from different Amazon Machine Images (AMIs) in the\n same Auto Scaling group. To do this, create the AMIs and create a new launch template for each\n AMI. Then, create a compatible set of instance requirements for each launch template.\n </p>\n <note>\n <p>If you specify <code>InstanceRequirements</code>, you can't specify\n <code>InstanceType</code>.</p>\n </note>"
77227785
}
7786+
},
7787+
"ImageId": {
7788+
"target": "com.amazonaws.autoscaling#ImageId",
7789+
"traits": {
7790+
"smithy.api#documentation": "<p>\n The ID of the Amazon Machine Image (AMI) to use for instances launched with this override. When \n using Instance Refresh with <code>ReplaceRootVolume</code> strategy, this specifies the AMI for root volume \n replacement operations.\n </p>\n <p>\n For <code>ReplaceRootVolume</code> operations:\n </p>\n <ul>\n <li>\n <p>All overrides in the <code>MixedInstancesPolicy</code> must specify an ImageId</p>\n </li>\n <li>\n <p>The AMI must contain only a single root volume</p>\n </li>\n <li>\n <p>Root volume replacement doesn't support multi-volume AMIs</p>\n </li>\n </ul>"
7791+
}
77237792
}
77247793
},
77257794
"traits": {
@@ -9647,6 +9716,9 @@
96479716
"target": "com.amazonaws.autoscaling#PutWarmPoolAnswer"
96489717
},
96499718
"errors": [
9719+
{
9720+
"target": "com.amazonaws.autoscaling#InstanceRefreshInProgressFault"
9721+
},
96509722
{
96519723
"target": "com.amazonaws.autoscaling#LimitExceededFault"
96529724
},
@@ -9868,6 +9940,12 @@
98689940
"traits": {
98699941
"smithy.api#enumValue": "Rolling"
98709942
}
9943+
},
9944+
"ReplaceRootVolume": {
9945+
"target": "smithy.api#Unit",
9946+
"traits": {
9947+
"smithy.api#enumValue": "ReplaceRootVolume"
9948+
}
98719949
}
98729950
}
98739951
},
@@ -9961,6 +10039,37 @@
996110039
]
996210040
}
996310041
},
10042+
"com.amazonaws.autoscaling#RetentionAction": {
10043+
"type": "enum",
10044+
"members": {
10045+
"Retain": {
10046+
"target": "smithy.api#Unit",
10047+
"traits": {
10048+
"smithy.api#enumValue": "retain"
10049+
}
10050+
},
10051+
"Terminate": {
10052+
"target": "smithy.api#Unit",
10053+
"traits": {
10054+
"smithy.api#enumValue": "terminate"
10055+
}
10056+
}
10057+
}
10058+
},
10059+
"com.amazonaws.autoscaling#RetentionTriggers": {
10060+
"type": "structure",
10061+
"members": {
10062+
"TerminateHookAbandon": {
10063+
"target": "com.amazonaws.autoscaling#RetentionAction",
10064+
"traits": {
10065+
"smithy.api#documentation": "<p>\n Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).\n </p>\n <p>\n Set to <code>Retain</code> to move instances to a <code>Retained</code> state. Set to <code>Terminate</code> for default termination behavior.\n </p>\n <p>\n Retained instances don't count toward desired capacity and remain until you call <code>TerminateInstanceInAutoScalingGroup</code>.\n </p>"
10066+
}
10067+
}
10068+
},
10069+
"traits": {
10070+
"smithy.api#documentation": "<p>\n Defines the specific triggers that cause instances to be retained in a Retained state rather than terminated. Each trigger corresponds to a different failure scenario during the instance lifecycle. This allows fine-grained control over when to preserve instances for manual intervention.\n </p>"
10071+
}
10072+
},
996410073
"com.amazonaws.autoscaling#RetryStrategy": {
996510074
"type": "enum",
996610075
"members": {
@@ -10195,6 +10304,24 @@
1019510304
"traits": {
1019610305
"smithy.api#enumValue": "WaitingForConnectionDraining"
1019710306
}
10307+
},
10308+
"WaitingForInPlaceUpdateToStart": {
10309+
"target": "smithy.api#Unit",
10310+
"traits": {
10311+
"smithy.api#enumValue": "WaitingForInPlaceUpdateToStart"
10312+
}
10313+
},
10314+
"WaitingForInPlaceUpdateToFinalize": {
10315+
"target": "smithy.api#Unit",
10316+
"traits": {
10317+
"smithy.api#enumValue": "WaitingForInPlaceUpdateToFinalize"
10318+
}
10319+
},
10320+
"InPlaceUpdateInProgress": {
10321+
"target": "smithy.api#Unit",
10322+
"traits": {
10323+
"smithy.api#enumValue": "InPlaceUpdateInProgress"
10324+
}
1019810325
}
1019910326
}
1020010327
},
@@ -11560,6 +11687,12 @@
1156011687
"traits": {
1156111688
"smithy.api#documentation": "<p>\n The capacity reservation specification for the Auto Scaling group. \n </p>"
1156211689
}
11690+
},
11691+
"InstanceLifecyclePolicy": {
11692+
"target": "com.amazonaws.autoscaling#InstanceLifecyclePolicy",
11693+
"traits": {
11694+
"smithy.api#documentation": "<p>\n The instance lifecycle policy for the Auto Scaling group. Use this to add, modify, or remove lifecycle \n policies that control instance behavior when an instance transitions through its lifecycle states. Configure \n retention triggers to specify when to preserve instances for manual intervention.\n </p>"
11695+
}
1156311696
}
1156411697
}
1156511698
},

0 commit comments

Comments
 (0)