Skip to content

Commit ee8c021

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent e50b1ed commit ee8c021

File tree

41 files changed

+488
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+488
-131
lines changed

apis/ec2/2016-11-15/docs-2.json

Lines changed: 17 additions & 17 deletions
Large diffs are not rendered by default.

apis/es/2015-01-01/api-2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,8 @@
15461546
"EBSEnabled":{"shape":"Boolean"},
15471547
"VolumeType":{"shape":"VolumeType"},
15481548
"VolumeSize":{"shape":"IntegerClass"},
1549-
"Iops":{"shape":"IntegerClass"}
1549+
"Iops":{"shape":"IntegerClass"},
1550+
"Throughput":{"shape":"IntegerClass"}
15501551
}
15511552
},
15521553
"EBSOptionsStatus":{
@@ -2859,7 +2860,8 @@
28592860
"enum":[
28602861
"standard",
28612862
"gp2",
2862-
"io1"
2863+
"io1",
2864+
"gp3"
28632865
]
28642866
},
28652867
"ZoneAwarenessConfig":{

apis/es/2015-01-01/docs-2.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,8 @@
10901090
"base": null,
10911091
"refs": {
10921092
"EBSOptions$VolumeSize": "<p> Integer to specify the size of an EBS volume.</p>",
1093-
"EBSOptions$Iops": "<p>Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).</p>",
1093+
"EBSOptions$Iops": "<p>Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).</p>",
1094+
"EBSOptions$Throughput": "<p>Specifies the Throughput for GP3 EBS volume (SSD).</p>",
10941095
"ElasticsearchClusterConfig$InstanceCount": "<p>The number of instances in the specified domain cluster.</p>",
10951096
"ElasticsearchClusterConfig$DedicatedMasterCount": "<p>Total number of dedicated master nodes, active and on standby, for the cluster.</p>",
10961097
"ElasticsearchClusterConfig$WarmCount": "<p>The number of warm nodes in the cluster.</p>",
@@ -1150,7 +1151,7 @@
11501151
"base": null,
11511152
"refs": {
11521153
"AdditionalLimit$LimitName": "<p> Name of Additional Limit is specific to a given InstanceType and for each of it's <code> <a>InstanceRole</a> </code> etc. <br/> Attributes and their details: <br/> <ul> <li>MaximumNumberOfDataNodesSupported</li> This attribute will be present in Master node only to specify how much data nodes upto which given <code> <a>ESPartitionInstanceType</a> </code> can support as master node. <li>MaximumNumberOfDataNodesWithoutMasterNode</li> This attribute will be present in Data node only to specify how much data nodes of given <code> <a>ESPartitionInstanceType</a> </code> upto which you don't need any master nodes to govern them. </ul> </p>",
1153-
"StorageTypeLimit$LimitName": "<p> Name of storage limits that are applicable for given storage type. If <code> <a>StorageType</a> </code> is ebs, following storage options are applicable <ol> <li>MinimumVolumeSize</li> Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. <li>MaximumVolumeSize</li> Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. <li>MaximumIops</li> Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. <li>MinimumIops</li> Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. </ol> </p>"
1154+
"StorageTypeLimit$LimitName": "<p> Name of storage limits that are applicable for given storage type. If <code> <a>StorageType</a> </code> is ebs, following storage options are applicable <ol> <li>MinimumVolumeSize</li> Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. <li>MaximumVolumeSize</li> Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable. <li>MaximumIops</li> Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. <li>MinimumIops</li> Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable. <li>MaximumThroughput</li> Maximum amount of Throughput that is applicable for given storage type.It can be empty if it is not applicable. <li>MinimumThroughput</li> Minimum amount of Throughput that is applicable for given storage type.It can be empty if it is not applicable. </ol> </p>"
11541155
}
11551156
},
11561157
"LimitValue": {
@@ -1746,7 +1747,7 @@
17461747
}
17471748
},
17481749
"StorageSubTypeName": {
1749-
"base": "<p> SubType of the given storage type. List of available sub-storage options: For \"instance\" storageType we wont have any storageSubType, in case of \"ebs\" storageType we will have following valid storageSubTypes <ol> <li>standard</li> <li>gp2</li> <li>io1</li> </ol> Refer <code><a>VolumeType</a></code> for more information regarding above EBS storage options. </p>",
1750+
"base": "<p> SubType of the given storage type. List of available sub-storage options: For \"instance\" storageType we wont have any storageSubType, in case of \"ebs\" storageType we will have following valid storageSubTypes <ol> <li>standard</li> <li>gp2</li> <li>gp3</li> <li>io1</li> </ol> Refer <code><a>VolumeType</a></code> for more information regarding above EBS storage options. </p>",
17501751
"refs": {
17511752
"StorageType$StorageSubTypeName": null
17521753
}
@@ -2008,7 +2009,7 @@
20082009
}
20092010
},
20102011
"VolumeType": {
2011-
"base": "<p> The type of EBS volume, standard, gp2, or io1. See <a href=\"http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs\" target=\"_blank\">Configuring EBS-based Storage</a>for more information.</p>",
2012+
"base": "<p> The type of EBS volume, standard, gp2, gp3 or io1. See <a href=\"http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs\" target=\"_blank\">Configuring EBS-based Storage</a>for more information.</p>",
20122013
"refs": {
20132014
"EBSOptions$VolumeType": "<p> Specifies the volume type for EBS-based storage.</p>"
20142015
}

apis/lookoutvision/2020-11-20/api-2.json

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,19 +408,47 @@
408408
"error":{"httpStatusCode":403},
409409
"exception":true
410410
},
411+
"Anomaly":{
412+
"type":"structure",
413+
"members":{
414+
"Name":{"shape":"AnomalyName"},
415+
"PixelAnomaly":{"shape":"PixelAnomaly"}
416+
}
417+
},
411418
"AnomalyClassFilter":{
412419
"type":"string",
413420
"max":10,
414421
"min":1,
415422
"pattern":"(normal|anomaly)"
416423
},
424+
"AnomalyList":{
425+
"type":"list",
426+
"member":{"shape":"Anomaly"}
427+
},
428+
"AnomalyMask":{
429+
"type":"blob",
430+
"max":5242880,
431+
"min":1
432+
},
433+
"AnomalyName":{
434+
"type":"string",
435+
"max":256,
436+
"min":1,
437+
"pattern":"[a-zA-Z0-9]*"
438+
},
417439
"Boolean":{"type":"boolean"},
418440
"ClientToken":{
419441
"type":"string",
420442
"max":64,
421443
"min":1,
422444
"pattern":"^[a-zA-Z0-9-]+$"
423445
},
446+
"Color":{
447+
"type":"string",
448+
"max":7,
449+
"min":7,
450+
"pattern":"\\#[a-zA-Z0-9]{6}"
451+
},
424452
"CompilerOptions":{
425453
"type":"string",
426454
"max":1024,
@@ -846,7 +874,9 @@
846874
"members":{
847875
"Source":{"shape":"ImageSource"},
848876
"IsAnomalous":{"shape":"Boolean"},
849-
"Confidence":{"shape":"Float"}
877+
"Confidence":{"shape":"Float"},
878+
"Anomalies":{"shape":"AnomalyList"},
879+
"AnomalyMask":{"shape":"AnomalyMask"}
850880
}
851881
},
852882
"ExceptionString":{"type":"string"},
@@ -1271,6 +1301,13 @@
12711301
"max":2048,
12721302
"pattern":"^[a-zA-Z0-9\\/\\+\\=]{0,2048}$"
12731303
},
1304+
"PixelAnomaly":{
1305+
"type":"structure",
1306+
"members":{
1307+
"TotalPercentageArea":{"shape":"Float"},
1308+
"Color":{"shape":"Color"}
1309+
}
1310+
},
12741311
"ProjectArn":{"type":"string"},
12751312
"ProjectDescription":{
12761313
"type":"structure",
@@ -1548,8 +1585,7 @@
15481585
"type":"structure",
15491586
"required":[
15501587
"Os",
1551-
"Arch",
1552-
"Accelerator"
1588+
"Arch"
15531589
],
15541590
"members":{
15551591
"Os":{"shape":"TargetPlatformOs"},

apis/lookoutvision/2020-11-20/docs-2.json

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"DescribeModel": "<p>Describes a version of an Amazon Lookout for Vision model.</p> <p>This operation requires permissions to perform the <code>lookoutvision:DescribeModel</code> operation.</p>",
1313
"DescribeModelPackagingJob": "<p>Describes an Amazon Lookout for Vision model packaging job. </p> <p>This operation requires permissions to perform the <code>lookoutvision:DescribeModelPackagingJob</code> operation.</p> <p>For more information, see <i>Using your Amazon Lookout for Vision model on an edge device</i> in the Amazon Lookout for Vision Developer Guide. </p>",
1414
"DescribeProject": "<p>Describes an Amazon Lookout for Vision project.</p> <p>This operation requires permissions to perform the <code>lookoutvision:DescribeProject</code> operation.</p>",
15-
"DetectAnomalies": "<p>Detects anomalies in an image that you supply. </p> <p>The response from <code>DetectAnomalies</code> includes a boolean prediction that the image contains one or more anomalies and a confidence value for the prediction.</p> <note> <p>Before calling <code>DetectAnomalies</code>, you must first start your model with the <a>StartModel</a> operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your model uses. If you are not using a model, use the <a>StopModel</a> operation to stop your model. </p> </note> <p>This operation requires permissions to perform the <code>lookoutvision:DetectAnomalies</code> operation.</p>",
15+
"DetectAnomalies": "<p>Detects anomalies in an image that you supply. </p> <p>The response from <code>DetectAnomalies</code> includes a boolean prediction that the image contains one or more anomalies and a confidence value for the prediction. If the model is an image segmentation model, the response also includes segmentation information for each type of anomaly found in the image.</p> <note> <p>Before calling <code>DetectAnomalies</code>, you must first start your model with the <a>StartModel</a> operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your model uses. If you are not using a model, use the <a>StopModel</a> operation to stop your model. </p> </note> <p>For more information, see <i>Detecting anomalies in an image</i> in the Amazon Lookout for Vision developer guide.</p> <p>This operation requires permissions to perform the <code>lookoutvision:DetectAnomalies</code> operation.</p>",
1616
"ListDatasetEntries": "<p>Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.</p> <p>This operation requires permissions to perform the <code>lookoutvision:ListDatasetEntries</code> operation.</p>",
1717
"ListModelPackagingJobs": "<p> Lists the model packaging jobs created for an Amazon Lookout for Vision project. </p> <p>This operation requires permissions to perform the <code>lookoutvision:ListModelPackagingJobs</code> operation. </p> <p>For more information, see <i>Using your Amazon Lookout for Vision model on an edge device</i> in the Amazon Lookout for Vision Developer Guide. </p>",
1818
"ListModels": "<p>Lists the versions of a model in an Amazon Lookout for Vision project.</p> <p>The <code>ListModels</code> operation is eventually consistent. Recent calls to <code>CreateModel</code> might take a while to appear in the response from <code>ListProjects</code>.</p> <p>This operation requires permissions to perform the <code>lookoutvision:ListModels</code> operation.</p>",
@@ -31,16 +31,40 @@
3131
"refs": {
3232
}
3333
},
34+
"Anomaly": {
35+
"base": "<p>Information about an anomaly type found on an image by an image segmentation model. For more information, see <a>DetectAnomalies</a>.</p>",
36+
"refs": {
37+
"AnomalyList$member": null
38+
}
39+
},
3440
"AnomalyClassFilter": {
3541
"base": null,
3642
"refs": {
3743
"ListDatasetEntriesRequest$AnomalyClass": "<p>Specify <code>normal</code> to include only normal images. Specify <code>anomaly</code> to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.</p>"
3844
}
3945
},
46+
"AnomalyList": {
47+
"base": null,
48+
"refs": {
49+
"DetectAnomalyResult$Anomalies": "<p>If the model is an image segmentation model, <code>Anomalies</code> contains a list of anomaly types found in the image. There is one entry for each type of anomaly found (even if multiple instances of an anomaly type exist on the image). The first element in the list is always an anomaly type representing the image background ('background') and shouldn't be considered an anomaly. Amazon Lookout for Vision automatically add the background anomaly type to the response, and you don't need to declare a background anomaly type in your dataset.</p> <p>If the list has one entry ('background'), no anomalies were found on the image.</p> <p/> <p>An image classification model doesn't return an <code>Anomalies</code> list. </p>"
50+
}
51+
},
52+
"AnomalyMask": {
53+
"base": null,
54+
"refs": {
55+
"DetectAnomalyResult$AnomalyMask": "<p>If the model is an image segmentation model, <code>AnomalyMask</code> contains pixel masks that covers all anomaly types found on the image. Each anomaly type has a different mask color. To map a color to an anomaly type, see the <code>color</code> field of the <a>PixelAnomaly</a> object.</p> <p>An image classification model doesn't return an <code>Anomalies</code> list. </p>"
56+
}
57+
},
58+
"AnomalyName": {
59+
"base": null,
60+
"refs": {
61+
"Anomaly$Name": "<p>The name of an anomaly type found in an image. <code>Name</code> maps to an anomaly type in the training dataset, apart from the anomaly type <code>background</code>. The service automatically inserts the <code>background</code> anomaly type into the response from <code>DetectAnomalies</code>. </p>"
62+
}
63+
},
4064
"Boolean": {
4165
"base": null,
4266
"refs": {
43-
"DetectAnomalyResult$IsAnomalous": "<p>True if the image contains an anomaly, otherwise false.</p>"
67+
"DetectAnomalyResult$IsAnomalous": "<p>True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.</p>"
4468
}
4569
},
4670
"ClientToken": {
@@ -58,10 +82,16 @@
5882
"UpdateDatasetEntriesRequest$ClientToken": "<p>ClientToken is an idempotency token that ensures a call to <code>UpdateDatasetEntries</code> completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from <code>UpdateDatasetEntries</code>. In this case, safely retry your call to <code>UpdateDatasetEntries</code> by using the same <code>ClientToken</code> parameter value.</p> <p>If you don't supply a value for <code>ClientToken</code>, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases. </p> <p>An error occurs if the other input parameters are not the same as in the first request. Using a different value for <code>ClientToken</code> is considered a new call to <code>UpdateDatasetEntries</code>. An idempotency token is active for 8 hours. </p>"
5983
}
6084
},
85+
"Color": {
86+
"base": null,
87+
"refs": {
88+
"PixelAnomaly$Color": "<p>A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset. </p>"
89+
}
90+
},
6191
"CompilerOptions": {
6292
"base": null,
6393
"refs": {
64-
"GreengrassConfiguration$CompilerOptions": "<p>Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported. If you specify <code>TargetPlatform</code>, you must specify <code>CompilerOptions</code>. If you specify <code>TargetDevice</code>, don't specify <code>CompilerOptions</code>.</p> <p>For more information, see <i>Compiler options</i> in the Amazon Lookout for Vision Developer Guide. </p>"
94+
"GreengrassConfiguration$CompilerOptions": "<p>Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify <code>TargetDevice</code>, don't specify <code>CompilerOptions</code>.</p> <p>For more information, see <i>Compiler options</i> in the Amazon Lookout for Vision Developer Guide. </p>"
6595
}
6696
},
6797
"ComponentDescription": {
@@ -313,7 +343,7 @@
313343
}
314344
},
315345
"DetectAnomalyResult": {
316-
"base": "<p>The prediction results from a call to <a>DetectAnomalies</a>.</p>",
346+
"base": "<p>The prediction results from a call to <a>DetectAnomalies</a>. <code>DetectAnomalyResult</code> includes classification information for the prediction (<code>IsAnomalous</code> and <code>Confidence</code>). If the model you use is an image segementation model, <code>DetectAnomalyResult</code> also includes segmentation information (<code>Anomalies</code> and <code>AnomalyMask</code>). Classification information is calculated separately from segmentation information and you shouldn't assume a relationship between them.</p>",
317347
"refs": {
318348
"DetectAnomaliesResponse$DetectAnomalyResult": "<p>The results of the <code>DetectAnomalies</code> operation.</p>"
319349
}
@@ -340,10 +370,11 @@
340370
"Float": {
341371
"base": null,
342372
"refs": {
343-
"DetectAnomalyResult$Confidence": "<p>The confidence that Amazon Lookout for Vision has in the accuracy of the prediction.</p>",
373+
"DetectAnomalyResult$Confidence": "<p>The confidence that Lookout for Vision has in the accuracy of the classification in <code>IsAnomalous</code>.</p>",
344374
"ModelPerformance$F1Score": "<p>The overall F1 score metric for the trained model.</p>",
345375
"ModelPerformance$Recall": "<p>The overall recall metric value for the trained model. </p>",
346-
"ModelPerformance$Precision": "<p>The overall precision metric value for the trained model.</p>"
376+
"ModelPerformance$Precision": "<p>The overall precision metric value for the trained model.</p>",
377+
"PixelAnomaly$TotalPercentageArea": "<p>The percentage area of the image that the anomaly type covers.</p>"
347378
}
348379
},
349380
"GreengrassConfiguration": {
@@ -651,6 +682,12 @@
651682
"ListProjectsResponse$NextToken": "<p>If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of projects.</p>"
652683
}
653684
},
685+
"PixelAnomaly": {
686+
"base": "<p>Information about the pixels in an anomaly mask. For more information, see <a>Anomaly</a>. <code>PixelAnomaly</code> is only returned by image segmentation models.</p>",
687+
"refs": {
688+
"Anomaly$PixelAnomaly": "<p>Information about the pixel mask that covers an anomaly type.</p>"
689+
}
690+
},
654691
"ProjectArn": {
655692
"base": null,
656693
"refs": {
@@ -874,7 +911,7 @@
874911
"TargetPlatformAccelerator": {
875912
"base": null,
876913
"refs": {
877-
"TargetPlatform$Accelerator": "<p>The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator that is currently supported. You must also specify the <code>gpu-code</code>, <code>trt-ver</code>, and <code>cuda-ver</code> compiler options. </p>"
914+
"TargetPlatform$Accelerator": "<p>The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the <code>gpu-code</code>, <code>trt-ver</code>, and <code>cuda-ver</code> compiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the <a>GreengrassConfiguration$CompilerOptions</a> field. For example, you can use the following compiler options for CPU: </p> <ul> <li> <p> <code>mcpu</code>: CPU micro-architecture. For example, <code>{'mcpu': 'skylake-avx512'}</code> </p> </li> <li> <p> <code>mattr</code>: CPU flags. For example, <code>{'mattr': ['+neon', '+vfpv4']}</code> </p> </li> </ul>"
878915
}
879916
},
880917
"TargetPlatformArch": {

0 commit comments

Comments
 (0)