AWSInfo
Objective-C
@interface AWSInfo : NSObject
Swift
class AWSInfo : NSObject
The AWSInfo holds the configuration values for the various supported services.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) NSDictionary <NSString *, id> *rootInfoDictionarySwift
var rootInfoDictionary: [String : Any] { get } -
The reference to the single
AWSInfoobject. This method loads the configuration from theawsconfiguration.jsonby default. For custom configuration object, see[AWSInfo configureDefaultAWSInfo].Declaration
Objective-C
+ (nonnull instancetype)defaultAWSInfo;Swift
class func `default`() -> Self -
This method allows the configuration as a
NSDictionaryas an alternative to theawsconfiguration.jsonfile.Notes: This method must be called before
defaultAWSInfootherwise the configuration will be loaded from the JSON file. Once the configuration is set, it cannot be overridden and/or reloaded.Declaration
Objective-C
+ (void)configureDefaultAWSInfo:(nonnull NSDictionary<NSString *, id> *)config;Swift
class func configureDefaultAWSInfo(_ config: [String : Any])Parameters
configThe dictionary containing the configuration
-
Service configuration to be used while creating the identity pool service.
Warning
This method is intended for internal use only.Declaration
Objective-C
+ (void)configureIdentityPoolService:(nullable AWSServiceConfiguration *)config;Swift
class func configureIdentityPoolService(_ config: AWSServiceConfiguration?) -
Undocumented
Declaration
Objective-C
- (nullable AWSServiceInfo *)serviceInfo:(NSString *)serviceName forKey:(NSString *)key;Swift
func serviceInfo(_ serviceName: String, forKey key: String) -> AWSServiceInfo? -
Undocumented
Declaration
Objective-C
- (nullable AWSServiceInfo *)defaultServiceInfo:(NSString *)serviceName;Swift
func defaultServiceInfo(_ serviceName: String) -> AWSServiceInfo?
View on GitHub
Install in Dash
AWSInfo Class Reference