Skip to content

Commit f5e0785

Browse files
committed
Generated java 2023-03-30 for FC.
1 parent f5c75b1 commit f5e0785

23 files changed

+190
-27
lines changed

fc-20230330/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-12-05 Version: 4.6.4
2+
- Generated java 2023-03-30 for FC.
3+
14
2025-10-28 Version: 4.6.3
25
- Generated java 2023-03-30 for FC.
36

fc-20230330/pom.xml

Lines changed: 2 additions & 3 deletions
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>fc20230330</artifactId>
6-
<version>4.6.3</version>
6+
<version>4.6.4</version>
77
<packaging>jar</packaging>
88
<name>fc20230330</name>
99
<description>Alibaba Cloud Function Compute (20230330) SDK for Java
@@ -173,12 +173,11 @@
173173
<plugin>
174174
<groupId>org.sonatype.central</groupId>
175175
<artifactId>central-publishing-maven-plugin</artifactId>
176-
<version>0.8.0</version>
176+
<version>0.9.0</version>
177177
<extensions>true</extensions>
178178
<configuration>
179179
<publishingServerId>central</publishingServerId>
180180
<autoPublish>true</autoPublish>
181-
<waitUntil>published</waitUntil>
182181
</configuration>
183182
</plugin>
184183
</plugins>

fc-20230330/src/main/java/com/aliyun/fc20230330/Client.java

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ public String getEndpoint(String productId, String regionId, String endpointRule
2727
}
2828

2929
/**
30+
* <b>description</b> :
31+
* <p>To update the resource group of a Function Compute resource, you must grant the user the ChangeResourceGroup permission on both the current resource group and the target resource group.</p>
32+
*
3033
* <b>summary</b> :
31-
* <p>修改实例所在资源组</p>
34+
* <p>Updates the resource group of a Function Compute resource.</p>
3235
*
3336
* @param request ChangeResourceGroupRequest
3437
* @param headers map
@@ -56,8 +59,11 @@ public ChangeResourceGroupResponse changeResourceGroupWithOptions(ChangeResource
5659
}
5760

5861
/**
62+
* <b>description</b> :
63+
* <p>To update the resource group of a Function Compute resource, you must grant the user the ChangeResourceGroup permission on both the current resource group and the target resource group.</p>
64+
*
5965
* <b>summary</b> :
60-
* <p>修改实例所在资源组</p>
66+
* <p>Updates the resource group of a Function Compute resource.</p>
6167
*
6268
* @param request ChangeResourceGroupRequest
6369
* @return ChangeResourceGroupResponse
@@ -250,7 +256,7 @@ public CreateLayerVersionResponse createLayerVersion(String layerName, CreateLay
250256

251257
/**
252258
* <b>summary</b> :
253-
* <p>创建会话资源</p>
259+
* <p>The CreateSession operation creates an explicit session resource. The system automatically generates a unique session ID, pre-allocates a function instance, and associates it with the session. You can specify values for TTL and idle timeout. This method applies to the HEADER_FIELD and GENERATED_COOKIE affinity types. It handles session preload and configuration initialization. After you call the InvokeFunction API, the session information can be included in the InvokeFunction request to enable request routing.</p>
254260
*
255261
* @param request CreateSessionRequest
256262
* @param headers map
@@ -285,7 +291,7 @@ public CreateSessionResponse createSessionWithOptions(String functionName, Creat
285291

286292
/**
287293
* <b>summary</b> :
288-
* <p>创建会话资源</p>
294+
* <p>The CreateSession operation creates an explicit session resource. The system automatically generates a unique session ID, pre-allocates a function instance, and associates it with the session. You can specify values for TTL and idle timeout. This method applies to the HEADER_FIELD and GENERATED_COOKIE affinity types. It handles session preload and configuration initialization. After you call the InvokeFunction API, the session information can be included in the InvokeFunction request to enable request routing.</p>
289295
*
290296
* @param request CreateSessionRequest
291297
* @return CreateSessionResponse
@@ -698,7 +704,7 @@ public DeleteProvisionConfigResponse deleteProvisionConfig(String functionName,
698704

699705
/**
700706
* <b>summary</b> :
701-
* <p>删除弹性配置</p>
707+
* <p>Deletes the scaling settings of a function.</p>
702708
*
703709
* @param request DeleteScalingConfigRequest
704710
* @param headers map
@@ -732,7 +738,7 @@ public DeleteScalingConfigResponse deleteScalingConfigWithOptions(String functio
732738

733739
/**
734740
* <b>summary</b> :
735-
* <p>删除弹性配置</p>
741+
* <p>Deletes the scaling settings of a function.</p>
736742
*
737743
* @param request DeleteScalingConfigRequest
738744
* @return DeleteScalingConfigResponse
@@ -745,7 +751,7 @@ public DeleteScalingConfigResponse deleteScalingConfig(String functionName, Dele
745751

746752
/**
747753
* <b>summary</b> :
748-
* <p>删除会话资源</p>
754+
* <p>Deletes the specified session and prohibits new requests from being routed to it. Clears the session metadata from the database, so subsequent requests with the same session ID are treated as new sessions. Releases resources and performs session cleanup. In session isolation scenarios, terminates running requests and releases the instance bound to the session. In non-session isolation scenarios, allows running requests to continue and gracefully terminates them.</p>
749755
*
750756
* @param request DeleteSessionRequest
751757
* @param headers map
@@ -779,7 +785,7 @@ public DeleteSessionResponse deleteSessionWithOptions(String functionName, Strin
779785

780786
/**
781787
* <b>summary</b> :
782-
* <p>删除会话资源</p>
788+
* <p>Deletes the specified session and prohibits new requests from being routed to it. Clears the session metadata from the database, so subsequent requests with the same session ID are treated as new sessions. Releases resources and performs session cleanup. In session isolation scenarios, terminates running requests and releases the instance bound to the session. In non-session isolation scenarios, allows running requests to continue and gracefully terminates them.</p>
783789
*
784790
* @param request DeleteSessionRequest
785791
* @return DeleteSessionResponse
@@ -866,7 +872,7 @@ public DeleteVpcBindingResponse deleteVpcBinding(String functionName, String vpc
866872

867873
/**
868874
* <b>summary</b> :
869-
* <p>查询产品的地域信息列表</p>
875+
* <p>Queries the regions where Function Compute 3.0 is available.</p>
870876
*
871877
* @param request DescribeRegionsRequest
872878
* @param headers map
@@ -900,7 +906,7 @@ public DescribeRegionsResponse describeRegionsWithOptions(DescribeRegionsRequest
900906

901907
/**
902908
* <b>summary</b> :
903-
* <p>查询产品的地域信息列表</p>
909+
* <p>Queries the regions where Function Compute 3.0 is available.</p>
904910
*
905911
* @param request DescribeRegionsRequest
906912
* @return DescribeRegionsResponse
@@ -970,7 +976,7 @@ public DisableFunctionInvocationResponse disableFunctionInvocation(String functi
970976

971977
/**
972978
* <b>summary</b> :
973-
* <p>允许函数调用</p>
979+
* <p>The EnableFunctionInvocation operation allows a function to be invoked and resumes the creation of provisioned instances. This operation is currently in private preview.</p>
974980
*
975981
* @param headers map
976982
* @param runtime runtime options for this request RuntimeOptions
@@ -996,7 +1002,7 @@ public EnableFunctionInvocationResponse enableFunctionInvocationWithOptions(Stri
9961002

9971003
/**
9981004
* <b>summary</b> :
999-
* <p>允许函数调用</p>
1005+
* <p>The EnableFunctionInvocation operation allows a function to be invoked and resumes the creation of provisioned instances. This operation is currently in private preview.</p>
10001006
* @return EnableFunctionInvocationResponse
10011007
*/
10021008
public EnableFunctionInvocationResponse enableFunctionInvocation(String functionName) throws Exception {
@@ -1427,7 +1433,7 @@ public GetProvisionConfigResponse getProvisionConfig(String functionName, GetPro
14271433

14281434
/**
14291435
* <b>summary</b> :
1430-
* <p>获取弹性配置</p>
1436+
* <p>Gets the scaling settings of a function.</p>
14311437
*
14321438
* @param request GetScalingConfigRequest
14331439
* @param headers map
@@ -1461,7 +1467,7 @@ public GetScalingConfigResponse getScalingConfigWithOptions(String functionName,
14611467

14621468
/**
14631469
* <b>summary</b> :
1464-
* <p>获取弹性配置</p>
1470+
* <p>Gets the scaling settings of a function.</p>
14651471
*
14661472
* @param request GetScalingConfigRequest
14671473
* @return GetScalingConfigResponse
@@ -1474,7 +1480,7 @@ public GetScalingConfigResponse getScalingConfig(String functionName, GetScaling
14741480

14751481
/**
14761482
* <b>summary</b> :
1477-
* <p>获取函数会话信息。</p>
1483+
* <p>You can use this operation to retrieve detailed information about a specific session, including its session ID, associated function, affinity type, lifecycle configuration, status, and instance details. This operation retrieves the current metadata for a session. You can identify the metadata precisely using either the function name or qualifier. This capability enables you to monitor and debug external systems with ease. Only sessions that are in the Active state can be queried.</p>
14781484
*
14791485
* @param request GetSessionRequest
14801486
* @param headers map
@@ -1508,7 +1514,7 @@ public GetSessionResponse getSessionWithOptions(String functionName, String sess
15081514

15091515
/**
15101516
* <b>summary</b> :
1511-
* <p>获取函数会话信息。</p>
1517+
* <p>You can use this operation to retrieve detailed information about a specific session, including its session ID, associated function, affinity type, lifecycle configuration, status, and instance details. This operation retrieves the current metadata for a session. You can identify the metadata precisely using either the function name or qualifier. This capability enables you to monitor and debug external systems with ease. Only sessions that are in the Active state can be queried.</p>
15121518
*
15131519
* @param request GetSessionRequest
15141520
* @return GetSessionResponse
@@ -2344,7 +2350,7 @@ public ListProvisionConfigsResponse listProvisionConfigs(ListProvisionConfigsReq
23442350

23452351
/**
23462352
* <b>summary</b> :
2347-
* <p>获取弹性配置列表</p>
2353+
* <p>Lists the scaling settings of a function.</p>
23482354
*
23492355
* @param request ListScalingConfigsRequest
23502356
* @param headers map
@@ -2386,7 +2392,7 @@ public ListScalingConfigsResponse listScalingConfigsWithOptions(ListScalingConfi
23862392

23872393
/**
23882394
* <b>summary</b> :
2389-
* <p>获取弹性配置列表</p>
2395+
* <p>Lists the scaling settings of a function.</p>
23902396
*
23912397
* @param request ListScalingConfigsRequest
23922398
* @return ListScalingConfigsResponse
@@ -2399,7 +2405,7 @@ public ListScalingConfigsResponse listScalingConfigs(ListScalingConfigsRequest r
23992405

24002406
/**
24012407
* <b>summary</b> :
2402-
* <p>列出函数会话信息</p>
2408+
* <p>Lists sessions in the Active and/or Expired state(s) under the specified function. Supports filtering by qualifier, status, and session ID, as well as paginated queries. Returns basic session attributes for batch viewing of session distribution and status, helping with operations monitoring and integration with external systems, and enhancing session visibility and management.</p>
24032409
*
24042410
* @param request ListSessionsRequest
24052411
* @param headers map
@@ -2449,7 +2455,7 @@ public ListSessionsResponse listSessionsWithOptions(String functionName, ListSes
24492455

24502456
/**
24512457
* <b>summary</b> :
2452-
* <p>列出函数会话信息</p>
2458+
* <p>Lists sessions in the Active and/or Expired state(s) under the specified function. Supports filtering by qualifier, status, and session ID, as well as paginated queries. Returns basic session attributes for batch viewing of session distribution and status, helping with operations monitoring and integration with external systems, and enhancing session visibility and management.</p>
24532459
*
24542460
* @param request ListSessionsRequest
24552461
* @return ListSessionsResponse
@@ -2858,7 +2864,7 @@ public PutProvisionConfigResponse putProvisionConfig(String functionName, PutPro
28582864

28592865
/**
28602866
* <b>summary</b> :
2861-
* <p>设置弹性配置</p>
2867+
* <p>Scaling settings</p>
28622868
*
28632869
* @param request PutScalingConfigRequest
28642870
* @param headers map
@@ -2893,7 +2899,7 @@ public PutScalingConfigResponse putScalingConfigWithOptions(String functionName,
28932899

28942900
/**
28952901
* <b>summary</b> :
2896-
* <p>设置弹性配置</p>
2902+
* <p>Scaling settings</p>
28972903
*
28982904
* @param request PutScalingConfigRequest
28992905
* @return PutScalingConfigResponse
@@ -3196,7 +3202,7 @@ public UpdateFunctionResponse updateFunction(String functionName, UpdateFunction
31963202

31973203
/**
31983204
* <b>summary</b> :
3199-
* <p>更新会话配置</p>
3205+
* <p>Updates session configurations while the session is in the Active state, such as lifecycle parameters (e.g., SessionTTLInSeconds and SessionIdleTimeoutInSeconds). After the update takes effect, LastModifiedTime is automatically refreshed. These updates can be used to extend or shorten the validity period of a session and enable dynamic management without changing the execution environment bound to the session.</p>
32003206
*
32013207
* @param request UpdateSessionRequest
32023208
* @param headers map
@@ -3231,7 +3237,7 @@ public UpdateSessionResponse updateSessionWithOptions(String functionName, Strin
32313237

32323238
/**
32333239
* <b>summary</b> :
3234-
* <p>更新会话配置</p>
3240+
* <p>Updates session configurations while the session is in the Active state, such as lifecycle parameters (e.g., SessionTTLInSeconds and SessionIdleTimeoutInSeconds). After the update takes effect, LastModifiedTime is automatically refreshed. These updates can be used to extend or shorten the validity period of a session and enable dynamic management without changing the execution environment bound to the session.</p>
32353241
*
32363242
* @param request UpdateSessionRequest
32373243
* @return UpdateSessionResponse

fc-20230330/src/main/java/com/aliyun/fc20230330/models/ChangeResourceGroupRequest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import com.aliyun.tea.*;
55

66
public class ChangeResourceGroupRequest extends TeaModel {
7+
/**
8+
* <p>The request details for updating the resource group.</p>
9+
*/
710
@NameInMap("body")
811
public ChangeResourceGroupInput body;
912

fc-20230330/src/main/java/com/aliyun/fc20230330/models/CookieSessionAffinityConfig.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import com.aliyun.tea.*;
55

66
public class CookieSessionAffinityConfig extends TeaModel {
7+
@NameInMap("disableSessionIdReuse")
8+
public Boolean disableSessionIdReuse;
9+
710
@NameInMap("sessionConcurrencyPerInstance")
811
public Long sessionConcurrencyPerInstance;
912

@@ -18,6 +21,14 @@ public static CookieSessionAffinityConfig build(java.util.Map<String, ?> map) th
1821
return TeaModel.build(map, self);
1922
}
2023

24+
public CookieSessionAffinityConfig setDisableSessionIdReuse(Boolean disableSessionIdReuse) {
25+
this.disableSessionIdReuse = disableSessionIdReuse;
26+
return this;
27+
}
28+
public Boolean getDisableSessionIdReuse() {
29+
return this.disableSessionIdReuse;
30+
}
31+
2132
public CookieSessionAffinityConfig setSessionConcurrencyPerInstance(Long sessionConcurrencyPerInstance) {
2233
this.sessionConcurrencyPerInstance = sessionConcurrencyPerInstance;
2334
return this;

fc-20230330/src/main/java/com/aliyun/fc20230330/models/CreateSessionInput.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@
44
import com.aliyun.tea.*;
55

66
public class CreateSessionInput extends TeaModel {
7+
@NameInMap("disableSessionIdReuse")
8+
public Boolean disableSessionIdReuse;
9+
710
@NameInMap("nasConfig")
811
public NASConfig nasConfig;
912

13+
/**
14+
* <strong>example:</strong>
15+
* <p>custom-test-session-id</p>
16+
*/
17+
@NameInMap("sessionId")
18+
public String sessionId;
19+
1020
/**
1121
* <strong>example:</strong>
1222
* <p>1800</p>
@@ -26,6 +36,14 @@ public static CreateSessionInput build(java.util.Map<String, ?> map) throws Exce
2636
return TeaModel.build(map, self);
2737
}
2838

39+
public CreateSessionInput setDisableSessionIdReuse(Boolean disableSessionIdReuse) {
40+
this.disableSessionIdReuse = disableSessionIdReuse;
41+
return this;
42+
}
43+
public Boolean getDisableSessionIdReuse() {
44+
return this.disableSessionIdReuse;
45+
}
46+
2947
public CreateSessionInput setNasConfig(NASConfig nasConfig) {
3048
this.nasConfig = nasConfig;
3149
return this;
@@ -34,6 +52,14 @@ public NASConfig getNasConfig() {
3452
return this.nasConfig;
3553
}
3654

55+
public CreateSessionInput setSessionId(String sessionId) {
56+
this.sessionId = sessionId;
57+
return this;
58+
}
59+
public String getSessionId() {
60+
return this.sessionId;
61+
}
62+
3763
public CreateSessionInput setSessionIdleTimeoutInSeconds(Long sessionIdleTimeoutInSeconds) {
3864
this.sessionIdleTimeoutInSeconds = sessionIdleTimeoutInSeconds;
3965
return this;

fc-20230330/src/main/java/com/aliyun/fc20230330/models/CreateSessionRequest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44
import com.aliyun.tea.*;
55

66
public class CreateSessionRequest extends TeaModel {
7+
/**
8+
* <p>Creates session configurations.</p>
9+
*/
710
@NameInMap("body")
811
public CreateSessionInput body;
912

1013
/**
14+
* <p>Specifies the version or alias to which the sesion belongs.</p>
15+
*
1116
* <strong>example:</strong>
1217
* <p>aliasName1</p>
1318
*/

fc-20230330/src/main/java/com/aliyun/fc20230330/models/DeleteScalingConfigRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
public class DeleteScalingConfigRequest extends TeaModel {
77
/**
8+
* <p>The function alias.</p>
9+
*
810
* <strong>example:</strong>
911
* <p>LATEST</p>
1012
*/

fc-20230330/src/main/java/com/aliyun/fc20230330/models/DeleteSessionRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
public class DeleteSessionRequest extends TeaModel {
77
/**
8+
* <p>The function alias or version associated with the session to be deleted.</p>
9+
*
810
* <strong>example:</strong>
911
* <p>aliasName1</p>
1012
*/

fc-20230330/src/main/java/com/aliyun/fc20230330/models/DescribeRegionsRequest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55

66
public class DescribeRegionsRequest extends TeaModel {
77
/**
8+
* <p>The language in which the list of regions is returned. For more information, see RFC 7231. Valid values:</p>
9+
* <ul>
10+
* <li>zh-CN: Simplified Chinese.</li>
11+
* <li>en-US: English.</li>
12+
* <li>ja: Japanese</li>
13+
* </ul>
14+
* <p>Default value: en-US</p>
15+
*
816
* <strong>example:</strong>
917
* <p>zh-CN</p>
1018
*/

0 commit comments

Comments
 (0)