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> *rootInfoDictionary
Swift
var rootInfoDictionary: [String : Any] { get }
-
The reference to the single
AWSInfo
object. This method loads the configuration from theawsconfiguration.json
by 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
NSDictionary
as an alternative to theawsconfiguration.json
file.Notes: This method must be called before
defaultAWSInfo
otherwise 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
config
The 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?