PersonalizeEvents
public struct PersonalizeEvents
Client object for interacting with AWS PersonalizeEvents service.
Amazon Personalize can consume real-time user event data, such as stream or click data, and use it for model training either alone or combined with historical data. For more information see recording-events.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the PersonalizeEvents client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)Parameters
accessKeyIdPublic access key provided by AWS
secretAccessKeyPrivate access key provided by AWS
sessionTokenToken provided by STS.AssumeRole() which allows access to another AWS account
regionRegion of server you want to communicate with
endpointCustom endpoint URL to use instead of standard AWS servers
middlewaresArray of middlewares to apply to requests and responses
eventLoopGroupProviderEventLoopGroup to use. Use
useAWSClientSharedif the client shall manage its own EventLoopGroup.
-
Records user interaction event data. For more information see event-record-api.
Declaration
Swift
@discardableResult public func putEvents(_ input: PutEventsRequest) -> EventLoopFuture<Void>
View on GitHub
PersonalizeEvents Structure Reference