@pulumi/snowflake 2.23.0-alpha.1793836924 → 2.23.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/alert.d.ts +65 -25
- package/alert.d.ts.map +1 -1
- package/alert.js +33 -8
- package/alert.js.map +1 -1
- package/authenticationPolicy.d.ts +16 -10
- package/authenticationPolicy.d.ts.map +1 -1
- package/authenticationPolicy.js +6 -0
- package/authenticationPolicy.js.map +1 -1
- package/backupPolicy.d.ts +210 -0
- package/backupPolicy.d.ts.map +1 -0
- package/backupPolicy.js +161 -0
- package/backupPolicy.js.map +1 -0
- package/catalogIntegrationAwsGlue.d.ts +8 -8
- package/catalogIntegrationIcebergRest.d.ts +8 -8
- package/catalogIntegrationObjectStorage.d.ts +8 -8
- package/catalogIntegrationOpenCatalog.d.ts +8 -8
- package/codeBundle.d.ts +171 -0
- package/codeBundle.d.ts.map +1 -0
- package/codeBundle.js +145 -0
- package/codeBundle.js.map +1 -0
- package/computePool.d.ts +6 -6
- package/config/vars.d.ts +7 -3
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/database.d.ts +8 -0
- package/database.d.ts.map +1 -1
- package/database.js +2 -0
- package/database.js.map +1 -1
- package/externalVolume.d.ts +3 -3
- package/getAlerts.d.ts +48 -47
- package/getAlerts.d.ts.map +1 -1
- package/getAlerts.js +12 -32
- package/getAlerts.js.map +1 -1
- package/getBackupPolicies.d.ts +99 -0
- package/getBackupPolicies.d.ts.map +1 -0
- package/getBackupPolicies.js +65 -0
- package/getBackupPolicies.js.map +1 -0
- package/getCodeBundles.d.ts +63 -0
- package/getCodeBundles.d.ts.map +1 -0
- package/getCodeBundles.js +59 -0
- package/getCodeBundles.js.map +1 -0
- package/getCurrentAccount.d.ts +1 -1
- package/getNotebooks.d.ts +4 -0
- package/getNotebooks.d.ts.map +1 -1
- package/getNotebooks.js +4 -0
- package/getNotebooks.js.map +1 -1
- package/getOpenflowConnectorDefinitions.d.ts +0 -4
- package/getOpenflowConnectorDefinitions.d.ts.map +1 -1
- package/getOpenflowConnectorDefinitions.js +0 -4
- package/getOpenflowConnectorDefinitions.js.map +1 -1
- package/getOpenflowConnectors.d.ts +0 -4
- package/getOpenflowConnectors.d.ts.map +1 -1
- package/getOpenflowConnectors.js +0 -4
- package/getOpenflowConnectors.js.map +1 -1
- package/getOpenflowDeployments.d.ts +0 -4
- package/getOpenflowDeployments.d.ts.map +1 -1
- package/getOpenflowDeployments.js +0 -4
- package/getOpenflowDeployments.js.map +1 -1
- package/getOpenflowRuntimes.d.ts +0 -4
- package/getOpenflowRuntimes.d.ts.map +1 -1
- package/getOpenflowRuntimes.js +0 -4
- package/getOpenflowRuntimes.js.map +1 -1
- package/getPipes.d.ts +44 -43
- package/getPipes.d.ts.map +1 -1
- package/getPipes.js +12 -30
- package/getPipes.js.map +1 -1
- package/getPostgresMirrors.d.ts +70 -0
- package/getPostgresMirrors.d.ts.map +1 -0
- package/getPostgresMirrors.js +67 -0
- package/getPostgresMirrors.js.map +1 -0
- package/getProjectionPolicies.d.ts +99 -0
- package/getProjectionPolicies.d.ts.map +1 -0
- package/getProjectionPolicies.js +65 -0
- package/getProjectionPolicies.js.map +1 -0
- package/getReplicationGroups.d.ts +86 -0
- package/getReplicationGroups.d.ts.map +1 -0
- package/getReplicationGroups.js +93 -0
- package/getReplicationGroups.js.map +1 -0
- package/getShares.d.ts +46 -33
- package/getShares.d.ts.map +1 -1
- package/getShares.js +10 -28
- package/getShares.js.map +1 -1
- package/grantOwnership.d.ts +125 -0
- package/grantOwnership.d.ts.map +1 -1
- package/grantOwnership.js +125 -0
- package/grantOwnership.js.map +1 -1
- package/grantPrivilegesToAccountRole.d.ts +3 -3
- package/index.d.ts +33 -0
- package/index.d.ts.map +1 -1
- package/index.js +52 -6
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +329 -165
- package/legacyServiceUser.d.ts.map +1 -1
- package/legacyServiceUser.js +29 -1
- package/legacyServiceUser.js.map +1 -1
- package/networkRule.d.ts +3 -3
- package/notebook.d.ts +2 -0
- package/notebook.d.ts.map +1 -1
- package/notebook.js +2 -0
- package/notebook.js.map +1 -1
- package/objectParameter.d.ts +2 -0
- package/objectParameter.d.ts.map +1 -1
- package/objectParameter.js +2 -0
- package/objectParameter.js.map +1 -1
- package/openflowConnector.d.ts +15 -4
- package/openflowConnector.d.ts.map +1 -1
- package/openflowConnector.js +5 -4
- package/openflowConnector.js.map +1 -1
- package/openflowDeploymentByoc.d.ts +0 -2
- package/openflowDeploymentByoc.d.ts.map +1 -1
- package/openflowDeploymentByoc.js +0 -2
- package/openflowDeploymentByoc.js.map +1 -1
- package/openflowDeploymentSnowflakeManaged.d.ts +0 -2
- package/openflowDeploymentSnowflakeManaged.d.ts.map +1 -1
- package/openflowDeploymentSnowflakeManaged.js +0 -2
- package/openflowDeploymentSnowflakeManaged.js.map +1 -1
- package/openflowRuntime.d.ts +0 -2
- package/openflowRuntime.d.ts.map +1 -1
- package/openflowRuntime.js +0 -2
- package/openflowRuntime.js.map +1 -1
- package/package.json +2 -2
- package/pipe.d.ts +69 -13
- package/pipe.d.ts.map +1 -1
- package/pipe.js +12 -4
- package/pipe.js.map +1 -1
- package/postgresMirror.d.ts +301 -0
- package/postgresMirror.d.ts.map +1 -0
- package/postgresMirror.js +221 -0
- package/postgresMirror.js.map +1 -0
- package/projectionPolicy.d.ts +170 -0
- package/projectionPolicy.d.ts.map +1 -0
- package/projectionPolicy.js +144 -0
- package/projectionPolicy.js.map +1 -0
- package/provider.d.ts +11 -3
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/replicationGroup.d.ts +262 -0
- package/replicationGroup.d.ts.map +1 -0
- package/replicationGroup.js +173 -0
- package/replicationGroup.js.map +1 -0
- package/replicationGroupSecondary.d.ts +125 -0
- package/replicationGroupSecondary.d.ts.map +1 -0
- package/replicationGroupSecondary.js +120 -0
- package/replicationGroupSecondary.js.map +1 -0
- package/schema.d.ts +0 -2
- package/schema.d.ts.map +1 -1
- package/schema.js +0 -2
- package/schema.js.map +1 -1
- package/serviceUser.d.ts +326 -162
- package/serviceUser.d.ts.map +1 -1
- package/serviceUser.js +29 -1
- package/serviceUser.js.map +1 -1
- package/share.d.ts +55 -16
- package/share.d.ts.map +1 -1
- package/share.js +22 -7
- package/share.js.map +1 -1
- package/stageExternalAzure.d.ts +1 -1
- package/stageExternalAzure.js +1 -1
- package/stageExternalGcs.d.ts +1 -1
- package/stageExternalGcs.js +1 -1
- package/stageExternalS3.d.ts +1 -1
- package/stageExternalS3.js +1 -1
- package/stageExternalS3Compatible.d.ts +1 -1
- package/stageExternalS3Compatible.js +1 -1
- package/stageInternal.d.ts +1 -1
- package/stageInternal.js +1 -1
- package/streamOnTable.d.ts +1 -1
- package/streamOnTable.js +1 -1
- package/streamOnView.d.ts +1 -1
- package/streamOnView.js +1 -1
- package/table.d.ts +9 -9
- package/tagAssociation.d.ts +3 -3
- package/types/input.d.ts +925 -14
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1136 -39
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +332 -168
- package/user.d.ts.map +1 -1
- package/user.js +29 -1
- package/user.js.map +1 -1
- package/userProgrammaticAccessToken.d.ts +3 -3
- package/warehouse.d.ts +6 -6
- package/warehouseAdaptive.d.ts +3 -3
- package/warehouseInteractive.d.ts +3 -3
package/getShares.d.ts
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
2
3
|
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
11
|
-
*
|
|
12
|
-
* const _this = snowflake.getShares({});
|
|
13
|
-
* const ad = snowflake.getShares({
|
|
14
|
-
* pattern: "usage",
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
7
|
+
* Data source used to get details of filtered shares. Filtering is aligned with the current possibilities for [SHOW SHARES](https://docs.snowflake.com/en/sql-reference/sql/show-shares) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `shares`.
|
|
19
8
|
*/
|
|
20
9
|
export declare function getShares(args?: GetSharesArgs, opts?: pulumi.InvokeOptions): Promise<GetSharesResult>;
|
|
21
10
|
/**
|
|
@@ -23,9 +12,21 @@ export declare function getShares(args?: GetSharesArgs, opts?: pulumi.InvokeOpti
|
|
|
23
12
|
*/
|
|
24
13
|
export interface GetSharesArgs {
|
|
25
14
|
/**
|
|
26
|
-
* Filters the
|
|
15
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
16
|
+
*/
|
|
17
|
+
like?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `startsWith` or `like`.
|
|
20
|
+
*/
|
|
21
|
+
limit?: inputs.GetSharesLimit;
|
|
22
|
+
/**
|
|
23
|
+
* Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
24
|
+
*/
|
|
25
|
+
startsWith?: string;
|
|
26
|
+
/**
|
|
27
|
+
* (Default: `true`) Runs DESC SHARE for each share returned by SHOW SHARES. The output of describe is saved to the describeOutput field. By default this value is set to true.
|
|
27
28
|
*/
|
|
28
|
-
|
|
29
|
+
withDescribe?: boolean;
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* A collection of values returned by getShares.
|
|
@@ -36,30 +37,30 @@ export interface GetSharesResult {
|
|
|
36
37
|
*/
|
|
37
38
|
readonly id: string;
|
|
38
39
|
/**
|
|
39
|
-
* Filters the
|
|
40
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
40
41
|
*/
|
|
41
|
-
readonly
|
|
42
|
+
readonly like?: string;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `startsWith` or `like`.
|
|
45
|
+
*/
|
|
46
|
+
readonly limit?: outputs.GetSharesLimit;
|
|
47
|
+
/**
|
|
48
|
+
* Holds the aggregated output of all shares details queries.
|
|
44
49
|
*/
|
|
45
50
|
readonly shares: outputs.GetSharesShare[];
|
|
51
|
+
/**
|
|
52
|
+
* Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
53
|
+
*/
|
|
54
|
+
readonly startsWith?: string;
|
|
55
|
+
/**
|
|
56
|
+
* (Default: `true`) Runs DESC SHARE for each share returned by SHOW SHARES. The output of describe is saved to the describeOutput field. By default this value is set to true.
|
|
57
|
+
*/
|
|
58
|
+
readonly withDescribe?: boolean;
|
|
46
59
|
}
|
|
47
60
|
/**
|
|
48
61
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
49
62
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* ```typescript
|
|
53
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
55
|
-
*
|
|
56
|
-
* const _this = snowflake.getShares({});
|
|
57
|
-
* const ad = snowflake.getShares({
|
|
58
|
-
* pattern: "usage",
|
|
59
|
-
* });
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
63
|
+
* Data source used to get details of filtered shares. Filtering is aligned with the current possibilities for [SHOW SHARES](https://docs.snowflake.com/en/sql-reference/sql/show-shares) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `shares`.
|
|
63
64
|
*/
|
|
64
65
|
export declare function getSharesOutput(args?: GetSharesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSharesResult>;
|
|
65
66
|
/**
|
|
@@ -67,8 +68,20 @@ export declare function getSharesOutput(args?: GetSharesOutputArgs, opts?: pulum
|
|
|
67
68
|
*/
|
|
68
69
|
export interface GetSharesOutputArgs {
|
|
69
70
|
/**
|
|
70
|
-
* Filters the
|
|
71
|
+
* Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
72
|
+
*/
|
|
73
|
+
like?: pulumi.Input<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Limits the number of rows returned. If the `limit.from` is set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `startsWith` or `like`.
|
|
76
|
+
*/
|
|
77
|
+
limit?: pulumi.Input<inputs.GetSharesLimitArgs | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Filters the output with **case-sensitive** characters indicating the beginning of the object name.
|
|
80
|
+
*/
|
|
81
|
+
startsWith?: pulumi.Input<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* (Default: `true`) Runs DESC SHARE for each share returned by SHOW SHARES. The output of describe is saved to the describeOutput field. By default this value is set to true.
|
|
71
84
|
*/
|
|
72
|
-
|
|
85
|
+
withDescribe?: pulumi.Input<boolean | undefined>;
|
|
73
86
|
}
|
|
74
87
|
//# sourceMappingURL=getShares.d.ts.map
|
package/getShares.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getShares.d.ts","sourceRoot":"","sources":["../getShares.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"getShares.d.ts","sourceRoot":"","sources":["../getShares.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CASrG;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;CACnC;AACD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAS7H;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACpD"}
|
package/getShares.js
CHANGED
|
@@ -31,50 +31,32 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
39
|
-
*
|
|
40
|
-
* const _this = snowflake.getShares({});
|
|
41
|
-
* const ad = snowflake.getShares({
|
|
42
|
-
* pattern: "usage",
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
34
|
+
* Data source used to get details of filtered shares. Filtering is aligned with the current possibilities for [SHOW SHARES](https://docs.snowflake.com/en/sql-reference/sql/show-shares) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `shares`.
|
|
47
35
|
*/
|
|
48
36
|
function getShares(args, opts) {
|
|
49
37
|
args = args || {};
|
|
50
38
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
51
39
|
return pulumi.runtime.invoke("snowflake:index/getShares:getShares", {
|
|
52
|
-
"
|
|
40
|
+
"like": args.like,
|
|
41
|
+
"limit": args.limit,
|
|
42
|
+
"startsWith": args.startsWith,
|
|
43
|
+
"withDescribe": args.withDescribe,
|
|
53
44
|
}, opts);
|
|
54
45
|
}
|
|
55
46
|
exports.getShares = getShares;
|
|
56
47
|
/**
|
|
57
48
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
58
49
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* ```typescript
|
|
62
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
-
* import * as snowflake from "@pulumi/snowflake";
|
|
64
|
-
*
|
|
65
|
-
* const _this = snowflake.getShares({});
|
|
66
|
-
* const ad = snowflake.getShares({
|
|
67
|
-
* pattern: "usage",
|
|
68
|
-
* });
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
50
|
+
* Data source used to get details of filtered shares. Filtering is aligned with the current possibilities for [SHOW SHARES](https://docs.snowflake.com/en/sql-reference/sql/show-shares) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `shares`.
|
|
72
51
|
*/
|
|
73
52
|
function getSharesOutput(args, opts) {
|
|
74
53
|
args = args || {};
|
|
75
54
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
76
55
|
return pulumi.runtime.invokeOutput("snowflake:index/getShares:getShares", {
|
|
77
|
-
"
|
|
56
|
+
"like": args.like,
|
|
57
|
+
"limit": args.limit,
|
|
58
|
+
"startsWith": args.startsWith,
|
|
59
|
+
"withDescribe": args.withDescribe,
|
|
78
60
|
}, opts);
|
|
79
61
|
}
|
|
80
62
|
exports.getSharesOutput = getSharesOutput;
|
package/getShares.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getShares.js","sourceRoot":"","sources":["../getShares.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getShares.js","sourceRoot":"","sources":["../getShares.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AAqDD;;;;GAIG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC"}
|
package/grantOwnership.d.ts
CHANGED
|
@@ -9,6 +9,131 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* > **Note** Changes introduced in [202501 Snowflake BCR Bundle](https://docs.snowflake.com/en/release-notes/bcr-bundles/2025_01/bcr-1870) alter how future ownership grant hierarchy works. After the change schema-level future ownership grant(s) will override those defined on the database-level. Previously, the database-level ones took the precedence.
|
|
10
10
|
*
|
|
11
11
|
* > **Warning** Be careful when using this resource on managed schema or any object within it, as in Snowflake managed schemas follow different ownership and privilege model. For more details, please visit [Schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema#optional-parameters) (scroll to `WITH MANAGED ACCESS` option).
|
|
12
|
+
*
|
|
13
|
+
* ## Granting ownership on pipes
|
|
14
|
+
*
|
|
15
|
+
* Snowflake transfers ownership only of a paused pipe. For every pipe (a single pipe, or each pipe when ownership is granted on all pipes in a database or schema), the provider:
|
|
16
|
+
* 1. Checks the pipe status with [`SYSTEM$PIPE_STATUS`](https://docs.snowflake.com/en/sql-reference/functions/system_pipe_status), and pauses a running pipe with `ALTER PIPE ... SET PIPE_EXECUTION_PAUSED = TRUE`. This needs either OWNERSHIP, or OPERATE and MONITOR on the pipe. Without them, the provider tries the transfer as is, and Snowflake rejects it for a running pipe.
|
|
17
|
+
* 2. Transfers the ownership.
|
|
18
|
+
* 3. Resumes the pipe with [`SYSTEM$PIPE_FORCE_RESUME`](https://docs.snowflake.com/en/sql-reference/functions/system_pipe_force_resume), but only when the pipe was running, the current role has OPERATE on the pipe, and `outboundPrivileges = "COPY"` keeps that privilege after the transfer. If the pipe inherited [`PIPE_EXECUTION_PAUSED`](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused) from its schema or account before, the provider unsets it again, so the pipe ends as it started.
|
|
19
|
+
*
|
|
20
|
+
* Otherwise, the pipe stays paused, with `PIPE_EXECUTION_PAUSED = TRUE` set on the pipe. Being the owner of the pipe before the transfer is not enough to resume it, because the current role has no privileges on the pipe after the transfer.
|
|
21
|
+
*
|
|
22
|
+
* To keep a running pipe running, grant OPERATE and MONITOR on the pipe to the role used by the provider before the transfer, and set `outboundPrivileges = "COPY"`:
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
27
|
+
*
|
|
28
|
+
* const pipeOperate = new snowflake.GrantPrivilegesToAccountRole("pipe_operate", {
|
|
29
|
+
* accountRoleName: "<role used by the provider>",
|
|
30
|
+
* privileges: [
|
|
31
|
+
* "OPERATE",
|
|
32
|
+
* "MONITOR",
|
|
33
|
+
* ],
|
|
34
|
+
* onSchemaObject: {
|
|
35
|
+
* objectType: "PIPE",
|
|
36
|
+
* objectName: example.fullyQualifiedName,
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* const pipe = new snowflake.GrantOwnership("pipe", {
|
|
40
|
+
* accountRoleName: newOwner.name,
|
|
41
|
+
* outboundPrivileges: "COPY",
|
|
42
|
+
* on: {
|
|
43
|
+
* objectType: "PIPE",
|
|
44
|
+
* objectName: example.fullyQualifiedName,
|
|
45
|
+
* },
|
|
46
|
+
* }, {
|
|
47
|
+
* dependsOn: [pipeOperate],
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* A paused pipe is transferred without a pause and a resume, and it stays paused after the transfer.
|
|
52
|
+
*
|
|
53
|
+
* If the pipe is managed by the `snowflake.Pipe` resource:
|
|
54
|
+
* - With `pipeExecutionPaused` not set, or set to `false`, the pipe keeps running when the privileges above are granted. Without them, the pipe stays paused after the transfer, and `snowflake.Pipe` reports a difference for `pipeExecutionPaused`.
|
|
55
|
+
* - With `pipeExecutionPaused = true`, the pipe stays paused, and no additional privileges are needed.
|
|
56
|
+
* - Setting `pipeExecutionPaused = false` after the transfer does not resume a pipe that was paused during the transfer, because Snowflake resumes it this way only if its ownership did not change while it was paused. Resume it with [`SYSTEM$PIPE_FORCE_RESUME`](https://docs.snowflake.com/en/sql-reference/functions/system_pipe_force_resume) instead.
|
|
57
|
+
*
|
|
58
|
+
* ## Granting ownership on task
|
|
59
|
+
*
|
|
60
|
+
* Granting ownership on single task requires:
|
|
61
|
+
* - Either OWNERSHIP or OPERATE privilege to suspend the task (and its root)
|
|
62
|
+
* - Role that will be granted ownership has to have USAGE granted on the warehouse assigned to the task, as well as EXECUTE TASK granted globally
|
|
63
|
+
* - The outbound privileges set to `outboundPrivileges = "COPY"` if you want to move grants automatically to the owner (also enables the provider to resume the task automatically)
|
|
64
|
+
* If originally the first owner won't be granted with OPERATE, USAGE (on the warehouse), EXECUTE TASK (on the account), and outbound privileges won't be set to `COPY`, then you have to resume suspended tasks manually.
|
|
65
|
+
*
|
|
66
|
+
* ## Granting ownership on all tasks in database/schema
|
|
67
|
+
*
|
|
68
|
+
* Granting ownership on all tasks requires less privileges than granting ownership on one task, because it does a little bit less and requires additional work to be done after.
|
|
69
|
+
* The only thing you have to take care of is to resume tasks after grant ownership transfer. If all of your tasks are managed by the Snowflake Terraform Plugin, this should
|
|
70
|
+
* be as simple as running `pulumi up` second time (assuming the currently used role is privileged enough to be able to resume the tasks).
|
|
71
|
+
* If your tasks are not managed by the Snowflake Terraform Plugin, you should resume them yourself manually.
|
|
72
|
+
*
|
|
73
|
+
* ## Granting ownership on external tables
|
|
74
|
+
*
|
|
75
|
+
* Transferring ownership on an external table or its parent database blocks automatic refreshes of the table metadata by setting the `AUTO_REFRESH` property to `FALSE`.
|
|
76
|
+
* Right now, there's no way to check the `AUTO_REFRESH` state of the external table and because of that, a manual step is required after ownership transfer.
|
|
77
|
+
* To set the `AUTO_REFRESH` property back to `TRUE` (after you transfer ownership), use the [ALTER EXTERNAL TABLE](https://docs.snowflake.com/en/sql-reference/sql/alter-external-table) command.
|
|
78
|
+
*
|
|
79
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
80
|
+
*
|
|
81
|
+
* ## Import
|
|
82
|
+
*
|
|
83
|
+
* > **Note** All the ..._name parts should be fully qualified names (where every part is quoted), e.g. for schema object it is `"<database_name>"."<schema_name>"."<object_name>"`
|
|
84
|
+
*
|
|
85
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|<grant_type>|<grant_data>'`
|
|
86
|
+
*
|
|
87
|
+
* where:
|
|
88
|
+
* - roleType - string - type of granted role (either ToAccountRole or ToDatabaseRole)
|
|
89
|
+
* - roleName - string - fully qualified identifier for either account role or database role (depending on the role_type)
|
|
90
|
+
* - outboundPrivilegesBehavior - string - behavior specified for existing roles (can be either COPY or REVOKE)
|
|
91
|
+
* - grantType - enum
|
|
92
|
+
* - grantData - data dependent on grantType
|
|
93
|
+
*
|
|
94
|
+
* It has varying number of parts, depending on grant_type. All the possible types are:
|
|
95
|
+
*
|
|
96
|
+
* ### OnObject
|
|
97
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnObject|<object_type>|<object_name>'`
|
|
98
|
+
*
|
|
99
|
+
* ### OnAll (contains inner types: InDatabase | InSchema)
|
|
100
|
+
*
|
|
101
|
+
* #### InDatabase
|
|
102
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnAll|<object_type_plural>|InDatabase|<database_name>'`
|
|
103
|
+
*
|
|
104
|
+
* #### InSchema
|
|
105
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnAll|<object_type_plural>|InSchema|<schema_name>'`
|
|
106
|
+
*
|
|
107
|
+
* ### OnFuture (contains inner types: InDatabase | InSchema)
|
|
108
|
+
*
|
|
109
|
+
* #### InDatabase
|
|
110
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnFuture|<object_type_plural>|InDatabase|<database_name>'`
|
|
111
|
+
*
|
|
112
|
+
* #### InSchema
|
|
113
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnFuture|<object_type_plural>|InSchema|<schema_name>'`
|
|
114
|
+
*
|
|
115
|
+
* ### Import examples
|
|
116
|
+
*
|
|
117
|
+
* #### OnObject on Schema ToAccountRole
|
|
118
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|COPY|OnObject|SCHEMA|"databaseName"."schemaName"'`
|
|
119
|
+
*
|
|
120
|
+
* #### OnObject on Schema ToDatabaseRole
|
|
121
|
+
* `terraform import snowflake_grant_ownership.example 'ToDatabaseRole|"databaseName"."databaseRoleName"|COPY|OnObject|SCHEMA|"databaseName"."schemaName"'`
|
|
122
|
+
*
|
|
123
|
+
* #### OnObject on Table
|
|
124
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|COPY|OnObject|TABLE|"databaseName"."schemaName"."tableName"'`
|
|
125
|
+
*
|
|
126
|
+
* #### OnAll InDatabase
|
|
127
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|REVOKE|OnAll|TABLES|InDatabase|"databaseName"'`
|
|
128
|
+
*
|
|
129
|
+
* #### OnAll InSchema
|
|
130
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"||OnAll|TABLES|InSchema|"databaseName"."schemaName"'`
|
|
131
|
+
*
|
|
132
|
+
* #### OnFuture InDatabase
|
|
133
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"||OnFuture|TABLES|InDatabase|"databaseName"'`
|
|
134
|
+
*
|
|
135
|
+
* #### OnFuture InSchema
|
|
136
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|COPY|OnFuture|TABLES|InSchema|"databaseName"."schemaName"'`
|
|
12
137
|
*/
|
|
13
138
|
export declare class GrantOwnership extends pulumi.CustomResource {
|
|
14
139
|
/**
|
package/grantOwnership.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grantOwnership.d.ts","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"grantOwnership.d.ts","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqIG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAI9I;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAOxI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5E;;OAEG;IACH,SAAwB,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAE9E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAuB1F;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzD;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC1C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/grantOwnership.js
CHANGED
|
@@ -36,6 +36,131 @@ const utilities = __importStar(require("./utilities"));
|
|
|
36
36
|
* > **Note** Changes introduced in [202501 Snowflake BCR Bundle](https://docs.snowflake.com/en/release-notes/bcr-bundles/2025_01/bcr-1870) alter how future ownership grant hierarchy works. After the change schema-level future ownership grant(s) will override those defined on the database-level. Previously, the database-level ones took the precedence.
|
|
37
37
|
*
|
|
38
38
|
* > **Warning** Be careful when using this resource on managed schema or any object within it, as in Snowflake managed schemas follow different ownership and privilege model. For more details, please visit [Schema documentation](https://docs.snowflake.com/en/sql-reference/sql/create-schema#optional-parameters) (scroll to `WITH MANAGED ACCESS` option).
|
|
39
|
+
*
|
|
40
|
+
* ## Granting ownership on pipes
|
|
41
|
+
*
|
|
42
|
+
* Snowflake transfers ownership only of a paused pipe. For every pipe (a single pipe, or each pipe when ownership is granted on all pipes in a database or schema), the provider:
|
|
43
|
+
* 1. Checks the pipe status with [`SYSTEM$PIPE_STATUS`](https://docs.snowflake.com/en/sql-reference/functions/system_pipe_status), and pauses a running pipe with `ALTER PIPE ... SET PIPE_EXECUTION_PAUSED = TRUE`. This needs either OWNERSHIP, or OPERATE and MONITOR on the pipe. Without them, the provider tries the transfer as is, and Snowflake rejects it for a running pipe.
|
|
44
|
+
* 2. Transfers the ownership.
|
|
45
|
+
* 3. Resumes the pipe with [`SYSTEM$PIPE_FORCE_RESUME`](https://docs.snowflake.com/en/sql-reference/functions/system_pipe_force_resume), but only when the pipe was running, the current role has OPERATE on the pipe, and `outboundPrivileges = "COPY"` keeps that privilege after the transfer. If the pipe inherited [`PIPE_EXECUTION_PAUSED`](https://docs.snowflake.com/en/sql-reference/parameters#pipe-execution-paused) from its schema or account before, the provider unsets it again, so the pipe ends as it started.
|
|
46
|
+
*
|
|
47
|
+
* Otherwise, the pipe stays paused, with `PIPE_EXECUTION_PAUSED = TRUE` set on the pipe. Being the owner of the pipe before the transfer is not enough to resume it, because the current role has no privileges on the pipe after the transfer.
|
|
48
|
+
*
|
|
49
|
+
* To keep a running pipe running, grant OPERATE and MONITOR on the pipe to the role used by the provider before the transfer, and set `outboundPrivileges = "COPY"`:
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
54
|
+
*
|
|
55
|
+
* const pipeOperate = new snowflake.GrantPrivilegesToAccountRole("pipe_operate", {
|
|
56
|
+
* accountRoleName: "<role used by the provider>",
|
|
57
|
+
* privileges: [
|
|
58
|
+
* "OPERATE",
|
|
59
|
+
* "MONITOR",
|
|
60
|
+
* ],
|
|
61
|
+
* onSchemaObject: {
|
|
62
|
+
* objectType: "PIPE",
|
|
63
|
+
* objectName: example.fullyQualifiedName,
|
|
64
|
+
* },
|
|
65
|
+
* });
|
|
66
|
+
* const pipe = new snowflake.GrantOwnership("pipe", {
|
|
67
|
+
* accountRoleName: newOwner.name,
|
|
68
|
+
* outboundPrivileges: "COPY",
|
|
69
|
+
* on: {
|
|
70
|
+
* objectType: "PIPE",
|
|
71
|
+
* objectName: example.fullyQualifiedName,
|
|
72
|
+
* },
|
|
73
|
+
* }, {
|
|
74
|
+
* dependsOn: [pipeOperate],
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* A paused pipe is transferred without a pause and a resume, and it stays paused after the transfer.
|
|
79
|
+
*
|
|
80
|
+
* If the pipe is managed by the `snowflake.Pipe` resource:
|
|
81
|
+
* - With `pipeExecutionPaused` not set, or set to `false`, the pipe keeps running when the privileges above are granted. Without them, the pipe stays paused after the transfer, and `snowflake.Pipe` reports a difference for `pipeExecutionPaused`.
|
|
82
|
+
* - With `pipeExecutionPaused = true`, the pipe stays paused, and no additional privileges are needed.
|
|
83
|
+
* - Setting `pipeExecutionPaused = false` after the transfer does not resume a pipe that was paused during the transfer, because Snowflake resumes it this way only if its ownership did not change while it was paused. Resume it with [`SYSTEM$PIPE_FORCE_RESUME`](https://docs.snowflake.com/en/sql-reference/functions/system_pipe_force_resume) instead.
|
|
84
|
+
*
|
|
85
|
+
* ## Granting ownership on task
|
|
86
|
+
*
|
|
87
|
+
* Granting ownership on single task requires:
|
|
88
|
+
* - Either OWNERSHIP or OPERATE privilege to suspend the task (and its root)
|
|
89
|
+
* - Role that will be granted ownership has to have USAGE granted on the warehouse assigned to the task, as well as EXECUTE TASK granted globally
|
|
90
|
+
* - The outbound privileges set to `outboundPrivileges = "COPY"` if you want to move grants automatically to the owner (also enables the provider to resume the task automatically)
|
|
91
|
+
* If originally the first owner won't be granted with OPERATE, USAGE (on the warehouse), EXECUTE TASK (on the account), and outbound privileges won't be set to `COPY`, then you have to resume suspended tasks manually.
|
|
92
|
+
*
|
|
93
|
+
* ## Granting ownership on all tasks in database/schema
|
|
94
|
+
*
|
|
95
|
+
* Granting ownership on all tasks requires less privileges than granting ownership on one task, because it does a little bit less and requires additional work to be done after.
|
|
96
|
+
* The only thing you have to take care of is to resume tasks after grant ownership transfer. If all of your tasks are managed by the Snowflake Terraform Plugin, this should
|
|
97
|
+
* be as simple as running `pulumi up` second time (assuming the currently used role is privileged enough to be able to resume the tasks).
|
|
98
|
+
* If your tasks are not managed by the Snowflake Terraform Plugin, you should resume them yourself manually.
|
|
99
|
+
*
|
|
100
|
+
* ## Granting ownership on external tables
|
|
101
|
+
*
|
|
102
|
+
* Transferring ownership on an external table or its parent database blocks automatic refreshes of the table metadata by setting the `AUTO_REFRESH` property to `FALSE`.
|
|
103
|
+
* Right now, there's no way to check the `AUTO_REFRESH` state of the external table and because of that, a manual step is required after ownership transfer.
|
|
104
|
+
* To set the `AUTO_REFRESH` property back to `TRUE` (after you transfer ownership), use the [ALTER EXTERNAL TABLE](https://docs.snowflake.com/en/sql-reference/sql/alter-external-table) command.
|
|
105
|
+
*
|
|
106
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
107
|
+
*
|
|
108
|
+
* ## Import
|
|
109
|
+
*
|
|
110
|
+
* > **Note** All the ..._name parts should be fully qualified names (where every part is quoted), e.g. for schema object it is `"<database_name>"."<schema_name>"."<object_name>"`
|
|
111
|
+
*
|
|
112
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|<grant_type>|<grant_data>'`
|
|
113
|
+
*
|
|
114
|
+
* where:
|
|
115
|
+
* - roleType - string - type of granted role (either ToAccountRole or ToDatabaseRole)
|
|
116
|
+
* - roleName - string - fully qualified identifier for either account role or database role (depending on the role_type)
|
|
117
|
+
* - outboundPrivilegesBehavior - string - behavior specified for existing roles (can be either COPY or REVOKE)
|
|
118
|
+
* - grantType - enum
|
|
119
|
+
* - grantData - data dependent on grantType
|
|
120
|
+
*
|
|
121
|
+
* It has varying number of parts, depending on grant_type. All the possible types are:
|
|
122
|
+
*
|
|
123
|
+
* ### OnObject
|
|
124
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnObject|<object_type>|<object_name>'`
|
|
125
|
+
*
|
|
126
|
+
* ### OnAll (contains inner types: InDatabase | InSchema)
|
|
127
|
+
*
|
|
128
|
+
* #### InDatabase
|
|
129
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnAll|<object_type_plural>|InDatabase|<database_name>'`
|
|
130
|
+
*
|
|
131
|
+
* #### InSchema
|
|
132
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnAll|<object_type_plural>|InSchema|<schema_name>'`
|
|
133
|
+
*
|
|
134
|
+
* ### OnFuture (contains inner types: InDatabase | InSchema)
|
|
135
|
+
*
|
|
136
|
+
* #### InDatabase
|
|
137
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnFuture|<object_type_plural>|InDatabase|<database_name>'`
|
|
138
|
+
*
|
|
139
|
+
* #### InSchema
|
|
140
|
+
* `terraform import snowflake_grant_ownership.example '<role_type>|<role_identifier>|<outbound_privileges_behavior>|OnFuture|<object_type_plural>|InSchema|<schema_name>'`
|
|
141
|
+
*
|
|
142
|
+
* ### Import examples
|
|
143
|
+
*
|
|
144
|
+
* #### OnObject on Schema ToAccountRole
|
|
145
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|COPY|OnObject|SCHEMA|"databaseName"."schemaName"'`
|
|
146
|
+
*
|
|
147
|
+
* #### OnObject on Schema ToDatabaseRole
|
|
148
|
+
* `terraform import snowflake_grant_ownership.example 'ToDatabaseRole|"databaseName"."databaseRoleName"|COPY|OnObject|SCHEMA|"databaseName"."schemaName"'`
|
|
149
|
+
*
|
|
150
|
+
* #### OnObject on Table
|
|
151
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|COPY|OnObject|TABLE|"databaseName"."schemaName"."tableName"'`
|
|
152
|
+
*
|
|
153
|
+
* #### OnAll InDatabase
|
|
154
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|REVOKE|OnAll|TABLES|InDatabase|"databaseName"'`
|
|
155
|
+
*
|
|
156
|
+
* #### OnAll InSchema
|
|
157
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"||OnAll|TABLES|InSchema|"databaseName"."schemaName"'`
|
|
158
|
+
*
|
|
159
|
+
* #### OnFuture InDatabase
|
|
160
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"||OnFuture|TABLES|InDatabase|"databaseName"'`
|
|
161
|
+
*
|
|
162
|
+
* #### OnFuture InSchema
|
|
163
|
+
* `terraform import snowflake_grant_ownership.example 'ToAccountRole|"accountRole"|COPY|OnFuture|TABLES|InSchema|"databaseName"."schemaName"'`
|
|
39
164
|
*/
|
|
40
165
|
class GrantOwnership extends pulumi.CustomResource {
|
|
41
166
|
/**
|
package/grantOwnership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grantOwnership.js","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"grantOwnership.js","sourceRoot":"","sources":["../grantOwnership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqIG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAA2B,EAAE,IAAmC;QAC3G,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,+CAA+C,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,CAAC;IACxI,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+CAA+C,CAAC;IAEtF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,EAAE,CAAC;YACjC,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;SACpE;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,IAAI,EAAE,EAAE,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrC,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;aACrD;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC;YAChC,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArFL,wCAsFC"}
|
|
@@ -75,7 +75,7 @@ export declare class GrantPrivilegesToAccountRole extends pulumi.CustomResource
|
|
|
75
75
|
*/
|
|
76
76
|
readonly privileges: pulumi.Output<string[] | undefined>;
|
|
77
77
|
/**
|
|
78
|
-
* (Default: `false`) If true, the resource will revoke all privileges that are not explicitly defined in the config making it a central source of truth for the privileges granted on an object to an account role. If false, the resource will be only concerned with the privileges that are explicitly defined in the config. The potential privilege removals will be planned only after second `pulumi up` run, after setting the flag in resource configuration. This means, the flag update doesn't revoke immediately any externally granted privileges. This is a Terraform limitation, and two steps are needed to properly show the potential privilege changes (e.g., revoking privileges not specified in the configuration) in the plan. External privileges will be detected regardless of their grant option. This field is enabled by default as part of the `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` experimental feature. You can opt out by listing `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` in `experimentalFeaturesDisabled` in the provider block. This experiment will be
|
|
78
|
+
* (Default: `false`) If true, the resource will revoke all privileges that are not explicitly defined in the config making it a central source of truth for the privileges granted on an object to an account role. If false, the resource will be only concerned with the privileges that are explicitly defined in the config. The potential privilege removals will be planned only after second `pulumi up` run, after setting the flag in resource configuration. This means, the flag update doesn't revoke immediately any externally granted privileges. This is a Terraform limitation, and two steps are needed to properly show the potential privilege changes (e.g., revoking privileges not specified in the configuration) in the plan. External privileges will be detected regardless of their grant option. This field is enabled by default as part of the `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` experimental feature. You can opt out by listing `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` in `experimentalFeaturesDisabled` in the provider block. This experiment will be promoted in v2.23.0 or v2.24.0. Regular and future grants are treated separately, meaning, more resources need to be defined to control regular and future grants for a given object and role (and for a given database or schema they're defined in for future grants). See our Strict privilege management guide for more information.
|
|
79
79
|
*/
|
|
80
80
|
readonly strictPrivilegeManagement: pulumi.Output<boolean | undefined>;
|
|
81
81
|
/**
|
|
@@ -132,7 +132,7 @@ export interface GrantPrivilegesToAccountRoleState {
|
|
|
132
132
|
*/
|
|
133
133
|
privileges?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
134
134
|
/**
|
|
135
|
-
* (Default: `false`) If true, the resource will revoke all privileges that are not explicitly defined in the config making it a central source of truth for the privileges granted on an object to an account role. If false, the resource will be only concerned with the privileges that are explicitly defined in the config. The potential privilege removals will be planned only after second `pulumi up` run, after setting the flag in resource configuration. This means, the flag update doesn't revoke immediately any externally granted privileges. This is a Terraform limitation, and two steps are needed to properly show the potential privilege changes (e.g., revoking privileges not specified in the configuration) in the plan. External privileges will be detected regardless of their grant option. This field is enabled by default as part of the `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` experimental feature. You can opt out by listing `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` in `experimentalFeaturesDisabled` in the provider block. This experiment will be
|
|
135
|
+
* (Default: `false`) If true, the resource will revoke all privileges that are not explicitly defined in the config making it a central source of truth for the privileges granted on an object to an account role. If false, the resource will be only concerned with the privileges that are explicitly defined in the config. The potential privilege removals will be planned only after second `pulumi up` run, after setting the flag in resource configuration. This means, the flag update doesn't revoke immediately any externally granted privileges. This is a Terraform limitation, and two steps are needed to properly show the potential privilege changes (e.g., revoking privileges not specified in the configuration) in the plan. External privileges will be detected regardless of their grant option. This field is enabled by default as part of the `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` experimental feature. You can opt out by listing `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` in `experimentalFeaturesDisabled` in the provider block. This experiment will be promoted in v2.23.0 or v2.24.0. Regular and future grants are treated separately, meaning, more resources need to be defined to control regular and future grants for a given object and role (and for a given database or schema they're defined in for future grants). See our Strict privilege management guide for more information.
|
|
136
136
|
*/
|
|
137
137
|
strictPrivilegeManagement?: pulumi.Input<boolean | undefined>;
|
|
138
138
|
/**
|
|
@@ -181,7 +181,7 @@ export interface GrantPrivilegesToAccountRoleArgs {
|
|
|
181
181
|
*/
|
|
182
182
|
privileges?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
183
183
|
/**
|
|
184
|
-
* (Default: `false`) If true, the resource will revoke all privileges that are not explicitly defined in the config making it a central source of truth for the privileges granted on an object to an account role. If false, the resource will be only concerned with the privileges that are explicitly defined in the config. The potential privilege removals will be planned only after second `pulumi up` run, after setting the flag in resource configuration. This means, the flag update doesn't revoke immediately any externally granted privileges. This is a Terraform limitation, and two steps are needed to properly show the potential privilege changes (e.g., revoking privileges not specified in the configuration) in the plan. External privileges will be detected regardless of their grant option. This field is enabled by default as part of the `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` experimental feature. You can opt out by listing `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` in `experimentalFeaturesDisabled` in the provider block. This experiment will be
|
|
184
|
+
* (Default: `false`) If true, the resource will revoke all privileges that are not explicitly defined in the config making it a central source of truth for the privileges granted on an object to an account role. If false, the resource will be only concerned with the privileges that are explicitly defined in the config. The potential privilege removals will be planned only after second `pulumi up` run, after setting the flag in resource configuration. This means, the flag update doesn't revoke immediately any externally granted privileges. This is a Terraform limitation, and two steps are needed to properly show the potential privilege changes (e.g., revoking privileges not specified in the configuration) in the plan. External privileges will be detected regardless of their grant option. This field is enabled by default as part of the `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` experimental feature. You can opt out by listing `GRANTS_STRICT_PRIVILEGE_MANAGEMENT` in `experimentalFeaturesDisabled` in the provider block. This experiment will be promoted in v2.23.0 or v2.24.0. Regular and future grants are treated separately, meaning, more resources need to be defined to control regular and future grants for a given object and role (and for a given database or schema they're defined in for future grants). See our Strict privilege management guide for more information.
|
|
185
185
|
*/
|
|
186
186
|
strictPrivilegeManagement?: pulumi.Input<boolean | undefined>;
|
|
187
187
|
/**
|
package/index.d.ts
CHANGED
|
@@ -61,6 +61,9 @@ export declare const ApiIntegrationGoogleCloudApiGateway: typeof import("./apiIn
|
|
|
61
61
|
export { AuthenticationPolicyArgs, AuthenticationPolicyState } from "./authenticationPolicy";
|
|
62
62
|
export type AuthenticationPolicy = import("./authenticationPolicy").AuthenticationPolicy;
|
|
63
63
|
export declare const AuthenticationPolicy: typeof import("./authenticationPolicy").AuthenticationPolicy;
|
|
64
|
+
export { BackupPolicyArgs, BackupPolicyState } from "./backupPolicy";
|
|
65
|
+
export type BackupPolicy = import("./backupPolicy").BackupPolicy;
|
|
66
|
+
export declare const BackupPolicy: typeof import("./backupPolicy").BackupPolicy;
|
|
64
67
|
export { CatalogIntegrationAwsGlueArgs, CatalogIntegrationAwsGlueState } from "./catalogIntegrationAwsGlue";
|
|
65
68
|
export type CatalogIntegrationAwsGlue = import("./catalogIntegrationAwsGlue").CatalogIntegrationAwsGlue;
|
|
66
69
|
export declare const CatalogIntegrationAwsGlue: typeof import("./catalogIntegrationAwsGlue").CatalogIntegrationAwsGlue;
|
|
@@ -73,6 +76,9 @@ export declare const CatalogIntegrationObjectStorage: typeof import("./catalogIn
|
|
|
73
76
|
export { CatalogIntegrationOpenCatalogArgs, CatalogIntegrationOpenCatalogState } from "./catalogIntegrationOpenCatalog";
|
|
74
77
|
export type CatalogIntegrationOpenCatalog = import("./catalogIntegrationOpenCatalog").CatalogIntegrationOpenCatalog;
|
|
75
78
|
export declare const CatalogIntegrationOpenCatalog: typeof import("./catalogIntegrationOpenCatalog").CatalogIntegrationOpenCatalog;
|
|
79
|
+
export { CodeBundleArgs, CodeBundleState } from "./codeBundle";
|
|
80
|
+
export type CodeBundle = import("./codeBundle").CodeBundle;
|
|
81
|
+
export declare const CodeBundle: typeof import("./codeBundle").CodeBundle;
|
|
76
82
|
export { ComputePoolArgs, ComputePoolState } from "./computePool";
|
|
77
83
|
export type ComputePool = import("./computePool").ComputePool;
|
|
78
84
|
export declare const ComputePool: typeof import("./computePool").ComputePool;
|
|
@@ -172,9 +178,15 @@ export declare const getApiIntegrationsOutput: typeof import("./getApiIntegratio
|
|
|
172
178
|
export { GetAuthenticationPoliciesArgs, GetAuthenticationPoliciesResult, GetAuthenticationPoliciesOutputArgs } from "./getAuthenticationPolicies";
|
|
173
179
|
export declare const getAuthenticationPolicies: typeof import("./getAuthenticationPolicies").getAuthenticationPolicies;
|
|
174
180
|
export declare const getAuthenticationPoliciesOutput: typeof import("./getAuthenticationPolicies").getAuthenticationPoliciesOutput;
|
|
181
|
+
export { GetBackupPoliciesArgs, GetBackupPoliciesResult, GetBackupPoliciesOutputArgs } from "./getBackupPolicies";
|
|
182
|
+
export declare const getBackupPolicies: typeof import("./getBackupPolicies").getBackupPolicies;
|
|
183
|
+
export declare const getBackupPoliciesOutput: typeof import("./getBackupPolicies").getBackupPoliciesOutput;
|
|
175
184
|
export { GetCatalogIntegrationsArgs, GetCatalogIntegrationsResult, GetCatalogIntegrationsOutputArgs } from "./getCatalogIntegrations";
|
|
176
185
|
export declare const getCatalogIntegrations: typeof import("./getCatalogIntegrations").getCatalogIntegrations;
|
|
177
186
|
export declare const getCatalogIntegrationsOutput: typeof import("./getCatalogIntegrations").getCatalogIntegrationsOutput;
|
|
187
|
+
export { GetCodeBundlesArgs, GetCodeBundlesResult, GetCodeBundlesOutputArgs } from "./getCodeBundles";
|
|
188
|
+
export declare const getCodeBundles: typeof import("./getCodeBundles").getCodeBundles;
|
|
189
|
+
export declare const getCodeBundlesOutput: typeof import("./getCodeBundles").getCodeBundlesOutput;
|
|
178
190
|
export { GetComputePoolsArgs, GetComputePoolsResult, GetComputePoolsOutputArgs } from "./getComputePools";
|
|
179
191
|
export declare const getComputePools: typeof import("./getComputePools").getComputePools;
|
|
180
192
|
export declare const getComputePoolsOutput: typeof import("./getComputePools").getComputePoolsOutput;
|
|
@@ -286,9 +298,18 @@ export declare const getPasswordPoliciesOutput: typeof import("./getPasswordPoli
|
|
|
286
298
|
export { GetPipesArgs, GetPipesResult, GetPipesOutputArgs } from "./getPipes";
|
|
287
299
|
export declare const getPipes: typeof import("./getPipes").getPipes;
|
|
288
300
|
export declare const getPipesOutput: typeof import("./getPipes").getPipesOutput;
|
|
301
|
+
export { GetPostgresMirrorsArgs, GetPostgresMirrorsResult, GetPostgresMirrorsOutputArgs } from "./getPostgresMirrors";
|
|
302
|
+
export declare const getPostgresMirrors: typeof import("./getPostgresMirrors").getPostgresMirrors;
|
|
303
|
+
export declare const getPostgresMirrorsOutput: typeof import("./getPostgresMirrors").getPostgresMirrorsOutput;
|
|
289
304
|
export { GetProceduresArgs, GetProceduresResult, GetProceduresOutputArgs } from "./getProcedures";
|
|
290
305
|
export declare const getProcedures: typeof import("./getProcedures").getProcedures;
|
|
291
306
|
export declare const getProceduresOutput: typeof import("./getProcedures").getProceduresOutput;
|
|
307
|
+
export { GetProjectionPoliciesArgs, GetProjectionPoliciesResult, GetProjectionPoliciesOutputArgs } from "./getProjectionPolicies";
|
|
308
|
+
export declare const getProjectionPolicies: typeof import("./getProjectionPolicies").getProjectionPolicies;
|
|
309
|
+
export declare const getProjectionPoliciesOutput: typeof import("./getProjectionPolicies").getProjectionPoliciesOutput;
|
|
310
|
+
export { GetReplicationGroupsArgs, GetReplicationGroupsResult, GetReplicationGroupsOutputArgs } from "./getReplicationGroups";
|
|
311
|
+
export declare const getReplicationGroups: typeof import("./getReplicationGroups").getReplicationGroups;
|
|
312
|
+
export declare const getReplicationGroupsOutput: typeof import("./getReplicationGroups").getReplicationGroupsOutput;
|
|
292
313
|
export { GetResourceMonitorsArgs, GetResourceMonitorsResult, GetResourceMonitorsOutputArgs } from "./getResourceMonitors";
|
|
293
314
|
export declare const getResourceMonitors: typeof import("./getResourceMonitors").getResourceMonitors;
|
|
294
315
|
export declare const getResourceMonitorsOutput: typeof import("./getResourceMonitors").getResourceMonitorsOutput;
|
|
@@ -481,6 +502,9 @@ export declare const Pipe: typeof import("./pipe").Pipe;
|
|
|
481
502
|
export { PostgresInstanceArgs, PostgresInstanceState } from "./postgresInstance";
|
|
482
503
|
export type PostgresInstance = import("./postgresInstance").PostgresInstance;
|
|
483
504
|
export declare const PostgresInstance: typeof import("./postgresInstance").PostgresInstance;
|
|
505
|
+
export { PostgresMirrorArgs, PostgresMirrorState } from "./postgresMirror";
|
|
506
|
+
export type PostgresMirror = import("./postgresMirror").PostgresMirror;
|
|
507
|
+
export declare const PostgresMirror: typeof import("./postgresMirror").PostgresMirror;
|
|
484
508
|
export { PrimaryConnectionArgs, PrimaryConnectionState } from "./primaryConnection";
|
|
485
509
|
export type PrimaryConnection = import("./primaryConnection").PrimaryConnection;
|
|
486
510
|
export declare const PrimaryConnection: typeof import("./primaryConnection").PrimaryConnection;
|
|
@@ -499,7 +523,16 @@ export declare const ProcedureScala: typeof import("./procedureScala").Procedure
|
|
|
499
523
|
export { ProcedureSqlArgs, ProcedureSqlState } from "./procedureSql";
|
|
500
524
|
export type ProcedureSql = import("./procedureSql").ProcedureSql;
|
|
501
525
|
export declare const ProcedureSql: typeof import("./procedureSql").ProcedureSql;
|
|
526
|
+
export { ProjectionPolicyArgs, ProjectionPolicyState } from "./projectionPolicy";
|
|
527
|
+
export type ProjectionPolicy = import("./projectionPolicy").ProjectionPolicy;
|
|
528
|
+
export declare const ProjectionPolicy: typeof import("./projectionPolicy").ProjectionPolicy;
|
|
502
529
|
export * from "./provider";
|
|
530
|
+
export { ReplicationGroupArgs, ReplicationGroupState } from "./replicationGroup";
|
|
531
|
+
export type ReplicationGroup = import("./replicationGroup").ReplicationGroup;
|
|
532
|
+
export declare const ReplicationGroup: typeof import("./replicationGroup").ReplicationGroup;
|
|
533
|
+
export { ReplicationGroupSecondaryArgs, ReplicationGroupSecondaryState } from "./replicationGroupSecondary";
|
|
534
|
+
export type ReplicationGroupSecondary = import("./replicationGroupSecondary").ReplicationGroupSecondary;
|
|
535
|
+
export declare const ReplicationGroupSecondary: typeof import("./replicationGroupSecondary").ReplicationGroupSecondary;
|
|
503
536
|
export { ResourceMonitorArgs, ResourceMonitorState } from "./resourceMonitor";
|
|
504
537
|
export type ResourceMonitor = import("./resourceMonitor").ResourceMonitor;
|
|
505
538
|
export declare const ResourceMonitor: typeof import("./resourceMonitor").ResourceMonitor;
|