pulumi-snowflake 1.2.0a1743575514__py3-none-any.whl → 1.2.0a1744183688__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +12288 -12287
- pulumi_snowflake/account.py +186 -185
- pulumi_snowflake/account_authentication_policy_attachment.py +15 -14
- pulumi_snowflake/account_parameter.py +29 -28
- pulumi_snowflake/account_password_policy_attachment.py +15 -14
- pulumi_snowflake/account_role.py +32 -31
- pulumi_snowflake/alert.py +120 -119
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +158 -157
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +144 -143
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +154 -153
- pulumi_snowflake/api_integration.py +203 -202
- pulumi_snowflake/authentication_policy.py +134 -133
- pulumi_snowflake/config/__init__.py +1 -0
- pulumi_snowflake/config/__init__.pyi +1 -0
- pulumi_snowflake/config/outputs.py +16 -15
- pulumi_snowflake/config/vars.py +1 -0
- pulumi_snowflake/cortex_search_service.py +141 -140
- pulumi_snowflake/database.py +288 -287
- pulumi_snowflake/database_role.py +50 -49
- pulumi_snowflake/dynamic_table.py +218 -217
- pulumi_snowflake/email_notification_integration.py +56 -55
- pulumi_snowflake/execute.py +50 -49
- pulumi_snowflake/external_function.py +225 -224
- pulumi_snowflake/external_oauth_integration.py +232 -231
- pulumi_snowflake/external_table.py +197 -196
- pulumi_snowflake/external_volume.py +50 -49
- pulumi_snowflake/failover_group.py +106 -105
- pulumi_snowflake/file_format.py +512 -511
- pulumi_snowflake/function_java.py +249 -248
- pulumi_snowflake/function_javascript.py +193 -192
- pulumi_snowflake/function_python.py +263 -262
- pulumi_snowflake/function_scala.py +249 -248
- pulumi_snowflake/function_sql.py +179 -178
- pulumi_snowflake/get_account_roles.py +12 -11
- pulumi_snowflake/get_accounts.py +12 -11
- pulumi_snowflake/get_alerts.py +17 -16
- pulumi_snowflake/get_connections.py +7 -6
- pulumi_snowflake/get_cortex_search_services.py +12 -11
- pulumi_snowflake/get_current_account.py +5 -4
- pulumi_snowflake/get_current_role.py +3 -2
- pulumi_snowflake/get_database.py +15 -14
- pulumi_snowflake/get_database_role.py +14 -13
- pulumi_snowflake/get_database_roles.py +12 -11
- pulumi_snowflake/get_databases.py +22 -21
- pulumi_snowflake/get_dynamic_tables.py +7 -6
- pulumi_snowflake/get_external_functions.py +12 -11
- pulumi_snowflake/get_external_tables.py +12 -11
- pulumi_snowflake/get_failover_groups.py +7 -6
- pulumi_snowflake/get_file_formats.py +12 -11
- pulumi_snowflake/get_functions.py +12 -11
- pulumi_snowflake/get_grants.py +2 -1
- pulumi_snowflake/get_masking_policies.py +12 -11
- pulumi_snowflake/get_materialized_views.py +12 -11
- pulumi_snowflake/get_network_policies.py +12 -11
- pulumi_snowflake/get_parameters.py +27 -26
- pulumi_snowflake/get_pipes.py +12 -11
- pulumi_snowflake/get_procedures.py +12 -11
- pulumi_snowflake/get_resource_monitors.py +7 -6
- pulumi_snowflake/get_row_access_policies.py +12 -11
- pulumi_snowflake/get_schemas.py +22 -21
- pulumi_snowflake/get_secrets.py +12 -11
- pulumi_snowflake/get_security_integrations.py +12 -11
- pulumi_snowflake/get_sequences.py +12 -11
- pulumi_snowflake/get_shares.py +7 -6
- pulumi_snowflake/get_stages.py +12 -11
- pulumi_snowflake/get_storage_integrations.py +2 -1
- pulumi_snowflake/get_streamlits.py +12 -11
- pulumi_snowflake/get_streams.py +17 -16
- pulumi_snowflake/get_system_generate_scim_access_token.py +8 -7
- pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +8 -7
- pulumi_snowflake/get_system_get_private_link_config.py +11 -10
- pulumi_snowflake/get_system_get_snowflake_platform_info.py +4 -3
- pulumi_snowflake/get_tables.py +12 -11
- pulumi_snowflake/get_tags.py +7 -6
- pulumi_snowflake/get_tasks.py +22 -21
- pulumi_snowflake/get_users.py +22 -21
- pulumi_snowflake/get_views.py +17 -16
- pulumi_snowflake/get_warehouses.py +17 -16
- pulumi_snowflake/grant_account_role.py +43 -42
- pulumi_snowflake/grant_application_role.py +43 -42
- pulumi_snowflake/grant_database_role.py +57 -56
- pulumi_snowflake/grant_ownership.py +43 -42
- pulumi_snowflake/grant_privileges_to_account_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_database_role.py +95 -94
- pulumi_snowflake/grant_privileges_to_share.py +127 -126
- pulumi_snowflake/legacy_service_user.py +1039 -1038
- pulumi_snowflake/managed_account.py +113 -112
- pulumi_snowflake/masking_policy.py +106 -105
- pulumi_snowflake/materialized_view.py +120 -119
- pulumi_snowflake/network_policy.py +92 -91
- pulumi_snowflake/network_policy_attachment.py +43 -42
- pulumi_snowflake/network_rule.py +106 -105
- pulumi_snowflake/notification_integration.py +238 -237
- pulumi_snowflake/oauth_integration_for_custom_clients.py +210 -209
- pulumi_snowflake/oauth_integration_for_partner_applications.py +134 -133
- pulumi_snowflake/object_parameter.py +57 -56
- pulumi_snowflake/outputs.py +9273 -9272
- pulumi_snowflake/password_policy.py +246 -245
- pulumi_snowflake/pipe.py +148 -147
- pulumi_snowflake/primary_connection.py +55 -54
- pulumi_snowflake/procedure_java.py +267 -266
- pulumi_snowflake/procedure_javascript.py +197 -196
- pulumi_snowflake/procedure_python.py +267 -266
- pulumi_snowflake/procedure_scala.py +267 -266
- pulumi_snowflake/procedure_sql.py +197 -196
- pulumi_snowflake/provider.py +303 -302
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/resource_monitor.py +134 -133
- pulumi_snowflake/row_access_policy.py +78 -77
- pulumi_snowflake/saml2_integration.py +246 -245
- pulumi_snowflake/schema.py +316 -315
- pulumi_snowflake/scim_integration.py +106 -105
- pulumi_snowflake/secondary_connection.py +57 -56
- pulumi_snowflake/secondary_database.py +288 -287
- pulumi_snowflake/secret_with_authorization_code_grant.py +109 -108
- pulumi_snowflake/secret_with_basic_authentication.py +95 -94
- pulumi_snowflake/secret_with_client_credentials.py +99 -98
- pulumi_snowflake/secret_with_generic_string.py +81 -80
- pulumi_snowflake/sequence.py +99 -98
- pulumi_snowflake/service_user.py +1015 -1014
- pulumi_snowflake/share.py +50 -49
- pulumi_snowflake/shared_database.py +246 -245
- pulumi_snowflake/stage.py +190 -189
- pulumi_snowflake/storage_integration.py +166 -165
- pulumi_snowflake/stream_on_directory_table.py +100 -99
- pulumi_snowflake/stream_on_external_table.py +114 -113
- pulumi_snowflake/stream_on_table.py +124 -123
- pulumi_snowflake/stream_on_view.py +124 -123
- pulumi_snowflake/streamlit.py +148 -147
- pulumi_snowflake/table.py +113 -112
- pulumi_snowflake/table_column_masking_policy_application.py +43 -42
- pulumi_snowflake/table_constraint.py +155 -154
- pulumi_snowflake/tag.py +92 -91
- pulumi_snowflake/tag_association.py +71 -70
- pulumi_snowflake/task.py +1002 -1001
- pulumi_snowflake/user.py +1101 -1100
- pulumi_snowflake/user_authentication_policy_attachment.py +29 -28
- pulumi_snowflake/user_password_policy_attachment.py +29 -28
- pulumi_snowflake/user_public_keys.py +43 -42
- pulumi_snowflake/view.py +136 -135
- pulumi_snowflake/warehouse.py +232 -231
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/METADATA +1 -1
- pulumi_snowflake-1.2.0a1744183688.dist-info/RECORD +148 -0
- pulumi_snowflake-1.2.0a1743575514.dist-info/RECORD +0 -148
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-1.2.0a1743575514.dist-info → pulumi_snowflake-1.2.0a1744183688.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,42 +22,42 @@ __all__ = ['ExternalFunctionArgs', 'ExternalFunction']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ExternalFunctionArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
api_integration: pulumi.Input[str],
|
|
25
|
-
database: pulumi.Input[str],
|
|
26
|
-
return_behavior: pulumi.Input[str],
|
|
27
|
-
return_type: pulumi.Input[str],
|
|
28
|
-
schema: pulumi.Input[str],
|
|
29
|
-
url_of_proxy_and_resource: pulumi.Input[str],
|
|
25
|
+
api_integration: pulumi.Input[builtins.str],
|
|
26
|
+
database: pulumi.Input[builtins.str],
|
|
27
|
+
return_behavior: pulumi.Input[builtins.str],
|
|
28
|
+
return_type: pulumi.Input[builtins.str],
|
|
29
|
+
schema: pulumi.Input[builtins.str],
|
|
30
|
+
url_of_proxy_and_resource: pulumi.Input[builtins.str],
|
|
30
31
|
args: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalFunctionArgArgs']]]] = None,
|
|
31
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
compression: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
32
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
34
35
|
headers: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]]] = None,
|
|
35
|
-
max_batch_rows: Optional[pulumi.Input[int]] = None,
|
|
36
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
38
|
-
request_translator: Optional[pulumi.Input[str]] = None,
|
|
39
|
-
response_translator: Optional[pulumi.Input[str]] = None,
|
|
40
|
-
return_null_allowed: Optional[pulumi.Input[bool]] = None):
|
|
36
|
+
max_batch_rows: Optional[pulumi.Input[builtins.int]] = None,
|
|
37
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
39
|
+
request_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
|
+
response_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
41
|
+
return_null_allowed: Optional[pulumi.Input[builtins.bool]] = None):
|
|
41
42
|
"""
|
|
42
43
|
The set of arguments for constructing a ExternalFunction resource.
|
|
43
|
-
:param pulumi.Input[str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
44
|
-
:param pulumi.Input[str] database: The database in which to create the external function.
|
|
45
|
-
:param pulumi.Input[str] return_behavior: Specifies the behavior of the function when returning results
|
|
46
|
-
:param pulumi.Input[str] return_type: Specifies the data type returned by the external function.
|
|
47
|
-
:param pulumi.Input[str] schema: The schema in which to create the external function.
|
|
48
|
-
:param pulumi.Input[str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
44
|
+
:param pulumi.Input[builtins.str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
45
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the external function.
|
|
46
|
+
:param pulumi.Input[builtins.str] return_behavior: Specifies the behavior of the function when returning results
|
|
47
|
+
:param pulumi.Input[builtins.str] return_type: Specifies the data type returned by the external function.
|
|
48
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the external function.
|
|
49
|
+
:param pulumi.Input[builtins.str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
49
50
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalFunctionArgArgs']]] args: Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote service expects.
|
|
50
|
-
:param pulumi.Input[str] comment: A description of the external function.
|
|
51
|
-
:param pulumi.Input[str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
51
|
+
:param pulumi.Input[builtins.str] comment: A description of the external function.
|
|
52
|
+
:param pulumi.Input[builtins.str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
53
54
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]] headers: Allows users to specify key-value metadata that is sent with every request as HTTP headers.
|
|
54
|
-
:param pulumi.Input[int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
55
|
-
:param pulumi.Input[str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
56
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
57
|
-
:param pulumi.Input[str] request_translator: This specifies the name of the request translator function
|
|
58
|
-
:param pulumi.Input[str] response_translator: This specifies the name of the response translator function.
|
|
59
|
-
:param pulumi.Input[bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
55
|
+
:param pulumi.Input[builtins.int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
56
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
57
|
+
:param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
58
|
+
:param pulumi.Input[builtins.str] request_translator: This specifies the name of the request translator function
|
|
59
|
+
:param pulumi.Input[builtins.str] response_translator: This specifies the name of the response translator function.
|
|
60
|
+
:param pulumi.Input[builtins.bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
60
61
|
"""
|
|
61
62
|
pulumi.set(__self__, "api_integration", api_integration)
|
|
62
63
|
pulumi.set(__self__, "database", database)
|
|
@@ -89,74 +90,74 @@ class ExternalFunctionArgs:
|
|
|
89
90
|
|
|
90
91
|
@property
|
|
91
92
|
@pulumi.getter(name="apiIntegration")
|
|
92
|
-
def api_integration(self) -> pulumi.Input[str]:
|
|
93
|
+
def api_integration(self) -> pulumi.Input[builtins.str]:
|
|
93
94
|
"""
|
|
94
95
|
The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
95
96
|
"""
|
|
96
97
|
return pulumi.get(self, "api_integration")
|
|
97
98
|
|
|
98
99
|
@api_integration.setter
|
|
99
|
-
def api_integration(self, value: pulumi.Input[str]):
|
|
100
|
+
def api_integration(self, value: pulumi.Input[builtins.str]):
|
|
100
101
|
pulumi.set(self, "api_integration", value)
|
|
101
102
|
|
|
102
103
|
@property
|
|
103
104
|
@pulumi.getter
|
|
104
|
-
def database(self) -> pulumi.Input[str]:
|
|
105
|
+
def database(self) -> pulumi.Input[builtins.str]:
|
|
105
106
|
"""
|
|
106
107
|
The database in which to create the external function.
|
|
107
108
|
"""
|
|
108
109
|
return pulumi.get(self, "database")
|
|
109
110
|
|
|
110
111
|
@database.setter
|
|
111
|
-
def database(self, value: pulumi.Input[str]):
|
|
112
|
+
def database(self, value: pulumi.Input[builtins.str]):
|
|
112
113
|
pulumi.set(self, "database", value)
|
|
113
114
|
|
|
114
115
|
@property
|
|
115
116
|
@pulumi.getter(name="returnBehavior")
|
|
116
|
-
def return_behavior(self) -> pulumi.Input[str]:
|
|
117
|
+
def return_behavior(self) -> pulumi.Input[builtins.str]:
|
|
117
118
|
"""
|
|
118
119
|
Specifies the behavior of the function when returning results
|
|
119
120
|
"""
|
|
120
121
|
return pulumi.get(self, "return_behavior")
|
|
121
122
|
|
|
122
123
|
@return_behavior.setter
|
|
123
|
-
def return_behavior(self, value: pulumi.Input[str]):
|
|
124
|
+
def return_behavior(self, value: pulumi.Input[builtins.str]):
|
|
124
125
|
pulumi.set(self, "return_behavior", value)
|
|
125
126
|
|
|
126
127
|
@property
|
|
127
128
|
@pulumi.getter(name="returnType")
|
|
128
|
-
def return_type(self) -> pulumi.Input[str]:
|
|
129
|
+
def return_type(self) -> pulumi.Input[builtins.str]:
|
|
129
130
|
"""
|
|
130
131
|
Specifies the data type returned by the external function.
|
|
131
132
|
"""
|
|
132
133
|
return pulumi.get(self, "return_type")
|
|
133
134
|
|
|
134
135
|
@return_type.setter
|
|
135
|
-
def return_type(self, value: pulumi.Input[str]):
|
|
136
|
+
def return_type(self, value: pulumi.Input[builtins.str]):
|
|
136
137
|
pulumi.set(self, "return_type", value)
|
|
137
138
|
|
|
138
139
|
@property
|
|
139
140
|
@pulumi.getter
|
|
140
|
-
def schema(self) -> pulumi.Input[str]:
|
|
141
|
+
def schema(self) -> pulumi.Input[builtins.str]:
|
|
141
142
|
"""
|
|
142
143
|
The schema in which to create the external function.
|
|
143
144
|
"""
|
|
144
145
|
return pulumi.get(self, "schema")
|
|
145
146
|
|
|
146
147
|
@schema.setter
|
|
147
|
-
def schema(self, value: pulumi.Input[str]):
|
|
148
|
+
def schema(self, value: pulumi.Input[builtins.str]):
|
|
148
149
|
pulumi.set(self, "schema", value)
|
|
149
150
|
|
|
150
151
|
@property
|
|
151
152
|
@pulumi.getter(name="urlOfProxyAndResource")
|
|
152
|
-
def url_of_proxy_and_resource(self) -> pulumi.Input[str]:
|
|
153
|
+
def url_of_proxy_and_resource(self) -> pulumi.Input[builtins.str]:
|
|
153
154
|
"""
|
|
154
155
|
This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
155
156
|
"""
|
|
156
157
|
return pulumi.get(self, "url_of_proxy_and_resource")
|
|
157
158
|
|
|
158
159
|
@url_of_proxy_and_resource.setter
|
|
159
|
-
def url_of_proxy_and_resource(self, value: pulumi.Input[str]):
|
|
160
|
+
def url_of_proxy_and_resource(self, value: pulumi.Input[builtins.str]):
|
|
160
161
|
pulumi.set(self, "url_of_proxy_and_resource", value)
|
|
161
162
|
|
|
162
163
|
@property
|
|
@@ -173,38 +174,38 @@ class ExternalFunctionArgs:
|
|
|
173
174
|
|
|
174
175
|
@property
|
|
175
176
|
@pulumi.getter
|
|
176
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
177
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
177
178
|
"""
|
|
178
179
|
A description of the external function.
|
|
179
180
|
"""
|
|
180
181
|
return pulumi.get(self, "comment")
|
|
181
182
|
|
|
182
183
|
@comment.setter
|
|
183
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
184
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
184
185
|
pulumi.set(self, "comment", value)
|
|
185
186
|
|
|
186
187
|
@property
|
|
187
188
|
@pulumi.getter
|
|
188
|
-
def compression(self) -> Optional[pulumi.Input[str]]:
|
|
189
|
+
def compression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
189
190
|
"""
|
|
190
191
|
If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
191
192
|
"""
|
|
192
193
|
return pulumi.get(self, "compression")
|
|
193
194
|
|
|
194
195
|
@compression.setter
|
|
195
|
-
def compression(self, value: Optional[pulumi.Input[str]]):
|
|
196
|
+
def compression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
196
197
|
pulumi.set(self, "compression", value)
|
|
197
198
|
|
|
198
199
|
@property
|
|
199
200
|
@pulumi.getter(name="contextHeaders")
|
|
200
|
-
def context_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
201
|
+
def context_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
201
202
|
"""
|
|
202
203
|
Binds Snowflake context function results to HTTP headers.
|
|
203
204
|
"""
|
|
204
205
|
return pulumi.get(self, "context_headers")
|
|
205
206
|
|
|
206
207
|
@context_headers.setter
|
|
207
|
-
def context_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
208
|
+
def context_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
208
209
|
pulumi.set(self, "context_headers", value)
|
|
209
210
|
|
|
210
211
|
@property
|
|
@@ -221,120 +222,120 @@ class ExternalFunctionArgs:
|
|
|
221
222
|
|
|
222
223
|
@property
|
|
223
224
|
@pulumi.getter(name="maxBatchRows")
|
|
224
|
-
def max_batch_rows(self) -> Optional[pulumi.Input[int]]:
|
|
225
|
+
def max_batch_rows(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
225
226
|
"""
|
|
226
227
|
This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
227
228
|
"""
|
|
228
229
|
return pulumi.get(self, "max_batch_rows")
|
|
229
230
|
|
|
230
231
|
@max_batch_rows.setter
|
|
231
|
-
def max_batch_rows(self, value: Optional[pulumi.Input[int]]):
|
|
232
|
+
def max_batch_rows(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
232
233
|
pulumi.set(self, "max_batch_rows", value)
|
|
233
234
|
|
|
234
235
|
@property
|
|
235
236
|
@pulumi.getter
|
|
236
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
237
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
237
238
|
"""
|
|
238
239
|
Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
239
240
|
"""
|
|
240
241
|
return pulumi.get(self, "name")
|
|
241
242
|
|
|
242
243
|
@name.setter
|
|
243
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
244
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
244
245
|
pulumi.set(self, "name", value)
|
|
245
246
|
|
|
246
247
|
@property
|
|
247
248
|
@pulumi.getter(name="nullInputBehavior")
|
|
248
|
-
def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
249
|
+
def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
249
250
|
"""
|
|
250
251
|
Specifies the behavior of the external function when called with null inputs.
|
|
251
252
|
"""
|
|
252
253
|
return pulumi.get(self, "null_input_behavior")
|
|
253
254
|
|
|
254
255
|
@null_input_behavior.setter
|
|
255
|
-
def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
256
|
+
def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
256
257
|
pulumi.set(self, "null_input_behavior", value)
|
|
257
258
|
|
|
258
259
|
@property
|
|
259
260
|
@pulumi.getter(name="requestTranslator")
|
|
260
|
-
def request_translator(self) -> Optional[pulumi.Input[str]]:
|
|
261
|
+
def request_translator(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
261
262
|
"""
|
|
262
263
|
This specifies the name of the request translator function
|
|
263
264
|
"""
|
|
264
265
|
return pulumi.get(self, "request_translator")
|
|
265
266
|
|
|
266
267
|
@request_translator.setter
|
|
267
|
-
def request_translator(self, value: Optional[pulumi.Input[str]]):
|
|
268
|
+
def request_translator(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
268
269
|
pulumi.set(self, "request_translator", value)
|
|
269
270
|
|
|
270
271
|
@property
|
|
271
272
|
@pulumi.getter(name="responseTranslator")
|
|
272
|
-
def response_translator(self) -> Optional[pulumi.Input[str]]:
|
|
273
|
+
def response_translator(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
273
274
|
"""
|
|
274
275
|
This specifies the name of the response translator function.
|
|
275
276
|
"""
|
|
276
277
|
return pulumi.get(self, "response_translator")
|
|
277
278
|
|
|
278
279
|
@response_translator.setter
|
|
279
|
-
def response_translator(self, value: Optional[pulumi.Input[str]]):
|
|
280
|
+
def response_translator(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
280
281
|
pulumi.set(self, "response_translator", value)
|
|
281
282
|
|
|
282
283
|
@property
|
|
283
284
|
@pulumi.getter(name="returnNullAllowed")
|
|
284
|
-
def return_null_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
285
|
+
def return_null_allowed(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
285
286
|
"""
|
|
286
287
|
Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
287
288
|
"""
|
|
288
289
|
return pulumi.get(self, "return_null_allowed")
|
|
289
290
|
|
|
290
291
|
@return_null_allowed.setter
|
|
291
|
-
def return_null_allowed(self, value: Optional[pulumi.Input[bool]]):
|
|
292
|
+
def return_null_allowed(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
292
293
|
pulumi.set(self, "return_null_allowed", value)
|
|
293
294
|
|
|
294
295
|
|
|
295
296
|
@pulumi.input_type
|
|
296
297
|
class _ExternalFunctionState:
|
|
297
298
|
def __init__(__self__, *,
|
|
298
|
-
api_integration: Optional[pulumi.Input[str]] = None,
|
|
299
|
+
api_integration: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
300
|
args: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalFunctionArgArgs']]]] = None,
|
|
300
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
compression: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
303
|
-
created_on: Optional[pulumi.Input[str]] = None,
|
|
304
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
305
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
301
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
304
|
+
created_on: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
307
|
headers: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]]] = None,
|
|
307
|
-
max_batch_rows: Optional[pulumi.Input[int]] = None,
|
|
308
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
309
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
310
|
-
request_translator: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
response_translator: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
return_behavior: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
return_null_allowed: Optional[pulumi.Input[bool]] = None,
|
|
314
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
315
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
316
|
-
url_of_proxy_and_resource: Optional[pulumi.Input[str]] = None):
|
|
308
|
+
max_batch_rows: Optional[pulumi.Input[builtins.int]] = None,
|
|
309
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
310
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
311
|
+
request_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
312
|
+
response_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
313
|
+
return_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
314
|
+
return_null_allowed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
315
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
316
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
317
|
+
url_of_proxy_and_resource: Optional[pulumi.Input[builtins.str]] = None):
|
|
317
318
|
"""
|
|
318
319
|
Input properties used for looking up and filtering ExternalFunction resources.
|
|
319
|
-
:param pulumi.Input[str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
320
|
+
:param pulumi.Input[builtins.str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
320
321
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalFunctionArgArgs']]] args: Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote service expects.
|
|
321
|
-
:param pulumi.Input[str] comment: A description of the external function.
|
|
322
|
-
:param pulumi.Input[str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
323
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
324
|
-
:param pulumi.Input[str] created_on: Date and time when the external function was created.
|
|
325
|
-
:param pulumi.Input[str] database: The database in which to create the external function.
|
|
326
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
322
|
+
:param pulumi.Input[builtins.str] comment: A description of the external function.
|
|
323
|
+
:param pulumi.Input[builtins.str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
325
|
+
:param pulumi.Input[builtins.str] created_on: Date and time when the external function was created.
|
|
326
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the external function.
|
|
327
|
+
:param pulumi.Input[builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
327
328
|
:param pulumi.Input[Sequence[pulumi.Input['ExternalFunctionHeaderArgs']]] headers: Allows users to specify key-value metadata that is sent with every request as HTTP headers.
|
|
328
|
-
:param pulumi.Input[int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
329
|
-
:param pulumi.Input[str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
330
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
331
|
-
:param pulumi.Input[str] request_translator: This specifies the name of the request translator function
|
|
332
|
-
:param pulumi.Input[str] response_translator: This specifies the name of the response translator function.
|
|
333
|
-
:param pulumi.Input[str] return_behavior: Specifies the behavior of the function when returning results
|
|
334
|
-
:param pulumi.Input[bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
335
|
-
:param pulumi.Input[str] return_type: Specifies the data type returned by the external function.
|
|
336
|
-
:param pulumi.Input[str] schema: The schema in which to create the external function.
|
|
337
|
-
:param pulumi.Input[str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
329
|
+
:param pulumi.Input[builtins.int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
330
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
331
|
+
:param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
332
|
+
:param pulumi.Input[builtins.str] request_translator: This specifies the name of the request translator function
|
|
333
|
+
:param pulumi.Input[builtins.str] response_translator: This specifies the name of the response translator function.
|
|
334
|
+
:param pulumi.Input[builtins.str] return_behavior: Specifies the behavior of the function when returning results
|
|
335
|
+
:param pulumi.Input[builtins.bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
336
|
+
:param pulumi.Input[builtins.str] return_type: Specifies the data type returned by the external function.
|
|
337
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the external function.
|
|
338
|
+
:param pulumi.Input[builtins.str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
338
339
|
"""
|
|
339
340
|
if api_integration is not None:
|
|
340
341
|
pulumi.set(__self__, "api_integration", api_integration)
|
|
@@ -377,14 +378,14 @@ class _ExternalFunctionState:
|
|
|
377
378
|
|
|
378
379
|
@property
|
|
379
380
|
@pulumi.getter(name="apiIntegration")
|
|
380
|
-
def api_integration(self) -> Optional[pulumi.Input[str]]:
|
|
381
|
+
def api_integration(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
381
382
|
"""
|
|
382
383
|
The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
383
384
|
"""
|
|
384
385
|
return pulumi.get(self, "api_integration")
|
|
385
386
|
|
|
386
387
|
@api_integration.setter
|
|
387
|
-
def api_integration(self, value: Optional[pulumi.Input[str]]):
|
|
388
|
+
def api_integration(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
388
389
|
pulumi.set(self, "api_integration", value)
|
|
389
390
|
|
|
390
391
|
@property
|
|
@@ -401,74 +402,74 @@ class _ExternalFunctionState:
|
|
|
401
402
|
|
|
402
403
|
@property
|
|
403
404
|
@pulumi.getter
|
|
404
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
405
|
+
def comment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
405
406
|
"""
|
|
406
407
|
A description of the external function.
|
|
407
408
|
"""
|
|
408
409
|
return pulumi.get(self, "comment")
|
|
409
410
|
|
|
410
411
|
@comment.setter
|
|
411
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
412
|
+
def comment(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
412
413
|
pulumi.set(self, "comment", value)
|
|
413
414
|
|
|
414
415
|
@property
|
|
415
416
|
@pulumi.getter
|
|
416
|
-
def compression(self) -> Optional[pulumi.Input[str]]:
|
|
417
|
+
def compression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
417
418
|
"""
|
|
418
419
|
If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
419
420
|
"""
|
|
420
421
|
return pulumi.get(self, "compression")
|
|
421
422
|
|
|
422
423
|
@compression.setter
|
|
423
|
-
def compression(self, value: Optional[pulumi.Input[str]]):
|
|
424
|
+
def compression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
424
425
|
pulumi.set(self, "compression", value)
|
|
425
426
|
|
|
426
427
|
@property
|
|
427
428
|
@pulumi.getter(name="contextHeaders")
|
|
428
|
-
def context_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
429
|
+
def context_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
429
430
|
"""
|
|
430
431
|
Binds Snowflake context function results to HTTP headers.
|
|
431
432
|
"""
|
|
432
433
|
return pulumi.get(self, "context_headers")
|
|
433
434
|
|
|
434
435
|
@context_headers.setter
|
|
435
|
-
def context_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
436
|
+
def context_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
436
437
|
pulumi.set(self, "context_headers", value)
|
|
437
438
|
|
|
438
439
|
@property
|
|
439
440
|
@pulumi.getter(name="createdOn")
|
|
440
|
-
def created_on(self) -> Optional[pulumi.Input[str]]:
|
|
441
|
+
def created_on(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
441
442
|
"""
|
|
442
443
|
Date and time when the external function was created.
|
|
443
444
|
"""
|
|
444
445
|
return pulumi.get(self, "created_on")
|
|
445
446
|
|
|
446
447
|
@created_on.setter
|
|
447
|
-
def created_on(self, value: Optional[pulumi.Input[str]]):
|
|
448
|
+
def created_on(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
448
449
|
pulumi.set(self, "created_on", value)
|
|
449
450
|
|
|
450
451
|
@property
|
|
451
452
|
@pulumi.getter
|
|
452
|
-
def database(self) -> Optional[pulumi.Input[str]]:
|
|
453
|
+
def database(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
453
454
|
"""
|
|
454
455
|
The database in which to create the external function.
|
|
455
456
|
"""
|
|
456
457
|
return pulumi.get(self, "database")
|
|
457
458
|
|
|
458
459
|
@database.setter
|
|
459
|
-
def database(self, value: Optional[pulumi.Input[str]]):
|
|
460
|
+
def database(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
460
461
|
pulumi.set(self, "database", value)
|
|
461
462
|
|
|
462
463
|
@property
|
|
463
464
|
@pulumi.getter(name="fullyQualifiedName")
|
|
464
|
-
def fully_qualified_name(self) -> Optional[pulumi.Input[str]]:
|
|
465
|
+
def fully_qualified_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
465
466
|
"""
|
|
466
467
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
467
468
|
"""
|
|
468
469
|
return pulumi.get(self, "fully_qualified_name")
|
|
469
470
|
|
|
470
471
|
@fully_qualified_name.setter
|
|
471
|
-
def fully_qualified_name(self, value: Optional[pulumi.Input[str]]):
|
|
472
|
+
def fully_qualified_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
472
473
|
pulumi.set(self, "fully_qualified_name", value)
|
|
473
474
|
|
|
474
475
|
@property
|
|
@@ -485,122 +486,122 @@ class _ExternalFunctionState:
|
|
|
485
486
|
|
|
486
487
|
@property
|
|
487
488
|
@pulumi.getter(name="maxBatchRows")
|
|
488
|
-
def max_batch_rows(self) -> Optional[pulumi.Input[int]]:
|
|
489
|
+
def max_batch_rows(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
489
490
|
"""
|
|
490
491
|
This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
491
492
|
"""
|
|
492
493
|
return pulumi.get(self, "max_batch_rows")
|
|
493
494
|
|
|
494
495
|
@max_batch_rows.setter
|
|
495
|
-
def max_batch_rows(self, value: Optional[pulumi.Input[int]]):
|
|
496
|
+
def max_batch_rows(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
496
497
|
pulumi.set(self, "max_batch_rows", value)
|
|
497
498
|
|
|
498
499
|
@property
|
|
499
500
|
@pulumi.getter
|
|
500
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
501
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
501
502
|
"""
|
|
502
503
|
Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
503
504
|
"""
|
|
504
505
|
return pulumi.get(self, "name")
|
|
505
506
|
|
|
506
507
|
@name.setter
|
|
507
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
508
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
508
509
|
pulumi.set(self, "name", value)
|
|
509
510
|
|
|
510
511
|
@property
|
|
511
512
|
@pulumi.getter(name="nullInputBehavior")
|
|
512
|
-
def null_input_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
513
|
+
def null_input_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
513
514
|
"""
|
|
514
515
|
Specifies the behavior of the external function when called with null inputs.
|
|
515
516
|
"""
|
|
516
517
|
return pulumi.get(self, "null_input_behavior")
|
|
517
518
|
|
|
518
519
|
@null_input_behavior.setter
|
|
519
|
-
def null_input_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
520
|
+
def null_input_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
520
521
|
pulumi.set(self, "null_input_behavior", value)
|
|
521
522
|
|
|
522
523
|
@property
|
|
523
524
|
@pulumi.getter(name="requestTranslator")
|
|
524
|
-
def request_translator(self) -> Optional[pulumi.Input[str]]:
|
|
525
|
+
def request_translator(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
525
526
|
"""
|
|
526
527
|
This specifies the name of the request translator function
|
|
527
528
|
"""
|
|
528
529
|
return pulumi.get(self, "request_translator")
|
|
529
530
|
|
|
530
531
|
@request_translator.setter
|
|
531
|
-
def request_translator(self, value: Optional[pulumi.Input[str]]):
|
|
532
|
+
def request_translator(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
532
533
|
pulumi.set(self, "request_translator", value)
|
|
533
534
|
|
|
534
535
|
@property
|
|
535
536
|
@pulumi.getter(name="responseTranslator")
|
|
536
|
-
def response_translator(self) -> Optional[pulumi.Input[str]]:
|
|
537
|
+
def response_translator(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
537
538
|
"""
|
|
538
539
|
This specifies the name of the response translator function.
|
|
539
540
|
"""
|
|
540
541
|
return pulumi.get(self, "response_translator")
|
|
541
542
|
|
|
542
543
|
@response_translator.setter
|
|
543
|
-
def response_translator(self, value: Optional[pulumi.Input[str]]):
|
|
544
|
+
def response_translator(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
544
545
|
pulumi.set(self, "response_translator", value)
|
|
545
546
|
|
|
546
547
|
@property
|
|
547
548
|
@pulumi.getter(name="returnBehavior")
|
|
548
|
-
def return_behavior(self) -> Optional[pulumi.Input[str]]:
|
|
549
|
+
def return_behavior(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
549
550
|
"""
|
|
550
551
|
Specifies the behavior of the function when returning results
|
|
551
552
|
"""
|
|
552
553
|
return pulumi.get(self, "return_behavior")
|
|
553
554
|
|
|
554
555
|
@return_behavior.setter
|
|
555
|
-
def return_behavior(self, value: Optional[pulumi.Input[str]]):
|
|
556
|
+
def return_behavior(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
556
557
|
pulumi.set(self, "return_behavior", value)
|
|
557
558
|
|
|
558
559
|
@property
|
|
559
560
|
@pulumi.getter(name="returnNullAllowed")
|
|
560
|
-
def return_null_allowed(self) -> Optional[pulumi.Input[bool]]:
|
|
561
|
+
def return_null_allowed(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
561
562
|
"""
|
|
562
563
|
Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
563
564
|
"""
|
|
564
565
|
return pulumi.get(self, "return_null_allowed")
|
|
565
566
|
|
|
566
567
|
@return_null_allowed.setter
|
|
567
|
-
def return_null_allowed(self, value: Optional[pulumi.Input[bool]]):
|
|
568
|
+
def return_null_allowed(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
568
569
|
pulumi.set(self, "return_null_allowed", value)
|
|
569
570
|
|
|
570
571
|
@property
|
|
571
572
|
@pulumi.getter(name="returnType")
|
|
572
|
-
def return_type(self) -> Optional[pulumi.Input[str]]:
|
|
573
|
+
def return_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
573
574
|
"""
|
|
574
575
|
Specifies the data type returned by the external function.
|
|
575
576
|
"""
|
|
576
577
|
return pulumi.get(self, "return_type")
|
|
577
578
|
|
|
578
579
|
@return_type.setter
|
|
579
|
-
def return_type(self, value: Optional[pulumi.Input[str]]):
|
|
580
|
+
def return_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
580
581
|
pulumi.set(self, "return_type", value)
|
|
581
582
|
|
|
582
583
|
@property
|
|
583
584
|
@pulumi.getter
|
|
584
|
-
def schema(self) -> Optional[pulumi.Input[str]]:
|
|
585
|
+
def schema(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
585
586
|
"""
|
|
586
587
|
The schema in which to create the external function.
|
|
587
588
|
"""
|
|
588
589
|
return pulumi.get(self, "schema")
|
|
589
590
|
|
|
590
591
|
@schema.setter
|
|
591
|
-
def schema(self, value: Optional[pulumi.Input[str]]):
|
|
592
|
+
def schema(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
592
593
|
pulumi.set(self, "schema", value)
|
|
593
594
|
|
|
594
595
|
@property
|
|
595
596
|
@pulumi.getter(name="urlOfProxyAndResource")
|
|
596
|
-
def url_of_proxy_and_resource(self) -> Optional[pulumi.Input[str]]:
|
|
597
|
+
def url_of_proxy_and_resource(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
597
598
|
"""
|
|
598
599
|
This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
599
600
|
"""
|
|
600
601
|
return pulumi.get(self, "url_of_proxy_and_resource")
|
|
601
602
|
|
|
602
603
|
@url_of_proxy_and_resource.setter
|
|
603
|
-
def url_of_proxy_and_resource(self, value: Optional[pulumi.Input[str]]):
|
|
604
|
+
def url_of_proxy_and_resource(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
604
605
|
pulumi.set(self, "url_of_proxy_and_resource", value)
|
|
605
606
|
|
|
606
607
|
|
|
@@ -609,23 +610,23 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
609
610
|
def __init__(__self__,
|
|
610
611
|
resource_name: str,
|
|
611
612
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
612
|
-
api_integration: Optional[pulumi.Input[str]] = None,
|
|
613
|
+
api_integration: Optional[pulumi.Input[builtins.str]] = None,
|
|
613
614
|
args: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionArgArgs', 'ExternalFunctionArgArgsDict']]]]] = None,
|
|
614
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
615
|
-
compression: Optional[pulumi.Input[str]] = None,
|
|
616
|
-
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
617
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
615
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
616
|
+
compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
617
|
+
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
618
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
618
619
|
headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]]] = None,
|
|
619
|
-
max_batch_rows: Optional[pulumi.Input[int]] = None,
|
|
620
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
621
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
622
|
-
request_translator: Optional[pulumi.Input[str]] = None,
|
|
623
|
-
response_translator: Optional[pulumi.Input[str]] = None,
|
|
624
|
-
return_behavior: Optional[pulumi.Input[str]] = None,
|
|
625
|
-
return_null_allowed: Optional[pulumi.Input[bool]] = None,
|
|
626
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
627
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
628
|
-
url_of_proxy_and_resource: Optional[pulumi.Input[str]] = None,
|
|
620
|
+
max_batch_rows: Optional[pulumi.Input[builtins.int]] = None,
|
|
621
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
622
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
623
|
+
request_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
624
|
+
response_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
625
|
+
return_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
626
|
+
return_null_allowed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
627
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
628
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
629
|
+
url_of_proxy_and_resource: Optional[pulumi.Input[builtins.str]] = None,
|
|
629
630
|
__props__=None):
|
|
630
631
|
"""
|
|
631
632
|
## Import
|
|
@@ -638,23 +639,23 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
638
639
|
|
|
639
640
|
:param str resource_name: The name of the resource.
|
|
640
641
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
641
|
-
:param pulumi.Input[str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
642
|
+
:param pulumi.Input[builtins.str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
642
643
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionArgArgs', 'ExternalFunctionArgArgsDict']]]] args: Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote service expects.
|
|
643
|
-
:param pulumi.Input[str] comment: A description of the external function.
|
|
644
|
-
:param pulumi.Input[str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
645
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
646
|
-
:param pulumi.Input[str] database: The database in which to create the external function.
|
|
644
|
+
:param pulumi.Input[builtins.str] comment: A description of the external function.
|
|
645
|
+
:param pulumi.Input[builtins.str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
646
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
647
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the external function.
|
|
647
648
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]] headers: Allows users to specify key-value metadata that is sent with every request as HTTP headers.
|
|
648
|
-
:param pulumi.Input[int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
649
|
-
:param pulumi.Input[str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
650
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
651
|
-
:param pulumi.Input[str] request_translator: This specifies the name of the request translator function
|
|
652
|
-
:param pulumi.Input[str] response_translator: This specifies the name of the response translator function.
|
|
653
|
-
:param pulumi.Input[str] return_behavior: Specifies the behavior of the function when returning results
|
|
654
|
-
:param pulumi.Input[bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
655
|
-
:param pulumi.Input[str] return_type: Specifies the data type returned by the external function.
|
|
656
|
-
:param pulumi.Input[str] schema: The schema in which to create the external function.
|
|
657
|
-
:param pulumi.Input[str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
649
|
+
:param pulumi.Input[builtins.int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
650
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
651
|
+
:param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
652
|
+
:param pulumi.Input[builtins.str] request_translator: This specifies the name of the request translator function
|
|
653
|
+
:param pulumi.Input[builtins.str] response_translator: This specifies the name of the response translator function.
|
|
654
|
+
:param pulumi.Input[builtins.str] return_behavior: Specifies the behavior of the function when returning results
|
|
655
|
+
:param pulumi.Input[builtins.bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
656
|
+
:param pulumi.Input[builtins.str] return_type: Specifies the data type returned by the external function.
|
|
657
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the external function.
|
|
658
|
+
:param pulumi.Input[builtins.str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
658
659
|
"""
|
|
659
660
|
...
|
|
660
661
|
@overload
|
|
@@ -686,23 +687,23 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
686
687
|
def _internal_init(__self__,
|
|
687
688
|
resource_name: str,
|
|
688
689
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
689
|
-
api_integration: Optional[pulumi.Input[str]] = None,
|
|
690
|
+
api_integration: Optional[pulumi.Input[builtins.str]] = None,
|
|
690
691
|
args: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionArgArgs', 'ExternalFunctionArgArgsDict']]]]] = None,
|
|
691
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
692
|
-
compression: Optional[pulumi.Input[str]] = None,
|
|
693
|
-
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
694
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
692
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
693
|
+
compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
694
|
+
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
695
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
695
696
|
headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]]] = None,
|
|
696
|
-
max_batch_rows: Optional[pulumi.Input[int]] = None,
|
|
697
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
698
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
699
|
-
request_translator: Optional[pulumi.Input[str]] = None,
|
|
700
|
-
response_translator: Optional[pulumi.Input[str]] = None,
|
|
701
|
-
return_behavior: Optional[pulumi.Input[str]] = None,
|
|
702
|
-
return_null_allowed: Optional[pulumi.Input[bool]] = None,
|
|
703
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
704
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
705
|
-
url_of_proxy_and_resource: Optional[pulumi.Input[str]] = None,
|
|
697
|
+
max_batch_rows: Optional[pulumi.Input[builtins.int]] = None,
|
|
698
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
699
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
700
|
+
request_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
701
|
+
response_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
702
|
+
return_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
703
|
+
return_null_allowed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
704
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
705
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
706
|
+
url_of_proxy_and_resource: Optional[pulumi.Input[builtins.str]] = None,
|
|
706
707
|
__props__=None):
|
|
707
708
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
708
709
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -753,25 +754,25 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
753
754
|
def get(resource_name: str,
|
|
754
755
|
id: pulumi.Input[str],
|
|
755
756
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
756
|
-
api_integration: Optional[pulumi.Input[str]] = None,
|
|
757
|
+
api_integration: Optional[pulumi.Input[builtins.str]] = None,
|
|
757
758
|
args: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionArgArgs', 'ExternalFunctionArgArgsDict']]]]] = None,
|
|
758
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
759
|
-
compression: Optional[pulumi.Input[str]] = None,
|
|
760
|
-
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
761
|
-
created_on: Optional[pulumi.Input[str]] = None,
|
|
762
|
-
database: Optional[pulumi.Input[str]] = None,
|
|
763
|
-
fully_qualified_name: Optional[pulumi.Input[str]] = None,
|
|
759
|
+
comment: Optional[pulumi.Input[builtins.str]] = None,
|
|
760
|
+
compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
761
|
+
context_headers: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
762
|
+
created_on: Optional[pulumi.Input[builtins.str]] = None,
|
|
763
|
+
database: Optional[pulumi.Input[builtins.str]] = None,
|
|
764
|
+
fully_qualified_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
764
765
|
headers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]]] = None,
|
|
765
|
-
max_batch_rows: Optional[pulumi.Input[int]] = None,
|
|
766
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
767
|
-
null_input_behavior: Optional[pulumi.Input[str]] = None,
|
|
768
|
-
request_translator: Optional[pulumi.Input[str]] = None,
|
|
769
|
-
response_translator: Optional[pulumi.Input[str]] = None,
|
|
770
|
-
return_behavior: Optional[pulumi.Input[str]] = None,
|
|
771
|
-
return_null_allowed: Optional[pulumi.Input[bool]] = None,
|
|
772
|
-
return_type: Optional[pulumi.Input[str]] = None,
|
|
773
|
-
schema: Optional[pulumi.Input[str]] = None,
|
|
774
|
-
url_of_proxy_and_resource: Optional[pulumi.Input[str]] = None) -> 'ExternalFunction':
|
|
766
|
+
max_batch_rows: Optional[pulumi.Input[builtins.int]] = None,
|
|
767
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
768
|
+
null_input_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
769
|
+
request_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
770
|
+
response_translator: Optional[pulumi.Input[builtins.str]] = None,
|
|
771
|
+
return_behavior: Optional[pulumi.Input[builtins.str]] = None,
|
|
772
|
+
return_null_allowed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
773
|
+
return_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
774
|
+
schema: Optional[pulumi.Input[builtins.str]] = None,
|
|
775
|
+
url_of_proxy_and_resource: Optional[pulumi.Input[builtins.str]] = None) -> 'ExternalFunction':
|
|
775
776
|
"""
|
|
776
777
|
Get an existing ExternalFunction resource's state with the given name, id, and optional extra
|
|
777
778
|
properties used to qualify the lookup.
|
|
@@ -779,25 +780,25 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
779
780
|
:param str resource_name: The unique name of the resulting resource.
|
|
780
781
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
781
782
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
782
|
-
:param pulumi.Input[str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
783
|
+
:param pulumi.Input[builtins.str] api_integration: The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
783
784
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionArgArgs', 'ExternalFunctionArgArgsDict']]]] args: Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote service expects.
|
|
784
|
-
:param pulumi.Input[str] comment: A description of the external function.
|
|
785
|
-
:param pulumi.Input[str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
786
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
787
|
-
:param pulumi.Input[str] created_on: Date and time when the external function was created.
|
|
788
|
-
:param pulumi.Input[str] database: The database in which to create the external function.
|
|
789
|
-
:param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
785
|
+
:param pulumi.Input[builtins.str] comment: A description of the external function.
|
|
786
|
+
:param pulumi.Input[builtins.str] compression: If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
787
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] context_headers: Binds Snowflake context function results to HTTP headers.
|
|
788
|
+
:param pulumi.Input[builtins.str] created_on: Date and time when the external function was created.
|
|
789
|
+
:param pulumi.Input[builtins.str] database: The database in which to create the external function.
|
|
790
|
+
:param pulumi.Input[builtins.str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
790
791
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ExternalFunctionHeaderArgs', 'ExternalFunctionHeaderArgsDict']]]] headers: Allows users to specify key-value metadata that is sent with every request as HTTP headers.
|
|
791
|
-
:param pulumi.Input[int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
792
|
-
:param pulumi.Input[str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
793
|
-
:param pulumi.Input[str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
794
|
-
:param pulumi.Input[str] request_translator: This specifies the name of the request translator function
|
|
795
|
-
:param pulumi.Input[str] response_translator: This specifies the name of the response translator function.
|
|
796
|
-
:param pulumi.Input[str] return_behavior: Specifies the behavior of the function when returning results
|
|
797
|
-
:param pulumi.Input[bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
798
|
-
:param pulumi.Input[str] return_type: Specifies the data type returned by the external function.
|
|
799
|
-
:param pulumi.Input[str] schema: The schema in which to create the external function.
|
|
800
|
-
:param pulumi.Input[str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
792
|
+
:param pulumi.Input[builtins.int] max_batch_rows: This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
793
|
+
:param pulumi.Input[builtins.str] name: Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
794
|
+
:param pulumi.Input[builtins.str] null_input_behavior: Specifies the behavior of the external function when called with null inputs.
|
|
795
|
+
:param pulumi.Input[builtins.str] request_translator: This specifies the name of the request translator function
|
|
796
|
+
:param pulumi.Input[builtins.str] response_translator: This specifies the name of the response translator function.
|
|
797
|
+
:param pulumi.Input[builtins.str] return_behavior: Specifies the behavior of the function when returning results
|
|
798
|
+
:param pulumi.Input[builtins.bool] return_null_allowed: Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
799
|
+
:param pulumi.Input[builtins.str] return_type: Specifies the data type returned by the external function.
|
|
800
|
+
:param pulumi.Input[builtins.str] schema: The schema in which to create the external function.
|
|
801
|
+
:param pulumi.Input[builtins.str] url_of_proxy_and_resource: This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
801
802
|
"""
|
|
802
803
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
803
804
|
|
|
@@ -826,7 +827,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
826
827
|
|
|
827
828
|
@property
|
|
828
829
|
@pulumi.getter(name="apiIntegration")
|
|
829
|
-
def api_integration(self) -> pulumi.Output[str]:
|
|
830
|
+
def api_integration(self) -> pulumi.Output[builtins.str]:
|
|
830
831
|
"""
|
|
831
832
|
The name of the API integration object that should be used to authenticate the call to the proxy service.
|
|
832
833
|
"""
|
|
@@ -842,7 +843,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
842
843
|
|
|
843
844
|
@property
|
|
844
845
|
@pulumi.getter
|
|
845
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
846
|
+
def comment(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
846
847
|
"""
|
|
847
848
|
A description of the external function.
|
|
848
849
|
"""
|
|
@@ -850,7 +851,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
850
851
|
|
|
851
852
|
@property
|
|
852
853
|
@pulumi.getter
|
|
853
|
-
def compression(self) -> pulumi.Output[Optional[str]]:
|
|
854
|
+
def compression(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
854
855
|
"""
|
|
855
856
|
If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the proxy service to Snowflake.
|
|
856
857
|
"""
|
|
@@ -858,7 +859,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
858
859
|
|
|
859
860
|
@property
|
|
860
861
|
@pulumi.getter(name="contextHeaders")
|
|
861
|
-
def context_headers(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
862
|
+
def context_headers(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
862
863
|
"""
|
|
863
864
|
Binds Snowflake context function results to HTTP headers.
|
|
864
865
|
"""
|
|
@@ -866,7 +867,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
866
867
|
|
|
867
868
|
@property
|
|
868
869
|
@pulumi.getter(name="createdOn")
|
|
869
|
-
def created_on(self) -> pulumi.Output[str]:
|
|
870
|
+
def created_on(self) -> pulumi.Output[builtins.str]:
|
|
870
871
|
"""
|
|
871
872
|
Date and time when the external function was created.
|
|
872
873
|
"""
|
|
@@ -874,7 +875,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
874
875
|
|
|
875
876
|
@property
|
|
876
877
|
@pulumi.getter
|
|
877
|
-
def database(self) -> pulumi.Output[str]:
|
|
878
|
+
def database(self) -> pulumi.Output[builtins.str]:
|
|
878
879
|
"""
|
|
879
880
|
The database in which to create the external function.
|
|
880
881
|
"""
|
|
@@ -882,7 +883,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
882
883
|
|
|
883
884
|
@property
|
|
884
885
|
@pulumi.getter(name="fullyQualifiedName")
|
|
885
|
-
def fully_qualified_name(self) -> pulumi.Output[str]:
|
|
886
|
+
def fully_qualified_name(self) -> pulumi.Output[builtins.str]:
|
|
886
887
|
"""
|
|
887
888
|
Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
888
889
|
"""
|
|
@@ -898,7 +899,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
898
899
|
|
|
899
900
|
@property
|
|
900
901
|
@pulumi.getter(name="maxBatchRows")
|
|
901
|
-
def max_batch_rows(self) -> pulumi.Output[Optional[int]]:
|
|
902
|
+
def max_batch_rows(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
902
903
|
"""
|
|
903
904
|
This specifies the maximum number of rows in each batch sent to the proxy service.
|
|
904
905
|
"""
|
|
@@ -906,7 +907,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
906
907
|
|
|
907
908
|
@property
|
|
908
909
|
@pulumi.getter
|
|
909
|
-
def name(self) -> pulumi.Output[str]:
|
|
910
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
910
911
|
"""
|
|
911
912
|
Specifies the identifier for the external function. The identifier can contain the schema name and database name, as well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
912
913
|
"""
|
|
@@ -914,7 +915,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
914
915
|
|
|
915
916
|
@property
|
|
916
917
|
@pulumi.getter(name="nullInputBehavior")
|
|
917
|
-
def null_input_behavior(self) -> pulumi.Output[Optional[str]]:
|
|
918
|
+
def null_input_behavior(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
918
919
|
"""
|
|
919
920
|
Specifies the behavior of the external function when called with null inputs.
|
|
920
921
|
"""
|
|
@@ -922,7 +923,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
922
923
|
|
|
923
924
|
@property
|
|
924
925
|
@pulumi.getter(name="requestTranslator")
|
|
925
|
-
def request_translator(self) -> pulumi.Output[Optional[str]]:
|
|
926
|
+
def request_translator(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
926
927
|
"""
|
|
927
928
|
This specifies the name of the request translator function
|
|
928
929
|
"""
|
|
@@ -930,7 +931,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
930
931
|
|
|
931
932
|
@property
|
|
932
933
|
@pulumi.getter(name="responseTranslator")
|
|
933
|
-
def response_translator(self) -> pulumi.Output[Optional[str]]:
|
|
934
|
+
def response_translator(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
934
935
|
"""
|
|
935
936
|
This specifies the name of the response translator function.
|
|
936
937
|
"""
|
|
@@ -938,7 +939,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
938
939
|
|
|
939
940
|
@property
|
|
940
941
|
@pulumi.getter(name="returnBehavior")
|
|
941
|
-
def return_behavior(self) -> pulumi.Output[str]:
|
|
942
|
+
def return_behavior(self) -> pulumi.Output[builtins.str]:
|
|
942
943
|
"""
|
|
943
944
|
Specifies the behavior of the function when returning results
|
|
944
945
|
"""
|
|
@@ -946,7 +947,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
946
947
|
|
|
947
948
|
@property
|
|
948
949
|
@pulumi.getter(name="returnNullAllowed")
|
|
949
|
-
def return_null_allowed(self) -> pulumi.Output[Optional[bool]]:
|
|
950
|
+
def return_null_allowed(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
950
951
|
"""
|
|
951
952
|
Indicates whether the function can return NULL values (true) or must return only NON-NULL values (false).
|
|
952
953
|
"""
|
|
@@ -954,7 +955,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
954
955
|
|
|
955
956
|
@property
|
|
956
957
|
@pulumi.getter(name="returnType")
|
|
957
|
-
def return_type(self) -> pulumi.Output[str]:
|
|
958
|
+
def return_type(self) -> pulumi.Output[builtins.str]:
|
|
958
959
|
"""
|
|
959
960
|
Specifies the data type returned by the external function.
|
|
960
961
|
"""
|
|
@@ -962,7 +963,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
962
963
|
|
|
963
964
|
@property
|
|
964
965
|
@pulumi.getter
|
|
965
|
-
def schema(self) -> pulumi.Output[str]:
|
|
966
|
+
def schema(self) -> pulumi.Output[builtins.str]:
|
|
966
967
|
"""
|
|
967
968
|
The schema in which to create the external function.
|
|
968
969
|
"""
|
|
@@ -970,7 +971,7 @@ class ExternalFunction(pulumi.CustomResource):
|
|
|
970
971
|
|
|
971
972
|
@property
|
|
972
973
|
@pulumi.getter(name="urlOfProxyAndResource")
|
|
973
|
-
def url_of_proxy_and_resource(self) -> pulumi.Output[str]:
|
|
974
|
+
def url_of_proxy_and_resource(self) -> pulumi.Output[builtins.str]:
|
|
974
975
|
"""
|
|
975
976
|
This is the invocation URL of the proxy service and resource through which Snowflake calls the remote service.
|
|
976
977
|
"""
|