@pulumi/snowflake 0.59.0-alpha.1726827563 → 0.59.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.
- package/getDatabaseRoles.d.ts +4 -0
- package/getDatabaseRoles.js +4 -0
- package/getDatabaseRoles.js.map +1 -1
- package/getMaskingPolicies.d.ts +46 -37
- package/getMaskingPolicies.js +14 -24
- package/getMaskingPolicies.js.map +1 -1
- package/getResourceMonitors.d.ts +29 -17
- package/getResourceMonitors.js +14 -18
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +46 -37
- package/getRowAccessPolicies.js +14 -24
- package/getRowAccessPolicies.js.map +1 -1
- package/getViews.d.ts +4 -0
- package/getViews.js +4 -0
- package/getViews.js.map +1 -1
- package/index.d.ts +1 -1
- package/maskingPolicy.d.ts +54 -64
- package/maskingPolicy.js +15 -17
- package/maskingPolicy.js.map +1 -1
- package/package.json +2 -2
- package/resourceMonitor.d.ts +33 -83
- package/resourceMonitor.js +2 -8
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +48 -38
- package/rowAccessPolicy.js +15 -13
- package/rowAccessPolicy.js.map +1 -1
- package/types/input.d.ts +198 -6
- package/types/output.d.ts +203 -11
- package/view.d.ts +3 -3
- package/warehouse.d.ts +2 -2
package/types/output.d.ts
CHANGED
|
@@ -1243,12 +1243,68 @@ export interface GetGrantsGrantsToShare {
|
|
|
1243
1243
|
*/
|
|
1244
1244
|
shareName: string;
|
|
1245
1245
|
}
|
|
1246
|
+
export interface GetMaskingPoliciesIn {
|
|
1247
|
+
/**
|
|
1248
|
+
* Returns records for the entire account.
|
|
1249
|
+
*/
|
|
1250
|
+
account?: boolean;
|
|
1251
|
+
/**
|
|
1252
|
+
* Returns records for the specified application.
|
|
1253
|
+
*/
|
|
1254
|
+
application?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Returns records for the specified application package.
|
|
1257
|
+
*/
|
|
1258
|
+
applicationPackage?: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* Returns records for the current database in use or for a specified database.
|
|
1261
|
+
*/
|
|
1262
|
+
database?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Returns records for the current schema in use or a specified schema. Use fully qualified name.
|
|
1265
|
+
*/
|
|
1266
|
+
schema?: string;
|
|
1267
|
+
}
|
|
1268
|
+
export interface GetMaskingPoliciesLimit {
|
|
1269
|
+
/**
|
|
1270
|
+
* Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
|
|
1271
|
+
*/
|
|
1272
|
+
from?: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* The maximum number of rows to return.
|
|
1275
|
+
*/
|
|
1276
|
+
rows: number;
|
|
1277
|
+
}
|
|
1246
1278
|
export interface GetMaskingPoliciesMaskingPolicy {
|
|
1279
|
+
/**
|
|
1280
|
+
* Holds the output of DESCRIBE MASKING POLICY.
|
|
1281
|
+
*/
|
|
1282
|
+
describeOutputs: outputs.GetMaskingPoliciesMaskingPolicyDescribeOutput[];
|
|
1283
|
+
/**
|
|
1284
|
+
* Holds the output of SHOW MASKING POLICIES.
|
|
1285
|
+
*/
|
|
1286
|
+
showOutputs: outputs.GetMaskingPoliciesMaskingPolicyShowOutput[];
|
|
1287
|
+
}
|
|
1288
|
+
export interface GetMaskingPoliciesMaskingPolicyDescribeOutput {
|
|
1289
|
+
body: string;
|
|
1290
|
+
name: string;
|
|
1291
|
+
returnType: string;
|
|
1292
|
+
signatures: outputs.GetMaskingPoliciesMaskingPolicyDescribeOutputSignature[];
|
|
1293
|
+
}
|
|
1294
|
+
export interface GetMaskingPoliciesMaskingPolicyDescribeOutputSignature {
|
|
1295
|
+
name: string;
|
|
1296
|
+
type: string;
|
|
1297
|
+
}
|
|
1298
|
+
export interface GetMaskingPoliciesMaskingPolicyShowOutput {
|
|
1247
1299
|
comment: string;
|
|
1248
|
-
|
|
1300
|
+
createdOn: string;
|
|
1301
|
+
databaseName: string;
|
|
1302
|
+
exemptOtherPolicies: boolean;
|
|
1249
1303
|
kind: string;
|
|
1250
1304
|
name: string;
|
|
1251
|
-
|
|
1305
|
+
owner: string;
|
|
1306
|
+
ownerRoleType: string;
|
|
1307
|
+
schemaName: string;
|
|
1252
1308
|
}
|
|
1253
1309
|
export interface GetMaterializedViewsMaterializedView {
|
|
1254
1310
|
comment: string;
|
|
@@ -1319,10 +1375,25 @@ export interface GetProceduresProcedure {
|
|
|
1319
1375
|
schema: string;
|
|
1320
1376
|
}
|
|
1321
1377
|
export interface GetResourceMonitorsResourceMonitor {
|
|
1378
|
+
/**
|
|
1379
|
+
* Holds the output of SHOW RESOURCE MONITORS.
|
|
1380
|
+
*/
|
|
1381
|
+
showOutputs: outputs.GetResourceMonitorsResourceMonitorShowOutput[];
|
|
1382
|
+
}
|
|
1383
|
+
export interface GetResourceMonitorsResourceMonitorShowOutput {
|
|
1322
1384
|
comment: string;
|
|
1323
|
-
|
|
1385
|
+
createdOn: string;
|
|
1386
|
+
creditQuota: number;
|
|
1387
|
+
endTime: string;
|
|
1324
1388
|
frequency: string;
|
|
1389
|
+
level: string;
|
|
1325
1390
|
name: string;
|
|
1391
|
+
owner: string;
|
|
1392
|
+
remainingCredits: number;
|
|
1393
|
+
startTime: string;
|
|
1394
|
+
suspendAt: number;
|
|
1395
|
+
suspendImmediateAt: number;
|
|
1396
|
+
usedCredits: number;
|
|
1326
1397
|
}
|
|
1327
1398
|
export interface GetRolesRole {
|
|
1328
1399
|
/**
|
|
@@ -1342,11 +1413,68 @@ export interface GetRolesRoleShowOutput {
|
|
|
1342
1413
|
name: string;
|
|
1343
1414
|
owner: string;
|
|
1344
1415
|
}
|
|
1416
|
+
export interface GetRowAccessPoliciesIn {
|
|
1417
|
+
/**
|
|
1418
|
+
* Returns records for the entire account.
|
|
1419
|
+
*/
|
|
1420
|
+
account?: boolean;
|
|
1421
|
+
/**
|
|
1422
|
+
* Returns records for the specified application.
|
|
1423
|
+
*/
|
|
1424
|
+
application?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Returns records for the specified application package.
|
|
1427
|
+
*/
|
|
1428
|
+
applicationPackage?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* Returns records for the current database in use or for a specified database.
|
|
1431
|
+
*/
|
|
1432
|
+
database?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Returns records for the current schema in use or a specified schema. Use fully qualified name.
|
|
1435
|
+
*/
|
|
1436
|
+
schema?: string;
|
|
1437
|
+
}
|
|
1438
|
+
export interface GetRowAccessPoliciesLimit {
|
|
1439
|
+
/**
|
|
1440
|
+
* Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
|
|
1441
|
+
*/
|
|
1442
|
+
from?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* The maximum number of rows to return.
|
|
1445
|
+
*/
|
|
1446
|
+
rows: number;
|
|
1447
|
+
}
|
|
1345
1448
|
export interface GetRowAccessPoliciesRowAccessPolicy {
|
|
1449
|
+
/**
|
|
1450
|
+
* Holds the output of DESCRIBE ROW ACCESS POLICY.
|
|
1451
|
+
*/
|
|
1452
|
+
describeOutputs: outputs.GetRowAccessPoliciesRowAccessPolicyDescribeOutput[];
|
|
1453
|
+
/**
|
|
1454
|
+
* Holds the output of SHOW ROW ACCESS POLICIES.
|
|
1455
|
+
*/
|
|
1456
|
+
showOutputs: outputs.GetRowAccessPoliciesRowAccessPolicyShowOutput[];
|
|
1457
|
+
}
|
|
1458
|
+
export interface GetRowAccessPoliciesRowAccessPolicyDescribeOutput {
|
|
1459
|
+
body: string;
|
|
1460
|
+
name: string;
|
|
1461
|
+
returnType: string;
|
|
1462
|
+
signatures: outputs.GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignature[];
|
|
1463
|
+
}
|
|
1464
|
+
export interface GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignature {
|
|
1465
|
+
name: string;
|
|
1466
|
+
type: string;
|
|
1467
|
+
}
|
|
1468
|
+
export interface GetRowAccessPoliciesRowAccessPolicyShowOutput {
|
|
1346
1469
|
comment: string;
|
|
1347
|
-
|
|
1470
|
+
createdOn: string;
|
|
1471
|
+
databaseName: string;
|
|
1472
|
+
kind: string;
|
|
1348
1473
|
name: string;
|
|
1349
|
-
|
|
1474
|
+
options: string;
|
|
1475
|
+
owner: string;
|
|
1476
|
+
ownerRoleType: string;
|
|
1477
|
+
schemaName: string;
|
|
1350
1478
|
}
|
|
1351
1479
|
export interface GetSchemasIn {
|
|
1352
1480
|
/**
|
|
@@ -2932,19 +3060,37 @@ export interface GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture {
|
|
|
2932
3060
|
*/
|
|
2933
3061
|
objectTypePlural: string;
|
|
2934
3062
|
}
|
|
2935
|
-
export interface
|
|
2936
|
-
columns: outputs.MaskingPolicySignatureColumn[];
|
|
2937
|
-
}
|
|
2938
|
-
export interface MaskingPolicySignatureColumn {
|
|
3063
|
+
export interface MaskingPolicyArgument {
|
|
2939
3064
|
/**
|
|
2940
|
-
*
|
|
3065
|
+
* The argument name
|
|
2941
3066
|
*/
|
|
2942
3067
|
name: string;
|
|
2943
3068
|
/**
|
|
2944
|
-
*
|
|
3069
|
+
* The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
2945
3070
|
*/
|
|
2946
3071
|
type: string;
|
|
2947
3072
|
}
|
|
3073
|
+
export interface MaskingPolicyDescribeOutput {
|
|
3074
|
+
body: string;
|
|
3075
|
+
name: string;
|
|
3076
|
+
returnType: string;
|
|
3077
|
+
signatures: outputs.MaskingPolicyDescribeOutputSignature[];
|
|
3078
|
+
}
|
|
3079
|
+
export interface MaskingPolicyDescribeOutputSignature {
|
|
3080
|
+
name: string;
|
|
3081
|
+
type: string;
|
|
3082
|
+
}
|
|
3083
|
+
export interface MaskingPolicyShowOutput {
|
|
3084
|
+
comment: string;
|
|
3085
|
+
createdOn: string;
|
|
3086
|
+
databaseName: string;
|
|
3087
|
+
exemptOtherPolicies: boolean;
|
|
3088
|
+
kind: string;
|
|
3089
|
+
name: string;
|
|
3090
|
+
owner: string;
|
|
3091
|
+
ownerRoleType: string;
|
|
3092
|
+
schemaName: string;
|
|
3093
|
+
}
|
|
2948
3094
|
export interface MaterializedViewTag {
|
|
2949
3095
|
/**
|
|
2950
3096
|
* Name of the database that the tag was created in.
|
|
@@ -3288,6 +3434,21 @@ export interface ProcedureArgument {
|
|
|
3288
3434
|
*/
|
|
3289
3435
|
type: string;
|
|
3290
3436
|
}
|
|
3437
|
+
export interface ResourceMonitorShowOutput {
|
|
3438
|
+
comment: string;
|
|
3439
|
+
createdOn: string;
|
|
3440
|
+
creditQuota: number;
|
|
3441
|
+
endTime: string;
|
|
3442
|
+
frequency: string;
|
|
3443
|
+
level: string;
|
|
3444
|
+
name: string;
|
|
3445
|
+
owner: string;
|
|
3446
|
+
remainingCredits: number;
|
|
3447
|
+
startTime: string;
|
|
3448
|
+
suspendAt: number;
|
|
3449
|
+
suspendImmediateAt: number;
|
|
3450
|
+
usedCredits: number;
|
|
3451
|
+
}
|
|
3291
3452
|
export interface RoleShowOutput {
|
|
3292
3453
|
assignedToUsers: number;
|
|
3293
3454
|
comment: string;
|
|
@@ -3300,6 +3461,37 @@ export interface RoleShowOutput {
|
|
|
3300
3461
|
name: string;
|
|
3301
3462
|
owner: string;
|
|
3302
3463
|
}
|
|
3464
|
+
export interface RowAccessPolicyArgument {
|
|
3465
|
+
/**
|
|
3466
|
+
* The argument name
|
|
3467
|
+
*/
|
|
3468
|
+
name: string;
|
|
3469
|
+
/**
|
|
3470
|
+
* The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
|
|
3471
|
+
*/
|
|
3472
|
+
type: string;
|
|
3473
|
+
}
|
|
3474
|
+
export interface RowAccessPolicyDescribeOutput {
|
|
3475
|
+
body: string;
|
|
3476
|
+
name: string;
|
|
3477
|
+
returnType: string;
|
|
3478
|
+
signatures: outputs.RowAccessPolicyDescribeOutputSignature[];
|
|
3479
|
+
}
|
|
3480
|
+
export interface RowAccessPolicyDescribeOutputSignature {
|
|
3481
|
+
name: string;
|
|
3482
|
+
type: string;
|
|
3483
|
+
}
|
|
3484
|
+
export interface RowAccessPolicyShowOutput {
|
|
3485
|
+
comment: string;
|
|
3486
|
+
createdOn: string;
|
|
3487
|
+
databaseName: string;
|
|
3488
|
+
kind: string;
|
|
3489
|
+
name: string;
|
|
3490
|
+
options: string;
|
|
3491
|
+
owner: string;
|
|
3492
|
+
ownerRoleType: string;
|
|
3493
|
+
schemaName: string;
|
|
3494
|
+
}
|
|
3303
3495
|
export interface Saml2IntegrationDescribeOutput {
|
|
3304
3496
|
allowedEmailPatterns: outputs.Saml2IntegrationDescribeOutputAllowedEmailPattern[];
|
|
3305
3497
|
allowedUserDomains: outputs.Saml2IntegrationDescribeOutputAllowedUserDomain[];
|
package/view.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare class View extends pulumi.CustomResource {
|
|
|
33
33
|
*/
|
|
34
34
|
readonly changeTracking: pulumi.Output<string | undefined>;
|
|
35
35
|
/**
|
|
36
|
-
* If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns.
|
|
36
|
+
* If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
37
37
|
*/
|
|
38
38
|
readonly columns: pulumi.Output<outputs.ViewColumn[] | undefined>;
|
|
39
39
|
/**
|
|
@@ -112,7 +112,7 @@ export interface ViewState {
|
|
|
112
112
|
*/
|
|
113
113
|
changeTracking?: pulumi.Input<string>;
|
|
114
114
|
/**
|
|
115
|
-
* If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns.
|
|
115
|
+
* If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
116
116
|
*/
|
|
117
117
|
columns?: pulumi.Input<pulumi.Input<inputs.ViewColumn>[]>;
|
|
118
118
|
/**
|
|
@@ -183,7 +183,7 @@ export interface ViewArgs {
|
|
|
183
183
|
*/
|
|
184
184
|
changeTracking?: pulumi.Input<string>;
|
|
185
185
|
/**
|
|
186
|
-
* If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns.
|
|
186
|
+
* If you want to change the name of a column or add a comment to a column in the new view, include a column list that specifies the column names and (if needed) comments about the columns. You do not need to specify the data types of the columns. If this field is not specified, columns are inferred from the `statement` field by Snowflake.
|
|
187
187
|
*/
|
|
188
188
|
columns?: pulumi.Input<pulumi.Input<inputs.ViewColumn>[]>;
|
|
189
189
|
/**
|
package/warehouse.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare class Warehouse extends pulumi.CustomResource {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly scalingPolicy: pulumi.Output<string | undefined>;
|
|
83
83
|
/**
|
|
84
|
-
* Outputs the result of `SHOW
|
|
84
|
+
* Outputs the result of `SHOW WAREHOUSES` for the given warehouse.
|
|
85
85
|
*/
|
|
86
86
|
readonly showOutputs: pulumi.Output<outputs.WarehouseShowOutput[]>;
|
|
87
87
|
/**
|
|
@@ -170,7 +170,7 @@ export interface WarehouseState {
|
|
|
170
170
|
*/
|
|
171
171
|
scalingPolicy?: pulumi.Input<string>;
|
|
172
172
|
/**
|
|
173
|
-
* Outputs the result of `SHOW
|
|
173
|
+
* Outputs the result of `SHOW WAREHOUSES` for the given warehouse.
|
|
174
174
|
*/
|
|
175
175
|
showOutputs?: pulumi.Input<pulumi.Input<inputs.WarehouseShowOutput>[]>;
|
|
176
176
|
/**
|