Skip to content

Commit 4323cca

Browse files
committed
Generated java-async 2021-04-06 for FC-Open.
1 parent 035c0c7 commit 4323cca

File tree

213 files changed

+4260
-795
lines changed

Some content is hidden

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

213 files changed

+4260
-795
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+
2023-12-29 Version: 2.0.10
2+
- Generated java-async 2021-04-06 for FC-Open.
3+
14
2023-05-30 Version: 2.0.9
25
- Add Request Level Stateful Invocation.
36

fc-open-20210406/pom.xml

Lines changed: 2 additions & 2 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>alibabacloud-fc_open20210406</artifactId>
6-
<version>2.0.9</version>
6+
<version>2.0.10</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-fc_open20210406</name>
99
<description>Alibaba Cloud FC-Open (20210406) Async SDK for Java
@@ -41,7 +41,7 @@
4141
<java.version>1.8</java.version>
4242
<maven.compiler.source>8</maven.compiler.source>
4343
<maven.compiler.target>8</maven.compiler.target>
44-
<service.version>0.1.13-beta</service.version>
44+
<service.version>0.2.4-beta</service.version>
4545
</properties>
4646
<dependencies>
4747
<dependency>

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ static AsyncClient create() {
6666

6767
CompletableFuture<GetFunctionResponse> getFunction(GetFunctionRequest request);
6868

69+
/**
70+
* StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If the value of StatefulAsyncInvocation is true, the asynchronous task feature is enabled. All asynchronous invocations change to asynchronous task mode.
71+
*
72+
*/
6973
CompletableFuture<GetFunctionAsyncInvokeConfigResponse> getFunctionAsyncInvokeConfig(GetFunctionAsyncInvokeConfigRequest request);
7074

7175
CompletableFuture<GetFunctionCodeResponse> getFunctionCode(GetFunctionCodeRequest request);
@@ -96,13 +100,17 @@ static AsyncClient create() {
96100

97101
CompletableFuture<ListEventSourcesResponse> listEventSources(ListEventSourcesRequest request);
98102

103+
/**
104+
* StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If StatefulAsyncInvocation is set to true, the asynchronous task is enabled. All asynchronous invocations to the function corresponding to this configuration change to asynchronous task mode.
105+
*
106+
*/
99107
CompletableFuture<ListFunctionAsyncInvokeConfigsResponse> listFunctionAsyncInvokeConfigs(ListFunctionAsyncInvokeConfigsRequest request);
100108

101109
CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsRequest request);
102110

103111
/**
104-
* The maximum number of resources to return. Valid values: \\[0,1000].
105-
* The number of returned resources is less than or equal to the specified number.
112+
* The ListInstances operation allows you to query the available instances of a function.
113+
* Available instances are instances that are processing requests or can be scheduled to process requests. Available instances queried by the ListInstances operation are the same as those that can be used when you call the InvokeFunction operation with the same values specified for the `serviceName`, `functionName`, and `qualifier` parameters.
106114
*
107115
*/
108116
CompletableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request);

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ public CompletableFuture<GetFunctionResponse> getFunction(GetFunctionRequest req
383383
}
384384
}
385385

386+
/**
387+
* StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If the value of StatefulAsyncInvocation is true, the asynchronous task feature is enabled. All asynchronous invocations change to asynchronous task mode.
388+
*
389+
*/
386390
@Override
387391
public CompletableFuture<GetFunctionAsyncInvokeConfigResponse> getFunctionAsyncInvokeConfig(GetFunctionAsyncInvokeConfigRequest request) {
388392
try {
@@ -569,6 +573,10 @@ public CompletableFuture<ListEventSourcesResponse> listEventSources(ListEventSou
569573
}
570574
}
571575

576+
/**
577+
* StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If StatefulAsyncInvocation is set to true, the asynchronous task is enabled. All asynchronous invocations to the function corresponding to this configuration change to asynchronous task mode.
578+
*
579+
*/
572580
@Override
573581
public CompletableFuture<ListFunctionAsyncInvokeConfigsResponse> listFunctionAsyncInvokeConfigs(ListFunctionAsyncInvokeConfigsRequest request) {
574582
try {
@@ -598,8 +606,8 @@ public CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsReque
598606
}
599607

600608
/**
601-
* The maximum number of resources to return. Valid values: \\[0,1000].
602-
* The number of returned resources is less than or equal to the specified number.
609+
* The ListInstances operation allows you to query the available instances of a function.
610+
* Available instances are instances that are processing requests or can be scheduled to process requests. Available instances queried by the ListInstances operation are the same as those that can be used when you call the InvokeFunction operation with the same values specified for the `serviceName`, `functionName`, and `qualifier` parameters.
603611
*
604612
*/
605613
@Override

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static final class Builder {
3838
private String status;
3939

4040
/**
41-
* 镜像加速状态,取值 Preparing 或 Ready
41+
* status.
4242
*/
4343
public Builder status(String status) {
4444
this.status = status;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@ public static final class Builder {
6262
private String serviceName;
6363

6464
/**
65-
* 异步配置所属函数名称。
65+
* functionName.
6666
*/
6767
public Builder functionName(String functionName) {
6868
this.functionName = functionName;
6969
return this;
7070
}
7171

7272
/**
73-
* 异步配置所属服务版本/别名。
73+
* qualifier.
7474
*/
7575
public Builder qualifier(String qualifier) {
7676
this.qualifier = qualifier;
7777
return this;
7878
}
7979

8080
/**
81-
* 异步配置所属服务名称。
81+
* serviceName.
8282
*/
8383
public Builder serviceName(String serviceName) {
8484
this.serviceName = serviceName;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static final class Builder {
3838
private String availableAZs;
3939

4040
/**
41-
* az
41+
* availableAZs.
4242
*/
4343
public Builder availableAZs(String availableAZs) {
4444
this.availableAZs = availableAZs;
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.fc_open20210406.models;
3+
4+
import com.aliyun.core.annotation.*;
5+
import darabonba.core.RequestModel;
6+
import darabonba.core.TeaModel;
7+
import com.aliyun.sdk.gateway.pop.models.*;
8+
9+
/**
10+
* {@link BatchWindow} extends {@link TeaModel}
11+
*
12+
* <p>BatchWindow</p>
13+
*/
14+
public class BatchWindow extends TeaModel {
15+
@NameInMap("CountBasedWindow")
16+
private Long countBasedWindow;
17+
18+
@NameInMap("TimeBasedWindow")
19+
private Long timeBasedWindow;
20+
21+
private BatchWindow(Builder builder) {
22+
this.countBasedWindow = builder.countBasedWindow;
23+
this.timeBasedWindow = builder.timeBasedWindow;
24+
}
25+
26+
public static Builder builder() {
27+
return new Builder();
28+
}
29+
30+
public static BatchWindow create() {
31+
return builder().build();
32+
}
33+
34+
/**
35+
* @return countBasedWindow
36+
*/
37+
public Long getCountBasedWindow() {
38+
return this.countBasedWindow;
39+
}
40+
41+
/**
42+
* @return timeBasedWindow
43+
*/
44+
public Long getTimeBasedWindow() {
45+
return this.timeBasedWindow;
46+
}
47+
48+
public static final class Builder {
49+
private Long countBasedWindow;
50+
private Long timeBasedWindow;
51+
52+
/**
53+
* CountBasedWindow.
54+
*/
55+
public Builder countBasedWindow(Long countBasedWindow) {
56+
this.countBasedWindow = countBasedWindow;
57+
return this;
58+
}
59+
60+
/**
61+
* TimeBasedWindow.
62+
*/
63+
public Builder timeBasedWindow(Long timeBasedWindow) {
64+
this.timeBasedWindow = timeBasedWindow;
65+
return this;
66+
}
67+
68+
public BatchWindow build() {
69+
return new BatchWindow(this);
70+
}
71+
72+
}
73+
74+
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,31 +74,31 @@ public static final class Builder {
7474
private String notes;
7575

7676
/**
77-
* eventName
77+
* eventName.
7878
*/
7979
public Builder eventName(String eventName) {
8080
this.eventName = eventName;
8181
return this;
8282
}
8383

8484
/**
85-
* eventVersion
85+
* eventVersion.
8686
*/
8787
public Builder eventVersion(String eventVersion) {
8888
this.eventVersion = eventVersion;
8989
return this;
9090
}
9191

9292
/**
93-
* filter
93+
* filter.
9494
*/
9595
public Builder filter(java.util.Map < String, java.util.List<String>> filter) {
9696
this.filter = filter;
9797
return this;
9898
}
9999

100100
/**
101-
* notes
101+
* notes.
102102
*/
103103
public Builder notes(String notes) {
104104
this.notes = notes;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@ public static final class Builder {
6262
private String privateKey;
6363

6464
/**
65-
* 证书名称
65+
* certName.
6666
*/
6767
public Builder certName(String certName) {
6868
this.certName = certName;
6969
return this;
7070
}
7171

7272
/**
73-
* 证书,如果是证书链则依次填写多个证书
73+
* certificate.
7474
*/
7575
public Builder certificate(String certificate) {
7676
this.certificate = certificate;
7777
return this;
7878
}
7979

8080
/**
81-
* 私钥
81+
* privateKey.
8282
*/
8383
public Builder privateKey(String privateKey) {
8484
this.privateKey = privateKey;

0 commit comments

Comments
 (0)