Skip to content

Commit bbaa0ca

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 74bca15 commit bbaa0ca

File tree

7 files changed

+255
-228
lines changed

7 files changed

+255
-228
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::EMR - Updated the API, and documentation for Amazon Elastic MapReduce.
5+
6+
* Feature - Aws::RDSDataService - Updated the API, and documentation for AWS RDS DataService.
7+
48
2.11.203 (2019-01-10)
59
------------------
610

aws-sdk-core/apis/elasticmapreduce/2009-03-31/api-2.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"serviceId":"EMR",
1111
"signatureVersion":"v4",
1212
"targetPrefix":"ElasticMapReduce",
13-
"timestampFormat":"unixTimestamp",
1413
"uid":"elasticmapreduce-2009-03-31"
1514
},
1615
"operations":{

aws-sdk-core/apis/elasticmapreduce/2009-03-31/docs-2.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"ActionOnFailure": {
3535
"base": null,
3636
"refs": {
37-
"Step$ActionOnFailure": "<p>This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.</p>",
38-
"StepConfig$ActionOnFailure": "<p>The action to take if the step fails.</p>",
39-
"StepSummary$ActionOnFailure": "<p>This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.</p>"
37+
"Step$ActionOnFailure": "<p>The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.</p>",
38+
"StepConfig$ActionOnFailure": "<p>The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward compatibility. We recommend using TERMINATE_CLUSTER instead.</p>",
39+
"StepSummary$ActionOnFailure": "<p>The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility. We recommend using TERMINATE_CLUSTER instead.</p>"
4040
}
4141
},
4242
"AddInstanceFleetInput": {
@@ -86,7 +86,7 @@
8686
}
8787
},
8888
"Application": {
89-
"base": "<p>An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see <a href=\"http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-mapr.html\">Using the MapR Distribution for Hadoop</a>. Currently supported values are:</p> <ul> <li> <p>\"mapr-m3\" - launch the cluster using MapR M3 Edition.</p> </li> <li> <p>\"mapr-m5\" - launch the cluster using MapR M5 Edition.</p> </li> <li> <p>\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the cluster using MapR M3 or M5 Edition, respectively.</p> </li> </ul> <note> <p>In Amazon EMR releases 4.x and later, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.</p> </note>",
89+
"base": "<p>With Amazon EMR release version 4.0 and later, the only accepted parameter is the application name. To pass arguments to applications, you use configuration classifications specified using configuration JSON objects. For more information, see <a href=\"http://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html\">Configuring Applications</a>.</p> <p>With earlier Amazon EMR releases, the application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument.</p>",
9090
"refs": {
9191
"ApplicationList$member": null
9292
}
@@ -95,7 +95,7 @@
9595
"base": null,
9696
"refs": {
9797
"Cluster$Applications": "<p>The applications installed on this cluster.</p>",
98-
"RunJobFlowInput$Applications": "<p>For Amazon EMR releases 4.0 and later. A list of applications for the cluster. Valid values are: \"Hadoop\", \"Hive\", \"Mahout\", \"Pig\", and \"Spark.\" They are case insensitive.</p>"
98+
"RunJobFlowInput$Applications": "<p>Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. For a list of applications available for each Amazon EMR release version, see the <a href=\"http://docs.aws.amazon.com/emr/latest/ReleaseGuide/\">Amazon EMR Release Guide</a>.</p>"
9999
}
100100
},
101101
"AutoScalingPolicy": {
@@ -805,9 +805,9 @@
805805
"InstanceTypeConfig$InstanceType": "<p>An EC2 instance type, such as <code>m3.xlarge</code>. </p>",
806806
"InstanceTypeSpecification$InstanceType": "<p>The EC2 instance type, for example <code>m3.xlarge</code>.</p>",
807807
"JobFlowInstancesConfig$MasterInstanceType": "<p>The EC2 instance type of the master node.</p>",
808-
"JobFlowInstancesConfig$SlaveInstanceType": "<p>The EC2 instance type of the slave nodes.</p>",
808+
"JobFlowInstancesConfig$SlaveInstanceType": "<p>The EC2 instance type of the core and task nodes.</p>",
809809
"JobFlowInstancesDetail$MasterInstanceType": "<p>The Amazon EC2 master node instance type.</p>",
810-
"JobFlowInstancesDetail$SlaveInstanceType": "<p>The Amazon EC2 slave node instance type.</p>"
810+
"JobFlowInstancesDetail$SlaveInstanceType": "<p>The Amazon EC2 core and task node instance type.</p>"
811811
}
812812
},
813813
"InstanceTypeConfig": {
@@ -851,7 +851,7 @@
851851
"InstanceGroupModifyConfig$InstanceCount": "<p>Target size for the instance group.</p>",
852852
"InstanceResizePolicy$InstanceTerminationTimeout": "<p>Decommissioning timeout override for the specific list of instances to be terminated.</p>",
853853
"JobFlowInstancesConfig$InstanceCount": "<p>The number of EC2 instances in the cluster.</p>",
854-
"JobFlowInstancesDetail$InstanceCount": "<p>The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.</p>",
854+
"JobFlowInstancesDetail$InstanceCount": "<p>The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.</p>",
855855
"JobFlowInstancesDetail$NormalizedInstanceHours": "<p>An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour that an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.</p>",
856856
"RunJobFlowInput$EbsRootVolumeSize": "<p>The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.</p>",
857857
"ScalingConstraints$MinCapacity": "<p>The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.</p>",
@@ -1198,7 +1198,7 @@
11981198
"base": null,
11991199
"refs": {
12001200
"JobFlowInstancesConfig$AdditionalMasterSecurityGroups": "<p>A list of additional Amazon EC2 security group IDs for the master node.</p>",
1201-
"JobFlowInstancesConfig$AdditionalSlaveSecurityGroups": "<p>A list of additional Amazon EC2 security group IDs for the slave nodes.</p>"
1201+
"JobFlowInstancesConfig$AdditionalSlaveSecurityGroups": "<p>A list of additional Amazon EC2 security group IDs for the core and task nodes.</p>"
12021202
}
12031203
},
12041204
"SetTerminationProtectionInput": {
@@ -1233,7 +1233,7 @@
12331233
"SpotProvisioningTimeoutAction": {
12341234
"base": null,
12351235
"refs": {
1236-
"SpotProvisioningSpecification$TimeoutAction": "<p>The action to take when <code>TargetSpotCapacity</code> has not been fulfilled when the <code>TimeoutDurationMinutes</code> has expired. Spot instances are not uprovisioned within the Spot provisioining timeout. Valid values are <code>TERMINATE_CLUSTER</code> and <code>SWITCH_TO_ON_DEMAND</code>. SWITCH_TO_ON_DEMAND specifies that if no Spot instances are available, On-Demand Instances should be provisioned to fulfill any remaining Spot capacity.</p>"
1236+
"SpotProvisioningSpecification$TimeoutAction": "<p>The action to take when <code>TargetSpotCapacity</code> has not been fulfilled when the <code>TimeoutDurationMinutes</code> has expired; that is, when all Spot instances could not be provisioned within the Spot provisioning timeout. Valid values are <code>TERMINATE_CLUSTER</code> and <code>SWITCH_TO_ON_DEMAND</code>. SWITCH_TO_ON_DEMAND specifies that if no Spot instances are available, On-Demand Instances should be provisioned to fulfill any remaining Spot capacity.</p>"
12371237
}
12381238
},
12391239
"Statistic": {
@@ -1383,7 +1383,7 @@
13831383
"Ec2InstanceAttributes$Ec2AvailabilityZone": "<p>The Availability Zone in which the cluster will run. </p>",
13841384
"Ec2InstanceAttributes$IamInstanceProfile": "<p>The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role.</p>",
13851385
"Ec2InstanceAttributes$EmrManagedMasterSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the master node.</p>",
1386-
"Ec2InstanceAttributes$EmrManagedSlaveSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the slave nodes.</p>",
1386+
"Ec2InstanceAttributes$EmrManagedSlaveSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the core and task nodes.</p>",
13871387
"Ec2InstanceAttributes$ServiceAccessSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.</p>",
13881388
"FailureDetails$Reason": "<p>The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns \"Unknown Error\" as a reason.</p>",
13891389
"FailureDetails$Message": "<p>The descriptive message including the error the EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.</p>",
@@ -1421,7 +1421,7 @@
14211421
"Application$Args": "<p>Arguments for Amazon EMR to pass to the application.</p>",
14221422
"Command$Args": "<p>Arguments for Amazon EMR to pass to the command for execution.</p>",
14231423
"Ec2InstanceAttributes$AdditionalMasterSecurityGroups": "<p>A list of additional Amazon EC2 security group IDs for the master node.</p>",
1424-
"Ec2InstanceAttributes$AdditionalSlaveSecurityGroups": "<p>A list of additional Amazon EC2 security group IDs for the slave nodes.</p>",
1424+
"Ec2InstanceAttributes$AdditionalSlaveSecurityGroups": "<p>A list of additional Amazon EC2 security group IDs for the core and task nodes.</p>",
14251425
"HadoopStepConfig$Args": "<p>The list of command line arguments to pass to the JAR file's main function for execution.</p>",
14261426
"RemoveTagsInput$TagKeys": "<p>A list of tag keys to remove from a resource.</p>"
14271427
}
@@ -1573,7 +1573,7 @@
15731573
"JobFlowInstancesConfig$HadoopVersion": "<p>Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are \"0.18\" (deprecated), \"0.20\" (deprecated), \"0.20.205\" (deprecated), \"1.0.3\", \"2.2.0\", or \"2.4.0\". If you do not set this value, the default of 0.18 is used, unless the <code>AmiVersion</code> parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.</p>",
15741574
"JobFlowInstancesConfig$Ec2SubnetId": "<p>Applies to clusters that use the uniform instance group configuration. To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.</p> <p>Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.</p>",
15751575
"JobFlowInstancesConfig$EmrManagedMasterSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the master node.</p>",
1576-
"JobFlowInstancesConfig$EmrManagedSlaveSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the slave nodes.</p>",
1576+
"JobFlowInstancesConfig$EmrManagedSlaveSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the core and task nodes.</p>",
15771577
"JobFlowInstancesConfig$ServiceAccessSecurityGroup": "<p>The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.</p>",
15781578
"JobFlowInstancesDetail$Ec2KeyName": "<p>The name of an Amazon EC2 key pair that can be used to ssh to the master node.</p>",
15791579
"JobFlowInstancesDetail$Ec2SubnetId": "<p>For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.</p>",

aws-sdk-core/apis/rds-data/2018-08-01/api-2.json

Lines changed: 70 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,6 @@
4646
"type": "boolean",
4747
"box": true
4848
},
49-
"SqlStatementResult": {
50-
"type": "structure",
51-
"members": {
52-
"numberOfRecordsUpdated": {
53-
"shape": "Long"
54-
},
55-
"resultFrame": {
56-
"shape": "ResultFrame"
57-
}
58-
}
59-
},
6049
"ForbiddenException": {
6150
"type": "structure",
6251
"members": {
@@ -118,6 +107,62 @@
118107
"shape": "ColumnMetadata"
119108
}
120109
},
110+
"ResultFrame": {
111+
"type": "structure",
112+
"members": {
113+
"records": {
114+
"shape": "Records"
115+
},
116+
"resultSetMetadata": {
117+
"shape": "ResultSetMetadata"
118+
}
119+
}
120+
},
121+
"Long": {
122+
"type": "long",
123+
"box": true
124+
},
125+
"Row": {
126+
"type": "list",
127+
"member": {
128+
"shape": "Value"
129+
}
130+
},
131+
"String": {
132+
"type": "string"
133+
},
134+
"ArrayValues": {
135+
"type": "list",
136+
"member": {
137+
"shape": "Value"
138+
}
139+
},
140+
"Float": {
141+
"type": "float",
142+
"box": true
143+
},
144+
"ExecuteSqlResponse": {
145+
"type": "structure",
146+
"required": [
147+
"sqlStatementResults"
148+
],
149+
"members": {
150+
"sqlStatementResults": {
151+
"shape": "SqlStatementResults"
152+
}
153+
}
154+
},
155+
"SqlStatementResult": {
156+
"type": "structure",
157+
"members": {
158+
"numberOfRecordsUpdated": {
159+
"shape": "Long"
160+
},
161+
"resultFrame": {
162+
"shape": "ResultFrame"
163+
}
164+
}
165+
},
121166
"ResultSetMetadata": {
122167
"type": "structure",
123168
"members": {
@@ -135,17 +180,6 @@
135180
"shape": "Record"
136181
}
137182
},
138-
"ResultFrame": {
139-
"type": "structure",
140-
"members": {
141-
"records": {
142-
"shape": "Records"
143-
},
144-
"resultSetMetadata": {
145-
"shape": "ResultSetMetadata"
146-
}
147-
}
148-
},
149183
"ExecuteSqlRequest": {
150184
"type": "structure",
151185
"required": [
@@ -155,25 +189,25 @@
155189
],
156190
"members": {
157191
"awsSecretStoreArn": {
158-
"shape": "String"
192+
"shape": "Arn"
159193
},
160194
"database": {
161-
"shape": "String"
195+
"shape": "DbName"
162196
},
163197
"dbClusterOrInstanceArn": {
164-
"shape": "String"
198+
"shape": "Arn"
165199
},
166200
"schema": {
167-
"shape": "String"
201+
"shape": "DbName"
168202
},
169203
"sqlStatements": {
170-
"shape": "String"
204+
"shape": "SqlStatement"
171205
}
172206
}
173207
},
174-
"Long": {
175-
"type": "long",
176-
"box": true
208+
"Arn": {
209+
"type": "string",
210+
"max": 1024
177211
},
178212
"StructValue": {
179213
"type": "structure",
@@ -200,20 +234,9 @@
200234
"Blob": {
201235
"type": "blob"
202236
},
203-
"Row": {
204-
"type": "list",
205-
"member": {
206-
"shape": "Value"
207-
}
208-
},
209-
"String": {
210-
"type": "string"
211-
},
212-
"ArrayValues": {
213-
"type": "list",
214-
"member": {
215-
"shape": "Value"
216-
}
237+
"SqlStatement": {
238+
"type": "string",
239+
"max": 65536
217240
},
218241
"Double": {
219242
"type": "double",
@@ -280,9 +303,9 @@
280303
"type": "integer",
281304
"box": true
282305
},
283-
"Float": {
284-
"type": "float",
285-
"box": true
306+
"DbName": {
307+
"type": "string",
308+
"max": 64
286309
},
287310
"Record": {
288311
"type": "structure",
@@ -301,17 +324,6 @@
301324
"httpStatusCode": 500,
302325
"fault": true
303326
}
304-
},
305-
"ExecuteSqlResponse": {
306-
"type": "structure",
307-
"required": [
308-
"sqlStatementResults"
309-
],
310-
"members": {
311-
"sqlStatementResults": {
312-
"shape": "SqlStatementResults"
313-
}
314-
}
315327
}
316328
}
317329
}

0 commit comments

Comments
 (0)