|
4172 | 4172 | "output":{"shape":"ModifyInstanceEventWindowResult"},
|
4173 | 4173 | "documentation":"<p>Modifies the specified event window.</p> <p>You can define either a set of time ranges or a cron expression when modifying the event window, but not both.</p> <p>To modify the targets associated with the event window, use the <a>AssociateInstanceEventWindow</a> and <a>DisassociateInstanceEventWindow</a> API.</p> <p>If Amazon Web Services has already scheduled an event, modifying an event window won't change the time of the scheduled event.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html\">Define event windows for scheduled events</a> in the <i>Amazon EC2 User Guide</i>.</p>"
|
4174 | 4174 | },
|
| 4175 | + "ModifyInstanceMaintenanceOptions":{ |
| 4176 | + "name":"ModifyInstanceMaintenanceOptions", |
| 4177 | + "http":{ |
| 4178 | + "method":"POST", |
| 4179 | + "requestUri":"/" |
| 4180 | + }, |
| 4181 | + "input":{"shape":"ModifyInstanceMaintenanceOptionsRequest"}, |
| 4182 | + "output":{"shape":"ModifyInstanceMaintenanceOptionsResult"}, |
| 4183 | + "documentation":"<p>Modifies the recovery behavior of your instance to disable simplified automatic recovery or set the recovery behavior to default. The default configuration will not enable simplified automatic recovery for an unsupported instance type. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery\">Simplified automatic recovery</a>.</p>" |
| 4184 | + }, |
4175 | 4185 | "ModifyInstanceMetadataOptions":{
|
4176 | 4186 | "name":"ModifyInstanceMetadataOptions",
|
4177 | 4187 | "http":{
|
|
28919 | 28929 | "shape":"String",
|
28920 | 28930 | "documentation":"<p>The IPv6 address assigned to the instance.</p>",
|
28921 | 28931 | "locationName":"ipv6Address"
|
| 28932 | + }, |
| 28933 | + "MaintenanceOptions":{ |
| 28934 | + "shape":"InstanceMaintenanceOptions", |
| 28935 | + "documentation":"<p>Provides information on the recovery and maintenance options of your instance.</p>", |
| 28936 | + "locationName":"maintenanceOptions" |
28922 | 28937 | }
|
28923 | 28938 | },
|
28924 | 28939 | "documentation":"<p>Describes an instance.</p>"
|
|
29029 | 29044 | "enclaveOptions"
|
29030 | 29045 | ]
|
29031 | 29046 | },
|
| 29047 | + "InstanceAutoRecoveryState":{ |
| 29048 | + "type":"string", |
| 29049 | + "enum":[ |
| 29050 | + "disabled", |
| 29051 | + "default" |
| 29052 | + ] |
| 29053 | + }, |
29032 | 29054 | "InstanceBlockDeviceMapping":{
|
29033 | 29055 | "type":"structure",
|
29034 | 29056 | "members":{
|
|
29560 | 29582 | "locationName":"item"
|
29561 | 29583 | }
|
29562 | 29584 | },
|
| 29585 | + "InstanceMaintenanceOptions":{ |
| 29586 | + "type":"structure", |
| 29587 | + "members":{ |
| 29588 | + "AutoRecovery":{ |
| 29589 | + "shape":"InstanceAutoRecoveryState", |
| 29590 | + "documentation":"<p>Provides information on the current automatic recovery behavior of your instance.</p>", |
| 29591 | + "locationName":"autoRecovery" |
| 29592 | + } |
| 29593 | + }, |
| 29594 | + "documentation":"<p>The maintenance options for the instance.</p>" |
| 29595 | + }, |
| 29596 | + "InstanceMaintenanceOptionsRequest":{ |
| 29597 | + "type":"structure", |
| 29598 | + "members":{ |
| 29599 | + "AutoRecovery":{ |
| 29600 | + "shape":"InstanceAutoRecoveryState", |
| 29601 | + "documentation":"<p>Disables the automatic recovery behavior of your instance or sets it to default. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery\">Simplified automatic recovery</a>.</p>" |
| 29602 | + } |
| 29603 | + }, |
| 29604 | + "documentation":"<p>The maintenance options for the instance.</p>" |
| 29605 | + }, |
29563 | 29606 | "InstanceMarketOptionsRequest":{
|
29564 | 29607 | "type":"structure",
|
29565 | 29608 | "members":{
|
|
32643 | 32686 | },
|
32644 | 32687 | "documentation":"<p>Describes a launch template and overrides.</p>"
|
32645 | 32688 | },
|
| 32689 | + "LaunchTemplateAutoRecoveryState":{ |
| 32690 | + "type":"string", |
| 32691 | + "enum":[ |
| 32692 | + "default", |
| 32693 | + "disabled" |
| 32694 | + ] |
| 32695 | + }, |
32646 | 32696 | "LaunchTemplateBlockDeviceMapping":{
|
32647 | 32697 | "type":"structure",
|
32648 | 32698 | "members":{
|
|
33019 | 33069 | "locationName":"item"
|
33020 | 33070 | }
|
33021 | 33071 | },
|
| 33072 | + "LaunchTemplateInstanceMaintenanceOptions":{ |
| 33073 | + "type":"structure", |
| 33074 | + "members":{ |
| 33075 | + "AutoRecovery":{ |
| 33076 | + "shape":"LaunchTemplateAutoRecoveryState", |
| 33077 | + "documentation":"<p>Disables the automatic recovery behavior of your instance or sets it to default.</p>", |
| 33078 | + "locationName":"autoRecovery" |
| 33079 | + } |
| 33080 | + }, |
| 33081 | + "documentation":"<p>The maintenance options of your instance.</p>" |
| 33082 | + }, |
| 33083 | + "LaunchTemplateInstanceMaintenanceOptionsRequest":{ |
| 33084 | + "type":"structure", |
| 33085 | + "members":{ |
| 33086 | + "AutoRecovery":{ |
| 33087 | + "shape":"LaunchTemplateAutoRecoveryState", |
| 33088 | + "documentation":"<p>Disables the automatic recovery behavior of your instance or sets it to default. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery\">Simplified automatic recovery</a>.</p>" |
| 33089 | + } |
| 33090 | + }, |
| 33091 | + "documentation":"<p>The maintenance options of your instance.</p>" |
| 33092 | + }, |
33022 | 33093 | "LaunchTemplateInstanceMarketOptions":{
|
33023 | 33094 | "type":"structure",
|
33024 | 33095 | "members":{
|
|
34882 | 34953 | "members":{
|
34883 | 34954 | "Return":{
|
34884 | 34955 | "shape":"Boolean",
|
34885 |
| - "documentation":"<p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>", |
| 34956 | + "documentation":"<p>If the request succeeds, the response returns <code>true</code>. If the request fails, no response is returned, and instead an error message is returned.</p>", |
34886 | 34957 | "locationName":"return"
|
34887 | 34958 | }
|
34888 | 34959 | }
|
|
35314 | 35385 | }
|
35315 | 35386 | }
|
35316 | 35387 | },
|
| 35388 | + "ModifyInstanceMaintenanceOptionsRequest":{ |
| 35389 | + "type":"structure", |
| 35390 | + "required":["InstanceId"], |
| 35391 | + "members":{ |
| 35392 | + "InstanceId":{ |
| 35393 | + "shape":"InstanceId", |
| 35394 | + "documentation":"<p>The ID of the instance.</p>" |
| 35395 | + }, |
| 35396 | + "AutoRecovery":{ |
| 35397 | + "shape":"InstanceAutoRecoveryState", |
| 35398 | + "documentation":"<p>Disables the automatic recovery behavior of your instance or sets it to default.</p>" |
| 35399 | + }, |
| 35400 | + "DryRun":{ |
| 35401 | + "shape":"Boolean", |
| 35402 | + "documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>" |
| 35403 | + } |
| 35404 | + } |
| 35405 | + }, |
| 35406 | + "ModifyInstanceMaintenanceOptionsResult":{ |
| 35407 | + "type":"structure", |
| 35408 | + "members":{ |
| 35409 | + "InstanceId":{ |
| 35410 | + "shape":"String", |
| 35411 | + "documentation":"<p>The ID of the instance.</p>", |
| 35412 | + "locationName":"instanceId" |
| 35413 | + }, |
| 35414 | + "AutoRecovery":{ |
| 35415 | + "shape":"InstanceAutoRecoveryState", |
| 35416 | + "documentation":"<p>Provides information on the current automatic recovery behavior of your instance.</p>", |
| 35417 | + "locationName":"autoRecovery" |
| 35418 | + } |
| 35419 | + } |
| 35420 | + }, |
35317 | 35421 | "ModifyInstanceMetadataOptionsRequest":{
|
35318 | 35422 | "type":"structure",
|
35319 | 35423 | "required":["InstanceId"],
|
|
35916 | 36020 | "members":{
|
35917 | 36021 | "Return":{
|
35918 | 36022 | "shape":"Boolean",
|
35919 |
| - "documentation":"<p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>", |
| 36023 | + "documentation":"<p>If the request succeeds, the response returns <code>true</code>. If the request fails, no response is returned, and instead an error message is returned.</p>", |
35920 | 36024 | "locationName":"return"
|
35921 | 36025 | }
|
35922 | 36026 | },
|
|
41207 | 41311 | "PrivateDnsNameOptions":{
|
41208 | 41312 | "shape":"LaunchTemplatePrivateDnsNameOptionsRequest",
|
41209 | 41313 | "documentation":"<p>The options for the instance hostname. The default values are inherited from the subnet.</p>"
|
| 41314 | + }, |
| 41315 | + "MaintenanceOptions":{ |
| 41316 | + "shape":"LaunchTemplateInstanceMaintenanceOptionsRequest", |
| 41317 | + "documentation":"<p>The maintenance options for the instance.</p>" |
41210 | 41318 | }
|
41211 | 41319 | },
|
41212 | 41320 | "documentation":"<p>The information to include in the launch template.</p>"
|
|
42113 | 42221 | "members":{
|
42114 | 42222 | "Attribute":{
|
42115 | 42223 | "shape":"InstanceAttributeName",
|
42116 |
| - "documentation":"<p>The attribute to reset.</p> <important> <p>You can only reset the following attributes: <code>kernel</code> | <code>ramdisk</code> | <code>sourceDestCheck</code>. To change an instance attribute, use <a>ModifyInstanceAttribute</a>.</p> </important>", |
| 42224 | + "documentation":"<p>The attribute to reset.</p> <important> <p>You can only reset the following attributes: <code>kernel</code> | <code>ramdisk</code> | <code>sourceDestCheck</code>.</p> </important>", |
42117 | 42225 | "locationName":"attribute"
|
42118 | 42226 | },
|
42119 | 42227 | "DryRun":{
|
|
42470 | 42578 | "shape":"LaunchTemplatePrivateDnsNameOptions",
|
42471 | 42579 | "documentation":"<p>The options for the instance hostname.</p>",
|
42472 | 42580 | "locationName":"privateDnsNameOptions"
|
| 42581 | + }, |
| 42582 | + "MaintenanceOptions":{ |
| 42583 | + "shape":"LaunchTemplateInstanceMaintenanceOptions", |
| 42584 | + "documentation":"<p>The maintenance options for your instance.</p>", |
| 42585 | + "locationName":"maintenanceOptions" |
42473 | 42586 | }
|
42474 | 42587 | },
|
42475 | 42588 | "documentation":"<p>The information for a launch template. </p>"
|
|
43310 | 43423 | "PrivateDnsNameOptions":{
|
43311 | 43424 | "shape":"PrivateDnsNameOptionsRequest",
|
43312 | 43425 | "documentation":"<p>The options for the instance hostname. The default values are inherited from the subnet.</p>"
|
| 43426 | + }, |
| 43427 | + "MaintenanceOptions":{ |
| 43428 | + "shape":"InstanceMaintenanceOptionsRequest", |
| 43429 | + "documentation":"<p>The maintenance and recovery options for the instance.</p>" |
43313 | 43430 | }
|
43314 | 43431 | }
|
43315 | 43432 | },
|
|
0 commit comments