Skip to content

Commit 3c915fd

Browse files
committed
Support API DescribeGroupEndpoints.
1 parent 3c5a9ca commit 3c915fd

File tree

5 files changed

+409
-5
lines changed

5 files changed

+409
-5
lines changed

AlibabacloudEas20210701.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = "AlibabacloudEas20210701"
4-
spec.version = "6.2.0"
4+
spec.version = "6.3.0"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud eas (20210701) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/eas-20210701"

README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
要使用 [Carthage](https://github.com/Carthage/Carthage)`AlibabacloudEas20210701` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/eas-20210701" "6.2.0"
20+
github "alibabacloud-sdk-swift/eas-20210701" "6.3.0"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/eas-20210701" "6.2.0"
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/eas-20210701.git", from: "6.2.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/eas-20210701.git", from: "6.3.0")
3030
]
3131
```
3232

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ English | [简体中文](README-CN.md)
1717
To integrate `AlibabacloudEas20210701` into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/eas-20210701" "6.2.0"
20+
github "alibabacloud-sdk-swift/eas-20210701" "6.3.0"
2121
```
2222

2323
### Swift Package Manager
@@ -26,7 +26,7 @@ To integrate `AlibabacloudEas20210701` into your Xcode project using [Swift Pack
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/eas-20210701.git", from: "6.2.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/eas-20210701.git", from: "6.3.0")
3030
]
3131
```
3232

Sources/AlibabacloudEas20210701/Client.swift

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,33 @@ open class Client : AlibabacloudOpenApi.Client {
13541354
return try await describeGroupWithOptions(ClusterId as! String, GroupName as! String, headers as! [String: String], runtime as! TeaUtils.RuntimeOptions)
13551355
}
13561356

1357+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
1358+
public func describeGroupEndpointsWithOptions(_ ClusterId: String, _ GroupName: String, _ headers: [String: String], _ runtime: TeaUtils.RuntimeOptions) async throws -> DescribeGroupEndpointsResponse {
1359+
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
1360+
"headers": headers as! [String: String]
1361+
])
1362+
var params: AlibabacloudOpenApi.Params = AlibabacloudOpenApi.Params([
1363+
"action": "DescribeGroupEndpoints",
1364+
"version": "2021-07-01",
1365+
"protocol": "HTTPS",
1366+
"pathname": "/api/v2/groups/" + (AlibabaCloudOpenApiUtil.Client.getEncodeParam(ClusterId)) + "/" + (AlibabaCloudOpenApiUtil.Client.getEncodeParam(GroupName)) + "/endpoints",
1367+
"method": "GET",
1368+
"authType": "AK",
1369+
"style": "ROA",
1370+
"reqBodyType": "json",
1371+
"bodyType": "json"
1372+
])
1373+
var tmp: [String: Any] = try await callApi(params as! AlibabacloudOpenApi.Params, req as! AlibabacloudOpenApi.OpenApiRequest, runtime as! TeaUtils.RuntimeOptions)
1374+
return Tea.TeaConverter.fromMap(DescribeGroupEndpointsResponse(), tmp)
1375+
}
1376+
1377+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
1378+
public func describeGroupEndpoints(_ ClusterId: String, _ GroupName: String) async throws -> DescribeGroupEndpointsResponse {
1379+
var runtime: TeaUtils.RuntimeOptions = TeaUtils.RuntimeOptions([:])
1380+
var headers: [String: String] = [:]
1381+
return try await describeGroupEndpointsWithOptions(ClusterId as! String, GroupName as! String, headers as! [String: String], runtime as! TeaUtils.RuntimeOptions)
1382+
}
1383+
13571384
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
13581385
public func describeResourceWithOptions(_ ClusterId: String, _ ResourceId: String, _ headers: [String: String], _ runtime: TeaUtils.RuntimeOptions) async throws -> DescribeResourceResponse {
13591386
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
@@ -1543,6 +1570,33 @@ open class Client : AlibabacloudOpenApi.Client {
15431570
return try await describeServiceDiagnosisWithOptions(ClusterId as! String, ServiceName as! String, headers as! [String: String], runtime as! TeaUtils.RuntimeOptions)
15441571
}
15451572

1573+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
1574+
public func describeServiceEndpointsWithOptions(_ ClusterId: String, _ ServiceName: String, _ headers: [String: String], _ runtime: TeaUtils.RuntimeOptions) async throws -> DescribeServiceEndpointsResponse {
1575+
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
1576+
"headers": headers as! [String: String]
1577+
])
1578+
var params: AlibabacloudOpenApi.Params = AlibabacloudOpenApi.Params([
1579+
"action": "DescribeServiceEndpoints",
1580+
"version": "2021-07-01",
1581+
"protocol": "HTTPS",
1582+
"pathname": "/api/v2/services/" + (AlibabaCloudOpenApiUtil.Client.getEncodeParam(ClusterId)) + "/" + (AlibabaCloudOpenApiUtil.Client.getEncodeParam(ServiceName)) + "/endpoints",
1583+
"method": "GET",
1584+
"authType": "AK",
1585+
"style": "ROA",
1586+
"reqBodyType": "json",
1587+
"bodyType": "json"
1588+
])
1589+
var tmp: [String: Any] = try await callApi(params as! AlibabacloudOpenApi.Params, req as! AlibabacloudOpenApi.OpenApiRequest, runtime as! TeaUtils.RuntimeOptions)
1590+
return Tea.TeaConverter.fromMap(DescribeServiceEndpointsResponse(), tmp)
1591+
}
1592+
1593+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
1594+
public func describeServiceEndpoints(_ ClusterId: String, _ ServiceName: String) async throws -> DescribeServiceEndpointsResponse {
1595+
var runtime: TeaUtils.RuntimeOptions = TeaUtils.RuntimeOptions([:])
1596+
var headers: [String: String] = [:]
1597+
return try await describeServiceEndpointsWithOptions(ClusterId as! String, ServiceName as! String, headers as! [String: String], runtime as! TeaUtils.RuntimeOptions)
1598+
}
1599+
15461600
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
15471601
public func describeServiceEventWithOptions(_ ClusterId: String, _ ServiceName: String, _ request: DescribeServiceEventRequest, _ headers: [String: String], _ runtime: TeaUtils.RuntimeOptions) async throws -> DescribeServiceEventResponse {
15481602
try TeaUtils.Client.validateModel(request)

0 commit comments

Comments
 (0)