Skip to content

Commit 888d668

Browse files
committed
Move the TemplateBody parameter of ValidateTemplate to the request body to support larger template size.
1 parent 3dee2df commit 888d668

37 files changed

+86
-70
lines changed

ros-20190910/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-03-28 Version: 1.2.23
2+
- Move the TemplateBody parameter of ValidateTemplate to the request body to support larger template size.
3+
14
2023-03-15 Version: 1.2.22
25
- Add GetTemplateRecommendParameters interface to SDK.
36

ros-20190910/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0modelVersion>
44
<groupId>com.aliyungroupId>
55
<artifactId>alibabacloud-ros20190910artifactId>
6-
<version>1.2.22version>
6+
<version>1.2.23version>
77
<packaging>jarpackaging>
88
<name>alibabacloud-ros20190910name>
99
<description>Alibaba Cloud ROS (20190910) Async SDK for Java
@@ -41,7 +41,7 @@
4141
<java.version>1.8java.version>
4242
<maven.compiler.source>8maven.compiler.source>
4343
<maven.compiler.target>8maven.compiler.target>
44-
<service.version>0.1.11-betaservice.version>
44+
<service.version>0.1.13-betaservice.version>
4545
properties>
4646
<dependencies>
4747
<dependency>

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/DefaultAsyncClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ public CompletableFuture updateTemplateScratch(Up
13141314
public CompletableFuture<ValidateTemplateResponse> validateTemplate(ValidateTemplateRequest request) {
13151315
try {
13161316
this.handler.validateRequestModel(request);
1317-
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ValidateTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
1317+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ValidateTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
13181318
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ValidateTemplateResponse.create());
13191319
return this.handler.execute(params);
13201320
} catch (Exception e) {

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CancelStackOperationRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private Builder(CancelStackOperationRequest request) {
9898
}
9999

100100
/**
101-
* test
101+
* The operation N that you want to cancel on the stack.
102102
*/
103103
public Builder allowedStackOperations(java.util.List < String > allowedStackOperations) {
104104
this.putQueryParameter("AllowedStackOperations", allowedStackOperations);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/ContinueCreateStackRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public Builder parallelism(Long parallelism) {
287287
}
288288

289289
/**
290-
* test
290+
* The parameters of the template.
291291
*/
292292
public Builder parameters(java.util.List < Parameters> parameters) {
293293
this.putQueryParameter("Parameters", parameters);
@@ -312,7 +312,7 @@ public Builder ramRoleName(String ramRoleName) {
312312
}
313313

314314
/**
315-
* test
315+
* Option N that ROS adopts when ROS continues to create the stack.
316316
*/
317317
public Builder recreatingOptions(java.util.List < String > recreatingOptions) {
318318
this.putQueryParameter("RecreatingOptions", recreatingOptions);
@@ -321,7 +321,7 @@ public Builder recreatingOptions(java.util.List < String > recreatingOptions) {
321321
}
322322

323323
/**
324-
* RecreatingResources.
324+
* Resource N that ROS continues to create after the resource failed to be created.
325325
*/
326326
public Builder recreatingResources(java.util.List < String > recreatingResources) {
327327
this.putQueryParameter("RecreatingResources", recreatingResources);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CreateChangeSetRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public Builder disableRollback(Boolean disableRollback) {
464464
}
465465

466466
/**
467-
* NotificationURLs.
467+
* The callback URL that is used to receive stack event N.
468468
*/
469469
public Builder notificationURLs(java.util.List < String > notificationURLs) {
470470
this.putQueryParameter("NotificationURLs", notificationURLs);
@@ -496,7 +496,7 @@ public Builder parallelism(Long parallelism) {
496496
}
497497

498498
/**
499-
* Parameters.
499+
* The list of parameters.
500500
*/
501501
public Builder parameters(java.util.List < Parameters> parameters) {
502502
this.putQueryParameter("Parameters", parameters);
@@ -545,7 +545,7 @@ public Builder replacementOption(String replacementOption) {
545545
}
546546

547547
/**
548-
* ResourcesToImport.
548+
* The key-value mapping between strings.
549549
*/
550550
public Builder resourcesToImport(java.util.List < ResourcesToImport> resourcesToImport) {
551551
this.putQueryParameter("ResourcesToImport", resourcesToImport);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CreateStackGroupRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public Builder executionRoleName(String executionRoleName) {
315315
}
316316

317317
/**
318-
* test
318+
* The parameters.
319319
*/
320320
public Builder parameters(java.util.List < Parameters> parameters) {
321321
this.putQueryParameter("Parameters", parameters);
@@ -374,7 +374,7 @@ public Builder stackGroupName(String stackGroupName) {
374374
}
375375

376376
/**
377-
* Tags.
377+
* The tags.
378378
*/
379379
public Builder tags(java.util.List < Tags> tags) {
380380
this.putQueryParameter("Tags", tags);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CreateStackInstancesRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public Builder operationPreferences(java.util.Map < String, ? > operationPrefere
323323
}
324324

325325
/**
326-
* test
326+
* The parameters.
327327
*/
328328
public Builder parameterOverrides(java.util.List < ParameterOverrides> parameterOverrides) {
329329
this.putQueryParameter("ParameterOverrides", parameterOverrides);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CreateStackRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public Builder disableRollback(Boolean disableRollback) {
392392
}
393393

394394
/**
395-
* NotificationURLs.
395+
* The callback URL that is used to receive stack event N.
396396
*/
397397
public Builder notificationURLs(java.util.List < String > notificationURLs) {
398398
this.putQueryParameter("NotificationURLs", notificationURLs);
@@ -417,7 +417,7 @@ public Builder parallelism(Long parallelism) {
417417
}
418418

419419
/**
420-
* test
420+
* The parameters.
421421
*/
422422
public Builder parameters(java.util.List < Parameters> parameters) {
423423
this.putQueryParameter("Parameters", parameters);
@@ -501,7 +501,7 @@ public Builder stackPolicyURL(String stackPolicyURL) {
501501
}
502502

503503
/**
504-
* test
504+
* The tags.
505505
*/
506506
public Builder tags(java.util.List < Tags> tags) {
507507
this.putQueryParameter("Tags", tags);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CreateTemplateRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public Builder resourceGroupId(String resourceGroupId) {
146146
}
147147

148148
/**
149-
* Tags.
149+
* The tags.
150150
*/
151151
public Builder tags(java.util.List < Tags> tags) {
152152
this.putQueryParameter("Tags", tags);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/CreateTemplateScratchRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public Builder sourceTag(SourceTag sourceTag) {
298298
}
299299

300300
/**
301-
* Tags.
301+
* The tags.
302302
*/
303303
public Builder tags(java.util.List < Tags> tags) {
304304
this.putQueryParameter("Tags", tags);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/DeleteStackRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public Builder retainAllResources(Boolean retainAllResources) {
152152
}
153153

154154
/**
155-
* RetainResources.
155+
* The name of resource N that you want to retain.
156156
*/
157157
public Builder retainResources(java.util.List < String > retainResources) {
158158
this.putQueryParameter("RetainResources", retainResources);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/DetectStackDriftRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public Builder clientToken(String clientToken) {
112112
}
113113

114114
/**
115-
* LogicalResourceId.
115+
* The logical ID of resource.
116116
*/
117117
public Builder logicalResourceId(java.util.List < String > logicalResourceId) {
118118
this.putQueryParameter("LogicalResourceId", logicalResourceId);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GenerateTemplatePolicyRequest.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,22 @@ private Builder(GenerateTemplatePolicyRequest request) {
110110
}
111111

112112
/**
113-
* OperationTypes.
113+
* The type of operation N for which you want to generate the policy information.
114+
*

115+
*
116+
* Valid values:
117+
*
118+
* * CreateStack: creates a stack by calling the CreateStack operation.
119+
* * UpdateStack: updates a stack by calling the UpdateStack operation.
120+
* * DeleteStack: deletes a stack by calling the DeleteStack operation.
121+
* * DetectStackDrift: detects drifts on a stack by calling the DelectStackDrift operation.
122+
* * ListStackOperationRisks: lists the risks of a deletion operation on a stack by setting the OperationType parameter to DeleteStack in the ListStackOperationRisks operation.
123+
* * GetTemplateEstimateCost: queries the estimated prices of resources that you want to use in the template by calling the GetTemplateEstimateCost operation.
124+
* * GetTemplateParameterConstraints: queries the values of parameters in the template by calling the GetTemplateParameterConstraints operation.
125+
* * ImportResourcesToStack: imports resources to a stack by setting the ChangeSetType parameter to IMPORT in the CreateChangeSet operation.
126+
* * SignalResource: sends a signal to a stack.
127+
*
128+
* > The default value is the combination of all valid values.
114129
*/
115130
public Builder operationTypes(java.util.List < String > operationTypes) {
116131
this.putQueryParameter("OperationTypes", operationTypes);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GetServiceProvisionsRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private Builder(GetServiceProvisionsRequest request) {
139139
}
140140

141141
/**
142-
* Parameters.
142+
* The list of parameters.
143143
*/
144144
public Builder parameters(java.util.List < Parameters> parameters) {
145145
this.putQueryParameter("Parameters", parameters);
@@ -160,7 +160,7 @@ public Builder regionId(String regionId) {
160160
}
161161

162162
/**
163-
* Services.
163+
* The services.
164164
*/
165165
public Builder services(java.util.List < Services> services) {
166166
this.putQueryParameter("Services", services);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GetStackResourceRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public Builder regionId(String regionId) {
159159
}
160160

161161
/**
162-
* ResourceAttributes.
162+
* The name of resource property N that you want to query.
163163
*/
164164
public Builder resourceAttributes(java.util.List < String > resourceAttributes) {
165165
this.putQueryParameter("ResourceAttributes", resourceAttributes);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GetTemplateEstimateCostRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public Builder clientToken(String clientToken) {
181181
}
182182

183183
/**
184-
* Parameters.
184+
* The parameters.
185185
*/
186186
public Builder parameters(java.util.List < Parameters> parameters) {
187187
this.putQueryParameter("Parameters", parameters);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GetTemplateParameterConstraintsRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public Builder clientToken(String clientToken) {
195195
}
196196

197197
/**
198-
* Parameters.
198+
* The name of parameter N in the template.
199199
*/
200200
public Builder parameters(java.util.List < Parameters> parameters) {
201201
this.putQueryParameter("Parameters", parameters);
@@ -239,7 +239,7 @@ public Builder regionId(String regionId) {
239239
}
240240

241241
/**
242-
* StackId.
242+
* The ID of the stack.
243243
*/
244244
public Builder stackId(String stackId) {
245245
this.putQueryParameter("StackId", stackId);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GetTemplateParameterConstraintsResponseBody.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,18 @@ public static final class Builder {
110110
private String resourceType;
111111

112112
/**
113-
* PropertyName.
113+
* The name of the resource property.
114114
*/
115115
public Builder propertyName(String propertyName) {
116116
this.propertyName = propertyName;
117117
return this;
118118
}
119119

120120
/**
121-
* ResourceType.
121+
* The resource type.
122+
*

123+
*
124+
* You can call the [ListResourceTypes](~~133957~~) operation to query the resource type.
122125
*/
123126
public Builder resourceType(String resourceType) {
124127
this.resourceType = resourceType;
@@ -183,23 +186,23 @@ public static final class Builder {
183186
private String resourceType;
184187

185188
/**
186-
* ErrorMessage.
189+
* The error message.
187190
*/
188191
public Builder errorMessage(String errorMessage) {
189192
this.errorMessage = errorMessage;
190193
return this;
191194
}
192195

193196
/**
194-
* ResourceName.
197+
* The name of the resource.
195198
*/
196199
public Builder resourceName(String resourceName) {
197200
this.resourceName = resourceName;
198201
return this;
199202
}
200203

201204
/**
202-
* ResourceType.
205+
* The resource type.
203206
*/
204207
public Builder resourceType(String resourceType) {
205208
this.resourceType = resourceType;
@@ -409,7 +412,7 @@ public Builder illegalValueByRules(java.util.List < ? > illegalValueByRules) {
409412
}
410413

411414
/**
412-
* NotSupportResources.
415+
* The unsupported resources in the template.
413416
*/
414417
public Builder notSupportResources(java.util.List < NotSupportResources> notSupportResources) {
415418
this.notSupportResources = notSupportResources;
@@ -425,7 +428,7 @@ public Builder parameterKey(String parameterKey) {
425428
}
426429

427430
/**
428-
* QueryErrors.
431+
* The error details that are returned if the request fails.
429432
*/
430433
public Builder queryErrors(java.util.List < QueryErrors> queryErrors) {
431434
this.queryErrors = queryErrors;

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/GetTemplateSummaryRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public Builder clientToken(String clientToken) {
206206
}
207207

208208
/**
209-
* test
209+
* The parameters.
210210
*/
211211
public Builder parameters(java.util.List < Parameters> parameters) {
212212
this.putQueryParameter("Parameters", parameters);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/ListChangeSetsRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public Builder changeSetId(String changeSetId) {
163163
}
164164

165165
/**
166-
* ChangeSetName.
166+
* The name of change set.
167167
*/
168168
public Builder changeSetName(java.util.List < String > changeSetName) {
169169
this.putQueryParameter("ChangeSetName", changeSetName);
@@ -172,7 +172,7 @@ public Builder changeSetName(java.util.List < String > changeSetName) {
172172
}
173173

174174
/**
175-
* ExecutionStatus.
175+
* The execution status of change set.
176176
*/
177177
public Builder executionStatus(java.util.List < String > executionStatus) {
178178
this.putQueryParameter("ExecutionStatus", executionStatus);
@@ -227,7 +227,7 @@ public Builder stackId(String stackId) {
227227
}
228228

229229
/**
230-
* Status.
230+
* The status of change set.
231231
*/
232232
public Builder status(java.util.List < String > status) {
233233
this.putQueryParameter("Status", status);

ros-20190910/src/main/java/com/aliyun/sdk/service/ros20190910/models/ListStackEventsRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private Builder(ListStackEventsRequest request) {
140140
}
141141

142142
/**
143-
* LogicalResourceId.
143+
* The logical ID of the resource that is defined in the template.
144144
*/
145145
public Builder logicalResourceId(java.util.List < String > logicalResourceId) {
146146
this.putQueryParameter("LogicalResourceId", logicalResourceId);
@@ -186,7 +186,7 @@ public Builder regionId(String regionId) {
186186
}
187187

188188
/**
189-
* ResourceType.
189+
* The list of resource types.
190190
*/
191191
public Builder resourceType(java.util.List < String > resourceType) {
192192
this.putQueryParameter("ResourceType", resourceType);
@@ -204,7 +204,7 @@ public Builder stackId(String stackId) {
204204
}
205205

206206
/**
207-
* Status.
207+
* The state of the resource.
208208
*/
209209
public Builder status(java.util.List < String > status) {
210210
this.putQueryParameter("Status", status);

0 commit comments

Comments
 (0)