SudoVirtualCardsConfig

public struct SudoVirtualCardsConfig : AWSAppSyncServiceConfigProvider, Decodable

Configuration for connecting to the Sudo VirtualCards Service via AppSync.

Conformance: AWSAppSyncServiceConfigProvider

  • Declaration

    Swift

    public var endpoint: URL
  • Declaration

    Swift

    public var region: AWSRegionType
  • Declaration

    Swift

    public var authType: AWSAppSyncAuthType
  • Declaration

    Swift

    public var apiKey: String?
  • Declaration

    Swift

    public var clientDatabasePrefix: String?

Lifecycle

  • Initialize an instance of SudoVirtualCardsConfig.

    Declaration

    Swift

    public init(
        endpoint: URL,
        region: AWSRegionType,
        authType: AWSAppSyncAuthType = .amazonCognitoUserPools,
        apiKey: String? = nil,
        clientDatabasePrefix: String? = nil
    )

Conformance: Decodable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws