AmplifyOutputsData
public struct AmplifyOutputsData : Codable
Represents Amplify’s Gen2 configuration for all categories intended to be used in an application.
Currently supports schema version 1 of the amplify_outputs.json format.
See: Amplify.configure
- Tag: AmplifyOutputs
-
Declaration
Swift
public let analytics: Analytics? -
Declaration
Swift
public let auth: Auth? -
Declaration
Swift
public let data: DataCategory? -
Declaration
Swift
public let geo: Geo? -
Declaration
Swift
public let notifications: Notifications? -
Declaration
Swift
public let storage: Storage? -
Declaration
Swift
public let custom: CustomOutput? -
Declaration
Swift
public struct Analytics : Codable -
Declaration
Swift
public struct Auth : Codable -
Declaration
Swift
public struct DataCategory : Codable -
Declaration
Swift
public struct Geo : Codable -
Outputs for the notifications category.
The fields below describe an Amazon Pinpoint backend and are optional because
See morenotificationsmay be present without Pinpoint being configured — for example when only Amazon Connect is provisioned, the backend emitsnotificationscontaining just anamazon_connectblock. Declaring these as non-optional madeAmplify.configure()fail to decode such a configuration outright, preventing an app from using any category. Consumers must therefore check for the values they need; seeAWSPinpointPushNotificationsPlugin+Configure.Declaration
Swift
public struct Notifications : Codable -
Declaration
Swift
public struct Storage : Codable -
Declaration
Swift
public struct CustomOutput : Codable -
Declaration
Swift
public typealias AWSRegion = String -
Declaration
Swift
public enum AmazonCognitoStandardAttributes : String, Codable, CodingKeyRepresentable -
Declaration
Swift
public enum AWSAppSyncAuthorizationType : String, Codable -
Declaration
Swift
public enum AmazonPinpointChannelType : String, Codable -
Declaration
Swift
public init( analytics: Analytics? = nil, auth: Auth? = nil, data: DataCategory? = nil, geo: Geo? = nil, notifications: Notifications? = nil, storage: Storage? = nil, custom: CustomOutput? = nil )
View on GitHub