@databricks/sdk-networking 0.1.0-dev.1 → 0.1.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/client.d.ts +13 -13
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +55 -55
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/model.d.ts +28 -24
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +12 -24
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/utils.d.ts +1 -2
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +1 -1
- package/dist/v1/utils.js.map +1 -1
- package/package.json +6 -5
- package/src/v1/client.ts +147 -157
- package/src/v1/index.ts +12 -12
- package/src/v1/model.ts +30 -48
- package/src/v1/utils.ts +3 -3
package/dist/v1/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CallOptions } from '@databricks/sdk-options/call';
|
|
2
2
|
import type { ClientOptions } from '@databricks/sdk-options/client';
|
|
3
|
-
import type { AccountNetworkPolicy, CreateAccountIpAccessListRequest,
|
|
3
|
+
import type { AccountNetworkPolicy, CreateAccountIpAccessListRequest, CreateAccountIpAccessListResponse, CreateEndpointRequest, CreateIpAccessList, CreateIpAccessListResponse, CreateNccPrivateEndpointRuleRequest, CreateNetworkConnectivityConfigRequest, CreateNetworkPolicyRequest, CreateNetworkRequest, CreatePrivateAccessSettingsRequest, CreateVpcEndpointRequest, CustomerFacingNetworkConnectivityConfig, CustomerFacingPrivateAccessSettings, CustomerFacingVpcEndpoint, DeleteAccountIpAccessListRequest, DeleteAccountIpAccessListResponse, DeleteEndpointRequest, DeleteIpAccessList, DeleteIpAccessListResponse, DeleteNccPrivateEndpointRuleRequest, DeleteNetworkConnectivityConfigRequest, DeleteNetworkPolicyRequest, DeleteNetworkRequest, DeletePrivateAccessSettingsRequest, DeleteVpcEndpointRequest, Endpoint, GetAccountIpAccessListRequest, GetAccountIpAccessListResponse, GetEndpointRequest, GetIpAccessList, GetIpAccessListResponse, GetNccPrivateEndpointRuleRequest, GetNetworkConnectivityConfigRequest, GetNetworkPolicyRequest, GetNetworkRequest, GetPrivateAccessSettingsRequest, GetVpcEndpointRequest, GetWorkspaceNetworkOptionRequest, ListAccountIpAccessListsRequest, ListAccountIpAccessListsResponse, ListEndpointsRequest, ListEndpointsResponse, ListIpAccessLists, ListIpAccessListsResponse, ListNccPrivateEndpointRulesRequest, ListNccPrivateEndpointRulesResponse, ListNetworkConnectivityConfigsRequest, ListNetworkConnectivityConfigsResponse, ListNetworkPoliciesRequest, ListNetworkPoliciesResponse, ListNetworkRequest, ListNetworkResponse, ListPrivateAccessSettingsRequest, ListPrivateAccessSettingsResponse, ListVpcEndpointRequest, ListVpcEndpointResponse, NccPrivateEndpointRule, Network, ReplaceAccountIpAccessListRequest, ReplaceAccountIpAccessListResponse, ReplaceIpAccessList, ReplaceIpAccessListResponse, UpdateAccountIpAccessListRequest, UpdateAccountIpAccessListResponse, UpdateIpAccessList, UpdateIpAccessListResponse, UpdateNccPrivateEndpointRuleRequest, UpdateNetworkPolicyRequest, UpdatePrivateAccessSettingsRequest, UpdateWorkspaceNetworkOptionRequest, WorkspaceNetworkOption } from './model';
|
|
4
4
|
export declare class NetworkingClient {
|
|
5
5
|
private readonly host;
|
|
6
6
|
private readonly accountId;
|
|
@@ -25,13 +25,13 @@ export declare class NetworkingClient {
|
|
|
25
25
|
*
|
|
26
26
|
* It can take a few minutes for the changes to take effect.
|
|
27
27
|
*/
|
|
28
|
-
createAccountIpAccessList(req: CreateAccountIpAccessListRequest, options?: CallOptions): Promise<
|
|
28
|
+
createAccountIpAccessList(req: CreateAccountIpAccessListRequest, options?: CallOptions): Promise<CreateAccountIpAccessListResponse>;
|
|
29
29
|
/** Deletes an IP access list, specified by its list ID. */
|
|
30
|
-
deleteAccountIpAccessList(req: DeleteAccountIpAccessListRequest, options?: CallOptions): Promise<
|
|
30
|
+
deleteAccountIpAccessList(req: DeleteAccountIpAccessListRequest, options?: CallOptions): Promise<DeleteAccountIpAccessListResponse>;
|
|
31
31
|
/** Gets an IP access list, specified by its list ID. */
|
|
32
|
-
getAccountIpAccessList(req: GetAccountIpAccessListRequest, options?: CallOptions): Promise<
|
|
32
|
+
getAccountIpAccessList(req: GetAccountIpAccessListRequest, options?: CallOptions): Promise<GetAccountIpAccessListResponse>;
|
|
33
33
|
/** Gets all IP access lists for the specified account. */
|
|
34
|
-
listAccountIpAccessLists(req: ListAccountIpAccessListsRequest, options?: CallOptions): Promise<
|
|
34
|
+
listAccountIpAccessLists(req: ListAccountIpAccessListsRequest, options?: CallOptions): Promise<ListAccountIpAccessListsResponse>;
|
|
35
35
|
/**
|
|
36
36
|
* Replaces an IP access list, specified by its ID.
|
|
37
37
|
*
|
|
@@ -45,7 +45,7 @@ export declare class NetworkingClient {
|
|
|
45
45
|
* value `INVALID_STATE`.
|
|
46
46
|
* It can take a few minutes for the changes to take effect.
|
|
47
47
|
*/
|
|
48
|
-
replaceAccountIpAccessList(req: ReplaceAccountIpAccessListRequest, options?: CallOptions): Promise<
|
|
48
|
+
replaceAccountIpAccessList(req: ReplaceAccountIpAccessListRequest, options?: CallOptions): Promise<ReplaceAccountIpAccessListResponse>;
|
|
49
49
|
/**
|
|
50
50
|
* Updates an existing IP access list, specified by its ID.
|
|
51
51
|
*
|
|
@@ -62,7 +62,7 @@ export declare class NetworkingClient {
|
|
|
62
62
|
*
|
|
63
63
|
* It can take a few minutes for the changes to take effect.
|
|
64
64
|
*/
|
|
65
|
-
updateAccountIpAccessList(req: UpdateAccountIpAccessListRequest, options?: CallOptions): Promise<
|
|
65
|
+
updateAccountIpAccessList(req: UpdateAccountIpAccessListRequest, options?: CallOptions): Promise<UpdateAccountIpAccessListResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* Creates a new network connectivity endpoint that enables private connectivity
|
|
68
68
|
* between your network resources and <Databricks> services.
|
|
@@ -99,13 +99,13 @@ export declare class NetworkingClient {
|
|
|
99
99
|
*
|
|
100
100
|
* It can take a few minutes for the changes to take effect. **Note**: Your new IP access list has no effect until you enable the feature. See :method:workspaceconf/setStatus
|
|
101
101
|
*/
|
|
102
|
-
createIpAccessList(req: CreateIpAccessList, options?: CallOptions): Promise<
|
|
102
|
+
createIpAccessList(req: CreateIpAccessList, options?: CallOptions): Promise<CreateIpAccessListResponse>;
|
|
103
103
|
/** Deletes an IP access list, specified by its list ID. */
|
|
104
|
-
deleteIpAccessList(req: DeleteIpAccessList, options?: CallOptions): Promise<
|
|
104
|
+
deleteIpAccessList(req: DeleteIpAccessList, options?: CallOptions): Promise<DeleteIpAccessListResponse>;
|
|
105
105
|
/** Gets an IP access list, specified by its list ID. */
|
|
106
|
-
getIpAccessList(req: GetIpAccessList, options?: CallOptions): Promise<
|
|
106
|
+
getIpAccessList(req: GetIpAccessList, options?: CallOptions): Promise<GetIpAccessListResponse>;
|
|
107
107
|
/** Gets all IP access lists for the specified workspace. */
|
|
108
|
-
listIpAccessLists(_req: ListIpAccessLists, options?: CallOptions): Promise<
|
|
108
|
+
listIpAccessLists(_req: ListIpAccessLists, options?: CallOptions): Promise<ListIpAccessListsResponse>;
|
|
109
109
|
/**
|
|
110
110
|
* Replaces an IP access list, specified by its ID.
|
|
111
111
|
*
|
|
@@ -120,7 +120,7 @@ export declare class NetworkingClient {
|
|
|
120
120
|
* It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no
|
|
121
121
|
* effect until you enable the feature. See :method:workspaceconf/setStatus.
|
|
122
122
|
*/
|
|
123
|
-
replaceIpAccessList(req: ReplaceIpAccessList, options?: CallOptions): Promise<
|
|
123
|
+
replaceIpAccessList(req: ReplaceIpAccessList, options?: CallOptions): Promise<ReplaceIpAccessListResponse>;
|
|
124
124
|
/**
|
|
125
125
|
* Updates an existing IP access list, specified by its ID.
|
|
126
126
|
*
|
|
@@ -136,7 +136,7 @@ export declare class NetworkingClient {
|
|
|
136
136
|
* It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no effect until you enable
|
|
137
137
|
* the feature. See :method:workspaceconf/setStatus.
|
|
138
138
|
*/
|
|
139
|
-
updateIpAccessList(req: UpdateIpAccessList, options?: CallOptions): Promise<
|
|
139
|
+
updateIpAccessList(req: UpdateIpAccessList, options?: CallOptions): Promise<UpdateIpAccessListResponse>;
|
|
140
140
|
/**
|
|
141
141
|
* Creates a network connectivity configuration (NCC), which provides stable Azure service
|
|
142
142
|
* subnets when accessing your Azure Storage accounts. You can also use a network connectivity configuration to create
|
package/dist/v1/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/v1/client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/v1/client.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAYlE,OAAO,KAAK,EACV,oBAAoB,EACpB,gCAAgC,EAChC,iCAAiC,EACjC,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,mCAAmC,EACnC,sCAAsC,EACtC,0BAA0B,EAC1B,oBAAoB,EACpB,kCAAkC,EAClC,wBAAwB,EACxB,uCAAuC,EACvC,mCAAmC,EACnC,yBAAyB,EACzB,gCAAgC,EAChC,iCAAiC,EACjC,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,mCAAmC,EACnC,sCAAsC,EACtC,0BAA0B,EAC1B,oBAAoB,EACpB,kCAAkC,EAClC,wBAAwB,EACxB,QAAQ,EACR,6BAA6B,EAC7B,8BAA8B,EAC9B,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,gCAAgC,EAChC,mCAAmC,EACnC,uBAAuB,EACvB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O,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,mBAAmB,CAAC;IA0B/B,iEAAiE;IAC3D,+BAA+B,CACnC,GAAG,EAAE,gCAAgC,EACrC,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,iCAAiC,CAAC;IA4B7C,mEAAmE;IAC7D,qBAAqB,CACzB,GAAG,EAAE,sBAAsB,EAC3B,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,uBAAuB,CAAC;IA0BnC;;;;;OAKG;IACG,iCAAiC,CACrC,GAAG,EAAE,kCAAkC,EACvC,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,mCAAmC,CAAC;IA4B/C;;;OAGG;IACG,4BAA4B,CAChC,GAAG,EAAE,gCAAgC,EACrC,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,sBAAsB,CAAC;IAqBlC;;;OAGG;IACG,+BAA+B,CACnC,GAAG,EAAE,mCAAmC,EACxC,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,sBAAsB,CAAC;CAwBnC"}
|
package/dist/v1/client.js
CHANGED
|
@@ -6,7 +6,7 @@ import { newHttpClient } from './transport';
|
|
|
6
6
|
import { buildHttpRequest, executeCall, executeHttpCall, marshalRequest, parseResponse, } from './utils';
|
|
7
7
|
import pkgJson from '../../package.json' with { type: 'json' };
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
import { marshalAccountNetworkPolicySchema, marshalCreateAccountIpAccessListRequestSchema, marshalCreateIpAccessListSchema, marshalCreateNetworkConnectivityConfigurationSchema, marshalCreateNetworkRequestSchema, marshalCreatePrivateAccessSettingsRequestSchema, marshalCreatePrivateEndpointRuleSchema, marshalCreateVpcEndpointRequestSchema, marshalCustomerFacingPrivateAccessSettingsSchema, marshalEndpointSchema, marshalReplaceAccountIpAccessListRequestSchema, marshalReplaceIpAccessListSchema, marshalUpdateAccountIpAccessListRequestSchema, marshalUpdateIpAccessListSchema, marshalUpdatePrivateEndpointRuleSchema, marshalWorkspaceNetworkOptionSchema, unmarshalAccountNetworkPolicySchema,
|
|
9
|
+
import { marshalAccountNetworkPolicySchema, marshalCreateAccountIpAccessListRequestSchema, marshalCreateIpAccessListSchema, marshalCreateNetworkConnectivityConfigurationSchema, marshalCreateNetworkRequestSchema, marshalCreatePrivateAccessSettingsRequestSchema, marshalCreatePrivateEndpointRuleSchema, marshalCreateVpcEndpointRequestSchema, marshalCustomerFacingPrivateAccessSettingsSchema, marshalEndpointSchema, marshalReplaceAccountIpAccessListRequestSchema, marshalReplaceIpAccessListSchema, marshalUpdateAccountIpAccessListRequestSchema, marshalUpdateIpAccessListSchema, marshalUpdatePrivateEndpointRuleSchema, marshalWorkspaceNetworkOptionSchema, unmarshalAccountNetworkPolicySchema, unmarshalCreateAccountIpAccessListResponseSchema, unmarshalCreateIpAccessListResponseSchema, unmarshalCustomerFacingNetworkConnectivityConfigSchema, unmarshalCustomerFacingPrivateAccessSettingsSchema, unmarshalCustomerFacingVpcEndpointSchema, unmarshalDeleteAccountIpAccessListResponseSchema, unmarshalDeleteIpAccessListResponseSchema, unmarshalEndpointSchema, unmarshalGetAccountIpAccessListResponseSchema, unmarshalGetIpAccessListResponseSchema, unmarshalListAccountIpAccessListsResponseSchema, unmarshalListEndpointsResponseSchema, unmarshalListIpAccessListsResponseSchema, unmarshalListNccPrivateEndpointRulesResponseSchema, unmarshalListNetworkConnectivityConfigsResponseSchema, unmarshalListNetworkPoliciesResponseSchema, unmarshalNccPrivateEndpointRuleSchema, unmarshalNetworkSchema, unmarshalReplaceAccountIpAccessListResponseSchema, unmarshalReplaceIpAccessListResponseSchema, unmarshalUpdateAccountIpAccessListResponseSchema, unmarshalUpdateIpAccessListResponseSchema, unmarshalWorkspaceNetworkOptionSchema, } from './model';
|
|
10
10
|
// Package identity segment for this client to be used in the User-Agent header.
|
|
11
11
|
const PACKAGE_SEGMENT = {
|
|
12
12
|
key: 'sdk-js-' + pkgJson.name.replace(/^@[^/]+\/sdk-/, ''),
|
|
@@ -71,11 +71,11 @@ export class NetworkingClient {
|
|
|
71
71
|
httpClient: this.httpClient,
|
|
72
72
|
logger: this.logger,
|
|
73
73
|
});
|
|
74
|
-
resp = parseResponse(respBody,
|
|
74
|
+
resp = parseResponse(respBody, unmarshalCreateAccountIpAccessListResponseSchema);
|
|
75
75
|
};
|
|
76
76
|
await executeCall(call, options);
|
|
77
77
|
if (resp === undefined) {
|
|
78
|
-
throw new Error('
|
|
78
|
+
throw new Error('operation completed without a result.');
|
|
79
79
|
}
|
|
80
80
|
return resp;
|
|
81
81
|
}
|
|
@@ -92,11 +92,11 @@ export class NetworkingClient {
|
|
|
92
92
|
httpClient: this.httpClient,
|
|
93
93
|
logger: this.logger,
|
|
94
94
|
});
|
|
95
|
-
resp = parseResponse(respBody,
|
|
95
|
+
resp = parseResponse(respBody, unmarshalDeleteAccountIpAccessListResponseSchema);
|
|
96
96
|
};
|
|
97
97
|
await executeCall(call, options);
|
|
98
98
|
if (resp === undefined) {
|
|
99
|
-
throw new Error('
|
|
99
|
+
throw new Error('operation completed without a result.');
|
|
100
100
|
}
|
|
101
101
|
return resp;
|
|
102
102
|
}
|
|
@@ -113,11 +113,11 @@ export class NetworkingClient {
|
|
|
113
113
|
httpClient: this.httpClient,
|
|
114
114
|
logger: this.logger,
|
|
115
115
|
});
|
|
116
|
-
resp = parseResponse(respBody,
|
|
116
|
+
resp = parseResponse(respBody, unmarshalGetAccountIpAccessListResponseSchema);
|
|
117
117
|
};
|
|
118
118
|
await executeCall(call, options);
|
|
119
119
|
if (resp === undefined) {
|
|
120
|
-
throw new Error('
|
|
120
|
+
throw new Error('operation completed without a result.');
|
|
121
121
|
}
|
|
122
122
|
return resp;
|
|
123
123
|
}
|
|
@@ -134,11 +134,11 @@ export class NetworkingClient {
|
|
|
134
134
|
httpClient: this.httpClient,
|
|
135
135
|
logger: this.logger,
|
|
136
136
|
});
|
|
137
|
-
resp = parseResponse(respBody,
|
|
137
|
+
resp = parseResponse(respBody, unmarshalListAccountIpAccessListsResponseSchema);
|
|
138
138
|
};
|
|
139
139
|
await executeCall(call, options);
|
|
140
140
|
if (resp === undefined) {
|
|
141
|
-
throw new Error('
|
|
141
|
+
throw new Error('operation completed without a result.');
|
|
142
142
|
}
|
|
143
143
|
return resp;
|
|
144
144
|
}
|
|
@@ -168,11 +168,11 @@ export class NetworkingClient {
|
|
|
168
168
|
httpClient: this.httpClient,
|
|
169
169
|
logger: this.logger,
|
|
170
170
|
});
|
|
171
|
-
resp = parseResponse(respBody,
|
|
171
|
+
resp = parseResponse(respBody, unmarshalReplaceAccountIpAccessListResponseSchema);
|
|
172
172
|
};
|
|
173
173
|
await executeCall(call, options);
|
|
174
174
|
if (resp === undefined) {
|
|
175
|
-
throw new Error('
|
|
175
|
+
throw new Error('operation completed without a result.');
|
|
176
176
|
}
|
|
177
177
|
return resp;
|
|
178
178
|
}
|
|
@@ -205,11 +205,11 @@ export class NetworkingClient {
|
|
|
205
205
|
httpClient: this.httpClient,
|
|
206
206
|
logger: this.logger,
|
|
207
207
|
});
|
|
208
|
-
resp = parseResponse(respBody,
|
|
208
|
+
resp = parseResponse(respBody, unmarshalUpdateAccountIpAccessListResponseSchema);
|
|
209
209
|
};
|
|
210
210
|
await executeCall(call, options);
|
|
211
211
|
if (resp === undefined) {
|
|
212
|
-
throw new Error('
|
|
212
|
+
throw new Error('operation completed without a result.');
|
|
213
213
|
}
|
|
214
214
|
return resp;
|
|
215
215
|
}
|
|
@@ -243,7 +243,7 @@ export class NetworkingClient {
|
|
|
243
243
|
};
|
|
244
244
|
await executeCall(call, options);
|
|
245
245
|
if (resp === undefined) {
|
|
246
|
-
throw new Error('
|
|
246
|
+
throw new Error('operation completed without a result.');
|
|
247
247
|
}
|
|
248
248
|
return resp;
|
|
249
249
|
}
|
|
@@ -289,7 +289,7 @@ export class NetworkingClient {
|
|
|
289
289
|
};
|
|
290
290
|
await executeCall(call, options);
|
|
291
291
|
if (resp === undefined) {
|
|
292
|
-
throw new Error('
|
|
292
|
+
throw new Error('operation completed without a result.');
|
|
293
293
|
}
|
|
294
294
|
return resp;
|
|
295
295
|
}
|
|
@@ -322,7 +322,7 @@ export class NetworkingClient {
|
|
|
322
322
|
};
|
|
323
323
|
await executeCall(call, options);
|
|
324
324
|
if (resp === undefined) {
|
|
325
|
-
throw new Error('
|
|
325
|
+
throw new Error('operation completed without a result.');
|
|
326
326
|
}
|
|
327
327
|
return resp;
|
|
328
328
|
}
|
|
@@ -369,11 +369,11 @@ export class NetworkingClient {
|
|
|
369
369
|
httpClient: this.httpClient,
|
|
370
370
|
logger: this.logger,
|
|
371
371
|
});
|
|
372
|
-
resp = parseResponse(respBody,
|
|
372
|
+
resp = parseResponse(respBody, unmarshalCreateIpAccessListResponseSchema);
|
|
373
373
|
};
|
|
374
374
|
await executeCall(call, options);
|
|
375
375
|
if (resp === undefined) {
|
|
376
|
-
throw new Error('
|
|
376
|
+
throw new Error('operation completed without a result.');
|
|
377
377
|
}
|
|
378
378
|
return resp;
|
|
379
379
|
}
|
|
@@ -393,11 +393,11 @@ export class NetworkingClient {
|
|
|
393
393
|
httpClient: this.httpClient,
|
|
394
394
|
logger: this.logger,
|
|
395
395
|
});
|
|
396
|
-
resp = parseResponse(respBody,
|
|
396
|
+
resp = parseResponse(respBody, unmarshalDeleteIpAccessListResponseSchema);
|
|
397
397
|
};
|
|
398
398
|
await executeCall(call, options);
|
|
399
399
|
if (resp === undefined) {
|
|
400
|
-
throw new Error('
|
|
400
|
+
throw new Error('operation completed without a result.');
|
|
401
401
|
}
|
|
402
402
|
return resp;
|
|
403
403
|
}
|
|
@@ -417,11 +417,11 @@ export class NetworkingClient {
|
|
|
417
417
|
httpClient: this.httpClient,
|
|
418
418
|
logger: this.logger,
|
|
419
419
|
});
|
|
420
|
-
resp = parseResponse(respBody,
|
|
420
|
+
resp = parseResponse(respBody, unmarshalGetIpAccessListResponseSchema);
|
|
421
421
|
};
|
|
422
422
|
await executeCall(call, options);
|
|
423
423
|
if (resp === undefined) {
|
|
424
|
-
throw new Error('
|
|
424
|
+
throw new Error('operation completed without a result.');
|
|
425
425
|
}
|
|
426
426
|
return resp;
|
|
427
427
|
}
|
|
@@ -441,11 +441,11 @@ export class NetworkingClient {
|
|
|
441
441
|
httpClient: this.httpClient,
|
|
442
442
|
logger: this.logger,
|
|
443
443
|
});
|
|
444
|
-
resp = parseResponse(respBody,
|
|
444
|
+
resp = parseResponse(respBody, unmarshalListIpAccessListsResponseSchema);
|
|
445
445
|
};
|
|
446
446
|
await executeCall(call, options);
|
|
447
447
|
if (resp === undefined) {
|
|
448
|
-
throw new Error('
|
|
448
|
+
throw new Error('operation completed without a result.');
|
|
449
449
|
}
|
|
450
450
|
return resp;
|
|
451
451
|
}
|
|
@@ -479,11 +479,11 @@ export class NetworkingClient {
|
|
|
479
479
|
httpClient: this.httpClient,
|
|
480
480
|
logger: this.logger,
|
|
481
481
|
});
|
|
482
|
-
resp = parseResponse(respBody,
|
|
482
|
+
resp = parseResponse(respBody, unmarshalReplaceIpAccessListResponseSchema);
|
|
483
483
|
};
|
|
484
484
|
await executeCall(call, options);
|
|
485
485
|
if (resp === undefined) {
|
|
486
|
-
throw new Error('
|
|
486
|
+
throw new Error('operation completed without a result.');
|
|
487
487
|
}
|
|
488
488
|
return resp;
|
|
489
489
|
}
|
|
@@ -518,11 +518,11 @@ export class NetworkingClient {
|
|
|
518
518
|
httpClient: this.httpClient,
|
|
519
519
|
logger: this.logger,
|
|
520
520
|
});
|
|
521
|
-
resp = parseResponse(respBody,
|
|
521
|
+
resp = parseResponse(respBody, unmarshalUpdateIpAccessListResponseSchema);
|
|
522
522
|
};
|
|
523
523
|
await executeCall(call, options);
|
|
524
524
|
if (resp === undefined) {
|
|
525
|
-
throw new Error('
|
|
525
|
+
throw new Error('operation completed without a result.');
|
|
526
526
|
}
|
|
527
527
|
return resp;
|
|
528
528
|
}
|
|
@@ -554,7 +554,7 @@ export class NetworkingClient {
|
|
|
554
554
|
};
|
|
555
555
|
await executeCall(call, options);
|
|
556
556
|
if (resp === undefined) {
|
|
557
|
-
throw new Error('
|
|
557
|
+
throw new Error('operation completed without a result.');
|
|
558
558
|
}
|
|
559
559
|
return resp;
|
|
560
560
|
}
|
|
@@ -590,7 +590,7 @@ export class NetworkingClient {
|
|
|
590
590
|
};
|
|
591
591
|
await executeCall(call, options);
|
|
592
592
|
if (resp === undefined) {
|
|
593
|
-
throw new Error('
|
|
593
|
+
throw new Error('operation completed without a result.');
|
|
594
594
|
}
|
|
595
595
|
return resp;
|
|
596
596
|
}
|
|
@@ -617,7 +617,7 @@ export class NetworkingClient {
|
|
|
617
617
|
};
|
|
618
618
|
await executeCall(call, options);
|
|
619
619
|
if (resp === undefined) {
|
|
620
|
-
throw new Error('
|
|
620
|
+
throw new Error('operation completed without a result.');
|
|
621
621
|
}
|
|
622
622
|
return resp;
|
|
623
623
|
}
|
|
@@ -660,7 +660,7 @@ export class NetworkingClient {
|
|
|
660
660
|
};
|
|
661
661
|
await executeCall(call, options);
|
|
662
662
|
if (resp === undefined) {
|
|
663
|
-
throw new Error('
|
|
663
|
+
throw new Error('operation completed without a result.');
|
|
664
664
|
}
|
|
665
665
|
return resp;
|
|
666
666
|
}
|
|
@@ -687,7 +687,7 @@ export class NetworkingClient {
|
|
|
687
687
|
};
|
|
688
688
|
await executeCall(call, options);
|
|
689
689
|
if (resp === undefined) {
|
|
690
|
-
throw new Error('
|
|
690
|
+
throw new Error('operation completed without a result.');
|
|
691
691
|
}
|
|
692
692
|
return resp;
|
|
693
693
|
}
|
|
@@ -708,7 +708,7 @@ export class NetworkingClient {
|
|
|
708
708
|
};
|
|
709
709
|
await executeCall(call, options);
|
|
710
710
|
if (resp === undefined) {
|
|
711
|
-
throw new Error('
|
|
711
|
+
throw new Error('operation completed without a result.');
|
|
712
712
|
}
|
|
713
713
|
return resp;
|
|
714
714
|
}
|
|
@@ -735,7 +735,7 @@ export class NetworkingClient {
|
|
|
735
735
|
};
|
|
736
736
|
await executeCall(call, options);
|
|
737
737
|
if (resp === undefined) {
|
|
738
|
-
throw new Error('
|
|
738
|
+
throw new Error('operation completed without a result.');
|
|
739
739
|
}
|
|
740
740
|
return resp;
|
|
741
741
|
}
|
|
@@ -776,7 +776,7 @@ export class NetworkingClient {
|
|
|
776
776
|
};
|
|
777
777
|
await executeCall(call, options);
|
|
778
778
|
if (resp === undefined) {
|
|
779
|
-
throw new Error('
|
|
779
|
+
throw new Error('operation completed without a result.');
|
|
780
780
|
}
|
|
781
781
|
return resp;
|
|
782
782
|
}
|
|
@@ -801,7 +801,7 @@ export class NetworkingClient {
|
|
|
801
801
|
};
|
|
802
802
|
await executeCall(call, options);
|
|
803
803
|
if (resp === undefined) {
|
|
804
|
-
throw new Error('
|
|
804
|
+
throw new Error('operation completed without a result.');
|
|
805
805
|
}
|
|
806
806
|
return resp;
|
|
807
807
|
}
|
|
@@ -837,7 +837,7 @@ export class NetworkingClient {
|
|
|
837
837
|
};
|
|
838
838
|
await executeCall(call, options);
|
|
839
839
|
if (resp === undefined) {
|
|
840
|
-
throw new Error('
|
|
840
|
+
throw new Error('operation completed without a result.');
|
|
841
841
|
}
|
|
842
842
|
return resp;
|
|
843
843
|
}
|
|
@@ -864,7 +864,7 @@ export class NetworkingClient {
|
|
|
864
864
|
};
|
|
865
865
|
await executeCall(call, options);
|
|
866
866
|
if (resp === undefined) {
|
|
867
|
-
throw new Error('
|
|
867
|
+
throw new Error('operation completed without a result.');
|
|
868
868
|
}
|
|
869
869
|
return resp;
|
|
870
870
|
}
|
|
@@ -899,7 +899,7 @@ export class NetworkingClient {
|
|
|
899
899
|
};
|
|
900
900
|
await executeCall(call, options);
|
|
901
901
|
if (resp === undefined) {
|
|
902
|
-
throw new Error('
|
|
902
|
+
throw new Error('operation completed without a result.');
|
|
903
903
|
}
|
|
904
904
|
return resp;
|
|
905
905
|
}
|
|
@@ -921,7 +921,7 @@ export class NetworkingClient {
|
|
|
921
921
|
};
|
|
922
922
|
await executeCall(call, options);
|
|
923
923
|
if (resp === undefined) {
|
|
924
|
-
throw new Error('
|
|
924
|
+
throw new Error('operation completed without a result.');
|
|
925
925
|
}
|
|
926
926
|
return resp;
|
|
927
927
|
}
|
|
@@ -948,7 +948,7 @@ export class NetworkingClient {
|
|
|
948
948
|
};
|
|
949
949
|
await executeCall(call, options);
|
|
950
950
|
if (resp === undefined) {
|
|
951
|
-
throw new Error('
|
|
951
|
+
throw new Error('operation completed without a result.');
|
|
952
952
|
}
|
|
953
953
|
return resp;
|
|
954
954
|
}
|
|
@@ -982,7 +982,7 @@ export class NetworkingClient {
|
|
|
982
982
|
};
|
|
983
983
|
await executeCall(call, options);
|
|
984
984
|
if (resp === undefined) {
|
|
985
|
-
throw new Error('
|
|
985
|
+
throw new Error('operation completed without a result.');
|
|
986
986
|
}
|
|
987
987
|
return resp;
|
|
988
988
|
}
|
|
@@ -1007,7 +1007,7 @@ export class NetworkingClient {
|
|
|
1007
1007
|
};
|
|
1008
1008
|
await executeCall(call, options);
|
|
1009
1009
|
if (resp === undefined) {
|
|
1010
|
-
throw new Error('
|
|
1010
|
+
throw new Error('operation completed without a result.');
|
|
1011
1011
|
}
|
|
1012
1012
|
return resp;
|
|
1013
1013
|
}
|
|
@@ -1028,7 +1028,7 @@ export class NetworkingClient {
|
|
|
1028
1028
|
};
|
|
1029
1029
|
await executeCall(call, options);
|
|
1030
1030
|
if (resp === undefined) {
|
|
1031
|
-
throw new Error('
|
|
1031
|
+
throw new Error('operation completed without a result.');
|
|
1032
1032
|
}
|
|
1033
1033
|
return resp;
|
|
1034
1034
|
}
|
|
@@ -1049,7 +1049,7 @@ export class NetworkingClient {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
await executeCall(call, options);
|
|
1051
1051
|
if (resp === undefined) {
|
|
1052
|
-
throw new Error('
|
|
1052
|
+
throw new Error('operation completed without a result.');
|
|
1053
1053
|
}
|
|
1054
1054
|
return resp;
|
|
1055
1055
|
}
|
|
@@ -1070,7 +1070,7 @@ export class NetworkingClient {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
await executeCall(call, options);
|
|
1072
1072
|
if (resp === undefined) {
|
|
1073
|
-
throw new Error('
|
|
1073
|
+
throw new Error('operation completed without a result.');
|
|
1074
1074
|
}
|
|
1075
1075
|
return resp;
|
|
1076
1076
|
}
|
|
@@ -1091,7 +1091,7 @@ export class NetworkingClient {
|
|
|
1091
1091
|
};
|
|
1092
1092
|
await executeCall(call, options);
|
|
1093
1093
|
if (resp === undefined) {
|
|
1094
|
-
throw new Error('
|
|
1094
|
+
throw new Error('operation completed without a result.');
|
|
1095
1095
|
}
|
|
1096
1096
|
return resp;
|
|
1097
1097
|
}
|
|
@@ -1117,7 +1117,7 @@ export class NetworkingClient {
|
|
|
1117
1117
|
};
|
|
1118
1118
|
await executeCall(call, options);
|
|
1119
1119
|
if (resp === undefined) {
|
|
1120
|
-
throw new Error('
|
|
1120
|
+
throw new Error('operation completed without a result.');
|
|
1121
1121
|
}
|
|
1122
1122
|
return resp;
|
|
1123
1123
|
}
|
|
@@ -1140,7 +1140,7 @@ export class NetworkingClient {
|
|
|
1140
1140
|
};
|
|
1141
1141
|
await executeCall(call, options);
|
|
1142
1142
|
if (resp === undefined) {
|
|
1143
|
-
throw new Error('
|
|
1143
|
+
throw new Error('operation completed without a result.');
|
|
1144
1144
|
}
|
|
1145
1145
|
return resp;
|
|
1146
1146
|
}
|
|
@@ -1163,7 +1163,7 @@ export class NetworkingClient {
|
|
|
1163
1163
|
};
|
|
1164
1164
|
await executeCall(call, options);
|
|
1165
1165
|
if (resp === undefined) {
|
|
1166
|
-
throw new Error('
|
|
1166
|
+
throw new Error('operation completed without a result.');
|
|
1167
1167
|
}
|
|
1168
1168
|
return resp;
|
|
1169
1169
|
}
|
|
@@ -1186,7 +1186,7 @@ export class NetworkingClient {
|
|
|
1186
1186
|
};
|
|
1187
1187
|
await executeCall(call, options);
|
|
1188
1188
|
if (resp === undefined) {
|
|
1189
|
-
throw new Error('
|
|
1189
|
+
throw new Error('operation completed without a result.');
|
|
1190
1190
|
}
|
|
1191
1191
|
return resp;
|
|
1192
1192
|
}
|
|
@@ -1213,7 +1213,7 @@ export class NetworkingClient {
|
|
|
1213
1213
|
};
|
|
1214
1214
|
await executeCall(call, options);
|
|
1215
1215
|
if (resp === undefined) {
|
|
1216
|
-
throw new Error('
|
|
1216
|
+
throw new Error('operation completed without a result.');
|
|
1217
1217
|
}
|
|
1218
1218
|
return resp;
|
|
1219
1219
|
}
|
|
@@ -1237,7 +1237,7 @@ export class NetworkingClient {
|
|
|
1237
1237
|
};
|
|
1238
1238
|
await executeCall(call, options);
|
|
1239
1239
|
if (resp === undefined) {
|
|
1240
|
-
throw new Error('
|
|
1240
|
+
throw new Error('operation completed without a result.');
|
|
1241
1241
|
}
|
|
1242
1242
|
return resp;
|
|
1243
1243
|
}
|
|
@@ -1262,7 +1262,7 @@ export class NetworkingClient {
|
|
|
1262
1262
|
};
|
|
1263
1263
|
await executeCall(call, options);
|
|
1264
1264
|
if (resp === undefined) {
|
|
1265
|
-
throw new Error('
|
|
1265
|
+
throw new Error('operation completed without a result.');
|
|
1266
1266
|
}
|
|
1267
1267
|
return resp;
|
|
1268
1268
|
}
|