Skip to content

Commit faa22e0

Browse files
committed
Update PutLayerACL output.
1 parent 6a4640f commit faa22e0

File tree

11 files changed

+248
-270
lines changed

11 files changed

+248
-270
lines changed

fc-open-20210406/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-09-06 Version: 1.1.11
2+
- Update PutLayerACL output.
3+
14
2022-09-02 Version: 1.1.10
25
- Add ClaimGPUInstance for GPU render.
36
- Add ReleaseGPUInstance for GPU render.

fc-open-20210406/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-fc_open20210406</artifactId>
6-
<version>1.1.10</version>
6+
<version>1.1.11</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-fc_open20210406</name>
99
<description>Alibaba Cloud FC-Open (20210406) Async SDK for Java

fc-open-20210406/src/main/java/com/aliyun/sdk/service/fc_open20210406/DefaultAsyncClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ public CompletableFuture<PutFunctionOnDemandConfigResponse> putFunctionOnDemandC
821821
public CompletableFuture<PutLayerACLResponse> putLayerACL(PutLayerACLRequest request) {
822822
try {
823823
this.handler.validateRequestModel(request);
824-
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("PutLayerACL").setMethod(HttpMethod.PUT).setPathRegex("/2021-04-06/layers/{layerName}/acl").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
824+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("PutLayerACL").setMethod(HttpMethod.PUT).setPathRegex("/2021-04-06/layers/{layerName}/acl").setBodyType(BodyType.NONE).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
825825
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PutLayerACLResponse.create());
826826
return this.handler.execute(params);
827827
} catch (Exception e) {

fc-open-20210406/src/main/java/com/aliyun/sdk/service/fc_open20210406/models/PutLayerACLResponse.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,9 @@ public class PutLayerACLResponse extends Response {
1616
@Validation(required = true)
1717
private java.util.Map < String, String > headers;
1818

19-
@NameInMap("body")
20-
@Validation(required = true)
21-
private String body;
22-
2319
private PutLayerACLResponse(BuilderImpl builder) {
2420
super(builder);
2521
this.headers = builder.headers;
26-
this.body = builder.body;
2722
}
2823

2924
public static PutLayerACLResponse create() {
@@ -42,19 +37,10 @@ public java.util.Map < String, String > getHeaders() {
4237
return this.headers;
4338
}
4439

45-
/**
46-
* @return body
47-
*/
48-
public String getBody() {
49-
return this.body;
50-
}
51-
5240
public interface Builder extends Response.Builder<PutLayerACLResponse, Builder> {
5341

5442
Builder headers(java.util.Map < String, String > headers);
5543

56-
Builder body(String body);
57-
5844
@Override
5945
PutLayerACLResponse build();
6046

@@ -64,7 +50,6 @@ private static final class BuilderImpl
6450
extends Response.BuilderImpl<PutLayerACLResponse, Builder>
6551
implements Builder {
6652
private java.util.Map < String, String > headers;
67-
private String body;
6853

6954
private BuilderImpl() {
7055
super();
@@ -73,7 +58,6 @@ private BuilderImpl() {
7358
private BuilderImpl(PutLayerACLResponse response) {
7459
super(response);
7560
this.headers = response.headers;
76-
this.body = response.body;
7761
}
7862

7963
/**
@@ -85,15 +69,6 @@ public Builder headers(java.util.Map < String, String > headers) {
8569
return this;
8670
}
8771

88-
/**
89-
* body.
90-
*/
91-
@Override
92-
public Builder body(String body) {
93-
this.body = body;
94-
return this;
95-
}
96-
9772
@Override
9873
public PutLayerACLResponse build() {
9974
return new PutLayerACLResponse(this);

fc-open-20210406/target/alibabacloud-fc_open20210406-1.1.10.jar renamed to fc-open-20210406/target/alibabacloud-fc_open20210406-1.1.11.jar

755 KB
Binary file not shown.
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Generated by Maven
2-
#Fri Sep 02 09:28:05 UTC 2022
3-
version=1.1.10
2+
#Tue Sep 06 02:50:21 UTC 2022
3+
version=1.1.11
44
groupId=com.aliyun
55
artifactId=alibabacloud-fc_open20210406

0 commit comments

Comments
 (0)