@scaleway/sdk 2.18.0 → 2.19.0

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.
@@ -2,7 +2,7 @@
2
2
  // If you have any remark or suggestion do not hesitate to open an issue.
3
3
 
4
4
  /** Lists transient statutes of the enum {@link ReferenceStatus}. */
5
- const REFERENCE_TRANSIENT_STATUSES = ['attaching', 'detaching', 'snapshotting'];
5
+ const REFERENCE_TRANSIENT_STATUSES = ['attaching', 'detaching', 'creating'];
6
6
 
7
7
  /** Lists transient statutes of the enum {@link SnapshotStatus}. */
8
8
  const SNAPSHOT_TRANSIENT_STATUSES = ['creating', 'deleting'];
@@ -107,7 +107,6 @@ const unmarshalTriggerMnqNatsClientConfig = data => {
107
107
  }
108
108
  return {
109
109
  mnqCredentialId: data.mnq_credential_id,
110
- mnqNamespaceId: data.mnq_namespace_id,
111
110
  mnqNatsAccountId: data.mnq_nats_account_id,
112
111
  mnqProjectId: data.mnq_project_id,
113
112
  mnqRegion: data.mnq_region,
@@ -120,7 +119,6 @@ const unmarshalTriggerMnqSqsClientConfig = data => {
120
119
  }
121
120
  return {
122
121
  mnqCredentialId: data.mnq_credential_id,
123
- mnqNamespaceId: data.mnq_namespace_id,
124
122
  mnqProjectId: data.mnq_project_id,
125
123
  mnqRegion: data.mnq_region,
126
124
  queue: data.queue
@@ -281,14 +279,12 @@ const marshalCreateTokenRequest = (request, defaults) => ({
281
279
  }])
282
280
  });
283
281
  const marshalCreateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
284
- mnq_namespace_id: request.mnqNamespaceId,
285
282
  mnq_nats_account_id: request.mnqNatsAccountId,
286
283
  mnq_project_id: request.mnqProjectId,
287
284
  mnq_region: request.mnqRegion,
288
285
  subject: request.subject
289
286
  });
290
287
  const marshalCreateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
291
- mnq_namespace_id: request.mnqNamespaceId,
292
288
  mnq_project_id: request.mnqProjectId,
293
289
  mnq_region: request.mnqRegion,
294
290
  queue: request.queue
@@ -107,7 +107,6 @@ const unmarshalTriggerMnqNatsClientConfig = data => {
107
107
  }
108
108
  return {
109
109
  mnqCredentialId: data.mnq_credential_id,
110
- mnqNamespaceId: data.mnq_namespace_id,
111
110
  mnqNatsAccountId: data.mnq_nats_account_id,
112
111
  mnqProjectId: data.mnq_project_id,
113
112
  mnqRegion: data.mnq_region,
@@ -120,7 +119,6 @@ const unmarshalTriggerMnqSqsClientConfig = data => {
120
119
  }
121
120
  return {
122
121
  mnqCredentialId: data.mnq_credential_id,
123
- mnqNamespaceId: data.mnq_namespace_id,
124
122
  mnqProjectId: data.mnq_project_id,
125
123
  mnqRegion: data.mnq_region,
126
124
  queue: data.queue
@@ -322,14 +320,12 @@ const marshalCreateTokenRequest = (request, defaults) => ({
322
320
  }])
323
321
  });
324
322
  const marshalCreateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
325
- mnq_namespace_id: request.mnqNamespaceId,
326
323
  mnq_nats_account_id: request.mnqNatsAccountId,
327
324
  mnq_project_id: request.mnqProjectId,
328
325
  mnq_region: request.mnqRegion,
329
326
  subject: request.subject
330
327
  });
331
328
  const marshalCreateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
332
- mnq_namespace_id: request.mnqNamespaceId,
333
329
  mnq_project_id: request.mnqProjectId,
334
330
  mnq_region: request.mnqRegion,
335
331
  queue: request.queue
@@ -1,7 +1,7 @@
1
1
  import { API as API$1 } from '../../../scw/api.js';
2
2
  import { urlParams, validatePathParam, resolveOneOf } from '../../../helpers/marshalling.js';
3
3
  import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
4
- import { unmarshalListSSHKeysResponse, marshalCreateSSHKeyRequest, unmarshalSSHKey, marshalUpdateSSHKeyRequest, unmarshalListUsersResponse, unmarshalUser, marshalUpdateUserRequest, marshalCreateUserRequest, unmarshalListApplicationsResponse, marshalCreateApplicationRequest, unmarshalApplication, marshalUpdateApplicationRequest, unmarshalListGroupsResponse, marshalCreateGroupRequest, unmarshalGroup, marshalUpdateGroupRequest, marshalSetGroupMembersRequest, marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalRemoveGroupMemberRequest, unmarshalListPoliciesResponse, marshalCreatePolicyRequest, unmarshalPolicy, marshalUpdatePolicyRequest, marshalSetRulesRequest, unmarshalSetRulesResponse, unmarshalListRulesResponse, unmarshalListPermissionSetsResponse, unmarshalListAPIKeysResponse, marshalCreateAPIKeyRequest, unmarshalAPIKey, marshalUpdateAPIKeyRequest, unmarshalListQuotaResponse, unmarshalQuotum, unmarshalListJWTsResponse, unmarshalJWT, unmarshalListLogsResponse, unmarshalLog } from './marshalling.gen.js';
4
+ import { unmarshalListSSHKeysResponse, marshalCreateSSHKeyRequest, unmarshalSSHKey, marshalUpdateSSHKeyRequest, unmarshalListUsersResponse, unmarshalUser, marshalUpdateUserRequest, marshalCreateUserRequest, unmarshalListApplicationsResponse, marshalCreateApplicationRequest, unmarshalApplication, marshalUpdateApplicationRequest, unmarshalListGroupsResponse, marshalCreateGroupRequest, unmarshalGroup, marshalUpdateGroupRequest, marshalSetGroupMembersRequest, marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalRemoveGroupMemberRequest, unmarshalListPoliciesResponse, marshalCreatePolicyRequest, unmarshalPolicy, marshalUpdatePolicyRequest, marshalSetRulesRequest, unmarshalSetRulesResponse, unmarshalListRulesResponse, unmarshalListPermissionSetsResponse, unmarshalListAPIKeysResponse, marshalCreateAPIKeyRequest, unmarshalAPIKey, marshalUpdateAPIKeyRequest, unmarshalListQuotaResponse, unmarshalQuotum, unmarshalListJWTsResponse, marshalCreateJWTRequest, unmarshalEncodedJWT, unmarshalJWT, unmarshalListLogsResponse, unmarshalLog } from './marshalling.gen.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
7
  // If you have any remark or suggestion do not hesitate to open an issue.
@@ -627,6 +627,19 @@ class API extends API$1 {
627
627
  */
628
628
  listJWTs = (request = {}) => enrichForPagination('jwts', this.pageOfListJWTs, request);
629
629
 
630
+ /**
631
+ * Create a JWT.
632
+ *
633
+ * @param request - The request {@link CreateJWTRequest}
634
+ * @returns A Promise of EncodedJWT
635
+ */
636
+ createJWT = request => this.client.fetch({
637
+ body: JSON.stringify(marshalCreateJWTRequest(request, this.client.settings)),
638
+ headers: jsonContentHeaders,
639
+ method: 'POST',
640
+ path: `/iam/v1alpha1/jwts`
641
+ }, unmarshalEncodedJWT);
642
+
630
643
  /**
631
644
  * Get a JWT.
632
645
  *
@@ -153,6 +153,16 @@ const unmarshalUser = data => {
153
153
  updatedAt: unmarshalDate(data.updated_at)
154
154
  };
155
155
  };
156
+ const unmarshalEncodedJWT = data => {
157
+ if (!isJSONObject(data)) {
158
+ throw new TypeError(`Unmarshalling the type 'EncodedJWT' failed as data isn't a dictionary.`);
159
+ }
160
+ return {
161
+ jwt: data.jwt ? unmarshalJWT(data.jwt) : undefined,
162
+ renewToken: data.renew_token,
163
+ token: data.token
164
+ };
165
+ };
156
166
  const unmarshalListAPIKeysResponse = data => {
157
167
  if (!isJSONObject(data)) {
158
168
  throw new TypeError(`Unmarshalling the type 'ListAPIKeysResponse' failed as data isn't a dictionary.`);
@@ -322,6 +332,10 @@ const marshalCreateGroupRequest = (request, defaults) => ({
322
332
  organization_id: request.organizationId ?? defaults.defaultOrganizationId,
323
333
  tags: request.tags
324
334
  });
335
+ const marshalCreateJWTRequest = (request, defaults) => ({
336
+ referrer: request.referrer,
337
+ user_id: request.userId
338
+ });
325
339
  const marshalRuleSpecs = (request, defaults) => ({
326
340
  permission_set_names: request.permissionSetNames,
327
341
  ...resolveOneOf([{
@@ -419,4 +433,4 @@ const marshalUpdateUserRequest = (request, defaults) => ({
419
433
  tags: request.tags
420
434
  });
421
435
 
422
- export { marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalCreateAPIKeyRequest, marshalCreateApplicationRequest, marshalCreateGroupRequest, marshalCreatePolicyRequest, marshalCreateSSHKeyRequest, marshalCreateUserRequest, marshalRemoveGroupMemberRequest, marshalSetGroupMembersRequest, marshalSetRulesRequest, marshalUpdateAPIKeyRequest, marshalUpdateApplicationRequest, marshalUpdateGroupRequest, marshalUpdatePolicyRequest, marshalUpdateSSHKeyRequest, marshalUpdateUserRequest, unmarshalAPIKey, unmarshalApplication, unmarshalGroup, unmarshalJWT, unmarshalListAPIKeysResponse, unmarshalListApplicationsResponse, unmarshalListGroupsResponse, unmarshalListJWTsResponse, unmarshalListLogsResponse, unmarshalListPermissionSetsResponse, unmarshalListPoliciesResponse, unmarshalListQuotaResponse, unmarshalListRulesResponse, unmarshalListSSHKeysResponse, unmarshalListUsersResponse, unmarshalLog, unmarshalPolicy, unmarshalQuotum, unmarshalSSHKey, unmarshalSetRulesResponse, unmarshalUser };
436
+ export { marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalCreateAPIKeyRequest, marshalCreateApplicationRequest, marshalCreateGroupRequest, marshalCreateJWTRequest, marshalCreatePolicyRequest, marshalCreateSSHKeyRequest, marshalCreateUserRequest, marshalRemoveGroupMemberRequest, marshalSetGroupMembersRequest, marshalSetRulesRequest, marshalUpdateAPIKeyRequest, marshalUpdateApplicationRequest, marshalUpdateGroupRequest, marshalUpdatePolicyRequest, marshalUpdateSSHKeyRequest, marshalUpdateUserRequest, unmarshalAPIKey, unmarshalApplication, unmarshalEncodedJWT, unmarshalGroup, unmarshalJWT, unmarshalListAPIKeysResponse, unmarshalListApplicationsResponse, unmarshalListGroupsResponse, unmarshalListJWTsResponse, unmarshalListLogsResponse, unmarshalListPermissionSetsResponse, unmarshalListPoliciesResponse, unmarshalListQuotaResponse, unmarshalListRulesResponse, unmarshalListSSHKeysResponse, unmarshalListUsersResponse, unmarshalLog, unmarshalPolicy, unmarshalQuotum, unmarshalSSHKey, unmarshalSetRulesResponse, unmarshalUser };
@@ -90,13 +90,13 @@ class API extends API$1 {
90
90
  listClusters = (request = {}) => enrichForPagination('clusters', this.pageOfListClusters, request);
91
91
 
92
92
  /**
93
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
94
- * Database Instance node, either by upgrading to a bigger node type (vertical
95
- * scaling) or by adding more nodes to your Database Instance to increase your
96
- * number of endpoints and distribute cache (horizontal scaling). Note that
97
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
98
- * certificate. In order to refresh the TLS certificate, you must use the
99
- * Renew TLS certificate endpoint.
93
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
94
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
95
+ * more nodes to your Database Instance to increase your number of endpoints
96
+ * and distribute cache (horizontal scaling, available for clusters only).
97
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
98
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
99
+ * the Renew TLS certificate endpoint.
100
100
  *
101
101
  * @param request - The request {@link MigrateClusterRequest}
102
102
  * @returns A Promise of Cluster
@@ -1,7 +1,7 @@
1
1
  import { API as API$1 } from '../../../scw/api.js';
2
2
  import { validatePathParam, urlParams } from '../../../helpers/marshalling.js';
3
3
  import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
4
- import { marshalCreateSecretRequest, unmarshalSecret, marshalUpdateSecretRequest, unmarshalListSecretsResponse, unmarshalBrowseSecretsResponse, marshalAddSecretOwnerRequest, marshalCreateSecretVersionRequest, unmarshalSecretVersion, marshalUpdateSecretVersionRequest, unmarshalListSecretVersionsResponse, unmarshalAccessSecretVersionResponse } from './marshalling.gen.js';
4
+ import { marshalCreateSecretRequest, unmarshalSecret, marshalUpdateSecretRequest, unmarshalListSecretsResponse, unmarshalBrowseSecretsResponse, marshalAddSecretOwnerRequest, marshalCreateSecretVersionRequest, unmarshalSecretVersion, marshalUpdateSecretVersionRequest, unmarshalListSecretVersionsResponse, unmarshalAccessSecretVersionResponse, unmarshalListTagsResponse } from './marshalling.gen.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
7
  // If you have any remark or suggestion do not hesitate to open an issue.
@@ -248,6 +248,19 @@ class API extends API$1 {
248
248
  method: 'POST',
249
249
  path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/disable`
250
250
  }, unmarshalSecretVersion);
251
+ pageOfListTags = (request = {}) => this.client.fetch({
252
+ method: 'GET',
253
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tags`,
254
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
255
+ }, unmarshalListTagsResponse);
256
+
257
+ /**
258
+ * List tags. List all tags associated with secrets within a given Project.
259
+ *
260
+ * @param request - The request {@link ListTagsRequest}
261
+ * @returns A Promise of ListTagsResponse
262
+ */
263
+ listTags = (request = {}) => enrichForPagination('tags', this.pageOfListTags, request);
251
264
  }
252
265
 
253
266
  export { API };
@@ -129,6 +129,15 @@ const unmarshalListSecretsResponse = data => {
129
129
  totalCount: data.total_count
130
130
  };
131
131
  };
132
+ const unmarshalListTagsResponse = data => {
133
+ if (!isJSONObject(data)) {
134
+ throw new TypeError(`Unmarshalling the type 'ListTagsResponse' failed as data isn't a dictionary.`);
135
+ }
136
+ return {
137
+ tags: data.tags,
138
+ totalCount: data.total_count
139
+ };
140
+ };
132
141
  const marshalAddSecretOwnerRequest = (request, defaults) => ({
133
142
  product: request.product
134
143
  });
@@ -170,4 +179,4 @@ const marshalUpdateSecretVersionRequest = (request, defaults) => ({
170
179
  ephemeral_properties: request.ephemeralProperties !== undefined ? marshalEphemeralProperties(request.ephemeralProperties) : undefined
171
180
  });
172
181
 
173
- export { marshalAddSecretOwnerRequest, marshalCreateSecretRequest, marshalCreateSecretVersionRequest, marshalUpdateSecretRequest, marshalUpdateSecretVersionRequest, unmarshalAccessSecretVersionResponse, unmarshalBrowseSecretsResponse, unmarshalListSecretVersionsResponse, unmarshalListSecretsResponse, unmarshalSecret, unmarshalSecretVersion };
182
+ export { marshalAddSecretOwnerRequest, marshalCreateSecretRequest, marshalCreateSecretVersionRequest, marshalUpdateSecretRequest, marshalUpdateSecretVersionRequest, unmarshalAccessSecretVersionResponse, unmarshalBrowseSecretsResponse, unmarshalListSecretVersionsResponse, unmarshalListSecretsResponse, unmarshalListTagsResponse, unmarshalSecret, unmarshalSecretVersion };
@@ -16,7 +16,7 @@ class API extends API$1 {
16
16
  pageOfListVPCs = (request = {}) => this.client.fetch({
17
17
  method: 'GET',
18
18
  path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs`,
19
- urlParams: urlParams(['is_default', request.isDefault], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
19
+ urlParams: urlParams(['is_default', request.isDefault], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['routing_enabled', request.routingEnabled], ['tags', request.tags])
20
20
  }, unmarshalListVPCsResponse);
21
21
 
22
22
  /**
@@ -33,7 +33,7 @@ class API extends API$1 {
33
33
  * @param request - The request {@link CreateVPCRequest}
34
34
  * @returns A Promise of VPC
35
35
  */
36
- createVPC = (request = {}) => this.client.fetch({
36
+ createVPC = request => this.client.fetch({
37
37
  body: JSON.stringify(marshalCreateVPCRequest(request, this.client.settings)),
38
38
  headers: jsonContentHeaders,
39
39
  method: 'POST',
@@ -46,6 +46,7 @@ const unmarshalVPC = data => {
46
46
  privateNetworkCount: data.private_network_count,
47
47
  projectId: data.project_id,
48
48
  region: data.region,
49
+ routingEnabled: data.routing_enabled,
49
50
  tags: data.tags,
50
51
  updatedAt: unmarshalDate(data.updated_at)
51
52
  };
@@ -103,6 +104,7 @@ const marshalCreatePrivateNetworkRequest = (request, defaults) => ({
103
104
  vpc_id: request.vpcId
104
105
  });
105
106
  const marshalCreateVPCRequest = (request, defaults) => ({
107
+ enable_routing: request.enableRouting,
106
108
  name: request.name || randomName('vpc'),
107
109
  project_id: request.projectId ?? defaults.defaultProjectId,
108
110
  tags: request.tags
@@ -117,14 +117,13 @@ class API extends API$1 {
117
117
  * calls after the first will return no error but have no effect.
118
118
  *
119
119
  * @param request - The request {@link EnableIPMobilityRequest}
120
- * @returns A Promise of Gateway
121
120
  */
122
121
  enableIPMobility = request => this.client.fetch({
123
122
  body: '{}',
124
123
  headers: jsonContentHeaders,
125
124
  method: 'POST',
126
125
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`
127
- }, unmarshalGateway);
126
+ });
128
127
  pageOfListGatewayNetworks = (request = {}) => this.client.fetch({
129
128
  method: 'GET',
130
129
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateway-networks`,
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v2.17.0';
500
+ const version = 'v2.18.1';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () =>
@@ -4059,7 +4059,7 @@ var index$u = /*#__PURE__*/Object.freeze({
4059
4059
  // If you have any remark or suggestion do not hesitate to open an issue.
4060
4060
 
4061
4061
  /** Lists transient statutes of the enum {@link ReferenceStatus}. */
4062
- const REFERENCE_TRANSIENT_STATUSES = ['attaching', 'detaching', 'snapshotting'];
4062
+ const REFERENCE_TRANSIENT_STATUSES = ['attaching', 'detaching', 'creating'];
4063
4063
 
4064
4064
  /** Lists transient statutes of the enum {@link SnapshotStatus}. */
4065
4065
  const SNAPSHOT_TRANSIENT_STATUSES$3 = ['creating', 'deleting'];
@@ -5237,7 +5237,6 @@ const unmarshalTriggerMnqNatsClientConfig$1 = data => {
5237
5237
  }
5238
5238
  return {
5239
5239
  mnqCredentialId: data.mnq_credential_id,
5240
- mnqNamespaceId: data.mnq_namespace_id,
5241
5240
  mnqNatsAccountId: data.mnq_nats_account_id,
5242
5241
  mnqProjectId: data.mnq_project_id,
5243
5242
  mnqRegion: data.mnq_region,
@@ -5250,7 +5249,6 @@ const unmarshalTriggerMnqSqsClientConfig$1 = data => {
5250
5249
  }
5251
5250
  return {
5252
5251
  mnqCredentialId: data.mnq_credential_id,
5253
- mnqNamespaceId: data.mnq_namespace_id,
5254
5252
  mnqProjectId: data.mnq_project_id,
5255
5253
  mnqRegion: data.mnq_region,
5256
5254
  queue: data.queue
@@ -5411,14 +5409,12 @@ const marshalCreateTokenRequest$1 = (request, defaults) => ({
5411
5409
  }])
5412
5410
  });
5413
5411
  const marshalCreateTriggerRequestMnqNatsClientConfig$1 = (request, defaults) => ({
5414
- mnq_namespace_id: request.mnqNamespaceId,
5415
5412
  mnq_nats_account_id: request.mnqNatsAccountId,
5416
5413
  mnq_project_id: request.mnqProjectId,
5417
5414
  mnq_region: request.mnqRegion,
5418
5415
  subject: request.subject
5419
5416
  });
5420
5417
  const marshalCreateTriggerRequestMnqSqsClientConfig$1 = (request, defaults) => ({
5421
- mnq_namespace_id: request.mnqNamespaceId,
5422
5418
  mnq_project_id: request.mnqProjectId,
5423
5419
  mnq_region: request.mnqRegion,
5424
5420
  queue: request.queue
@@ -9928,7 +9924,6 @@ const unmarshalTriggerMnqNatsClientConfig = data => {
9928
9924
  }
9929
9925
  return {
9930
9926
  mnqCredentialId: data.mnq_credential_id,
9931
- mnqNamespaceId: data.mnq_namespace_id,
9932
9927
  mnqNatsAccountId: data.mnq_nats_account_id,
9933
9928
  mnqProjectId: data.mnq_project_id,
9934
9929
  mnqRegion: data.mnq_region,
@@ -9941,7 +9936,6 @@ const unmarshalTriggerMnqSqsClientConfig = data => {
9941
9936
  }
9942
9937
  return {
9943
9938
  mnqCredentialId: data.mnq_credential_id,
9944
- mnqNamespaceId: data.mnq_namespace_id,
9945
9939
  mnqProjectId: data.mnq_project_id,
9946
9940
  mnqRegion: data.mnq_region,
9947
9941
  queue: data.queue
@@ -10143,14 +10137,12 @@ const marshalCreateTokenRequest = (request, defaults) => ({
10143
10137
  }])
10144
10138
  });
10145
10139
  const marshalCreateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
10146
- mnq_namespace_id: request.mnqNamespaceId,
10147
10140
  mnq_nats_account_id: request.mnqNatsAccountId,
10148
10141
  mnq_project_id: request.mnqProjectId,
10149
10142
  mnq_region: request.mnqRegion,
10150
10143
  subject: request.subject
10151
10144
  });
10152
10145
  const marshalCreateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
10153
- mnq_namespace_id: request.mnqNamespaceId,
10154
10146
  mnq_project_id: request.mnqProjectId,
10155
10147
  mnq_region: request.mnqRegion,
10156
10148
  queue: request.queue
@@ -10950,6 +10942,16 @@ const unmarshalUser$1 = data => {
10950
10942
  updatedAt: unmarshalDate(data.updated_at)
10951
10943
  };
10952
10944
  };
10945
+ const unmarshalEncodedJWT = data => {
10946
+ if (!isJSONObject(data)) {
10947
+ throw new TypeError(`Unmarshalling the type 'EncodedJWT' failed as data isn't a dictionary.`);
10948
+ }
10949
+ return {
10950
+ jwt: data.jwt ? unmarshalJWT(data.jwt) : undefined,
10951
+ renewToken: data.renew_token,
10952
+ token: data.token
10953
+ };
10954
+ };
10953
10955
  const unmarshalListAPIKeysResponse = data => {
10954
10956
  if (!isJSONObject(data)) {
10955
10957
  throw new TypeError(`Unmarshalling the type 'ListAPIKeysResponse' failed as data isn't a dictionary.`);
@@ -11119,6 +11121,10 @@ const marshalCreateGroupRequest = (request, defaults) => ({
11119
11121
  organization_id: request.organizationId ?? defaults.defaultOrganizationId,
11120
11122
  tags: request.tags
11121
11123
  });
11124
+ const marshalCreateJWTRequest = (request, defaults) => ({
11125
+ referrer: request.referrer,
11126
+ user_id: request.userId
11127
+ });
11122
11128
  const marshalRuleSpecs = (request, defaults) => ({
11123
11129
  permission_set_names: request.permissionSetNames,
11124
11130
  ...resolveOneOf([{
@@ -11840,6 +11846,19 @@ let API$l = class API extends API$y {
11840
11846
  */
11841
11847
  listJWTs = (request = {}) => enrichForPagination('jwts', this.pageOfListJWTs, request);
11842
11848
 
11849
+ /**
11850
+ * Create a JWT.
11851
+ *
11852
+ * @param request - The request {@link CreateJWTRequest}
11853
+ * @returns A Promise of EncodedJWT
11854
+ */
11855
+ createJWT = request => this.client.fetch({
11856
+ body: JSON.stringify(marshalCreateJWTRequest(request, this.client.settings)),
11857
+ headers: jsonContentHeaders$k,
11858
+ method: 'POST',
11859
+ path: `/iam/v1alpha1/jwts`
11860
+ }, unmarshalEncodedJWT);
11861
+
11843
11862
  /**
11844
11863
  * Get a JWT.
11845
11864
  *
@@ -23469,13 +23488,13 @@ let API$a = class API extends API$y {
23469
23488
  listClusters = (request = {}) => enrichForPagination('clusters', this.pageOfListClusters, request);
23470
23489
 
23471
23490
  /**
23472
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
23473
- * Database Instance node, either by upgrading to a bigger node type (vertical
23474
- * scaling) or by adding more nodes to your Database Instance to increase your
23475
- * number of endpoints and distribute cache (horizontal scaling). Note that
23476
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
23477
- * certificate. In order to refresh the TLS certificate, you must use the
23478
- * Renew TLS certificate endpoint.
23491
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
23492
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
23493
+ * more nodes to your Database Instance to increase your number of endpoints
23494
+ * and distribute cache (horizontal scaling, available for clusters only).
23495
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
23496
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
23497
+ * the Renew TLS certificate endpoint.
23479
23498
  *
23480
23499
  * @param request - The request {@link MigrateClusterRequest}
23481
23500
  * @returns A Promise of Cluster
@@ -23847,7 +23866,7 @@ const unmarshalListNamespacesResponse = data => {
23847
23866
  totalCount: data.total_count
23848
23867
  };
23849
23868
  };
23850
- const unmarshalListTagsResponse$1 = data => {
23869
+ const unmarshalListTagsResponse$2 = data => {
23851
23870
  if (!isJSONObject(data)) {
23852
23871
  throw new TypeError(`Unmarshalling the type 'ListTagsResponse' failed as data isn't a dictionary.`);
23853
23872
  }
@@ -24041,7 +24060,7 @@ let API$9 = class API extends API$y {
24041
24060
  method: 'GET',
24042
24061
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/images/${validatePathParam('imageId', request.imageId)}/tags`,
24043
24062
  urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
24044
- }, unmarshalListTagsResponse$1);
24063
+ }, unmarshalListTagsResponse$2);
24045
24064
 
24046
24065
  /**
24047
24066
  * List tags. List all tags for a given image, specified by region. By
@@ -24216,7 +24235,7 @@ const unmarshalListSecretsResponse$1 = data => {
24216
24235
  totalCount: data.total_count
24217
24236
  };
24218
24237
  };
24219
- const unmarshalListTagsResponse = data => {
24238
+ const unmarshalListTagsResponse$1 = data => {
24220
24239
  if (!isJSONObject(data)) {
24221
24240
  throw new TypeError(`Unmarshalling the type 'ListTagsResponse' failed as data isn't a dictionary.`);
24222
24241
  }
@@ -24660,7 +24679,7 @@ let API$8 = class API extends API$y {
24660
24679
  method: 'GET',
24661
24680
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tags`,
24662
24681
  urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
24663
- }, unmarshalListTagsResponse);
24682
+ }, unmarshalListTagsResponse$1);
24664
24683
 
24665
24684
  /**
24666
24685
  * List tags. List all tags associated with secrets within a given Project.
@@ -24807,6 +24826,15 @@ const unmarshalListSecretsResponse = data => {
24807
24826
  totalCount: data.total_count
24808
24827
  };
24809
24828
  };
24829
+ const unmarshalListTagsResponse = data => {
24830
+ if (!isJSONObject(data)) {
24831
+ throw new TypeError(`Unmarshalling the type 'ListTagsResponse' failed as data isn't a dictionary.`);
24832
+ }
24833
+ return {
24834
+ tags: data.tags,
24835
+ totalCount: data.total_count
24836
+ };
24837
+ };
24810
24838
  const marshalAddSecretOwnerRequest = (request, defaults) => ({
24811
24839
  product: request.product
24812
24840
  });
@@ -25093,6 +25121,19 @@ let API$7 = class API extends API$y {
25093
25121
  method: 'POST',
25094
25122
  path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/disable`
25095
25123
  }, unmarshalSecretVersion);
25124
+ pageOfListTags = (request = {}) => this.client.fetch({
25125
+ method: 'GET',
25126
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tags`,
25127
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
25128
+ }, unmarshalListTagsResponse);
25129
+
25130
+ /**
25131
+ * List tags. List all tags associated with secrets within a given Project.
25132
+ *
25133
+ * @param request - The request {@link ListTagsRequest}
25134
+ * @returns A Promise of ListTagsResponse
25135
+ */
25136
+ listTags = (request = {}) => enrichForPagination('tags', this.pageOfListTags, request);
25096
25137
  };
25097
25138
 
25098
25139
  // This file was automatically generated. DO NOT EDIT.
@@ -26229,6 +26270,7 @@ const unmarshalVPC = data => {
26229
26270
  privateNetworkCount: data.private_network_count,
26230
26271
  projectId: data.project_id,
26231
26272
  region: data.region,
26273
+ routingEnabled: data.routing_enabled,
26232
26274
  tags: data.tags,
26233
26275
  updatedAt: unmarshalDate(data.updated_at)
26234
26276
  };
@@ -26286,6 +26328,7 @@ const marshalCreatePrivateNetworkRequest = (request, defaults) => ({
26286
26328
  vpc_id: request.vpcId
26287
26329
  });
26288
26330
  const marshalCreateVPCRequest = (request, defaults) => ({
26331
+ enable_routing: request.enableRouting,
26289
26332
  name: request.name || randomName('vpc'),
26290
26333
  project_id: request.projectId ?? defaults.defaultProjectId,
26291
26334
  tags: request.tags
@@ -26330,7 +26373,7 @@ let API$2 = class API extends API$y {
26330
26373
  pageOfListVPCs = (request = {}) => this.client.fetch({
26331
26374
  method: 'GET',
26332
26375
  path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs`,
26333
- urlParams: urlParams(['is_default', request.isDefault], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
26376
+ urlParams: urlParams(['is_default', request.isDefault], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['routing_enabled', request.routingEnabled], ['tags', request.tags])
26334
26377
  }, unmarshalListVPCsResponse);
26335
26378
 
26336
26379
  /**
@@ -26347,7 +26390,7 @@ let API$2 = class API extends API$y {
26347
26390
  * @param request - The request {@link CreateVPCRequest}
26348
26391
  * @returns A Promise of VPC
26349
26392
  */
26350
- createVPC = (request = {}) => this.client.fetch({
26393
+ createVPC = request => this.client.fetch({
26351
26394
  body: JSON.stringify(marshalCreateVPCRequest(request, this.client.settings)),
26352
26395
  headers: jsonContentHeaders$2,
26353
26396
  method: 'POST',
@@ -27027,14 +27070,13 @@ let API$1 = class API extends API$y {
27027
27070
  * calls after the first will return no error but have no effect.
27028
27071
  *
27029
27072
  * @param request - The request {@link EnableIPMobilityRequest}
27030
- * @returns A Promise of Gateway
27031
27073
  */
27032
27074
  enableIPMobility = request => this.client.fetch({
27033
27075
  body: '{}',
27034
27076
  headers: jsonContentHeaders$1,
27035
27077
  method: 'POST',
27036
27078
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`
27037
- }, unmarshalGateway);
27079
+ });
27038
27080
  pageOfListGatewayNetworks = (request = {}) => this.client.fetch({
27039
27081
  method: 'GET',
27040
27082
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateway-networks`,
package/dist/index.d.ts CHANGED
@@ -3451,7 +3451,7 @@ declare namespace index$u {
3451
3451
 
3452
3452
  type ListSnapshotsRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
3453
3453
  type ListVolumesRequestOrderBy$1 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
3454
- type ReferenceStatus = 'unknown_status' | 'attaching' | 'attached' | 'detaching' | 'detached' | 'snapshotting' | 'error';
3454
+ type ReferenceStatus = 'unknown_status' | 'attaching' | 'attached' | 'detaching' | 'detached' | 'creating' | 'error';
3455
3455
  type ReferenceType = 'unknown_type' | 'link' | 'exclusive' | 'read_only';
3456
3456
  type SnapshotStatus$2 = 'unknown_status' | 'creating' | 'available' | 'error' | 'deleting' | 'deleted' | 'in_use' | 'locked';
3457
3457
  type StorageClass$2 = 'unknown_storage_class' | 'unspecified' | 'bssd' | 'sbs';
@@ -4637,15 +4637,13 @@ interface SecretHashedValue$1 {
4637
4637
  hashedValue: string;
4638
4638
  }
4639
4639
  interface TriggerMnqNatsClientConfig$1 {
4640
- /** @deprecated */
4641
- mnqNamespaceId?: string;
4642
4640
  /** Name of the NATS subject the trigger listens to. */
4643
4641
  subject: string;
4644
4642
  /** ID of the Messaging and Queuing NATS account. */
4645
4643
  mnqNatsAccountId: string;
4646
4644
  /** ID of the Messaging and Queuing project. */
4647
4645
  mnqProjectId: string;
4648
- /** Currently, only the `fr-par` region is available. */
4646
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
4649
4647
  mnqRegion: string;
4650
4648
  /**
4651
4649
  * ID of the Messaging and Queuing credentials used to subscribe to the NATS
@@ -4654,13 +4652,11 @@ interface TriggerMnqNatsClientConfig$1 {
4654
4652
  mnqCredentialId?: string;
4655
4653
  }
4656
4654
  interface TriggerMnqSqsClientConfig$1 {
4657
- /** @deprecated */
4658
- mnqNamespaceId?: string;
4659
4655
  /** Name of the SQS queue the trigger listens to. */
4660
4656
  queue: string;
4661
4657
  /** ID of the Messaging and Queuing project. */
4662
4658
  mnqProjectId: string;
4663
- /** Currently, only the `fr-par` region is available. */
4659
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
4664
4660
  mnqRegion: string;
4665
4661
  /**
4666
4662
  * ID of the Messaging and Queuing credentials used to read from the SQS
@@ -4679,25 +4675,21 @@ interface Secret$3 {
4679
4675
  value?: string;
4680
4676
  }
4681
4677
  interface CreateTriggerRequestMnqNatsClientConfig$3 {
4682
- /** @deprecated */
4683
- mnqNamespaceId?: string;
4684
4678
  /** Name of the NATS subject the trigger should listen to. */
4685
4679
  subject: string;
4686
4680
  /** ID of the Messaging and Queuing NATS account. */
4687
4681
  mnqNatsAccountId: string;
4688
4682
  /** ID of the Messaging and Queuing project. */
4689
4683
  mnqProjectId: string;
4690
- /** Currently, only the `fr-par` region is available. */
4684
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
4691
4685
  mnqRegion: string;
4692
4686
  }
4693
4687
  interface CreateTriggerRequestMnqSqsClientConfig$3 {
4694
- /** @deprecated */
4695
- mnqNamespaceId?: string;
4696
4688
  /** Name of the SQS queue the trigger should listen to. */
4697
4689
  queue: string;
4698
4690
  /** You must have activated SQS on this project. */
4699
4691
  mnqProjectId: string;
4700
- /** Currently, only the `fr-par` region is available. */
4692
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
4701
4693
  mnqRegion: string;
4702
4694
  }
4703
4695
  interface CreateTriggerRequestSqsClientConfig$1 {
@@ -9774,15 +9766,13 @@ interface SecretHashedValue {
9774
9766
  hashedValue: string;
9775
9767
  }
9776
9768
  interface TriggerMnqNatsClientConfig {
9777
- /** @deprecated */
9778
- mnqNamespaceId?: string;
9779
9769
  /** Name of the NATS subject the trigger listens to. */
9780
9770
  subject: string;
9781
9771
  /** ID of the Messaging and Queuing NATS account. */
9782
9772
  mnqNatsAccountId: string;
9783
9773
  /** ID of the Messaging and Queuing project. */
9784
9774
  mnqProjectId: string;
9785
- /** Currently, only the `fr-par` region is available. */
9775
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
9786
9776
  mnqRegion: string;
9787
9777
  /**
9788
9778
  * ID of the Messaging and Queuing credentials used to subscribe to the NATS
@@ -9791,13 +9781,11 @@ interface TriggerMnqNatsClientConfig {
9791
9781
  mnqCredentialId?: string;
9792
9782
  }
9793
9783
  interface TriggerMnqSqsClientConfig {
9794
- /** @deprecated */
9795
- mnqNamespaceId?: string;
9796
9784
  /** Name of the SQS queue the trigger listens to. */
9797
9785
  queue: string;
9798
9786
  /** ID of the Messaging and Queuing project. */
9799
9787
  mnqProjectId: string;
9800
- /** Currently, only the `fr-par` region is available. */
9788
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
9801
9789
  mnqRegion: string;
9802
9790
  /**
9803
9791
  * ID of the Messaging and Queuing credentials used to read from the SQS
@@ -9816,25 +9804,21 @@ interface Secret$2 {
9816
9804
  value?: string;
9817
9805
  }
9818
9806
  interface CreateTriggerRequestMnqNatsClientConfig$1 {
9819
- /** @deprecated */
9820
- mnqNamespaceId?: string;
9821
9807
  /** Name of the NATS subject the trigger should listen to. */
9822
9808
  subject: string;
9823
9809
  /** ID of the Messaging and Queuing NATS account. */
9824
9810
  mnqNatsAccountId: string;
9825
9811
  /** ID of the Messaging and Queuing project. */
9826
9812
  mnqProjectId: string;
9827
- /** Currently, only the `fr-par` region is available. */
9813
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
9828
9814
  mnqRegion: string;
9829
9815
  }
9830
9816
  interface CreateTriggerRequestMnqSqsClientConfig$1 {
9831
- /** @deprecated */
9832
- mnqNamespaceId?: string;
9833
9817
  /** Name of the SQS queue the trigger should listen to. */
9834
9818
  queue: string;
9835
9819
  /** You must have activated SQS on this project. */
9836
9820
  mnqProjectId: string;
9837
- /** Currently, only the `fr-par` region is available. */
9821
+ /** Currently, only the `fr-par` and `nl-ams` regions are available. */
9838
9822
  mnqRegion: string;
9839
9823
  }
9840
9824
  interface CreateTriggerRequestSqsClientConfig {
@@ -11453,6 +11437,12 @@ type CreateGroupRequest$1 = {
11453
11437
  /** Tags associated with the group (maximum of 10 tags). */
11454
11438
  tags?: string[];
11455
11439
  };
11440
+ type CreateJWTRequest = {
11441
+ /** ID of the user the JWT will be created for. */
11442
+ userId: string;
11443
+ /** Referrer of the JWT. */
11444
+ referrer: string;
11445
+ };
11456
11446
  type CreatePolicyRequest$1 = {
11457
11447
  /** Name of the policy to create (max length is 64 characters). */
11458
11448
  name?: string;
@@ -11539,6 +11529,14 @@ type DeleteUserRequest$1 = {
11539
11529
  /** ID of the user to delete. */
11540
11530
  userId: string;
11541
11531
  };
11532
+ interface EncodedJWT {
11533
+ /** The renewed JWT. */
11534
+ jwt?: JWT;
11535
+ /** The encoded token of the renewed JWT. */
11536
+ token: string;
11537
+ /** The encoded renew token. This token is necessary to renew the JWT. */
11538
+ renewToken: string;
11539
+ }
11542
11540
  type GetAPIKeyRequest = {
11543
11541
  /** Access key to search for. */
11544
11542
  accessKey: string;
@@ -12377,6 +12375,13 @@ declare class API$l extends API$y {
12377
12375
  all: () => Promise<JWT[]>;
12378
12376
  [Symbol.asyncIterator]: () => AsyncGenerator<JWT[], void, void>;
12379
12377
  };
12378
+ /**
12379
+ * Create a JWT.
12380
+ *
12381
+ * @param request - The request {@link CreateJWTRequest}
12382
+ * @returns A Promise of EncodedJWT
12383
+ */
12384
+ createJWT: (request: Readonly<CreateJWTRequest>) => Promise<EncodedJWT>;
12380
12385
  /**
12381
12386
  * Get a JWT.
12382
12387
  *
@@ -12657,12 +12662,14 @@ type index_gen$k_AddGroupMembersRequest = AddGroupMembersRequest;
12657
12662
  type index_gen$k_Application = Application;
12658
12663
  type index_gen$k_BearerType = BearerType;
12659
12664
  type index_gen$k_ClonePolicyRequest = ClonePolicyRequest;
12665
+ type index_gen$k_CreateJWTRequest = CreateJWTRequest;
12660
12666
  type index_gen$k_DeleteAPIKeyRequest = DeleteAPIKeyRequest;
12661
12667
  type index_gen$k_DeleteApplicationRequest = DeleteApplicationRequest;
12662
12668
  type index_gen$k_DeleteGroupRequest = DeleteGroupRequest;
12663
12669
  type index_gen$k_DeleteJWTRequest = DeleteJWTRequest;
12664
12670
  type index_gen$k_DeletePolicyRequest = DeletePolicyRequest;
12665
12671
  type index_gen$k_DeleteSSHKeyRequest = DeleteSSHKeyRequest;
12672
+ type index_gen$k_EncodedJWT = EncodedJWT;
12666
12673
  type index_gen$k_GetAPIKeyRequest = GetAPIKeyRequest;
12667
12674
  type index_gen$k_GetApplicationRequest = GetApplicationRequest;
12668
12675
  type index_gen$k_GetGroupRequest = GetGroupRequest;
@@ -12709,7 +12716,7 @@ type index_gen$k_SetRulesResponse = SetRulesResponse;
12709
12716
  type index_gen$k_UserStatus = UserStatus;
12710
12717
  type index_gen$k_UserType = UserType;
12711
12718
  declare namespace index_gen$k {
12712
- export { API$l as API, type index_gen$k_APIKey as APIKey, type index_gen$k_AddGroupMemberRequest as AddGroupMemberRequest, type index_gen$k_AddGroupMembersRequest as AddGroupMembersRequest, type index_gen$k_Application as Application, type index_gen$k_BearerType as BearerType, type index_gen$k_ClonePolicyRequest as ClonePolicyRequest, type CreateAPIKeyRequest$1 as CreateAPIKeyRequest, type CreateApplicationRequest$1 as CreateApplicationRequest, type CreateGroupRequest$1 as CreateGroupRequest, type CreatePolicyRequest$1 as CreatePolicyRequest, type CreateSSHKeyRequest$1 as CreateSSHKeyRequest, type CreateUserRequest$1 as CreateUserRequest, type index_gen$k_DeleteAPIKeyRequest as DeleteAPIKeyRequest, type index_gen$k_DeleteApplicationRequest as DeleteApplicationRequest, type index_gen$k_DeleteGroupRequest as DeleteGroupRequest, type index_gen$k_DeleteJWTRequest as DeleteJWTRequest, type index_gen$k_DeletePolicyRequest as DeletePolicyRequest, type index_gen$k_DeleteSSHKeyRequest as DeleteSSHKeyRequest, type DeleteUserRequest$1 as DeleteUserRequest, type index_gen$k_GetAPIKeyRequest as GetAPIKeyRequest, type index_gen$k_GetApplicationRequest as GetApplicationRequest, type index_gen$k_GetGroupRequest as GetGroupRequest, type index_gen$k_GetJWTRequest as GetJWTRequest, type index_gen$k_GetLogRequest as GetLogRequest, type index_gen$k_GetPolicyRequest as GetPolicyRequest, type GetQuotumRequest$1 as GetQuotumRequest, type index_gen$k_GetSSHKeyRequest as GetSSHKeyRequest, type index_gen$k_GetUserRequest as GetUserRequest, type index_gen$k_Group as Group, type index_gen$k_JWT as JWT, type ListAPIKeysRequest$1 as ListAPIKeysRequest, type index_gen$k_ListAPIKeysRequestOrderBy as ListAPIKeysRequestOrderBy, type index_gen$k_ListAPIKeysResponse as ListAPIKeysResponse, type ListApplicationsRequest$1 as ListApplicationsRequest, type index_gen$k_ListApplicationsRequestOrderBy as ListApplicationsRequestOrderBy, type index_gen$k_ListApplicationsResponse as ListApplicationsResponse, type ListGroupsRequest$1 as ListGroupsRequest, type index_gen$k_ListGroupsRequestOrderBy as ListGroupsRequestOrderBy, type index_gen$k_ListGroupsResponse as ListGroupsResponse, type ListJWTsRequest$1 as ListJWTsRequest, type index_gen$k_ListJWTsRequestOrderBy as ListJWTsRequestOrderBy, type index_gen$k_ListJWTsResponse as ListJWTsResponse, type ListLogsRequest$1 as ListLogsRequest, type index_gen$k_ListLogsRequestOrderBy as ListLogsRequestOrderBy, type index_gen$k_ListLogsResponse as ListLogsResponse, type ListPermissionSetsRequest$1 as ListPermissionSetsRequest, type index_gen$k_ListPermissionSetsRequestOrderBy as ListPermissionSetsRequestOrderBy, type index_gen$k_ListPermissionSetsResponse as ListPermissionSetsResponse, type ListPoliciesRequest$1 as ListPoliciesRequest, type index_gen$k_ListPoliciesRequestOrderBy as ListPoliciesRequestOrderBy, type index_gen$k_ListPoliciesResponse as ListPoliciesResponse, type ListQuotaRequest$1 as ListQuotaRequest, type index_gen$k_ListQuotaRequestOrderBy as ListQuotaRequestOrderBy, type index_gen$k_ListQuotaResponse as ListQuotaResponse, type ListRulesRequest$1 as ListRulesRequest, type index_gen$k_ListRulesResponse as ListRulesResponse, type ListSSHKeysRequest$1 as ListSSHKeysRequest, type index_gen$k_ListSSHKeysRequestOrderBy as ListSSHKeysRequestOrderBy, type index_gen$k_ListSSHKeysResponse as ListSSHKeysResponse, type ListUsersRequest$2 as ListUsersRequest, type ListUsersRequestOrderBy$1 as ListUsersRequestOrderBy, type ListUsersResponse$1 as ListUsersResponse, type index_gen$k_Log as Log, type index_gen$k_LogAction as LogAction, type index_gen$k_LogResourceType as LogResourceType, type index_gen$k_PermissionSet as PermissionSet, type index_gen$k_PermissionSetScopeType as PermissionSetScopeType, type index_gen$k_Policy as Policy, type index_gen$k_Quotum as Quotum, type index_gen$k_RemoveGroupMemberRequest as RemoveGroupMemberRequest, type index_gen$k_Rule as Rule, type index_gen$k_RuleSpecs as RuleSpecs, type index_gen$k_SSHKey as SSHKey, type index_gen$k_SetGroupMembersRequest as SetGroupMembersRequest, type index_gen$k_SetRulesRequest as SetRulesRequest, type index_gen$k_SetRulesResponse as SetRulesResponse, type UpdateAPIKeyRequest$1 as UpdateAPIKeyRequest, type UpdateApplicationRequest$1 as UpdateApplicationRequest, type UpdateGroupRequest$1 as UpdateGroupRequest, type UpdatePolicyRequest$1 as UpdatePolicyRequest, type UpdateSSHKeyRequest$1 as UpdateSSHKeyRequest, type UpdateUserRequest$1 as UpdateUserRequest, type User$1 as User, type index_gen$k_UserStatus as UserStatus, type index_gen$k_UserType as UserType, validationRules_gen$7 as ValidationRules };
12719
+ export { API$l as API, type index_gen$k_APIKey as APIKey, type index_gen$k_AddGroupMemberRequest as AddGroupMemberRequest, type index_gen$k_AddGroupMembersRequest as AddGroupMembersRequest, type index_gen$k_Application as Application, type index_gen$k_BearerType as BearerType, type index_gen$k_ClonePolicyRequest as ClonePolicyRequest, type CreateAPIKeyRequest$1 as CreateAPIKeyRequest, type CreateApplicationRequest$1 as CreateApplicationRequest, type CreateGroupRequest$1 as CreateGroupRequest, type index_gen$k_CreateJWTRequest as CreateJWTRequest, type CreatePolicyRequest$1 as CreatePolicyRequest, type CreateSSHKeyRequest$1 as CreateSSHKeyRequest, type CreateUserRequest$1 as CreateUserRequest, type index_gen$k_DeleteAPIKeyRequest as DeleteAPIKeyRequest, type index_gen$k_DeleteApplicationRequest as DeleteApplicationRequest, type index_gen$k_DeleteGroupRequest as DeleteGroupRequest, type index_gen$k_DeleteJWTRequest as DeleteJWTRequest, type index_gen$k_DeletePolicyRequest as DeletePolicyRequest, type index_gen$k_DeleteSSHKeyRequest as DeleteSSHKeyRequest, type DeleteUserRequest$1 as DeleteUserRequest, type index_gen$k_EncodedJWT as EncodedJWT, type index_gen$k_GetAPIKeyRequest as GetAPIKeyRequest, type index_gen$k_GetApplicationRequest as GetApplicationRequest, type index_gen$k_GetGroupRequest as GetGroupRequest, type index_gen$k_GetJWTRequest as GetJWTRequest, type index_gen$k_GetLogRequest as GetLogRequest, type index_gen$k_GetPolicyRequest as GetPolicyRequest, type GetQuotumRequest$1 as GetQuotumRequest, type index_gen$k_GetSSHKeyRequest as GetSSHKeyRequest, type index_gen$k_GetUserRequest as GetUserRequest, type index_gen$k_Group as Group, type index_gen$k_JWT as JWT, type ListAPIKeysRequest$1 as ListAPIKeysRequest, type index_gen$k_ListAPIKeysRequestOrderBy as ListAPIKeysRequestOrderBy, type index_gen$k_ListAPIKeysResponse as ListAPIKeysResponse, type ListApplicationsRequest$1 as ListApplicationsRequest, type index_gen$k_ListApplicationsRequestOrderBy as ListApplicationsRequestOrderBy, type index_gen$k_ListApplicationsResponse as ListApplicationsResponse, type ListGroupsRequest$1 as ListGroupsRequest, type index_gen$k_ListGroupsRequestOrderBy as ListGroupsRequestOrderBy, type index_gen$k_ListGroupsResponse as ListGroupsResponse, type ListJWTsRequest$1 as ListJWTsRequest, type index_gen$k_ListJWTsRequestOrderBy as ListJWTsRequestOrderBy, type index_gen$k_ListJWTsResponse as ListJWTsResponse, type ListLogsRequest$1 as ListLogsRequest, type index_gen$k_ListLogsRequestOrderBy as ListLogsRequestOrderBy, type index_gen$k_ListLogsResponse as ListLogsResponse, type ListPermissionSetsRequest$1 as ListPermissionSetsRequest, type index_gen$k_ListPermissionSetsRequestOrderBy as ListPermissionSetsRequestOrderBy, type index_gen$k_ListPermissionSetsResponse as ListPermissionSetsResponse, type ListPoliciesRequest$1 as ListPoliciesRequest, type index_gen$k_ListPoliciesRequestOrderBy as ListPoliciesRequestOrderBy, type index_gen$k_ListPoliciesResponse as ListPoliciesResponse, type ListQuotaRequest$1 as ListQuotaRequest, type index_gen$k_ListQuotaRequestOrderBy as ListQuotaRequestOrderBy, type index_gen$k_ListQuotaResponse as ListQuotaResponse, type ListRulesRequest$1 as ListRulesRequest, type index_gen$k_ListRulesResponse as ListRulesResponse, type ListSSHKeysRequest$1 as ListSSHKeysRequest, type index_gen$k_ListSSHKeysRequestOrderBy as ListSSHKeysRequestOrderBy, type index_gen$k_ListSSHKeysResponse as ListSSHKeysResponse, type ListUsersRequest$2 as ListUsersRequest, type ListUsersRequestOrderBy$1 as ListUsersRequestOrderBy, type ListUsersResponse$1 as ListUsersResponse, type index_gen$k_Log as Log, type index_gen$k_LogAction as LogAction, type index_gen$k_LogResourceType as LogResourceType, type index_gen$k_PermissionSet as PermissionSet, type index_gen$k_PermissionSetScopeType as PermissionSetScopeType, type index_gen$k_Policy as Policy, type index_gen$k_Quotum as Quotum, type index_gen$k_RemoveGroupMemberRequest as RemoveGroupMemberRequest, type index_gen$k_Rule as Rule, type index_gen$k_RuleSpecs as RuleSpecs, type index_gen$k_SSHKey as SSHKey, type index_gen$k_SetGroupMembersRequest as SetGroupMembersRequest, type index_gen$k_SetRulesRequest as SetRulesRequest, type index_gen$k_SetRulesResponse as SetRulesResponse, type UpdateAPIKeyRequest$1 as UpdateAPIKeyRequest, type UpdateApplicationRequest$1 as UpdateApplicationRequest, type UpdateGroupRequest$1 as UpdateGroupRequest, type UpdatePolicyRequest$1 as UpdatePolicyRequest, type UpdateSSHKeyRequest$1 as UpdateSSHKeyRequest, type UpdateUserRequest$1 as UpdateUserRequest, type User$1 as User, type index_gen$k_UserStatus as UserStatus, type index_gen$k_UserType as UserType, validationRules_gen$7 as ValidationRules };
12713
12720
  }
12714
12721
 
12715
12722
  declare namespace index$m {
@@ -27461,13 +27468,13 @@ declare class API$a extends API$y {
27461
27468
  [Symbol.asyncIterator]: () => AsyncGenerator<Cluster[], void, void>;
27462
27469
  };
27463
27470
  /**
27464
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
27465
- * Database Instance node, either by upgrading to a bigger node type (vertical
27466
- * scaling) or by adding more nodes to your Database Instance to increase your
27467
- * number of endpoints and distribute cache (horizontal scaling). Note that
27468
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
27469
- * certificate. In order to refresh the TLS certificate, you must use the
27470
- * Renew TLS certificate endpoint.
27471
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
27472
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
27473
+ * more nodes to your Database Instance to increase your number of endpoints
27474
+ * and distribute cache (horizontal scaling, available for clusters only).
27475
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
27476
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
27477
+ * the Renew TLS certificate endpoint.
27471
27478
  *
27472
27479
  * @param request - The request {@link MigrateClusterRequest}
27473
27480
  * @returns A Promise of Cluster
@@ -27952,7 +27959,7 @@ interface ListNamespacesResponse {
27952
27959
  /** Total number of namespaces that match the selected filters. */
27953
27960
  totalCount: number;
27954
27961
  }
27955
- type ListTagsRequest$1 = {
27962
+ type ListTagsRequest$2 = {
27956
27963
  /**
27957
27964
  * Region to target. If none is passed will use default region from the
27958
27965
  * config.
@@ -27976,7 +27983,7 @@ type ListTagsRequest$1 = {
27976
27983
  /** Filter by the tag name (exact match). */
27977
27984
  name?: string;
27978
27985
  };
27979
- interface ListTagsResponse$1 {
27986
+ interface ListTagsResponse$2 {
27980
27987
  /** Paginated list of tags that match the selected filters. */
27981
27988
  tags: Tag[];
27982
27989
  /** Total number of tags that match the selected filters. */
@@ -28124,7 +28131,7 @@ declare class API$9 extends API$y {
28124
28131
  * @returns A Promise of Image
28125
28132
  */
28126
28133
  deleteImage: (request: Readonly<DeleteImageRequest>) => Promise<Image>;
28127
- protected pageOfListTags: (request: Readonly<ListTagsRequest$1>) => Promise<ListTagsResponse$1>;
28134
+ protected pageOfListTags: (request: Readonly<ListTagsRequest$2>) => Promise<ListTagsResponse$2>;
28128
28135
  /**
28129
28136
  * List tags. List all tags for a given image, specified by region. By
28130
28137
  * default, the tags listed are ordered by creation date in ascending order.
@@ -28134,7 +28141,7 @@ declare class API$9 extends API$y {
28134
28141
  * @param request - The request {@link ListTagsRequest}
28135
28142
  * @returns A Promise of ListTagsResponse
28136
28143
  */
28137
- listTags: (request: Readonly<ListTagsRequest$1>) => Promise<ListTagsResponse$1> & {
28144
+ listTags: (request: Readonly<ListTagsRequest$2>) => Promise<ListTagsResponse$2> & {
28138
28145
  all: () => Promise<Tag[]>;
28139
28146
  [Symbol.asyncIterator]: () => AsyncGenerator<Tag[], void, void>;
28140
28147
  };
@@ -28199,7 +28206,7 @@ type index_gen$a_TagStatus = TagStatus;
28199
28206
  type index_gen$a_UpdateImageRequest = UpdateImageRequest;
28200
28207
  type index_gen$a_UpdateNamespaceRequest = UpdateNamespaceRequest;
28201
28208
  declare namespace index_gen$a {
28202
- export { API$9 as API, type index_gen$a_CreateNamespaceRequest as CreateNamespaceRequest, type index_gen$a_DeleteImageRequest as DeleteImageRequest, type index_gen$a_DeleteNamespaceRequest as DeleteNamespaceRequest, type index_gen$a_DeleteTagRequest as DeleteTagRequest, type index_gen$a_GetImageRequest as GetImageRequest, type index_gen$a_GetNamespaceRequest as GetNamespaceRequest, type index_gen$a_GetTagRequest as GetTagRequest, index_gen$a_IMAGE_TRANSIENT_STATUSES as IMAGE_TRANSIENT_STATUSES, type index_gen$a_Image as Image, type index_gen$a_ImageStatus as ImageStatus, type index_gen$a_ImageVisibility as ImageVisibility, type index_gen$a_ListImagesRequest as ListImagesRequest, type index_gen$a_ListImagesRequestOrderBy as ListImagesRequestOrderBy, type index_gen$a_ListImagesResponse as ListImagesResponse, type index_gen$a_ListNamespacesRequest as ListNamespacesRequest, type index_gen$a_ListNamespacesRequestOrderBy as ListNamespacesRequestOrderBy, type index_gen$a_ListNamespacesResponse as ListNamespacesResponse, type ListTagsRequest$1 as ListTagsRequest, type index_gen$a_ListTagsRequestOrderBy as ListTagsRequestOrderBy, type ListTagsResponse$1 as ListTagsResponse, index_gen$a_NAMESPACE_TRANSIENT_STATUSES as NAMESPACE_TRANSIENT_STATUSES, type index_gen$a_Namespace as Namespace, type index_gen$a_NamespaceStatus as NamespaceStatus, index_gen$a_TAG_TRANSIENT_STATUSES as TAG_TRANSIENT_STATUSES, type index_gen$a_Tag as Tag, type index_gen$a_TagStatus as TagStatus, type index_gen$a_UpdateImageRequest as UpdateImageRequest, type index_gen$a_UpdateNamespaceRequest as UpdateNamespaceRequest };
28209
+ export { API$9 as API, type index_gen$a_CreateNamespaceRequest as CreateNamespaceRequest, type index_gen$a_DeleteImageRequest as DeleteImageRequest, type index_gen$a_DeleteNamespaceRequest as DeleteNamespaceRequest, type index_gen$a_DeleteTagRequest as DeleteTagRequest, type index_gen$a_GetImageRequest as GetImageRequest, type index_gen$a_GetNamespaceRequest as GetNamespaceRequest, type index_gen$a_GetTagRequest as GetTagRequest, index_gen$a_IMAGE_TRANSIENT_STATUSES as IMAGE_TRANSIENT_STATUSES, type index_gen$a_Image as Image, type index_gen$a_ImageStatus as ImageStatus, type index_gen$a_ImageVisibility as ImageVisibility, type index_gen$a_ListImagesRequest as ListImagesRequest, type index_gen$a_ListImagesRequestOrderBy as ListImagesRequestOrderBy, type index_gen$a_ListImagesResponse as ListImagesResponse, type index_gen$a_ListNamespacesRequest as ListNamespacesRequest, type index_gen$a_ListNamespacesRequestOrderBy as ListNamespacesRequestOrderBy, type index_gen$a_ListNamespacesResponse as ListNamespacesResponse, type ListTagsRequest$2 as ListTagsRequest, type index_gen$a_ListTagsRequestOrderBy as ListTagsRequestOrderBy, type ListTagsResponse$2 as ListTagsResponse, index_gen$a_NAMESPACE_TRANSIENT_STATUSES as NAMESPACE_TRANSIENT_STATUSES, type index_gen$a_Namespace as Namespace, type index_gen$a_NamespaceStatus as NamespaceStatus, index_gen$a_TAG_TRANSIENT_STATUSES as TAG_TRANSIENT_STATUSES, type index_gen$a_Tag as Tag, type index_gen$a_TagStatus as TagStatus, type index_gen$a_UpdateImageRequest as UpdateImageRequest, type index_gen$a_UpdateNamespaceRequest as UpdateNamespaceRequest };
28203
28210
  }
28204
28211
 
28205
28212
  declare namespace index$7 {
@@ -28738,7 +28745,7 @@ interface ListSecretsResponse$1 {
28738
28745
  /** Count of all secrets matching the requested criteria. */
28739
28746
  totalCount: number;
28740
28747
  }
28741
- type ListTagsRequest = {
28748
+ type ListTagsRequest$1 = {
28742
28749
  /**
28743
28750
  * Region to target. If none is passed will use default region from the
28744
28751
  * config.
@@ -28752,7 +28759,7 @@ type ListTagsRequest = {
28752
28759
  page?: number;
28753
28760
  pageSize?: number;
28754
28761
  };
28755
- interface ListTagsResponse {
28762
+ interface ListTagsResponse$1 {
28756
28763
  /** List of tags. */
28757
28764
  tags: string[];
28758
28765
  /** Count of all tags matching the requested criteria. */
@@ -29071,14 +29078,14 @@ declare class API$8 extends API$y {
29071
29078
  * @returns A Promise of SecretVersion
29072
29079
  */
29073
29080
  destroySecretVersion: (request: Readonly<DestroySecretVersionRequest>) => Promise<SecretVersion$1>;
29074
- protected pageOfListTags: (request?: Readonly<ListTagsRequest>) => Promise<ListTagsResponse>;
29081
+ protected pageOfListTags: (request?: Readonly<ListTagsRequest$1>) => Promise<ListTagsResponse$1>;
29075
29082
  /**
29076
29083
  * List tags. List all tags associated with secrets within a given Project.
29077
29084
  *
29078
29085
  * @param request - The request {@link ListTagsRequest}
29079
29086
  * @returns A Promise of ListTagsResponse
29080
29087
  */
29081
- listTags: (request?: Readonly<ListTagsRequest>) => Promise<ListTagsResponse> & {
29088
+ listTags: (request?: Readonly<ListTagsRequest$1>) => Promise<ListTagsResponse$1> & {
29082
29089
  all: () => Promise<string[]>;
29083
29090
  [Symbol.asyncIterator]: () => AsyncGenerator<string[], void, void>;
29084
29091
  };
@@ -29096,11 +29103,9 @@ type index_gen$9_ListFoldersRequest = ListFoldersRequest;
29096
29103
  type index_gen$9_ListFoldersRequestOrderBy = ListFoldersRequestOrderBy;
29097
29104
  type index_gen$9_ListFoldersResponse = ListFoldersResponse;
29098
29105
  type index_gen$9_ListSecretVersionsByNameRequest = ListSecretVersionsByNameRequest;
29099
- type index_gen$9_ListTagsRequest = ListTagsRequest;
29100
- type index_gen$9_ListTagsResponse = ListTagsResponse;
29101
29106
  type index_gen$9_PasswordGenerationParams = PasswordGenerationParams;
29102
29107
  declare namespace index_gen$9 {
29103
- export { API$8 as API, type index_gen$9_AccessSecretVersionByNameRequest as AccessSecretVersionByNameRequest, type AccessSecretVersionRequest$1 as AccessSecretVersionRequest, type AccessSecretVersionResponse$1 as AccessSecretVersionResponse, type AddSecretOwnerRequest$1 as AddSecretOwnerRequest, type index_gen$9_CreateFolderRequest as CreateFolderRequest, type CreateSecretRequest$1 as CreateSecretRequest, type CreateSecretVersionRequest$1 as CreateSecretVersionRequest, type index_gen$9_DeleteFolderRequest as DeleteFolderRequest, type DeleteSecretRequest$1 as DeleteSecretRequest, type index_gen$9_DestroySecretVersionRequest as DestroySecretVersionRequest, type DisableSecretVersionRequest$1 as DisableSecretVersionRequest, type EnableSecretVersionRequest$1 as EnableSecretVersionRequest, type EphemeralPolicy$1 as EphemeralPolicy, type EphemeralPolicyAction$1 as EphemeralPolicyAction, type EphemeralProperties$1 as EphemeralProperties, type index_gen$9_Folder as Folder, type index_gen$9_GeneratePasswordRequest as GeneratePasswordRequest, type index_gen$9_GetSecretByNameRequest as GetSecretByNameRequest, type GetSecretRequest$1 as GetSecretRequest, type index_gen$9_GetSecretVersionByNameRequest as GetSecretVersionByNameRequest, type GetSecretVersionRequest$1 as GetSecretVersionRequest, type index_gen$9_ListFoldersRequest as ListFoldersRequest, type index_gen$9_ListFoldersRequestOrderBy as ListFoldersRequestOrderBy, type index_gen$9_ListFoldersResponse as ListFoldersResponse, type index_gen$9_ListSecretVersionsByNameRequest as ListSecretVersionsByNameRequest, type ListSecretVersionsRequest$1 as ListSecretVersionsRequest, type ListSecretVersionsResponse$1 as ListSecretVersionsResponse, type ListSecretsRequest$1 as ListSecretsRequest, type ListSecretsRequestOrderBy$1 as ListSecretsRequestOrderBy, type ListSecretsResponse$1 as ListSecretsResponse, type index_gen$9_ListTagsRequest as ListTagsRequest, type index_gen$9_ListTagsResponse as ListTagsResponse, type index_gen$9_PasswordGenerationParams as PasswordGenerationParams, type Product$1 as Product, type ProtectSecretRequest$1 as ProtectSecretRequest, type Secret$1 as Secret, type SecretStatus$1 as SecretStatus, type SecretType$1 as SecretType, type SecretVersion$1 as SecretVersion, type SecretVersionStatus$1 as SecretVersionStatus, type UnprotectSecretRequest$1 as UnprotectSecretRequest, type UpdateSecretRequest$1 as UpdateSecretRequest, type UpdateSecretVersionRequest$1 as UpdateSecretVersionRequest };
29108
+ export { API$8 as API, type index_gen$9_AccessSecretVersionByNameRequest as AccessSecretVersionByNameRequest, type AccessSecretVersionRequest$1 as AccessSecretVersionRequest, type AccessSecretVersionResponse$1 as AccessSecretVersionResponse, type AddSecretOwnerRequest$1 as AddSecretOwnerRequest, type index_gen$9_CreateFolderRequest as CreateFolderRequest, type CreateSecretRequest$1 as CreateSecretRequest, type CreateSecretVersionRequest$1 as CreateSecretVersionRequest, type index_gen$9_DeleteFolderRequest as DeleteFolderRequest, type DeleteSecretRequest$1 as DeleteSecretRequest, type index_gen$9_DestroySecretVersionRequest as DestroySecretVersionRequest, type DisableSecretVersionRequest$1 as DisableSecretVersionRequest, type EnableSecretVersionRequest$1 as EnableSecretVersionRequest, type EphemeralPolicy$1 as EphemeralPolicy, type EphemeralPolicyAction$1 as EphemeralPolicyAction, type EphemeralProperties$1 as EphemeralProperties, type index_gen$9_Folder as Folder, type index_gen$9_GeneratePasswordRequest as GeneratePasswordRequest, type index_gen$9_GetSecretByNameRequest as GetSecretByNameRequest, type GetSecretRequest$1 as GetSecretRequest, type index_gen$9_GetSecretVersionByNameRequest as GetSecretVersionByNameRequest, type GetSecretVersionRequest$1 as GetSecretVersionRequest, type index_gen$9_ListFoldersRequest as ListFoldersRequest, type index_gen$9_ListFoldersRequestOrderBy as ListFoldersRequestOrderBy, type index_gen$9_ListFoldersResponse as ListFoldersResponse, type index_gen$9_ListSecretVersionsByNameRequest as ListSecretVersionsByNameRequest, type ListSecretVersionsRequest$1 as ListSecretVersionsRequest, type ListSecretVersionsResponse$1 as ListSecretVersionsResponse, type ListSecretsRequest$1 as ListSecretsRequest, type ListSecretsRequestOrderBy$1 as ListSecretsRequestOrderBy, type ListSecretsResponse$1 as ListSecretsResponse, type ListTagsRequest$1 as ListTagsRequest, type ListTagsResponse$1 as ListTagsResponse, type index_gen$9_PasswordGenerationParams as PasswordGenerationParams, type Product$1 as Product, type ProtectSecretRequest$1 as ProtectSecretRequest, type Secret$1 as Secret, type SecretStatus$1 as SecretStatus, type SecretType$1 as SecretType, type SecretVersion$1 as SecretVersion, type SecretVersionStatus$1 as SecretVersionStatus, type UnprotectSecretRequest$1 as UnprotectSecretRequest, type UpdateSecretRequest$1 as UpdateSecretRequest, type UpdateSecretVersionRequest$1 as UpdateSecretVersionRequest };
29104
29109
  }
29105
29110
 
29106
29111
  type BrowseSecretsRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
@@ -29480,6 +29485,23 @@ interface ListSecretsResponse {
29480
29485
  /** Count of all secrets matching the requested criteria. */
29481
29486
  totalCount: number;
29482
29487
  }
29488
+ type ListTagsRequest = {
29489
+ /**
29490
+ * Region to target. If none is passed will use default region from the
29491
+ * config.
29492
+ */
29493
+ region?: Region;
29494
+ /** ID of the Project to target. */
29495
+ projectId?: string;
29496
+ page?: number;
29497
+ pageSize?: number;
29498
+ };
29499
+ interface ListTagsResponse {
29500
+ /** List of tags. */
29501
+ tags: string[];
29502
+ /** Count of all tags matching the requested criteria. */
29503
+ totalCount: number;
29504
+ }
29483
29505
  type ProtectSecretRequest = {
29484
29506
  /**
29485
29507
  * Region to target. If none is passed will use default region from the
@@ -29703,6 +29725,17 @@ declare class API$7 extends API$y {
29703
29725
  * @returns A Promise of SecretVersion
29704
29726
  */
29705
29727
  disableSecretVersion: (request: Readonly<DisableSecretVersionRequest>) => Promise<SecretVersion>;
29728
+ protected pageOfListTags: (request?: Readonly<ListTagsRequest>) => Promise<ListTagsResponse>;
29729
+ /**
29730
+ * List tags. List all tags associated with secrets within a given Project.
29731
+ *
29732
+ * @param request - The request {@link ListTagsRequest}
29733
+ * @returns A Promise of ListTagsResponse
29734
+ */
29735
+ listTags: (request?: Readonly<ListTagsRequest>) => Promise<ListTagsResponse> & {
29736
+ all: () => Promise<string[]>;
29737
+ [Symbol.asyncIterator]: () => AsyncGenerator<string[], void, void>;
29738
+ };
29706
29739
  }
29707
29740
 
29708
29741
  type index_gen$8_AccessSecretVersionRequest = AccessSecretVersionRequest;
@@ -29730,6 +29763,8 @@ type index_gen$8_ListSecretVersionsResponse = ListSecretVersionsResponse;
29730
29763
  type index_gen$8_ListSecretsRequest = ListSecretsRequest;
29731
29764
  type index_gen$8_ListSecretsRequestOrderBy = ListSecretsRequestOrderBy;
29732
29765
  type index_gen$8_ListSecretsResponse = ListSecretsResponse;
29766
+ type index_gen$8_ListTagsRequest = ListTagsRequest;
29767
+ type index_gen$8_ListTagsResponse = ListTagsResponse;
29733
29768
  type index_gen$8_Product = Product;
29734
29769
  type index_gen$8_ProtectSecretRequest = ProtectSecretRequest;
29735
29770
  type index_gen$8_Secret = Secret;
@@ -29741,7 +29776,7 @@ type index_gen$8_UnprotectSecretRequest = UnprotectSecretRequest;
29741
29776
  type index_gen$8_UpdateSecretRequest = UpdateSecretRequest;
29742
29777
  type index_gen$8_UpdateSecretVersionRequest = UpdateSecretVersionRequest;
29743
29778
  declare namespace index_gen$8 {
29744
- export { API$7 as API, type index_gen$8_AccessSecretVersionRequest as AccessSecretVersionRequest, type index_gen$8_AccessSecretVersionResponse as AccessSecretVersionResponse, type index_gen$8_AddSecretOwnerRequest as AddSecretOwnerRequest, type index_gen$8_BrowseSecretsRequest as BrowseSecretsRequest, type index_gen$8_BrowseSecretsRequestOrderBy as BrowseSecretsRequestOrderBy, type index_gen$8_BrowseSecretsResponse as BrowseSecretsResponse, type index_gen$8_BrowseSecretsResponseItem as BrowseSecretsResponseItem, type index_gen$8_BrowseSecretsResponseItemFolderDetails as BrowseSecretsResponseItemFolderDetails, type index_gen$8_BrowseSecretsResponseItemSecretDetails as BrowseSecretsResponseItemSecretDetails, type index_gen$8_CreateSecretRequest as CreateSecretRequest, type index_gen$8_CreateSecretVersionRequest as CreateSecretVersionRequest, type index_gen$8_DeleteSecretRequest as DeleteSecretRequest, type index_gen$8_DeleteSecretVersionRequest as DeleteSecretVersionRequest, type index_gen$8_DisableSecretVersionRequest as DisableSecretVersionRequest, type index_gen$8_EnableSecretVersionRequest as EnableSecretVersionRequest, type index_gen$8_EphemeralPolicy as EphemeralPolicy, type index_gen$8_EphemeralPolicyAction as EphemeralPolicyAction, type index_gen$8_EphemeralProperties as EphemeralProperties, type index_gen$8_GetSecretRequest as GetSecretRequest, type index_gen$8_GetSecretVersionRequest as GetSecretVersionRequest, type index_gen$8_ListSecretVersionsRequest as ListSecretVersionsRequest, type index_gen$8_ListSecretVersionsResponse as ListSecretVersionsResponse, type index_gen$8_ListSecretsRequest as ListSecretsRequest, type index_gen$8_ListSecretsRequestOrderBy as ListSecretsRequestOrderBy, type index_gen$8_ListSecretsResponse as ListSecretsResponse, type index_gen$8_Product as Product, type index_gen$8_ProtectSecretRequest as ProtectSecretRequest, type index_gen$8_Secret as Secret, type index_gen$8_SecretStatus as SecretStatus, type index_gen$8_SecretType as SecretType, type index_gen$8_SecretVersion as SecretVersion, type index_gen$8_SecretVersionStatus as SecretVersionStatus, type index_gen$8_UnprotectSecretRequest as UnprotectSecretRequest, type index_gen$8_UpdateSecretRequest as UpdateSecretRequest, type index_gen$8_UpdateSecretVersionRequest as UpdateSecretVersionRequest };
29779
+ export { API$7 as API, type index_gen$8_AccessSecretVersionRequest as AccessSecretVersionRequest, type index_gen$8_AccessSecretVersionResponse as AccessSecretVersionResponse, type index_gen$8_AddSecretOwnerRequest as AddSecretOwnerRequest, type index_gen$8_BrowseSecretsRequest as BrowseSecretsRequest, type index_gen$8_BrowseSecretsRequestOrderBy as BrowseSecretsRequestOrderBy, type index_gen$8_BrowseSecretsResponse as BrowseSecretsResponse, type index_gen$8_BrowseSecretsResponseItem as BrowseSecretsResponseItem, type index_gen$8_BrowseSecretsResponseItemFolderDetails as BrowseSecretsResponseItemFolderDetails, type index_gen$8_BrowseSecretsResponseItemSecretDetails as BrowseSecretsResponseItemSecretDetails, type index_gen$8_CreateSecretRequest as CreateSecretRequest, type index_gen$8_CreateSecretVersionRequest as CreateSecretVersionRequest, type index_gen$8_DeleteSecretRequest as DeleteSecretRequest, type index_gen$8_DeleteSecretVersionRequest as DeleteSecretVersionRequest, type index_gen$8_DisableSecretVersionRequest as DisableSecretVersionRequest, type index_gen$8_EnableSecretVersionRequest as EnableSecretVersionRequest, type index_gen$8_EphemeralPolicy as EphemeralPolicy, type index_gen$8_EphemeralPolicyAction as EphemeralPolicyAction, type index_gen$8_EphemeralProperties as EphemeralProperties, type index_gen$8_GetSecretRequest as GetSecretRequest, type index_gen$8_GetSecretVersionRequest as GetSecretVersionRequest, type index_gen$8_ListSecretVersionsRequest as ListSecretVersionsRequest, type index_gen$8_ListSecretVersionsResponse as ListSecretVersionsResponse, type index_gen$8_ListSecretsRequest as ListSecretsRequest, type index_gen$8_ListSecretsRequestOrderBy as ListSecretsRequestOrderBy, type index_gen$8_ListSecretsResponse as ListSecretsResponse, type index_gen$8_ListTagsRequest as ListTagsRequest, type index_gen$8_ListTagsResponse as ListTagsResponse, type index_gen$8_Product as Product, type index_gen$8_ProtectSecretRequest as ProtectSecretRequest, type index_gen$8_Secret as Secret, type index_gen$8_SecretStatus as SecretStatus, type index_gen$8_SecretType as SecretType, type index_gen$8_SecretVersion as SecretVersion, type index_gen$8_SecretVersionStatus as SecretVersionStatus, type index_gen$8_UnprotectSecretRequest as UnprotectSecretRequest, type index_gen$8_UpdateSecretRequest as UpdateSecretRequest, type index_gen$8_UpdateSecretVersionRequest as UpdateSecretVersionRequest };
29745
29780
  }
29746
29781
 
29747
29782
  declare namespace index$6 {
@@ -31116,6 +31151,8 @@ interface VPC {
31116
31151
  updatedAt?: Date;
31117
31152
  /** Number of Private Networks within this VPC. */
31118
31153
  privateNetworkCount: number;
31154
+ /** Defines whether the VPC routes traffic between its Private Networks. */
31155
+ routingEnabled: boolean;
31119
31156
  }
31120
31157
  type AddSubnetsRequest = {
31121
31158
  /**
@@ -31160,6 +31197,8 @@ type CreateVPCRequest = {
31160
31197
  projectId?: string;
31161
31198
  /** Tags for the VPC. */
31162
31199
  tags?: string[];
31200
+ /** Enable routing between Private Networks in the VPC. */
31201
+ enableRouting: boolean;
31163
31202
  };
31164
31203
  type DeletePrivateNetworkRequest = {
31165
31204
  /**
@@ -31309,6 +31348,11 @@ type ListVPCsRequest = {
31309
31348
  * Project.
31310
31349
  */
31311
31350
  isDefault?: boolean;
31351
+ /**
31352
+ * Defines whether to filter only for VPCs which route traffic between their
31353
+ * Private Networks.
31354
+ */
31355
+ routingEnabled?: boolean;
31312
31356
  };
31313
31357
  interface ListVPCsResponse {
31314
31358
  vpcs: VPC[];
@@ -31401,7 +31445,7 @@ declare class API$2 extends API$y {
31401
31445
  * @param request - The request {@link CreateVPCRequest}
31402
31446
  * @returns A Promise of VPC
31403
31447
  */
31404
- createVPC: (request?: Readonly<CreateVPCRequest>) => Promise<VPC>;
31448
+ createVPC: (request: Readonly<CreateVPCRequest>) => Promise<VPC>;
31405
31449
  /**
31406
31450
  * Get a VPC. Retrieve details of an existing VPC, specified by its VPC ID.
31407
31451
  *
@@ -32523,9 +32567,8 @@ declare class API$1 extends API$y {
32523
32567
  * calls after the first will return no error but have no effect.
32524
32568
  *
32525
32569
  * @param request - The request {@link EnableIPMobilityRequest}
32526
- * @returns A Promise of Gateway
32527
32570
  */
32528
- enableIPMobility: (request: Readonly<EnableIPMobilityRequest>) => Promise<Gateway>;
32571
+ enableIPMobility: (request: Readonly<EnableIPMobilityRequest>) => Promise<void>;
32529
32572
  protected pageOfListGatewayNetworks: (request?: Readonly<ListGatewayNetworksRequest>) => Promise<ListGatewayNetworksResponse>;
32530
32573
  /**
32531
32574
  * List Public Gateway connections to Private Networks. List the connections
@@ -1,4 +1,4 @@
1
- const version = 'v2.17.0';
1
+ const version = 'v2.18.1';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "2.18.0",
3
+ "version": "2.19.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "9c45a5e1754dd35cc4d5a502f99bbbaff6ed7ba4"
38
+ "gitHead": "c80a70fdc1c9b7ef2d23033026fd690aa10209ae"
39
39
  }