Skip to content

Commit 8d53d31

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent cea2987 commit 8d53d31

File tree

7 files changed

+2662
-346
lines changed

7 files changed

+2662
-346
lines changed

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

+373-9
Large diffs are not rendered by default.

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

+160-1
Original file line numberDiff line numberDiff line change
@@ -2677,6 +2677,9 @@
26772677
{
26782678
"target": "com.amazonaws.emr#ListStudioSessionMappings"
26792679
},
2680+
{
2681+
"target": "com.amazonaws.emr#ListSupportedInstanceTypes"
2682+
},
26802683
{
26812684
"target": "com.amazonaws.emr#ModifyCluster"
26822685
},
@@ -3949,6 +3952,12 @@
39493952
"smithy.api#documentation": "<p>The details of the step failure. The service attempts to detect the root cause for many\n common failures.</p>"
39503953
}
39513954
},
3955+
"com.amazonaws.emr#Float": {
3956+
"type": "float",
3957+
"traits": {
3958+
"smithy.api#default": 0
3959+
}
3960+
},
39523961
"com.amazonaws.emr#GetAutoTerminationPolicy": {
39533962
"type": "operation",
39543963
"input": {
@@ -7037,6 +7046,71 @@
70377046
"smithy.api#output": {}
70387047
}
70397048
},
7049+
"com.amazonaws.emr#ListSupportedInstanceTypes": {
7050+
"type": "operation",
7051+
"input": {
7052+
"target": "com.amazonaws.emr#ListSupportedInstanceTypesInput"
7053+
},
7054+
"output": {
7055+
"target": "com.amazonaws.emr#ListSupportedInstanceTypesOutput"
7056+
},
7057+
"errors": [
7058+
{
7059+
"target": "com.amazonaws.emr#InternalServerException"
7060+
},
7061+
{
7062+
"target": "com.amazonaws.emr#InvalidRequestException"
7063+
}
7064+
],
7065+
"traits": {
7066+
"smithy.api#documentation": "<p>A list of the instance types that Amazon EMR supports. You can filter the\n list by Amazon Web Services Region and Amazon EMR release. </p>",
7067+
"smithy.api#paginated": {
7068+
"inputToken": "Marker",
7069+
"outputToken": "Marker"
7070+
}
7071+
}
7072+
},
7073+
"com.amazonaws.emr#ListSupportedInstanceTypesInput": {
7074+
"type": "structure",
7075+
"members": {
7076+
"ReleaseLabel": {
7077+
"target": "com.amazonaws.emr#String",
7078+
"traits": {
7079+
"smithy.api#documentation": "<p>The Amazon EMR release label determines the <a href=\"https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-app-versions-6.x.html\">versions of open-source\n application packages</a> that Amazon EMR has installed on the cluster.\n Release labels are in the format <code>emr-x.x.x</code>, where x.x.x is an Amazon EMR release number such as <code>emr-6.10.0</code>. For more information about Amazon EMR releases and their included application versions and features, see the\n <i>\n <a href=\"https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-components.html\">Amazon EMR Release\n Guide</a>\n </i>.</p>",
7080+
"smithy.api#required": {}
7081+
}
7082+
},
7083+
"Marker": {
7084+
"target": "com.amazonaws.emr#String",
7085+
"traits": {
7086+
"smithy.api#documentation": "<p>The pagination token that marks the next set of results to retrieve.</p>"
7087+
}
7088+
}
7089+
},
7090+
"traits": {
7091+
"smithy.api#input": {}
7092+
}
7093+
},
7094+
"com.amazonaws.emr#ListSupportedInstanceTypesOutput": {
7095+
"type": "structure",
7096+
"members": {
7097+
"SupportedInstanceTypes": {
7098+
"target": "com.amazonaws.emr#SupportedInstanceTypesList",
7099+
"traits": {
7100+
"smithy.api#documentation": "<p>The list of instance types that the release specified in\n <code>ListSupportedInstanceTypesInput$ReleaseLabel</code> supports, filtered by Amazon Web Services Region.</p>"
7101+
}
7102+
},
7103+
"Marker": {
7104+
"target": "com.amazonaws.emr#String",
7105+
"traits": {
7106+
"smithy.api#documentation": "<p>The pagination token that marks the next set of results to retrieve.</p>"
7107+
}
7108+
}
7109+
},
7110+
"traits": {
7111+
"smithy.api#output": {}
7112+
}
7113+
},
70407114
"com.amazonaws.emr#Long": {
70417115
"type": "long",
70427116
"traits": {
@@ -8944,7 +9018,7 @@
89449018
"AllocationStrategy": {
89459019
"target": "com.amazonaws.emr#SpotProvisioningAllocationStrategy",
89469020
"traits": {
8947-
"smithy.api#documentation": "<p>Specifies one of the following strategies to launch Spot Instance fleets: <code>price-capacity-optimized</code>, <code>capacity-optimized</code>, <code>lowest-price</code>, or <code>diversified</code>. For more information on the provisioning strategies, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html\">Allocation strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <note>\n <p>When you launch a Spot Instance fleet with the old console, it automatically launches with the <code>capacity-optimized</code> strategy. You can't change the allocation strategy from the old console.</p>\n </note>"
9021+
"smithy.api#documentation": "<p> Specifies the strategy to use in launching Spot Instance fleets. Currently, the only\n option is capacity-optimized (the default), which launches instances from Spot Instance\n pools with optimal capacity for the number of instances that are launching. </p>"
89489022
}
89499023
}
89509024
},
@@ -9765,6 +9839,91 @@
97659839
"target": "com.amazonaws.emr#String"
97669840
}
97679841
},
9842+
"com.amazonaws.emr#SupportedInstanceType": {
9843+
"type": "structure",
9844+
"members": {
9845+
"Type": {
9846+
"target": "com.amazonaws.emr#String",
9847+
"traits": {
9848+
"smithy.api#documentation": "<p>The <a href=\"http://aws.amazon.com/ec2/instance-types/\">Amazon EC2 instance\n type</a>, for example <code>m5.xlarge</code>, of the\n <code>SupportedInstanceType</code>.</p>"
9849+
}
9850+
},
9851+
"MemoryGB": {
9852+
"target": "com.amazonaws.emr#Float",
9853+
"traits": {
9854+
"smithy.api#default": 0,
9855+
"smithy.api#documentation": "<p>The amount of memory that is available to Amazon EMR from the <code>SupportedInstanceType</code>. The kernel and hypervisor\n software consume some memory, so this value might be lower than the overall memory for the\n instance type.</p>"
9856+
}
9857+
},
9858+
"StorageGB": {
9859+
"target": "com.amazonaws.emr#Integer",
9860+
"traits": {
9861+
"smithy.api#documentation": "<p>\n <code>StorageGB</code> represents the storage capacity of the\n <code>SupportedInstanceType</code>. This value is <code>0</code> for Amazon EBS-only instance types.</p>"
9862+
}
9863+
},
9864+
"VCPU": {
9865+
"target": "com.amazonaws.emr#Integer",
9866+
"traits": {
9867+
"smithy.api#documentation": "<p>The number of vCPUs available for the <code>SupportedInstanceType</code>.</p>"
9868+
}
9869+
},
9870+
"Is64BitsOnly": {
9871+
"target": "com.amazonaws.emr#Boolean",
9872+
"traits": {
9873+
"smithy.api#default": false,
9874+
"smithy.api#documentation": "<p>Indicates whether the <code>SupportedInstanceType</code> only supports 64-bit\n architecture.</p>"
9875+
}
9876+
},
9877+
"InstanceFamilyId": {
9878+
"target": "com.amazonaws.emr#String",
9879+
"traits": {
9880+
"smithy.api#documentation": "<p>The Amazon EC2 family and generation for the\n <code>SupportedInstanceType</code>.</p>"
9881+
}
9882+
},
9883+
"EbsOptimizedAvailable": {
9884+
"target": "com.amazonaws.emr#Boolean",
9885+
"traits": {
9886+
"smithy.api#default": false,
9887+
"smithy.api#documentation": "<p>Indicates whether the <code>SupportedInstanceType</code> supports Amazon EBS\n optimization.</p>"
9888+
}
9889+
},
9890+
"EbsOptimizedByDefault": {
9891+
"target": "com.amazonaws.emr#Boolean",
9892+
"traits": {
9893+
"smithy.api#default": false,
9894+
"smithy.api#documentation": "<p>Indicates whether the <code>SupportedInstanceType</code> uses Amazon EBS\n optimization by default.</p>"
9895+
}
9896+
},
9897+
"NumberOfDisks": {
9898+
"target": "com.amazonaws.emr#Integer",
9899+
"traits": {
9900+
"smithy.api#documentation": "<p>Number of disks for the <code>SupportedInstanceType</code>. This value is <code>0</code>\n for Amazon EBS-only instance types.</p>"
9901+
}
9902+
},
9903+
"EbsStorageOnly": {
9904+
"target": "com.amazonaws.emr#Boolean",
9905+
"traits": {
9906+
"smithy.api#default": false,
9907+
"smithy.api#documentation": "<p>Indicates whether the <code>SupportedInstanceType</code> only supports Amazon EBS.</p>"
9908+
}
9909+
},
9910+
"Architecture": {
9911+
"target": "com.amazonaws.emr#String",
9912+
"traits": {
9913+
"smithy.api#documentation": "<p>The CPU architecture, for example <code>X86_64</code> or <code>AARCH64</code>.</p>"
9914+
}
9915+
}
9916+
},
9917+
"traits": {
9918+
"smithy.api#documentation": "<p>An instance type that the specified Amazon EMR release supports.</p>"
9919+
}
9920+
},
9921+
"com.amazonaws.emr#SupportedInstanceTypesList": {
9922+
"type": "list",
9923+
"member": {
9924+
"target": "com.amazonaws.emr#SupportedInstanceType"
9925+
}
9926+
},
97689927
"com.amazonaws.emr#SupportedProductConfig": {
97699928
"type": "structure",
97709929
"members": {

0 commit comments

Comments
 (0)