Skip to content

Commit 6a72a78

Browse files
Increase minimum length of queryId parameter to 1 character.
1 parent f06ddcf commit 6a72a78

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

generator/ServiceModels/logs/logs-2014-03-28.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4119,7 +4119,7 @@
41194119
"QueryId":{
41204120
"type":"string",
41214121
"max":256,
4122-
"min":0
4122+
"min":1
41234123
},
41244124
"QueryInfo":{
41254125
"type":"structure",

generator/ServiceModels/logs/logs-2014-03-28.normal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6054,7 +6054,7 @@
60546054
"QueryId":{
60556055
"type":"string",
60566056
"max":256,
6057-
"min":0
6057+
"min":1
60586058
},
60596059
"QueryInfo":{
60606060
"type":"structure",

sdk/code-analysis/ServiceAnalysis/CloudWatchLogs/Generated/PropertyValueRules.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
</property-value-rule>
199199
<property-value-rule>
200200
<property>Amazon.CloudWatchLogs.Model.DeleteQueryDefinitionRequest.QueryDefinitionId</property>
201-
<min>0</min>
201+
<min>1</min>
202202
<max>256</max>
203203
</property-value-rule>
204204
<property-value-rule>
@@ -710,7 +710,7 @@
710710
</property-value-rule>
711711
<property-value-rule>
712712
<property>Amazon.CloudWatchLogs.Model.GetQueryResultsRequest.QueryId</property>
713-
<min>0</min>
713+
<min>1</min>
714714
<max>256</max>
715715
</property-value-rule>
716716
<property-value-rule>
@@ -810,7 +810,7 @@
810810
</property-value-rule>
811811
<property-value-rule>
812812
<property>Amazon.CloudWatchLogs.Model.ListLogGroupsForQueryRequest.QueryId</property>
813-
<min>0</min>
813+
<min>1</min>
814814
<max>256</max>
815815
</property-value-rule>
816816
<property-value-rule>
@@ -971,7 +971,7 @@
971971
</property-value-rule>
972972
<property-value-rule>
973973
<property>Amazon.CloudWatchLogs.Model.PutQueryDefinitionRequest.QueryDefinitionId</property>
974-
<min>0</min>
974+
<min>1</min>
975975
<max>256</max>
976976
</property-value-rule>
977977
<property-value-rule>
@@ -981,7 +981,7 @@
981981
</property-value-rule>
982982
<property-value-rule>
983983
<property>Amazon.CloudWatchLogs.Model.PutQueryDefinitionResponse.QueryDefinitionId</property>
984-
<min>0</min>
984+
<min>1</min>
985985
<max>256</max>
986986
</property-value-rule>
987987
<property-value-rule>
@@ -1057,12 +1057,12 @@
10571057
</property-value-rule>
10581058
<property-value-rule>
10591059
<property>Amazon.CloudWatchLogs.Model.StartQueryResponse.QueryId</property>
1060-
<min>0</min>
1060+
<min>1</min>
10611061
<max>256</max>
10621062
</property-value-rule>
10631063
<property-value-rule>
10641064
<property>Amazon.CloudWatchLogs.Model.StopQueryRequest.QueryId</property>
1065-
<min>0</min>
1065+
<min>1</min>
10661066
<max>256</max>
10671067
</property-value-rule>
10681068
<property-value-rule>
@@ -1841,7 +1841,7 @@
18411841
</property-value-rule>
18421842
<property-value-rule>
18431843
<property>Amazon.CloudWatchLogs.Model.QueryDefinition.QueryDefinitionId</property>
1844-
<min>0</min>
1844+
<min>1</min>
18451845
<max>256</max>
18461846
</property-value-rule>
18471847
<property-value-rule>
@@ -1861,7 +1861,7 @@
18611861
</property-value-rule>
18621862
<property-value-rule>
18631863
<property>Amazon.CloudWatchLogs.Model.QueryInfo.QueryId</property>
1864-
<min>0</min>
1864+
<min>1</min>
18651865
<max>256</max>
18661866
</property-value-rule>
18671867
<property-value-rule>

sdk/src/Services/CloudWatchLogs/Generated/Model/DeleteQueryDefinitionRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public partial class DeleteQueryDefinitionRequest : AmazonCloudWatchLogsRequest
5555
/// to retrieve the IDs of your saved query definitions.
5656
/// </para>
5757
/// </summary>
58-
[AWSProperty(Required=true, Min=0, Max=256)]
58+
[AWSProperty(Required=true, Min=1, Max=256)]
5959
public string QueryDefinitionId
6060
{
6161
get { return this._queryDefinitionId; }

sdk/src/Services/CloudWatchLogs/Generated/Model/GetQueryResultsRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public partial class GetQueryResultsRequest : AmazonCloudWatchLogsRequest
7171
/// The ID number of the query.
7272
/// </para>
7373
/// </summary>
74-
[AWSProperty(Required=true, Min=0, Max=256)]
74+
[AWSProperty(Required=true, Min=1, Max=256)]
7575
public string QueryId
7676
{
7777
get { return this._queryId; }

sdk/src/Services/CloudWatchLogs/Generated/Model/ListLogGroupsForQueryRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ internal bool IsSetNextToken()
9090
/// operation.
9191
/// </para>
9292
/// </summary>
93-
[AWSProperty(Required=true, Min=0, Max=256)]
93+
[AWSProperty(Required=true, Min=1, Max=256)]
9494
public string QueryId
9595
{
9696
get { return this._queryId; }

sdk/src/Services/CloudWatchLogs/Generated/Model/PutQueryDefinitionRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ internal bool IsSetName()
146146
/// to this operation.
147147
/// </para>
148148
/// </summary>
149-
[AWSProperty(Min=0, Max=256)]
149+
[AWSProperty(Min=1, Max=256)]
150150
public string QueryDefinitionId
151151
{
152152
get { return this._queryDefinitionId; }

sdk/src/Services/CloudWatchLogs/Generated/Model/PutQueryDefinitionResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public partial class PutQueryDefinitionResponse : AmazonWebServiceResponse
4242
/// The ID of the query definition.
4343
/// </para>
4444
/// </summary>
45-
[AWSProperty(Min=0, Max=256)]
45+
[AWSProperty(Min=1, Max=256)]
4646
public string QueryDefinitionId
4747
{
4848
get { return this._queryDefinitionId; }

sdk/src/Services/CloudWatchLogs/Generated/Model/QueryDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ internal bool IsSetName()
109109
/// The unique ID of the query definition.
110110
/// </para>
111111
/// </summary>
112-
[AWSProperty(Min=0, Max=256)]
112+
[AWSProperty(Min=1, Max=256)]
113113
public string QueryDefinitionId
114114
{
115115
get { return this._queryDefinitionId; }

sdk/src/Services/CloudWatchLogs/Generated/Model/QueryInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ internal bool IsSetLogGroupName()
8686
/// The unique ID number of this query.
8787
/// </para>
8888
/// </summary>
89-
[AWSProperty(Min=0, Max=256)]
89+
[AWSProperty(Min=1, Max=256)]
9090
public string QueryId
9191
{
9292
get { return this._queryId; }

0 commit comments

Comments
 (0)