Skip to content

Commit 16107d6

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent adc96b4 commit 16107d6

File tree

8 files changed

+293
-39
lines changed

8 files changed

+293
-39
lines changed

CHANGELOG.md

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

4+
* Feature - Aws::Comprehend - Updated the API, and documentation for Amazon Comprehend.
5+
6+
* Feature - Aws::EC2 - Updated the API, and documentation for Amazon Elastic Compute Cloud.
7+
8+
* Feature - Aws::MediaPackage - Updated the API, and documentation for AWS Elemental MediaPackage.
9+
410
2.11.422 (2020-01-02)
511
------------------
612

aws-sdk-core/apis/comprehend/2017-11-27/api-2.json

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,11 @@
971971
"Accuracy":{"shape":"Double"},
972972
"Precision":{"shape":"Double"},
973973
"Recall":{"shape":"Double"},
974-
"F1Score":{"shape":"Double"}
974+
"F1Score":{"shape":"Double"},
975+
"MicroPrecision":{"shape":"Double"},
976+
"MicroRecall":{"shape":"Double"},
977+
"MicroF1Score":{"shape":"Double"},
978+
"HammingLoss":{"shape":"Double"}
975979
}
976980
},
977981
"ClassifierMetadata":{
@@ -997,7 +1001,8 @@
9971001
"ClassifyDocumentResponse":{
9981002
"type":"structure",
9991003
"members":{
1000-
"Classes":{"shape":"ListOfClasses"}
1004+
"Classes":{"shape":"ListOfClasses"},
1005+
"Labels":{"shape":"ListOfLabels"}
10011006
}
10021007
},
10031008
"ClientRequestTokenString":{
@@ -1058,7 +1063,8 @@
10581063
},
10591064
"LanguageCode":{"shape":"LanguageCode"},
10601065
"VolumeKmsKeyId":{"shape":"KmsKeyId"},
1061-
"VpcConfig":{"shape":"VpcConfig"}
1066+
"VpcConfig":{"shape":"VpcConfig"},
1067+
"Mode":{"shape":"DocumentClassifierMode"}
10621068
}
10631069
},
10641070
"CreateDocumentClassifierResponse":{
@@ -1413,9 +1419,17 @@
14131419
"type":"structure",
14141420
"required":["S3Uri"],
14151421
"members":{
1416-
"S3Uri":{"shape":"S3Uri"}
1422+
"S3Uri":{"shape":"S3Uri"},
1423+
"LabelDelimiter":{"shape":"LabelDelimiter"}
14171424
}
14181425
},
1426+
"DocumentClassifierMode":{
1427+
"type":"string",
1428+
"enum":[
1429+
"MULTI_CLASS",
1430+
"MULTI_LABEL"
1431+
]
1432+
},
14191433
"DocumentClassifierOutputDataConfig":{
14201434
"type":"structure",
14211435
"members":{
@@ -1439,13 +1453,21 @@
14391453
"ClassifierMetadata":{"shape":"ClassifierMetadata"},
14401454
"DataAccessRoleArn":{"shape":"IamRoleArn"},
14411455
"VolumeKmsKeyId":{"shape":"KmsKeyId"},
1442-
"VpcConfig":{"shape":"VpcConfig"}
1456+
"VpcConfig":{"shape":"VpcConfig"},
1457+
"Mode":{"shape":"DocumentClassifierMode"}
14431458
}
14441459
},
14451460
"DocumentClassifierPropertiesList":{
14461461
"type":"list",
14471462
"member":{"shape":"DocumentClassifierProperties"}
14481463
},
1464+
"DocumentLabel":{
1465+
"type":"structure",
1466+
"members":{
1467+
"Name":{"shape":"String"},
1468+
"Score":{"shape":"Float"}
1469+
}
1470+
},
14491471
"DominantLanguage":{
14501472
"type":"structure",
14511473
"members":{
@@ -1825,6 +1847,12 @@
18251847
},
18261848
"exception":true
18271849
},
1850+
"LabelDelimiter":{
1851+
"type":"string",
1852+
"max":1,
1853+
"min":1,
1854+
"pattern":"^[ ~!@#$%^*\\-_+=|\\\\:;\\t>?/]$"
1855+
},
18281856
"LanguageCode":{
18291857
"type":"string",
18301858
"enum":[
@@ -1983,6 +2011,10 @@
19832011
"type":"list",
19842012
"member":{"shape":"KeyPhrase"}
19852013
},
2014+
"ListOfLabels":{
2015+
"type":"list",
2016+
"member":{"shape":"DocumentLabel"}
2017+
},
19862018
"ListOfSyntaxTokens":{
19872019
"type":"list",
19882020
"member":{"shape":"SyntaxToken"}

aws-sdk-core/apis/comprehend/2017-11-27/docs-2.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,13 @@
508508
"DocumentClassifierProperties$InputDataConfig": "<p>The input data configuration that you supplied when you created the document classifier for training.</p>"
509509
}
510510
},
511+
"DocumentClassifierMode": {
512+
"base": null,
513+
"refs": {
514+
"CreateDocumentClassifierRequest$Mode": "<p>Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class mode, which identifies one and only one class for each document, or multi-label mode, which identifies one or more labels for each document. In multi-label mode, multiple labels for an individual document are separated by a delimiter. The default delimiter between labels is a pipe (|).</p>",
515+
"DocumentClassifierProperties$Mode": "<p>Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.</p>"
516+
}
517+
},
511518
"DocumentClassifierOutputDataConfig": {
512519
"base": "<p>Provides output results configuration parameters for custom classifier jobs. </p>",
513520
"refs": {
@@ -528,6 +535,12 @@
528535
"ListDocumentClassifiersResponse$DocumentClassifierPropertiesList": "<p>A list containing the properties of each job returned.</p>"
529536
}
530537
},
538+
"DocumentLabel": {
539+
"base": "<p>Specifies one of the label or labels that categorize the document being analyzed.</p>",
540+
"refs": {
541+
"ListOfLabels$member": null
542+
}
543+
},
531544
"DominantLanguage": {
532545
"base": "<p>Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
533546
"refs": {
@@ -560,6 +573,10 @@
560573
"ClassifierEvaluationMetrics$Precision": "<p>A measure of the usefulness of the classifier results in the test data. High precision means that the classifier returned substantially more relevant results than irrelevant ones.</p>",
561574
"ClassifierEvaluationMetrics$Recall": "<p>A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. </p>",
562575
"ClassifierEvaluationMetrics$F1Score": "<p>A measure of how accurate the classifier results are for the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>",
576+
"ClassifierEvaluationMetrics$MicroPrecision": "<p>A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. Unlike the Precision metric which comes from averaging the precision of all available labels, this is based on the overall score of all precision scores added together.</p>",
577+
"ClassifierEvaluationMetrics$MicroRecall": "<p>A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. Specifically, this indicates how many of the correct categories in the text that the model can predict. It is a percentage of correct categories in the text that can found. Instead of averaging the recall scores of all labels (as with Recall), micro Recall is based on the overall score of all recall scores added together.</p>",
578+
"ClassifierEvaluationMetrics$MicroF1Score": "<p>A measure of how accurate the classifier results are for the test data. It is a combination of the <code>Micro Precision</code> and <code>Micro Recall</code> values. The <code>Micro F1Score</code> is the harmonic mean of the two scores. The highest score is 1, and the worst score is 0.</p>",
579+
"ClassifierEvaluationMetrics$HammingLoss": "<p>Indicates the fraction of labels that are incorrectly predicted. Also seen as the fraction of wrong labels compared to the total number of labels. Scores closer to zero are better.</p>",
563580
"EntityRecognizerEvaluationMetrics$Precision": "<p>A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. </p>",
564581
"EntityRecognizerEvaluationMetrics$Recall": "<p>A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.</p>",
565582
"EntityRecognizerEvaluationMetrics$F1Score": "<p>A measure of how accurate the recognizer results are for the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>",
@@ -733,6 +750,7 @@
733750
"base": null,
734751
"refs": {
735752
"DocumentClass$Score": "<p>The confidence score that Amazon Comprehend has this class correctly attributed.</p>",
753+
"DocumentLabel$Score": "<p>The confidence score that Amazon Comprehend has this label correctly attributed.</p>",
736754
"DominantLanguage$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
737755
"Entity$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
738756
"KeyPhrase$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
@@ -975,6 +993,12 @@
975993
"refs": {
976994
}
977995
},
996+
"LabelDelimiter": {
997+
"base": null,
998+
"refs": {
999+
"DocumentClassifierInputDataConfig$LabelDelimiter": "<p>Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL.</p>"
1000+
}
1001+
},
9781002
"LanguageCode": {
9791003
"base": null,
9801004
"refs": {
@@ -1123,6 +1147,12 @@
11231147
"DetectKeyPhrasesResponse$KeyPhrases": "<p>A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection. </p>"
11241148
}
11251149
},
1150+
"ListOfLabels": {
1151+
"base": null,
1152+
"refs": {
1153+
"ClassifyDocumentResponse$Labels": "<p>The labels used the document being analyzed. These are used for multi-label trained models. Individual labels represent different categories that are related in some manner and are not multually exclusive. For example, a movie can be just an action movie, or it can be an action movie, a science fiction movie, and a comedy, all at the same time. </p>"
1154+
}
1155+
},
11261156
"ListOfSyntaxTokens": {
11271157
"base": null,
11281158
"refs": {
@@ -1429,6 +1459,7 @@
14291459
"DetectSentimentRequest$Text": "<p>A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.</p>",
14301460
"DetectSyntaxRequest$Text": "<p>A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.</p>",
14311461
"DocumentClass$Name": "<p>The name of the class.</p>",
1462+
"DocumentLabel$Name": "<p>The name of the label.</p>",
14321463
"DominantLanguage$LanguageCode": "<p>The RFC 5646 language code for the dominant language. For more information about RFC 5646, see <a href=\"https://tools.ietf.org/html/rfc5646\">Tags for Identifying Languages</a> on the <i>IETF Tools</i> web site.</p>",
14331464
"Entity$Text": "<p>The text of the entity.</p>",
14341465
"InternalServerException$Message": null,

aws-sdk-core/apis/ec2/2016-11-15/api-2.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3435,6 +3435,15 @@
34353435
"input":{"shape":"StartInstancesRequest"},
34363436
"output":{"shape":"StartInstancesResult"}
34373437
},
3438+
"StartVpcEndpointServicePrivateDnsVerification":{
3439+
"name":"StartVpcEndpointServicePrivateDnsVerification",
3440+
"http":{
3441+
"method":"POST",
3442+
"requestUri":"/"
3443+
},
3444+
"input":{"shape":"StartVpcEndpointServicePrivateDnsVerificationRequest"},
3445+
"output":{"shape":"StartVpcEndpointServicePrivateDnsVerificationResult"}
3446+
},
34383447
"StopInstances":{
34393448
"name":"StopInstances",
34403449
"http":{
@@ -7674,6 +7683,7 @@
76747683
"members":{
76757684
"DryRun":{"shape":"Boolean"},
76767685
"AcceptanceRequired":{"shape":"Boolean"},
7686+
"PrivateDnsName":{"shape":"String"},
76777687
"NetworkLoadBalancerArns":{
76787688
"shape":"ValueStringList",
76797689
"locationName":"NetworkLoadBalancerArn"
@@ -13194,6 +13204,14 @@
1319413204
"locationName":"item"
1319513205
}
1319613206
},
13207+
"DnsNameState":{
13208+
"type":"string",
13209+
"enum":[
13210+
"pendingVerification",
13211+
"verified",
13212+
"failed"
13213+
]
13214+
},
1319713215
"DnsServersOptionsModifyStructure":{
1319813216
"type":"structure",
1319913217
"members":{
@@ -18096,6 +18114,19 @@
1809618114
},
1809718115
"KeyPairName":{"type":"string"},
1809818116
"KmsKeyId":{"type":"string"},
18117+
"LastError":{
18118+
"type":"structure",
18119+
"members":{
18120+
"Message":{
18121+
"shape":"String",
18122+
"locationName":"message"
18123+
},
18124+
"Code":{
18125+
"shape":"String",
18126+
"locationName":"code"
18127+
}
18128+
}
18129+
},
1809918130
"LaunchPermission":{
1810018131
"type":"structure",
1810118132
"members":{
@@ -20068,6 +20099,8 @@
2006820099
"members":{
2006920100
"DryRun":{"shape":"Boolean"},
2007020101
"ServiceId":{"shape":"ServiceId"},
20102+
"PrivateDnsName":{"shape":"String"},
20103+
"RemovePrivateDnsName":{"shape":"Boolean"},
2007120104
"AcceptanceRequired":{"shape":"Boolean"},
2007220105
"AddNetworkLoadBalancerArns":{
2007320106
"shape":"ValueStringList",
@@ -21581,6 +21614,27 @@
2158121614
"Role"
2158221615
]
2158321616
},
21617+
"PrivateDnsNameConfiguration":{
21618+
"type":"structure",
21619+
"members":{
21620+
"State":{
21621+
"shape":"DnsNameState",
21622+
"locationName":"state"
21623+
},
21624+
"Type":{
21625+
"shape":"String",
21626+
"locationName":"type"
21627+
},
21628+
"Value":{
21629+
"shape":"String",
21630+
"locationName":"value"
21631+
},
21632+
"Name":{
21633+
"shape":"String",
21634+
"locationName":"name"
21635+
}
21636+
}
21637+
},
2158421638
"PrivateIpAddressConfigSet":{
2158521639
"type":"list",
2158621640
"member":{
@@ -24516,6 +24570,10 @@
2451624570
"shape":"String",
2451724571
"locationName":"privateDnsName"
2451824572
},
24573+
"PrivateDnsNameConfiguration":{
24574+
"shape":"PrivateDnsNameConfiguration",
24575+
"locationName":"privateDnsNameConfiguration"
24576+
},
2451924577
"Tags":{
2452024578
"shape":"TagList",
2452124579
"locationName":"tagSet"
@@ -24575,6 +24633,10 @@
2457524633
"Tags":{
2457624634
"shape":"TagList",
2457724635
"locationName":"tagSet"
24636+
},
24637+
"PrivateDnsNameVerificationState":{
24638+
"shape":"DnsNameState",
24639+
"locationName":"privateDnsNameVerificationState"
2457824640
}
2457924641
}
2458024642
},
@@ -25519,6 +25581,23 @@
2551925581
}
2552025582
}
2552125583
},
25584+
"StartVpcEndpointServicePrivateDnsVerificationRequest":{
25585+
"type":"structure",
25586+
"required":["ServiceId"],
25587+
"members":{
25588+
"DryRun":{"shape":"Boolean"},
25589+
"ServiceId":{"shape":"ServiceId"}
25590+
}
25591+
},
25592+
"StartVpcEndpointServicePrivateDnsVerificationResult":{
25593+
"type":"structure",
25594+
"members":{
25595+
"ReturnValue":{
25596+
"shape":"Boolean",
25597+
"locationName":"return"
25598+
}
25599+
}
25600+
},
2552225601
"State":{
2552325602
"type":"string",
2552425603
"enum":[
@@ -28269,6 +28348,10 @@
2826928348
"OwnerId":{
2827028349
"shape":"String",
2827128350
"locationName":"ownerId"
28351+
},
28352+
"LastError":{
28353+
"shape":"LastError",
28354+
"locationName":"lastError"
2827228355
}
2827328356
}
2827428357
},

0 commit comments

Comments
 (0)