@pulumi/snowflake 0.63.0-alpha.1734439451 → 1.0.0-alpha.1734440141
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/account.d.ts +40 -86
- package/account.js +12 -5
- package/account.js.map +1 -1
- package/accountParameter.d.ts +7 -7
- package/accountParameter.js +1 -1
- package/accountRole.d.ts +4 -4
- package/accountRole.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +4 -13
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.d.ts +4 -13
- package/apiAuthenticationIntegrationWithClientCredentials.js +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.d.ts +4 -13
- package/apiAuthenticationIntegrationWithJwtBearer.js +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/authenticationPolicy.d.ts +9 -9
- package/config/vars.d.ts +6 -74
- package/config/vars.js +6 -83
- package/config/vars.js.map +1 -1
- package/database.d.ts +4 -4
- package/database.js +1 -1
- package/databaseRole.d.ts +6 -6
- package/{unsafeExecute.d.ts → execute.d.ts} +21 -14
- package/{unsafeExecute.js → execute.js} +17 -10
- package/execute.js.map +1 -0
- package/externalOauthIntegration.d.ts +12 -12
- package/externalOauthIntegration.js +1 -1
- package/externalVolume.d.ts +5 -3
- package/externalVolume.js +2 -0
- package/externalVolume.js.map +1 -1
- package/functionJava.d.ts +324 -0
- package/{function.js → functionJava.js} +40 -22
- package/functionJava.js.map +1 -0
- package/functionJavascript.d.ts +240 -0
- package/functionJavascript.js +106 -0
- package/functionJavascript.js.map +1 -0
- package/functionPython.d.ts +324 -0
- package/functionPython.js +123 -0
- package/functionPython.js.map +1 -0
- package/functionScala.d.ts +324 -0
- package/functionScala.js +123 -0
- package/functionScala.js.map +1 -0
- package/functionSql.d.ts +228 -0
- package/functionSql.js +104 -0
- package/functionSql.js.map +1 -0
- package/getAccountRoles.d.ts +57 -0
- package/getAccountRoles.js +32 -0
- package/getAccountRoles.js.map +1 -0
- package/getAccounts.d.ts +25 -7
- package/getAccounts.js +10 -2
- package/getAccounts.js.map +1 -1
- package/getAlerts.d.ts +4 -0
- package/getAlerts.js +4 -0
- package/getAlerts.js.map +1 -1
- package/getConnections.d.ts +2 -48
- package/getConnections.js +2 -48
- package/getConnections.js.map +1 -1
- package/getCortexSearchServices.d.ts +4 -0
- package/getCortexSearchServices.js +4 -0
- package/getCortexSearchServices.js.map +1 -1
- package/getCurrentAccount.d.ts +4 -0
- package/getCurrentAccount.js +4 -0
- package/getCurrentAccount.js.map +1 -1
- package/getCurrentRole.d.ts +6 -0
- package/getCurrentRole.js +6 -0
- package/getCurrentRole.js.map +1 -1
- package/getDatabase.d.ts +4 -0
- package/getDatabase.js +4 -0
- package/getDatabase.js.map +1 -1
- package/getDatabaseRole.d.ts +4 -0
- package/getDatabaseRole.js +4 -0
- package/getDatabaseRole.js.map +1 -1
- package/getDatabaseRoles.d.ts +2 -6
- package/getDatabaseRoles.js +2 -6
- package/getDatabaseRoles.js.map +1 -1
- package/getDatabases.d.ts +2 -6
- package/getDatabases.js +2 -6
- package/getDatabases.js.map +1 -1
- package/getDynamicTables.d.ts +6 -0
- package/getDynamicTables.js +6 -0
- package/getDynamicTables.js.map +1 -1
- package/getExternalFunctions.d.ts +4 -0
- package/getExternalFunctions.js +4 -0
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +4 -0
- package/getExternalTables.js +4 -0
- package/getExternalTables.js.map +1 -1
- package/getFailoverGroups.d.ts +6 -0
- package/getFailoverGroups.js +6 -0
- package/getFailoverGroups.js.map +1 -1
- package/getFileFormats.d.ts +4 -0
- package/getFileFormats.js +4 -0
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +4 -0
- package/getFunctions.js +4 -0
- package/getFunctions.js.map +1 -1
- package/getGrants.d.ts +0 -4
- package/getGrants.js +0 -4
- package/getGrants.js.map +1 -1
- package/getMaskingPolicies.d.ts +2 -6
- package/getMaskingPolicies.js +2 -6
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +4 -0
- package/getMaterializedViews.js +4 -0
- package/getMaterializedViews.js.map +1 -1
- package/getNetworkPolicies.d.ts +2 -6
- package/getNetworkPolicies.js +2 -6
- package/getNetworkPolicies.js.map +1 -1
- package/getParameters.d.ts +4 -0
- package/getParameters.js +4 -0
- package/getParameters.js.map +1 -1
- package/getPipes.d.ts +4 -0
- package/getPipes.js +4 -0
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +4 -0
- package/getProcedures.js +4 -0
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +2 -6
- package/getResourceMonitors.js +2 -6
- package/getResourceMonitors.js.map +1 -1
- package/getRowAccessPolicies.d.ts +2 -6
- package/getRowAccessPolicies.js +2 -6
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +6 -4
- package/getSchemas.js +6 -4
- package/getSchemas.js.map +1 -1
- package/getSecrets.d.ts +2 -6
- package/getSecrets.js +2 -6
- package/getSecrets.js.map +1 -1
- package/getSecurityIntegrations.d.ts +2 -6
- package/getSecurityIntegrations.js +2 -6
- package/getSecurityIntegrations.js.map +1 -1
- package/getSequences.d.ts +4 -0
- package/getSequences.js +4 -0
- package/getSequences.js.map +1 -1
- package/getShares.d.ts +4 -0
- package/getShares.js +4 -0
- package/getShares.js.map +1 -1
- package/getStages.d.ts +4 -0
- package/getStages.js +4 -0
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +4 -0
- package/getStorageIntegrations.js +4 -0
- package/getStorageIntegrations.js.map +1 -1
- package/getStreamlits.d.ts +2 -6
- package/getStreamlits.js +2 -6
- package/getStreamlits.js.map +1 -1
- package/getStreams.d.ts +2 -6
- package/getStreams.js +2 -6
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.d.ts +4 -0
- package/getSystemGenerateScimAccessToken.js +4 -0
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.d.ts +4 -0
- package/getSystemGetPrivateLinkConfig.js +4 -0
- package/getSystemGetPrivateLinkConfig.js.map +1 -1
- package/getSystemGetSnowflakePlatformInfo.d.ts +6 -0
- package/getSystemGetSnowflakePlatformInfo.js +6 -0
- package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
- package/getTables.d.ts +4 -0
- package/getTables.js +4 -0
- package/getTables.js.map +1 -1
- package/getTags.d.ts +2 -6
- package/getTags.js +2 -6
- package/getTags.js.map +1 -1
- package/getTasks.d.ts +0 -4
- package/getTasks.js +0 -4
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +2 -6
- package/getUsers.js +2 -6
- package/getUsers.js.map +1 -1
- package/getViews.d.ts +2 -6
- package/getViews.js +2 -6
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +2 -6
- package/getWarehouses.js +2 -6
- package/getWarehouses.js.map +1 -1
- package/grantAccountRole.d.ts +9 -9
- package/grantApplicationRole.d.ts +3 -3
- package/grantDatabaseRole.d.ts +12 -12
- package/grantOwnership.d.ts +6 -6
- package/grantPrivilegesToAccountRole.d.ts +6 -6
- package/grantPrivilegesToDatabaseRole.d.ts +6 -6
- package/grantPrivilegesToShare.d.ts +18 -18
- package/index.d.ts +36 -36
- package/index.js +62 -60
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +9 -9
- package/maskingPolicy.d.ts +9 -9
- package/networkPolicy.d.ts +10 -10
- package/networkPolicy.js +1 -1
- package/oauthIntegrationForCustomClients.d.ts +23 -15
- package/oauthIntegrationForCustomClients.js +3 -4
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +16 -8
- package/oauthIntegrationForPartnerApplications.js +2 -3
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/passwordPolicy.d.ts +7 -0
- package/passwordPolicy.js +7 -0
- package/passwordPolicy.js.map +1 -1
- package/primaryConnection.d.ts +7 -7
- package/primaryConnection.js +1 -1
- package/procedureJava.d.ts +345 -0
- package/procedureJava.js +128 -0
- package/procedureJava.js.map +1 -0
- package/procedureJavascript.d.ts +249 -0
- package/procedureJavascript.js +106 -0
- package/procedureJavascript.js.map +1 -0
- package/procedurePython.d.ts +333 -0
- package/procedurePython.js +126 -0
- package/procedurePython.js.map +1 -0
- package/procedureScala.d.ts +345 -0
- package/procedureScala.js +128 -0
- package/procedureScala.js.map +1 -0
- package/procedureSql.d.ts +249 -0
- package/{procedure.js → procedureSql.js} +36 -32
- package/procedureSql.js.map +1 -0
- package/provider.d.ts +11 -182
- package/provider.js +10 -21
- package/provider.js.map +1 -1
- package/resourceMonitor.d.ts +7 -9
- package/resourceMonitor.js +1 -3
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.d.ts +9 -9
- package/saml2Integration.d.ts +4 -4
- package/saml2Integration.js +1 -1
- package/schema.d.ts +6 -8
- package/schema.js +0 -2
- package/schema.js.map +1 -1
- package/scimIntegration.d.ts +7 -7
- package/scimIntegration.js +1 -1
- package/secondaryConnection.d.ts +7 -7
- package/secondaryConnection.js +1 -1
- package/secondaryDatabase.d.ts +7 -7
- package/secondaryDatabase.js +1 -1
- package/secretWithAuthorizationCodeGrant.d.ts +12 -12
- package/secretWithBasicAuthentication.d.ts +9 -9
- package/secretWithClientCredentials.d.ts +12 -12
- package/secretWithGenericString.d.ts +9 -9
- package/serviceUser.d.ts +9 -9
- package/sharedDatabase.d.ts +7 -7
- package/sharedDatabase.js +1 -1
- package/streamOnDirectoryTable.d.ts +12 -21
- package/streamOnDirectoryTable.js.map +1 -1
- package/streamOnExternalTable.d.ts +12 -21
- package/streamOnExternalTable.js.map +1 -1
- package/streamOnTable.d.ts +12 -21
- package/streamOnTable.js.map +1 -1
- package/streamOnView.d.ts +12 -21
- package/streamOnView.js.map +1 -1
- package/streamlit.d.ts +18 -20
- package/streamlit.js +0 -2
- package/streamlit.js.map +1 -1
- package/tag.d.ts +12 -12
- package/tagAssociation.d.ts +11 -31
- package/tagAssociation.js +2 -4
- package/tagAssociation.js.map +1 -1
- package/task.d.ts +25 -27
- package/task.js +1 -3
- package/task.js.map +1 -1
- package/types/input.d.ts +828 -47
- package/types/output.d.ts +846 -94
- package/user.d.ts +9 -9
- package/view.d.ts +12 -21
- package/view.js.map +1 -1
- package/warehouse.d.ts +7 -7
- package/warehouse.js +1 -1
- package/databaseOld.d.ts +0 -147
- package/databaseOld.js +0 -70
- package/databaseOld.js.map +0 -1
- package/function.d.ts +0 -247
- package/function.js.map +0 -1
- package/getRole.d.ts +0 -66
- package/getRole.js +0 -50
- package/getRole.js.map +0 -1
- package/getRoles.d.ts +0 -61
- package/getRoles.js +0 -36
- package/getRoles.js.map +0 -1
- package/oauthIntegration.d.ts +0 -171
- package/oauthIntegration.js +0 -79
- package/oauthIntegration.js.map +0 -1
- package/procedure.d.ts +0 -253
- package/procedure.js.map +0 -1
- package/role.d.ts +0 -76
- package/role.js +0 -62
- package/role.js.map +0 -1
- package/samlIntegration.d.ts +0 -243
- package/samlIntegration.js +0 -104
- package/samlIntegration.js.map +0 -1
- package/sessionParameter.d.ts +0 -91
- package/sessionParameter.js +0 -68
- package/sessionParameter.js.map +0 -1
- package/stream.d.ts +0 -181
- package/stream.js +0 -86
- package/stream.js.map +0 -1
- package/tagMaskingPolicyAssociation.d.ts +0 -69
- package/tagMaskingPolicyAssociation.js +0 -66
- package/tagMaskingPolicyAssociation.js.map +0 -1
- package/unsafeExecute.js.map +0 -1
package/account.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* ## Import
|
|
4
6
|
*
|
|
5
7
|
* ```sh
|
|
6
|
-
* $ pulumi import snowflake:index/account:Account
|
|
8
|
+
* $ pulumi import snowflake:index/account:Account example '"<organization_name>"."<account_name>"'
|
|
7
9
|
* ```
|
|
8
10
|
*/
|
|
9
11
|
export declare class Account extends pulumi.CustomResource {
|
|
@@ -22,66 +24,50 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
22
24
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
25
|
*/
|
|
24
26
|
static isInstance(obj: any): obj is Account;
|
|
25
|
-
/**
|
|
26
|
-
* Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
|
|
27
|
-
*/
|
|
28
27
|
readonly adminName: pulumi.Output<string>;
|
|
29
|
-
/**
|
|
30
|
-
* Password for the initial administrative user of the account. Optional if the `ADMIN_RSA_PUBLIC_KEY` parameter is specified. For more information about passwords in Snowflake, see [Snowflake-provided Password Policy](https://docs.snowflake.com/en/sql-reference/sql/create-account.html#:~:text=Snowflake%2Dprovided%20Password%20Policy).
|
|
31
|
-
*/
|
|
32
28
|
readonly adminPassword: pulumi.Output<string | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
* Assigns a public key to the initial administrative user of the account in order to implement [key pair authentication](https://docs.snowflake.com/en/sql-reference/sql/create-account.html#:~:text=key%20pair%20authentication) for the user. Optional if the `ADMIN_PASSWORD` parameter is specified.
|
|
35
|
-
*/
|
|
36
29
|
readonly adminRsaPublicKey: pulumi.Output<string | undefined>;
|
|
30
|
+
readonly adminUserType: pulumi.Output<string | undefined>;
|
|
37
31
|
/**
|
|
38
32
|
* Specifies a comment for the account.
|
|
39
33
|
*/
|
|
40
34
|
readonly comment: pulumi.Output<string | undefined>;
|
|
41
35
|
/**
|
|
42
|
-
*
|
|
36
|
+
* Snowflake Edition of the account. See more about Snowflake Editions in the [official documentation](https://docs.snowflake.com/en/user-guide/intro-editions). Valid options are: `STANDARD` | `ENTERPRISE` | `BUSINESS_CRITICAL`
|
|
43
37
|
*/
|
|
44
38
|
readonly edition: pulumi.Output<string>;
|
|
45
|
-
/**
|
|
46
|
-
* Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
|
|
47
|
-
*/
|
|
48
39
|
readonly email: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* First name of the initial administrative user of the account
|
|
51
|
-
*/
|
|
52
40
|
readonly firstName: pulumi.Output<string | undefined>;
|
|
53
41
|
/**
|
|
54
42
|
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
55
43
|
*/
|
|
56
44
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
57
45
|
/**
|
|
58
|
-
* Specifies the number of days
|
|
59
|
-
*/
|
|
60
|
-
readonly gracePeriodInDays: pulumi.Output<number | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
|
|
46
|
+
* Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
|
|
63
47
|
*/
|
|
64
|
-
readonly
|
|
48
|
+
readonly gracePeriodInDays: pulumi.Output<number>;
|
|
65
49
|
/**
|
|
66
|
-
*
|
|
50
|
+
* Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
|
|
67
51
|
*/
|
|
52
|
+
readonly isOrgAdmin: pulumi.Output<string | undefined>;
|
|
68
53
|
readonly lastName: pulumi.Output<string | undefined>;
|
|
54
|
+
readonly mustChangePassword: pulumi.Output<string | undefined>;
|
|
69
55
|
/**
|
|
70
|
-
* Specifies
|
|
71
|
-
*/
|
|
72
|
-
readonly mustChangePassword: pulumi.Output<boolean | undefined>;
|
|
73
|
-
/**
|
|
74
|
-
* Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
|
|
56
|
+
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
|
|
75
57
|
*/
|
|
76
58
|
readonly name: pulumi.Output<string>;
|
|
77
59
|
/**
|
|
78
|
-
* ID of the
|
|
60
|
+
* [Snowflake Region ID](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#label-snowflake-region-ids) of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
|
|
79
61
|
*/
|
|
80
62
|
readonly region: pulumi.Output<string | undefined>;
|
|
81
63
|
/**
|
|
82
|
-
* ID of the
|
|
64
|
+
* ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the [SHOW REGIONS](https://docs.snowflake.com/en/sql-reference/sql/show-regions) command. For information about when you might need to specify region group, see [Region groups](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#label-region-groups).
|
|
83
65
|
*/
|
|
84
66
|
readonly regionGroup: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Outputs the result of `SHOW ACCOUNTS` for the given account.
|
|
69
|
+
*/
|
|
70
|
+
readonly showOutputs: pulumi.Output<outputs.AccountShowOutput[]>;
|
|
85
71
|
/**
|
|
86
72
|
* Create a Account resource with the given unique name, arguments, and options.
|
|
87
73
|
*
|
|
@@ -95,121 +81,89 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
95
81
|
* Input properties used for looking up and filtering Account resources.
|
|
96
82
|
*/
|
|
97
83
|
export interface AccountState {
|
|
98
|
-
/**
|
|
99
|
-
* Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
|
|
100
|
-
*/
|
|
101
84
|
adminName?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* Password for the initial administrative user of the account. Optional if the `ADMIN_RSA_PUBLIC_KEY` parameter is specified. For more information about passwords in Snowflake, see [Snowflake-provided Password Policy](https://docs.snowflake.com/en/sql-reference/sql/create-account.html#:~:text=Snowflake%2Dprovided%20Password%20Policy).
|
|
104
|
-
*/
|
|
105
85
|
adminPassword?: pulumi.Input<string>;
|
|
106
|
-
/**
|
|
107
|
-
* Assigns a public key to the initial administrative user of the account in order to implement [key pair authentication](https://docs.snowflake.com/en/sql-reference/sql/create-account.html#:~:text=key%20pair%20authentication) for the user. Optional if the `ADMIN_PASSWORD` parameter is specified.
|
|
108
|
-
*/
|
|
109
86
|
adminRsaPublicKey?: pulumi.Input<string>;
|
|
87
|
+
adminUserType?: pulumi.Input<string>;
|
|
110
88
|
/**
|
|
111
89
|
* Specifies a comment for the account.
|
|
112
90
|
*/
|
|
113
91
|
comment?: pulumi.Input<string>;
|
|
114
92
|
/**
|
|
115
|
-
*
|
|
93
|
+
* Snowflake Edition of the account. See more about Snowflake Editions in the [official documentation](https://docs.snowflake.com/en/user-guide/intro-editions). Valid options are: `STANDARD` | `ENTERPRISE` | `BUSINESS_CRITICAL`
|
|
116
94
|
*/
|
|
117
95
|
edition?: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
|
|
120
|
-
*/
|
|
121
96
|
email?: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* First name of the initial administrative user of the account
|
|
124
|
-
*/
|
|
125
97
|
firstName?: pulumi.Input<string>;
|
|
126
98
|
/**
|
|
127
99
|
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
128
100
|
*/
|
|
129
101
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
130
102
|
/**
|
|
131
|
-
* Specifies the number of days
|
|
103
|
+
* Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
|
|
132
104
|
*/
|
|
133
105
|
gracePeriodInDays?: pulumi.Input<number>;
|
|
134
106
|
/**
|
|
135
|
-
*
|
|
136
|
-
*/
|
|
137
|
-
isOrgAdmin?: pulumi.Input<boolean>;
|
|
138
|
-
/**
|
|
139
|
-
* Last name of the initial administrative user of the account
|
|
107
|
+
* Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
|
|
140
108
|
*/
|
|
109
|
+
isOrgAdmin?: pulumi.Input<string>;
|
|
141
110
|
lastName?: pulumi.Input<string>;
|
|
111
|
+
mustChangePassword?: pulumi.Input<string>;
|
|
142
112
|
/**
|
|
143
|
-
* Specifies
|
|
144
|
-
*/
|
|
145
|
-
mustChangePassword?: pulumi.Input<boolean>;
|
|
146
|
-
/**
|
|
147
|
-
* Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
|
|
113
|
+
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
|
|
148
114
|
*/
|
|
149
115
|
name?: pulumi.Input<string>;
|
|
150
116
|
/**
|
|
151
|
-
* ID of the
|
|
117
|
+
* [Snowflake Region ID](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#label-snowflake-region-ids) of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
|
|
152
118
|
*/
|
|
153
119
|
region?: pulumi.Input<string>;
|
|
154
120
|
/**
|
|
155
|
-
* ID of the
|
|
121
|
+
* ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the [SHOW REGIONS](https://docs.snowflake.com/en/sql-reference/sql/show-regions) command. For information about when you might need to specify region group, see [Region groups](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#label-region-groups).
|
|
156
122
|
*/
|
|
157
123
|
regionGroup?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Outputs the result of `SHOW ACCOUNTS` for the given account.
|
|
126
|
+
*/
|
|
127
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.AccountShowOutput>[]>;
|
|
158
128
|
}
|
|
159
129
|
/**
|
|
160
130
|
* The set of arguments for constructing a Account resource.
|
|
161
131
|
*/
|
|
162
132
|
export interface AccountArgs {
|
|
163
|
-
/**
|
|
164
|
-
* Login name of the initial administrative user of the account. A new user is created in the new account with this name and password and granted the ACCOUNTADMIN role in the account. A login name can be any string consisting of letters, numbers, and underscores. Login names are always case-insensitive.
|
|
165
|
-
*/
|
|
166
133
|
adminName: pulumi.Input<string>;
|
|
167
|
-
/**
|
|
168
|
-
* Password for the initial administrative user of the account. Optional if the `ADMIN_RSA_PUBLIC_KEY` parameter is specified. For more information about passwords in Snowflake, see [Snowflake-provided Password Policy](https://docs.snowflake.com/en/sql-reference/sql/create-account.html#:~:text=Snowflake%2Dprovided%20Password%20Policy).
|
|
169
|
-
*/
|
|
170
134
|
adminPassword?: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* Assigns a public key to the initial administrative user of the account in order to implement [key pair authentication](https://docs.snowflake.com/en/sql-reference/sql/create-account.html#:~:text=key%20pair%20authentication) for the user. Optional if the `ADMIN_PASSWORD` parameter is specified.
|
|
173
|
-
*/
|
|
174
135
|
adminRsaPublicKey?: pulumi.Input<string>;
|
|
136
|
+
adminUserType?: pulumi.Input<string>;
|
|
175
137
|
/**
|
|
176
138
|
* Specifies a comment for the account.
|
|
177
139
|
*/
|
|
178
140
|
comment?: pulumi.Input<string>;
|
|
179
141
|
/**
|
|
180
|
-
*
|
|
142
|
+
* Snowflake Edition of the account. See more about Snowflake Editions in the [official documentation](https://docs.snowflake.com/en/user-guide/intro-editions). Valid options are: `STANDARD` | `ENTERPRISE` | `BUSINESS_CRITICAL`
|
|
181
143
|
*/
|
|
182
144
|
edition: pulumi.Input<string>;
|
|
183
|
-
/**
|
|
184
|
-
* Email address of the initial administrative user of the account. This email address is used to send any notifications about the account.
|
|
185
|
-
*/
|
|
186
145
|
email: pulumi.Input<string>;
|
|
187
|
-
/**
|
|
188
|
-
* First name of the initial administrative user of the account
|
|
189
|
-
*/
|
|
190
146
|
firstName?: pulumi.Input<string>;
|
|
191
147
|
/**
|
|
192
|
-
* Specifies the number of days
|
|
148
|
+
* Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
|
|
193
149
|
*/
|
|
194
|
-
gracePeriodInDays
|
|
150
|
+
gracePeriodInDays: pulumi.Input<number>;
|
|
195
151
|
/**
|
|
196
|
-
*
|
|
152
|
+
* Sets an account property that determines whether the ORGADMIN role is enabled in the account. Only an organization administrator (i.e. user with the ORGADMIN role) can set the property.
|
|
197
153
|
*/
|
|
154
|
+
isOrgAdmin?: pulumi.Input<string>;
|
|
198
155
|
lastName?: pulumi.Input<string>;
|
|
156
|
+
mustChangePassword?: pulumi.Input<string>;
|
|
199
157
|
/**
|
|
200
|
-
* Specifies
|
|
201
|
-
*/
|
|
202
|
-
mustChangePassword?: pulumi.Input<boolean>;
|
|
203
|
-
/**
|
|
204
|
-
* Specifies the identifier (i.e. name) for the account; must be unique within an organization, regardless of which Snowflake Region the account is in. In addition, the identifier must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
|
|
158
|
+
* Specifies the identifier (i.e. name) for the account. It must be unique within an organization, regardless of which Snowflake Region the account is in and must start with an alphabetic character and cannot contain spaces or special characters except for underscores (_). Note that if the account name includes underscores, features that do not accept account names with underscores (e.g. Okta SSO or SCIM) can reference a version of the account name that substitutes hyphens (-) for the underscores.
|
|
205
159
|
*/
|
|
206
160
|
name?: pulumi.Input<string>;
|
|
207
161
|
/**
|
|
208
|
-
* ID of the
|
|
162
|
+
* [Snowflake Region ID](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#label-snowflake-region-ids) of the region where the account is created. If no value is provided, Snowflake creates the account in the same Snowflake Region as the current account (i.e. the account in which the CREATE ACCOUNT statement is executed.)
|
|
209
163
|
*/
|
|
210
164
|
region?: pulumi.Input<string>;
|
|
211
165
|
/**
|
|
212
|
-
* ID of the
|
|
166
|
+
* ID of the region group where the account is created. To retrieve the region group ID for existing accounts in your organization, execute the [SHOW REGIONS](https://docs.snowflake.com/en/sql-reference/sql/show-regions) command. For information about when you might need to specify region group, see [Region groups](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#label-region-groups).
|
|
213
167
|
*/
|
|
214
168
|
regionGroup?: pulumi.Input<string>;
|
|
215
169
|
}
|
package/account.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/account:Account
|
|
12
|
+
* $ pulumi import snowflake:index/account:Account example '"<organization_name>"."<account_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class Account extends pulumi.CustomResource {
|
|
@@ -43,6 +43,7 @@ class Account extends pulumi.CustomResource {
|
|
|
43
43
|
resourceInputs["adminName"] = state ? state.adminName : undefined;
|
|
44
44
|
resourceInputs["adminPassword"] = state ? state.adminPassword : undefined;
|
|
45
45
|
resourceInputs["adminRsaPublicKey"] = state ? state.adminRsaPublicKey : undefined;
|
|
46
|
+
resourceInputs["adminUserType"] = state ? state.adminUserType : undefined;
|
|
46
47
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
47
48
|
resourceInputs["edition"] = state ? state.edition : undefined;
|
|
48
49
|
resourceInputs["email"] = state ? state.email : undefined;
|
|
@@ -55,6 +56,7 @@ class Account extends pulumi.CustomResource {
|
|
|
55
56
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
56
57
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
57
58
|
resourceInputs["regionGroup"] = state ? state.regionGroup : undefined;
|
|
59
|
+
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
58
60
|
}
|
|
59
61
|
else {
|
|
60
62
|
const args = argsOrState;
|
|
@@ -67,24 +69,29 @@ class Account extends pulumi.CustomResource {
|
|
|
67
69
|
if ((!args || args.email === undefined) && !opts.urn) {
|
|
68
70
|
throw new Error("Missing required property 'email'");
|
|
69
71
|
}
|
|
70
|
-
|
|
72
|
+
if ((!args || args.gracePeriodInDays === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'gracePeriodInDays'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["adminName"] = (args === null || args === void 0 ? void 0 : args.adminName) ? pulumi.secret(args.adminName) : undefined;
|
|
71
76
|
resourceInputs["adminPassword"] = (args === null || args === void 0 ? void 0 : args.adminPassword) ? pulumi.secret(args.adminPassword) : undefined;
|
|
72
|
-
resourceInputs["adminRsaPublicKey"] =
|
|
77
|
+
resourceInputs["adminRsaPublicKey"] = args ? args.adminRsaPublicKey : undefined;
|
|
78
|
+
resourceInputs["adminUserType"] = args ? args.adminUserType : undefined;
|
|
73
79
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
74
80
|
resourceInputs["edition"] = args ? args.edition : undefined;
|
|
75
81
|
resourceInputs["email"] = (args === null || args === void 0 ? void 0 : args.email) ? pulumi.secret(args.email) : undefined;
|
|
76
82
|
resourceInputs["firstName"] = (args === null || args === void 0 ? void 0 : args.firstName) ? pulumi.secret(args.firstName) : undefined;
|
|
77
83
|
resourceInputs["gracePeriodInDays"] = args ? args.gracePeriodInDays : undefined;
|
|
84
|
+
resourceInputs["isOrgAdmin"] = args ? args.isOrgAdmin : undefined;
|
|
78
85
|
resourceInputs["lastName"] = (args === null || args === void 0 ? void 0 : args.lastName) ? pulumi.secret(args.lastName) : undefined;
|
|
79
86
|
resourceInputs["mustChangePassword"] = args ? args.mustChangePassword : undefined;
|
|
80
87
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
81
88
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
82
89
|
resourceInputs["regionGroup"] = args ? args.regionGroup : undefined;
|
|
83
90
|
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
84
|
-
resourceInputs["
|
|
91
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
85
92
|
}
|
|
86
93
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
-
const secretOpts = { additionalSecretOutputs: ["
|
|
94
|
+
const secretOpts = { additionalSecretOutputs: ["adminName", "adminPassword", "email", "firstName", "lastName"] };
|
|
88
95
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
89
96
|
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
90
97
|
}
|
package/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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AC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC;QACjH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA3IL,0BA4IC;AA9HG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
package/accountParameter.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* ## Import
|
|
4
4
|
*
|
|
5
5
|
* ```sh
|
|
6
|
-
* $ pulumi import snowflake:index/accountParameter:AccountParameter p <parameter_name>
|
|
6
|
+
* $ pulumi import snowflake:index/accountParameter:AccountParameter p '<parameter_name>'
|
|
7
7
|
* ```
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccountParameter extends pulumi.CustomResource {
|
|
@@ -23,11 +23,11 @@ export declare class AccountParameter extends pulumi.CustomResource {
|
|
|
23
23
|
*/
|
|
24
24
|
static isInstance(obj: any): obj is AccountParameter;
|
|
25
25
|
/**
|
|
26
|
-
* Name of account parameter. Valid values are
|
|
26
|
+
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR`.
|
|
27
27
|
*/
|
|
28
28
|
readonly key: pulumi.Output<string>;
|
|
29
29
|
/**
|
|
30
|
-
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
30
|
+
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. The parameter values are validated in Snowflake.
|
|
31
31
|
*/
|
|
32
32
|
readonly value: pulumi.Output<string>;
|
|
33
33
|
/**
|
|
@@ -44,11 +44,11 @@ export declare class AccountParameter extends pulumi.CustomResource {
|
|
|
44
44
|
*/
|
|
45
45
|
export interface AccountParameterState {
|
|
46
46
|
/**
|
|
47
|
-
* Name of account parameter. Valid values are
|
|
47
|
+
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR`.
|
|
48
48
|
*/
|
|
49
49
|
key?: pulumi.Input<string>;
|
|
50
50
|
/**
|
|
51
|
-
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
51
|
+
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. The parameter values are validated in Snowflake.
|
|
52
52
|
*/
|
|
53
53
|
value?: pulumi.Input<string>;
|
|
54
54
|
}
|
|
@@ -57,11 +57,11 @@ export interface AccountParameterState {
|
|
|
57
57
|
*/
|
|
58
58
|
export interface AccountParameterArgs {
|
|
59
59
|
/**
|
|
60
|
-
* Name of account parameter. Valid values are
|
|
60
|
+
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR`.
|
|
61
61
|
*/
|
|
62
62
|
key: pulumi.Input<string>;
|
|
63
63
|
/**
|
|
64
|
-
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation.
|
|
64
|
+
* Value of account parameter, as a string. Constraints are the same as those for the parameters in Snowflake documentation. The parameter values are validated in Snowflake.
|
|
65
65
|
*/
|
|
66
66
|
value: pulumi.Input<string>;
|
|
67
67
|
}
|
package/accountParameter.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/accountParameter:AccountParameter p <parameter_name>
|
|
12
|
+
* $ pulumi import snowflake:index/accountParameter:AccountParameter p '<parameter_name>'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class AccountParameter extends pulumi.CustomResource {
|
package/accountRole.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/accountRole:AccountRole example "
|
|
8
|
+
* $ pulumi import snowflake:index/accountRole:AccountRole example '"<account_role_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class AccountRole extends pulumi.CustomResource {
|
|
@@ -30,7 +30,7 @@ export declare class AccountRole extends pulumi.CustomResource {
|
|
|
30
30
|
*/
|
|
31
31
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
32
32
|
/**
|
|
33
|
-
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
33
|
+
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
34
34
|
*/
|
|
35
35
|
readonly name: pulumi.Output<string>;
|
|
36
36
|
/**
|
|
@@ -56,7 +56,7 @@ export interface AccountRoleState {
|
|
|
56
56
|
*/
|
|
57
57
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
58
58
|
/**
|
|
59
|
-
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
59
|
+
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
60
60
|
*/
|
|
61
61
|
name?: pulumi.Input<string>;
|
|
62
62
|
/**
|
|
@@ -70,7 +70,7 @@ export interface AccountRoleState {
|
|
|
70
70
|
export interface AccountRoleArgs {
|
|
71
71
|
comment?: pulumi.Input<string>;
|
|
72
72
|
/**
|
|
73
|
-
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
73
|
+
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
74
74
|
*/
|
|
75
75
|
name?: pulumi.Input<string>;
|
|
76
76
|
}
|
package/accountRole.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/accountRole:AccountRole example "
|
|
12
|
+
* $ pulumi import snowflake:index/accountRole:AccountRole example '"<account_role_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class AccountRole extends pulumi.CustomResource {
|
|
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
7
|
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithAuthorizationCodeGrant:ApiAuthenticationIntegrationWithAuthorizationCodeGrant example "
|
|
8
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithAuthorizationCodeGrant:ApiAuthenticationIntegrationWithAuthorizationCodeGrant example '"<integration_name>"'
|
|
9
9
|
* ```
|
|
10
10
|
*/
|
|
11
11
|
export declare class ApiAuthenticationIntegrationWithAuthorizationCodeGrant extends pulumi.CustomResource {
|
|
@@ -41,7 +41,7 @@ export declare class ApiAuthenticationIntegrationWithAuthorizationCodeGrant exte
|
|
|
41
41
|
*/
|
|
42
42
|
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
44
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
45
45
|
*/
|
|
46
46
|
readonly name: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
@@ -64,9 +64,6 @@ export declare class ApiAuthenticationIntegrationWithAuthorizationCodeGrant exte
|
|
|
64
64
|
* Specifies the client ID for the OAuth application in the external service.
|
|
65
65
|
*/
|
|
66
66
|
readonly oauthClientId: pulumi.Output<string>;
|
|
67
|
-
/**
|
|
68
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
69
|
-
*/
|
|
70
67
|
readonly oauthClientSecret: pulumi.Output<string>;
|
|
71
68
|
/**
|
|
72
69
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -110,7 +107,7 @@ export interface ApiAuthenticationIntegrationWithAuthorizationCodeGrantState {
|
|
|
110
107
|
*/
|
|
111
108
|
fullyQualifiedName?: pulumi.Input<string>;
|
|
112
109
|
/**
|
|
113
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
110
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
114
111
|
*/
|
|
115
112
|
name?: pulumi.Input<string>;
|
|
116
113
|
/**
|
|
@@ -133,9 +130,6 @@ export interface ApiAuthenticationIntegrationWithAuthorizationCodeGrantState {
|
|
|
133
130
|
* Specifies the client ID for the OAuth application in the external service.
|
|
134
131
|
*/
|
|
135
132
|
oauthClientId?: pulumi.Input<string>;
|
|
136
|
-
/**
|
|
137
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
138
|
-
*/
|
|
139
133
|
oauthClientSecret?: pulumi.Input<string>;
|
|
140
134
|
/**
|
|
141
135
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -163,7 +157,7 @@ export interface ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs {
|
|
|
163
157
|
*/
|
|
164
158
|
enabled: pulumi.Input<boolean>;
|
|
165
159
|
/**
|
|
166
|
-
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"
|
|
160
|
+
* Specifies the identifier (i.e. name) for the integration. This value must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
167
161
|
*/
|
|
168
162
|
name?: pulumi.Input<string>;
|
|
169
163
|
/**
|
|
@@ -186,9 +180,6 @@ export interface ApiAuthenticationIntegrationWithAuthorizationCodeGrantArgs {
|
|
|
186
180
|
* Specifies the client ID for the OAuth application in the external service.
|
|
187
181
|
*/
|
|
188
182
|
oauthClientId: pulumi.Input<string>;
|
|
189
|
-
/**
|
|
190
|
-
* Specifies the client secret for the OAuth application in the ServiceNow instance from the previous step. The connector uses this to request an access token from the ServiceNow instance.
|
|
191
|
-
*/
|
|
192
183
|
oauthClientSecret: pulumi.Input<string>;
|
|
193
184
|
/**
|
|
194
185
|
* Specifies the value to determine the validity of the refresh token obtained from the OAuth server.
|
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
11
|
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithAuthorizationCodeGrant:ApiAuthenticationIntegrationWithAuthorizationCodeGrant example "
|
|
12
|
+
* $ pulumi import snowflake:index/apiAuthenticationIntegrationWithAuthorizationCodeGrant:ApiAuthenticationIntegrationWithAuthorizationCodeGrant example '"<integration_name>"'
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
class ApiAuthenticationIntegrationWithAuthorizationCodeGrant extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiAuthenticationIntegrationWithAuthorizationCodeGrant.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithAuthorizationCodeGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,sDAAuD,SAAQ,MAAM,CAAC,cAAc;IAC7F;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmE,EAAE,IAAmC;QACjK,OAAO,IAAI,sDAAsD,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7G,CAAC;IAKD;;;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,sDAAsD,CAAC,YAAY,CAAC;IACvG,CAAC;
|
|
1
|
+
{"version":3,"file":"apiAuthenticationIntegrationWithAuthorizationCodeGrant.js","sourceRoot":"","sources":["../apiAuthenticationIntegrationWithAuthorizationCodeGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,sDAAuD,SAAQ,MAAM,CAAC,cAAc;IAC7F;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmE,EAAE,IAAmC;QACjK,OAAO,IAAI,sDAAsD,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7G,CAAC;IAKD;;;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,sDAAsD,CAAC,YAAY,CAAC;IACvG,CAAC;IAgED,YAAY,IAAY,EAAE,WAAsI,EAAE,IAAmC;QACjM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsF,CAAC;YACrG,c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