@pulumi/snowflake 0.63.0-alpha.1734439451 → 1.0.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/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/oauthIntegration.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.OauthIntegration = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/oauthIntegration:OauthIntegration example name
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
class OauthIntegration extends pulumi.CustomResource {
|
|
16
|
-
/**
|
|
17
|
-
* Get an existing OauthIntegration resource's state with the given name, ID, and optional extra
|
|
18
|
-
* properties used to qualify the lookup.
|
|
19
|
-
*
|
|
20
|
-
* @param name The _unique_ name of the resulting resource.
|
|
21
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
-
* @param state Any extra arguments used during the lookup.
|
|
23
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
-
*/
|
|
25
|
-
static get(name, id, state, opts) {
|
|
26
|
-
return new OauthIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the given object is an instance of OauthIntegration. This is designed to work even
|
|
30
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
-
*/
|
|
32
|
-
static isInstance(obj) {
|
|
33
|
-
if (obj === undefined || obj === null) {
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
return obj['__pulumiType'] === OauthIntegration.__pulumiType;
|
|
37
|
-
}
|
|
38
|
-
constructor(name, argsOrState, opts) {
|
|
39
|
-
let resourceInputs = {};
|
|
40
|
-
opts = opts || {};
|
|
41
|
-
if (opts.id) {
|
|
42
|
-
const state = argsOrState;
|
|
43
|
-
resourceInputs["blockedRolesLists"] = state ? state.blockedRolesLists : undefined;
|
|
44
|
-
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
45
|
-
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
46
|
-
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
47
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
48
|
-
resourceInputs["oauthClient"] = state ? state.oauthClient : undefined;
|
|
49
|
-
resourceInputs["oauthClientType"] = state ? state.oauthClientType : undefined;
|
|
50
|
-
resourceInputs["oauthIssueRefreshTokens"] = state ? state.oauthIssueRefreshTokens : undefined;
|
|
51
|
-
resourceInputs["oauthRedirectUri"] = state ? state.oauthRedirectUri : undefined;
|
|
52
|
-
resourceInputs["oauthRefreshTokenValidity"] = state ? state.oauthRefreshTokenValidity : undefined;
|
|
53
|
-
resourceInputs["oauthUseSecondaryRoles"] = state ? state.oauthUseSecondaryRoles : undefined;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
const args = argsOrState;
|
|
57
|
-
if ((!args || args.oauthClient === undefined) && !opts.urn) {
|
|
58
|
-
throw new Error("Missing required property 'oauthClient'");
|
|
59
|
-
}
|
|
60
|
-
resourceInputs["blockedRolesLists"] = args ? args.blockedRolesLists : undefined;
|
|
61
|
-
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
62
|
-
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
63
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
-
resourceInputs["oauthClient"] = args ? args.oauthClient : undefined;
|
|
65
|
-
resourceInputs["oauthClientType"] = args ? args.oauthClientType : undefined;
|
|
66
|
-
resourceInputs["oauthIssueRefreshTokens"] = args ? args.oauthIssueRefreshTokens : undefined;
|
|
67
|
-
resourceInputs["oauthRedirectUri"] = args ? args.oauthRedirectUri : undefined;
|
|
68
|
-
resourceInputs["oauthRefreshTokenValidity"] = args ? args.oauthRefreshTokenValidity : undefined;
|
|
69
|
-
resourceInputs["oauthUseSecondaryRoles"] = args ? args.oauthUseSecondaryRoles : undefined;
|
|
70
|
-
resourceInputs["createdOn"] = undefined /*out*/;
|
|
71
|
-
}
|
|
72
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
-
super(OauthIntegration.__pulumiType, name, resourceInputs, opts);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
exports.OauthIntegration = OauthIntegration;
|
|
77
|
-
/** @internal */
|
|
78
|
-
OauthIntegration.__pulumiType = 'snowflake:index/oauthIntegration:OauthIntegration';
|
|
79
|
-
//# sourceMappingURL=oauthIntegration.js.map
|
package/oauthIntegration.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauthIntegration.js","sourceRoot":"","sources":["../oauthIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuDD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,S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,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AApHL,4CAqHC;AAvGG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
package/procedure.d.ts
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* ## Import
|
|
6
|
-
*
|
|
7
|
-
* format is <database_name>.<schema_name>.<procedure_name>(<arg types, separated with ','>)
|
|
8
|
-
*
|
|
9
|
-
* ```sh
|
|
10
|
-
* $ pulumi import snowflake:index/procedure:Procedure example 'dbName.schemaName.procedureName(varchar, varchar, varchar)'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
export declare class Procedure extends pulumi.CustomResource {
|
|
14
|
-
/**
|
|
15
|
-
* Get an existing Procedure resource's state with the given name, ID, and optional extra
|
|
16
|
-
* properties used to qualify the lookup.
|
|
17
|
-
*
|
|
18
|
-
* @param name The _unique_ name of the resulting resource.
|
|
19
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
-
* @param state Any extra arguments used during the lookup.
|
|
21
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
-
*/
|
|
23
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProcedureState, opts?: pulumi.CustomResourceOptions): Procedure;
|
|
24
|
-
/**
|
|
25
|
-
* Returns true if the given object is an instance of Procedure. This is designed to work even
|
|
26
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
-
*/
|
|
28
|
-
static isInstance(obj: any): obj is Procedure;
|
|
29
|
-
/**
|
|
30
|
-
* List of the arguments for the procedure
|
|
31
|
-
*/
|
|
32
|
-
readonly arguments: pulumi.Output<outputs.ProcedureArgument[] | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
* Specifies a comment for the procedure.
|
|
35
|
-
*/
|
|
36
|
-
readonly comment: pulumi.Output<string | undefined>;
|
|
37
|
-
/**
|
|
38
|
-
* The database in which to create the procedure. Don't use the | character.
|
|
39
|
-
*/
|
|
40
|
-
readonly database: pulumi.Output<string>;
|
|
41
|
-
/**
|
|
42
|
-
* Sets execution context. Allowed values are CALLER and OWNER (consult a proper section in the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#id1)). For more information see [caller's rights and owner's rights](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights).
|
|
43
|
-
*/
|
|
44
|
-
readonly executeAs: pulumi.Output<string | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
47
|
-
*/
|
|
48
|
-
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
49
|
-
/**
|
|
50
|
-
* The handler method for Java / Python procedures.
|
|
51
|
-
*/
|
|
52
|
-
readonly handler: pulumi.Output<string | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* Imports for Java / Python procedures. For Java this a list of jar files, for Python this is a list of Python files.
|
|
55
|
-
*/
|
|
56
|
-
readonly imports: pulumi.Output<string[] | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* Specifies the language of the stored procedure code.
|
|
59
|
-
*/
|
|
60
|
-
readonly language: pulumi.Output<string | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* Specifies the identifier for the procedure; does not have to be unique for the schema in which the procedure is created. Don't use the | character.
|
|
63
|
-
*/
|
|
64
|
-
readonly name: pulumi.Output<string>;
|
|
65
|
-
/**
|
|
66
|
-
* Specifies the behavior of the procedure when called with null inputs.
|
|
67
|
-
*/
|
|
68
|
-
readonly nullInputBehavior: pulumi.Output<string | undefined>;
|
|
69
|
-
/**
|
|
70
|
-
* List of package imports to use for Java / Python procedures. For Java, package imports should be of the form: package*name:version*number, where package*name is snowflake*domain:package. For Python use it should be: ('numpy','pandas','xgboost==1.5.0').
|
|
71
|
-
*/
|
|
72
|
-
readonly packages: pulumi.Output<string[] | undefined>;
|
|
73
|
-
/**
|
|
74
|
-
* Specifies the behavior of the function when returning results
|
|
75
|
-
*
|
|
76
|
-
* @deprecated These keywords are deprecated for stored procedures. These keywords are not intended to apply to stored procedures. In a future release, these keywords will be removed from the documentation.
|
|
77
|
-
*/
|
|
78
|
-
readonly returnBehavior: pulumi.Output<string | undefined>;
|
|
79
|
-
/**
|
|
80
|
-
* The return type of the procedure
|
|
81
|
-
*/
|
|
82
|
-
readonly returnType: pulumi.Output<string>;
|
|
83
|
-
/**
|
|
84
|
-
* Required for Python procedures. Specifies Python runtime version.
|
|
85
|
-
*/
|
|
86
|
-
readonly runtimeVersion: pulumi.Output<string | undefined>;
|
|
87
|
-
/**
|
|
88
|
-
* The schema in which to create the procedure. Don't use the | character.
|
|
89
|
-
*/
|
|
90
|
-
readonly schema: pulumi.Output<string>;
|
|
91
|
-
/**
|
|
92
|
-
* Specifies that the procedure is secure. For more information about secure procedures, see Protecting Sensitive Information with Secure UDFs and Stored Procedures.
|
|
93
|
-
*/
|
|
94
|
-
readonly secure: pulumi.Output<boolean | undefined>;
|
|
95
|
-
/**
|
|
96
|
-
* Specifies the code used to create the procedure.
|
|
97
|
-
*/
|
|
98
|
-
readonly statement: pulumi.Output<string>;
|
|
99
|
-
/**
|
|
100
|
-
* Create a Procedure resource with the given unique name, arguments, and options.
|
|
101
|
-
*
|
|
102
|
-
* @param name The _unique_ name of the resource.
|
|
103
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
104
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
105
|
-
*/
|
|
106
|
-
constructor(name: string, args: ProcedureArgs, opts?: pulumi.CustomResourceOptions);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Input properties used for looking up and filtering Procedure resources.
|
|
110
|
-
*/
|
|
111
|
-
export interface ProcedureState {
|
|
112
|
-
/**
|
|
113
|
-
* List of the arguments for the procedure
|
|
114
|
-
*/
|
|
115
|
-
arguments?: pulumi.Input<pulumi.Input<inputs.ProcedureArgument>[]>;
|
|
116
|
-
/**
|
|
117
|
-
* Specifies a comment for the procedure.
|
|
118
|
-
*/
|
|
119
|
-
comment?: pulumi.Input<string>;
|
|
120
|
-
/**
|
|
121
|
-
* The database in which to create the procedure. Don't use the | character.
|
|
122
|
-
*/
|
|
123
|
-
database?: pulumi.Input<string>;
|
|
124
|
-
/**
|
|
125
|
-
* Sets execution context. Allowed values are CALLER and OWNER (consult a proper section in the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#id1)). For more information see [caller's rights and owner's rights](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights).
|
|
126
|
-
*/
|
|
127
|
-
executeAs?: pulumi.Input<string>;
|
|
128
|
-
/**
|
|
129
|
-
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
130
|
-
*/
|
|
131
|
-
fullyQualifiedName?: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* The handler method for Java / Python procedures.
|
|
134
|
-
*/
|
|
135
|
-
handler?: pulumi.Input<string>;
|
|
136
|
-
/**
|
|
137
|
-
* Imports for Java / Python procedures. For Java this a list of jar files, for Python this is a list of Python files.
|
|
138
|
-
*/
|
|
139
|
-
imports?: pulumi.Input<pulumi.Input<string>[]>;
|
|
140
|
-
/**
|
|
141
|
-
* Specifies the language of the stored procedure code.
|
|
142
|
-
*/
|
|
143
|
-
language?: pulumi.Input<string>;
|
|
144
|
-
/**
|
|
145
|
-
* Specifies the identifier for the procedure; does not have to be unique for the schema in which the procedure is created. Don't use the | character.
|
|
146
|
-
*/
|
|
147
|
-
name?: pulumi.Input<string>;
|
|
148
|
-
/**
|
|
149
|
-
* Specifies the behavior of the procedure when called with null inputs.
|
|
150
|
-
*/
|
|
151
|
-
nullInputBehavior?: pulumi.Input<string>;
|
|
152
|
-
/**
|
|
153
|
-
* List of package imports to use for Java / Python procedures. For Java, package imports should be of the form: package*name:version*number, where package*name is snowflake*domain:package. For Python use it should be: ('numpy','pandas','xgboost==1.5.0').
|
|
154
|
-
*/
|
|
155
|
-
packages?: pulumi.Input<pulumi.Input<string>[]>;
|
|
156
|
-
/**
|
|
157
|
-
* Specifies the behavior of the function when returning results
|
|
158
|
-
*
|
|
159
|
-
* @deprecated These keywords are deprecated for stored procedures. These keywords are not intended to apply to stored procedures. In a future release, these keywords will be removed from the documentation.
|
|
160
|
-
*/
|
|
161
|
-
returnBehavior?: pulumi.Input<string>;
|
|
162
|
-
/**
|
|
163
|
-
* The return type of the procedure
|
|
164
|
-
*/
|
|
165
|
-
returnType?: pulumi.Input<string>;
|
|
166
|
-
/**
|
|
167
|
-
* Required for Python procedures. Specifies Python runtime version.
|
|
168
|
-
*/
|
|
169
|
-
runtimeVersion?: pulumi.Input<string>;
|
|
170
|
-
/**
|
|
171
|
-
* The schema in which to create the procedure. Don't use the | character.
|
|
172
|
-
*/
|
|
173
|
-
schema?: pulumi.Input<string>;
|
|
174
|
-
/**
|
|
175
|
-
* Specifies that the procedure is secure. For more information about secure procedures, see Protecting Sensitive Information with Secure UDFs and Stored Procedures.
|
|
176
|
-
*/
|
|
177
|
-
secure?: pulumi.Input<boolean>;
|
|
178
|
-
/**
|
|
179
|
-
* Specifies the code used to create the procedure.
|
|
180
|
-
*/
|
|
181
|
-
statement?: pulumi.Input<string>;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The set of arguments for constructing a Procedure resource.
|
|
185
|
-
*/
|
|
186
|
-
export interface ProcedureArgs {
|
|
187
|
-
/**
|
|
188
|
-
* List of the arguments for the procedure
|
|
189
|
-
*/
|
|
190
|
-
arguments?: pulumi.Input<pulumi.Input<inputs.ProcedureArgument>[]>;
|
|
191
|
-
/**
|
|
192
|
-
* Specifies a comment for the procedure.
|
|
193
|
-
*/
|
|
194
|
-
comment?: pulumi.Input<string>;
|
|
195
|
-
/**
|
|
196
|
-
* The database in which to create the procedure. Don't use the | character.
|
|
197
|
-
*/
|
|
198
|
-
database: pulumi.Input<string>;
|
|
199
|
-
/**
|
|
200
|
-
* Sets execution context. Allowed values are CALLER and OWNER (consult a proper section in the [docs](https://docs.snowflake.com/en/sql-reference/sql/create-procedure#id1)). For more information see [caller's rights and owner's rights](https://docs.snowflake.com/en/developer-guide/stored-procedure/stored-procedures-rights).
|
|
201
|
-
*/
|
|
202
|
-
executeAs?: pulumi.Input<string>;
|
|
203
|
-
/**
|
|
204
|
-
* The handler method for Java / Python procedures.
|
|
205
|
-
*/
|
|
206
|
-
handler?: pulumi.Input<string>;
|
|
207
|
-
/**
|
|
208
|
-
* Imports for Java / Python procedures. For Java this a list of jar files, for Python this is a list of Python files.
|
|
209
|
-
*/
|
|
210
|
-
imports?: pulumi.Input<pulumi.Input<string>[]>;
|
|
211
|
-
/**
|
|
212
|
-
* Specifies the language of the stored procedure code.
|
|
213
|
-
*/
|
|
214
|
-
language?: pulumi.Input<string>;
|
|
215
|
-
/**
|
|
216
|
-
* Specifies the identifier for the procedure; does not have to be unique for the schema in which the procedure is created. Don't use the | character.
|
|
217
|
-
*/
|
|
218
|
-
name?: pulumi.Input<string>;
|
|
219
|
-
/**
|
|
220
|
-
* Specifies the behavior of the procedure when called with null inputs.
|
|
221
|
-
*/
|
|
222
|
-
nullInputBehavior?: pulumi.Input<string>;
|
|
223
|
-
/**
|
|
224
|
-
* List of package imports to use for Java / Python procedures. For Java, package imports should be of the form: package*name:version*number, where package*name is snowflake*domain:package. For Python use it should be: ('numpy','pandas','xgboost==1.5.0').
|
|
225
|
-
*/
|
|
226
|
-
packages?: pulumi.Input<pulumi.Input<string>[]>;
|
|
227
|
-
/**
|
|
228
|
-
* Specifies the behavior of the function when returning results
|
|
229
|
-
*
|
|
230
|
-
* @deprecated These keywords are deprecated for stored procedures. These keywords are not intended to apply to stored procedures. In a future release, these keywords will be removed from the documentation.
|
|
231
|
-
*/
|
|
232
|
-
returnBehavior?: pulumi.Input<string>;
|
|
233
|
-
/**
|
|
234
|
-
* The return type of the procedure
|
|
235
|
-
*/
|
|
236
|
-
returnType: pulumi.Input<string>;
|
|
237
|
-
/**
|
|
238
|
-
* Required for Python procedures. Specifies Python runtime version.
|
|
239
|
-
*/
|
|
240
|
-
runtimeVersion?: pulumi.Input<string>;
|
|
241
|
-
/**
|
|
242
|
-
* The schema in which to create the procedure. Don't use the | character.
|
|
243
|
-
*/
|
|
244
|
-
schema: pulumi.Input<string>;
|
|
245
|
-
/**
|
|
246
|
-
* Specifies that the procedure is secure. For more information about secure procedures, see Protecting Sensitive Information with Secure UDFs and Stored Procedures.
|
|
247
|
-
*/
|
|
248
|
-
secure?: pulumi.Input<boolean>;
|
|
249
|
-
/**
|
|
250
|
-
* Specifies the code used to create the procedure.
|
|
251
|
-
*/
|
|
252
|
-
statement: pulumi.Input<string>;
|
|
253
|
-
}
|
package/procedure.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"procedure.js","sourceRoot":"","sources":["../procedure.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QA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EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAnKL,8BAoKC;AAtJG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
|
package/role.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* ## Import
|
|
6
|
-
*
|
|
7
|
-
* ```sh
|
|
8
|
-
* $ pulumi import snowflake:index/role:Role example "name"
|
|
9
|
-
* ```
|
|
10
|
-
*/
|
|
11
|
-
export declare class Role extends pulumi.CustomResource {
|
|
12
|
-
/**
|
|
13
|
-
* Get an existing Role resource's state with the given name, ID, and optional extra
|
|
14
|
-
* properties used to qualify the lookup.
|
|
15
|
-
*
|
|
16
|
-
* @param name The _unique_ name of the resulting resource.
|
|
17
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
-
* @param state Any extra arguments used during the lookup.
|
|
19
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
-
*/
|
|
21
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoleState, opts?: pulumi.CustomResourceOptions): Role;
|
|
22
|
-
/**
|
|
23
|
-
* Returns true if the given object is an instance of Role. This is designed to work even
|
|
24
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
-
*/
|
|
26
|
-
static isInstance(obj: any): obj is Role;
|
|
27
|
-
readonly comment: pulumi.Output<string | undefined>;
|
|
28
|
-
/**
|
|
29
|
-
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
30
|
-
*/
|
|
31
|
-
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
32
|
-
/**
|
|
33
|
-
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
34
|
-
*/
|
|
35
|
-
readonly name: pulumi.Output<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Outputs the result of `SHOW ROLES` for the given role.
|
|
38
|
-
*/
|
|
39
|
-
readonly showOutputs: pulumi.Output<outputs.RoleShowOutput[]>;
|
|
40
|
-
/**
|
|
41
|
-
* Create a Role resource with the given unique name, arguments, and options.
|
|
42
|
-
*
|
|
43
|
-
* @param name The _unique_ name of the resource.
|
|
44
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
-
*/
|
|
47
|
-
constructor(name: string, args?: RoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Input properties used for looking up and filtering Role resources.
|
|
51
|
-
*/
|
|
52
|
-
export interface RoleState {
|
|
53
|
-
comment?: pulumi.Input<string>;
|
|
54
|
-
/**
|
|
55
|
-
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
56
|
-
*/
|
|
57
|
-
fullyQualifiedName?: pulumi.Input<string>;
|
|
58
|
-
/**
|
|
59
|
-
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
60
|
-
*/
|
|
61
|
-
name?: pulumi.Input<string>;
|
|
62
|
-
/**
|
|
63
|
-
* Outputs the result of `SHOW ROLES` for the given role.
|
|
64
|
-
*/
|
|
65
|
-
showOutputs?: pulumi.Input<pulumi.Input<inputs.RoleShowOutput>[]>;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* The set of arguments for constructing a Role resource.
|
|
69
|
-
*/
|
|
70
|
-
export interface RoleArgs {
|
|
71
|
-
comment?: pulumi.Input<string>;
|
|
72
|
-
/**
|
|
73
|
-
* Identifier for the role; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
|
|
74
|
-
*/
|
|
75
|
-
name?: pulumi.Input<string>;
|
|
76
|
-
}
|
package/role.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Role = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Import
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import snowflake:index/role:Role example "name"
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
class Role extends pulumi.CustomResource {
|
|
16
|
-
/**
|
|
17
|
-
* Get an existing Role resource's state with the given name, ID, and optional extra
|
|
18
|
-
* properties used to qualify the lookup.
|
|
19
|
-
*
|
|
20
|
-
* @param name The _unique_ name of the resulting resource.
|
|
21
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
-
* @param state Any extra arguments used during the lookup.
|
|
23
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
|
-
*/
|
|
25
|
-
static get(name, id, state, opts) {
|
|
26
|
-
return new Role(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the given object is an instance of Role. This is designed to work even
|
|
30
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
-
*/
|
|
32
|
-
static isInstance(obj) {
|
|
33
|
-
if (obj === undefined || obj === null) {
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
return obj['__pulumiType'] === Role.__pulumiType;
|
|
37
|
-
}
|
|
38
|
-
constructor(name, argsOrState, opts) {
|
|
39
|
-
let resourceInputs = {};
|
|
40
|
-
opts = opts || {};
|
|
41
|
-
if (opts.id) {
|
|
42
|
-
const state = argsOrState;
|
|
43
|
-
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
44
|
-
resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
|
|
45
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
46
|
-
resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
const args = argsOrState;
|
|
50
|
-
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
51
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
52
|
-
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
53
|
-
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
54
|
-
}
|
|
55
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
-
super(Role.__pulumiType, name, resourceInputs, opts);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
exports.Role = Role;
|
|
60
|
-
/** @internal */
|
|
61
|
-
Role.__pulumiType = 'snowflake:index/role:Role';
|
|
62
|
-
//# sourceMappingURL=role.js.map
|
package/role.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK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