AmplifyConfiguration
public struct AmplifyConfiguration : Codable
Represents Amplify’s configuration for all categories intended to be used in an application.
See: Amplify.configure
- Tag: AmplifyConfiguration
-
- Tag: Amplify.init
Declaration
Swift
public init(analytics: AnalyticsCategoryConfiguration? = nil, api: APICategoryConfiguration? = nil, auth: AuthCategoryConfiguration? = nil, dataStore: DataStoreCategoryConfiguration? = nil, geo: GeoCategoryConfiguration? = nil, hub: HubCategoryConfiguration? = nil, logging: LoggingCategoryConfiguration? = nil, notifications: NotificationsCategoryConfiguration? = nil, predictions: PredictionsCategoryConfiguration? = nil, storage: StorageCategoryConfiguration? = nil)
-
Initialize
AmplifyConfiguration
by loading it from a URL representing the configuration file.- Tag: Amplify.configureWithConfigurationFile
Declaration
Swift
public init(configurationFile url: URL) throws