Skip to content

Commit cd44f14

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent ab8d7ed commit cd44f14

File tree

5 files changed

+454
-227
lines changed

5 files changed

+454
-227
lines changed

codegen/sdk-codegen/aws-models/compute-optimizer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@
488488
"resourceType": {
489489
"target": "com.amazonaws.computeoptimizer#ResourceType",
490490
"traits": {
491-
"smithy.api#documentation": "<p>The target resource type of the recommendation preference to delete.</p>\n <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances\n that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option\n encompasses only instances that are part of an Auto Scaling group.</p>",
491+
"smithy.api#documentation": "<p>The target resource type of the recommendation preference to delete.</p>\n <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances\n that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option\n encompasses only instances that are part of an Auto Scaling group.</p>\n <note>\n <p>The valid values for this parameter are <code>Ec2Instance</code> and\n <code>AutoScalingGroup</code>.</p>\n </note>",
492492
"smithy.api#required": {}
493493
}
494494
},
@@ -2796,7 +2796,7 @@
27962796
"resourceType": {
27972797
"target": "com.amazonaws.computeoptimizer#ResourceType",
27982798
"traits": {
2799-
"smithy.api#documentation": "<p>The target resource type of the recommendation preference for which to return\n preferences.</p>\n <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances\n that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option\n encompasses only instances that are part of an Auto Scaling group.</p>",
2799+
"smithy.api#documentation": "<p>The target resource type of the recommendation preference for which to return\n preferences.</p>\n <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances\n that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option\n encompasses only instances that are part of an Auto Scaling group.</p>\n <note>\n <p>The valid values for this parameter are <code>Ec2Instance</code> and\n <code>AutoScalingGroup</code>.</p>\n </note>",
28002800
"smithy.api#required": {}
28012801
}
28022802
},
@@ -3984,7 +3984,7 @@
39843984
"resourceType": {
39853985
"target": "com.amazonaws.computeoptimizer#ResourceType",
39863986
"traits": {
3987-
"smithy.api#documentation": "<p>The target resource type of the recommendation preference to create.</p>\n <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances\n that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option\n encompasses only instances that are part of an Auto Scaling group.</p>",
3987+
"smithy.api#documentation": "<p>The target resource type of the recommendation preference to create.</p>\n <p>The <code>Ec2Instance</code> option encompasses standalone instances and instances\n that are part of Auto Scaling groups. The <code>AutoScalingGroup</code> option\n encompasses only instances that are part of an Auto Scaling group.</p>\n <note>\n <p>The valid values for this parameter are <code>Ec2Instance</code> and\n <code>AutoScalingGroup</code>.</p>\n </note>",
39883988
"smithy.api#required": {}
39893989
}
39903990
},

codegen/sdk-codegen/aws-models/ec2.json

+127
Original file line numberDiff line numberDiff line change
@@ -2766,6 +2766,9 @@
27662766
{
27672767
"target": "com.amazonaws.ec2#GetInstanceTypesFromInstanceRequirements"
27682768
},
2769+
{
2770+
"target": "com.amazonaws.ec2#GetInstanceUefiData"
2771+
},
27692772
{
27702773
"target": "com.amazonaws.ec2#GetIpamAddressHistory"
27712774
},
@@ -37947,6 +37950,58 @@
3794737950
}
3794837951
}
3794937952
},
37953+
"com.amazonaws.ec2#GetInstanceUefiData": {
37954+
"type": "operation",
37955+
"input": {
37956+
"target": "com.amazonaws.ec2#GetInstanceUefiDataRequest"
37957+
},
37958+
"output": {
37959+
"target": "com.amazonaws.ec2#GetInstanceUefiDataResult"
37960+
},
37961+
"traits": {
37962+
"smithy.api#documentation": "<p>A binary representation of the UEFI variable store. Only non-volatile variables are\n stored. This is a base64 encoded and zlib compressed binary value that must be properly\n encoded.</p>\n <p>When you use <a href=\"https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html\">register-image</a>\n to create an AMI, you can create an exact copy of your variable store by passing the UEFI data in the <code>UefiData</code>\n parameter. You can modify the UEFI data by using the <a href=\"https://github.com/awslabs/python-uefivars\">python-uefivars tool</a>\n on GitHub. You can use the tool to convert the UEFI data into a human-readable format (JSON), which you can \n inspect and modify, and then convert back into the binary format to use with register-image.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html\">UEFI Secure Boot</a> in the\n <i>Amazon EC2 User Guide</i>.</p>"
37963+
}
37964+
},
37965+
"com.amazonaws.ec2#GetInstanceUefiDataRequest": {
37966+
"type": "structure",
37967+
"members": {
37968+
"InstanceId": {
37969+
"target": "com.amazonaws.ec2#InstanceId",
37970+
"traits": {
37971+
"smithy.api#documentation": "<p>The ID of the instance from which to retrieve the UEFI data.</p>",
37972+
"smithy.api#required": {},
37973+
"smithy.api#xmlName": "InstanceId"
37974+
}
37975+
},
37976+
"DryRun": {
37977+
"target": "com.amazonaws.ec2#Boolean",
37978+
"traits": {
37979+
"smithy.api#documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. \n Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
37980+
}
37981+
}
37982+
}
37983+
},
37984+
"com.amazonaws.ec2#GetInstanceUefiDataResult": {
37985+
"type": "structure",
37986+
"members": {
37987+
"InstanceId": {
37988+
"target": "com.amazonaws.ec2#InstanceId",
37989+
"traits": {
37990+
"aws.protocols#ec2QueryName": "InstanceId",
37991+
"smithy.api#documentation": "<p>The ID of the instance from which to retrieve the UEFI data.</p>",
37992+
"smithy.api#xmlName": "instanceId"
37993+
}
37994+
},
37995+
"UefiData": {
37996+
"target": "com.amazonaws.ec2#String",
37997+
"traits": {
37998+
"aws.protocols#ec2QueryName": "UefiData",
37999+
"smithy.api#documentation": "<p>Base64 representation of the non-volatile UEFI variable store.</p>",
38000+
"smithy.api#xmlName": "uefiData"
38001+
}
38002+
}
38003+
}
38004+
},
3795038005
"com.amazonaws.ec2#GetIpamAddressHistory": {
3795138006
"type": "operation",
3795238007
"input": {
@@ -40869,6 +40924,14 @@
4086940924
"smithy.api#xmlName": "bootMode"
4087040925
}
4087140926
},
40927+
"TpmSupport": {
40928+
"target": "com.amazonaws.ec2#TpmSupportValues",
40929+
"traits": {
40930+
"aws.protocols#ec2QueryName": "TpmSupport",
40931+
"smithy.api#documentation": "<p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>. \n For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html\">NitroTPM</a> in the\n <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
40932+
"smithy.api#xmlName": "tpmSupport"
40933+
}
40934+
},
4087240935
"DeprecationTime": {
4087340936
"target": "com.amazonaws.ec2#String",
4087440937
"traits": {
@@ -40957,6 +41020,22 @@
4095741020
"smithy.api#xmlName": "bootMode"
4095841021
}
4095941022
},
41023+
"TpmSupport": {
41024+
"target": "com.amazonaws.ec2#AttributeValue",
41025+
"traits": {
41026+
"aws.protocols#ec2QueryName": "TpmSupport",
41027+
"smithy.api#documentation": "<p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.</p>",
41028+
"smithy.api#xmlName": "tpmSupport"
41029+
}
41030+
},
41031+
"UefiData": {
41032+
"target": "com.amazonaws.ec2#AttributeValue",
41033+
"traits": {
41034+
"aws.protocols#ec2QueryName": "UefiData",
41035+
"smithy.api#documentation": "<p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,\n use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData\">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the\n <a href=\"https://github.com/awslabs/python-uefivars\">python-uefivars tool</a> on\n GitHub. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html\">UEFI Secure Boot</a> in the\n <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
41036+
"smithy.api#xmlName": "uefiData"
41037+
}
41038+
},
4096041039
"LastLaunchedTime": {
4096141040
"target": "com.amazonaws.ec2#AttributeValue",
4096241041
"traits": {
@@ -41006,6 +41085,14 @@
4100641085
"value": "bootMode",
4100741086
"name": "bootMode"
4100841087
},
41088+
{
41089+
"value": "tpmSupport",
41090+
"name": "tpmSupport"
41091+
},
41092+
{
41093+
"value": "uefiData",
41094+
"name": "uefiData"
41095+
},
4100941096
{
4101041097
"value": "lastLaunchedTime",
4101141098
"name": "lastLaunchedTime"
@@ -42887,6 +42974,14 @@
4288742974
"smithy.api#xmlName": "ipv6Address"
4288842975
}
4288942976
},
42977+
"TpmSupport": {
42978+
"target": "com.amazonaws.ec2#String",
42979+
"traits": {
42980+
"aws.protocols#ec2QueryName": "TpmSupport",
42981+
"smithy.api#documentation": "<p>If the instance is configured for NitroTPM support, the value is <code>v2.0</code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html\">NitroTPM</a> in the\n <i>Amazon EC2 User Guide</i>.</p>",
42982+
"smithy.api#xmlName": "tpmSupport"
42983+
}
42984+
},
4289042985
"MaintenanceOptions": {
4289142986
"target": "com.amazonaws.ec2#InstanceMaintenanceOptions",
4289242987
"traits": {
@@ -62622,6 +62717,18 @@
6262262717
"traits": {
6262362718
"smithy.api#documentation": "<p>The boot mode of the AMI. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html\">Boot modes</a> in the\n <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
6262462719
}
62720+
},
62721+
"TpmSupport": {
62722+
"target": "com.amazonaws.ec2#TpmSupportValues",
62723+
"traits": {
62724+
"smithy.api#documentation": "<p>Set to <code>v2.0</code> to enable Trusted Platform Module (TPM) support. For more\n information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html\">NitroTPM</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
62725+
}
62726+
},
62727+
"UefiData": {
62728+
"target": "com.amazonaws.ec2#StringType",
62729+
"traits": {
62730+
"smithy.api#documentation": "<p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,\n use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData\">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the\n <a href=\"https://github.com/awslabs/python-uefivars\">python-uefivars tool</a> on\n GitHub. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html\">UEFI Secure Boot</a> in the\n <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
62731+
}
6262562732
}
6262662733
},
6262762734
"traits": {
@@ -72369,6 +72476,15 @@
7236972476
}
7237072477
}
7237172478
},
72479+
"com.amazonaws.ec2#StringType": {
72480+
"type": "string",
72481+
"traits": {
72482+
"smithy.api#length": {
72483+
"min": 0,
72484+
"max": 64000
72485+
}
72486+
}
72487+
},
7237272488
"com.amazonaws.ec2#Subnet": {
7237372489
"type": "structure",
7237472490
"members": {
@@ -73656,6 +73772,17 @@
7365673772
"smithy.api#documentation": "<p>The minimum and maximum amount of total local storage, in GB.</p>"
7365773773
}
7365873774
},
73775+
"com.amazonaws.ec2#TpmSupportValues": {
73776+
"type": "string",
73777+
"traits": {
73778+
"smithy.api#enum": [
73779+
{
73780+
"value": "v2.0",
73781+
"name": "v2_0"
73782+
}
73783+
]
73784+
}
73785+
},
7365973786
"com.amazonaws.ec2#TrafficDirection": {
7366073787
"type": "string",
7366173788
"traits": {

0 commit comments

Comments
 (0)