基本上,传递身份ID和登录名以从GetCredentialsFromIdentity方法获取凭据的正确方法是什么?
我如何正确使用此代码
func getCredentialsForIdentity(_ request: AWSCognitoIdentityGetCredentialsForIdentityInput?, completionHandler: ((_ response: AWSCognitoIdentityGetCredentialsForIdentityResponse?, _ error: Error?) -> Void)? = nil) {
}