Skip to content

/AWS1/CL_SGMIDPVDROAUTHSETTING

The Amazon SageMaker Canvas application setting where you configure OAuth for connecting to an external data source, such as Snowflake.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_datasourcename TYPE /AWS1/SGMDATASOURCENAME /AWS1/SGMDATASOURCENAME

The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.

iv_status TYPE /AWS1/SGMFEATURESTATUS /AWS1/SGMFEATURESTATUS

Describes whether OAuth for a data source is enabled or disabled in the Canvas application.

iv_secretarn TYPE /AWS1/SGMSECRETARN /AWS1/SGMSECRETARN

The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.


Queryable Attributes

DataSourceName

The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.

Accessible with the following methods

Method Description
GET_DATASOURCENAME() Getter for DATASOURCENAME, with configurable default
ASK_DATASOURCENAME() Getter for DATASOURCENAME w/ exceptions if field has no valu
HAS_DATASOURCENAME() Determine if DATASOURCENAME has a value

Status

Describes whether OAuth for a data source is enabled or disabled in the Canvas application.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

SecretArn

The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.

Accessible with the following methods

Method Description
GET_SECRETARN() Getter for SECRETARN, with configurable default
ASK_SECRETARN() Getter for SECRETARN w/ exceptions if field has no value
HAS_SECRETARN() Determine if SECRETARN has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_IDENTITYPVDROAUTHSETTINGS

TYPES TT_IDENTITYPVDROAUTHSETTINGS TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMIDPVDROAUTHSETTING WITH DEFAULT KEY
.