SudoVirtualCardsSimulatorConfig
public struct SudoVirtualCardsSimulatorConfig : AWSAppSyncServiceConfigProvider, Decodable
Configuration for connecting to the Sudo VirtualCards Simulator Service via AppSync.
-
User pool identitifer of the user pool being used for authentication.
Only set this property if using authentication type
.amazonCognitoUserPools
.Declaration
Swift
public var userPoolId: String?
-
User pool client identifier of the user pool’s client used for authentication.
Only set this property if using authentication type
.amazonCognitoUserPools
.Declaration
Swift
public var clientId: String?
-
Declaration
Swift
public var endpoint: URL
-
Declaration
Swift
public var region: AWSRegionType
-
Declaration
Swift
public var clientDatabasePrefix: String?
-
Declaration
Swift
public var authType: AWSAppSyncAuthType
-
Declaration
Swift
public var apiKey: String?
-
Initialize an instance of
SudoVirtualCardsSimulatorConfig
. Use this initializer if usingAPI_KEY
as the method of authentication.Declaration
Swift
public init( endpoint: URL, region: AWSRegionType, apiKey: String, clientDatabasePrefix: String? )
-
Initialize an instance of
SudoVirtualCardsSimulatorConfig
. Use this initializer if usingAMAZON_COGNITO_USER_POOLS
as the method of authentication.Declaration
Swift
public init( endpoint: URL, region: AWSRegionType, userPoolId: String, clientId: String, clientDatabasePrefix: String? = nil )
-
Declaration
Swift
public init(from decoder: Decoder) throws