You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: redshift_connector/__init__.py
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,8 @@ def connect(
172
172
role_session_name: typing.Optional[str] =None,
173
173
role_arn: typing.Optional[str] =None,
174
174
iam_disable_cache: typing.Optional[bool] =None,
175
+
auth_profile: typing.Optional[str] =None,
176
+
endpoint_url: typing.Optional[str] =None,
175
177
) ->Connection:
176
178
"""
177
179
Establishes a :class:`Connection` to an Amazon Redshift cluster. This function validates user input, optionally authenticates using an identity provider plugin, then constructs a :class:`Connection` object.
@@ -257,6 +259,10 @@ def connect(
257
259
The role ARN used for authentication with JWT. This parameter is required when using a JWTCredentialsProvider.
258
260
iam_disable_cache: Optional[bool]
259
261
This option specifies whether the IAM credentials are cached. By default caching is enabled.
262
+
auth_profile: Optional[str]
263
+
The name of an Amazon Redshift Authentication profile having connection properties as JSON. See :class:RedshiftProperty to learn how connection properties should be named.
264
+
endpoint_url: Optional[str]
265
+
The Amazon Redshift endpoint url. This option is only used by AWS internal teams.
260
266
Returns
261
267
-------
262
268
A Connection object associated with the specified Amazon Redshift cluster: :class:`Connection`
0 commit comments