You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazon Elastic Compute Cloud Update: Added support for ModifyInstanceMetadataDefaults and GetInstanceMetadataDefaults to set Instance Metadata Service account defaults
"documentation":"<p>Gets the current state of <i>block public access for AMIs</i> at the account level in the specified Amazon Web Services Region.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis\">Block public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>"
"documentation":"<p>Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services
 Region.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence\">Order of precedence for instance metadata options</a> in the <i>Amazon EC2 User Guide</i>.</p>"
"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>"
"documentation":"<p>Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services
 Region.</p> <note> <p>To remove a parameter's account-level default setting, specify <code>no-preference</code>. At instance launch, the value will come from the AMI, or from the launch parameter if specified. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence\">Order of precedence for instance metadata options</a> in the <i>Amazon EC2 User Guide</i>.</p> </note>"
5005
+
},
4986
5006
"ModifyInstanceMetadataOptions":{
4987
5007
"name":"ModifyInstanceMetadataOptions",
4988
5008
"http":{
@@ -9432,6 +9452,7 @@
9432
9452
]
9433
9453
},
9434
9454
"BoxedDouble":{"type":"double"},
9455
+
"BoxedInteger":{"type":"integer"},
9435
9456
"BundleId":{"type":"string"},
9436
9457
"BundleIdStringList":{
9437
9458
"type":"list",
@@ -16502,6 +16523,22 @@
16502
16523
"locationName":"item"
16503
16524
}
16504
16525
},
16526
+
"DefaultInstanceMetadataEndpointState":{
16527
+
"type":"string",
16528
+
"enum":[
16529
+
"disabled",
16530
+
"enabled",
16531
+
"no-preference"
16532
+
]
16533
+
},
16534
+
"DefaultInstanceMetadataTagsState":{
16535
+
"type":"string",
16536
+
"enum":[
16537
+
"disabled",
16538
+
"enabled",
16539
+
"no-preference"
16540
+
]
16541
+
},
16505
16542
"DefaultNetworkCardIndex":{"type":"integer"},
16506
16543
"DefaultRouteTableAssociationValue":{
16507
16544
"type":"string",
@@ -30705,6 +30742,25 @@
30705
30742
}
30706
30743
}
30707
30744
},
30745
+
"GetInstanceMetadataDefaultsRequest":{
30746
+
"type":"structure",
30747
+
"members":{
30748
+
"DryRun":{
30749
+
"shape":"Boolean",
30750
+
"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>"
"documentation":"<p>The Amazon Web Services account alias (for example, <code>amazon</code>, <code>self</code>) or the Amazon Web Services account ID of the AMI owner.</p>",
32975
+
"documentation":"<p>The owner alias (<code>amazon</code> | <code>aws-marketplace</code>).</p>",
32920
32976
"locationName":"imageOwnerAlias"
32921
32977
},
32922
32978
"Name":{
@@ -35055,6 +35111,32 @@
35055
35111
"targeted"
35056
35112
]
35057
35113
},
35114
+
"InstanceMetadataDefaultsResponse":{
35115
+
"type":"structure",
35116
+
"members":{
35117
+
"HttpTokens":{
35118
+
"shape":"HttpTokensState",
35119
+
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> – IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.</p> </li> <li> <p> <code>required</code> – IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.</p> </li> </ul>",
35120
+
"locationName":"httpTokens"
35121
+
},
35122
+
"HttpPutResponseHopLimit":{
35123
+
"shape":"BoxedInteger",
35124
+
"documentation":"<p>The maximum number of hops that the metadata token can travel.</p>",
35125
+
"locationName":"httpPutResponseHopLimit"
35126
+
},
35127
+
"HttpEndpoint":{
35128
+
"shape":"InstanceMetadataEndpointState",
35129
+
"documentation":"<p>Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance metadata can't be accessed.</p>",
35130
+
"locationName":"httpEndpoint"
35131
+
},
35132
+
"InstanceMetadataTags":{
35133
+
"shape":"InstanceMetadataTagsState",
35134
+
"documentation":"<p>Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS\">Work with instance tags using the instance metadata</a> in the <i>Amazon EC2 User Guide</i>.</p>",
35135
+
"locationName":"instanceMetadataTags"
35136
+
}
35137
+
},
35138
+
"documentation":"<p>The default instance metadata service (IMDS) settings that were set at the account level in the specified Amazon Web Services
 Region.</p>"
35139
+
},
35058
35140
"InstanceMetadataEndpointState":{
35059
35141
"type":"string",
35060
35142
"enum":[
@@ -35067,11 +35149,11 @@
35067
35149
"members":{
35068
35150
"HttpTokens":{
35069
35151
"shape":"HttpTokensState",
35070
-
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.</p> </li> <li> <p> <code>required</code> - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.</p> </li> </ul> <p>Default: If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI) for your instance is <code>v2.0</code>, the default is <code>required</code>.</p>"
35152
+
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.</p> </li> <li> <p> <code>required</code> - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.</p> </li> </ul> <p>Default:</p> <ul> <li> <p>If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI) for your instance is <code>v2.0</code> and the account level default is set to <code>no-preference</code>, the default is <code>required</code>.</p> </li> <li> <p>If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI) for your instance is <code>v2.0</code>, but the account level default is set to <code>V1 or V2</code>, the default is <code>optional</code>.</p> </li> </ul> <p>The default value can also be affected by other combinations of parameters. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence\">Order of precedence for instance metadata options</a> in the <i>Amazon EC2 User Guide</i>.</p>"
35071
35153
},
35072
35154
"HttpPutResponseHopLimit":{
35073
35155
"shape":"Integer",
35074
-
"documentation":"<p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.</p> <p>Default: 1</p> <p>Possible values: Integers from 1 to 64</p>"
35156
+
"documentation":"<p>The maximum number of hops that the metadata token can travel.</p> <p>Possible values: Integers from 1 to 64</p>"
35075
35157
},
35076
35158
"HttpEndpoint":{
35077
35159
"shape":"InstanceMetadataEndpointState",
@@ -35098,12 +35180,12 @@
35098
35180
},
35099
35181
"HttpTokens":{
35100
35182
"shape":"HttpTokensState",
35101
-
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.</p> </li> <li> <p> <code>required</code> - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.</p> </li> </ul>",
35183
+
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.</p> </li> <li> <p> <code>required</code> - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.</p> </li> </ul>",
35102
35184
"locationName":"httpTokens"
35103
35185
},
35104
35186
"HttpPutResponseHopLimit":{
35105
35187
"shape":"Integer",
35106
-
"documentation":"<p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.</p> <p>Default: <code>1</code> </p> <p>Possible values: Integers from <code>1</code> to <code>64</code> </p>",
35188
+
"documentation":"<p>The maximum number of hops that the metadata token can travel.</p> <p>Possible values: Integers from <code>1</code> to <code>64</code> </p>",
35107
35189
"locationName":"httpPutResponseHopLimit"
35108
35190
},
35109
35191
"HttpEndpoint":{
@@ -41542,6 +41624,14 @@
41542
41624
"documentation":"<p>The minimum and maximum amount of memory, in MiB.</p>"
41543
41625
},
41544
41626
"MemorySize":{"type":"long"},
41627
+
"MetadataDefaultHttpTokensState":{
41628
+
"type":"string",
41629
+
"enum":[
41630
+
"optional",
41631
+
"required",
41632
+
"no-preference"
41633
+
]
41634
+
},
41545
41635
"MetricPoint":{
41546
41636
"type":"structure",
41547
41637
"members":{
@@ -42367,6 +42457,41 @@
42367
42457
}
42368
42458
}
42369
42459
},
42460
+
"ModifyInstanceMetadataDefaultsRequest":{
42461
+
"type":"structure",
42462
+
"members":{
42463
+
"HttpTokens":{
42464
+
"shape":"MetadataDefaultHttpTokensState",
42465
+
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> – IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.</p> </li> <li> <p> <code>required</code> – IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.</p> </li> </ul>"
42466
+
},
42467
+
"HttpPutResponseHopLimit":{
42468
+
"shape":"BoxedInteger",
42469
+
"documentation":"<p>The maximum number of hops that the metadata token can travel.</p> <p>Minimum: <code>1</code> </p> <p>Maximum: <code>64</code> </p>"
42470
+
},
42471
+
"HttpEndpoint":{
42472
+
"shape":"DefaultInstanceMetadataEndpointState",
42473
+
"documentation":"<p>Enables or disables the IMDS endpoint on an instance. When disabled, the instance metadata can't be accessed.</p>"
42474
+
},
42475
+
"InstanceMetadataTags":{
42476
+
"shape":"DefaultInstanceMetadataTagsState",
42477
+
"documentation":"<p>Enables or disables access to an instance's tags from the instance metadata. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS\">Work with instance tags using the instance metadata</a> in the <i>Amazon EC2 User Guide</i>.</p>"
42478
+
},
42479
+
"DryRun":{
42480
+
"shape":"Boolean",
42481
+
"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>"
42482
+
}
42483
+
}
42484
+
},
42485
+
"ModifyInstanceMetadataDefaultsResult":{
42486
+
"type":"structure",
42487
+
"members":{
42488
+
"Return":{
42489
+
"shape":"Boolean",
42490
+
"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>",
42491
+
"locationName":"return"
42492
+
}
42493
+
}
42494
+
},
42370
42495
"ModifyInstanceMetadataOptionsRequest":{
42371
42496
"type":"structure",
42372
42497
"required":["InstanceId"],
@@ -42377,7 +42502,7 @@
42377
42502
},
42378
42503
"HttpTokens":{
42379
42504
"shape":"HttpTokensState",
42380
-
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.</p> </li> <li> <p> <code>required</code> - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.</p> </li> </ul> <p>Default: If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI) for your instance is <code>v2.0</code>, the default is <code>required</code>.</p>"
42505
+
"documentation":"<p>Indicates whether IMDSv2 is required.</p> <ul> <li> <p> <code>optional</code> - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.</p> </li> <li> <p> <code>required</code> - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.</p> </li> </ul> <p>Default:</p> <ul> <li> <p>If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI) for your instance is <code>v2.0</code> and the account level default is set to <code>no-preference</code>, the default is <code>required</code>.</p> </li> <li> <p>If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI) for your instance is <code>v2.0</code>, but the account level default is set to <code>V1 or V2</code>, the default is <code>optional</code>.</p> </li> </ul> <p>The default value can also be affected by other combinations of parameters. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence\">Order of precedence for instance metadata options</a> in the <i>Amazon EC2 User Guide</i>.</p>"
42381
42506
},
42382
42507
"HttpPutResponseHopLimit":{
42383
42508
"shape":"Integer",
@@ -52356,7 +52481,7 @@
52356
52481
},
52357
52482
"MaxResults":{
52358
52483
"shape":"TransitGatewayMaxResults",
52359
-
"documentation":"<p>The maximum number of routes to return.</p>"
52484
+
"documentation":"<p>The maximum number of routes to return. If a value is not provided, the default is 1000.</p>"
0 commit comments